Previous in Forum: EMI   Next in Forum: Algebra 2 Question!!!
Close
Close
Close
26 comments
Rate Comments: Nested
Member

Join Date: Nov 2007
Posts: 5

Bipolar stepper motor

11/10/2007 3:06 PM

Hi everybody I'm trying to design a drive circuit for bipolar stepper motor using microprocessor but I will use it to drive motor with high torque 20N.m is there any suggestion for the drive circuit or the code of the micro

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#1

Re: Bipolar stepper motor

11/10/2007 3:42 PM

Look up the website for your micro manufacturer, they often have application notes. I'd think this is a standard app'.

What micro are you using... Zilog have tons of app' notes.

Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply
Member

Join Date: Nov 2007
Posts: 5
#2
In reply to #1

Re: Bipolar stepper motor

11/10/2007 3:51 PM

I've a problem in design I don't know what to use what should I use and from where to start.I want practical design something can be used

I read about H-bridge but I read that it is not practical and my requirement is high rating(12A and 300 V)

Register to Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#3
In reply to #2

Re: Bipolar stepper motor

11/10/2007 4:02 PM

I suggest you start by trying to drive a lower power motor first... say 1amp

The app' notes I mentioned often have circuit diagrams too...or get onto the motor manufacturer for app' circuits.

If you really have no electronics experience you need to learn with something much simpler.

This is not a suitable 'first project'.

Maybe a simple DC motor (at 1amp) and an H bridge would be a reasonable start point.

Good luck

Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#24
In reply to #3

Re: Bipolar stepper motor

11/12/2007 8:45 AM

Del is right!

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Power-User

Join Date: Jan 2007
Location: Berlin (Germany)
Posts: 332
Good Answers: 1
#16
In reply to #2

Re: Bipolar stepper motor

11/11/2007 1:28 PM

I don`t understand your requirements - 12A and 300V seems to be able to vaporize your motor.

I`ve seen motors with about 85Nm and they only draw less than 3A at very much lower voltages. Seams that there are some dimensions wrong - or am I ??

Regards Uwe

__________________
The sum of intelligence on earth is a constant. And the population grows and grows and .....
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#25
In reply to #16

Re: Bipolar stepper motor

11/12/2007 10:11 AM

The high voltage is necessary to get the motor current up high enough in a very short time - which is what you have to do to drive a stepper fast.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#23
In reply to #2

Re: Bipolar stepper motor

11/12/2007 8:44 AM

I have worked with H switches, switching instantaneous 40 amps to a PCB motor, I never had the impression that this was even near the limit....or anything unusual.....

A well designed H switch, should not give problems....

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Member

Join Date: Nov 2007
Posts: 5
#4

Re: Bipolar stepper motor

11/10/2007 4:08 PM

I'll tell you

I know that I should use power mosfet in H-bridge and use bootstrap and use the micro to give the signal

and get that the mosfet with rating double the req. due to start current

but I search for any experince that guides me and gives tips

Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#5
In reply to #4

Re: Bipolar stepper motor

11/10/2007 5:01 PM

Try going to this site, scroll down to the section called Datenblätter:, and download l297ds.pdf & l298ds.pdf (they are in English!). The L297 is a step motor control chip, and the L298 is a dual H bridge. (There are no doubt plenty of other sites where you can get the data - this is just the first one I found).

This combo will get you up to 2A/phase, which is a good start and will let you work on the control side without too many BANGS.

Once you get that all working, you can replace the L298 with discrete high power MOSFETs - you can more-or-less copy the internal bridge circuit straight from the datasheet.

Good luck.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Member

Join Date: Nov 2007
Posts: 5
#6
In reply to #5

Re: Bipolar stepper motor

11/10/2007 5:07 PM

thanks john

I know these chips but they can only drive motor has 2A/ph

my req is to have 12A/ph

Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#7
In reply to #6

Re: Bipolar stepper motor

11/10/2007 5:35 PM

Since there are people here taking the time and trouble to give you some advice, please have the courtesy to read what they have written, and don't fire off replies which clearly indicate that you cannot be bothered.

I don't mind helping, but I will not be messed around.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Member

Join Date: Nov 2007
Posts: 5
#8
In reply to #7

Re: Bipolar stepper motor

11/10/2007 5:47 PM

Sorry but I didn't mean to be uncourteous. but maybe my words cheated me

I repeat my apology

and sorry for wasting your time John

Register to Reply
Guru
Canada - Member - New Member

Join Date: May 2006
Location: Montreal, Canada
Posts: 632
Good Answers: 11
#10
In reply to #8

Re: Bipolar stepper motor

11/11/2007 12:05 AM

If this is for self education, start small.

If this for a real project, start small.

If you are not trying to learn programming, try Allegro drivers, you will get integrated drivers with esternal mosfets. Only step and direction is required.

Aslo, start small and understand the various properties for the small motor and calculate for the larger one.

The step sequence will be the same as your large motor, but the smoke less dense and less costly if you make a timing mistake.

__________________
''What the hell has my a** got to do with magic?" Don Quixote
Register to Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#9

Re: Bipolar stepper motor

11/10/2007 11:17 PM

12A/300V?

Judas Priest, son!

If you're doing this for your own edification/educational purposes, I strongly suggest you start small. You can buy small steppers and driver ICs cheap for same amount of education you'll gain. Bigger is not better here.

If you're doing this professionally (ie, for pay), I strongly suggest you buy an appropriately-sized stepper motor driver/controller off-the-shelf. It will be far
cheaper than the cost of your time and materials (including those you burn up enroute) - and your customer's/client's/employer's patience.

Sorry to rain on your parade, Zaz, but (in a manner of speaking) you really should learn how to build a boat before attempting to build an aircraft carrier.

Register to Reply
Guru
Popular Science - Biology - New Member Hobbies - Musician - New Member APIX Pilot Plant Design Project - Member - New Member Hobbies - CNC - New Member Fans of Old Computers - ZX-81 - New Member

Join Date: Jan 2007
Location: Centurion, South Africa
Posts: 3921
Good Answers: 97
#11

Re: Bipolar stepper motor

11/11/2007 2:34 AM

My middle name should be DIY. I stripped the internet of about 1000 pages of info investigating stepper motor drivers. etc. Only to realize that although it is easy for anybody to get a stepper motor stepping a serious application deserves investing into a good off the shelve solution.

We went for Galil controllers, After the amazing result seen (the machine moves at 4-6 times the speed I could get with NO strain) I must recommend that.

In the documentation (somewhere) there is some MOSFET drivers of 4A and more.

There are some steppers with intergrated drivers. Maybe you can google.

__________________
Never do today what you can put of until tomorrow - Student motto
Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#13
In reply to #11

Re: Bipolar stepper motor

11/11/2007 10:16 AM

You should have mentioned what I consider the most important feature of Galil: ease of programming.

I have a mental block against ladder logic: Galil's system is pretty easy and extremely flexible. Good support too!

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#14
In reply to #13

Re: Bipolar stepper motor

11/11/2007 12:19 PM

Good call, Hendrik and Dkwarner. For my part I've used Galil's products in a number of applications including a 5-axis eucentric stage for an electron microscope, an experimental ion detector for a mass spectrometer, and in a world-class research telescope. The latter used a 2 HP servomotor (not a stepper in this case) to position the 5-ton telescope in azimuth to within a few arcseconds' accuracy. Galil's products are very easy to use as controllers go, IMHO. No complaints here.

Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#15
In reply to #14

Re: Bipolar stepper motor

11/11/2007 1:24 PM

...and since you mention servos, I've made essentially identical 5-axis machines, 3 with steppers and 1 with servos. Other than a few lines of setup, the programs are identical.

Both types of machine work well. I had a lot of trouble with the servos until I added gearboxes to get the required position control at very low speed; that solved the problem.

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Active Contributor

Join Date: Nov 2007
Location: USA and Canada
Posts: 23
#17
In reply to #15

Re: Bipolar stepper motor

11/11/2007 4:17 PM

Do you have more info about the different about the Step motor and servo motor on your application. I believe It would be quite a lesson for everyone here.

__________________
Funny N.
Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#18
In reply to #17

Re: Bipolar stepper motor

11/11/2007 9:56 PM

You Bet!

I've been using steppers for about 25 years. For the first few applications, I wrote BASIC programs that sent on-off signals to discrete transistors to drive 1 Amp or smaller stepper motors. At that time I was teaching Physics, Electronics, and Computer Science; the applications were educational. The first one I recall used a single stepper motor to rotate loudspeakers, while a microphone recorded the output, thereby producing a polar graph of the angular response of the speakers. I retired from teaching about 12 years ago, and shortly thereafter started working on my current job, where some of my duties involve designing and building automated cutting and welding machines. (It's great! I get to combine my knowledge of physics, electronics, and machining all in one project).

Once I started to build industrial machines, I switched to off-the-shelf driver boards, and learned about micro-stepping (where instead of just switching magnets on and off, the current is adjusted from zero to full current in steps). Micro-stepping gives much finer positional control, and is quieter than full or half-stepping. The controllers I'm using have 1/64 micro-stepping, which means that a 200 steps-per-revolution motor can essentially be controlled to 1/12,800 of a revolution. The actual precision isn't quite that good, but it is way better than 1/200 of a rev! The fact that the current increases in little steps instead of sudden on and off is what makes the motors much quieter than full-stepping.

All my current machines use size 23 (2.3 inch square mounting plate) and size 34 motors. Most of them are very slow speed; the size 23 motors drive rollers of various kinds directly, with a speed pot that can manually control the speed from zero to about 60 RPM. Most of the size 34 motors have gear and/or belt speed reduction, with rollers twice as big, so their maximum speed is about 30 RPM, with the same linear speed. I also have some driving lead screws for X-Y Table control.

Many people kept telling me that servos are better, so I finally decided to try a set. The Galil controllers make the switch relatively easy; as I said, the programs are essentially identical for steppers and servos. Size 23 servo motors mount exactly the same as size 23 steppers, so at first I just swapped servos for steppers, and of course changed drivers. But it turns out that servos don't like low speeds. I had all kinds of problems trying to get the servos 'tuned'. After MUCH frustration, I added 10:1 speed reducers, and voilá - it works fine.

The servo system is quieter, and I like quiet! But it is significantly more expensive, especially when I had to add a speed reducer at each axis to get it to work reliably. The feedback loop of a servo theoretically means the machine knows when there is an error, and that should be good. But in practice, when operators (or whoever) don't maintain good lubrication, both systems can have problems.

Obviously I'm biased, having a fairly long experience with steppers and a much shorter experience ( a couple of years) with servos. For my applications, I prefer the steppers: on the other hand I wouldn't want a CNC milling machine that used steppers!

Hope this is of some help... You're welcome to ask specific questions.

Dick

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Guru
Canada - Member - New Member

Join Date: May 2006
Location: Montreal, Canada
Posts: 632
Good Answers: 11
#19
In reply to #18

Re: Bipolar stepper motor

11/11/2007 10:11 PM

I had good experiences with drivers from Applied Motion.

I a recent demo I saw their Anti-resonance and torque ripple smoothing features. It makes the steppers even quieter than microstepping alone.

__________________
''What the hell has my a** got to do with magic?" Don Quixote
Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#20
In reply to #19

Re: Bipolar stepper motor

11/11/2007 10:56 PM

That's what I've been using! (Hadn't heard about the anti-resonance!).

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Guru
Canada - Member - New Member

Join Date: May 2006
Location: Montreal, Canada
Posts: 632
Good Answers: 11
#21
In reply to #20

Re: Bipolar stepper motor

11/11/2007 11:38 PM

It is not some useless feature. Without resonance, you have more usefull torque an can go faster. The demo was quite impressive (Well just a motor turning, I must be a nerd).

The engineer's name is Eric Rice from their Chicago office.

__________________
''What the hell has my a** got to do with magic?" Don Quixote
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#22
In reply to #18

Re: Bipolar stepper motor

11/12/2007 3:17 AM

Just like to add a quick word about the position feedback - I use steppers almost exclusively (a few servos and DC motors here and there). In any app where it's vital to have correct positioning (e.g. instrument calibration to NAMAS standards) I use position encoders (either rotary or linear) directly coupled to the driven part of the system. I generally use Allen-Bradley PLC's to control the motors and monitor the feedback, though I've also used Parker "intelligent" drives.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Active Contributor

Join Date: Nov 2007
Location: USA and Canada
Posts: 23
#12

Re: Bipolar stepper motor

11/11/2007 9:13 AM

Step motors are everywhere this days, the tiny ones with gear has been used for instrument gauges on cars, boats, printers, the bigger one has been used on CNC machines. For tiny ones it can be drive directly by microcontrollers if the current is less than 20 mA. Otherwise a power interface has to be implement to provide sufficient current to the motors.

__________________
Funny N.
Register to Reply
Anonymous Poster
#26

Re: Bipolar stepper motor

11/13/2007 2:22 AM

I use Stepper Motors since 1972. Earlier switching with 4x7 segment LED display driver with output of segment 'e' exact for unipolar or bipolar stepper motor. It is crude but excellent operation. Require circuit, inform me.

Presently I use Fatek PLC for stepper motor drive, you can visit their site for detail.

One of the project I prepared is 3 axis, 3 stepper motors, having over 120 cycles/min. That is, all three motors moves one by one withing 0.5 sec and completes their operation. With servos, it may not be possible.

Use IC TIP 127 or equivelent to drive directly from your microcontroller, else add 2N3055 for over 2 amp. per phase of stepper motor.

Find out SGS's Motion Control book. It has excellent description of several type of stepper motor drives, right from 0.5 amp to almost 8 amp / phase.

Register to Reply
Register to Reply 26 comments
Copy to Clipboard

Users who posted comments:

Andy Germany (2); Anonymous Poster (1); dkwarner (4); FunnyNYPD (2); gigaconcept.com (3); Hendrik (1); JohnDG (4); user-deleted-1105 (2); user-deleted-13 (2); uweka (1); zazo4ever (4)

Previous in Forum: EMI   Next in Forum: Algebra 2 Question!!!

Advertisement