Laser energy detection method and device and storage medium
By acquiring the discharge data and laser output energy of the discharge module, and calculating abnormal radiation parameter values, the problem of the inability to detect abnormalities in existing laser energy detection devices is solved, achieving higher detection accuracy and reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2026-03-27
AI Technical Summary
Existing laser energy detection devices cannot accurately detect laser energy when abnormalities occur, resulting in a failure to provide timely feedback, which may harm patients.
By acquiring the discharge data from the discharge module and the laser output energy from the laser emission module, abnormal emission parameter values are calculated. Combining the discharge data and the normal distribution of the laser output energy, it is determined whether the output energy of the laser device is abnormal.
It improves the accuracy and reliability of laser energy detection, avoids the need for additional equipment, ensures that laser equipment can be promptly reported and repaired in case of malfunction, and reduces harm to patients.
Smart Images

Figure CN121730973A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of laser technology, in particular to a laser energy detection method, device and storage medium. BACKGROUND
[0002] For the pulsed laser medical device of intravascular ablation, the output laser energy is usually monitored. The device feeds back when the laser energy is abnormally output, thereby reducing the harm of laser to the patient.
[0003] The existing laser energy detection relies on a single detection device to directly detect the output laser energy for abnormal judgment. When the detection device is abnormal, the device cannot detect whether the laser energy is abnormal. SUMMARY
[0004] Therefore, the purpose of the present application is to provide a laser energy detection method, which obtains discharge data and laser output energy, calculates an abnormal radiation parameter value, and determines whether the laser output energy of the laser device is abnormal.
[0005] In the first aspect, the present application provides a laser energy detection method applied to a laser device, the laser device comprising a laser emission module and a discharge module for providing energy to the laser emission module, the discharge module being connected to the laser emission module, and the method comprising:
[0006] controlling the discharge module to provide energy to the laser emission module according to a preset laser emission parameter, so that the laser emission module emits laser;
[0007] obtaining discharge data of the discharge module and obtaining laser output energy of the laser emission module;
[0008] determining an abnormal radiation parameter value of the laser device according to the discharge data and the laser output energy;
[0009] when the abnormal radiation parameter value is greater than a preset radiation parameter value, determining that the laser output energy of the laser device is abnormal.
[0010] In the preferred embodiment of the present application, the discharge module comprises a charge-discharge capacitor, the laser device further comprises a first sampling circuit and a second sampling circuit, one end of the first sampling circuit is electrically connected to the charge-discharge capacitor, the other end is electrically connected to the laser emission module, one end of the second sampling circuit is electrically connected between the first sampling circuit and the charge-discharge capacitor, and the other end is grounded; the discharge data of the discharge module comprises:
[0011] obtaining first voltage sampling data of the first sampling circuit and obtaining second voltage sampling data of the second sampling circuit;
[0012] The first voltage sampling data is used to determine the discharge power of the charge-discharge capacitor, and the discharge data includes the discharge power.
[0013] The second voltage sampling data is used to determine the discharge energy of the charge-discharge capacitor, and the discharge data includes the discharge energy.
[0014] In the preferred embodiment of the present application, the second sampling circuit includes a first voltage dividing resistor and a second voltage dividing resistor connected in series, the first voltage dividing resistor is connected between the charge-discharge capacitor and the second voltage dividing resistor, and the second voltage sampling data is used to determine the discharge energy of the charge-discharge capacitor, including:
[0015] The pre-discharge voltage of the connection point between the first voltage dividing resistor and the second voltage dividing resistor before the discharge of the charge-discharge capacitor is obtained, and the post-discharge voltage of the connection point after the discharge of the charge-discharge capacitor is obtained.
[0016] The discharge energy of the charge-discharge capacitor is calculated according to the pre-discharge voltage and the post-discharge voltage.
[0017] In the preferred embodiment of the present application, the first sampling circuit includes a sampling resistor, both ends of the sampling resistor are electrically connected to the charge-discharge capacitor and the laser emission module, and the first voltage sampling data is used to determine the discharge power of the charge-discharge capacitor, including:
[0018] The first voltage and the second voltage across the sampling resistor are obtained.
[0019] The discharge power of the charge-discharge capacitor is calculated according to the first voltage, the second voltage, and the resistance value of the sampling resistor.
[0020] In the preferred embodiment of the present application, the discharge power of the capacitor is calculated according to the first voltage, the second voltage, and the resistance value of the sampling resistor, including:
[0021] The ratio between the difference between the first voltage and the second voltage and the resistance value of the sampling resistor is calculated, and the ratio is taken as the discharge current of the sampling resistor.
[0022] The product of the first voltage and the discharge current is taken as the discharge power of the charge-discharge capacitor.
[0023] In the preferred embodiment of the present application, the laser device further includes a photodiode and an operational amplifier circuit, one end of the photodiode is grounded, and the other end is electrically connected to the input end of the operational amplifier circuit, the photodiode is arranged on the light path of the laser emitted by the laser emission module, and is used to receive the laser emitted by the laser emission module and convert it into current, and the photodiode is used to obtain the laser output energy of the laser emission module, including:
[0024] The output voltage of the output end of the operational amplifier circuit is obtained.
[0025] According to the correspondence between the output voltage and the laser output energy, the laser output energy corresponding to the output voltage is determined.
[0026] In the preferred embodiment of the present application, the determination of the abnormal emission parameter value of the laser device according to the discharge data and the laser output energy comprises:
[0027] According to the plurality of discharge data obtained through multiple acquisitions, a first average value and a first standard deviation corresponding to the plurality of discharge data are determined; wherein the discharge data comprises discharge energy or discharge power;
[0028] According to the plurality of laser output energies obtained through multiple acquisitions, a second average value and a second standard deviation corresponding to the plurality of laser output energies are determined;
[0029] The discharge data, the laser output energy, the first average value, the first standard deviation, the second average value and the second standard deviation are input into the abnormal parameter calculation formula to obtain the abnormal emission parameter value.
[0030] In the preferred embodiment of the present application, after the determination of the abnormal emission parameter value of the laser device according to the discharge data and the laser output energy, the method further comprises:
[0031] According to the first standard deviation and the second standard deviation, a first tolerance deviation corresponding to the discharge data and a second tolerance deviation corresponding to the laser output energy are determined;
[0032] The first tolerance deviation, the second tolerance deviation, the first average value, the first standard deviation, the second average value and the second standard deviation are input into the abnormal parameter calculation formula to obtain the preset emission parameter value.
[0033] In a second aspect, the embodiments of the present application also provide a laser energy detection device applied to a laser device, the laser device comprising a laser emission module and a discharge module for providing energy to the laser emission module, the discharge module being connected to the laser emission module, and the device comprising:
[0034] An energy control unit, configured to control the discharge module to provide energy to the laser emission module according to a preset laser emission parameter, so that the laser emission module emits laser;
[0035] A data acquisition unit, configured to acquire discharge data of the discharge module and acquire laser output energy of the laser emission module;
[0036] An abnormal parameter acquisition unit, configured to determine an abnormal emission parameter value of the laser device according to the discharge data and the laser output energy;
[0037] An abnormality judgment unit, configured to determine that the laser output energy of the laser device is abnormal when the abnormal emission parameter value is greater than a preset emission parameter value.
[0038] In a third aspect, the embodiments of the present application further provide a computer readable storage medium, which stores computer executable instructions, and the computer executable instructions, when invoked and executed by a processor, cause the processor to implement the laser energy detection method of the first aspect.
[0039] The embodiments of the present application bring the following beneficial effects:
[0040] The embodiments of the present application provide a laser energy detection method, which controls a discharge module to provide energy to a laser emission module according to preset laser emission parameters; acquires discharge data of the discharge module and acquires laser output energy of the laser emission module; determines an abnormal radiation parameter value of the laser device according to the discharge data and the laser output energy; and determines that the laser output energy of the laser device is abnormal when the abnormal radiation parameter value is greater than a preset radiation parameter value. The method, on the basis of the prior art, acquires the discharge data without increasing other devices, avoids an increase in detection cost, and determines whether the output energy of the laser device is abnormal through the discharge data and the laser output energy, which can improve the accuracy and reliability of laser energy detection.
[0041] Other features and advantages of the present application will be described in the following description, or can be learned or determined from the description, or can be known or determined from the description without any doubt, or can be known or determined from the description.
[0042] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the following preferred embodiments are described in detail below, and the accompanying drawings are described as follows. BRIEF DESCRIPTION OF DRAWINGS
[0043] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings needed to be used in the specific embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without any creative labor on the basis of these drawings.
[0044] Figure 1a A flow chart of a laser energy detection method provided by the embodiments of the present application is shown in FIG. 1;
[0045] Figure 1b A structure diagram of a laser device provided by the embodiments of the present application is shown in FIG. 2;
[0046] Figure 2a A flow chart of another laser energy detection method provided by the embodiments of the present application is shown in FIG. 3;
[0047] Figure 2bA circuit schematic diagram of a laser device provided by an embodiment of the present application is shown in FIG. 1.
[0048] Figure 2c A circuit schematic diagram of a laser energy detection module provided by an embodiment of the present application is shown in FIG. 2.
[0049] Figure 3 A flow chart of another laser energy detection method provided by an embodiment of the present application is shown in FIG. 3.
[0050] Figure 4 A structural schematic diagram of a laser energy detection device provided by an embodiment of the present application is shown in FIG. 4. DETAILED DESCRIPTION
[0051] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be described below in detail with reference to the accompanying drawings. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of the present application.
[0052] For a pulsed laser medical device for intravascular ablation, the output laser energy is usually monitored. The device provides feedback when the laser energy is abnormally output, thereby reducing the harm of the laser to the patient. However, the laser energy detection device may be abnormal. If only the output laser energy is relied on, when the detection device is abnormal, the device cannot detect the output laser energy, and thus cannot provide feedback when the laser energy is abnormally output, thereby affecting the patient.
[0053] Therefore, by acquiring the discharge data and the laser output energy, the abnormal radiation parameter value is determined together, and whether the output energy of the laser device is abnormal is determined according to the size of the abnormal radiation parameter value, so that the accuracy and reliability of the laser energy detection are improved.
[0054] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be described below in detail with reference to the accompanying drawings. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of the present application.
[0055] Embodiment 1
[0056] The present application provides a laser energy detection method, which is applied to a laser device. The laser device includes a laser emission module and a discharge module for providing energy for the laser emission module. The discharge module is connected to the laser emission module. Figure 1b A structural schematic diagram of a laser device provided by an embodiment of the present application is shown in FIG. 1.Figure 1b As shown, the laser device further comprises a control module, a sampling module and a laser energy detection module, the laser energy detection module is used to obtain the laser output energy when the laser emission module emits laser, and transmit the laser output energy to the control module. The sampling module is used to collect discharge data, and transmit the discharge data to the control module. The control module is used to set a preset laser emission parameter, control the discharge module to provide energy to the laser emission module, receive the discharge data and the laser output energy, determine an abnormal radiation parameter value of the laser device according to the discharge data and the laser output energy, and determine that the laser output energy of the laser device is abnormal when the abnormal radiation parameter value is greater than a preset radiation parameter value.
[0057] Figure 1a A flowchart of a laser energy detection method provided by an embodiment of the present application is shown in FIG. 4. As shown in FIG. 4, the laser energy detection method can comprise the following steps: Figure 1a
[0058] Step S101: According to a preset laser emission parameter, control the discharge module to provide energy to the laser emission module, so that the laser emission module emits laser.
[0059] The laser emission parameter is used to describe the energy required by the discharge module to provide to the laser emission module. Specifically, the user can input the laser emission parameter to the control module. The laser emission parameter can be a voltage value or an energy value. For example, the discharge module comprises a charge-discharge capacitor, when the user inputs the voltage value to the control module, the control module can set the voltage value as the voltage of the charge-discharge capacitor to charge the charge-discharge capacitor, wherein the charge-discharge capacitor is also called an energy storage capacitor; when the user inputs the energy value to the control module, the control module can convert the energy value to the voltage value according to the corresponding relationship between the energy value and the voltage value, and set the voltage value as the voltage of the charge-discharge capacitor to charge the charge-discharge capacitor. The corresponding relationship between the energy value and the voltage value is determined by the parameters of the laser device, and can be obtained by experimental measurement, for example, 1V=0.1mJ.
[0060] Step S102: Obtain the discharge data of the discharge module, and obtain the laser output energy of the laser emission module.
[0061] The discharge data is used to describe the energy actually output by the discharge module. The discharge data can be discharge energy or discharge power. The laser output energy refers to the energy of the laser when the laser emission module emits the laser. It can be understood that the discharge energy output by the discharge module in the ideal state during the discharge process can be described by the laser emission parameters, but in the actual discharge process, due to energy loss or circuit failure, the actual output energy is different from the laser emission parameters. Specifically, the discharge data of the discharge module can be collected by the sampling module, and the discharge data is sent to the control module. The laser energy detection module receives the laser emitted by the laser emission module, detects the laser output energy of the laser, and sends it to the control module.
[0062] In step S103, the abnormal emission parameter value of the laser device is determined according to the discharge data and the laser output energy.
[0063] The abnormal emission parameter value is used to describe the deviation between the discharge data and the laser output energy and the laser emission parameters. It can be understood that the discharge data and the laser output energy satisfy the normal distribution. The discharge data is input into the corresponding normal distribution formula to obtain the result of the calculation formula, which is the deviation corresponding to the discharge data. The laser output energy is input into the corresponding normal distribution formula to obtain the result of the calculation formula, which is the deviation corresponding to the laser output energy. Either one of the deviation corresponding to the discharge data and the deviation corresponding to the laser output energy can be taken as the abnormal emission parameter value, or the product of the deviation corresponding to the discharge data and the deviation corresponding to the laser output energy can be taken as the abnormal emission parameter value. The discharge data and the laser output energy correspond to different normal distribution formulas.
[0064] In step S104, when the abnormal emission parameter value is greater than the preset emission parameter value, it is determined that the laser output energy of the laser device is abnormal.
[0065] The preset emission parameter value can be set according to the actual situation. For example, when the discharge data and the laser output energy satisfy the normal distribution, a multiple of the standard deviation of the discharge data can be taken as the discharge data, which is input into the corresponding normal distribution formula to obtain the result of the calculation formula. A multiple of the standard deviation of the laser output energy can be taken as the laser output energy, which is input into the corresponding normal distribution formula to obtain the result of the calculation formula. Either one of the results of the two calculation formulas can be taken as the preset emission parameter value, or the product of the results of the two calculation formulas can be taken as the preset emission parameter value.
[0066] The abnormal radiation parameter value is compared with the preset radiation parameter value, when the abnormal radiation parameter value is greater than the preset radiation parameter value, the laser output energy of the laser equipment is abnormal, indicating that the laser equipment is faulty, and the laser equipment needs to be closed and detected and repaired. When the abnormal radiation parameter value is less than or equal to the preset radiation parameter value, the laser output energy of the laser equipment is normal, indicating that the laser equipment is normal.
[0067] The laser energy detection method provided by the embodiment of the application determines the abnormal radiation parameter value by acquiring the discharge data of the discharge module and the laser output energy of the laser emission module, judges whether the output energy of the laser equipment is abnormal through the size of the abnormal radiation parameter value, and improves the accuracy and reliability of laser energy detection.
[0068] Embodiment 2
[0069] The embodiment of the application further provides another laser energy detection method; the method focuses on describing the specific implementation mode of acquiring the discharge data of the discharge module. Figure 2b A circuit schematic diagram of a laser equipment provided by the embodiment of the application is shown in Figure 2b The discharge module includes a charge-discharge capacitor, the sampling module in the laser equipment includes a first sampling circuit and a second sampling circuit, one end of the first sampling circuit is electrically connected with the charge-discharge capacitor, the other end is electrically connected with the laser emission module, one end of the second sampling circuit is electrically connected between the first sampling circuit and the charge-discharge capacitor, and the other end is grounded; the laser emission module includes a xenon lamp, a driver and a switch, wherein the xenon lamp is used for emitting laser, and the driver is used for driving the switch to turn on or turn off the circuit.
[0070] Figure 2a A flow chart of another laser energy detection method provided by the embodiment of the application is shown in Figure 2a The laser energy detection method can include the following steps:
[0071] Step S201, according to a preset laser emission parameter, a discharge module provides energy to a laser emission module, so that the laser emission module emits laser.
[0072] Step S202, first voltage sampling data of a first sampling circuit is acquired, and second voltage sampling data of a second sampling circuit is acquired.
[0073] The first voltage sampling data refers to the voltage value acquired by the first sampling circuit. The second voltage sampling data refers to the voltage value acquired by the second sampling circuit.
[0074] Step S203, the discharge power of the charge-discharge capacitor is determined through the first voltage sampling data, and the discharge data includes the discharge power.
[0075] The discharge power refers to the power of the charge-discharge capacitor in the discharge process. Specifically, the discharge power of the charge-discharge capacitor can be determined by the product of the current and the voltage generated by the charge-discharge capacitor in the discharge process.
[0076] Specifically, the first sampling circuit includes a sampling resistor, and the two ends of the sampling resistor are electrically connected with the charge-discharge capacitor and the laser emitting module respectively. The magnetic induction intensity can be determined by steps A1-A2.
[0077] In step A1, the first voltage and the second voltage at the two ends of the sampling resistor are obtained.
[0078] The first voltage and the second voltage refer to the voltage values at the two ends of the sampling resistor. As shown in FIG. 1, R3 is the sampling resistor, the first voltage refers to the voltage collected at point u1, and the second voltage refers to the voltage collected at point u2. The voltage collected at point u1 is higher than the voltage collected at point u2. The voltage collected at point u1 can be used as the voltage generated by the charge-discharge capacitor in the discharge process. Figure 2b
[0079] In step A2, the discharge power of the charge-discharge capacitor is calculated according to the first voltage, the second voltage, and the resistance value of the sampling resistor.
[0080] Specifically, the difference between the first voltage and the second voltage is calculated, and the ratio between the difference and the resistance value of the sampling resistor is used as the current generated by the charge-discharge capacitor in the discharge process, that is, the discharge current of the sampling resistor. The product of the discharge current and the first voltage is used as the discharge power of the charge-discharge capacitor. The calculation formula is as follows: Pc=u1*(u1-u2) / R3, wherein Pc refers to the discharge power, u1 refers to the first voltage, u2 refers to the second voltage, and R3 refers to the resistance value of the sampling resistor.
[0081] In step S204, the discharge energy of the charge-discharge capacitor is determined by the second voltage sampling data, and the discharge data includes the discharge energy.
[0082] The discharge energy refers to the power of the charge-discharge capacitor in the discharge process. Specifically, the discharge energy of the charge-discharge capacitor can be calculated according to the voltage before discharge and the voltage after discharge. Specifically, the calculation formula is as follows: wherein Wc refers to the discharge energy, c refers to the capacitance value of the charge-discharge capacitor, u 前 refers to the voltage before discharge, and u 后 refers to the voltage after discharge.
[0083] Specifically, the second sampling circuit includes a first voltage dividing resistor and a second voltage dividing resistor connected in series, and the first voltage dividing resistor is connected between the charge-discharge capacitor and the second voltage dividing resistor. The discharge energy can be determined by steps B1-B2.
[0084] Step B1, obtaining the pre-discharge voltage at the connection point between the first voltage dividing resistor and the second voltage dividing resistor before discharging the charge-discharge capacitor, and the post-discharge voltage at the connection point after discharging the charge-discharge capacitor.
[0085] The pre-discharge voltage refers to the voltage value of the charge-discharge capacitor before discharging, and the post-discharge voltage refers to the voltage value of the charge-discharge capacitor after discharging. It can be understood that the voltage generated at the moment when the charge-discharge capacitor starts to discharge may be too high, so the first voltage dividing resistor and the second voltage dividing resistor are used for voltage division, and the voltage collected at the connection point between the first voltage dividing resistor and the second voltage dividing resistor is taken as the voltage of the charge-discharge capacitor, that is Figure 2b The pre-discharge voltage and the post-discharge voltage are collected at the point u between R1 and R2 as shown in FIG. 1.
[0086] The pre-discharge voltage before discharging the charge-discharge capacitor and the post-discharge voltage after discharging the charge-discharge capacitor are measured at the connection point between the first voltage dividing resistor and the second voltage dividing resistor.
[0087] Step B2, calculating the discharge energy of the charge-discharge capacitor according to the pre-discharge voltage and the post-discharge voltage.
[0088] Specifically, the pre-discharge voltage and the post-discharge voltage are input into the calculation formula of the discharge energy to obtain the calculation result, that is, the discharge energy.
[0089] Step S205, obtaining the laser output energy of the laser emitting module.
[0090] Specifically, Figure 2c A circuit schematic diagram of a laser energy detection module provided by an embodiment of the present application is shown in FIG. 2. Figure 2c As shown in FIG. 2, the laser energy detection module in the laser device further includes a photodiode and an operational amplifier circuit. One end of the photodiode is grounded, and the other end is electrically connected to the input end of the operational amplifier circuit. The photodiode is arranged on the light path of the laser emitted by the laser emitting module, and is used to receive the laser emitted by the laser emitting module and convert it into an electric current. Wherein, REF refers to a reference voltage, and OP refers to an operational amplifier in the operational amplifier circuit. Figure 2b When the xenon lamp in the laser device emits laser, the photodiode is turned on and generates an electric current after the laser irradiates the photodiode. The electric current flows into the input end of the operational amplifier circuit, and the operational amplifier circuit converts the electric current into a voltage. The laser output energy can be determined through steps C1-C2.
[0091] Step C1, obtaining the output voltage of the output end of the operational amplifier circuit.
[0092] The output voltage refers to the voltage of the output end of the operational amplifier circuit. The output voltage is measured from the output end of the operational amplifier circuit.
[0093] Step C2, determining the laser output energy corresponding to the output voltage according to the correspondence between the output voltage and the laser output energy.
[0094] Inquiring the correspondence between the output voltage and the laser output energy to convert the output voltage into the laser output energy. For example, when the correspondence between the output voltage and the laser output energy is 1V=0.05J, the measured output voltage is 50V, and the corresponding laser output energy is 0.5J.
[0095] Step S206, determining the abnormal emission parameter value of the laser device according to the discharge data and the laser output energy.
[0096] Step S207, determining that the laser output energy of the laser device is abnormal when the abnormal emission parameter value is greater than the preset emission parameter value.
[0097] The laser energy detection method provided by the embodiment of the present application can obtain discharge data from different angles by acquiring discharge power through the first sampling circuit and acquiring discharge energy through the second sampling circuit, improve the flexibility and diversity of the discharge data acquisition, and thus increase the flexibility of the abnormal emission parameter value determination according to the discharge data and the laser output energy. In the detection process, if the first sampling circuit or the second sampling circuit fails, discharge data can still be obtained, and the reliability of the energy detection is improved.
[0098] Embodiment 3
[0099] The embodiment of the present application also provides another laser energy detection method; the method mainly describes the specific implementation mode of determining the abnormal emission parameter value of the laser device according to the discharge data and the laser output energy.
[0100] Figure 3 The flowchart of another laser energy detection method provided by the embodiment of the present application is shown in Figure 3 The laser energy detection method can include the following steps:
[0101] Step S301, controlling the discharge module to provide energy to the laser emission module according to the preset laser emission parameter, so that the laser emission module emits laser.
[0102] Step S302, acquiring discharge data of the discharge module and acquiring laser output energy of the laser emission module.
[0103] Step S303, determining a first average value and a first standard deviation corresponding to a plurality of discharge data obtained by a plurality of times of acquisition.
[0104] The discharge data includes discharge energy or discharge power. In the embodiment, the laser device further includes a temperature acquisition device configured to acquire a temperature of the laser emission module at the current time. The plurality of discharge data acquired multiple times can be acquired in advance under the same condition as the temperature at the current time before the laser device is shipped. The first average value refers to an average value of the plurality of discharge data acquired, and the first standard deviation refers to a standard deviation of the plurality of discharge data acquired. Specifically, when the discharge data is the discharge energy, the discharge energy of the discharge module is acquired multiple times for the same preset laser emission parameter to obtain a plurality of discharge energies. An average value of the plurality of discharge energies is calculated as the first average value according to an average value calculation formula, and a standard deviation of the plurality of discharge energies is calculated as the first standard deviation according to a standard deviation calculation formula. When the discharge data is the discharge power, the discharge power of the discharge module is acquired multiple times for the same preset laser emission parameter to obtain a plurality of discharge powers. An average value of the plurality of discharge powers is calculated as the first average value according to the average value calculation formula, and a standard deviation of the plurality of discharge powers is calculated as the first standard deviation according to the standard deviation calculation formula.
[0105] In step S304, a second average value and a second standard deviation corresponding to the plurality of laser output energies acquired multiple times are determined.
[0106] In the embodiment, the plurality of laser output energies acquired multiple times can be acquired in advance under the same condition as the temperature at the current time before the laser device is shipped. The second average value refers to an average value of the plurality of laser output energies acquired, and the second standard deviation refers to a standard deviation of the plurality of laser output energies acquired. Specifically, the laser output energy of the laser emission module is acquired multiple times for the same preset laser emission parameter to obtain a plurality of laser output energies. An average value of the plurality of laser output energies is calculated as the second average value according to an average value calculation formula, and a standard deviation of the plurality of laser output energies is calculated as the second standard deviation according to a standard deviation calculation formula.
[0107] In another implementable manner, the first average value, the first standard deviation, the second average value, and the second standard deviation can also be directly obtained by looking up a table. It can be understood that if the preset laser emission parameters of the laser device are different, it indicates that the laser device needs to output laser of different energy levels, and the corresponding first average value, first standard deviation, second average value, and second standard deviation are different. For example, the laser device has two levels of output energy, that is, the preset laser emission parameters are 30 mJ or 40 mJ. According to multiple measurements, the first average value μ wc of the discharge data corresponding to 30 mJ is 2.25, the first standard deviation σ wc is 0.02, the second average value μ wl of the laser output energy is 30.5, and the second standard deviation σwl = 0.29. 40mJ corresponds to the first average value μ wc = 2.92, the first standard deviation σ wc = 0.02, the second average value μ wl = 40.3, the second standard deviation σ wl = 0.38. In addition, the temperature of the laser emission module in the laser device also has an impact on the first average value, the first standard deviation, the second average value and the second standard deviation under the same preset laser emission parameters. For example, if the laser emission module can work at 25-35℃, the temperature interval between 25℃ and 35℃ can be divided into multiple temperature units, and the first average value, the first standard deviation, the second average value and the second standard deviation corresponding to each temperature unit are determined respectively, and then according to the temperature of the laser emission module at the current time, the first average value, the first standard deviation, the second average value and the second standard deviation corresponding to the current temperature and the preset laser emission parameters are queried from the table.
[0108] In step S305, the discharge data, the laser output energy, the first average value, the first standard deviation, the second average value and the second standard deviation are input into the abnormal parameter calculation formula to obtain the abnormal radiation parameter value.
[0109] In the present application, the discharge data and the laser output energy satisfy the normal distribution, therefore, the normal distribution formula of the discharge data is wherein Wc(x) is the normal distribution of the discharge data, x is the discharge data, σ wc is the first standard deviation, μ wc is the first average value. The normal distribution formula of the laser output energy is wherein Wl(y) is the normal distribution of the laser output energy, y is the laser output energy, σ Wl is the second standard deviation, μ Wl is the second average value. It can be understood that when the discharge module outputs a fixed energy, if the output energy deviates too much from the preset value, it indicates that the laser emission is abnormal. On the other hand, the energy released by the discharge module is converted into laser through electro-optical conversion, therefore, under normal circumstances, the energy released by the discharge module corresponds to the laser energy, and if the energy deviation is relatively large, it indicates that an abnormality occurs. Therefore, in the present application, the normal distribution formula satisfied by the discharge data and the laser output energy is:
[0110] Z(x, y) can be taken as the abnormal parameter calculation formula, and the exponential part in Z(x, y) can be taken as the abnormal parameter calculation formula. That is, the abnormal parameter calculation formula is updated to
[0111] Specifically, the discharge data, the laser output energy, the first average value, the first standard deviation, the second average value and the second standard deviation are input into the abnormal parameter calculation formula, and the obtained Z value is taken as the abnormal emission parameter value.
[0112] In step S306, when the abnormal emission parameter value is greater than the preset emission parameter value, it is determined that the laser output energy of the laser device is abnormal.
[0113] In step S307, according to the first standard deviation and the second standard deviation, the first tolerance deviation corresponding to the discharge data and the second tolerance deviation corresponding to the laser output energy are determined.
[0114] The first tolerance deviation is used to describe the maximum value or the minimum value of the discharge data when the laser output energy is normal, and the second tolerance deviation is used to describe the maximum value or the minimum value of the laser output energy when the laser output energy is normal. Specifically, an integer multiple of the first standard deviation can be taken as the first tolerance deviation. An integer multiple of the second standard deviation can be taken as the second tolerance deviation. The multiple of the first standard deviation and the multiple of the second standard deviation can be set to the same value according to actual conditions. For example, the first standard deviation is a, the first tolerance deviation is 2a, the second standard deviation is b, and the second tolerance deviation is 2b.
[0115] In step S308, the first tolerance deviation, the second tolerance deviation, the first average value, the first standard deviation, the second average value and the second standard deviation are input into the abnormal parameter calculation formula to obtain the preset emission parameter value.
[0116] The first tolerance deviation is taken as the discharge data, the second tolerance deviation is taken as the laser output energy, the first average value, the first standard deviation, the second average value and the second standard deviation are input into the abnormal parameter calculation formula, and the obtained calculation result is taken as the preset emission parameter value. For example, 2σ wc is set as the first tolerance deviation, 2σ Wl is set as the second tolerance deviation, 2σ wc is taken as x, 2σ Wl is taken as y, and input into , Z(x, y) = 4 is obtained, so 4 is taken as the preset emission parameter value.
[0117] In step S309, when the abnormal emission parameter value is greater than the preset emission parameter value, it is determined that the laser output energy of the laser device is abnormal.
[0118] The laser energy detection method provided by the embodiment of the application determines the abnormal parameter calculation formula by the discharge data and the laser output energy, determines the abnormal emission parameter according to the abnormal parameter calculation formula, and can improve the accuracy of laser energy detection.
[0119] Embodiment 4
[0120] Corresponding to the above method embodiments, the embodiments of the present application provide a laser energy detection device, Figure 4 A structure diagram of a laser energy detection device provided by the embodiments of the present application is shown in the figure. The device is applied to a laser device, which includes a laser emission module and a discharge module for providing energy for the laser emission module. The discharge module is connected with the laser emission module, as shown in the figure. The laser energy detection device can include: Figure 4
[0121] An energy control unit 401 is configured to control the discharge module to provide energy for the laser emission module according to preset laser emission parameters, so that the laser emission module emits laser.
[0122] A data acquisition unit 402 is configured to acquire discharge data of the discharge module and acquire laser output energy of the laser emission module.
[0123] An abnormal parameter acquisition unit 403 is configured to determine an abnormal radiation parameter value of the laser device according to the discharge data and the laser output energy.
[0124] An abnormality judgment unit 404 is configured to determine that the laser output energy of the laser device is abnormal when the abnormal radiation parameter value is greater than a preset radiation parameter value.
[0125] The laser energy detection method provided by the embodiments of the present application determines the abnormal radiation parameter value by acquiring the discharge data of the discharge module and the laser output energy of the laser emission module. Whether the output energy of the laser device is abnormal is determined by the size of the abnormal radiation parameter value, which improves the accuracy and reliability of laser energy detection.
[0126] In some embodiments, the discharge module includes a charge-discharge capacitor, and the laser device further includes a first sampling circuit and a second sampling circuit. One end of the first sampling circuit is electrically connected with the charge-discharge capacitor, and the other end is electrically connected with the laser emission module. One end of the second sampling circuit is electrically connected between the first sampling circuit and the charge-discharge capacitor, and the other end is grounded. The data acquisition unit includes:
[0127] A sampling subunit is configured to acquire first voltage sampling data of the first sampling circuit and acquire second voltage sampling data of the second sampling circuit.
[0128] A discharge power determination subunit is configured to determine a discharge power of the discharge capacitor by the first voltage sampling data. The discharge data includes the discharge power.
[0129] A discharge energy determination subunit is configured to determine a discharge energy of the discharge capacitor by the second voltage sampling data. The discharge data includes the discharge energy.
[0130] In some embodiments, the second sampling circuit includes a first voltage dividing resistor and a second voltage dividing resistor connected in series, the first voltage dividing resistor being connected between the charge-discharge capacitor and the second voltage dividing resistor, a discharge energy determination subunit, specifically configured to:
[0131] obtain a pre-discharge voltage of a connection point between the first voltage dividing resistor and the second voltage dividing resistor before the discharge of the charge-discharge capacitor, and a post-discharge voltage of the connection point after the discharge of the charge-discharge capacitor;
[0132] calculate the discharge energy of the charge-discharge capacitor according to the pre-discharge voltage and the post-discharge voltage.
[0133] In some embodiments, the first sampling circuit includes a sampling resistor, two ends of the sampling resistor being electrically connected with the charge-discharge capacitor and the laser emitting module respectively, a discharge power determination subunit, specifically configured to:
[0134] obtain a first voltage and a second voltage across the sampling resistor;
[0135] calculate the discharge power of the charge-discharge capacitor according to the first voltage, the second voltage and a resistance value of the sampling resistor.
[0136] In some embodiments, the discharge power determination subunit is further configured to:
[0137] calculate a ratio between a difference between the first voltage and the second voltage and the resistance value of the sampling resistor, and take the ratio as a discharge current of the sampling resistor;
[0138] take a product of the first voltage and the discharge current as the discharge power of the charge-discharge capacitor.
[0139] In some embodiments, the laser device further includes a photodiode and an operational amplifier circuit, one end of the photodiode being grounded, the other end being electrically connected with an input end of the operational amplifier circuit, the photodiode being arranged on a light path of laser emitted by the laser emitting module, for receiving the laser emitted by the laser emitting module and converting the laser into a current, and a data acquisition unit, including:
[0140] a voltage acquisition subunit configured to acquire an output voltage of an output end of the operational amplifier circuit;
[0141] a conversion subunit configured to determine a laser output energy corresponding to the output voltage according to a corresponding relationship between the output voltage and the laser output energy.
[0142] In some embodiments, the abnormal parameter acquisition unit is specifically configured to:
[0143] determine a first average value and a first standard deviation corresponding to a plurality of discharge data obtained through a plurality of acquisitions, wherein the discharge data includes discharge energy or discharge power;
[0144] According to the plurality of laser output energies collected for multiple times, the second average value and the second standard deviation corresponding to the plurality of laser output energies are determined.
[0145] The discharge data, the laser output energy, the first average value, the first standard deviation, the second average value and the second standard deviation are input into the abnormal parameter calculation formula to obtain an abnormal radiation parameter value.
[0146] In some embodiments, the apparatus further comprises:
[0147] The tolerance deviation determination unit is configured to determine, according to the first standard deviation and the second standard deviation, a first tolerance deviation corresponding to the discharge data and a second tolerance deviation corresponding to the laser output energy.
[0148] The preset radiation parameter value determination unit is configured to input the first tolerance deviation, the second tolerance deviation, the first average value, the first standard deviation, the second average value and the second standard deviation into the abnormal parameter calculation formula to obtain a preset radiation parameter value.
[0149] The apparatus provided by the embodiments of the present application has the same implementation principle and technical effects as the foregoing method embodiments, and for brevity of description, the part not mentioned in the apparatus embodiment can be referred to the corresponding content in the foregoing method embodiments.
[0150] Embodiment 5
[0151] The embodiments of the present application further provide a computer readable storage medium storing computer executable instructions, the computer executable instructions, when called and executed by a processor, cause the processor to implement the foregoing laser energy detection method, and the specific implementation can be referred to the method embodiments, which will not be described herein again.
[0152] The computer program product for performing the laser energy detection method provided by the embodiments of the present application comprises a computer readable storage medium storing non-volatile program codes executable by a processor, and the instructions included in the program codes can be used to execute the method in the foregoing method embodiments, and the specific implementation can be referred to the method embodiments, which will not be described herein again.
[0153] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, apparatus and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be described herein again.
[0154] In several embodiments provided by the present application, it should be understood that the disclosed system, device and method can be implemented in other manners. The described device embodiments are merely schematic, and for example, the division of the units is only a logical function division, and there can be another division manner in actual implementation; for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between different units, or the among different units, can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electric, mechanical or other forms.
[0155] The units described as separated components can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. In actual implementation, some or all of the units can be selected according to the actual needs to achieve the purposes of the embodiments of the present application.
[0156] In addition, each function unit in the various embodiments of the present application can be integrated in one processing unit, or each unit can exist physically as a separate unit, or two or more units can be integrated in one unit.
[0157] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art, or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and various media that can store program codes.
[0158] Finally, it should be noted that the above-described embodiments are merely specific embodiments of the present application, which are used to illustrate the technical solutions of the present application, but not to limit the present application, and the protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still make modifications or easily think of changes to the technical solutions recorded in the foregoing embodiments, or make equivalent replacements to some technical features therein, within the technical range disclosed by the present application. The modifications, changes or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A laser energy detection method, characterized in that, An application to a laser device, the laser device including a laser emitting module and a discharge module for providing energy to the laser emitting module, the discharge module being connected to the laser emitting module, the method comprising: According to preset laser emission parameters, the discharge module is controlled to provide energy to the laser emission module, so that the laser emission module emits laser light; Acquire the discharge data of the discharge module and the laser output energy of the laser emission module; Based on the discharge data and the laser output energy, the abnormal emission parameter values of the laser device are determined; When the abnormal radiation parameter value is greater than the preset radiation parameter value, the laser output energy of the laser device is determined to be abnormal.
2. The method according to claim 1, characterized in that, The discharge module includes a charging / discharging capacitor, and the laser device further includes a first sampling circuit and a second sampling circuit. One end of the first sampling circuit is electrically connected to the charging / discharging capacitor, and the other end is electrically connected to the laser emitting module. One end of the second sampling circuit is electrically connected between the first sampling circuit and the charging / discharging capacitor, and the other end is grounded. Acquiring the discharge data of the discharge module includes: Acquire the first voltage sampling data of the first sampling circuit, and acquire the second voltage sampling data of the second sampling circuit; The discharge power of the discharge capacitor is determined using the first voltage sampling data, and the discharge data includes the discharge power. The discharge energy of the discharge capacitor is determined using the second voltage sampling data, and the discharge data includes the discharge energy.
3. The method according to claim 2, characterized in that, The second sampling circuit includes a first voltage divider resistor and a second voltage divider resistor connected in series. The first voltage divider resistor is connected between the charging / discharging capacitor and the second voltage divider resistor. Determining the discharge energy of the discharge capacitor through the second voltage sampling data includes: Obtain the voltage at the connection point between the first voltage divider resistor and the second voltage divider resistor before the charging and discharging capacitor discharges, and the voltage at the connection point after the charging and discharging capacitor discharges. The discharge energy of the charging and discharging capacitor is calculated based on the voltage before discharge and the voltage after discharge.
4. The method according to claim 2, characterized in that, The first sampling circuit includes a sampling resistor, the two ends of which are electrically connected to the charging / discharging capacitor and the laser emitting module, respectively. Determining the discharge power of the charging / discharging capacitor using the first voltage sampling data includes: Obtain the first voltage and the second voltage across the sampling resistor; The discharge power of the charging and discharging capacitor is calculated based on the first voltage, the second voltage, and the resistance value of the sampling resistor.
5. The method according to claim 4, characterized in that, The step of calculating the discharge power of the capacitor based on the first voltage, the second voltage, and the resistance value of the sampling resistor includes: Based on the difference between the first voltage and the second voltage, the ratio between the difference and the resistance value of the sampling resistor is calculated and used as the discharge current of the sampling resistor; The product of the first voltage and the discharge current is used as the discharge power of the charging and discharging capacitor.
6. The method according to claim 1, characterized in that, The laser device further includes a photodiode and an operational amplifier circuit. One end of the photodiode is grounded, and the other end is electrically connected to the input terminal of the operational amplifier circuit. The photodiode is positioned in the optical path of the laser emitted by the laser emitting module and is used to receive the laser emitted by the laser emitting module and convert it into current. Obtaining the laser output energy of the laser emitting module includes: Obtain the output voltage at the output terminal of the operational amplifier circuit; Based on the correspondence between the output voltage and the laser output energy, the laser output energy corresponding to the output voltage is determined.
7. The method according to claim 1, characterized in that, The step of determining the abnormal emission parameter values of the laser device based on the discharge data and the laser output energy includes: Based on multiple discharge data collected from multiple sources, a first average value and a first standard deviation corresponding to the multiple discharge data are determined; wherein, the discharge data includes discharge energy or discharge power; Based on the multiple laser output energies obtained from multiple acquisitions, determine the second average value and the second standard deviation corresponding to the multiple laser output energies; The discharge data, the laser output energy, the first average value, the first standard deviation, the second average value, and the second standard deviation are input into the abnormal parameter calculation formula to obtain the abnormal radiation parameter value.
8. The method according to claim 7, characterized in that, After determining the abnormal emission parameter values of the laser device based on the discharge data and the laser output energy, the method further includes: Based on the first standard deviation and the second standard deviation, determine the first tolerance deviation corresponding to the discharge data and the second tolerance deviation corresponding to the laser output energy; The first tolerance deviation, the second tolerance deviation, the first average value, the first standard deviation, the second average value, and the second standard deviation are input into the abnormal parameter calculation formula to obtain the preset radiation parameter value.
9. A laser energy detection device, characterized in that, An apparatus for use in laser devices, the laser devices including a laser emitting module and a discharge module for providing energy to the laser emitting module, the discharge module being connected to the laser emitting module, the apparatus comprising: An energy control unit is used to control the discharge module to provide energy to the laser emission module according to preset laser emission parameters, so that the laser emission module emits laser light; The data acquisition unit is used to acquire the discharge data of the discharge module and the laser output energy of the laser emission module; An abnormal parameter acquisition unit is used to determine the abnormal emission parameter values of the laser device based on the discharge data and the laser output energy. An anomaly detection unit is used to determine that the laser output energy of the laser device is abnormal when the abnormal radiation parameter value is greater than the preset radiation parameter value.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the laser energy detection method according to any one of claims 1 to 8.