Stepper Motor Control
Stepper Motor Control
Does anyone out there have any reference design (hardware & software) that would give me a good jump start on controlling a stepper motor using the MOD5282? The specific motor that I will be controlling is the LIN 4218, a 1.8deg size 17 bipolar motor.
- Chris Ruff
- Posts: 222
- Joined: Thu Apr 24, 2008 4:09 pm
- Location: topsail island, nc
- Contact:
Re: Stepper Motor Control
Mark:
there are TONS of ways to do this.
1. are you looking for low cost?
2. are you thinking of designing hardware?
3. do you need full-step, half-step, micro-step ?
4. do you need acceleration? will there be harmonics exhibited in the mechanics?
5. have you thought about simple unipolar, bipolar, bipolar chopped drivers?
6. how smart do you want the controller? Will the 5282 do everything or just give orders?
One of my favorites are the ST L297 - L298 pair. You use a timer in your processor to supply pulses and direction. Requires hardware design and acceleration in your code
Another favorite is the cybernetic microsystem chip CY525,CY545,etc. along with a superior electric bipolar chopped driver. Awesome power. the chip handles everything, you just give it orders.
Chris
there are TONS of ways to do this.
1. are you looking for low cost?
2. are you thinking of designing hardware?
3. do you need full-step, half-step, micro-step ?
4. do you need acceleration? will there be harmonics exhibited in the mechanics?
5. have you thought about simple unipolar, bipolar, bipolar chopped drivers?
6. how smart do you want the controller? Will the 5282 do everything or just give orders?
One of my favorites are the ST L297 - L298 pair. You use a timer in your processor to supply pulses and direction. Requires hardware design and acceleration in your code
Another favorite is the cybernetic microsystem chip CY525,CY545,etc. along with a superior electric bipolar chopped driver. Awesome power. the chip handles everything, you just give it orders.
Chris
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand
Re: Stepper Motor Control
Chris,
Thank you for the reply and sorry to be getting back to this post late (i.e. travel).
1. are you looking for low cost?
-YES
2. are you thinking of designing hardware?
-YES
3. do you need full-step, half-step, micro-step ?
-FULL
4. do you need acceleration? will there be harmonics exhibited in the mechanics?
-POSSIBLY. DON'T THINK SO.
5. have you thought about simple unipolar, bipolar, bipolar chopped drivers?
-MOTOR IS BIPOLAR (i.e. LIN 4218L-01-11)
6. how smart do you want the controller? Will the 5282 do everything or just give orders?
-RIGHT NOW NB WILL JUST GIVE ORDERS.
I am currently looking at the TRINAMIC devices (see below), but will look carefully at your suggestions, especially the CY545.
http://www.linengineeringstore.com/prod ... ?groupID=1
I guess that I was looking to see if anyone out there had some reference hardware and software designs that would allow me to get a quick jump start. We already have a NB based reference design that is querying the ADC. The ADC value will be used to determine which direction and how far to move the stepper, so I was really looking for the interface between the NB and the stepper motor driver/logic.
Mark
Thank you for the reply and sorry to be getting back to this post late (i.e. travel).
1. are you looking for low cost?
-YES
2. are you thinking of designing hardware?
-YES
3. do you need full-step, half-step, micro-step ?
-FULL
4. do you need acceleration? will there be harmonics exhibited in the mechanics?
-POSSIBLY. DON'T THINK SO.
5. have you thought about simple unipolar, bipolar, bipolar chopped drivers?
-MOTOR IS BIPOLAR (i.e. LIN 4218L-01-11)
6. how smart do you want the controller? Will the 5282 do everything or just give orders?
-RIGHT NOW NB WILL JUST GIVE ORDERS.
I am currently looking at the TRINAMIC devices (see below), but will look carefully at your suggestions, especially the CY545.
http://www.linengineeringstore.com/prod ... ?groupID=1
I guess that I was looking to see if anyone out there had some reference hardware and software designs that would allow me to get a quick jump start. We already have a NB based reference design that is querying the ADC. The ADC value will be used to determine which direction and how far to move the stepper, so I was really looking for the interface between the NB and the stepper motor driver/logic.
Mark
Re: Stepper Motor Control
Mark,
I have code (a class) and schematics for using the AMIS30624 (On Semi), an I2C controlled chip that I've found to be pretty useful. You tell it where to go and go off and do whatever else you need to do while it handles the motor. It detects (under some conditions) lost steps and other faults. Not sure if it can handle your currents, I can send you my code if it looks like a good fit.
Sam
I have code (a class) and schematics for using the AMIS30624 (On Semi), an I2C controlled chip that I've found to be pretty useful. You tell it where to go and go off and do whatever else you need to do while it handles the motor. It detects (under some conditions) lost steps and other faults. Not sure if it can handle your currents, I can send you my code if it looks like a good fit.
Sam