Thread: Help! DIY 4 amp L297/6203 driver
Threaded View
-
16-11-2009 #9
I've only had a quick look at this thread and the circuit, but imo the pic is simply controlling VRef. It's possible it is modulating it to provide variable VRef - but I think this unlikely since there's not a lot of point with the voltage divider if that's the case.
What I've done in the past to control a 297 is run the output of the PWM through a two stage RC filter to set the current, but doing this means there is no need for anything else around the VRef pin.
I think if I were working on that circuit I'd consider replacing the 297 with the PIC (albeit a slightly fatter pic). I'd use one of the comparators along with the PWM brought out as above (other side fed via the the current sensing resistor as per normal). Think I'd probably do most of the work in the interrupt probably using change on port ints to detect comparator and clock change. Should be possible to include microstepping etc - along with the current control stuff.
Failing that, why try and match exactly the circuit? Do as others above have suggested and simply use a 555 as a charge pump to keep the motor in high power mode.
All you really have is two supplies to your VRef pin - one permanently at 5v the other switching 0 to 5v. Run them both through a resistor (possibly the 555 output through a diode to make it easier to figure) and to the potential divider. If the resistor values are matched then roughly speaking when both are on the current will be double that when only one is on. Obviously you can chose resister values that give you the ratio's you're after.
Hope that makes sense.
[edit] I see above there's a circuit using the 555 ;-)
Thread Information
Users Browsing this Thread
There are currently 4 users browsing this thread. (0 members and 4 guests)
Similar Threads
-
Stepper Motor Driver - cheap similar to ArcEuro 4.2A Bi-Polar Stepper Motor Driver
By craynerd in forum Motor Drivers & ControllersReplies: 1Last Post: 16-03-2014, 07:29 PM -
Dc servo driver
By Treemonkey in forum Motor Drivers & ControllersReplies: 11Last Post: 11-02-2013, 08:16 PM -
Driver suggestions
By Shinobiwan in forum Motor Drivers & ControllersReplies: 0Last Post: 04-03-2012, 03:54 PM -
Driver wiring help...
By mike in forum Motor Drivers & ControllersReplies: 12Last Post: 21-09-2010, 09:29 AM -
Driver box
By John S in forum General ElectronicsReplies: 1Last Post: 21-06-2009, 12:46 PM
Bookmarks