Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] Bipolar stepper motor control using PWM

Status
Not open for further replies.

saikiran@ees

Member level 3
Joined
Oct 2, 2015
Messages
58
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Location
Hyderabad
Activity points
455
Hi,
I am using dspic30f5011 controller and I can generate PWM wave by using output capture compare module.Now,I want to control the 4-wire bipolar stepper motor with PWM i.e, rotation speed.So,what driver I have to use?




Thanks and Regards,
M SAI KIRAN.
 

Hi,

With PWM you can not control the speed.

With PWM you control the voltage/current through the coils.

Klaus
 

Hi KlausST,
Ok.How to control the voltage/current through the coils.which driver I have to use.
 

For bipolar motor 2 H-bridges have to be used. We have no idea which motor did you used and which voltage applied. How we can help you to choose driver in this case?
 

I have HB 200 Bipolar motor.
voltage 6 V
Resistance 3ohm
current 2 A
Torque 7.5
 

You will find PWM handy if you want to do some microstepping. It simply makes the rotation smooth.

- - - Updated - - -

Try this driver. It is pretty old, but ...

I think I have the same one bought from Aliexpress. You mean that the design is based on ICs that are old, right?
 

TB6560 is old itself. No current feedback, no overvoltage, reverse voltage protection, no overtemperature protection. Just a driver.
 

Hi
I can run the 6V 2A Stepper motor with the help of L298N driver.But how to increase and decrease the RPM of motor with the help of PWM without changing delay.And is the L298 driver is protect-able or not?


Thanks and Regards,
M SAI KIRAN.
 

But how to increase and decrease the RPM of motor with the help of PWM without changing delay.
That's not possible. You need to change the step frequency (respectively the step "delay") to vary the motor speed. Pulse width of L298 is often controlled for constant phase current, review the L297/L298 application schematic how constant current operation can be implemented with shunt resistors.

L298 is protected against overtemperature but not against output shorts.
 

Yes....You can do your homework with L298 but No more expectation in regular base.

- - - Updated - - -

and delay is indispensable for controlling the steps.
 

Thank you FvM,if i change the delay the speed is varying.But, how to vary the step delay with the help of PWM?
 

Why are you want to control it with PWM?

As per me... you should make a algorithm with a timer with control step & timing as well.
 

I want increase and decrease the rpm with the help of PWM.My application is to maintain equal torque by increasing or decreasing RPM.
 

With stepper motor application PWM affects only on torque. Speed is affected by step size only.
 

Ok

If you want to control your motor with PWM. You would use L297 & L298 pair. All related information about circuit and control signals inside the datasheet.

- - - Updated - - -

See figure-8 in L298 datasheet.
 

Hi,

post#1:
Now,I want to control the 4-wire bipolar stepper motor with PWM i.e, rotation speed.
--> Answer in post#2:
With PWM you can not control the speed.

******
post#9:
But how to increase and decrease the RPM of motor with the help of PWM
--> Answer in post10:
That's not possible.

******
post#12:
I want increase and decrease the rpm with the help of PWM
--> answer in post#15:
With stepper motor application PWM affects only on torque. Speed is affected by step size only.

******
Please accept, that PWM does NOT influence RPM!


Klaus
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top