Appreciate any help, hopefully someone knows all about Altium's sim feature...
I'm trying to run a sim on a startup circuit for a flyback SMPS. I've got it all working as I'd expect, though one issue I'm having is trying to change two parameters at once and having them plot dependently.
This may be hard to explain, but here goes: (see attached for sim schematic and outputs)
The circuit generates Vcc from the rectified mains to get the IC switching, which starts the aux coil generating Vcc, which then shuts down the transistor once it gets above (actually just below) the zener voltage.
The 169V source would be the rectified mains, after the input bulk cap and just before the transformer primary.
The 100kHz pulse (at +20-30V) is simulating the aux coil of said transformer. (Vcc coil.)
Load R3 is simulating the controller IC's VCC input. (Draws ~10mA.)
In the SIM, I'm sweeping amplitude of the two sources (169V, and 100kHz pulse) up from 0 to max. Max being 169.7V and 30V, respectively. Trying to get a small delay between the two sweeps is not working so hot. But I can live with that.
What I'd like to do is get the output graphs to put both sweeps into the same line plot. See the bottom graph Q1(p). The x-axis is representing the 100kHz pulse sweep, the y-axis is the power dissipated in Q1. The different yellow lines are the sweep of the 169V source. To be accurate, these yellow lines should be a singular line, which would start low, rise to a peak, then fall sharply at about the 12V (on the x-axis) point.
That's what I mean about graphing them into a dependant single line, anyhow, since the voltage levels of the two sources are interdependant. i.e. If Vrec falls to 130V, then Vaux will in turn fall, to ~23V.
Am I just going to have to set the sim schematic up that way, by modeling the transformer, etc? Or is there a way to get the sim program to model that? So far I haven't found a way.
Thanks for taking the time to ponder this, those who do!
I'm trying to run a sim on a startup circuit for a flyback SMPS. I've got it all working as I'd expect, though one issue I'm having is trying to change two parameters at once and having them plot dependently.
This may be hard to explain, but here goes: (see attached for sim schematic and outputs)
The circuit generates Vcc from the rectified mains to get the IC switching, which starts the aux coil generating Vcc, which then shuts down the transistor once it gets above (actually just below) the zener voltage.
The 169V source would be the rectified mains, after the input bulk cap and just before the transformer primary.
The 100kHz pulse (at +20-30V) is simulating the aux coil of said transformer. (Vcc coil.)
Load R3 is simulating the controller IC's VCC input. (Draws ~10mA.)
In the SIM, I'm sweeping amplitude of the two sources (169V, and 100kHz pulse) up from 0 to max. Max being 169.7V and 30V, respectively. Trying to get a small delay between the two sweeps is not working so hot. But I can live with that.
What I'd like to do is get the output graphs to put both sweeps into the same line plot. See the bottom graph Q1(p). The x-axis is representing the 100kHz pulse sweep, the y-axis is the power dissipated in Q1. The different yellow lines are the sweep of the 169V source. To be accurate, these yellow lines should be a singular line, which would start low, rise to a peak, then fall sharply at about the 12V (on the x-axis) point.
That's what I mean about graphing them into a dependant single line, anyhow, since the voltage levels of the two sources are interdependant. i.e. If Vrec falls to 130V, then Vaux will in turn fall, to ~23V.
Am I just going to have to set the sim schematic up that way, by modeling the transformer, etc? Or is there a way to get the sim program to model that? So far I haven't found a way.
Thanks for taking the time to ponder this, those who do!