Configuring Dc motors with linear scales

More
13 Dec 2020 18:45 #191887 by AllTech
I'm planning to build a 3 axis CNC with a linear scale on each axis. The system will be closed-loop and I want to use simple dc motors to drive it. I want to know how to configure a setup like this. I'm new to Linux CNC world. Is it possible to do something like this with dc motors, or I must use stepper motors? Every suggestion is welcome. Thanks!

Please Log in or Create an account to join the conversation.

More
13 Dec 2020 19:25 #191893 by PCW
DC motors will work if you have some way to drive them
(a HBridge would be a simple way)

Please Log in or Create an account to join the conversation.

More
13 Dec 2020 19:29 #191894 by AllTech
Thanks for this answer, but the biggest question I have is how to control the dc motors according to the reading of the linear scales? Also, is it possible to use the H bridge to drive the motors both ways (CW and CCW) or I will need another chip (mosfet + relay) to invert the rotation direction?
Thanks in advance

Please Log in or Create an account to join the conversation.

More
13 Dec 2020 19:37 - 13 Dec 2020 19:39 #191896 by PCW
Typically a H-Bridge takes two signals: PWM and DIR
The DIR signal determines the direction of current flow
in the motor and the PWM signal determines the average motor
voltage.

The combination of signals allows setting both the speed and
direction of the motor. In combination with encoder position
feedback, you can have accurate position control.
Last edit: 13 Dec 2020 19:39 by PCW.

Please Log in or Create an account to join the conversation.

More
13 Dec 2020 19:57 #191899 by AllTech
Thanks, this is really clear for the motor controlling part. The next step will be to see how to read and use encoder feedback.

Please Log in or Create an account to join the conversation.

Time to create page: 0.216 seconds
Powered by Kunena Forum