A Pulse Optical Power Detection System and Detection Method for Single-Chip Microcomputer
By designing a pulse optical power detection system for microcontrollers, using filter amplification, isolation and calculation components, the problem of inaccurate pulse optical power detection in the prior art is solved, and direct measurement and accurate detection of real-time power are achieved.
Patent Information
- Application Number
- CN202110167590.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-07
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2041-02-07
AI Technical Summary
The prior art cannot accurately measure pulsed optical power, resulting in low detection accuracy.
A pulse optical power detection system including a power supply module, a pulse trigger signal processing module, a pulse optical power signal processing module, a microcontroller main control module and a power display module is designed. Through the operational amplifier filtering and amplification circuit, photoelectric sensor, optocoupler converter and A/D conversion device, the filtering, amplification, isolation and calculation of the pulse optical signal is realized, and the real-time power of the pulsed light is directly measured.
It improves the accuracy of pulsed optical power detection, avoids errors caused by traditional measurement methods, realizes direct measurement of real-time power, and improves the accuracy of detection.
Smart Images

Figure CN112816066B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of detection systems, and particularly relates to a pulsed optical power detection system and a detection method for a single-chip microcomputer. Background Art
[0002] Due to power consumption and heat generation reasons, high-power lasers cannot operate continuously and generally operate in a pulsed mode. Due to the characteristics of pulsed operation, general optical power meters can only detect continuous laser power. Generally, only by measuring the average power of continuous pulses and then calculating the optical power of the laser during pulsed operation through the set duty cycle. However, due to errors in the rising edge, falling edge, and duty cycle of the laser operation, the final calculated optical power value will be interfered with, resulting in low accuracy of the finally calculated optical power.
[0003] Therefore, in view of the above technical problems, it is necessary to provide a pulsed optical power detection system and a detection method for a single-chip microcomputer. Summary of the Invention
[0004] The purpose of the present invention is to provide a pulsed optical power detection system and a detection method for a single-chip microcomputer to solve the problem that pulsed optical power cannot be accurately measured in the prior art.
[0005] To achieve the above purpose, the present invention provides the following technical solution: A pulsed optical power detection system for a single-chip microcomputer includes a power supply module and a pulsed trigger signal processing module, a pulsed optical power signal processing module, a single-chip microcomputer main control module, and a power display module that are electrically connected to the power supply module.
[0006] The pulsed optical power signal processing module includes an operational amplifier filter amplification circuit for filtering and amplifying the pulsed signal.
[0007] The pulsed trigger signal processing module is used to receive the trigger signal sent by the pulsed power supply of the pulsed light and transmit it to the single-chip microcomputer main control module for starting detection.
[0008] The single-chip microcomputer main control module is electrically connected to the pulsed optical power signal processing module, the pulsed trigger signal processing module, and the power display module, and is used to receive the signals transmitted by the pulsed optical power signal processing module and the pulsed trigger signal processing module, perform calculation and processing, and transmit the obtained optical power value of the pulsed light to the power display module.
[0009] The power display module is used to display the optical power value of the pulsed light detected by the single-chip microcomputer main control module.
[0010] As a preferred technical solution of the present invention, the pulsed optical power signal processing module further includes a photoelectric sensor for converting the pulsed optical signal into an electrical signal.
[0011] As a preferred technical solution of the present invention, the pulse trigger signal processing module is provided with an optocoupler converter for isolating the electromagnetic interference generated by the trigger signal emitted by the pulse power supply.
[0012] As a preferred technical solution of the present invention, the single-chip microcomputer main control module includes an A / D conversion device for processing and calculating the signal transmitted by the pulse optical power conversion module and converting it into real-time optical power.
[0013] As a preferred technical solution of the present invention, the power supply module includes a main power supply and an auxiliary power supply. The main power supply includes a main buck circuit for stabilizing the input voltage of a wide voltage, and the auxiliary power supply includes 5V and 3.3V stable buck chips and a 5V negative voltage conversion chip.
[0014] As a preferred technical solution of the present invention, the pulse optical power signal processing module further includes a relay for automatically adjusting and amplifying the processed pulse signal.
[0015] As a preferred technical solution of the present invention, the power display module includes a liquid crystal display device.
[0016] A method for detecting pulse optical power for a single-chip microcomputer, comprising:
[0017] S1, the pulse optical power signal processing module receives a pulse optical signal, and the pulse trigger signal receiving module receives a trigger signal simultaneously emitted by the pulse power supply of the pulse optical signal;
[0018] S2, the pulse optical power signal processing module processes the pulse optical signal and transmits it to the single-chip microcomputer main control module, and the pulse optical trigger signal receiving module simultaneously commands the single-chip microcomputer main control module to receive the signal transmitted by the pulse optical power signal processing module;
[0019] S3, the single-chip microcomputer main control module calculates and processes the pulse signal received from the pulse optical power signal processing module and transmits the processing result to the power display module;
[0020] S4, the power display module displays the calculation and processing result on the liquid crystal display device.
[0021] As a preferred technical solution of the present invention, in S3, the single-chip microcomputer main control module receives the signal transmitted by the pulse optical power signal processing module through an external interrupt device.
[0022] As a preferred technical solution of the present invention, the single-chip microcomputer main control module processes and calculates the signal received by the external interrupt device through the A / D conversion device into the real-time power of the pulse optical signal.
[0023] Compared with the prior art, the beneficial effects of the present invention are as follows: The optical power signal is converted into an electrical signal by the pulsed optical power signal processing module and processed, and the processed power electrical signal is transmitted to the single-chip microcomputer main control module. The real-time optical power value is calculated by the single-chip microcomputer main control module, avoiding the errors brought by the traditional measurement method, effectively improving the accuracy of power detection, having the advantages of directly measuring the real-time power of pulsed light and improving the accuracy of detecting the pulsed light power. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0025] Figure 1 is the circuit diagram of the main buck circuit in an embodiment of the present application;
[0026] Figure 2 is the circuit diagram of the 5V stable buck chip in an embodiment of the present application;
[0027] Figure 3 is the circuit diagram of the 3.3V stable buck chip in an embodiment of the present application;
[0028] Figure 4 is the circuit diagram of the 5V negative voltage conversion chip in an embodiment of the present application;
[0029] Figure 5 is the circuit diagram inside the pulsed optical power signal processing module in an embodiment of the present application;
[0030] Figure 6 is the circuit diagram inside the pulsed trigger signal processing module in an embodiment of the present application;
[0031] Figure 7 is the circuit diagram inside the single-chip microcomputer main control module in an embodiment of the present application;
[0032] Figure 8 is the circuit diagram inside the power display module in an embodiment of the present application;
[0033] Figure 9 is the operating principle diagram of the single-chip microcomputer main control module in an embodiment of the present application;
[0034] Figure 10 is the flow schematic diagram of a pulsed optical power detection method for a single-chip microcomputer according to the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0035] The present invention will be described in detail below in conjunction with the embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, method, or functional transformation made by those of ordinary skill in the art based on these embodiments is included in the protection scope of the present invention.
[0036] As Figures 1 to 10 shown, a pulse optical power detection system for a single-chip microcomputer includes a power supply module, and a pulse trigger signal processing module, a pulse optical power signal processing module, a single-chip microcomputer main control module, and a power display module that are electrically connected to the power supply module.
[0037] The pulse optical power signal processing module includes an operational amplifier filter amplification circuit for filtering and amplifying the pulse signal.
[0038] The pulse trigger signal processing module is used to receive the trigger signal sent by the pulse power supply of the pulsed light and transmit it to the single-chip microcomputer main control module for starting detection.
[0039] The single-chip microcomputer main control module is electrically connected to the pulse optical power signal processing module, the pulse trigger signal processing module, and the power display module, and is used to receive the signals transmitted by the pulse optical power signal processing module and the pulse trigger signal processing module, perform calculation processing, and transmit the obtained optical power value of the pulsed light to the power display module.
[0040] The power display module is used to display the optical power value of the pulsed light detected by the single-chip microcomputer main control module.
[0041] In order to convert the pulsed light signal into an electrical signal, the pulse optical power signal processing module further includes a photoelectric sensor for converting the pulsed light signal into an electrical signal.
[0042] Among them, as Figure 6 shown, the pulse trigger signal processing module is provided with an optocoupler converter (U7 in Figure 6 ) for isolating the electromagnetic interference generated by the trigger signal sent by the pulse power supply. After the trigger signal sent by the pulse power supply passes through the isolation of the optocoupler converter, its anti-interference ability is stronger, it can effectively isolate the electromagnetic interference of the trigger signal on the entire detection system, and the response time is faster.
[0043] Among them, as Figure 7 shown, the single-chip microcomputer main control module includes an A / D conversion device for processing and calculating the signal transmitted by the pulse optical power conversion module, converting it into real-time optical power, facilitating the single-chip microcomputer main control module to calculate the signal transmitted by the impulse optical power conversion module. At the same time, the A / D conversion device will sample the signal multiple times and take the average value to reduce the error of the detection result.
[0044] Among them, as Figures 1 to 4As shown, the power supply module includes a main power supply and an auxiliary power supply. The main power supply includes a main buck circuit for stabilizing the wide input voltage. The auxiliary power supply includes 5V and 3.3V stable buck chips and a 5V negative voltage conversion chip. Since the power supply module uses a wide input voltage, the main buck circuit uses a switching chip buck method to ensure stable power supply for the system while guaranteeing wide voltage input. The auxiliary power supply can provide power for other units of the system and the microcontroller, has good linear and load regulation characteristics, and has a self - protection function. The entire circuit uses a power supply chip with fewer peripheral circuits to save PCB layout space.
[0045] Among them, as Figure 5 shown, the pulsed optical power signal processing module further includes a relay for automatically adjusting and amplifying the processed pulsed signal to match the corresponding range automatic switching within the microcontroller main control module.
[0046] Among them, the power display module includes a liquid crystal display device, and the liquid crystal display device facilitates the direct observation of the detection results by the detection personnel.
[0047] A pulsed optical power detection method for a microcontroller, including:
[0048] S1, the pulsed optical power signal processing module receives a pulsed optical signal, and the pulse trigger signal receiving module receives a trigger signal simultaneously emitted by the pulsed power supply of the pulsed light;
[0049] S2, the pulsed optical power signal processing module processes the pulsed optical signal and transmits it to the microcontroller main control module, and the pulsed light trigger signal receiving module simultaneously commands the microcontroller main control module to receive the signal transmitted by the pulsed optical power signal processing module;
[0050] S3, the microcontroller main control module calculates and processes the pulsed signal received from the pulsed optical power signal processing module, and transmits the processing result to the power display module;
[0051] S4, the power display module displays the calculation and processing result on the liquid crystal display device.
[0052] Among them, in S3, the microcontroller main control module receives the signal transmitted by the pulsed optical power signal processing module through an external interrupt device.
[0053] Among them, the microcontroller main control module processes and calculates the signal received by the external interrupt device through an A / D conversion device into the real - time power of the pulsed light.
[0054] For those skilled in the art, it is obvious that the present invention is not limited to the details of the above-described exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, in any aspect, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be embraced within the present invention.
[0055] In addition, it should be understood that although this specification is described according to embodiments, not every embodiment only contains an independent technical solution. This narrative way of the specification is only for clarity. Those skilled in the art should regard the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. A pulsed optical power detection system for a single-chip microcomputer, characterized in that, It includes a power supply module, a pulse trigger signal processing module, a pulse optical power signal processing module, a single-chip microcomputer main control module, and a power display module that are electrically connected to the power supply module. The pulse optical power signal processing module includes an operational amplifier filter amplification circuit for filtering and amplifying pulse signals. The pulse trigger signal processing module is used to receive the trigger signal sent by the pulse power supply of the pulsed light and transmit it to the single-chip microcomputer main control module for start detection. The pulse trigger signal processing module is provided with an optocoupler converter for isolating the electromagnetic interference generated by the trigger signal sent by the pulse power supply. The single-chip microcomputer main control module is electrically connected to the pulse optical power signal processing module, the pulse trigger signal processing module, and the power display module, and is used to receive the signals transmitted by the pulse optical power signal processing module and the pulse trigger signal processing module, perform calculation and processing, and transmit the calculated optical power value of the pulsed light to the power display module. The power display module is used to display the optical power value of the pulsed light detected by the single-chip microcomputer main control module.
2. The pulse optical power detection system for a single-chip microcomputer according to claim 1, characterized in that: The pulse optical power signal processing module further includes a photoelectric sensor for converting the pulsed light signal into an electrical signal.
3. A pulse optical power detection system for a single-chip microcomputer according to claim 1, characterized in that: The single-chip microcomputer main control module includes an A / D conversion device for processing and calculating the signal transmitted by the pulse optical power signal processing module and converting it into the real-time optical power.
4. A pulse optical power detection system for a single-chip microcomputer according to claim 1, characterized in that: The power supply module includes a main power supply and an auxiliary power supply. The main power supply includes a main step-down circuit for stabilizing the wide voltage input voltage. The auxiliary power supply includes 5V and 3.3V stable step-down chips and a 5V negative voltage conversion chip.
5. A pulse optical power detection system for a single-chip microcomputer according to claim 1, characterized in that: The pulse optical power signal processing module further includes a relay for automatically adjusting and amplifying the processed pulse signal.
6. A pulsed optical power detection system for a single-chip microcomputer according to claim 1, characterized in that: The power display module includes a liquid crystal display device.
7. A pulse optical power detection method for a single-chip microcomputer, applied to a pulse optical power detection system for a single-chip microcomputer according to any one of claims 1 to 6, characterized in that, A method for detecting the pulse optical power of a single-chip microcomputer includes: S1, the pulse optical power signal processing module receives the pulsed light signal, and the pulse trigger signal processing module receives the trigger signal sent simultaneously by the pulse power supply of the pulsed light. S2, the pulse optical power signal processing module processes the pulsed light signal and transmits it to the single-chip microcomputer main control module, and the pulse trigger signal processing module simultaneously commands the single-chip microcomputer main control module to receive the signal transmitted by the pulse optical power signal processing module. S3, the single-chip microcomputer main control module calculates and processes the pulse signal received from the pulse optical power signal processing module and transmits the processing result to the power display module. S4, the power display module displays the calculation and processing result on the liquid crystal display device.
8. A pulse optical power detection method for a single-chip microcomputer according to claim 7, characterized in that: In S3, the single-chip microcomputer main control module receives the signal transmitted by the pulse optical power signal processing module through an external interrupt device.
9. A pulse optical power detection method for a single-chip microcomputer according to claim 8, characterized in that: The single-chip microcomputer main control module processes and calculates the signal received by the external interrupt device through the A / D conversion device into the real-time power of the pulsed light.
Citation Information
Patent Citations
High-speed laser power meter
CN106895911A
Light power detection system and method
CN108871563A
Laser power real-time online monitoring device and method
CN111307281A
Pulse optical power detection system for single-chip microcomputer
CN214224360U