some comments:
Jeremy, you do not want something which is diode-like, because it will waste humongous amounts of power. All the voltage that will not fall on the motor, will fall on that "edoid", i.e. 6 amps at 60-70 volts... you can see where it leads (to a lot of smoke, or at least huge power waste).
In contrast, Udi's solution, as well as commercial stepper motor drivers, work in switched mode operation. the "magic" of switched mode is that there is no theoretical limit to the efficiency - the closer your switching device is to an ideal switch (meaning no voltage drop and zero switching time), the closer to 100% efficiency you can get. A linear solution like such an "edoid" is, by definition, wasting all the excess input voltage as heat.
a few notes about Udi's solution:
- as Udi commented, simply cutting off the current to the motor is not necessarily the best thing to do. You have to provide some path for the current to recirculate. There are several common approaches to this (i.e. what to do when you're in the "off" period of the PWM). One option is to let the current recirculate through the reverse-biased body diodes that are internally present in the FETs. Another option is to open the opposite pair of FETs and try to drive current in the opposite direction. a third option is to close the two bottom (or two top) FETs and keep the other two open - this allows the current to recirculate through ground (or vcc). You have to choose your preferred option and add the logic to make that happen. for more information, look up stepper motor "fast decay", "slow decay", "mixed decay" and also "synchronous rectification". some stepper driver IC's that have current regulation will explain that stuff in their datasheets, so they are a good source of info for that.
- another modification that is needed to Udi's schematic is hysteresis. the "off" current threshold and "on" current threshold should not be the same. this is quite easily done with some resistors around the comperator.
- of course, you also need to connect the other side of the h-bridge to the sense resistor (perhaps that was implied).
to summarize - my warm recommendation is not to get into this mess, and just get a ready-made stepper driver boards, or, at the very least, get ready-made stepper motor driver IC's with all the logic and current regulation etc (with either internal or external FETs).
Ok the nmos current limit seems to work; Guy's objection noted namely it would be taking 6A*~70V=400W at worst. I was thinking of this as a failsafe since I don't necessarily trust the current limitation of the hbridge driver - but I guess if I just need a component that is going to go up in smoke (and i'm unlikely to thermally sink 400W) it may as well be a fuse instead of a nice mosfet.
green line is V2 ramping from 0-70Vdc, turquoise is volts on R1, and red is current thru load, limited to 6A (in sim anyway)
As for going with commercial hbridge - this is indeed what we're trying to implement (using the si9978).
BUT - in parallel we are 'fooling around' (ie learning as we go,hopefully not at expense of a ~100$ stepmotor) to try to get higher drive voltage of 80V instead of the 40V max of the si9978. If anybody has a link for an 80V dual (or even single) hbridge driver let 'er rip
open source motor control - http://www.robotpower.com/products/osmc_info.html
Will attempt to understand your ckts now....
--
קיבלת הודעה זו מכיוון שאתה מנוי לקבוצה 'TAMI' בקבוצות Google.
כדי לבטל את המנוי לקבוצה הזו ולהפסיק לקבל ממנה הודעות דוא"ל, שלח הודעת דוא"ל אל hasadna+u...@googlegroups.com.
כדי לפרסם הודעות בקבוצה זו, שלח דוא"ל ל-has...@googlegroups.com.
לאפשרויות נוספות בקר ב-https://groups.google.com/groups/opt_out.
--
archive and web access >https://groups.google.com/forum/#!forum/hasadna
---
קיבלת את ההודעה הזו מפני שאתה רשום לקבוצה 'TAMI' של קבוצות Google.
כדי לבטל את הרישום לקבוצה הזו ולהפסיק לקבל ממנה דוא"ל, שלח אימייל אל hasadna+u...@googlegroups.com.
כדי לפרסם בקבוצה הזו, שלח אימייל אל has...@googlegroups.com.
לאפשרויות נוספות, בקר ב-https://groups.google.com/d/optout.
כדי לבטל את הרישום לקבוצה הזו ולהפסיק לקבל ממנה אימייל, שלח אימייל אל hasadna+unsubscribe@googlegroups.com.
כדי לפרסם בקבוצה הזו, שלח אימייל אל has...@googlegroups.com.
כדי לבטל את הרישום לקבוצה הזו ולהפסיק לקבל ממנה אימייל, שלח אימייל אל hasadna+u...@googlegroups.com.
כדי לפרסם בקבוצה הזו, שלח אימייל אל has...@googlegroups.com.
לאפשרויות נוספות, היכנס ל-https://groups.google.com/d/optout.
--
archive and web access >https://groups.google.com/forum/#!forum/hasadna
---
קיבלת את ההודעה הזו מפני שאתה רשום לקבוצה 'TAMI' של קבוצות Google.
כדי לבטל את הרישום לקבוצה הזו ולהפסיק לקבל ממנה אימייל, שלח אימייל אל hasadna+u...@googlegroups.com.
כדי לפרסם בקבוצה הזו, שלח אימייל אל has...@googlegroups.com.
כדי להציג את הדיון הזה באתר, היכנס ל-https://groups.google.com/d/msgid/hasadna/383b5cb8-0a8d-44e8-902f-f811e23d23df%40googlegroups.com.
I
I think I have solved it, albeit without 3-state, fig below
I connect the gates of the pmos to the sources of the 'cooperating' nmos (the one that's 'on' when a given pmos is on)
Guy iiuc I should use as small as possible a resistance for the pullups , to prevent the phenom you speak of namely gate capacitance with pullup resistance
leading to a turn-on time constant that's an appreciable fraction of the pwm period
One other consideration here - are you PWM'ing this at a high speed (kHz and above)? is so, a resistor is a poor choice for gate driving, because it turns on the transistor slowly. This is bad since a transistor only dissipates a small amount of power when it's fully open or fully closed, but a lot of power in the middle range (multiple orders of magnitude more, for many circuits). That's why you want to keep the time it gets turned on to be a very small fraction of the PWM cycle.
On Sat, 22 Jun 2019 at 17:38, Paul Cohen <paul...@gmail.com> wrote:
BTW, Why you use an IRF530 to drive the Power MOSFETS?--
On Monday, October 8, 2012 at 2:31:35 AM UTC+2, Guy Ovadia wrote:Hi,
I'm looking for a DC motor (H-bridge) driver board with the following specs:
- over 3A current (preferably 5A or more so it's not used at max capacity)
- over 24V voltage (again, 28V or more is better)
- looking for a ready to use board, as opposed to a bare chip
- fast availability is a plus (someone selling in Israel, or a fast shipment from abroad).
- I don't want undocumented "who knows what's that chip"-based boards, like the multiple offerings I found on eBay. I want good documentation.
recommendations?
thanks!
Guy.
archive and web access >https://groups.google.com/forum/#!forum/hasadna
---
קיבלת את ההודעה הזו מפני שאתה רשום לקבוצה 'TAMI' של קבוצות Google.
כדי לבטל את הרישום לקבוצה הזו ולהפסיק לקבל ממנה אימייל, שלח אימייל אל has...@googlegroups.com.
Guy iiuc I should use as small as possible a resistance for the pullups , to prevent the phenom you speak of namely gate capacitance with pullup resistance
leading to a turn-on time constant that's an appreciable fraction of the pwm period
כדי לבטל את הרישום לקבוצה הזו ולהפסיק לקבל ממנה אימייל, שלח אימייל אל hasadna+u...@googlegroups.com.
כדי לפרסם בקבוצה הזו, שלח אימייל אל has...@googlegroups.com.
כדי להציג את הדיון הזה באתר, היכנס ל-https://groups.google.com/d/msgid/hasadna/d19aee15-9bff-4a85-981a-4f926a149755%40googlegroups.com.
קיבלת את ההודעה הזו מפני שאתה רשום לנושא בקבוצה 'TAMI' של קבוצות Google.
כדי לבטל את הרישום לנושא הזה, היכנס ל-https://groups.google.com/d/topic/hasadna/v5AukjqiyV0/unsubscribe.
כדי לבטל את הרישום לקבוצה הזו ולכל הנושאים שלה, שלח אימייל אל hasadna+u...@googlegroups.com.
כדי לפרסם בקבוצה הזו, שלח אימייל אל has...@googlegroups.com.
כדי להציג את הדיון הזה באתר, היכנס ל-https://groups.google.com/d/msgid/hasadna/CALkHusMNSJF_ZpuWZDyyjU1frQMn%3DBo59dik-ouCQyo1wFoGKw%40mail.gmail.com.