PID Controller
A PID is a method that comes from control engineering, the controller continuously determines the deviation between the current value of a process to be controlled and a specified setpoint. On the basis of this deviation three components are calculated and added up, the proportional part to the deviation
In Listing a simple control loop is implemented, this controls the output voltage of the boost converter constantly to
Listing simple pid loop
device.pid.tunings = (1.82, 60.45, 0)
device.pid.output_limits = (0, 70)
device.pid.setpoint = 25.
while(True):
device.getfilteredADC()
device.calcADCData()
duty = device.pid(device.voltage[1])
device.setDutyCycle(duty)
The Ziegler-Nichols method of stability limit is a common method of adjusting PID controllers based on determining the critical gain and period at which the system is just at the limit of stability. In this process, the gain
In this project, a PI controller is initially chosen because the control deviation should be kept to a minimum and overshoot is undesirable. The parameters
Table PID parameters
Type | |||
---|---|---|---|
PI | - | ||
classic PID | |||
no overshoot |