Page 1 of 1

I need help of PID Control

Posted: Tue Jul 09, 2024 7:10 am
by seokgi
Hello?
I have a question about PID Control.

I have two motors. The two motors have different speeds and gear ratios.

So I want to make the speeds of the two motors the same.
Motor A accelerates and decelerates. However, the speed change is not large.
I want Motor B to drive at the same speed according to the speed change of Motor A.
Motor B is a BLDC motor. It can be controlled by duty ratio.

I can read the speed value (Count Value) of Motor A and the speed value (Count Value) of Motor B correctly.

The count value of Motor B is twice that of Motor A.
I want to control the duty ratio of Motor B through PID control by referencing each count value.

Is it possible?

Please help me.

Thank you.

Re: I need help of PID Control

Posted: Tue Jul 09, 2024 8:16 am
by medelec35
Hello this will be a good starting point for you as there are PID examples.
This is a link to Process Control Curriculum, which is all about PID