The value I got from that link is 480 nF, and it doesn't work in the sim... who should I trust? I'm guessing maybe not the sim...I have used the charge pump plug-in formula in the Silicone Labs link and it has worked for me.
Max.
The value I got from that link is 480 nF, and it doesn't work in the sim... who should I trust? I'm guessing maybe not the sim...I have used the charge pump plug-in formula in the Silicone Labs link and it has worked for me.
Max.
Thanks, that small observation of yours has given me some hope.So far I haven't found it super critical in practice.
Max.
That's very generous of you, Alec. Thank you.Attached is a [work in progress] model I made of a DC motor, which accounts for back-EMF and mechanical load. An output (w) indicates BEMF, representative of speed.
You need to specify rated voltage (rv), rated current (ri) in Amps and attach a voltage source representing mechanical load torque (Lt) in milli-Newton-meters. Also in the zip is the asy file and a test asc file. Have a play if you like.
I also have home-brew models of a couple of FET-drivers (IR2104 and IR2110) if you're interested. These may not be as accurate as the model you're using, but run a helluva lot faster.
I think you found why it is better to switch the FETs on the same side.The value I got from that link is 480 nF, and it doesn't work in the sim... who should I trust? I'm guessing maybe not the sim...
Just tested the 2104g model in my circuit... and couldn't make it work... very frustrating. What am I doing wrong?Tried out my posted models in Ron's ascs. They run in about 5 secs on my lappy.
Mumble, mumble, I'm up, I'm up.I tried it both ways... couldn't make it work...
good morning, by the way... coffee's on me View attachment 105755 View attachment 105756
It works!!!! And I adjusted the bootstrap caps to 220nF, which I have readily available. Another advantage is that I'll only need 2 outputs from my MCU to drive the thing. I also set the switching frequency back to 12.5 kHz and it seems to be working smoothly.Mumble, mumble, I'm up, I'm up.
Try the same model from the ones I sent you and leave SD high. Seems to work for me.
That would work. They make some really cute DC to DC converters that are isolated now. Or if you want some work here is a 555 charge pump. http://www.ti.com/lit/an/slva444/slva444.pdfIt works!!!! And I adjusted the bootstrap caps to 220nF, which I have readily available. Another advantage is that I'll only need 2 outputs from my MCU to drive the thing. I also set the switching frequency back to 12.5 kHz and it seems to be working smoothly.
View attachment 105767
Thank you both, Alec and Ron. Now I'm going to order a few IR2104, some extra FDA33N25, and a few TVS see how things work out.
One question, though. If I had wanted to run the thing at 100% duty cycle (this is not the case), I realized that this circuit wouldn't be viable. Maybe for that purpose it would've been best to use floating supplies to drive the high side fets (as I explained in post #39), and 2n2222 transistors to drive the low side fets, as in my OP?
.... or transformer-driven gates?Maybe for that purpose it would've been best to use floating supplies to drive the high side fets
I hate using transformers (I'm funny that way) ... they're bulky, heavy and expensive ... but sometimes using them is unavoidable, I guess ....... or transformer-driven gates?
It might be useful if it is a brush motor, so I would leave it. It might damp some arcs and sparks. It should be at the motor.And another thing... I noticed that the RC filter I placed across L1 is not doing really anything useful. Is that because M2 is discharging L1 after each cycle performed by M1? Would the real circuit be better off without it, or should I just leave things as they are?