【正文】
he interrupt process of the cumulative number of times, if the cumulative number of times until they break 10, not to make any operation on the return, T2 to the next 100ms the time, T0 to count speed pulse, when the interrupt when the number reached 10 in interrupt the program, set bit , stop counting, and reading the count value T0 m1, corresponding in the main program to calculate the speed of operation, and converted to BCD code, send LED display. Time here with 16bit counter with autoloading feature of the T2 counter, when T2 overflow interrupt the same time, the counter counts automatically reload the initial value, continue to regularly. So it39。 rotation speed。 singlechip microputer The rotor speed control system of industry is one of the important parameters. Mechanical tachometer measuring speed, the rotor contact with the measured object must be to get the synchronous speed, through the internal gear shift instruction after the pointer speed with the size of the header. Use of mechanical tachometer measured object can interfere with movement, especially when measured rotor mass is very small, speed tables on the rotor pressure is not a small additional load, which affects the measurement accuracy. This paper describes a 8032 singlechip microputer as the core to the noncontact Digital Tachometer. 1 speed measuring principle The gun speedsensitive devices with infrared sensors, launched by the specialized infrared detection devices, while receiving reflected back from the measured object infrared, photoelectric conversion into electrical pulses through the signal, does not affect the rotation of the object. Tubes and pipes are fixed in the detection of acceptable shelf, through the lens focus, semitransparent film not only to the reflected infrared light fired rotating objects, they can rotate the object by the reflected infrared light through the translucent membrane back fired for management. Along the circumference of a rotating body even paste some reflection paper, it directed reflection infrared to receive the reflected acceptance of the infrared control. Photovoltaic conversion shown in Figure In the optical triode 3DU5C adding an appropriate bias, when 3DU5C by infrared irradiation, at the conduction state, A point for the low level, 3DG6 end, B point is high。s time is continuous, without interruption and response procedures for dealing with the impact of disruption. If not overloaded by features such as timers T0 or T1, then when the timer overflow, it should be in response to failure, reset the timer interrupt program, the initial value. Timer timing is intermittent, the impact of timing accuracy, thereby affecting measurement precision. Visible by 80