Monday, 6 March 2017

Alternating ON and OFF with logic gates in a simulator


enter image description here


My intent is to make sure that when the top mosfet is on the bottom mosfet is off and vice versa. I'm really not sure that this accomplishes the goal. Is there some better way than this? I'm using two current sources that are configured to one second intervals. My sim doesn't look quite right when I turn it on both 1V batteries are pumping current through the mosfets.


I tried the PWM it was a little too complex for me right now but I did come up with something I though maybe works too: enter image description here



So this must be what the PWM diagram is kind of saying: enter image description here


Thank you



Answer



Using an inverter is not going to work. You need to use shoot-through protection: -


enter image description here


The OR gate output needs to be inverted so an alternative is to use a NOR gate. It's going to work best when both AND and NOR/OR are schmitt trigger input types. For a quick simulation make the resistor 1k and the capacitor 10nF - this will give a "dead" area of about CR or 10us but clearly the time of the dead area is dependent on the application.


enter image description here


See also this stack exchange page.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...