Axis Parts Temperature Measurement System Based on 80C552 Single Chip Machine

Publisher:ByteChaserLatest update time:2012-01-06 Keywords:80C552 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
1. Introduction

Parts are deformed due to various heat effects during the processing, which leads to the destruction of the original processing accuracy or direct processing errors. For precision processing, the influence of thermal deformation is particularly significant, and the processing errors caused by this account for more than 40% of the total processing errors. This paper presents a system for accurately measuring the temperature of shaft parts. The system is controlled by the single-chip microcomputer 80C552, which is simple, reliable and accurate. At the same time, it can calculate the thermal deformation of the shaft at different temperatures.

2. Sensor composition and interface circuit

1. Sensor composition
The sensor uses a Pt temperature sensor, as shown in Figure 1.

Figure 1 Pt temperature sensor

This sensor is a coil wound by a platinum wire with a diameter of 30 microns, sandwiched between two layers of polyimide foil, and connected to the outside world through two nickel strips. It is only 0.3mm thick and is easy to use for temperature measurement of curved surfaces. It has very little heat loss and a large measurement area, achieving rapid response. In actual use, it is pasted on the inside of the arc-shaped magnet. When measuring the temperature, the magnet can be adsorbed on the shaft for use, which is convenient and quick. As shown in Figure 2 below:

Figure 2 Temperature sensor composition of measuring axis


2. Interface circuit
The signal sent from the temperature sensor enters the amplifier. The amplifier uses AD521 integrated measurement amplifier. This amplifier has the characteristics of high input impedance, low offset current, and high common mode rejection ratio. Its gain can be adjusted in the range of 0.1-1000. The gain adjustment does not require precise external resistors, and various gain parameters have been internally compensated. It can well suppress common mode interference and power supply voltage noise caused by power frequency, static electricity and electromagnetic coupling. Its amplification circuit principle is shown in Figure 3.

Figure 3 Schematic diagram of signal amplification circuit
Among them, pins 4 and 6 are external zero adjustment terminals, which can be connected to 10KΩ resistors and negative power supply zero adjustment. Pins 14 and 2 are external gain resistors, and pins 10 and 13 are external feedback resistors. The system has a zero error compensation function. When the single-chip microcomputer is working, the input terminal is grounded first. The non-zero data sent to the single-chip microcomputer through the measurement amplifier circuit, A/D and interface circuit is the zero error. And save the acquired zero-point error, and then take the difference between each collected data and the zero-point error as the effective sampling value to eliminate the zero-point error of the system.

3. System composition and measurement principle

The electrical principle of the system hardware is shown in Figure 4

Figure 4 System composition schematic diagram
The hardware part of the system is mainly composed of the front-end input circuit, the human-machine interface circuit, the CPU and the peripheral circuit. The required components are: the CPU uses PHILIPS 80C552, the EPROM is 2764, the sensor uses a PT temperature sensor (accuracy level is 0.5, the measurement range is -80℃--+180℃), AD521 measurement amplifier, 4 digital tubes, and a 4x4 keyboard. The

CPU uses PHLIPS80C552, and its pin arrangement has two ways, one is a 68-pin PLCC package, and the other is an 80-pin QFP80 package. The chip with the first arrangement is used here. Since the 80C552 has a 10-bit A/D converter inside, the hardware circuit omits the A/D converter, and can also obtain a higher resolution.

The system program mainly includes two parts, one is the system monitoring and management program, and the other is the sampling and measurement program.
The single-chip microcomputer is first initialized, and the initial state of the program is set to the running state. Except for entering the running state just after power-on, the program must judge the state flag bit in the future, and enter the programming or running state according to the judgment result. In the running state, the parameters cannot be edited, and the parameters can only be read out. The input signal is detected and the temperature value is displayed. Through key operation, the expansion and contraction amount of the measured axis is displayed. In the state of editing parameters, the system does not measure. When entering the programming state, it is required to enter the programming allowed password. On the premise that the password is entered correctly, the parameters can be set or modified through key operation, and the parameters are stored in the CPU.

The keyboard is a 4X4 row and column matrix, which can be configured with 16 keys. The 4-digit LED display is used to display the temperature value, and the decimal point is placed before the last digit. In order to save the hardware resources and time resources of the single-chip microcomputer I/O port and simplify the circuit, the LED display adopts a dynamic display mode. The segment selection line occupies an 8-bit I/O port, namely the P4 port, and the bit selection line occupies a 4-bit I/O port, namely the P3.4-P3.7 port. Since the segment selection lines of each bit are connected in parallel, the output of the segment selection code is the same for each bit. If each LED is to display the display character corresponding to the current bit, a scanning display method must be used, that is, at a certain moment, only the bit selection line of a certain bit is in the selected state, and the bit selection lines of other bits are in the closed state. At the same time, the segment selection line outputs the font code of the corresponding bit to display the character. That is, at a certain moment, only the selected bit of the 4-bit LED displays the character, and the other 3 bits are off.

IV. Conclusion

The system design adopts a more advanced design scheme, which improves the degree of digitization, can replace thermocouples for temperature detection, and ensures the reliability and stability of system detection. The use of other types of sensors can realize temperature measurement of different parts, which has good prospects.
Keywords:80C552 Reference address:Axis Parts Temperature Measurement System Based on 80C552 Single Chip Machine

Previous article:Multi-chip synchronous reset circuit based on 80C552 single-chip microcomputer
Next article:Application of 51 single chip microcomputer in thyristor trigger circuit

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号