LTSpice - realtime frequency to voltage conversion

Status
Not open for further replies.

ACharnley

Member
Hi,

I have a buck circuit where the control factor is the input voltage (MPPT tracking) not the output. It's different from the usual buck as there's no pwm input, it resonates based on input/output capacitance and the inductor. All is working well except that the inductor can still enter discontinuous mode when the input is too low which causes a bit of backflow. In real-life I'll analyse the pulse using a PIC SMT and cut off the async lower FET's to prevent backflow. The question is how to do this in LTSpice.

A visual representation may make more sense.

Here you can see DCM with backflow.



If I convert the PWM to voltage I can cut the FET's off.



I'm doing this at 98.4ms using the circuit on the right, but it's not perfect and perhaps there's a better way?




Cheers, Andrew
 
There is no inductor in your schematic so where is the backflow coming from?
Please show the complete circuit.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…