|
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!
|