Threaded View
-
16-11-2009 #22
Hi Ross,
It's pretty trivial. VRef is normally provided via a voltage divider, basically you simply provide your VRef fed via two voltage dividers, one fed from +5v like normal the other fed via the enable line. Unless you isolate the two dividers there's a degree of 'interdependence' on their adjustment so you need to tweak both to get the current correct. (I think I also fed the enable via a diode to prevent it pulling VRef low when the enable line dropped.)
In software terms it's simply a line that's pulled high whenever the motor is running.
Another way that I experimented with and worked well, was to feed one of the PWM's via an RC chain (series resistor feeding a parallel cap, feeding another resistor feeding another cap). Set the frequency high(ish) and change the PWM to alter the voltage (and thus the current). The VRef input seemed quite high impedance so there was no need to buffer this. A 50% pulse width ratio would result in half voltage available. Again in software when idling all that I did was quarter the PWM ratio to drop holding current to 25% of max when the motor wasn't running.
The only reason this didn't make it into the final device was that it worked out cheaper and less messing to buy ready made drivers, which meant that the setup options for setting the stepper current made no sense.
Hope this helps,
Steve.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Diy 4th axis rotary table using 100mm chuck with minimal backlash
By kingcreaky in forum Linear & Rotary MotionReplies: 3Last Post: 05-09-2013, 01:03 PM -
Which chuck to fit 6" rotary table??
By wiatroda in forum General DiscussionReplies: 19Last Post: 10-08-2011, 08:47 AM -
Mounting a chuck on a Rotary table
By irving2008 in forum Machine DiscussionReplies: 17Last Post: 02-09-2010, 07:23 PM -
Rotary Table CNCing
By irving2008 in forum Gantry/Router Machines & BuildingReplies: 21Last Post: 19-02-2010, 11:57 PM -
Setting up work on the rotary table
By irving2008 in forum Machine DiscussionReplies: 6Last Post: 09-01-2010, 10:27 AM
Bookmarks