Previous in Forum: Antipumping Contactor use   Next in Forum: Transformers
Close
Close
Close
7 comments
Rate Comments: Nested
Associate

Join Date: Oct 2007
Posts: 48

L297 Stepper Dirver

11/05/2007 3:03 AM

Hi everybody!

Has anyone dealt with stepper motor driver using L297-L298 combination?

If yes, then pls let me have some idea on it !

I have one proerct for stepper controller .

the clock input of L297 is fed by micrcontroller with 50% dutycycle.

I am confused with the frequency of this input signal to the L297.

Upto 1.25 KHz motor runs well but above 2KHz motor just humming not running.

Motor rating is 12V, 1A and L297 is configured for half step.

Any suggestion?

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
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
#1

Re: L297 stepper driver

11/05/2007 4:39 AM

What voltage are you using for the L298 supply?

Although the motor is rated at 12V, you'll need a much higher voltage (say 36V) for the supply when driving fast - with only 12V, you can't get the motor current up high enough during one step period (because of the motor inductance). Don't worry about overloading the motor, the L297 is a chopper - i.e. it monitors the motor current and switches off when the current has built up high enough.

I've got a drawing of a simple L297/L298 circuit which works very well. Unfortunately it was done back in the days of pen-plotters, with an ancient software package that needed a (now-broken) hardware dongle. I could send you a scan if you like.

I've got an excellent ap note in an old ST book (1987) - I'll try to find an on-line copy & give you a link.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Guru
Technical Fields - Architecture - New Member Popular Science - Weaponology - New Member Engineering Fields - Control Engineering - New Member Engineering Fields - Electrical Engineering - New Member Engineering Fields - Electromechanical Engineering - New Member Hobbies - Fishing - New Member Hobbies - Target Shooting - New Member Hobbies - Hunting - New Member

Join Date: Dec 2005
Location: Clemson, South Carolina
Posts: 1722
Good Answers: 18
#2

Re: L297 Stepper Dirver

11/05/2007 9:13 AM

Lots of stepper motors don't like to be started at elevated step rates, and many manufacturers have papers on the need to ramp up the speed -- especially through resonant frequencies. Sounds like that's what you may be dealing with.

__________________
We have met the enemy and he is us . . . Walt Kelly
Register to Reply
Associate

Join Date: Oct 2007
Posts: 48
#3

Re: L297 Stepper Dirver

11/06/2007 1:44 AM

Thanks both of you for responding so quickly!

Motor driver is supplied with 24v.

Current sense is set for 1A (1R/2W resistor) with 1.2 v reference voltage at L297 pin.

And one more thing i would like to share with you that is:

When stepper motor gets stall (i.e. one phase continous ON), the l298 gets heat, is it normal behavior? because it does not get that much heated upon running operation of the motor.

Thanks & Regards!

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
#4
In reply to #3

Re: L297 Stepper Dirver

11/06/2007 3:17 AM

We used the circuit above for setting the current. When running, the DRIVE input is pulled low, and RV1 sets the current. When the motor is idle, DRIVE is taken high, and RV2 is used to set a holding current, reducing motor heating (and wasted power). (Please ignore the TR1 legend - it crept in when I clipped this bit of circuit out of the bigger drawing).

(We also had the circuit to reduce each phase current by 70% when both windings are on, to give smoother driving - I haven't shown this, but I'll post it if you're interested.)

I still wonder if your 24V supply is high enough. Can you get a 'scope on one of the L297 current sense inputs, and check that it's getting up to Vref quickly enough at high step rates?

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

Join Date: Oct 2007
Posts: 48
#5
In reply to #4

Re: L297 Stepper Dirver

11/06/2007 7:24 AM

Hi!

Ofcourse interested.

Now I think i should provide 35 or more to the motor

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 #5

Re: L297 Stepper Dirver

11/06/2007 8:50 AM

I hope you can make this out - it's a pretty lousy image. Do you have anything that will open a DXF file? If so, I'll send you one.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Guru
Technical Fields - Architecture - New Member Popular Science - Weaponology - New Member Engineering Fields - Control Engineering - New Member Engineering Fields - Electrical Engineering - New Member Engineering Fields - Electromechanical Engineering - New Member Hobbies - Fishing - New Member Hobbies - Target Shooting - New Member Hobbies - Hunting - New Member

Join Date: Dec 2005
Location: Clemson, South Carolina
Posts: 1722
Good Answers: 18
#6
In reply to #3

Re: L297 Stepper Dirver

11/06/2007 8:49 AM

Most stepper motors do not require 24 VDC, so the L298 is switching on and off to attempt to maintain no more than 1 amp through the motor, but it's always being cut off by the current limit circuit and not by command signal. It may not switch off as efficiently that way. In the dynamic mode, all channels are switched by command and the inductance of the windings probably keeps the current from reaching 1 amp before the phase is turned off and then next phase is switched on at some minimum frequency. At very low frequencies, the current may reach 1 amp limit in each phase, but it doesn't persist. Nevertheless, the L298 will probably run hotter at slow speeds than at higher speeds. Maximum current is reached after 5 time constants of the resistive-inductive circuit.

__________________
We have met the enemy and he is us . . . Walt Kelly
Register to Reply
Register to Reply 7 comments
Copy to Clipboard

Users who posted comments:

Bill (2); fireball (2); JohnDG (3)

Previous in Forum: Antipumping Contactor use   Next in Forum: Transformers
You might be interested in: Stepper Motors, Motor Controllers, Motor Coils

Advertisement