Current location - Education and Training Encyclopedia - Graduation thesis - Graduation thesis on chip design of single chip microcomputer
Graduation thesis on chip design of single chip microcomputer
The graduation thesis of MCU chip design is as follows:

All recorded data generated during locomotive operation must be downloaded and transmitted to the ground operation database. In this process, the operation data is generally transmitted through large-capacity data storage devices or other data transmission methods. This data transmission mode not only needs the help of large-capacity data storage equipment, but also goes through the manual storage stage of data transmission, which not only increases the transmission complexity of data information.

Moreover, data transmission and storage activities face certain operational risks, which is not conducive to the standardized management of data information. In this case of data information transmission, wireless communication between locomotive and ground information management center can be realized by using wireless communication technology, which can simplify the workflow of data management and improve the stability and reliability of data communication.

Hardware configuration:

1, digital to radio. RF-4 18 digital-to-digital radio is a new product in the field of wireless communication. On the premise of improving its own communication technology and quality, it can realize wireless communication with single chip microcomputer. In operation, it can provide four working modes: radio frequency test, two-way communication test, general data transmission and automatic frequency modulation data transmission. Switching between these four modes is simple and convenient.

While ensuring its high operability, it also provides a variety of data transmission forms to meet the communication needs between locomotives and ground data centers to the maximum extent.

2. Interface between digital radio and vehicle-mounted microcomputer. The application of wireless communication technology in single-chip microcomputer communication system, the biggest problem is the docking of digital radio and vehicle-mounted microcomputer. In the operation of single chip microcomputer communication system, it is necessary to ensure the accuracy of docking between digital radio and vehicle microcomputer and the stability of data transmission. The processor used in the on-board microcomputer system is DS80C320 processor developed by DALLAS Company.

It can provide two full-duplex serial ports, two data pointers and 13 running interrupt sources. Through the powerful data processing ability of the processor itself, the docking mode between the digital relay station and the on-board microcomputer can be selected according to different actual working conditions, so as to ensure the interface connection safety and data transmission safety of the on-board microcomputer system of the digital relay station in the docking activity to the maximum extent and reduce the burden of the single-chip microcomputer control interface.

At the same time, it improves the reliability of the single-chip communication system.

Communication software design:

1, communication format. The main form of the request signal sent by the on-board microcomputer to the ground communication system is ABBAIDSUMNFF, in which the data frame 1 * * contains 6 bytes, the first two bytes (ABBA) indicate the starting position, the third word (ID) indicates the code number of the train on-board microcomputer, the fourth byte (SUM) indicates the marked byte in the communication activity, and the fifth byte (N) indicates the starting point in this communication activity.

It is set to prevent information loss in communication, and the sixth byte (FF) indicates the end of communication content. The application of wireless communication technology in single chip microcomputer communication system, the biggest innovation of communication mode is to realize the digitalization of information communication. Single chip microcomputer communication system is widely used in our country, and there is a one-to-many operation mode in operation. Generally, there are hundreds of locomotives in a large locomotive depot. Because of the characteristics of railway transportation itself.

A large number of locomotives have uncertain return time. When the locomotive returns to the locomotive depot after completing the transportation task, it should first get in touch with the ground information system. This connection is that the locomotive sends a communication request first, and after receiving the response from the ground information system, it establishes a communication connection with the ground information system to complete the forwarding of data information.

When the on-board microcomputer fails to reply for three consecutive times or the reply information is incorrect, the vehicle management personnel should keep the data information of the train and contact the maintenance personnel to repair the on-board microcomputer. Program flow.