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
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.
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 muchCarlos