Laser parameter detection circuit, method and laser

By designing a laser parameter detection circuit and using photoelectric sensors and analog signal processing circuits to calculate the energy and frequency of laser pulses in real time, the problem of poor real-time detection in traditional technology is solved and the light output stability and treatment efficiency of the laser are improved.

CN118500540BActive Publication Date: 2024-10-01SHANGHAI RAYKEEN LASER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410956084.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-01
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

Traditional lasers have poor real-time performance in detecting light parameters and cannot analyze each laser pulse individually, resulting in poor light stability and low treatment efficiency.

Method used

Design a laser parameter detection circuit, including a photoelectric sensor, an analog signal processing circuit and a pulse generation circuit, and calculate the energy and frequency of the laser pulse in real time through a micro control unit to improve the real-time and accuracy of detection.

Benefits of technology

It achieves accurate detection of a single laser pulse and improves the light output stability and treatment efficiency of the laser.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118500540B_ABST
    Figure CN118500540B_ABST
Patent Text Reader

Abstract

The present application relates to a laser parameter detection circuit, method and laser, wherein the laser parameter detection circuit comprises a first detection module and a micro control unit, wherein the first detection module comprises: a first photoelectric sensor, used to generate leakage current when irradiated by a laser pulse; a first analog signal processing circuit, connected to the first photoelectric sensor, used to convert the leakage current into a corresponding first voltage signal; a first pulse generating circuit, connected to the first analog signal processing circuit, used to convert the first voltage signal into a corresponding first square wave pulse signal; wherein the micro control unit, connected to the first analog signal processing circuit and the first pulse generating circuit, is used to enable the first analog signal processing circuit, and calculate the laser parameters of the laser pulse according to the first voltage signal and the first square wave pulse signal. The use of this circuit can improve the real-time performance of laser detection, thereby improving the stability of the laser light output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of laser technology, and in particular to a laser parameter detection circuit, method and laser. Background Art

[0002] With the development of laser technology, lasers, such as laser therapy machines, have emerged. Their light output parameters, such as energy and power, are related to the treatment effect. Therefore, whether the light output parameters are accurate has become an issue worthy of attention in this field.

[0003] However, in traditional technology, the power of the laser is detected by statistically averaging the integral of the laser pulses per unit time, and this is applied to the power adjustment unit of the laser. The detection of light parameters by traditional technology has poor real-time performance and cannot analyze each laser pulse individually. This often leads to poor laser light stability and low treatment efficiency due to untimely detection. Summary of the invention

[0004] Based on this, it is necessary to provide a laser parameter detection circuit, method, laser method, device, computer equipment and storage medium that can improve the timeliness of laser parameter detection of the laser, thereby improving the light output stability, in order to address the above technical problems.

[0005] In a first aspect, a laser parameter detection circuit is provided, the laser parameter detection circuit comprising a first detection module and a micro control unit: wherein the first detection module comprises:

[0006] a first photoelectric sensor for generating a leakage current when irradiated by a laser pulse;

[0007] A first analog signal processing circuit is connected to the first photoelectric sensor and is used to convert the leakage current into a corresponding first voltage signal;

[0008] A first pulse generating circuit, connected to the first analog signal processing circuit, for converting the first voltage signal into a corresponding first square wave pulse signal;

[0009] The micro control unit is connected to the first analog signal processing circuit and the first pulse generating circuit, and is used to enable the first analog signal processing circuit and calculate the laser parameters of the laser pulse according to the first voltage signal and the first square wave pulse signal.

[0010] In some embodiments, the laser parameter detection circuit further includes a second detection module, and the second detection module includes:

[0011] a second photoelectric sensor for generating a leakage current when irradiated by the laser;

[0012] a second analog signal processing circuit, connected to the second photoelectric sensor, and configured to convert the leakage current into a corresponding second voltage signal;

[0013] A second pulse generating circuit, connected to the second analog signal processing circuit, for converting the second voltage signal into a corresponding second square wave pulse signal;

[0014] The microcontrol unit is also connected to the second analog signal processing circuit and the second pulse generating circuit, and is also used to calculate the laser parameters of the laser pulse according to the first voltage signal, the first square wave pulse signal, the second voltage signal and the second square wave pulse signal.

[0015] In some embodiments, the laser parameter detection circuit further includes:

[0016] A first power supply circuit is connected to the main controller, the micro control unit and the first analog signal processing circuit, and is used to convert the specified voltage into a first working voltage when the main controller provides a specified voltage, and the first working voltage is the working voltage of the micro control unit and the first detection module;

[0017] A bus circuit for establishing communication between the main controller and the micro control unit;

[0018] The second power supply circuit is connected to the main controller and the bus circuit, and is used for converting the specified voltage into a second operating voltage when the main controller provides the specified voltage, and the second operating voltage is the operating voltage of the bus circuit.

[0019] In some embodiments, the first power supply circuit includes a first power supply module and a second power supply module; wherein,

[0020] A first power supply module, used for converting a specified voltage into an operating voltage of the first detection module when the main controller provides a specified voltage;

[0021] The second power supply module is used to convert the working voltage of the first detection module into the working voltage of the micro control unit.

[0022] In some embodiments, the first analog signal processing circuit includes a first resistor, an analog switch, an in-phase proportional amplification unit, and a voltage follower unit; wherein,

[0023] A first end of the first resistor is connected to the positive electrode of the first photoelectric sensor and the COM end of the analog switch, and a second end of the first resistor is grounded;

[0024] The EN terminal of the analog switch is connected to the first input-output terminal of the microcontroller unit, and the NO terminal of the analog switch is connected to the in-phase input terminal of the in-phase proportional amplification unit;

[0025] The output end of the in-phase proportional amplification unit is connected to the first pulse generation circuit and the in-phase input end of the voltage follower unit, and the inverting input end of the in-phase proportional amplification unit is grounded;

[0026] The output end of the voltage follower unit is connected to the inverting input end of the voltage follower unit and the analog-to-digital conversion end of the micro control unit.

[0027] In some embodiments, the first pulse generating circuit includes a second resistor, a third resistor and an operational amplifier; wherein,

[0028] The first end of the second resistor is connected to the inverting input end of the operational amplifier and the first end of the third resistor, and the second end of the second resistor is configured to be connected to a corresponding working voltage;

[0029] The in-phase input terminal of the operational amplifier is connected to the output terminal of the in-phase proportional amplification unit, and the output terminal of the operational amplifier is connected to the second input and output terminal of the micro control unit;

[0030] A second terminal of the third resistor is grounded.

[0031] In a second aspect, a laser parameter detection method is provided, the method being applied to a microcontroller unit of a laser parameter detection circuit according to any one of the embodiments of the first aspect, the method comprising:

[0032] Receive the laser operation start instruction sent by the main controller;

[0033] According to the work start instruction, the first analog signal processing circuit in the first detection module is enabled, so that the first analog signal processing circuit converts the leakage current generated by the first photoelectric sensor being irradiated by the laser pulse into a corresponding first voltage signal, the first voltage signal includes a first conversion voltage signal and a first calculation voltage signal, and converts the first conversion voltage signal into a first square wave pulse signal through a first pulse generating circuit;

[0034] A first square wave pulse signal and a first calculated voltage signal output by the first detection module are acquired, and laser parameters of the laser pulse are calculated according to the first square wave pulse signal and / or the first calculated voltage signal.

[0035] In some embodiments, obtaining a first square wave pulse signal and a first calculated voltage signal output by the first detection module, and calculating laser parameters of the laser pulse according to the first square wave pulse signal and / or the first calculated voltage signal, includes:

[0036] Acquire a first square wave pulse signal, trigger the collection of the voltage value of the first calculated voltage signal in response to the rising edge of the first square wave pulse signal, terminate the collection of the voltage value of the first calculated voltage signal in response to the falling edge of the first square wave pulse signal, calculate the duration of the first square wave pulse signal according to the time of the rising edge and the falling edge, and calculate the laser energy of the laser pulse according to the duration and the collected voltage value of the first calculated voltage signal.

[0037] In some embodiments, obtaining a first square wave pulse signal and a first calculated voltage signal output by the first detection module, and calculating laser parameters of the laser pulse according to the first square wave pulse signal and / or the first calculated voltage signal, includes:

[0038] The light output frequency of the laser is calculated according to the time of the rising edge of the first square wave pulse signal corresponding to the laser pulse and the time of the rising edge of the first square wave pulse signal corresponding to the next laser pulse of the laser pulse.

[0039] In some embodiments, obtaining a first square wave pulse signal and a first calculated voltage signal output by the first detection module, and calculating laser parameters of the laser pulse according to the first square wave pulse signal and / or the first calculated voltage signal, includes:

[0040] Acquire a first square wave pulse signal, trigger the collection of the voltage value of the first calculated voltage signal in response to the rising edge of the first square wave pulse signal, terminate the collection of the voltage value of the first calculated voltage signal in response to the falling edge of the first square wave pulse signal, calculate the duration of the first square wave pulse signal according to the time of the rising edge and the falling edge, calculate the laser energy of the laser pulse according to the duration and the collected voltage value of the first calculated voltage signal; calculate the light emission frequency of the laser according to the time of the rising edge of the first square wave pulse signal corresponding to the laser pulse and the time of the rising edge of the first square wave pulse signal corresponding to the next laser pulse of the laser pulse; calculate the total power of the laser according to the laser energy and the light emission frequency of multiple laser pulses in a preset time period.

[0041] In some embodiments, the method further comprises:

[0042] enabling the second detection module and acquiring laser parameters calculated based on the second detection module;

[0043] The laser parameters calculated based on the first detection module and the laser parameters calculated based on the second detection module are weightedly calculated with a preset weight ratio to obtain weighted laser parameters of the laser pulse.

[0044] In some embodiments, the method further comprises:

[0045] When the first detection module is abnormal, the enabling operation of the first detection module is stopped and the enabling operation of the second detection module is switched.

[0046] In some embodiments, the method further comprises:

[0047] In response to the parameter providing instruction issued by the main controller, the calculated target laser parameters corresponding to the parameter providing instruction are sent to the main controller.

[0048] According to a third aspect, a laser is provided, comprising a main controller and a laser parameter detection circuit according to any one embodiment of the first aspect.

[0049] The above laser parameter detection circuit, method and laser, through the photoelectric sensor, accurately collects the energy of a single laser pulse, and converts it into leakage current and transmits it to the analog signal processing circuit, the analog signal processing circuit converts the leakage current of a single laser pulse into a corresponding voltage signal, the voltage signal can represent the energy state information of the laser pulse, and transmits it to the pulse generating circuit, the pulse generating circuit converts the voltage signal into a corresponding square wave pulse signal, the square wave pulse signal can represent the existence state information of the laser pulse, the micro control unit receives the voltage signal on the one hand, and receives the square wave pulse signal on the other hand, and combines the energy state information represented by the voltage signal and the existence state information represented by the square wave pulse signal, and can timely and accurately calculate the laser parameters related to the single laser pulse irradiated on the photoelectric sensor, and further, through continuous or intermittent collection, it can also obtain the total power and other parameters of the laser according to the laser parameters related to multiple laser pulses. Thus, the real-time performance of laser detection can be improved, and the light output stability of the laser can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 is a schematic diagram of the structure of a laser parameter detection circuit in some embodiments;

[0051] Figure 2 It is a structural schematic diagram of a laser parameter detection circuit in some other embodiments;

[0052] Figure 3 is a schematic diagram of the structure of a first power supply circuit in some embodiments;

[0053] Figure 4 is a schematic diagram of the structure of the second power supply circuit in some embodiments;

[0054] Figure 5 is a schematic diagram of the structure of a micro control unit in some embodiments;

[0055] Figure 6 is a schematic diagram of the structure of a first analog signal processing circuit in some embodiments;

[0056] Figure 7is a schematic diagram of the structure of a second analog signal processing circuit in some embodiments;

[0057] Figure 8 is a schematic structural diagram of a first pulse generating circuit in some embodiments;

[0058] Fig. 9 is a schematic structural diagram of a second pulse generating circuit in some embodiments;

[0059] Fig.10 Schematic diagram of the process of laser parameter detection method in some embodiments. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0061] In some embodiments, Figure 1 As shown, a laser parameter detection circuit 10 is provided. The laser parameter detection circuit 10 can be applied to laser devices such as lasers. Specifically,

[0062] The laser parameter detection circuit 10 may include a first detection module 110 and a micro control unit 200, wherein the first detection module 110 includes:

[0063] A first photoelectric sensor 111, configured to generate a leakage current when irradiated by a laser pulse;

[0064] A first analog signal processing circuit 112, connected to the first photoelectric sensor 111, for converting the leakage current into a corresponding first voltage signal;

[0065] A first pulse generating circuit 113, connected to the first analog signal processing circuit 112, for converting the first voltage signal into a corresponding first square wave pulse signal;

[0066] The micro control unit 200 is connected to the first analog signal processing circuit 112 and the first pulse generating circuit 113, and is used to enable the first analog signal processing circuit 112 and calculate the laser parameters of the laser pulse according to the first voltage signal and the first square wave pulse signal.

[0067] In this embodiment, the microcontroller unit 200 (MCU) is also called a single chip microcomputer or a single chip microcomputer. When the microcontroller unit 200 receives the corresponding command, the first analog signal processing circuit 112 is enabled. When the first photoelectric sensor 111 is irradiated by the laser pulse, a leakage current Is corresponding to the intensity of the laser pulse is generated inside the first photoelectric sensor 111. The first analog signal processing circuit 112 processes the leakage current Is inside the first photoelectric sensor 111, and transmits the generated first voltage signal to the first pulse generating circuit 113 on the one hand, and also transmits the generated first voltage signal to the microcontroller unit 200 on the other hand. The first pulse generating circuit 113 processes the first voltage signal output from the first analog signal processing circuit 112 to generate a first square wave pulse signal corresponding to the first voltage signal and transmits it to the microcontroller unit 200. The microcontroller unit 200 combines the first voltage signal with the first square wave pulse signal to calculate the laser parameters of the laser.

[0068] Exemplarily, laser parameters include, but are not limited to, the energy of a single laser pulse, the pulse width of a single laser pulse, the time interval between a current laser pulse and the next laser pulse, the light emission frequency of the laser pulse, the total power of the laser, etc.

[0069] The above laser parameter detection circuit accurately collects the energy of a single laser pulse through a photoelectric sensor, and converts it into leakage current and transmits it to the analog signal processing circuit. The analog signal processing circuit converts the leakage current of a single laser pulse into a corresponding voltage signal, which can represent the energy state information of the laser pulse, and transmits it to the pulse generating circuit. The pulse generating circuit converts the voltage signal into a corresponding square wave pulse signal, which can represent the survival state information of the laser pulse. The microcontroller receives the voltage signal on the one hand and the square wave pulse signal on the other hand, and combines the energy state information represented by the voltage signal and the survival state information represented by the square wave pulse signal to timely and accurately calculate the laser parameters related to the single laser pulse irradiated on the photoelectric sensor. In addition, further, by continuously or intermittently collecting, the total power and other parameters of the laser can be obtained according to the laser parameters related to multiple laser pulses. Thereby, the real-time performance of laser detection can be improved, and the light output stability of the laser can be improved.

[0070] In some embodiments, reference Figure 2 As shown, the laser parameter detection circuit may further include a second detection module 120, and the second detection module 120 includes:

[0071] A second photoelectric sensor 121, configured to generate a leakage current when irradiated by laser light;

[0072] The second analog signal processing circuit 122 is connected to the second photoelectric sensor 121 and is used to convert the leakage current into a corresponding second voltage signal;

[0073] The second pulse generating circuit 123 is connected to the second analog signal processing circuit 122 and is used to convert the second voltage signal into a corresponding second square wave pulse signal;

[0074] The micro control unit 200 is also connected to the second analog signal processing circuit 122 and the second pulse generating circuit 123, and is also used to calculate laser parameters according to the first voltage signal, the first square wave pulse signal, the second voltage signal and the second square wave pulse signal.

[0075] In this embodiment, after receiving the corresponding command, the microcontroller unit 200 can enable the second analog signal processing circuit 122. When the second photoelectric sensor 121 is irradiated by the laser pulse, a leakage current corresponding to the intensity of the laser pulse will be generated inside the second photoelectric sensor 121. The second analog signal processing circuit 122 processes the leakage current inside the second photoelectric sensor 121, transmits the generated second voltage signal to the second pulse generating circuit 123 on the one hand, and transmits the generated second voltage signal to the microcontroller unit 200 on the other hand. The second pulse generating circuit 130 processes the second voltage signal output from the second analog signal processing circuit 122 to generate a second square wave pulse signal corresponding to the second voltage signal and transmits it to the microcontroller unit 200. The microcontroller unit 200 combines the second voltage signal with the second square wave pulse signal. Further, the microcontroller unit 200 can also integrate the calculation results obtained by the first detection module 110 and the calculation results obtained by the signal of the second detection module 120, for example, by weighted calculation, to obtain the final weighted laser parameters.

[0076] Exemplarily, the microcontroller unit 200 can simultaneously enable the first detection module 110 and the second detection module 120, and perform weighted calculation on the detection results of the first detection module 110 and the second detection module 120. The weight distribution of each detection module can be adjusted according to actual needs. For example, the first detection module 110 can be used as the main detection module, and the second detection module 120 can be used as the slave detection module. The weight of the main detection module can be greater than that of the slave detection module, so that more accurate detection results can be obtained.

[0077] Exemplarily, the microcontroller unit 200 may also enable one of them individually in different instructions or under different circumstances as needed. For example, if an abnormality is detected in the hardware of the first detection module 110, the microcontroller unit 200 may stop enabling the first detection module 100 and switch to enabling the second detection module 120, and vice versa. Therefore, the problem of unstable laser parameter detection caused by special abnormalities such as hardware can be avoided, the effectiveness of the laser parameter detection circuit is ensured, and the laser is prevented from stopping working due to circuit failure.

[0078] It is worth noting that in some embodiments, the detection modules in the present application can be multiple, and the specific number is not limited and can be adjusted according to the actual application. In order to more clearly explain the present application, the present embodiment only takes the two detection modules including the first detection module 110 and the second detection module 120 as an example for explanation, but the number of detection modules is not limited to two. In other embodiments, a third detection module, a fourth detection module and more detection modules may also be included. Among them, in the case of including multiple detection modules, the number of micro control units 200 may also be adjusted accordingly according to the number of detection modules, and any number and quantity correspondence that can realize the inventive concept of the present application are included in the protection scope of the present application.

[0079] In some embodiments, reference Figure 2 As shown, the laser parameter detection circuit 10 may also include the following components:

[0080] The first power supply circuit 300 is connected to the main controller 20, the micro control unit 200 and the first analog signal processing circuit 112, and is used for converting the specified voltage into a first working voltage (VCC_ANA, VCC_MCU) when the main controller 20 provides the specified voltage, wherein the first voltage is the working voltage of the micro control unit 200 and the first detection module 110, that is, the micro control unit 200, the first analog signal processing circuit 112, the first pulse generating circuit 113 and the first photoelectric sensor 111 provide the working voltage; further, when including the second detection module 120 or more detection modules, the first power supply circuit 300 can also provide working voltage for each component of other detection modules.

[0081] The bus circuit 400 is used to establish communication between the main controller 20 and the micro control unit 200;

[0082] The second power supply circuit 500 is connected to the main controller 20 and the bus circuit 400 , and is used to convert the specified voltage into a second operating voltage VCC_BUS when the main controller 20 provides a specified voltage. The second operating voltage is the operating voltage of the bus circuit 400 .

[0083] In this embodiment, by setting the first power supply circuit 300, the micro control unit 200 and at least one detection module can be provided with a stable working voltage required for operation. By setting the bus circuit 400, communication between the micro control unit 200 and at least one host computer (for example, a main controller of a laser quality device, etc.) can be established, so that different laser parameters can be transmitted to it according to different host computer instructions to adapt to the working requirements of different host computers. By setting the second power supply circuit 500, the bus circuit 400 can be provided with a stable working voltage required for operation.

[0084] In some embodiments, reference may be made to Figure 3 As shown, Figure 3 Schematic diagram of the structure of the first power supply circuit 300 in some embodiments is shown, wherein the first power supply circuit 300 may include a first power supply module 301 and a second power supply module 302; wherein,

[0085] A first power supply module 301, configured to convert the specified voltage VCC into an operating voltage VCC_ANA of the first detection module 110 when the main controller 20 provides the specified voltage VCC;

[0086] The second power module 302 is used to convert the operating voltage VCC_ANA of the first detection module 110 into the operating voltage VCC_MCU of the micro control unit 200 .

[0087] More specifically, when the main controller 20 provides a set of power supply voltages VCC that meet the requirements, the first power supply circuit 300 can generate the first analog signal processing circuit 112, the second analog signal processing circuit 122, the first pulse generating circuit 113, the second pulse generating circuit 123, the first photoelectric sensor 111 (for example, Figure 6 PH1), a second photoelectric sensor 121 (for example, Figure 7 VCC_ANA can then generate the operating voltage VCC_MCU required by the micro control unit 200 through the power supply component U2.

[0088] exist Figure 3 In the embodiment, the capacitor elements C10 and C3 are polar capacitors, and the capacitor elements C19, C16 and C17 are non-polar capacitors. The capacitor elements can be used to store charge to improve the stability of the power supply of the first power supply circuit. In practical applications, the configuration of the capacitor elements can be less than or more than Figure 3 as shown in .

[0089] In some embodiments, reference Figure 4 As shown, Figure 4FIG. 5 is a schematic diagram showing the structure of the second power supply circuit 500 in some embodiments, wherein the BUS_TX and BUS_RX pins are used to connect to corresponding pins of the bus circuit 400 .

[0090] In some embodiments, reference may be made to Figure 5 and Figure 6 As shown, Figure 5 shows a schematic diagram of the structure of the micro control unit 200 in some embodiments, Figure 6 FIG. 1 is a schematic diagram showing the structure of the first analog signal processing circuit 112 in some embodiments.

[0091] refer to Figure 5 As shown, the microcontroller unit 200 can be implemented based on the MCU chip U5, wherein the MCU chip U5 can include the following pins: input and output pins (IO1, IO2, IO3 and IO4), analog-to-digital conversion pins (ADC1, ADC2), VCC, VSS, BUS_TX and BUS_RX pins.

[0092] Exemplarily, IO1 can be used as the enable control pin of chip U18 in the first analog signal processing circuit 112; IO3 can be used as the enable control pin of chip U19 in the second analog signal processing circuit 122; IO2 can be used as the level signal input pin of the first pulse generating circuit 113; IO4 can be used as the level signal input pin of the second pulse generating circuit 123; ADC1 can be used as the voltage signal input pin of the first analog signal processing circuit 112; ADC2 can be used as the voltage signal input pin of the second analog signal processing circuit 122, and BUS_TX and BUS_RX can be used as bus input and output pins of the bus circuit 400.

[0093] refer to Figure 6 As shown, the first analog signal processing circuit 112 may include a first resistor R60, an analog switch U18, an in-phase proportional amplification unit 1121 and a voltage follower unit 1122; wherein,

[0094] A first end of the first resistor R60 is connected to the positive electrode PH1+ of the first photosensor PH1 and the COM end of the analog switch U18, and a second end of the first resistor R60 is grounded; wherein the first photosensor PH1 may be a photodiode;

[0095] The EN terminal of the analog switch U18 is connected to the first input / output terminal IO1 of the micro control unit 200, and the NO terminal of the analog switch U18 is connected to the non-inverting input terminal U15+ of the non-inverting proportional amplification unit 1121;

[0096] The output end of the in-phase proportional amplification unit 1121 is connected to the first pulse generation circuit 112 and the in-phase input end U22+ of the voltage follower unit 1122, and the inverting input end U15- of the in-phase proportional amplification unit 1121 is grounded;

[0097] The output terminal of the voltage follower unit 1122 is connected to the inverting input terminal U22 − of the voltage follower unit 1122 and the analog-to-digital conversion terminal ADC1 of the micro control unit 200 .

[0098] Exemplarily, the voltage follower unit 1122 may be implemented based on the operational amplifier U22.

[0099] Exemplarily, the in-phase proportional amplification unit 1121 may include an operational amplifier U15, a resistor R64, and a resistor R65. The in-phase proportional amplification unit 1121 is formed by adjusting the proportional relationship between the resistor R64 and the resistor R65.

[0100] Exemplarily, the first analog signal processing circuit 112 may further include a capacitor C45 , one end of which is connected to the cathode of the first photosensor PH1 , and the other end of which is grounded, for storing energy after the leakage current Is is generated.

[0101] Specifically, in the first analog signal processing circuit 112, after the IO1 enable signal is generated, the COM terminal and the NO terminal pin inside the analog switch U18 are connected. When the first photosensor PH1 is irradiated by the laser pulse, a leakage current Is is generated inside the analog switch U18. The leakage current Is changes according to the change of the degree of stimulation of the first photosensor PH1. Due to the existence of the first resistor R60, a voltage is generated at the COM terminal pin of the analog switch U18, and a voltage is generated at the NO terminal pin of the analog switch U18. The voltage signal V is generated in turn through the in-phase proportional amplification unit 1121 composed of the operational amplifier U15. PD1_OP , output to the in-phase terminal U24A+ of the operational amplifier U24A of the first pulse generating circuit 113, and then generate a voltage signal V through the voltage follower unit 1122 composed of the operational amplifier U22. ADC1 Output to the ADC1 pin of the chip U5 of the micro control unit 200, thereby converting the leakage current Is into a corresponding first voltage signal (V PD1_OP 、V ADC1 ), due to the existence of the voltage follower unit 1122, the voltage signal V at its input terminal PD1_OP The voltage signal V ADC1 Equal or different values ​​are within a preset range.

[0102] In some embodiments, the laser parameter detection circuit 10 may further include a second detection module 120. The structure of the second analog signal processing circuit 122 in the second detection module 120 may refer to Figure 7 shown.

[0103] Specifically, after the IO3 enable signal is generated in the second analog signal processing circuit 122, the COM terminal and the NO terminal pin inside the analog switch U17 are turned on. When the second photosensor PH2 is irradiated by the laser pulse, a leakage current Is is generated inside the second photosensor PH2. The leakage current Is changes according to the change of the degree of stimulation of the photosensor PH2. Due to the existence of the resistor R62, a voltage is generated at the COM terminal pin of the analog switch U17, and a voltage is generated at the NO terminal pin of the analog switch U17. The voltage signal V is generated in turn through the in-phase proportional amplification unit 1221 composed of the operational amplifier U16. PD2_OP , output to the in-phase terminal U24B+ of the operational amplifier U24B of the second pulse generating circuit 123, and then generate a voltage signal V through the voltage follower unit 1222 composed of the operational amplifier U23. ADC2 Output to the ADC2 pin of the chip U5 of the micro control unit 200. That is, the leakage current Is is converted into a corresponding second voltage signal (V PD1_OP 、V ADC1 ).

[0104] In some embodiments, reference Figure 8 As shown, Figure 8 The schematic diagram of the structure of the first pulse generating circuit 113 in some embodiments is shown. The first pulse generating circuit 113 includes a second resistor R73, a third resistor R74 and an operational amplifier U24A; the first end of the second resistor R73 is connected to the inverting input terminal U24A- of the operational amplifier U24A and the first end of the third resistor R74, and the second end of the second resistor R73 is configured to access the corresponding working voltage VCC_ANA; the in-phase input terminal U24A+ of the operational amplifier U24A is connected to the output terminal of the operational amplifier U15 of the in-phase proportional amplification unit 1121, and the output terminal of the operational amplifier U24A is connected to the second input-output terminal IO2 of the micro control unit 200; the second end of the third resistor R74 is grounded.

[0105] Specifically, the first pulse generating circuit 113 can be a comparator constructed based on the operational amplifier U24A. When the voltage signal V PD1_OP The voltage value is greater than the inverting input terminal U24A-the reference voltage V generated by the working voltage VCC_ANA, resistor R73, and resistor R74. ref When the output terminal of the operational amplifier U24A outputs the first square wave pulse signal V to the MCU chip U5 of the micro control unit 200 IO2 is high level 1, otherwise, it is low level 0, thereby converting the first voltage signal V belonging to the analog signal PD1_OPConverted into a first square wave pulse signal consisting of 1 and 0.

[0106] In some embodiments, reference Fig. 9 As shown, Fig. 9 A schematic diagram of the structure of the second pulse generating circuit 123 in some embodiments is shown.

[0107] Specifically, the second pulse generating circuit 123 can be a comparator circuit based on the operational amplifier U24B. When the voltage signal V PD2_OP The voltage value of the inverting input terminal is greater than the reference voltage signal V generated by the working voltage VCC_ANA, the first resistor R73, and the second resistor R74. ref When the output terminal of the operational amplifier U24B outputs the second square wave pulse signal V to the MCU chip U5 of the micro control unit 200 IO4 is high level 1, otherwise it is low level 0, thereby converting the second voltage signal V belonging to the analog signal PD2_OP Converted into a second square wave pulse signal consisting of 1 and 0.

[0108] In some embodiments, reference Fig.10 As shown, a laser parameter detection method is also provided, which can be applied to the micro control unit 200 of the laser parameter detection circuit 10 of any one or more of the above embodiments. The method may include the following steps:

[0109] S1: Receive the laser start instruction sent by the main controller.

[0110] Specifically, the micro control unit 200 can communicate with the main controller 20 through the bus circuit 400 and receive the laser start instruction sent by the main controller 20. In other embodiments, the micro control unit 200 can also establish communication with the main controller 20 through the network and receive instructions issued by it.

[0111] S2: Enable the first analog signal processing circuit in the first detection module according to the work start instruction, so that the first analog signal processing circuit converts the leakage current generated by the first photoelectric sensor when irradiated by the laser pulse into a corresponding first voltage signal, the first voltage signal includes a first conversion voltage signal and a first calculated voltage signal, and converts the first conversion voltage signal into a first square wave pulse signal through a first pulse generating circuit.

[0112] S3: Acquire a first square wave pulse signal and a first calculated voltage signal output by the first detection module, and calculate laser parameters of the laser pulse according to the first square wave pulse signal and / or the first calculated voltage signal.

[0113] In some embodiments, obtaining the first square wave pulse signal and the first calculated voltage signal output by the first detection module, and calculating the laser parameters of the laser pulse according to the first square wave pulse signal and / or the first calculated voltage signal may include calculating at least one of the following laser parameters:

[0114] 1. Energy calculation of a single laser pulse: obtain a first square wave pulse signal, trigger the collection of the voltage value of the first calculated voltage signal in response to the rising edge of the first square wave pulse signal, terminate the collection of the voltage value of the first calculated voltage signal in response to the falling edge of the first square wave pulse signal, calculate the duration of the first square wave pulse signal according to the time of the rising edge and the falling edge, and calculate the laser energy of the laser pulse according to the duration and the collected voltage value of the first calculated voltage signal.

[0115] Specifically, according to the ADC detection characteristics of the MCU chip, the triggering of timing or ending timing by the generated square wave pulse signal in a level flipping manner can be faster and more convenient, thereby improving the calculation accuracy of the laser parameters of the laser pulse. The rising edge of the square wave pulse signal triggers the timing, thereby turning on the ADC detection function of the MCU chip, and the MCU chip starts to continuously calculate the voltage signal V as an analog voltage signal. ADC1 、V ADC2 The ADC detection is terminated by triggering the falling edge of the square wave pulse signal. In this embodiment, since the square wave pulse signal is generated only when the laser pulse has energy, the MCU chip performs ADC detection and laser energy calculation at this time. Therefore, the triggering of timing or ending timing by the generated square wave pulse signal in a level flipping manner can save a lot of computing resources.

[0116] 2. Calculation of the laser's light output frequency: Calculate the laser's light output frequency based on the time of the rising edge of the first square wave pulse signal corresponding to the laser pulse and the time of the rising edge of the first square wave pulse signal corresponding to the next laser pulse of the laser pulse.

[0117] 3. Calculation of the total power of the laser within a preset time period: Calculate the total power of the laser based on the laser energy and light output frequency of multiple laser pulses within a preset time period.

[0118] Below, reference Figures 2 to 9 As shown, the calculation method of a single laser pulse energy in some application examples of the present application is further described in detail.

[0119] After IO1 and IO3 of the MCU chip U5 of the microcontroller unit 200 generate an enable signal, the first analog signal processing circuit 112 and the second analog signal processing circuit 122 are enabled. Taking a single laser pulse as an example, when the laser pulse arrives, the first photoelectric sensor PH1 and the second photoelectric sensor PH2 generate their own leakage current Is. Referring to the explanation of the hardware structure in the above embodiment, the first analog signal processing circuit 112 generates a first voltage signal (V PD1_OP 、V ADC1 ), that is, the first voltage signal may include the first conversion voltage signal V PD1_OP and the first calculated voltage signal V ADC1 , the second analog signal processing circuit 122 generates a second voltage signal (V PD2_OP 、V ADC2 ), that is, the second voltage signal includes the second conversion voltage signal V PD2_OP and the second calculated voltage signal V ADC2 In the first pulse generating circuit 113, when V PD1_OP Greater than V ref When the first square wave pulse signal V IO2 is flipped to high level 1. In the second pulse generating circuit 123, when V PD2_OP Greater than V ref When the second square wave pulse signal V IO4 Flipped to high level 1, at this time, the MCU chip U5 believes that the laser is generating laser light, and its internal timer starts timing. The ADC1 pin and ADC2 pin of the MCU chip U5 start to obtain the calculated voltage signal V ADC1 and V ADC2 , when the laser pulse ends, V PD1_OP Less than V ref , the first square wave pulse signal V IO2 Flips to low level 0, and V PD2_OP Less than V ref , the second square wave pulse signal V IO4 Flips to low level 0, MCU chip U5 ends timing and stops calculating voltage signal V ADC1 and V ADC2 The MCU chip U5 reads and records the end time, thereby calculating the duration T of a single laser pulse on the first photoelectric sensor PH1. wid1 and the duration T on the second photosensor PH2 wid2 At this time, the first calculated voltage signal V ADC1 The voltage value and the first duration T wid1 , the energy generated by a single laser pulse on the first photoelectric sensor PH1 can be obtained; similarly, the second calculated voltage signal V ADC2The voltage value and the second duration T wid2 , the energy generated by a single laser pulse on the second photoelectric sensor PH2 can be obtained. Further, the above calculation results can be saved in the MCU chip U5.

[0120] In some embodiments, the method further includes: enabling a second detection module and acquiring laser parameters calculated based on the second detection module; weightedly calculating the laser parameters calculated based on the first detection module and the laser parameters calculated based on the second detection module at a preset weight ratio to obtain weighted laser parameters of the laser pulse.

[0121] In this embodiment, by configuring multiple detection modules, the first detection module can be used as the main detection module, and the second detection module can be used as the auxiliary detection module. By weighting, the detection accuracy of a single laser pulse can be improved, thereby improving the accuracy of laser parameter calculation.

[0122] In some embodiments, the method further includes: when the first detection module is abnormal, stopping the enabling operation of the first detection module and switching to enabling the second detection module.

[0123] In this embodiment, by configuring multiple detection modules, when one or more enabled detection modules are abnormal, it is possible to switch to enabling the standby detection modules, thereby ensuring the normal operation of the laser parameter detection circuit and further improving the stability of the laser.

[0124] In some embodiments, the method further comprises: in response to a parameter providing instruction issued by the main controller, sending the calculated target laser parameter corresponding to the parameter providing instruction to the main controller.

[0125] In this embodiment, a variety of host computers (main controllers) can be adapted through a bus or the like, and the laser characteristic parameters required by the host computer can be transmitted in any manner.

[0126] In some embodiments, a laser is also provided, which can be a laser treatment device for laser treatment. The laser can include a main control and a laser parameter detection circuit of any one or more of the above-mentioned embodiments. The laser can further include a common structure in a general laser. For a specific description of the laser parameter detection circuit in the laser, please refer to the description of the above-mentioned embodiments, which will not be repeated here.

[0127] It should be understood that although Fig.10 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Fig.10At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0128] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0129] In addition, the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the characters in this article generally indicate that the associated objects before and after are in an "or" relationship.

[0130] In addition, the terms “first” and “second” herein are used for the convenience of description to distinguish components with the same name and are not used as special limitations.

[0131] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A laser parameter detection circuit, comprising a first detection module and a micro control unit: wherein: The first detection module comprises: a first photoelectric sensor for generating a leakage current when irradiated by a laser pulse; a first analog signal processing circuit, connected to the first photoelectric sensor, and configured to convert the leakage current into a corresponding first voltage signal; a first pulse generating circuit, connected to the first analog signal processing circuit, and configured to convert the first voltage signal into a corresponding first square wave pulse signal; The micro control unit is connected to the first analog signal processing circuit and the first pulse generating circuit, and is used to enable the first analog signal processing circuit and calculate the laser parameters of the laser pulse according to the first voltage signal and the first square wave pulse signal.

2. The circuit according to claim 1, characterized in that The laser parameter detection circuit further includes a second detection module, and the second detection module includes: a second photoelectric sensor for generating a leakage current when irradiated by the laser; a second analog signal processing circuit, connected to the second photoelectric sensor, and configured to convert the leakage current into a corresponding second voltage signal; a second pulse generating circuit, connected to the second analog signal processing circuit, and configured to convert the second voltage signal into a corresponding second square wave pulse signal; Among them, the micro control unit is also connected to the second analog signal processing circuit and the second pulse generating circuit, and is also used to calculate the laser parameters of the laser pulse based on the first voltage signal, the first square wave pulse signal, the second voltage signal and the second square wave pulse signal.

3. The circuit according to claim 1, characterized in that The laser parameter detection circuit also includes: A first power supply circuit is connected to the main controller, the micro control unit and the first analog signal processing circuit, and is used for converting the specified voltage into a first working voltage when the main controller provides a specified voltage, and the first working voltage is the working voltage of the micro control unit and the first detection module; A bus circuit, used to establish communication between the main controller and the micro control unit; The second power supply circuit is connected to the main controller and the bus circuit, and is used for converting the specified voltage into a second operating voltage when the main controller provides a specified voltage, and the second operating voltage is the operating voltage of the bus circuit.

4. The circuit according to claim 3, characterized in that The first power supply circuit includes a first power supply module and a second power supply module; wherein, The first power supply module is used to convert the specified voltage into the working voltage of the first detection module when the main controller provides the specified voltage; The second power supply module is used to convert the operating voltage of the first detection module into the operating voltage of the micro control unit.

5. The circuit according to claim 1, characterized in that The first analog signal processing circuit includes a first resistor, an analog switch, an in-phase proportional amplification unit and a voltage follower unit; wherein, A first end of the first resistor is connected to the positive electrode of the first photoelectric sensor and the COM end of the analog switch, and a second end of the first resistor is grounded; The EN terminal of the analog switch is connected to the first input-output terminal of the micro control unit, and the NO terminal of the analog switch is connected to the non-inverting input terminal of the non-inverting proportional amplification unit; The output end of the in-phase proportional amplification unit is connected to the first pulse generating circuit and the in-phase input end of the voltage follower unit, and the inverting input end of the in-phase proportional amplification unit is grounded; The output end of the voltage follower unit is connected to the inverting input end of the voltage follower unit and the analog-to-digital conversion end of the micro control unit.

6. The circuit according to claim 5, characterized in that The first pulse generating circuit includes a second resistor, a third resistor and an operational amplifier; wherein, The first end of the second resistor is connected to the inverting input end of the operational amplifier and the first end of the third resistor, and the second end of the second resistor is configured to be connected to a corresponding working voltage; The in-phase input terminal of the operational amplifier is connected to the output terminal of the in-phase proportional amplification unit, and the output terminal of the operational amplifier is connected to the second input and output terminal of the micro control unit; A second end of the third resistor is grounded.

7. A laser parameter detection method, the method being applied to a microcontroller unit of a laser parameter detection circuit according to any one of claims 1 to 6, the method comprising: Receive the laser operation start instruction sent by the main controller; According to the work start instruction, the first analog signal processing circuit in the first detection module is enabled, so that the first analog signal processing circuit converts the leakage current generated by the first photoelectric sensor being irradiated by the laser pulse into a corresponding first voltage signal, wherein the first voltage signal includes a first converted voltage signal and a first calculated voltage signal, and converts the first converted voltage signal into a first square wave pulse signal through a first pulse generating circuit; The first square wave pulse signal and the first calculated voltage signal output by the first detection module are acquired, and laser parameters of the laser pulse are calculated according to the first square wave pulse signal and / or the first calculated voltage signal.

8. The method according to claim 7, characterized in that The acquiring the first square wave pulse signal and the first calculated voltage signal output by the first detection module, and calculating the laser parameters of the laser pulse according to the first square wave pulse signal and / or the first calculated voltage signal, comprises: Acquire the first square wave pulse signal, trigger the acquisition of the voltage value of the first calculated voltage signal in response to the rising edge of the first square wave pulse signal, terminate the acquisition of the voltage value of the first calculated voltage signal in response to the falling edge of the first square wave pulse signal, calculate the duration of the first square wave pulse signal according to the time of the rising edge and the falling edge, and calculate the laser energy of the laser pulse according to the duration and the collected voltage value of the first calculated voltage signal; and / or Calculating the light emission frequency of the laser according to the time of the rising edge of the first square wave pulse signal corresponding to the laser pulse and the time of the rising edge of the first square wave pulse signal corresponding to the next laser pulse of the laser pulse; and / or The total power of the laser is calculated according to the laser energy and the light emission frequency of a plurality of the laser pulses within a preset time period.

9. The method according to claim 8, characterized in that The method further comprises: enabling a second detection module and acquiring laser parameters calculated based on the second detection module; The laser parameters calculated based on the first detection module and the laser parameters calculated based on the second detection module are weightedly calculated with a preset weight ratio to obtain weighted laser parameters of the laser pulse.

10. The method according to claim 7, characterized in that The method further comprises: When the first detection module is abnormal, the enabling operation of the first detection module is stopped and the enabling operation of the second detection module is switched.

11. The method according to claim 7, characterized in that The method further comprises: In response to the parameter providing instruction issued by the main controller, the calculated target laser parameters corresponding to the parameter providing instruction are sent to the main controller.

12. A laser, characterized in that: The invention comprises a main controller and a laser parameter detection circuit according to any one of claims 1 to 6.