EveryCircuit
Contact
Reviews
Home
BraydanD
modified 1 year ago

PID Controller for Servo Motor

4
0
354
04:38:28
Does not work on here as I dont believe you can connect a motor to a potentiometer on EveryCircuit like you can in real life. But the circuit design will work but will need some trial and error for the Kp, Ki and Kd gains for desired operation. The potentiometer connected to the non-inverting input on the left side is part of the differential amplifier in which the voltage from the SET pot and the volage from the motor shaft feedback pot are subtracted to produce an error voltage. This error voltage is then sent to the Proportional, Integral and Derivative amplifiers to produce respective amplified correction voltages that are summed together and sent to the servo amplifier. This correction voltage causes the motor to rotate in the direction that will cause the feedback pot voltage to match that of the SET pot's voltage. If it wasn't clear, you need to connect a potentiometer to the shaft of a DC motor to actually have feedback. Plus you also NEED to use a split supply voltage. If you really want to for your circuit you dont need to have the I and D controllers and just fine tune your P controller for your result, saves space and cost, an LM324 would work great for the 4 op amps above. NOTE, the two transistors driving the motor need to be high current power transistors with heatsinks, they get HOT!
published 1 year ago

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy