Тёмный

High speed stepper motor smooth acceleration and speed change with Teensy 3.5 and TeensyStep 

kstoerz
Подписаться 509
Просмотров 167 тыс.
50% 1

Simple proof of concept for using a stepper motor as a speed-controlled motor to run a dynamo hub testing rig. After running into limitations on speed and smoothness and features with Arduino-based (8-bit 16mhz) stepper libraries, I switched to a Teensy 3.5 board (32-bit 120mhz) and now I have way more processing power left over, even at speeds much higher than I will need. Here I was testing what maximum speeds I could reach with the hardware in play, just for fun.
The TeensyStep library allows continuous rotation (instead of a command to proceed to a position) and also allows smoothly accelerating and decelerating to new speeds without needing to come to a stop to set the new speed.
Hardware shown:
- Teensy 3.5 microcontroller
- TB6600 stepper driver
- high-torque Nema 23 bipolar stepper motor
- (the Arduino Nano clone visible on the breadboard is not being used in this video)
Maximum speed shown in video is 16400 pulses per second, which translates to 4920 rpm. (initial max speed configured to 8200 pulses/sec, and this is doubled by the final speed override command near the bottom of the code) This is a 200 pulse per revolution stepper motor, and the controller is not microstepping. (and there are 60 seconds in one minute.) 8200 * 2 / 200 * 60 = 4920 rpm.
100% speed is 2460rpm. This test code accelerates to 10%, 20%, 100%, and 200% of max speed, pausing at each value to allow for acceleration time. The delay time at 100% speed was too short to allow it to stabilize at that speed, but you can definitely hear a brief constant frequency at max speed showing that it did reach 4920rpm.

Наука

Опубликовано:

 

13 дек 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 81   
@9662e
@9662e Год назад
my man wow. have been working with stepper motors on my projects but have never seen one that sounds like a full on jet engine revving up 😂
@brlinrainf
@brlinrainf 4 дня назад
these are steppers, that's why they sound very high frequency to generate a lower speed
@mage3690
@mage3690 8 месяцев назад
Let me tell you, it is _awesome_ hearing this exact sound come out of my dad's old Mazak CNC machine. That sucker winds up the spindle with a noise exactly like this except so loud you can hear it in your soul, then it just starts making chips fly. F*cking amazing.
@thomasbernier2489
@thomasbernier2489 7 месяцев назад
It sounds like a POST for the motor, really. First speed is testing the motor windings and encoder, the second speed is testing bearing drag, then spinning up for full power.
@bearleemadeit4718
@bearleemadeit4718 Год назад
R2D2 has entered the chat
@1WattMicahwave
@1WattMicahwave 6 месяцев назад
That’s what I’m sayin!
@sammy_1_1
@sammy_1_1 Год назад
Motor went from AAAAA to R2 D2 scream
@RobBzReef
@RobBzReef Год назад
getting stepper motors to run isn't the biggest challenge, it's feeding it control data from an interface (serial, IOT, user UI etc...). This is where i need to learn more.
@mysticmarble94
@mysticmarble94 Год назад
I agree with the other commenters ... Load / Torque / Heat test please 🙏
@jasekdominik
@jasekdominik 4 года назад
Can you share your code please?
@fwgigan7848
@fwgigan7848 2 месяца назад
I would wait decades 🙏🤣
@entropywastaken
@entropywastaken День назад
Music to my ears
@madtscientist8853
@madtscientist8853 11 месяцев назад
I'm going to say it I would PAY GOOD money to have this in some of my projects
@dharmendrachauhan7884
@dharmendrachauhan7884 3 года назад
Which is your stepper motor holding torque?
@hoodio
@hoodio Год назад
beatiful
@brlinrainf
@brlinrainf 4 дня назад
stepper motors offer accuracy
@paulcohen1555
@paulcohen1555 24 дня назад
Sounds like an jet plane taking off!
@_sainianuj
@_sainianuj 4 месяца назад
She: what type of songs you like to hear Me: uhh stepper motor
@gamingcorner107
@gamingcorner107 5 месяцев назад
Stepper motors be sounding like some alien ship taking off 😂
@salemgharbi9524
@salemgharbi9524 10 месяцев назад
Really cool 🎉❤
@noobstrom3279
@noobstrom3279 2 года назад
Which ecu did you use?
@carloisdoingstupidtechstuff
@carloisdoingstupidtechstuff 11 месяцев назад
Damn imagine if I can make a BIG fan out of that
@user-zi8sz3dr5v
@user-zi8sz3dr5v 7 месяцев назад
good wonderful
@marekmagusin
@marekmagusin Год назад
Amazing speed of stepper motor. Which kind of driver did you used please?
@Shivaaayy
@Shivaaayy 2 года назад
Can you do torque test of this motor
@skylined5534
@skylined5534 9 месяцев назад
That reminds me, I think my washing is done.
@vitanndasr1297
@vitanndasr1297 2 года назад
Can you please share with us wiring diagram and code for this project
@joemartin103402
@joemartin103402 2 года назад
What kind of Stepper Motor driver did you use?
@angelgamingchannel3874
@angelgamingchannel3874 Год назад
Nema43
@useditem_tk
@useditem_tk Год назад
@@angelgamingchannel3874 23?
@MikeJohnMentzer
@MikeJohnMentzer Год назад
​@@useditem_tk No... This is bigger than Nema 23
@useditem_tk
@useditem_tk Год назад
@@MikeJohnMentzer there are various type of nema23. Difference shaft size. My nema23 with 8mm shaft (High Torque) and 3 other nema23 (OEM) with 6.35mm shaft. Nema (Stepper motor) ##(Size). Hope you get it. Good luck.
@StuffIMade
@StuffIMade 6 месяцев назад
what driver board are you using?
@nightmareinaction629
@nightmareinaction629 Год назад
Now apply a load
@HS-hz4fx
@HS-hz4fx Год назад
what is your stepper driver
@correct_lee
@correct_lee 6 месяцев назад
Could you use this idea for magnetic acceleration? Like the videos with the ball going in circles around the track?
@sparky_murph
@sparky_murph 6 месяцев назад
Please, share your knowledge and code on how to do that!!!!!!
@bananakinflyswatter904
@bananakinflyswatter904 3 месяца назад
You could throw that into a room as a sonic disruptor. Sounds sci fi enough as is.
@jenngill7772
@jenngill7772 8 месяцев назад
Am I the only one that suddenly has a craving for cotton candy? 😂
@mateuszgezakowski5442
@mateuszgezakowski5442 Час назад
How many Hz are you pushing in step sygnal?
@kymcainday6677
@kymcainday6677 6 месяцев назад
What driver did you use?
@vistadigitals
@vistadigitals 5 месяцев назад
Hi, anyone clarify me ! Step motor stop (pause) certain time and possible set step value.
@electronicsideas1361
@electronicsideas1361 Год назад
Fantastic I need details with code
@sumoddball
@sumoddball 8 месяцев назад
wooo weee WWWWHHHEEEEEEEEEEEEEEEEeeeeeeooou uuuuuuu
@MBilalEmitra
@MBilalEmitra 2 года назад
How to use dc motor please reply me
@Unknown_Rider_01
@Unknown_Rider_01 Год назад
Please give specification of this motor
@soumalya9694
@soumalya9694 Год назад
What's the code? If you can share it, I'll be very obliged 🙏
@robertoperez6050
@robertoperez6050 8 месяцев назад
Great Job, Code Please, thanks
@akashpaul909
@akashpaul909 2 года назад
From where to buy
@skunkwar7468
@skunkwar7468 Год назад
I didn’t think it was possible to get a stepper motor to go that fast! If you shut it off at full speed what happens?
@TriggK4T
@TriggK4T Год назад
It grenades. "I honestly have no clue"
@jenngill7772
@jenngill7772 8 месяцев назад
The world starts to spin backwards. 😱
@user-jw5tx6fb9d
@user-jw5tx6fb9d 3 месяца назад
how much amp are u using friend?
@mechmodhomeshop
@mechmodhomeshop 9 месяцев назад
Please can you share the code? I will like to make a test for my surface grinder
@Thetwovolt
@Thetwovolt 2 года назад
HI, Can you share code for this?
@djagrarms7916
@djagrarms7916 5 месяцев назад
Now gear it 👌🏼
@omerkansiray1426
@omerkansiray1426 5 месяцев назад
how much does that cost
@rccowboys
@rccowboys 3 года назад
Share you code please
@praisethelord8641
@praisethelord8641 2 года назад
Maximum rpm??
@Retroman1852
@Retroman1852 4 месяца назад
POV: the dentist.
@Landontheengineer
@Landontheengineer 5 месяцев назад
PS4 at 3am
@project5eee
@project5eee Месяц назад
Is high speed a requirement in stepper motors
@BACSITUANTU
@BACSITUANTU 10 месяцев назад
Chat gpt said this is easy code. But i don't have the motor. So any one test with gpt please share resul.
@danize5131
@danize5131 17 дней назад
Give me this code. Or when i can find this code
@kailashmalviya8
@kailashmalviya8 3 месяца назад
Need code
@user-zi8sz3dr5v
@user-zi8sz3dr5v 7 месяцев назад
i m want it
@printerautomations
@printerautomations 8 месяцев назад
Rpm ?
@wesKEVQJ
@wesKEVQJ 9 месяцев назад
sounds like 10,000 rpm
@BASHEER.S
@BASHEER.S Год назад
كيف هاذا
@mr.simulator4724
@mr.simulator4724 8 месяцев назад
Make it sound like a gto vvvf
@terrixtv4679
@terrixtv4679 2 месяца назад
Im scared
@superchargewither2893
@superchargewither2893 7 месяцев назад
hmmm.....
@JamesBond-gr2ul
@JamesBond-gr2ul 6 месяцев назад
Would you be willing to build a position controlled stepper motor setup for me? I will pay you whatever you think is fair. Ive veen trying to build it myself using arduino uno but cant figure out what im doing wrong.
@riteshsingh09
@riteshsingh09 Год назад
Sounds like R2D2 LOL
@driftliketokyo34ftw35
@driftliketokyo34ftw35 2 года назад
Imagine if they use this in electric vehicles. Probably make parking a little easier
@Mrshutter
@Mrshutter Год назад
I don't understand
@imnotbeluga007
@imnotbeluga007 8 месяцев назад
Loud sounds, so you can hear that something potentially dangerous (car) is nearby.
@wantedwario2621
@wantedwario2621 5 месяцев назад
Print time: 2 minutes
@yt.gamingx3618lol
@yt.gamingx3618lol 3 месяца назад
5 seconds😂
@madtscientist8853
@madtscientist8853 11 месяцев назад
1. You know you could build this in a PC RIGHT. 2. Use this in drones RIGHT! 3. make this spind a generator RIGHT! 4. HAND DRILLS 5. i mean the list GOES FUCKING ON RIGH!
@soriatel
@soriatel 11 месяцев назад
Yo lo voy a hacer, no necesito de tu pinche codigo
Далее
POLI зовет Газана
00:12
Просмотров 1,1 млн
Trục robot combo + driver + step review
2:35
Просмотров 11 тыс.
Stepper Motor Torque For Your Applications..
15:04
Просмотров 138 тыс.
Closed loop stepper motors -- very impressive
10:46
Просмотров 119 тыс.
What Makes TMC2208 Stepper Motor Drivers Silent?
9:07
Просмотров 295 тыс.
TMC2209 et accelstepper 2
1:10
Просмотров 13 тыс.
Big Stepper Motors with Arduino
29:43
Просмотров 1,2 млн
When you have 32GB RAM in your PC
0:12
Просмотров 2,3 млн
КРУТОЙ ТЕЛЕФОН
0:16
Просмотров 3,5 млн