PID classic program
2017-11-19
0 0 0
no vote
Other
Earn points
Compared with the typical PID motor processing program, when using the single chip microcomputer as the control CPU, please make a little simplification. The specific PID parameters must be determined by the specific object through experiments. Due to the limitation of processing speed and ram resources of single chip microcomputer, floating-point operation is generally not adopted, and all parameters are used as integers, and then divided by the n-th power data of a 2 (equivalent to shift) to perform similar fixed-point number operation, which can greatly improve the operation speed. According to the different requirements of control accuracy, when the accuracy requirements are very high, attention should be paid to the "surplus" caused by shift The balance compensation should be done well. This program is only the basic architecture of the commonly used PID algorithm, does not include the input and output processing part.
Related Source Codes
Android AOA Android Open Accessory Development Usi
0
0
no vote
Golang AOA Android Open Accessory HID Control
0
0
no vote
PClite
0
0
no vote
GMSK Linear Receiver
0
0
no vote
The golden version of AFT that has been passed dow
0
0
no vote
No comment