Hi
How would one implement a behavioral true RMS to DC converter circuit in QSPICE?
Regards
ik
Hi
How would one implement a behavioral true RMS to DC converter circuit in QSPICE?
Regards
ik
I believe you are asking for a behavioral model that can provide the RMS value during simulation. Here is a discussion where @bordodynov provided a circuit idea, which I modified to make it work in .tran even without the UIC option.
https://forum.qorvo.com/t/how-to-get-rms-value-of-voltage-across-a-component/16990
However, implementing any statistical calculation involving averaging over a period of time can be tricky. Make sure you understand the discussion and how the formula works before using it, as there may be limitations.
Here is a circuit schematic with formula embedded into a symbol. This symbol can also be found in my Github : Qspice > Symbols > Special > Stat-RealTime.qsym.
RMS-Example.qsch (3.3 KB)