Automatic power control circuit and method
Through the automatic power control circuit, the pulse parameters are adjusted according to the forward conduction voltage of the laser diode, which solves the problem of unstable transmit power under the influence of temperature in the DTOF method, achieves low-cost and convenient power maintenance, and simplifies the circuit design.
Patent Information
- Application Number
- CN202210988442.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-03-29
- Filing Date
- 2022-08-17
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-08-17
AI Technical Summary
The DTOF laser ranging method is sensitive to temperature, resulting in unstable transmit power. The existing technology requires adjusting the driving current to control the power, resulting in complex circuits and high costs.
An automatic power control circuit is used to obtain the forward conduction voltage of the laser diode through the voltage measurement unit. The processor adjusts the pulse parameters of the laser pulse, such as pulse number, period and duty cycle, to keep the transmit power within the preset range and avoid direct adjustment. drive current.
It realizes the adaptive adjustment of the pulse parameters of the laser diode according to the temperature change, keeps the emission power stable, reduces the cost and circuit complexity, and avoids the complexity of real-time adjustment of the driving current.
Smart Images

Figure CN115357089B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of laser ranging, and in particular to an automatic power control circuit and method for a laser diode. Background Art
[0002] Using laser to measure distance is already a mature technology, which usually includes the indirect time of flight (ITOF) method for measuring phase difference and the direct time of flight (DTOF) method for measuring time. The DTOF method is to detect the distance between the distance measuring device and the object by emitting a short pulse of light and then measuring the time required for the emitted light to return. Compared with the ITOF method, the transmitting end of the DTOF usually uses a short pulse laser of nanosecond or even picosecond level, and the detector is required to respond immediately when the photon arrives. The DTOF method has the advantages of accurate measurement, fast response, low power consumption, and accurate synchronous detection of multiple objects, but the DTOF method is also highly sensitive to temperature. That is, the DTOF method is easily affected by temperature. When the ambient temperature changes, the transmission power of the distance measuring device will change with the temperature, thereby affecting the accuracy of the DTOF distance measurement. For example, the internal resistance in the distance measuring device is usually a negative temperature coefficient. Under the same power supply, the internal resistance value is inversely proportional to the temperature, so that the driving current flowing through the internal resistance is proportional to the temperature, which causes the driving current to gradually increase with the increase of temperature.
[0003] To solve the problem of unstable transmission power caused by temperature, the prior art generally controls the transmission power to remain constant by adjusting the magnitude of the driving current.
[0004] Figure 1 FIG. 1 shows a schematic diagram of the structure of a laser head end used for laser ranging in the prior art. Figure 1As shown, the laser head 100 includes a laser diode (LD, Laser Diode) 101 and a photodiode (PD, Photo Diode) 102. One end of LD 101 and PD 102 share the same positive voltage, the other end of PD 102 is connected to a driver manager 103, and the other end of LD 101 is connected to a laser diode driver 104. Among them, LD 101 is used to emit laser, and PD 102 detects the luminous intensity of LD 101. The stronger the light emitted by LD 101, the greater the current output by PD 102, and the weaker the light emitted by LD 101, the smaller the current output by PD 102. The change of the current output by PD 102 will cause the output voltage of the driver manager 103 to change, and then control the voltage of the laser diode driver 104, which will cause the voltage drop across LD 101 to change, thereby adjusting the current flowing through LD 101. For example, at 25 degrees Celsius, the emission power of the laser diode is 4mW, and the required driving current of the laser diode is 20mA, that is, the target value of the driving current is set to 20mA. At 50 degrees Celsius, if the driving current of the laser diode is not adjusted, the emission power may be only 0.2mW, which will result in poor luminous efficiency. In this case, in order to still maintain the emission power at 4mW, it is necessary to increase the target value / set value of the driving current of the laser diode to 24mA. In order to change the target value / set value of the driving current, it is necessary to change the circuit parameters of the driving circuit of the laser diode LD, which will change the optical properties of the laser emitted by the laser diode LD and will also complicate subsequent calculations. In addition, current DTOF methods usually require PD and further amplifiers, which further leads to complex circuits and high costs. Summary of the invention
[0005] In order to solve the above technical problems, the embodiments of the present disclosure provide an automatic power control circuit and method for a laser diode. The automatic power control circuit adaptively adjusts the pulse parameters of the laser pulse of the laser diode according to the forward conduction voltage of the laser diode. The pulse parameters of the laser pulse of the laser diode are used to set the total pulse duration within a predetermined time period, so that the laser emission power is maintained within a preset range. The automatic power control circuit does not need to set a photodiode PD, and can achieve the effect of adaptively adjusting the pulse parameters according to temperature changes to maintain the emission power stable without changing the drive current setting value of the laser diode.
[0006] According to an embodiment of the present disclosure, an automatic power control circuit is provided, comprising: a voltage measuring unit, configured to obtain an indication voltage at a specific measurement point, wherein the indication voltage is used to indicate the forward conduction voltage of the laser diode, and output the indication voltage; and a processor, configured to output a pulse parameter control signal in response to the indication voltage, wherein the pulse parameter control signal is used to control the adjustment of the pulse parameters of the laser pulse of the laser diode so as to keep the laser emission power within a preset range, wherein the pulse parameters of the laser pulse of the laser diode are used to set the total pulse duration within a predetermined time period.
[0007] According to an embodiment of the present disclosure, the automatic power control circuit further includes: a power control unit connected to the processor and the laser diode, and configured to adjust the pulse parameters of the laser pulse of the laser diode according to the pulse parameter control signal output by the processor.
[0008] According to an embodiment of the present disclosure, the pulse parameters of the laser pulse of the laser diode include at least one of the number of pulses, the pulse period and the duty cycle.
[0009] According to an embodiment of the present disclosure, when the pulse parameter includes the pulse number, the processor is further configured to output a pulse parameter control signal for reducing the pulse number in response to an increase in the value of the forward conduction voltage.
[0010] According to an embodiment of the present disclosure, when the pulse parameter includes the pulse number, the processor is further configured to output a pulse parameter control signal for increasing the pulse number in response to a decrease in the value of the forward conduction voltage.
[0011] According to an embodiment of the present disclosure, the total pulse duration is set by any one of the following: in the case of a predetermined pulse period and a predetermined duty cycle, the number of pulses of the laser pulse within a predetermined time period is set; and in the case of a predetermined number of pulses, the pulse period and duty cycle of the laser pulse within a predetermined time period are set.
[0012] According to an embodiment of the present disclosure, within a predetermined time period, the pulse period and duty cycle of the laser pulse are maintained, and the number of pulses of the laser pulse is adjusted so that the product of the total pulse duration and the effective drive current remains within a preset threshold range, wherein the total pulse duration is equal to the product of the number of pulses and the pulse duration of each laser pulse, and the effective drive current is equal to the difference between the drive current flowing through the laser diode and the threshold current of the laser diode.
[0013] According to an embodiment of the present disclosure, the power control unit includes: a plurality of switches, one end of each of the plurality of switches is connected to the cathode of the laser diode, and the other end of each switch is grounded; a driving current selection module, configured to provide a plurality of current control outputs corresponding to the plurality of switches one by one to control the current flowing through the laser diode; a pulse time control module, configured to provide a plurality of time control outputs corresponding to the plurality of switches one by one to control the turn-on duration of the laser diode; and a logic gate module, including a plurality of logic gates corresponding to the plurality of switches one by one, each logic gate receiving a current control output and a time control output corresponding to it to control the conduction or shutoff of the corresponding switch.
[0014] According to an embodiment of the present disclosure, the pulse time control module is configured to control the duration of at least one of the multiple time control outputs being at a high level or a low level according to the pulse parameter control signal of the processor.
[0015] According to an embodiment of the present disclosure, a plurality of time control outputs corresponding one-to-one to the plurality of switches provide the same time control output signal.
[0016] According to an embodiment of the present disclosure, the processor is also configured to output a drive current setting value before the laser diode emits a laser pulse to control the drive current flowing through the laser diode; the drive current selection module is configured to control at least one of the multiple current control outputs to be high or low according to the drive current setting value of the processor; and the processor is also configured to keep the drive current setting value unchanged after the laser diode emits a laser pulse and output the pulse parameter control signal; the pulse time control module is configured to control the duration of the time control output corresponding to the set drive current among the multiple time control outputs to be high or low according to the pulse parameter control signal.
[0017] According to an embodiment of the present disclosure, the voltage measurement unit includes an analog measurement part and an analog-to-digital converter, the analog measurement part is connected to the specific measurement point and measures the analog voltage signal at the specific measurement point; and the analog-to-digital converter converts the analog voltage signal measured by the analog measurement part into a digital voltage signal, and provides the digital voltage signal as the indication voltage to the processor.
[0018] According to an embodiment of the present disclosure, the analog measurement part in the voltage measurement unit is connected to the cathode of the laser diode, and measures the analog voltage signal at the cathode of the laser diode; the analog-to-digital converter converts the measured analog voltage signal at the cathode of the laser diode into a digital voltage signal, and provides the digital voltage signal as the indication voltage to the processor; the processor determines the forward conduction voltage of the laser diode based on the digital voltage signal.
[0019] According to an embodiment of the present disclosure, the automatic power control circuit is not provided with a photodiode.
[0020] According to an embodiment of the present disclosure, an automatic power control method is also provided, comprising: obtaining an indication voltage at a specific measurement point, the indication voltage being used to indicate the forward conduction voltage of the laser diode; and in response to the indication voltage, outputting a pulse parameter control signal, the pulse parameter control signal being used to control the adjustment of the pulse parameters of the laser pulse of the laser diode so as to keep the laser emission power within a preset range, wherein the pulse parameters of the laser pulse of the laser diode are used to set the total pulse duration within a predetermined time period.
[0021] According to an embodiment of the present disclosure, the pulse parameter includes at least one of the number of pulses, the pulse period and the duty cycle.
[0022] According to an embodiment of the present disclosure, the total pulse duration is set by any one of the following: in the case of a predetermined pulse period and a predetermined duty cycle, setting the number of pulses of the laser pulse within a predetermined time period; and in the case of a predetermined number of pulses, setting the pulse period and duty cycle of the laser pulse.
[0023] According to an embodiment of the present disclosure, when the pulse parameter includes the pulse number, in response to an increase in the value of the forward conduction voltage, a pulse parameter control signal for reducing the pulse number is output.
[0024] According to an embodiment of the present disclosure, when the pulse parameter includes the pulse number, in response to a decrease in the value of the forward conduction voltage, a pulse parameter control signal for increasing the pulse number is output.
[0025] According to an embodiment of the present disclosure, the automatic power control method also includes: before the laser diode emits a laser pulse, outputting a drive current setting value to control the drive current flowing through the laser diode; and after the laser diode emits a laser pulse, maintaining the drive current setting value unchanged, and in response to the indication voltage, adjusting the pulse parameters of the laser pulse of the laser diode to set the total pulse duration within a predetermined time period, thereby maintaining the laser emission power within a preset range.
[0026] By adopting the automatic power control circuit and method disclosed in the present invention, there is no need to set up a photodiode PD, and the pulse parameters of the laser pulse of the laser diode can be adaptively adjusted according to temperature changes, rather than directly adjusting the driving current setting value of the laser diode as in the prior art, thereby achieving the effect of maintaining the emission power stable at a low cost and conveniently. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some exemplary embodiments of the present disclosure, and a person of ordinary skill in the art can obtain other drawings based on these drawings without creative work.
[0028] Figure 1 A schematic diagram of the internal structure of a laser semiconductor head in the prior art;
[0029] Figure 2 A schematic diagram of an automatic power control circuit provided for at least one embodiment of the present disclosure;
[0030] Figure 3 A schematic diagram of another automatic power control circuit provided for at least one embodiment of the present disclosure;
[0031] Figure 4 A schematic diagram of a power control unit in an automatic power control circuit provided by at least one embodiment of the present disclosure;
[0032] Figure 5 A flowchart of an automatic power control method provided for at least one embodiment of the present disclosure;
[0033] Figure 6 A schematic diagram of a laser waveform of a laser diode provided for at least one embodiment of the present disclosure. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0035] Unless otherwise defined, technical or scientific terms used in the present disclosure should have the common meanings understood by a person having ordinary skills in the field to which the present disclosure belongs.
[0036] The words "a", "an" or "the" and the like used in the present disclosure do not indicate a quantitative limitation, but indicate the presence of at least one. The words "include" or "comprise" and the like mean that the element or object preceding the word includes the elements or objects listed after the word and their equivalents, without excluding other elements or objects. The words "connect" or "connected" and the like are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
[0037] At least one embodiment of the present disclosure provides an automatic power control circuit for a laser diode, comprising: a voltage measuring unit, configured to obtain an indication voltage at a specific measurement point, wherein the indication voltage is used to indicate the forward conduction voltage of the laser diode, and output the indication voltage to a processor; and a processor, configured to output a pulse parameter control signal in response to a change in the indication voltage, wherein the pulse parameter control signal is used to control the adjustment of the pulse parameters of the laser pulse of the laser diode so that the laser emission power is maintained within a preset range, wherein the pulse parameters of the laser pulse of the laser diode are used to set the total pulse duration within a predetermined time period.
[0038] At least one embodiment of the present disclosure also provides an automatic power control method for a laser diode, comprising: obtaining an indication voltage at a specific measurement point, wherein the indication voltage is used to indicate the forward conduction voltage of the laser diode; and in response to the indication voltage, outputting a pulse parameter control signal, wherein the pulse parameter control signal is used to control the adjustment of the pulse parameters of the laser pulse of the laser diode so that the laser emission power is maintained within a preset range, wherein the pulse parameters of the laser pulse of the laser diode are used to set the total pulse duration within a predetermined time period.
[0039] By adopting the automatic power control circuit and method for laser diodes disclosed in the present invention, it is not necessary to set a photodiode PD, and the pulse parameters of the laser pulse of the laser diode can be adjusted adaptively according to the temperature change, so as to achieve the effect of maintaining the emission power stable at low cost without adjusting the setting value of the driving current of the laser diode in real time during operation. That is to say, in operation, once the driving current setting value is set to control the driving current of the laser diode, even if the luminous power of the laser diode changes, the set driving current setting value is not adjusted, but only the total duration of the laser pulse of the laser diode within a predetermined time period is adjusted, so as to achieve the effect of stabilizing the laser emission power of the laser diode.
[0040] The following combination Figures 2 to 5 An example automatic power control circuit and an example method according to an embodiment of the present disclosure are described.
[0041] Figure 2A schematic diagram of an automatic power control circuit for a laser diode provided according to an embodiment of the present disclosure is shown.
[0042] like Figure 2 As shown, the automatic power control circuit 200 includes a voltage measuring unit 210 and a processor 220. In addition, the automatic power control circuit 200 also includes a power supply part (not shown). The automatic power control circuit 200 is externally connected to a laser diode 230, and the positive electrode and the negative electrode of the laser diode 230 are respectively connected to two different ports of the automatic power control circuit 200. The positive electrode of the laser diode 230 is connected to the port 240 of the automatic power control circuit 200, and the negative electrode of the laser diode 230 is connected to the port 250 of the automatic power control circuit 200. For example, the power supply part (not shown) of the automatic power control circuit 200 provides power to the positive electrode of the laser diode 230.
[0043] The voltage measuring unit 210 obtains an indication voltage at a specific measurement point, the indication voltage being used to indicate the forward conduction voltage of the laser diode 230, and outputs the indication voltage to the processor 220. In this embodiment, the specific measurement point may refer to the cathode of the laser diode 230, and the indication voltage may refer to the voltage at the cathode of the laser diode 230, that is, the voltage at the port 250. Specifically, the voltage measuring unit 210 is connected to the cathode of the laser diode 230 and measures the voltage at the cathode of the laser diode 230, and then the processor 220 may determine the forward conduction voltage of the laser diode 230 based on the voltage at the cathode of the laser diode 230. More specifically, the voltage provided by the power supply part of the automatic power control circuit 200 is fixed, and the forward conduction voltage of the laser diode 230 may be determined by measuring the voltage at the cathode of the laser diode 230 and subtracting the voltage provided by the power supply part from the voltage at the cathode of the laser diode 230.
[0044] In this embodiment, the voltage measuring unit 210 can measure the indicated voltage in real time, or measure the indicated voltage at a preset period, such as measuring the indicated voltage once every 1 second. Moreover, in this embodiment, the indicated voltage can be a digital voltage signal.
[0045] Optionally, the voltage measurement unit 210 includes an analog measurement part and an analog to digital converter (ADC). The analog measurement part is connected to the specific measurement point and measures the analog voltage signal at the specific measurement point. For example, the voltage measurement unit 210 can be a connecting wire, or can be a detection resistor. The analog to digital converter converts the analog voltage signal measured by the analog measurement part into a digital voltage signal, and provides the digital voltage signal as the indication voltage to the processor. Specifically, the analog measurement part measures the analog voltage signal at the port 250, and the analog to digital converter can convert the analog voltage signal at the port 250 into a digital voltage signal, so that it can be directly processed by the processor 220. For example, the analog to digital converter can be a 16-bit analog to digital converter, which converts the measured analog voltage signal into a 16-bit digital voltage signal.
[0046] The processor 220 outputs a pulse parameter control signal in response to the change of the indication voltage. The pulse parameter control signal is used to control the adjustment of the pulse parameters of the laser pulse of the laser diode 230 so that the laser emission power is maintained within a preset range, wherein the pulse parameters of the laser pulse of the laser diode 230 are used to set the total pulse duration within a predetermined time period. For example, the preset range may be a range in which the deviation relative to the given power does not exceed 10%.
[0047] Optionally, the processor 220 may be an electronic device with processing capabilities such as a central processing unit (CPU), a single-chip microcomputer, etc. For example, the processor in the embodiments of the present disclosure may be an integrated circuit chip, a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The various methods, steps and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc., which may be an X86 architecture or an ARM architecture.
[0048] In this embodiment, the processor 220 may output a pulse parameter control signal to adjust the pulse parameters of the laser pulse of the laser diode 230 each time the indication voltage is obtained from the voltage measuring unit 210. In another embodiment, the processor 220 may temporarily save the indication voltage obtained from the voltage measuring unit 210, and then determine whether the difference between the indication voltage and the indication voltage obtained when the laser diode 230 is initially controlled to emit laser light exceeds a preset threshold value, and only when the preset threshold value is exceeded, the processor 220 outputs a pulse parameter control signal to adjust the pulse parameters of the laser pulse of the laser diode 230 once.
[0049] In this embodiment, the processor 220 can output a pulse parameter control signal to control the light emission of the laser diode 230 by controlling the connection between the laser diode 230 and the power supply part. For example, a control switch can be provided between the port 240 of the laser diode 230 and the power supply part, or a control switch can be provided between the port 250 of the laser diode 230 and the power supply part, and the control switch is controlled based on the pulse parameter control signal output by the processor 220, so as to realize the control of the light emission of the laser diode 230.
[0050] Optionally, the automatic power control circuit 200 further includes a memory (not shown). After measuring the indicated voltage, the voltage measuring unit 210 stores the indicated voltage in the memory. The processor 220 periodically obtains the latest indicated voltage from the memory, or the processor 220 obtains the latest indicated voltage from the memory. After obtaining the latest indicated voltage, the processor 220 generates a pulse parameter control signal according to the indicated voltage to adjust the pulse parameter. For example, in the case where the analog-to-digital converter is a 16-bit analog-to-digital converter, the memory can store a 16-bit digital signal output by the analog-to-digital converter.
[0051] Optionally, the pulse parameter may include the number of pulses. In this embodiment, the number of pulses refers to the number of pulses per second or in each pulse emission cycle, for example, there are 2000 pulses in 1s. For example, the processor 220 is configured to determine the forward conduction voltage of the laser diode according to the indication voltage, and in response to the determined value of the forward conduction voltage increasing, output a pulse parameter control signal for reducing the number of pulses. The value of the forward conduction voltage determined by the processor 220 can be compared with the value of the initial forward conduction voltage. If the value of the determined forward conduction voltage is greater than the value of the initial forward conduction voltage, a pulse parameter control signal for reducing the number of pulses is output. For example, the processor 220 is also configured to output a pulse parameter control signal for increasing the number of pulses in response to the determined value of the forward conduction voltage decreasing. The value of the forward conduction voltage determined from the processor 220 can be compared with the value of the initial forward conduction voltage. If the value of the determined forward conduction voltage is less than the value of the initial forward conduction voltage, a pulse parameter control signal for increasing the number of pulses is output.
[0052] For example, the pulse parameter control signal may directly indicate the number of pulses, and the processor 220 obtains a 16-bit digital voltage signal from the memory, and then calculates the number of pulses according to the digital voltage signal.
[0053] like Figure 6 As shown, the laser waveform of the laser diode is shown, where T is the pulse emission period, the number of pulses emitted in one pulse emission period Pulse,train can be controlled, and topt is the pulse duration of a single pulse among multiple pulses in the pulse emission period.
[0054] Assuming that the laser pulses emitted by the laser diode 230 are ideal square waves, the relationship between the number of pulses and the driving current of the laser diode 230 can be expressed by the following formula:
[0055] (Ipeak-Ith)*Pulse,train*topt*f=Popt,avg / η
[0056] Where Ipeak is the peak value of the driving current, Ith is the threshold current of the laser diode 230 emitting the laser pulse, Pulse,train is the number of pulses in a pulse emission cycle, and f = 1 / T. Where η is the conversion efficiency of the laser pulse, and Popt,avg is the average optical power of the laser pulse.
[0057] It should be understood that according to the embodiment of the present disclosure, the pulse emission period represents a preset time period, during which pulses are continuously emitted, and each emitted pulse has the same pulse period / frequency.
[0058] Optionally, the processor 220 can calculate the number of pulses in the pulse emission cycle according to the above formula. It is understandable that since the number of pulses is an integer, it is difficult to maintain the emission power of the laser diode 230 at a fixed value. Therefore, in the embodiment of the present disclosure, the emission power is maintained within a preset emission power range by adjusting the pulse parameters (such as the number of pulses), which can not only ensure the luminous effect of the laser pulse, but also effectively reduce the difficulty of implementation.
[0059] Optionally, the pulse parameters of the laser pulse of the laser diode 230 include at least one of the number of pulses, the pulse period and the duty cycle. By adjusting the pulse parameters, the total pulse duration within the predetermined time period is adjusted, thereby achieving the effect of adjusting the laser emission power of the laser diode 230. For example, when the value of the forward conduction voltage of the laser diode 230 increases, the processor 220 outputs a pulse parameter control signal for reducing the total pulse duration; when the value of the forward conduction voltage of the laser diode 230 decreases, the processor 220 outputs a pulse parameter control signal for increasing the total pulse duration. For example, the total pulse duration can be set by any of the following: in the case of a predetermined pulse period and a predetermined duty cycle, the number of pulses of the laser pulse within the predetermined time period is set; in the case of a predetermined number of pulses, the pulse period and the duty cycle of the laser pulse are set.
[0060] Further optionally, within a preset time period, the pulse period and duty cycle of the laser pulse are maintained, and the number of laser pulses is adjusted so that the product of the total pulse duration and the effective drive current is maintained within a preset threshold interval, wherein the total pulse duration is equal to the product of the number of pulses and the pulse duration of each laser pulse. For example, the preset time period is a pulse period, and the effective drive current is equal to the difference between the drive current flowing through the laser diode and the threshold current of the laser diode emitting the laser. For example, the preset time period is the pulse emission period T.
[0061] According to the embodiment of the present disclosure, the automatic power control circuit 200 may not be provided with a photodiode. Through the structure of the automatic power control circuit 200 in the present embodiment, a photodiode and an attached amplifier and other devices may not be provided, thereby reducing the cost and complexity of the circuit. However, it should be understood that the automatic power control circuit 200 may also be provided with a photodiode at the same time, and the luminous intensity detected by the photodiode may be used to assist or compensate for the measurement result of the voltage measurement unit according to the embodiment of the present disclosure.
[0062] Figure 3 A schematic diagram of yet another automatic power control circuit provided according to an embodiment of the present disclosure is shown.
[0063] exist Figure 3, the automatic power control circuit 300 includes a voltage measuring unit 310, a processor 320 and a power control unit 330, and the processor 320 is connected to the voltage measuring unit 310 and the power control unit 330. In addition, the automatic power control circuit 300 also includes a power supply part (not shown). Figure 2 The automatic power control circuit 300 is externally connected to a laser diode 340, and the positive electrode and the negative electrode of the laser diode 340 are respectively connected to two different ports of the automatic power control circuit 300. The positive electrode of the laser diode 340 is connected to the port 350 of the automatic power control circuit 300, and the negative electrode of the laser diode 340 is connected to the port 360 of the automatic power control circuit 300. For example, the power supply part (not shown) of the automatic power control circuit 300 provides power to the positive electrode of the laser diode 340.
[0064] The voltage measuring unit 310 obtains the indicated voltage at a specific measurement point, and the indicated voltage is used to indicate the forward conduction voltage of the laser diode 340. The voltage measuring unit 310 outputs the indicated voltage to the processor 320. In this embodiment, the specific measurement point may refer to the cathode of the laser diode 230, and the indicated voltage may refer to the voltage at the cathode of the laser diode 340, that is, the voltage at the port 360. Specifically, the voltage measuring unit 310 is connected to the cathode of the laser diode 340 and measures the voltage at the cathode of the laser diode 340, and then the processor 320 may determine the forward conduction voltage of the laser diode 340 based on the voltage at the cathode of the laser diode 230. More specifically, the voltage provided by the power supply part of the automatic power control circuit 300 is fixed, and the forward conduction voltage of the laser diode 340 may be determined by measuring the voltage at the cathode of the laser diode 340 and subtracting the voltage provided by the power supply part from the voltage at the cathode of the laser diode 340.
[0065] In this embodiment, the voltage measuring unit 310 can measure the indicated voltage in real time, or measure the indicated voltage at a preset period, such as measuring the indicated voltage once every 1 second. Moreover, in this embodiment, the indicated voltage can be a digital voltage signal.
[0066] Optionally, the voltage measurement unit 310 includes an analog measurement part and an analog-to-digital converter. The analog measurement part is connected to the specific measurement point and measures the analog voltage signal at the specific measurement point. For example, the voltage measurement unit 310 can be a connecting wire, or can be a detection resistor. The analog-to-digital converter converts the analog voltage signal measured by the analog measurement part into a digital voltage signal, and provides the digital voltage signal as the indication voltage to the processor 320. For example, the analog measurement part measures the analog voltage signal at the port 360, and the analog-to-digital converter can convert the analog voltage signal at the port 360 into a digital voltage signal, so that it can be directly processed by the processor 320. For example, the analog-to-digital converter can be a 16-bit analog-to-digital converter, which converts the measured analog voltage signal into a 16-bit digital voltage signal.
[0067] The processor 320 outputs a pulse parameter control signal in response to the change of the indication voltage, and the pulse parameter control signal is used to control the adjustment of the pulse parameter of the laser pulse of the laser diode 340 so that the laser emission power of the laser diode 340 is maintained within a preset range, wherein the pulse parameter of the laser pulse of the laser diode 340 is used to set the total pulse duration within a predetermined time period. For example, the preset range may be a range in which the deviation relative to the given power does not exceed 10%.
[0068] Optionally, the processor 320 may be an electronic device with processing capabilities such as a central processing unit (CPU), a single-chip microcomputer, etc. For example, the processor in the embodiments of the present disclosure may be an integrated circuit chip, a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The various methods, steps and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc., which may be an X86 architecture or an ARM architecture.
[0069] In addition, if Figure 3 As shown, in this embodiment, the power control unit 330 is connected to the processor 320. The processor 310 is configured to output the pulse parameter control signal to the power control unit 330 in response to the change in the value of the forward conduction voltage. The power control unit 330 is configured to adjust the pulse parameters of the laser pulse of the laser diode 340 according to the pulse parameter control signal output by the processor 320.
[0070] In this embodiment, the processor 320 may send the pulse parameter control signal to the power control unit 330 once to adjust the pulse parameters of the laser pulse each time the indication voltage is obtained from the voltage measurement unit 310, so that the power control unit 330 adjusts the pulse parameters of the laser pulse of the laser diode 340. In another embodiment, the processor 320 may temporarily save the indication voltage, and then determine whether the difference between the indication voltage obtained and the initial indication voltage when the laser diode 340 is initially controlled to emit laser exceeds a preset threshold value, and only when the preset threshold value is exceeded, the pulse parameter control signal is sent to the power control unit 330 once to adjust the pulse parameters of the laser pulse, so that the power control unit 330 adjusts the pulse parameters of the laser pulse of the laser diode 340 once.
[0071] In this embodiment, the processor 320 may output a pulse parameter control signal, and the power control unit 330 may control the connection between the laser diode 230 and the power supply according to the pulse parameter control signal, thereby controlling the light emission of the laser diode 340. For example, a control switch may be provided between the port 240 of the laser diode 230 and the power supply, or a control switch may be provided between the port 250 of the laser diode 230 and the power supply, and the power control unit 330 controls the control switch based on the pulse parameter control signal, thereby achieving control of the light emission of the laser diode 230. The control switch may be included in the power control unit 330, or may be independent of the power control unit 330.
[0072] Optionally, the automatic power control circuit 300 further includes a memory (not shown). After measuring the indicated voltage, the voltage measuring unit 310 stores the indicated voltage in the memory. The processor 320 periodically obtains the latest indicated voltage value from the memory, or the processor 320 obtains the latest indicated voltage from the memory. After obtaining the latest value of the forward conduction voltage, the processor 320 generates a pulse parameter control signal according to the indicated voltage so that the power control unit 330 adjusts the pulse parameters. For example, in the case where the analog-to-digital converter can be a 16-bit analog-to-digital converter, the memory can store a 16-bit digital signal output by the analog-to-digital converter.
[0073] Optionally, the pulse parameter may include the number of pulses. In this embodiment, the number of pulses refers to the number of pulses per second or in each pulse emission cycle, for example, there are 2000 pulses in 1s. For example, the processor 320 is configured to determine the forward conduction voltage of the laser diode according to the indication voltage, and in response to the increase in the value of the determined forward conduction voltage, output a pulse parameter control signal for reducing the number of pulses. The value of the forward conduction voltage determined by the processor 320 can be compared with the value of the initial forward conduction voltage. If the value of the determined forward conduction voltage is greater than the value of the initial forward conduction voltage, a pulse parameter control signal for reducing the number of pulses is output. For example, the processor 320 is also configured to output a pulse parameter control signal for increasing the number of pulses in response to the decrease in the value of the determined forward conduction voltage. The value of the forward conduction voltage determined by the processor 320 can be compared with the value of the initial forward conduction voltage. If the value of the determined forward conduction voltage is less than the value of the initial forward conduction voltage, a pulse parameter control signal for increasing the number of pulses is output. For example, the pulse parameter control signal may directly indicate the number of pulses, and the processor 320 obtains a 16-bit digital voltage signal from the memory, and then calculates the number of pulses according to the digital voltage signal.
[0074] Assuming that the laser pulses emitted by the laser diode 340 are ideal square waves, the relationship between the number of pulses and the driving current of the laser diode 340 can also be expressed by the following formula:
[0075] (Ipeak-Ith)*Pulse,train*topt*f=Popt,avg / η
[0076] Wherein, Ipeak is the peak value of the driving current, Ith is the threshold current of the laser diode 230 for emitting laser pulses, Pulse,train is the number of pulses in a pulse emission cycle, topt is the pulse duration of a single pulse among multiple pulses in the pulse cycle, f=1 / T, T is the pulse emission cycle, η is the conversion efficiency of the laser pulse, and Popt,avg is the average optical power of the laser pulse.
[0077] Optionally, the pulse parameters of the laser pulse of the laser diode 340 include at least one of the number of pulses, the pulse period, and the duty cycle. By adjusting the pulse parameters, the total pulse duration within a predetermined time period is adjusted, thereby achieving the effect of adjusting the laser emission power of the laser diode. For example, when the value of the forward conduction voltage of the laser diode 340 increases, the processor 320 outputs a pulse parameter control signal for reducing the total pulse duration; when the value of the forward conduction voltage of the laser diode 340 decreases, the processor 320 outputs a pulse parameter control signal for increasing the total pulse duration.
[0078] For example, the total pulse duration can be set by any of the following: in the case of a predetermined pulse period and a predetermined duty cycle, setting the number of pulses of the laser pulse within a predetermined time period; in the case of a predetermined number of pulses, setting the pulse period and duty cycle of the laser pulse.
[0079] Further optionally, within a preset time period, the pulse period and duty cycle of the laser pulse are maintained, and the number of laser pulses is adjusted so that the total pulse duration and the effective drive current are maintained within a preset threshold interval, wherein the total pulse duration is equal to the product of the number of pulses and the pulse duration of each laser pulse, and the effective drive current is equal to the difference between the drive current flowing through the laser diode and the threshold current of the laser diode emitting the laser. For example, the preset time period is the pulse emission period T.
[0080] According to the embodiment of the present disclosure, the automatic power control circuit 300 may not be provided with a photodiode. Through the structure of the automatic power control circuit 300 in the present embodiment, a photodiode and an attached amplifier and other devices may not be provided, thereby reducing the cost and complexity of the circuit. However, it should be understood that the automatic power control circuit 300 may also be provided with a photodiode at the same time, and the luminous intensity detected by the photodiode may be used to assist or compensate for the measurement result of the voltage measurement unit according to the embodiment of the present disclosure.
[0081] Figure 4 FIG. 4 is a schematic diagram showing a power control unit 330 in the automatic power control circuit 300 according to an embodiment of the present disclosure.
[0082] like Figure 4 As shown, the power control unit 400 includes a plurality of switches, a drive current selection module 420, a pulse time control module 430 and a logic gate module. The power control unit 400 may be Figure 3 The power control unit 330 shown in FIG.
[0083] The plurality of switches include switch 411, switch 412, ..., switch 41N, where N is an integer greater than or equal to 2. One end of each of the plurality of switches is connected to the cathode of the laser diode 450, and the other end of each switch is grounded. For example, the plurality of switches may include 6 switches, and each switch may be grounded via a common resistor 460 or a separate resistor. The laser diode 450 may be, for example, Figure 2 The laser diode 230 or Figure 3 The laser diode 340 in FIG.
[0084] The driving current selection module 420 is configured to provide a plurality of current control outputs corresponding to the plurality of switches one by one to control the magnitude of the current flowing through the laser diode 450. Optionally, the driving current selection module 420 may receive a driving current setting value from the processor 320, and control at least one current control output of the plurality of current control outputs to be high level or low level according to the driving current setting value.
[0085] The pulse time control module 430 is configured to provide a plurality of time control outputs corresponding to the plurality of switches one by one to control the turn-on duration of the laser diode 450. Optionally, the plurality of time control outputs corresponding to the plurality of switches one by one provide the same time control output signal, that is, the pulse time control module 430 provides the same time control output signal for the plurality of switches. Optionally, the pulse time control module 430 receives the pulse parameter control signal from the processor 320, and controls the duration of at least one of the plurality of time control outputs being high or low according to the pulse parameter control signal.
[0086] Optionally, the magnitude of the driving current corresponding to each switch of the multiple switches 411, 412, ... 41N is different, and during the laser emission process, only one switch 411, 412, ... 41N is turned on.
[0087] Optionally, the magnitude of the driving current corresponding to each switch in the multiple switches 411, 412, ... 41N is the same or different, and during the laser emission process, at least one switch 411, 412, ... 41N may be turned on.
[0088] The driving current selection module 420 and the pulse time control module 430 together control the on and off of each of the multiple switches. For example, the more switches that are turned on, the greater the current (i.e., the driving current) flowing through the laser diode 450, and the more switches that are turned off, the smaller the current flowing through the laser diode 450. By setting the outputs of the driving current selection module 420 and the pulse time control module 430 to control the on or off of the switch together, the switch can be controlled more accurately, preventing the switch from being unable to be turned on or off normally due to a single device failure, thereby better driving the laser diode 450.
[0089] The logic gate module includes a plurality of logic gates corresponding to a plurality of switches one by one, and each logic gate receives a current control output and a time control output corresponding thereto to control the conduction or shutoff of the switch corresponding thereto. The plurality of logic gates are logic gate 441, logic gate 442, ..., and logic gate 44N, where N is an integer greater than or equal to 2. Logic gate 441 is connected to switch 411, logic gate 442 is connected to switch 412, ..., and logic gate 44N is connected to switch 41N. In this embodiment, the number of the plurality of logic gates is equal to the number of the plurality of switches. For example, if there are 8 switches, there are 8 logic gates. Each of the plurality of switches can be implemented by a transistor. Each logic gate in the logic gate module can be an AND gate, a NOR gate, an XOR gate, or an OR gate. For example, if each logic gate in the logic gate module is an AND gate, then when the current control output of the driving current selection module 420 and the time control output of the pulse time control module 430 are both "high level" or "1", the logic gate outputs "high level" or "1", so that the corresponding switch is controlled to be turned on. For another example, each logic gate in the logic gate module 440 is an NOR gate. When the current control output of the driving current selection module 420 and the time control output of the pulse time control module 430 are both "low level" or "0", the logic gate outputs "high level" or "1", so that the corresponding switch is controlled to be turned on.
[0090] Optionally, the processor 320 is also configured to output a drive current setting value before the laser diode 450 emits a laser pulse to control the drive current flowing through the laser diode 450. The drive current selection module 420 is configured to control at least one of the multiple current control outputs to be high or low according to the drive current setting value. For example, the drive current setting value may include the number of current control outputs to output a high level, so that the drive current selection module 420 selects a corresponding number of current control outputs, such as 4, according to the number. The drive current selection module 420 can arbitrarily select which of the multiple current control outputs, such as in the order of numbering, randomly, or in turn. For another example, the drive current setting value may include a preset size / preset level of the drive current, and the drive current selection module 420 selects at least one current control output from the multiple current control outputs according to the corresponding relationship between the preset size / preset level and the multiple current control outputs.
[0091] Optionally, the processor 320 is further configured to keep the drive current setting value unchanged after the laser diode 450 emits a laser pulse, and output the pulse parameter control signal to control the duration of the time control output corresponding to the set drive current in the multiple time control outputs to be high or low. The pulse time control module 430 is configured to control the duration of the time control output corresponding to the set drive current in the multiple time control outputs to be high or low according to the pulse parameter control signal. For example, the pulse parameter control signal can indicate the number of pulses, and the pulse time control module 430 outputs the time control output signal according to the number of pulses indicated by the pulse parameter control signal, and the preset pulse period and duty cycle, thereby realizing the control of the total duration of the laser pulse of the laser diode without changing the drive current setting value.
[0092] In this embodiment, the processor 320 may output a drive current setting value to the power control unit 400 before each laser pulse is emitted by the laser diode 450, so that the initial drive current of the laser diode 450 is set by the power control unit 400. Each laser pulse emission here refers to when the laser diode 450 is initialized, or when the light-emitting properties of the laser diode 450 need to be changed, for example, each time the laser diode 450 is calibrated / initialized, or the working mode or working level of the laser diode 450 is reset, the initial drive current is set once, and the initial drive current will correspond to the above-mentioned initial forward conduction voltage.
[0093] In addition, according to an embodiment of the present disclosure, a laser diode circuit is also provided. The laser diode circuit includes: a laser diode configured to emit laser pulses; a voltage measuring unit configured to obtain an indication voltage at a specific measurement point, the indication voltage being used to indicate the forward conduction voltage of the laser diode, and output the indication voltage; and a processor configured to output a pulse parameter control signal in response to the indication voltage, the pulse parameter control signal being used to control the adjustment of the pulse parameters of the laser pulse of the laser diode so that the laser emission power is maintained within a preset range, wherein the pulse parameters of the laser pulse of the laser diode are used to set the total pulse duration within a predetermined time period.
[0094] like Figure 2As shown, the laser diode circuit according to the embodiment of the present disclosure includes a laser diode 230, which is configured to emit laser pulses; a voltage measuring unit 210, which is configured to obtain an indication voltage at a specific measurement point, wherein the indication voltage is used to indicate the forward conduction voltage of the laser diode, and output the indication voltage; and a processor 220, which is configured to output a pulse parameter control signal in response to the indication voltage, wherein the pulse parameter control signal is used to control the adjustment of the pulse parameters of the laser pulse of the laser diode so that the laser emission power is maintained within a preset range, wherein the pulse parameters of the laser pulse of the laser diode are used to set the total pulse duration within a predetermined time period.
[0095] like Figure 3 As shown, the laser diode circuit according to the embodiment of the present disclosure includes a laser diode 340, which is configured to emit laser pulses; a voltage measuring unit 310, which is configured to obtain an indication voltage at a specific measurement point, wherein the indication voltage is used to indicate the forward conduction voltage of the laser diode, and output the indication voltage; and a processor 320, which is configured to output a pulse parameter control signal in response to the indication voltage, wherein the pulse parameter control signal is used to control the adjustment of the pulse parameters of the laser pulse of the laser diode 340 so that the laser emission power is maintained within a preset range, wherein the pulse parameters of the laser pulse of the laser diode 340 are used to set the total pulse duration within a predetermined time period.
[0096] According to an embodiment of the present disclosure, the laser diode circuit may further include: a power control unit 330 connected to the processor 320 and the laser diode 340 , and configured to adjust the pulse parameters of the laser pulse of the laser diode 340 according to the pulse parameter control signal output by the processor 320 .
[0097] The operation of the voltage measuring unit 210 / 310, the processor 220 / 320, and the power control unit 330 included in the laser diode circuit according to the embodiment of the present disclosure can refer to the operation of the voltage measuring unit 210 / 310, the processor 220 / 320, and the power control unit 330 included in the automatic power control circuit according to the embodiment of the present disclosure, and will not be repeated here.
[0098] Figure 5 A flow chart of an automatic power control method provided according to an embodiment of the present disclosure is shown.
[0099] like Figure 5 As shown, the automatic power control method 500 includes the following steps:
[0100] Step S510, obtaining an indication voltage at a specific measurement point, wherein the indication voltage is used to indicate a forward conduction voltage of the laser diode.
[0101] Step S520, in response to the indication voltage, output a pulse parameter control signal, wherein the pulse parameter control signal is used to control and adjust the pulse parameters of the laser pulse of the laser diode so that the laser emission power is maintained within a preset range, wherein the pulse parameters of the laser pulse of the laser diode are used to set the total pulse duration within a predetermined time period.
[0102] The automatic power control method 500 in this embodiment can be executed by a processor, such as the processor 220 and the processor 320. The processor executes the automatic power control method to realize real-time adaptive adjustment of the pulse parameters of the laser diode according to the temperature change, so that the emission power can be adjusted without directly adjusting the drive current setting value of the laser diode as in the prior art, and the circuit controlled by the processor executing the automatic control method does not need to be provided with a photodiode and an additional amplifier, which can also reduce costs.
[0103] Optionally, the pulse parameters of the laser pulse of the laser diode 230 include at least one of the number of pulses, the pulse period and the duty cycle. By adjusting the pulse parameters, the total pulse duration within the predetermined time period is adjusted, thereby achieving the effect of adjusting the laser emission power of the laser diode. For example, when the value of the forward conduction voltage of the laser diode 230 increases, a pulse parameter control signal for reducing the total pulse duration is output; when the value of the forward conduction voltage of the laser diode 230 decreases, a pulse parameter control signal for increasing the total pulse duration is output. For example, the total pulse duration can be set by any of the following: in the case of a predetermined pulse period and a predetermined duty cycle, the number of pulses of the laser pulse within the predetermined time period is set; in the case of a predetermined number of pulses, the pulse period and duty cycle of the laser pulse are set.
[0104] Optionally, the pulse parameter may include the number of pulses. In this embodiment, the number of pulses refers to the number of pulses per second or in each pulse emission cycle, for example, there are 2000 pulses in 1s. For example, the processor 220 is configured to determine the forward conduction voltage of the laser diode according to the indication voltage, and in response to the determined value of the forward conduction voltage increasing, output a pulse parameter control signal for reducing the number of pulses. The value of the forward conduction voltage determined by the processor 220 can be compared with the value of the initial forward conduction voltage. If the value of the determined forward conduction voltage is greater than the value of the initial forward conduction voltage, a pulse parameter control signal for reducing the number of pulses is output. For example, the processor 220 is also configured to output a pulse parameter control signal for increasing the number of pulses in response to the determined value of the forward conduction voltage decreasing. The value of the forward conduction voltage determined from the processor 220 can be compared with the value of the initial forward conduction voltage. If the value of the determined forward conduction voltage is less than the value of the initial forward conduction voltage, a pulse parameter control signal for increasing the number of pulses is output.
[0105] Optionally, the automatic power control method also outputs a drive current setting value before the laser diode emits a laser pulse to control the drive current flowing through the laser diode. After the laser diode emits a laser pulse, the drive current setting value is kept unchanged, and in response to the change in the value of the forward conduction voltage, the pulse parameter control signal is generated to adjust the pulse parameters of the laser pulse of the laser diode so that the laser emission power is maintained within a preset range. The pulse parameter is used to set the total pulse duration within a predetermined time period.
[0106] By adopting the method in this embodiment, since there is no need to set a photodiode in the automatic power control circuit, there is no need to monitor the current of the photodiode as in the prior art, and there is no need to change the setting value of the driving current of the laser diode. The adaptive adjustment of the emission power of the laser diode can be achieved only by setting the pulse parameters of the laser diode. This is simple and easy and does not change the light-emitting properties of the laser diode.
[0107] In general, various example embodiments of the present disclosure may be implemented in hardware or dedicated circuits, software, firmware, logic, or any combination thereof. Certain aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device. When various aspects of the embodiments of the present disclosure are illustrated or described as block diagrams, flow charts, or using some other graphical representation, it will be understood that the blocks, devices, systems, techniques, or methods described herein may be implemented in hardware, software, firmware, dedicated circuits or logic, general purpose hardware or controllers or other computing devices, or some combination thereof as non-limiting examples.
[0108] The memory in the embodiments of the present disclosure may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous connection dynamic random access memory (SLDRAM), and direct memory bus random access memory (DR RAM). It should be noted that the memory of the method described herein is intended to include, but is not limited to, these and any other suitable types of memory. It should be noted that the memory of the method described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0109] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of the code contains at least one executable instruction for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0110] In general, various example embodiments of the present disclosure may be implemented in hardware or dedicated circuits, software, firmware, logic, or any combination thereof. Certain aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device. When various aspects of the embodiments of the present disclosure are illustrated or described as block diagrams, flow charts, or using some other graphical representation, it will be understood that the blocks, devices, systems, techniques, or methods described herein may be implemented in hardware, software, firmware, dedicated circuits or logic, general purpose hardware or controllers or other computing devices, or some combination thereof as non-limiting examples.
[0111] The exemplary embodiments of the present disclosure described in detail above are merely illustrative and not restrictive. It should be understood by those skilled in the art that various modifications and combinations may be made to these embodiments or their features without departing from the principles and spirit of the present disclosure, and such modifications should fall within the scope of the present disclosure.
Claims
1. An automatic power control circuit, comprising: A voltage measuring unit is configured to obtain an indication voltage at a specific measurement point, the indication voltage being used to indicate a forward conduction voltage of the laser diode, and output the indication voltage; as well as The processor is configured to output a pulse parameter control signal in response to the indication voltage, wherein the pulse parameter control signal is used to control the adjustment of the pulse parameters of the laser pulse of the laser diode so as to keep the laser emission power within a preset range, wherein the pulse parameters of the laser pulse of the laser diode include at least one of the number of pulses, the pulse period and the duty cycle, and the total pulse duration within a predetermined time period is adjusted by adjusting the pulse parameters according to the pulse parameter control signal.
2. The automatic power control circuit according to claim 1, further comprising: A power control unit is connected to the processor and the laser diode, and is configured to adjust the pulse parameters of the laser pulse of the laser diode according to the pulse parameter control signal output by the processor.
3. The automatic power control circuit according to claim 1 or 2, wherein: When the pulse parameter includes the pulse number, The processor is further configured to output a pulse parameter control signal for reducing the number of pulses in response to an increase in the value of the forward conduction voltage.
4. The automatic power control circuit according to claim 1 or 2, wherein: When the pulse parameter includes the pulse number, The processor is further configured to output a pulse parameter control signal for increasing the number of pulses in response to a decrease in the value of the forward conduction voltage.
5. The automatic power control circuit according to claim 1 or 2, wherein: The total pulse duration is set by any of the following: Under the condition of a predetermined pulse period and a predetermined duty cycle, setting the number of pulses of the laser pulse within a predetermined time period; as well as In case of a predetermined number of pulses, the pulse period and duty ratio of the laser pulses within a predetermined period of time are set.
6. The automatic power control circuit according to claim 5, wherein: In a predetermined time period, the pulse period and duty cycle of the laser pulse are maintained, and the number of pulses of the laser pulse is adjusted so that the product of the total pulse duration and the effective drive current remains within a preset threshold range, The total pulse duration is equal to the product of the number of pulses and the pulse duration of each laser pulse, and the effective driving current is equal to the difference between the driving current flowing through the laser diode and the threshold current of the laser diode.
7. The automatic power control circuit according to claim 2, wherein: The power control unit comprises: A plurality of switches, wherein one end of each of the plurality of switches is connected to the cathode of the laser diode, and the other end of each switch is grounded; A driving current selection module, configured to provide a plurality of current control outputs corresponding to the plurality of switches one by one, so as to control the magnitude of the current flowing through the laser diode; a pulse time control module configured to provide a plurality of time control outputs corresponding one-to-one to the plurality of switches to control the turn-on time of the laser diode; and The logic gate module includes a plurality of logic gates corresponding to the plurality of switches one by one, and each logic gate receives a current control output and a time control output corresponding to it to control the on or off of the corresponding switch.
8. The automatic power control circuit according to claim 7, wherein: The pulse time control module is configured to control the duration of at least one of the multiple time control outputs being at a high level or a low level according to the pulse parameter control signal of the processor.
9. The automatic power control circuit according to claim 7 or 8, wherein: A plurality of time control outputs corresponding one-to-one to the plurality of switches provide a same time control output signal.
10. The automatic power control circuit according to claim 7, wherein: The processor is further configured to output a drive current setting value to control a drive current flowing through the laser diode before the laser diode emits a laser pulse; The driving current selection module is configured to control at least one current control output of the plurality of current control outputs to be a high level or a low level according to the driving current setting value of the processor; and The processor is also configured to keep the drive current setting value unchanged and output the pulse parameter control signal after the laser diode emits a laser pulse; the pulse time control module is configured to control the duration of the time control output corresponding to the set drive current among the multiple time control outputs to be high or low according to the pulse parameter control signal.
11. The automatic power control circuit according to claim 1, wherein: The voltage measurement unit includes an analog measurement part and an analog to digital converter, The analog measurement section is connected to the specific measurement point and measures an analog voltage signal at the specific measurement point; and The analog-to-digital converter converts the analog voltage signal measured by the analog measuring part into a digital voltage signal, and provides the digital voltage signal to the processor as the indication voltage.
12. The automatic power control circuit of claim 11, wherein: The analog measurement part in the voltage measurement unit is connected to the cathode of the laser diode and measures the analog voltage signal at the cathode of the laser diode; The analog-to-digital converter converts the measured analog voltage signal at the cathode of the laser diode into a digital voltage signal, and provides the digital voltage signal to the processor as the indication voltage; The processor determines a forward voltage of the laser diode based on the digital voltage signal.
13. The automatic power control circuit according to claim 1 or 2, wherein: The automatic power control circuit is not provided with a photodiode.
14. An automatic power control method, comprising: Acquiring an indicated voltage at a specific measurement point, where the indicated voltage is used to indicate a forward conduction voltage of a laser diode; as well as In response to the indication voltage, a pulse parameter control signal is output, and the pulse parameter control signal is used to control the adjustment of the pulse parameters of the laser pulse of the laser diode so that the laser emission power is maintained within a preset range, wherein the pulse parameters of the laser pulse of the laser diode include at least one of the number of pulses, the pulse period and the duty cycle, and the total pulse duration within a predetermined time period is adjusted by adjusting the pulse parameters according to the pulse parameter control signal.
15. The automatic power control method according to claim 14, wherein: The total pulse duration is set by any of the following: Under the condition of a predetermined pulse period and a predetermined duty cycle, setting the number of pulses of the laser pulse within a predetermined time period; as well as With the number of pulses predetermined, the pulse period and duty cycle of the laser pulses are set.
16. The automatic power control method according to claim 14, wherein: When the pulse parameter includes the pulse number, in response to an increase in the value of the forward conduction voltage, a pulse parameter control signal for reducing the pulse number is output.
17. The automatic power control method according to claim 14, wherein: When the pulse parameter includes the pulse number, in response to a decrease in the value of the forward conduction voltage, a pulse parameter control signal for increasing the pulse number is output.
18. The automatic power control method according to claim 14, further comprising: Before the laser diode emits a laser pulse, outputting a drive current setting value to control the drive current flowing through the laser diode; as well as After the laser diode emits a laser pulse, the setting value of the driving current flowing through the laser diode is kept unchanged, and in response to the indication voltage, the pulse parameters of the laser pulse of the laser diode are adjusted to set the total pulse duration within a predetermined time period, so that the laser emission power is maintained within a preset range.
