Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Tools
Old 26th November 2008, 04:57 PM   #1
Default Analog control of a Stepper Motor

I am looking to integrate a stepper motor into a ethernet-based system I have been developing.

The signal path is as follows:

Visual Basic Code on Comp --> Ethernet --> Digital Controller --> Analog Signal --> ? --> Stepper Motor Driver --> Stepper Motor.

The question mark is the focus here. The analog signal coming from controller is +/- 10VDC with 2mA. The stepper motor driver is an R208 driver (Lin Engineering - Step Motor Specialists) which requires a frequency signal of 5Volts, 50%duty cycle, pulse train and a square wave to control the steps. The stepper motor itself is a 1.12amp/phase bipolar motor.

My question is how can I use the analog signal to control the stepper motor? I need to be able to control the number of steps and direction. The step speed does not need to be variable.

I appreciate any help as I am still new to this field!
Aberdeen57 is offline  
Old 27th November 2008, 02:33 AM   #2
Default

One simple method would be to use something similar to:
4-Phase Stepper Motor Drivers
Replace the timing resistor with an optocoupler.
fsmyth is offline  
Old 27th November 2008, 04:05 AM   #3
Default

Why would you take an inherently accurate digital signal controlling an inherently accurate digital device and stick inherently inaccurate, noise susceptible analog in between?

I can not think of any way of doing that short of a second processor to do all the work. If you want to assume it starts at some home location, which it likely will not do reliably, you could say your messy analog represented a count and using charge transfer to measure how many steps you have taken to close a feedback loop controlling a quadrature oscillator, but why bother?
Ubergeek63 is offline  
Old 27th November 2008, 06:42 AM   #4
Default

Skip the analog portion. Like

Visual Basic Code on Comp --> Ethernet --> Digital Controller --> Stepper Motor Driver --> Stepper Motor.

Maybe if you were more specific about your hardware.
__________________
Pay it forward.
Mikebits is offline  
Old 27th November 2008, 03:02 PM   #5
Default

Quote:
Originally Posted by Mikebits View Post
Skip the analog portion. Like

Visual Basic Code on Comp --> Ethernet --> Digital Controller --> Stepper Motor Driver --> Stepper Motor.

Maybe if you were more specific about your hardware.
I must admit to getting a bit pessimistic. More and more whenever I see a "project" obviously far beyond the questioner's technical competence, I think it is some "entrepreneur" with a get rich quick scheme.
Ubergeek63 is offline  
Old 1st December 2008, 03:11 PM   #6
Default

The reason for the analog signal is that I do not have a digital output from the controller to work with.

The ethernet controller is a Sensoray 2601 (Modular I/O via Ethernet)

The analog input/output device is a Sensoray 2608-8
(Analog I/O via Ethernet)

I am using these cards because of the other portions of this system into which the stepper motors would be integrated. The device has a multiple tranducers, flowmeters, solenoids, and regulators to control other functions.

Am I correct in that you all are suggesting that using an analog out to control the motor not feasible?
Aberdeen57 is offline  
Old 5th December 2008, 09:40 PM   #7
Default

The reason the project is beyond my "technical competence" is because I have been assigned responsibility for "making it work". My primary competence is in mechanical, not electrical systems. However, I am learning the process and will hopefully be able frame my question a little more accurately.

I would like to move a set of three stepper motors. I intend to send a command over ethernet ("step 200" for example) and have one of the motors move 200 steps. To do this I need a device to convert the command into a pulse sequence for the step motor driver. Basically this would be a pulse generating device. I have drivers and motors sized for the application and my only remaining question is how to generate the pulse sequences for the drivers.

So, what I am looking for is something I can send commands via ethernet which will produce a series of pulses for my drivers. Any idea on how to go about this?
Aberdeen57 is offline  
Old 5th December 2008, 09:46 PM   #8
Default

Why would you me assigned such a task?
Does your project have a budget? Do you want something custom made or plan to DIY?
Does it have to be Ethernet?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/

Last edited by blueroomelectronics; 5th December 2008 at 09:48 PM.
blueroomelectronics is online now  
Old 5th December 2008, 10:10 PM   #9
Default

Well, I was assigned the project because "somebody's gotta do it" and I was available! Also, it is definitely an interesting project. Budget-wise, it is a whatever-it-takes style though I would prefer to go as cheap as we can. Much of the work has been DIY for other components: solenoids, pressure regulators, switches, sensors, etc and I don't mind getting my hands dirty. On the other hand, if I can purchase something that does it for me, that is often more reliable and cheaper in the long run.

Regarding the ethernet, the answer is "yes-ish." The actual assembly will not have a local computer but is accessed by ethernet (this is already in place for the pneumatics control system and data logging aspects). So ethernet is available and simple to use for it. However, I do have analog and digital outputs available as the assembly (these are controlled over ethernet and some of the channels are being used for the other components in place). So, if there is some way to use the analog or digital signals that would be fine as well.
Aberdeen57 is offline  
Reply

Tags
analog, control, motor, stepper

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
control of stepper motor sanjivee Electronic Theory 24 5th March 2009 05:52 PM
Stepper motor control with PIC16F84A netbug Micro Controllers 71 30th August 2008 01:07 PM
Smooth Analog Stepper Motor Control Bob Scott Electronic Projects Design/Ideas/Reviews 6 1st March 2008 02:54 PM
4 stepper motor control circuit- help!!! ajay_kumar_d Electronic Projects Design/Ideas/Reviews 3 19th March 2004 12:54 PM
Stepper Motor Control Motorhead General Electronics Chat 9 18th January 2003 07:28 PM



All times are GMT. The time now is 02:30 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker