Stepper Motor Control

Discussion to talk about hardware related topics only.
Post Reply
User avatar
Mark
Posts: 56
Joined: Mon Sep 22, 2008 6:45 pm
Location: Maryland

Stepper Motor Control

Post by Mark »

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.
User avatar
Chris Ruff
Posts: 222
Joined: Thu Apr 24, 2008 4:09 pm
Location: topsail island, nc
Contact:

Re: Stepper Motor Control

Post by Chris Ruff »

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
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand
User avatar
Mark
Posts: 56
Joined: Mon Sep 22, 2008 6:45 pm
Location: Maryland

Re: Stepper Motor Control

Post by Mark »

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
barttech
Posts: 135
Joined: Fri Feb 20, 2009 12:59 pm

Re: Stepper Motor Control

Post by barttech »

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
Post Reply