I'm simulating in LTSpice a typical type II compensator for my first SMPS.
I get the pole, zero and gain where I want, but I'm having lots of trouble with some resistor values.
If I use a 20k pullup resistor for the opto collector, it works perfect. If I increase or decrease the value, it stops working (AC and DC).
Also, changing the base to ground resistor is troublesome. 2.2 Meg works, but most other values, even close to it, don't.
The bias resistor sets 1 mA for the TL431, and the photodiode bias resistor is low enough to make phototransistor fully saturate.
Could anyone help me understand what is happening / how to proceed ?
I attached a test circuit, and two different TL431 models.
Thank you!
I get the pole, zero and gain where I want, but I'm having lots of trouble with some resistor values.
If I use a 20k pullup resistor for the opto collector, it works perfect. If I increase or decrease the value, it stops working (AC and DC).
Also, changing the base to ground resistor is troublesome. 2.2 Meg works, but most other values, even close to it, don't.
The bias resistor sets 1 mA for the TL431, and the photodiode bias resistor is low enough to make phototransistor fully saturate.
Could anyone help me understand what is happening / how to proceed ?
I attached a test circuit, and two different TL431 models.
Thank you!
Attachments
-
3 KB Views: 53
-
1.3 KB Views: 45
-
3.9 KB Views: 46
-
517 bytes Views: 50