Home > Community > Forums > PCB Design > Pspice help: calculating autocorrelation of a time domain voltage

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Pspice help: calculating autocorrelation of a time domain voltage 

Last post Mon, Sep 10 2012 10:49 AM by cblas. 2 replies.
Started by cblas 06 Sep 2012 08:35 AM. Topic has 2 replies and 840 views
Page 1 of 1 (3 items)
Sort Posts:
  • Thu, Sep 6 2012 8:35 AM

    • cblas
    • Not Ranked
    • Joined on Thu, Sep 6 2012
    • Posts 2
    • Points 25
    Pspice help: calculating autocorrelation of a time domain voltage Reply

    Hi,

     I am new in this forum, and I am asking for your help about how to compute the autocorrelation of a time voltage using Pspice via a macromodelling model or Probe via macros. The autocorrelation R() of a signal v(t) is defined as:

    R(t)=(\int v(x) v(x+t) dx)/T

    where \int stands for the integral symbol which has to be evaluated on from 0 to T with T the final time of the simulation. I know that a possible solution is to use Matlab anda Pspice together but for the moment I am exploring a Pspice solution only

    Beste regards

     

    Carlos

     

     

     

    • Post Points: 20
  • Mon, Sep 10 2012 5:02 AM

    • alokt
    • Top 25 Contributor
    • Joined on Fri, Aug 22 2008
    • Noida, Uttar Pradesh
    • Posts 241
    • Points 3,470
    Re: Pspice help: calculating autocorrelation of a time domain voltage Reply

    You can use "S" function to perform integral in probe. You need to build the appropriate circuit to get V(x+t), one method is to use tline. if you have repeatable and known function v(t), you can directly generate a identical waveform with delay.

    Other alternative is to build a complete circuit, which takes V(t) & generated V(t+x), use multiplier to multiply these two and output of multiplier is fed to integrator.

    • Post Points: 20
  • Mon, Sep 10 2012 10:49 AM

    • cblas
    • Not Ranked
    • Joined on Thu, Sep 6 2012
    • Posts 2
    • Points 25
    Re: Pspice help: calculating autocorrelation of a time domain voltage Reply

    Dear Alokt,

    Thank you very much for your answer. My signal is know and for instance can be plotted by Probe. I have tried the "H(s)" function to get the delay, and then perform multiplication for a know signal, finally get the result using a "AVR" from Probe.

    Thank you very much

    Carlos

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by cblas at 06 Sep 2012 08:35 AM. Topic has 2 replies.