Hello. I'm very confused as to how to do the input power sweep for our rectifier. We want to know the PCE (Power Conversion Efficiency), and it shows that the X-axis is in terms of power. Our professor told us that we use a power source for this, since in analogy, if we have a voltage source then we can sweep in terms of voltage. With this logic, if we have a power source, we can sweep in terms of power. But we find it very difficult to do.
If your simulator lacks a "power" source then you could just
sweep V or I and -measure- the input as well as output
power, and choose the Pin result as your X-axis for plots,
pick off Pout as a compound .measure (use cross() to find
the Vsweep point for a spec Pin value, then measure Pout \
at the found Vsweep).
Thank you very much for this sir. But may I ask how do I put the values of Pin in my X-axis? What kind of analysis would I use for this? (.DC, .AC, or .TRAN)
Can you give me a sample code for this sir? Just a simple example sir just to get the idea.
If you can plot Pin then in Cadence, just right-click the X
axis and choose that vector instead of "time" or "frequency"
(whatever your simulation goal prefers).
HSpice, I know nothing. But I'd bet you can "printvs to file"
(or display, copy, paste) somehow. In another tool I just go
to the output file, copy/paste to a .txt file and import to
Excel in the usual way.
Or export Pin and Pout vectors and use some other tool
(Excel?) to plot.