knowing position with dc motor / stepper mottor

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
pw444
Normal user
Posts: 155
Joined: 23 Apr 2019, 15:34
Location: rio de janeiro

knowing position with dc motor / stepper mottor

#1 Post by pw444 » 23 Mar 2021, 14:57

Hya,

any hint in how to calculate the position of a DC motor or stepper motor? beginning at 0 finnish at 100..

Thx for any advice.

BR

TD-er
Core team member
Posts: 5520
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: knowing position with dc motor / stepper mottor

#2 Post by TD-er » 23 Mar 2021, 18:19

For a DC motor it is next to impossible to determine its position, unless you use some sensor connected to the motor axis.
The rotational speed of a DC motor depends on voltage/current and torque needed to rotate.

A stepper motor can be "tracked" if you know the begin position and number of steps made. (assuming the stepper motor did not miss a step)

When controlling a curtain, you could position an end stop switch so you know where to 'reset' the position.
Or using a potentiometer coupled to the rotation of the driving motor.
You can either using some gears to reduce the number of rotations, or use a multi-turn potentiometer.
Then you know the absolute position and only need to calibrate the start/end position.

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests