Font Size: a A A

Printer Paper Displacement Detection System Based On ADNS2080 Photoelectric Sensor

Posted on:2017-02-26Degree:MasterType:Thesis
Country:ChinaCandidate:C Z ZhangFull Text:PDF
GTID:2308330503992783Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
In this paper, the characteristic of the ADNS2080 photoelectric sensor is used to detect the characteristic of displacement,STM32F103VBT6 embedded chip as the core controller unit,by constructing the peripheral communication module and the printer step motor module, the architecture of the printer out of paper displacement detection system is realized. The system controls the step motor in the thermal printer by the central controller, so that the system can run at a constant speed, and realize the printer to print out the paper. Through the control of the center controller to the displacement detection unit, the paper realized the paper displacement of the printer, read the displacement data and processed it. The communication between slave computer and host computer is realized by using serial port technology. In the end, the paper shows that the printer output data is displayed on the interface of the host computer. The whole system realizes the detection function of the paper’s displacement.The main research contents are as follows:1. According to the requirement of printer paper displacement detection system, the paper presents a new method of "single chip microcomputer + displacement sensor". According to the overall scheme of hardware, technical indicators and basic functional requirements, the overall structure of the system design, the of module division, according to the technical scheme identified in the selection of the main devices, the design and implementation of the printer paper displacement detection system hardware circuit.2. The design of power circuits, this paper in the circuit joined the π and LC filter circuit, solves the low ripple is realized under the condition of big current. The motor driver interface circuit is designed to solve the problem of motor jitter and drive problem.Independent design of the displacement detection module circuit, solved by the laser positioning and displacement detection algorithm algorithm, to achieve a high precision displacement measurement.3. According to the system requirements, design and implementation of the lower computer software and PC software. In the lower computer software independently design the motor interrupt service program and displacement detection service program, the motors at constant speed and solves the center control unit and a displacement detection unit to match the timing problem, the displacement detection unit of data transmission to the central control unit. The design of communication module, through the serial port to solve the host computer and the next bit machine communication problems. The software of the upper computer is designed and implemented, which can visually display the displacement of the displacement and the displacement error in the upper computer software.4. Finally in the completion of the design of the whole system, I debug the whole system and test data, test for each index. The results show that the design scheme is feasible, the whole system of printer paper displacement detection. The results of displacement test data are analyzed to find out the three causes of the error and propose a solution. After improvement, the relative error is less than 5%. The test shows that the system function requirements and design parameters have been achieved.
Keywords/Search Tags:Printer out of paper displacement detection, ADNS2080 photoelectric sensor, STM32F103VB6
PDF Full Text Request
Related items