Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Screenshot_2019-05-12_07-22-17.png


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

Screenshot_2019-05-12_07-24-48.png


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?

Screenshot_2019-05-12_07-23-01.png



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.

Latest threads

New Articles From Microcontroller Tips

Back
Top