Kaiyi — 5.1.7 Functions

AH500 Module Manual c. PID parameters d. Additional remarks on PID control (1) If K p , K i , or K d is 0, the corresponding function is disabled. For example, if users only want to use proportional control, K i and K d are 0. (2) If users do not know how to adjust the parameters K p , K i , and K d under a controlled environment, they can use the automatic tuning function to set the parameters, and then finely adjust the parameters to the optimum values. When the automatic tuning function is enabled, the value in a register defined by the users is 1. After the automatic tuning of the parameters is complete, the value in the register becomes 0.

(3) If users want to set the parameters K p , K i , and K d by themselves, they need to set the K p by experience, and set the K i , and K d to 0. After the tuning of the K p is complete, the users can tune the K i , and K d in order. 5-12 PID parameter Description Performing/Not performing the PID algorithm Bit 0~bit 3: CH0~CH3 (Performing/Not performing the PID algorithm) Bit 8~bit 11: CH0~CH3 (Manual/Automatic tuning) Manual/Automatic tuning Heating/Cooling mode Bit 0~bit 3: CH0~CH3 Sampling time One-word decimal format Unit: 10 ms Automatic mode Automatic tuning Bit 0~bit 3: CH0~CH3 Refreshing the manual output values automatically Bit 0~bit 3:

CH0~CH3 Target value One-double word floating-point format Proportional gain One-double word floating-point format Integral gain One-double word floating-point format Derivative gain One-double word floating-point format Range within which the error values are count as 0 One-double word floating-point format When the setting value is 0, the function is not enabled. For example, if the setting value is 5, and the difference between the present value and the target value is in the range of -5 to 5, the output value is 0.

Maximum output value One-double word floating-point format Minimum output value One-double word floating-point format Reading the output value One-double word floating-point format Accumulated integral value One-double word floating-point format Manual mode Manual output value One-double word floating-point format