ON 80C196KC dance robot control system
- Author
- DaiGengXin
- Advisor
- MaXiZuo
- School
- Northwestern Polytechnical University
- Major
- Mechanical and Electronic Engineering
- Classification
- TP242 Robot
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 492
- Citations
- 1
- Single chip microcomputer
- RS-232 serial communication
- Inter I~2C Bus
- High Speed Output
- Time-sharing hanlding
Abstract
With the development of economy and society, as a high profermance controller, Single Chip Microcomputer (SCM), has a wide range of the application in many fields. Swimming with the tide, a dance robot control system, whose core is 80C196KC (a 16-bit high profermance SCM), is developed to correspond with the robot’s structure design in the article.The system puts forward the idea of Time-sharing Handling, and adopts the serial communication technology of RS-232and I2C, and realizes the designing, storing and executing of the dance robot’s actions. Considering the flexible and readabile, actions are edited in windows interface developed by the application software of VC++ on PC; moreover, action data can be transmitted between the PC and the SCM by RS-232. In order to saving the Input/Output (I/O) ports, actions are stored in AT24C16 with the I2C ports, which is electrically erasable programmable read only memory (E2PROM). Dancing is accomplished by driving the control actuators and D.C. motors. For the quantity of control actuators, the idea of time-sharing hanlding is introduced. D.C. motors are controlled by the control signal from the high-speed output (HSO) of 80c 196kc.From the point of SCM applicantion, the whole system adopts not only RS-232 serial communicaton ^ I2C serial communicaton, High Speed Output(HSO) mentioned above, but also timer interrupt, external interrupt. Timer interrupt generates control singal of control actuators and D.C. motors. External interrupt makes the dancing robot act in the correct order, when the robot comes into collision with the edge of the stage. Both of interrupt make the control system more perfected.
Table of contents
The first chapter 7-12
1.1 Background 7-11
1.1.1 microcontroller development history 7-8
1.1.2 MCU features 8
1.1.3 microcontroller applications 8-10
1.1.4 SCM application system structure 10-11
1.2 thesis and each chapter arrangements 11-12
Chapter 80C196KC dancing robot controller application 12-22
2.1 80C196KC clock signal 12 -13
2.1.1 -chip oscillator 12-13
2.1.2 internal timing 13
2.2 80C196KC storage space 13-14
2.3 80C196KC interrupt system 14-18
2.3.1 external Interrupt EXINT and P0.7 (ACH7) 14-15
2.3.2 serial Port interrupt 15-17
2.3.3 timer overflow interrupt 17-18
2.4 HSO HSO 18-20
2.4.1 HSOCAM array 18-20
2.4.2 HSO removal and locking 20
2.4.3 generated in the dance robot using HSO PWM 20
2.5 80C196KC reset circuit and reset state of each pin 20-22
Chapter dancing robots used in communication theory 22-34
3.1 for accessing I action ~ 2C bus 22-28
3.1.1 I ~ 2C electrical characteristics and structure 23-24
3.1.2 I ~ 2C bus data transfer 24-26
3.1.3 AT24C series serial E ~ 2PROM Profile 26-28
3.2 RS-232 serial communication 28-34
3.2.1 serial data transfer some basic terminology and basic concepts 28-32
3.2.2 RS-232 standard interface 32-34
Chapter servos and DC motors structure and control principle 34-39
4.1 steering gear and control principle 34-36
4.1.1 servo internal structure 34-35
4.1.2 servo works 35
4.1.3 steering control 35-36
4.1.4 servo velocity 36 <br / > 4.2 DC servo drive and control 36-39
4.2.1 DC servo motor introduce 36-38
4.2.2 DC servo motor PWM control 38 -39
Chapter dancing robot control system hardware design 39-49
5.1 power Module 40-41
5.2 80C196KCCPU external program memory circuit 41-42
5.3 serial communication module 42-44
5.4 AT24C16 recommended storage module 44
5.5 servo drive module 44 -46
5.6 DC motor drive and edge control module 46-49
Chapter dancing robot control system software design 49-66
6.1 robot Dance action editing interface design and engineering can explain 50-54
6.2 80C196KC MCU and PC serial communication 54-57
6.3 AT24C16 single -chip based on I ~ 2C with communication 57-61
6.4 driver steering gear 61-62
6.5 DC motor drivers, and edge control procedures 62-64 <br / > 6.6 dancing robot hardware and software anti 64-66
Chapter dancing robot control system analysis and summary 66-70
Chapter VIII Conclusion 70-72
8.1 thesis work summarizes 70-71
8.2 follow-up direction 71-72
Appendix dancing robot control system overall circuit 72 -73
bibliography 73-75
Thanks 75-76
Related dissertations
- The Design and Implementation of Automatic Nail System for Greenhouses Heat Preservation Quilt
- The Development of the Digital Eddy Current Displacement Sensor
- Design on Motorcycle Speed Ranging Devices
- The Design and Simulation of Automatic Painting Apparatus Based on Microprocessor
- Design and Research of Smart Home System Based on GSM and ZigBee Technology
- Design and Implementation of Leakage Protection Special Integrated Circuit Test System
- The System of the Field Training Injury and Heat Cooling
- Aerator Remote Control Research Based on GSM in Fishponds
- Dc Micro-current Standard Source Design
- The Design of Engine Production Line Information Collection and Management System
- Research on New Style Crack Sensing System Based on Proton Exchange Membrane Fuel Cell
- The Development of the Measuring Instrument of the Hydraulic Generator's Rotating Speed and Powerangle
- Intelligent Transportation System Based on Fuzzy Control Technology
- Development of Eddy Current Testing System for Detecting Cemented Carbide Bars' Defects
- Research of Embedded Computer Multichannel and High-precision Force Test System
- The Design of Intelligent Laser Particle Size Analyzer
- Design value of electronic vehicle based on 51 single chip microcomputer
- The Research of Testing Efficiency of Oil Pump
- Design of Portable Multi-parameter Gas Detector for Mine
- Mining Carbon Monoxide Transmitter