I need to create a project to control the position of a uniformly oscillating encoder shaft. I want to build a program where I will set up a position of 0 degrees. When I start the program, when I set it up, from the 0 degree position the axis will rotate to an angle of 10 degrees and then it will rotate in the opposite direction, passing through the point. 0 and up to -10 degrees and will repeat over and over again. I need stability when rotating CW and CCW at the same speed so I use a PID proportional-integral-differential controller. Can someone help me?
I moved your topic to an appropriate forum category @trilinhhust18022002.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.
Thanks in advance for your cooperation.
I guess that you mean a geared or stepper or servo motor that moves the shaft as desired?
Such a controller is already built into each servo motor, including a home position (0 degrees).
What is the oscillation frequency? What kind of acceleration curve, sinus or triangle or?
I mean is a geared a DC motor or encoder motor. For example Encoder LPD3806 400MB.
I mean is the encoder shaft moves back and forth by 1 position. However, I am using DC voltage for DC motor, and I don't know how to give signal sinusoid for H bridge circuit.
See the Related Topics below.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.