Hello everyone. First post, beginner to Arduino here.
So I have a Nema 17, an L298n driver and the arduino.
I’ve seen videos/tutorials of people using a motor controller with the Nema 17 and sometimes they don’t. Why is this?
What I don’t understand is why controllers are necessary when the Arduino can control the motor.
Also, I’ve seen videos of people using a bigger Nema with a controller. Is there some sort of limit where the big motors require a motor controller and others don’t?
shazhazel:
What I don’t understand is why controllers are necessary when the Arduino can control the motor.
Unless the motor is very very small, Arduino is not designed as a motor driver. It sends signals to other devices with power handling capability, filtering, etc., to the heavy lifting. Part of the reason is motors, and any inductive load, are quite different beasts than LEDs or inputs to other electronic components.
You can compare things like efficiency, circuit protection, power capabilities, current limiting, temperature shutdown, and built in shut down circuitry.
A NEMA17 stepper motor these days is usually low impedance (0.3 to 5 ohms or thereabouts),
and requires current drive. This means using a DRV8825, A4988 or other chopper-style
constant current driver (this basically acts as a dynamic buck-converter with current output).
If you have a high impedance stepper of about 20 to 50 ohms, you may be able to drive it
from a constant-voltage motor driver like an L298, but you will get very poor performance,
perhaps 120rpm max.
Stepper motors are inherently current driven motors. To move fast its required that
the supply voltage is much higher than the winding resistance might suggest, as the winding
inductance is totally dominant.
For instance a 1.7A 1.5ohm stepper is normally driven constant current, from 12V, 24V, 36V or
even higher. If you tried to drive it using an L298 from 12V the L298 and the motor would
rapidly cook and fail as there's no current control...
I’m making an exoskeleton for disabled/paralysed people. Right now, I’m starting with a small scale to test. for the final I’ll need a motor that can withstand around 80kg
Edit: I think the nema will be okay for testing purposes for a small scale (what do you all think?)
And if everything works fine, I’ll grab the DRV8825 stepper motor driver for the actual exoskeleton. Are there any motors you guys would recommend that can withstand up to 100kg?
Presumably the 80 and 100kg you mention is the mass of the user? It's not about the mass as such, it's about how it's applied and what the torques are. Someone once said something about moving the planets given a fulcrum and a long enough stick.
You need to design the skeleton. That means sketch it out as you think it might be, then analyse the movements and their associated forces and lever arms to arrive at the forces and torques applied to the joints and members of the structure. Then you check the vendors' catalogs for motors that provide enough torque at whatever speeds are required. Then you hope the motor fits and if not, it's literally back to the drawing board.
Motors don't "withstand up to x kg", they provide torque of y Nm.
My dad is a mechanical design engineer, he’s helping me design it all.
Also, me saying “withstand 100kg” is just me explain it simply, is there a formula that I can use to figure out the torque required?
My background is actually in computer games development and artificial intelligence, I program in C++/C#/Java, I’m very knowledgable in 3D designing and i work as a Model (totally opposite fields haha)
shazhazel:
My dad is a mechanical design engineer, he’s helping me design it all.
Also, me saying “withstand 100kg” is just me explain it simply, is there a formula that I can use to figure out the torque required?
In engineering we try to describe things correctly, not simply if that means wrongly too.
As to the formula, of course there is (or are, plural) but it's not just about knowing a formula, it's about understanding first principles and applying them. If your Dad's already helping you with the design, ask him to explain those principles to you. It's exactly this kind of work, after all, that folk go to uni for and become engineers. I think we covered this in first year applied maths, and I'm pretty sure calculating moments and stuff was even done at high school, but that was long ago.
OCD? I am an engineer, and I know many engineers, and while I do appreciate things being technically correct, being OCD is not something I've observed to be demonstrated by us in general.
shazhazel:
everyone finds engineers to be very annoying and OCD
That's one way to get further help from engineers.
Yes, a mass of 100kg on an arm of 2cm is a moment of 20Nm. Whether or not that's the right calculation to be doing in the first place is impossible to say.