Research and Application of Adaptive Fuzzy PID Controller of Tobacco First Baking Process Based on ARM MCU
- Author
- ZhangXinQiang
- Advisor
- ZhangYunSheng
- School
- Kunming University of Science and Technology
- Major
- Control Theory and Control Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 159
- Citations
- 0
Abstract
The tobacco drying for the first time is an important link in the process of the production of tobacco.The key to obtaining high quality of the tobacco during this process is to control the temperature and the humidity so well as to let them change according to the three-phase-drying parameters chart.Firstly,the three-phase-drying process of tobacco is briefly illustrated;and we can get the curve of the dry temperature which is the temperature of the air in the tobacco-flue-cured room,and also the curve of the wet temperature which is the temperature taken from inside the soaked cloth put in the same room;the two curves can indicate the actual changing of the temperature and the humidity parameters during the three-phase-drying process.The temperature and humidity is to be measured with electrical digital sensors instead of with wet bulb and dry bulb,so as to improve the three-phasedrying process in the actual application.To solve the problems caused by large time-variation,big delay,and non-linear property in the measurement and control of the temprature and humidity in the three-phasedrying process,an adaptive fuzzy PID controller has been designed.The method for the controlling of switch quantity output with a PID controller is explained in detail.The parameters of the fuzzy PID controller should be adjusted through and through;for this purpose,they will be stored in the EEPROM which make it possible for the fuzzy PID controller to be optimised by updating the control rule table in the EEPROM containing the parameters of the fuzzy PID controller without having to recoding the program.The approach to modifying,storing,and retrieving the prescription parameters of the process of tobacco drying should be convenient and friendly to the users.For this particular purpose,by analyzing the process curve of three-phase-drying,a new data structure based on array stored in the EEPROM has been designed;the software and hardware for the communication between the ARM CPU and the EEPROM throughⅡC Bus has been designed and illustrated in this paper.The measurement of temperature and humidity is of vital importance in the implementation of the system because of its immediate influence upon the accuracy and efficiency of the PID control;from this consideration,an electrical digital sensor SHT11, which is accurate,free of demarcation and friendly to users,has been used to measure the temperature and the humidity,using GPIO to simulate Data-pins and Clock-pins to realize the communication between SHT11 and the ARM CPU by Sensibus protocol.ARM mcu STR710F-Z2T6 has been used in the implementation of the PID controlling system for which the expand of the RAM/Flash storage,the development of the LCD screen display,the designing of the more flexible keyboard,and the drive circuits of the controlling executor,have been achieved and depicted in detail with the related circuit diagrams.Finally,the explanation of the consequential information given on the system running status,the process of writing the project binary image file into Flash memory has also been illustrated.
Table of contents
Abstract 4-5
Abstract 5-11
first chapter 11-14
the
grilled 1.1 tobacco leaves research trends at home and abroad and the status quo 11-12
1.2 research content and system realization 12-14
The
tobacco leaves baked in a three-stage process and control improvements 14-22
2.1 three-step baking process Introduction 14-18
2.1.1 yellowing stage 14-16
the
the 2.1.2 fixed color stage 16-18
2.1.3 dry tendons stage 18
2.2 three-step baking process control improvements 18-22
2.2.1 humidity measurement 19-20
2.2.2 baking process applications improved 20-22
Chapter embedded systems and ARM Overview and development platform Introduction 22-34
3.1 embedded systems defined 22
3.2 embedded system processor classification 22-24
3.3 embedded microprocessor selection 24-27
3.4 system development platform 27-34
3.4.1 hardware development platform Introduction 27-29
3.4.2 Software Development Platform Introduction 29-34
The
adaptive fuzzy PID algorithm to achieve 34-44
4.1 Fuzzy PID algorithm application problem and solution 35-36
4.2 Fuzzy PID controller design 36-40
4.2.1 fuzzy system input and output 37-39
4.2.2 fuzzy system rule base 39-40
4.2.3 fuzzy inference and defuzzification 40
4.3 Fuzzy PID controller implemented on the ARM 40-44
4.3.1 generated off-line control table 41-42
online on 4.3.2 ARM microcontrollers achieve 42-44
system overall build 44-51
5.1 system hardware functional modules 44-50
5.1.1 Memory Function 44-45
5.1.2 Display Function 45-46
5.1.3 sound alarm 46
5.1.4 operating buttons 46-47
5.1.5 EEPROM parameters are saved 47
5.1.6 Temperature and humidity detection 47-48
5.1.7 actuator drive 48-49
5.1.8 system debug and upgrade interface 49-50
5.2 system software functional modules 50-51
Chapter temperature and humidity detection function to achieve 51-64
6.1 SHT11 digital temperature and humidity sensor Features 51-52
6.2 SHT11 sensor interface description connected 52-53
6.3 SHT11 sensor temperature and humidity measurements achieve 53-60
6.3.1 SHT11 sensor measurements start transmission 53-56
6.3.2 SHT11 sensor measurement command 56-58
the
the 6.3.3 SHT11 response measured data read 58-60
6.4 SHT11 measurement data conversion, physical quantities 60-62
6.5 SHT11 sensor used 62-64
Chapter VII of tobacco leaves roasted process recipe save and read 64-78
7.1 non-volatile storage device, select 64-65
7.2 process recipe saved with the method of reading 65-67
7.3 24 the series EEPROM About hardware connection 67-69
7.4 Parameters save and read IIC interface to achieve 69-78
7.4.1 the IIC bus signal type 69-70
7.4.2 IIC transmission of data format and reader 70-71
7.4.3 software parameters are saved to read to achieve 71-78
Chapter VIII system debugging and running 78-86
8.1 hardware connection and Engineering write 78-80
8.2 system running and operation of the process of using 80-86
Chapter Conclusion 86-88
Acknowledgements 88-89
the
References 89-92
Appendix A (system hardware circuit schematic) 92-93
Appendix B (System Software source code) 93-122
1. primary function file Man.c 93-96
2. alarm function file mypwm_lib.c 96-97
3. the Fuzzy PID function file myflC_lib.c 97-101
The
4.IIC read and write EEPROM function file my_i2c_lib.c 101-104
the
5.SHT11 temperature and humidity measurements the function file my_sht_lib.c 104-108
6. man-machine interface the function file myui_lib.c 108-122
Appendix C source code (Java fuzzy reasoning) 122-127
Appendix D (graduate student published papers and to participate in the project) 127
the
graduate during the papers 127
the
graduate attended during project 127
Related dissertations
- Research and Realization of Energy-saving Control in VWV Air-conditioning System
- High-speed CNC Honing Machine’s Reciprocating Motion Adaptive Control Research
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Remote Monitor System for Oil Wells Working Condition Based on GPRS
- Engine Room Monitoring System Based on the Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Automatic Monitoring System for Preparation and Pumping of the Filling Paste
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Design of Remote Monitoring System Based on ARM
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Study on Embedded Data Acquisition System Application
- The Study of Physiological Parameters Monitoring and Remote Wireless Alarming System Based on ARM
- Study on ARM-based Embedded Monitoring and Measuring System of Refrigerated Vehicle for Fresh-keeping of Fruit and Vegetable
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
- Design of Remote Strain Measurement System Based on FGPA
- Industrial Field Data Acquisition System Design Based on CAN Bus
- The Automatic Measurement System for Plumb-line