Design and Implementation of intelligent analysis instrument serial communication software
- Author
- LiLing
- Advisor
- GongQianRang
- School
- Northwestern University
- Major
- Computer System Architecture
- Classification
- TP216.3 Automatic analyzer
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 220
- Citations
- 6
Abstract
Due to various reasons , the current domestic manufacturers to do the intelligent analysis instrument is not a lot, can realize intelligent analysis of inter-unit communication more rarely . This topic is from the \the value of its technical indicators meet or exceed the international standard requirements . Intelligent instruments generally have a communication interface , these interfaces can be an integral measuring system and other instruments or a PC to complete complex testing tasks . For smart inside the instrument with a single-chip control , and communication between intelligent instruments can rarely this case , this design is inside the instrument through I2C ( Inter - Integrated Circuit ) bus with different microcontroller control multiple communication between modules in between instruments or instruments with a PC with RS232/RS485 bus to achieve its communication function . Microcontroller is used in the design , Silicon Labs has introduced high-speed microcontroller C8051F series , it is compatible with the 80C51 series microcontroller instruction , but adds a lot of resources than the latter , which provides a great convenience for the development of embedded systems . The thesis is divided into four parts . The first part introduces the research background and theoretical knowledge ; second section describes the overall design of the entire system and RS232/RS485 bus communication design , and also introduced some of the basic contents of the I2C bus ; third part focuses on C8051F MCU through I2C bus communication design ; last part is taken to improve the reliability of the system hardware and software anti-jamming technology and experimental results .
Table of contents
Summary 3-4
Abstract 4-9
chapter the introduction 9-13
1.1 Overview 9-10
1.2 This paper studies the background 10-13
Chapter II Introduction to intelligent instruments 13-17
2.1 smart instrument Overview 13
2.2 smart the structure and characteristics of the instrument; nbsp 13-15
the 2.2.1 Intelligent Instruments structures 13-14
2.2.2 intelligent instrument characteristics 14-15
2.3 the development trend of intelligent instruments 15-16
2.4 Chapter Summary
Chapter 16-17 overall structural design 17-43 <br / > 3.1 system overall 17
3.2 RS232/485 bus Introduction
3.3 host computer program parameters set 17-19 19-22
3.3. 1 MSComm control 19-21
3.3.2 Note 21-22
3.4 RS232/485 bus network connections are found; 22-24
3.4 between .1 PC and Single-chip level conversion 22
3.4.2 RS232/485 converter 22-23
3.4.3 RS485 bus network connections must be noted matters 23-24
3.5 communication protocol design be introduced on
3.5.1 UARTO, 24-34 24-28
3.5.2 communication protocol design the 28-32 RS485 bus,
3.5.3 multi-host communication mode introduced the 32-34
3.6 I ~~ 2C bus Introduction 34-36
3.6.1 I ~ 2C bus development history 34-36
3.6.2 the I ~~ 2C bus terminology definitions 36
3.7 I to 2C bus data transfer 36-40
3.7.1 to 2C bus bit transmission 36-37
3.7.2 transmit data byte format 37-39
3.7.3 seven addressing modes the 39-40
3.8 arbitration mechanism and clock synchronization mechanism 40-41
the 3.8.1 Host arbitration mechanism 40-41
3.8.2 clock synchronization mechanism 41
3.9 Chapter Summary 41-43
Chapter C8051F MCU communication to achieve the design 43-71
4.1 C8051F series microcontroller and its main features the 43-44
4.1.1 microcontroller core 43-44
4.1.2-chip memory 44
4.1.3 analog peripherals the 4.1.4 digital peripherals 44
44
4.2 C8051F series microcontroller the SMBus bus characteristics 44-47 < br /> 4.2.1 SMBus transmission the 45-46
4.2.2 SMBus bus handshake signals 46-47
4.2.3 SMBus bus arbitration 47
4.2.4 SMBus hardware task 47
the 4.3 SMBus special function registers 47-52
4.3.1 the SMBus configuration register SMBOCF 47 -49
4.3.2 SMBus the control register SMBOCN 49-50
4.3.3 SMBus status register SMBOSTA 50-51
4.3.4 SMBus data register SMBODAT 51-52
4.3.5 SMBus address register SMBOADR 52
4.4 Typical transmission 52-55
4.4.1 master sent from the device Receive 52-54
the 4.4.2 master device receives from the device to send 54-55
4.5 communication protocol design 55-59
4.5 .1 transmission mode 55
4.5.2 frame format 55-56
4.5.3 communication 56
4.5.4 protocol configuration command nbsp 56
4.5.5 data format; 56-59
4.6 I ~ 2C communication software program designed 59-66
4.6.1 C8051F350 the SMBus interrupt service routine 59-63
4.6.2 C8051F320, C8051F340 SMBus interrupt service routine the 63-66
4.7 software is designed to note points 66-68
the 4.7.1 software requirements analysis of the importance of 66
4.7.2 fully consider software portability 66-67
4.7.3 on the interface programming 67
4.7.4 code to glance the 67-68
4.8 hardware design should pay attention to a few points 68-69
4.8 .1 open output 68
4.8.2 resistance to determine 68
4.8.3 software programming interface 68-69
4.9 Chapter Summary 69-71
Chapter reliability design 71-73
5.1 hardware anti-jamming design 71-72
5.2 software anti-jamming of design 72
5.3 Chapter Summary to debug and results of 72-73
Chapter the 73-83 6.1 debug environment
73 < br /> 6.2 debugging steps 73-76
6.3 debugging process and results 76-81
6.4 Chapter Summary 81-83 the
summarizes and Prospects 83-85
Reference 85-89
Appendix 89-93
pursuing the master's degree during the research results achieved 93 - 95
Acknowledgements 95-96
Related dissertations
- The research of Chongqing city brand communication from the Semiotic Perspective
- Festival Carnival Research in the Perspective of Humanism
- The LabVIEW-based Design of Filling Stations Monitoring System
- China’s Maritime Law Enforcement Command and Communication System Design
- A Research on Communication in Mathematics Classroom in Secondary Schools in Machakos County, Kenya
- The Communication Research of Interactive Online Ads in China
- The Study of the Service Recovery’s Value Based on Customer’s Needs in Desulfurization Sector
- Study on environmental news reports from the perspective of Communication Science
- Research in Image Communication of Nanning
- Design and implementation of pipeline inspection robot control system
- The Multi-Agent Analog Combat System Based on Dynamic Role
- Historical Story:from Listening, Understanding, to Empathizing and Communicating
- The view of Dewey's philosophy in the new relationship between individualism and Its Inspiration to the child education
- The Life Experience of Immigrant Workers’ Children When They Communicate with Their Teachers
- Construction and dissemination of government website image
- On Political Communication of Communist Party of China in Yanan Period
- Talk about the Pragmatique Strategy of Large Public Hospital How to Communicate with Media
- Research on Project Team Building of Company D’s Housing Resettlement Works
- Study of Communication Managerment in Project of Drug Registration System
- Military Vehicle Management System Based on GPRS Network and GPS Positioning Technology