I want to build a steer-by-wire system and I was wondering what is better for precision a stepper motor or a DC Motor to control the wheels of the car. I tend to want to use DC and make it a Servo in order to make it more precisise.
-
3\$\begingroup\$ Steppers seem precise - right up until you miss a step ... then you're lost without feedback. If you add feedback then you may as well use a geared DC motor for greater simplicity & power. \$\endgroup\$– brhansCommented Apr 13, 2021 at 20:59
-
\$\begingroup\$ More important than all that is skid. \$\endgroup\$– DKNguyenCommented Apr 13, 2021 at 21:01
-
\$\begingroup\$ Wouldn't that depend on how the motor will control the steering. Is it for a car or a bicycle? Can you be any more precise in your question to give better answers? \$\endgroup\$– JustmeCommented Apr 13, 2021 at 21:05
-
\$\begingroup\$ Which is heavier, a rock or a boat?It all depends upon which rock and which boat doesn't it? \$\endgroup\$– Math Keeps Me BusyCommented Apr 13, 2021 at 21:21
-
\$\begingroup\$ Welcome to the site. This is one line that asks for mountains of effort in reply. The site is not for free personal tutoring and you can quite easily research this on the internet. Please edit your question and detail you already know, show all that you have discovered for yourself on the subject. \$\endgroup\$– TonyMCommented Apr 13, 2021 at 21:47
3 Answers
I would have to go with a servo motor. Possibly on a worm gear driven rack and pinion. The servo control system, I would include absolute positioning sensors, (opto wheels) so that the motor control optic wheel is fallows the steering wheel optic wheel with precision. I wouldn't recommend a potentiometer as a command potentiometer, because of mechanical failure and dust might interfere in its future operation. I would also include limit switches so that the motor travel of the wheel never causes mechanical damage.
Your question doesn't make it clear but I am assuming that you want to motorise the steering rather than provide power to drive the vehicle.
Stepper
- Most stepper systems don't have any position feedback. This means that the control system won't know if it has lost position due to a knock or high resistance while driving.
- On power-up the steering would need to do a referencing movement to learn its initial position. Typically this might mean turning fully left until a switch is activated and then moving back a certain number of steps to the central position.
- You can then apply a degree of steer by stepping a certain number of steps in the right direction.
DC motor
- If using a DC motor then you need to implement some type of servo action and control. This means that position feedback is required and a servo amplifier is driven to adjust the steering.
- The servo actuator below takes a 2 ms clock signal with variable duty cycle. Typically they turn 180° with 0.5 s pulse width going fully to one side and 1.5 ms going fully to the other extreme.
- The electronics to drive the motor are built in as is the feedback system which may be as simple as a potentiometer which is driven on the same shaft as the output lever.
- The motor driver will adjust the current required to move the actuator to the required position.
- The servo will "know" if it has been knocked out of position and will self-correct.
Figure 1. A hobby servo actuator such as used in RC models. Image source: Introduction to servos.
Your question gives no idea of the scale of RC car you are creating but larger servo actuators are available.
I would chose the DC motor servo actuator.
- Well, I can have my cake and eat it too, only for ¥25! : )
For reading materials, I would recommend this newbie friendly tutorial:
DC Motors and Stepper Motors used as Actuators - Electronics Tutorials
- For learning by getting your hands dirty, I would recommend to start with the very popular cheapy US$1 L298N DC Motor Driver Module. L298N can actually drive two DC motors and also one stepper motors, though there are better drivers for stepper motors, eg. A4988 Micro Stepping Stepper Motor Driver Module.
- For steer-by-wire motors, you might need big current drivers. I would recommend this also cheapy BTS2760/BTN7971B max 40A+ DC motor driver.
- I don't recommend to use or start with stepping motors, because they are too weak to drive cars, though they are very precise to do 3-D printing applications.
References
-
1\$\begingroup\$ The question is, "what is better for precision a stepper motor or a DC Motor to control the wheels of the car?" I don't think you have answered this. \$\endgroup\$ Commented Apr 15, 2021 at 18:34