I bet it was because I named them both (sub & sym) .zip files.Ron, LTspice is notifying me that it can't find the IR21xx.sub file. I've checked, and couldn't find it in the zips you posted. And I haven't been able to locate it in Google either.
I bet it was because I named them both (sub & sym) .zip files.Ron, LTspice is notifying me that it can't find the IR21xx.sub file. I've checked, and couldn't find it in the zips you posted. And I haven't been able to locate it in Google either.
They include level shifters so 5v logic should be OK, if available I would use 15v for VCCDoes it matter if I feed the driver with 12V or 5V?
.
- If I were to power it with 12V, can I use 5V logic to switch its inputs?
That makes sense... in my (extremely) limited experience, nFets are best triggered with at least 10V, preferably 12V. Using 15V would allow for voltage drop within the ic before reaching the gate.They include level shifters so 5v logic should be OK, if available I would use 15v for VCC
Max.
You need to PWM the top FET. So you can swap M1 & M3.Ok... after quite a bit of tweaking, and rewiring the schematic here and there (because I now realize that I didn't have a completely clear idea of what a mosfet driver does), I think I made it somehow work. Although I must confess I don't thoroughly yet understand what's happening.
The sim was running at a snail pace, so I removed the RC filter across the motor, and also one of the zeners. See if that would speed things a bit... .but it made no difference... the thing's still crawling at a speed that exceeds my patience.
Also, the sim kept crashing on me, and it wasn't until I placed R5 to R8 as gate pull-downs that it kind of worked. Although IR2301's datasheet does not show them as necessary.
I used Max's link to more or less calculate the value of C2 to C5, and it seems that it's within ballpark figures...
View attachment 105631
View attachment 105632
I'm going to add a few TVSs later here and there, to further protect the mosfets, but I'm not going to include them in the sim, which seems to be overwhelming LTSpice already.
When I lay my hands on the motor next week, I'm going to measure its resistance to see if the 1.5 ohms value that I used in the sim is acceptable. Is there any way to include the BEMF produced by the motor in the sim?
Questions:
Any changes, adjustments, suggestions, observations, and even nagging and scolding would be thoroughly appreciated... as long as they help to deliver me from producing magic smoke when the moment of truth arrives.
- Does it matter if I feed the driver with 12V or 5V?
- If I were to power it with 12V, can I use 5V logic to switch its inputs?
Leisure time is what I need at this moment ... but I'll take your advice and switch the top FETs... see what happens.You need to PWM the top FET. So you can swap M1 & M3.
Usually you switch the top and bottom FETs on the same side, but I think you can do it the way you have it. You will notice it takes a while for the cap to charge up enough for the under voltage to turn off in the driver. If you switch them on the same side the cap will charge right away. But you have to put some leisure time between the drive signal so the top and bottom aren't on at the same time.
Here is a pretty good write up.That makes sense... in my (extremely) limited experience, nFets are best triggered with at least 10V, preferably 12V. Using 15V would allow for voltage drop within the ic before reaching the gate.
Many thanks!
Ooops they crossed.Leisure time is what I need at this moment ... but I'll take your advice and switch the top FETs... see what happens.
I'm not quite following you... when you say that "If you switch them on the same side the cap will charge right away"...Do you mean that I should use, say, the left IR2301 to PWM M1, and the right IR2301 to PWM M2?
If you're referring to my schematic in post #22, then I'm not sure I get it. Did I number the fets right in that post? or is there a standard way for numbering them when working with H bridges?The way I have always done it in H bridge config. is to PWM M1 with M4 switched on, or M3 PWM with M2 switched on for reverse, otherwise the same side fires into each other.
Max.
So you would always PWM the high side fets then?Sorry I got the No.s from the OP.
Post #22 would be M1 -M3 & M4 -M2 pairs.
Max.
by Aaron Carman
by Aaron Carman
by Jake Hertz
by Duane Benson