The design and development of intelligent regulator based USB host
- Author
- SongJianHua
- Advisor
- ZhouYiLin
- School
- Qingdao University of Science and Technology
- Major
- Control Theory and Control Engineering
- Classification
- TP214 Regulator,control valve
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 139
- Citations
- 1
Abstract
Intelligent regulator design principles and methods are described in detail from a software and hardware perspective . The regulator has four input channels and 4 output channels , the first input channel and a second input channel temperature measurement , thermocouple and thermal resistance of various types of automatic switching , thermal resistance using a four-wire connection completely eliminate the effects of lead resistance . The third input channels and a fourth input channel either accept 4 ~ 20mA current signal and 5V voltage signal . 4 inputs and 4 outputs can be achieved both single-loop control and can be combined with each other to achieve the cascade control . Fault diagnosis and fault location of input and output channels , with automatic calibration function better overcome the device parameters change and temperature drift errors caused . Buck and Buck-Boost circuit DC / DC converter , and details of their basic principles , the selection of the device parameters , their AC small signal model . Detailed discussion of the design method for the formation of the closed-loop compensation network . USB host function , a regulator of read and write operations of a large-capacity equipment . And according to the FAT format , the initial establishment of the FAT system . It also has a RS485 communication interface . Rich full use of the color liquid crystal display technology, using a combination of the keyboard and menu design of man-machine interface , and the curve of each channel can be displayed in real time . Real - time clock , and the clock set and modify . Self-tuning technology , self-tuning PID parameters .
Table of contents
Chapter 1 Overview 8-14
the 1.1 intelligent instrument and its characteristics 8-9
1.2 basic requirements and trends of the smart meter 9-10 < br /> 1.3 based USB host smart regulator function description 10-11
1.4 based the USB Host intelligent regulator system framework 11-12
1.5 of this article content and structure 12-14
Chapter II hardware design 14-46
2.1 thermocouple and RTD channel universal input design 14-20
2.1. 1 RTD input channel design 14-18
2.1.1.1 constant current source design 15-16
2.1.1.2 extension of the constant current source 16
2.1.1.3 Thermal resistance four-wire circuit 16-18
2.1.2 thermocouple, input channel design 18-20
2.1.2.1 Thermocouple General amplifier circuit design 18-19
2.1.2.2 thermocouple cold junction compensation circuit design 19-20
2.1.3 Thermocouple RTD channel universal input design 20
2.2 4 ~ 20MA and 1 ~ 5V standard signal universal input circuit design 20-22
2.2.1 ~~ 5V to 1.5V conversion circuit design 20-21
2.2.2 4 ~ 20mA and 1 ~ 5V standard signal selection 21-22
2.3 4 ~ 20MA and 1 ~ 5V standard signal common output circuit design the 22-26 2.3.1 PWM DAC basic principles
22-23
2.3.2 to 5V standard signal output circuit design 23-25 ??
2.3.3 1 5V signal to 4 ~ 20mA signal circuit design 25-26
2.3.4 1 to 5V and the design of the switching circuit 4 ~ 20mA 26 <br / > the 2.4 Clock Module circuit design 26-27
2.5 LCD module design 27-30
2.5.1 external interface 28
2.5 .2 DIP switch settings 28
2.5.3 MSP43, with LCD module interface design 28-30
2.6 power design 30-44
2.6.1 Switching frequency select 30
2.6.2 barotropic conversion circuit design 30-40
2.6.2.1 Buck The basic principle of the conversion circuit 31
2.6.2.2 Buck steady-state analysis of the conversion circuit the 31-32
2.6.2.3 parameter selection 32-33
2.6.2.4 Buck conversion circuit AC signal analysis 33-35
2.6.2.5 control loop design 35-37
2.6.2.6 snubber circuit design 37-38
2.6.2.7 24V to 3.3V design examples 38-40
2.6.3 the negative pressure Transform circuit design 40-44
2.6.3.1 Buck-Boost conversion circuit basic principle 41-42
2.6.3.2 parameter selection 42-43
2.6.3.3 AC small signal analysis 43-44
2.7 MSP43OF149 peripheral, circuit design 44-46
Chapter III USB host design 46-70
3.1 USB physical interface 46-47
3.1. the 1 electrical characteristics the 46-47
3.2 power 47-48
3.2.1 Power Distribution 47
3.2.2 Power Management 47-48
3.3 USB bus protocol the 48-52 3.3.1 domain of type
the 3.3.2 package type 48-49
49 -50
3.3.3 bus transfer format the 50-52
3.4 USB device descriptor and standard equipment requests 52-55
3.4.1 Device Description Fu 53
the 3.4.2 configuration description breaks 53
3.4.3 interface descriptor 53
3.4.4 endpoint descriptor 53
3.4.5 string descriptor the 3.4.6 standard equipment requests 53
the 53-55 3.5 USB host protocol
55-58 < br /> 3.5.1 USB host system structure 55-56
3.5.2 host controller functionality 56-57
3.5.3 host controller drive (HCD) 57
3.5.4 USB core driver (USBD) 57-58
3.6 USB MASS STORAGE class agreement 58-62
3.6.1 USB Mass Storage class subclass code 58-59
3.6.2 USB Mass Storage Class Transfer Protocol 59
3.6.3 Single Batch Bulk-Only Transport Protocol 59-62
3.6.3.1 Bulk-Only Mass Storage Reset 59-60
3.6.3.2 get the most logical unit number 60
3.6.3.3 command, data state of the transmission process the 60-61
3.6.3.4 UFI of command protocol 61-62
3.7 USB host hardware and software design 62-70
3.7.1 USB host hardware design 62-63
3.7.2 software design 63-65
3.7.2.1 USB host software process 63 <br / the> 3.7.2.2 USB host system implementations 63-65
3.7.3 USB host programming foundation 65-70
Chapter software design 70 - 88
4.1 control procedures designed 70
4.2 input channel configuration the configuration 70-71
4.3 output channels 71-72 <br / > 4.4 time settings are found; 72-75
4.4.1 to 2C bus basic principle 73
4.4.2 bus idle state 73
4.4.3 Start and stop signal the 73-74 4.4.4 data bit transmission
74
4.4.5 answering signal 74
4.4. 6 restart signal 74-75
the 4.4.7 time the setting 75
4.5 fault diagnosis 75-76
4.5.1 RAM self-test 75
4.5.2 ROM self-test 75-76
4.5.3 Input channel self-test 76
4.5.4 Output the channel self 76
4.5.5 keyboard diagnostic 76
4.6 cycle setting 76-77
4.7 PID algorithm 77-86
4.7.1 PID self-tuning algorithm 77-78
4.7.2 PID-line tuning algorithm 78-85
4.7.2.1 controller structure nbsp 79
4.7.2.2 time variable t fuzzy ; on 79-80
4.7.2.3 K_p, controller 80-82
4.7.2.4 T_i control, is 82-84
4.7.2.5 Td, controller 84-85
4.7.3 PID algorithm to achieve the 85-86
4.8 Cascade control 86-87
4.9 the hand automatically switches 87
4.10 LCD 87-88
Conclusion 88-90 <br / > References 90-92
Appendix 92-96
Acknowledgements 96-97
pursue a degree during the academic 97
Related dissertations
- Development and Application about Data Management System of PVC Glove Production Line
- Design and Temperature Control of Adsorber in the Regeneartion Heating Stage of the Purifier
- Application Research on Industrial Ethernet Based on EtherNet/Ip for the Production of Refined KCL
- Research of Self-adjusting Fuzzy PID for Automatic Analyzer Sampling Institution
- Study on Automatic Leveling Control System of Vehicle Platform Based on Neural Network
- Research on Dedicared Multi-axis Motion Controler and the Control Method Built in
- Tracking Control System Design for Light Universal Optical-Electronic Tracking Platform
- Concrete Batching Plant Control System Design
- AC Speed System Based on Bio-inspired Optimization
- The Research of Intelligent Control System for DMF Recovery
- Research and Application on Intelligent Temperature Control System of Furnace Based on ePLC
- An unmanned vehicle path tracking control
- Research on the Digital Controller and PID Parameter Tuning of the Proportional Valve
- Coordinating Control of the Dual-stage Actuator System
- Design on Control System of Five Degrees of Freedom Prostate Biopsy Robot
- Algorithm Research on Trajectory Tracking and Route Planning Control of Wheeled Root
- Research and implementation of data recorder SD card and embedded USB host based
- Shipboard photoelectric platform servo stabilization methods of design and Realization
- Research and Application on ANPID Control Algorithm for Electro-Hydraulic Servo System
- Research on Approach of Measurement and Prediction of Performance Interference between Virtual Machines and Its Application