C51 single-chip microcomputer-based light spot position offset detection and calibration device
By using a spot position offset detection and calibration device based on a C51 microcontroller, the spot position is automatically calibrated using a photosensitive sensor and a microcontroller. This solves the problem of insufficient accuracy in spot position detection in existing technologies and achieves high-precision spot calibration without affecting system performance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HEFEI INSTITUTE OF PHYSICAL SCIENCE CHINESE ACADEMY OF SCIENCES
- Filing Date
- 2023-04-03
- Publication Date
- 2026-06-09
Smart Images

Figure CN116295016B_ABST
Abstract
Claims
1. A spot position offset detection and calibration device based on a C51 microcontroller, characterized in that, Including: A photosensitive sensor module, an analog-to-digital conversion module, a single-chip microcomputer module, a stepper motor control module, an electrically controlled translation stage and an electrically controlled rotary stage module; among which, The photosensitive sensor module is electrically connected to the analog-to-digital conversion module and is used for collecting optical signals; The analog-to-digital conversion module is electrically connected to the single-chip microcomputer module and is used for converting the collected optical signals into digital electrical signals; The single-chip microcomputer module is electrically connected to the stepper motor control module and is used for receiving digital electrical signals and outputting instructions; The stepper motor control module is electrically connected to the electrically controlled translation stage and the electrically controlled rotary stage module and is used for receiving the instructions of the single-chip microcomputer module to control the electrically controlled translation stage and the electrically controlled rotary stage module; The electrically controlled translation stage and the electrically controlled rotary stage module are used for detecting and calibrating the offset of the spot position; The photosensitive sensor module uses a GL5516 photosensitive sensor; The single-chip microcomputer module uses a STC89C52 single-chip microcomputer; The stepper motor control module uses a SC100 stepper motor controller; The electrically controlled translation stage and the electrically controlled rotary stage module use an MTS103 type electrically controlled translation stage and an MRS102 type precision electrically controlled rotary stage; The photosensitive sensor module consists of a first photosensitive sensor, a second photosensitive sensor, a third photosensitive sensor and a fourth photosensitive sensor; the first photosensitive sensor and the second photosensitive sensor are in a group and are arranged in a mutually contacting manner on the combined electrically controlled rotary translation stage, and the output values are S1 and S2 respectively; the third photosensitive sensor and the fourth photosensitive sensor are in a group and are arranged in a mutually contacting manner on the combined electrically controlled rotary translation stage, and the output values are S3 and S4 respectively; the first photosensitive sensor and the third photosensitive sensor are arranged on the left side of a certain diameter of the combined electrically controlled rotary translation stage and are separated on both sides of the rotation center of the combined electrically controlled rotary translation stage; the second photosensitive sensor and the fourth photosensitive sensor are arranged on the right side of the diameter of the combined electrically controlled rotary translation stage and are separated on both sides of the rotation center of the combined electrically controlled rotary translation stage; The photosensitive sensor collects the light intensity values it contacts and outputs them to the analog-to-digital conversion module in the form of an analog voltage. The analog-to-digital conversion module outputs the quantized digital signal to the single-chip microcomputer module. The single-chip microcomputer module outputs instructions to the SC100 stepper motor controller through logical operations and judgments on the four-way light intensity signal values, and completes the control of the combined electrically controlled rotary translation stage; Among which, the specific content of the logical operations and judgments on the four-way light intensity signal values is: First, judge the magnitude relationship between S1 and S2, and then judge the magnitude relationship between S1 and S3 or the magnitude relationship between S2 and S4; If S1 > S2, ① when S1 = S3 or S2 = S4, control the combined electrically controlled rotary translation stage to translate left, ② when S1 > S3 or S2 < S4, control the combined electrically controlled rotary translation stage to rotate left; If S1 < S2, ① when S2 = S4 or S1 = S3, control the combined electrically controlled rotary translation stage to translate right, ② when S2 > S4 or S1 < S3, control the combined electrically controlled rotary translation stage to rotate right; If S1 = S2, ① when S3 = S4, control the combined electric control rotary and translation stage to stop moving; ② when S4 > S3, it is an extreme right offset, control the combined electric control rotary and translation stage to rotate to the right; ③ when S4 < S3, it is an extreme left offset, control the combined electric control rotary and translation stage to rotate to the left. For the latter two extreme offset situations, manually calibrate it and then perform automatic calibration to eliminate the offset amount.