Open mvrk33 opened 5 months ago
Study the controlling of wheel
Controlling wheels for constant speed requires a closed-loop feedback system that continuously monitors the actual speed and adjusts the motor power to maintain the desired speed.
information on pid controller
PID system refers to a control system that uses a Proportional-Integral-Derivative controller to regulate a process or system. PID controllers are widely used in engineering, automation, and control systems to maintain desired conditions, such as temperature, speed, position, or other variables.
Here's a brief explanation of the three components of a PID controller:
Proportional (P):
The proportional term is responsible for the immediate response to the current error (the difference between the desired and actual values). The larger the error, the larger the proportional term output. This term alone can lead to oscillations around the setpoint. Integral (I):
The integral term considers the accumulation of past errors over time. It helps eliminate any steady-state error that might persist with only the proportional term. The integral term is essential for systems that may have a non-zero offset from the setpoint. Derivative (D):
The derivative term anticipates future trends based on the rate of change of the error. It helps to dampen the response and prevent overshooting or oscillations. The derivative term is particularly useful in situations where rapid changes occur. The combination of these three terms in a PID controller provides a balanced approach to control a system. The overall output of the PID controller is the sum of these three components:
TEST CODE OF PID CONTROLLER WHILE LOAD IS VARYING IT PRODUCES CONSTANT SPEED PROJECT1.txt