Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

ramp table of stepper motor

Status
Not open for further replies.

nick703

Advanced Member level 1
Advanced Member level 1
Joined
Oct 17, 2011
Messages
422
Helped
21
Reputation
44
Reaction score
22
Trophy points
1,298
Location
surat
Visit site
Activity points
3,987
hello friends i want to know how to create ramp table for stepper motor rotation . just increase speed or decrease speed stepper motor rotate smoothly . so that time i want to create ramp table .

any link or any example may be helpful !!
 

I presume, the table will contain time intervalls between steps and be processed entry by entry when accelerating or decelerating the motor. The solution seems straightforward enough to code it from the scratch.
 

YES table contain time interval in step . i test lots of value of change in timer value but i didn't get accurate result at slow speed .
 

test lots of value of change in timer value but i didn't get accurate result at slow speed .
Don't understand what that means.

A stepper motor has a maximum start/stop frequency (which also depends on the externally connected load inertia). Below this frequency, it can be moved stepwise as you like and there's no purpose of a ramp table. If you want to rotate the motor at a speed above the start stop frequency, you'll execute the table up to the intended speed.

That's the problem viewn from the step motors perspective. Application-wise, you may want to move the motor along arbitrary step versus time profiles, but I won't understand this as a ramp table.

To make your problem understandable, you should precisely describe what you want to schieve and what you observe.
 

I presume nick703 wants to dynamically change the speed so it goes faster when more steps are required. One option would be to forget the table and calculate it mathematically, more steps = shorter step delays. Obviously taking in to account the limitations of the motor and driver circuits.

Somethng like:

number of steps = abs(present position - desired position)
if(slowest step speed time - (number of steps * a constant) < fastest step time) step speed time = slowest step speed time - (number of steps * a constant)
else step speed time = fastest step time.

Please don't put that in a compiler and expect a result !

Brian.
 

yes betwixt i understand bro!!!.

and hi FVM

i want to achieve rotate stepper motor smooth no jerk or no vibration on motor when speed increase.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top