(you are viewing a thread; or go back to
list of threads)
Stepper Motor (by Zoran)
When is stepper motor instruction going to be in use?
(no subject) (by Ziggy)
Do you need it now?
If so consider a circular counter with an epoch equal to the number of states the stepper motor needs to go through for a complete drive sequence.
Say the motor needs to go through four different coil current combinations.
Set up a circular counter from 1 to 4 ( modulo 4).
Based on counter value energise a specific current drive combination.
Increasing counter content will result in steper motor activation.
(no subject) (by José)
Hello... please... thank you ?
(no subject) (by Zoran)
Problem with is stepper that speed is too low. I am using Jonathan method creating pulses for motor with speed control to drive stepper driver, on PIC with 0,2 cycle and digital driver on 400 resolution max speed is 120 revolution per minute.
With PWM max speed on which motor starts is 2,4KHz (360 revolution). For higher speed I need ramp and then it can run up to 12KHz (1800 revolution).
Problem is how to create linear ramp from 0Hz to 12KHz.
(no subject) (by Ihor Nehrutsa)
to Zoran
I think you don't need a strictly linear ramp.
The linear ramp will be too slow and long.
You could try to increase the speed of the motor in steps.
You could start straightway from 2 kHz and then up it with a certain step.
(no subject) (by Ihor Nehrutsa)
But the issue is how to count the motor steps(position)?
The software encoder is too slow for that. :(
(no subject) (by Zoran)
Thanks Ihor I will test it today. I use timer for stopping motor.
When You have small speed You need bigger driver and motor because of torque, smaller motor with ramp and higher speed will do the job.
Thanks
(no subject) (by aydin)
Hi,
I think you want this. not tested, you share the driver and test result used. I wonder if I was successful
to Aydin (by Zoran)
there is something wrong with file I can not compile ld stop working.
to Ihor (by Zoran)
In real life this doesn't work the frequency is always the same 2KHz.
Thanks
(no subject) (by MGP)
It's normal ;)
For Ihor Nehrutsa) (by Paulino)
(por Ihor Nehrutsa) PWM_up.ld, I do not see how it really works, I made a modification to see the operation of your ladder, a question this PWM should stop when it ends or continues on a pre-set frequency.
My modification looks like the steps and once the whole process is done, it stays at 0. I don't understand how there are 2 STATE == 3
(no subject) (by Ihor Nehrutsa)
to Paulino
Please assign pins for I/O and PWM
(no subject) (by Ihor Nehrutsa)
To MGP
Yes, we need reset PWM before set.
To Zoran
Unfortunately, it is not possible to set an arbitrary PWM frequency for AVR microcontrollers.
attachment (by Amjad)
i think this attachment will helpful to us
(no subject) (by Amjad)
another ladder logic in this showing how will reset PWM before set.
(no subject) (by Ihor Nehrutsa)
to Amjad
What program are these ladder screenshots from?
(no subject) (by Paulino)
Hi Ihor Nehrutsa is from delta.Delta WPLSoft.
Hola Ihor Nehrutsa es de delta.
Post a reply to this comment:
|