The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> Issues with a Differentiator in Verilog A
https://designers-guide.org/forum/YaBB.pl?num=1459896397

Message started by Omnidroid on Apr 5th, 2016, 3:46pm

Title: Issues with a Differentiator in Verilog A
Post by Omnidroid on Apr 5th, 2016, 3:46pm

Hi Folks!

In order to obtain a derivative of an analog signal, if I use an ideal time derivative operator V(out) <+ ddt(V(in), there is a lot of noise observed at the output. I believe this is because this block does not have continuous states and the inability of the solver to take smaller steps causes the output to change rapidly.

Could anyone please suggest me a convenient option to eliminate this issue and yield a clean noiseless signal at the derivative output with adequate accuracy.

Thanks in advance! :)

Title: Re: Issues with a Differentiator in Verilog A
Post by Geoffrey_Coram on Apr 11th, 2016, 9:29am

Perhaps you could connect a capacitor to the input, and then make the output proportional to the current into the capacitor.  The capacitor should help the simulator choose good timepoints.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.