Discharge circuit, method, apparatus, and electronic device

By adjusting the discharge resistor or capacitor in the laser sensor, the problem of false triggering of the human eye protection module was solved, achieving more stable laser control and reducing misjudgment.

CN115085000BActive Publication Date: 2025-11-21VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210837742.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-15
Publication Date
2025-11-21
Estimated Expiration
2042-07-15

AI Technical Summary

Technical Problem

The eye protection module in existing laser sensors is prone to falsely triggering the eye protection mechanism due to differences in device consistency and temperature drift issues.

Method used

By cooperating with the laser control module and the feedback adjustment module, the discharge resistance or discharge capacitor of the laser emission module is reduced, and the discharge time is adjusted to avoid false triggering. Specific methods include detecting the voltage and reducing the resistance or capacitor when it exceeds the threshold.

Benefits of technology

This effectively reduces the extended discharge time caused by external factors, lowers the false triggering frequency of the eye protection module, and improves the reliability of the laser sensor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115085000B_ABST
    Figure CN115085000B_ABST
Patent Text Reader

Abstract

The application discloses a discharge circuit, method, device and electronic equipment, and belongs to the electronic technical field. The specific scheme comprises: a laser control module, which is used for controlling the laser emission module to be in a non-working state when a first voltage is greater than a second voltage; and controlling the laser emission module to be in a working state when the first voltage is less than or equal to the second voltage; a feedback adjustment module, which is used for detecting the first voltage; and reducing the discharge time of the laser emission module by reducing the discharge resistance of the laser emission module or by reducing the discharge capacitance of the laser emission module when the first voltage is greater than the second voltage; wherein the first voltage is a discharge voltage of the laser emission module, and the second voltage is a voltage threshold value determined according to a power supply voltage.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of electronics, and particularly relates to a discharge circuit, method, device and electronic equipment. BACKGROUND

[0002] With the development of laser technology, more and more industries have begun to pay attention to the application of laser technology.

[0003] Due to the characteristics of high unidirectionality and high brightness of laser, and the focusing effect of human eyeballs, if laser is not controlled, laser can easily cause damage to human eyes. In related technologies, a human eye protection module is usually arranged inside a laser sensor, and the main function of the human eye protection module is to adjust the brightness and working time of a laser emitting tube through a human eye protection mechanism to control the working state of laser.

[0004] However, due to problems such as different protection judgment logics inside the laser sensor, device temperature drift or device consistency difference, the human eye protection module often triggers the human eye protection mechanism by mistake. SUMMARY

[0005] The purpose of the embodiments of the present application is to provide a discharge circuit, method, device and electronic equipment, which can reduce the phenomenon that the human eye protection module triggers the human eye protection mechanism by mistake.

[0006] In a first aspect, the embodiments of the present application provide a discharge circuit, comprising: a laser control module, a laser emitting module and a feedback adjustment module; the laser emitting module is connected to the laser control module and the feedback adjustment module respectively; the laser control module is configured to control the laser emitting module to be in a non-working state when a first voltage is greater than a second voltage, and control the laser emitting module to be in a working state when the first voltage is less than or equal to the second voltage; the feedback adjustment module is configured to detect the first voltage, and when the first voltage is greater than the second voltage, reduce the discharge time of the laser emitting module by reducing the discharge resistance of the laser emitting module, or reduce the discharge time of the laser emitting module by reducing the discharge capacitance of the laser emitting module; wherein the first voltage is a discharge voltage of the laser emitting module, and the second voltage is a voltage threshold value determined according to a power supply voltage.

[0007] In a second aspect, the embodiments of the present application provide a discharge device comprising the discharge circuit of the first aspect.

[0008] In a third aspect, the embodiments of the present application provide a discharge method applied to the discharge device of the first aspect, the method comprising: detecting a first voltage; in a case that the first voltage is greater than a second voltage, reducing a discharge time of the laser emission module by reducing a discharge resistance of the laser emission module; or reducing the discharge time of the laser emission module by reducing a discharge capacitance of the laser emission module; wherein the first voltage is a discharge voltage of the laser emission module, and the second voltage is a voltage threshold determined according to a power supply voltage.

[0009] In a fourth aspect, the embodiments of the present application provide an electronic device comprising the discharge circuit of the first aspect, a processor and a memory, the memory storing a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method of the third aspect.

[0010] In a fifth aspect, the embodiments of the present application provide a readable storage medium, the readable storage medium storing a program or instructions, and the program or instructions, when executed by a processor, implement the steps of the method of the third aspect.

[0011] In a sixth aspect, the embodiments of the present application provide a chip, the chip comprising a processor and a communication interface, the communication interface and the processor being coupled, and the processor being configured to run a program or instructions to implement the method of the third aspect.

[0012] In a seventh aspect, the embodiments of the present application provide a computer program product stored in a storage medium, and the program product is executed by at least one processor to implement the method of the third aspect.

[0013] In the embodiment of the present application, the laser control module, the laser emission module and the feedback adjustment module; the laser emission module is connected with the laser control module and the feedback adjustment module respectively; the laser control module is used for controlling the laser emission module to be in a non-working state when the first voltage is greater than the second voltage; and controlling the laser emission module to be in a working state when the first voltage is less than or equal to the second voltage; the feedback adjustment module is used for detecting the first voltage; and reducing the discharge time of the laser emission module by reducing the discharge resistance of the laser emission module when the first voltage is greater than the second voltage; or reducing the discharge time of the laser emission module by reducing the discharge capacitance of the laser emission module; wherein the first voltage is the discharge voltage of the laser emission module, and the second voltage is a voltage threshold value determined according to the power supply voltage. Through the scheme, when the first voltage is greater than the second voltage, the discharge time of the laser emission module can be reduced by reducing the discharge resistance of the laser emission module; or the discharge time of the laser emission module can be reduced by reducing the discharge capacitance of the laser emission module. Since the discharge time is reduced, the discharge current can be increased, and the discharge current can be increased to reduce the first voltage. Therefore, the problem that the discharge time of the laser emission module is lengthened due to external factors during the discharge process can be avoided, thereby reducing the phenomenon that the human eye protection module triggers the human eye protection mechanism by mistake. BRIEF DESCRIPTION OF DRAWINGS

[0014] Figure 1 is a discharge circuit schematic diagram in the related art;

[0015] Figure 2 is one of the discharge circuit schematic diagrams provided by the embodiment of the present application;

[0016] Figure 3 is the second discharge circuit schematic diagram provided by the embodiment of the present application;

[0017] Figure 4 is the third discharge circuit schematic diagram provided by the embodiment of the present application;

[0018] Figure 5 is the fourth discharge circuit schematic diagram provided by the embodiment of the present application;

[0019] Figure 6 is a flowchart of the discharge method provided by the embodiment of the present application

[0020] Figure 7 is a structural schematic diagram of the electronic device provided by the embodiment of the present application;

[0021] Figure 8 is a hardware schematic diagram of the electronic device provided by the embodiment of the present application. DETAILED DESCRIPTION

[0022] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0023] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0024] The discharge circuits, methods, apparatuses, and electronic devices provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0025] like Figure 1 As shown, a discharge circuit 100 in the related art is included. The discharge circuit 100 includes a power supply VDD, a charge pump 101, an eye protection module 102, a comparator COMP, a laser emitter VCSEL_A, a first resistor R1, and a switch S1. The laser emitter VCSEL_A includes a junction capacitor C1 and a light-emitting diode D1 connected in parallel.

[0026] One operating cycle of the discharge circuit 100 includes two states: laser emission state and eye protection detection state. When the discharge circuit 100 is in eye protection detection state, the charge pump 101 is off. To prevent excessive discharge current from damaging the laser, switch S1 can be switched to power supply VDD. At this time, the laser emitting diode VCSEL_A can discharge to power supply VDD through junction capacitance C1. After a period of time, switch S1 is switched to ground terminal GND. At this time, the laser emitting diode VCSEL_A discharges to ground terminal GND through light-emitting diode D1. During the discharge process, comparator COMP compares the voltage of the laser emitting diode VCSEL_A with the power supply voltage VDD. If the voltage of the laser emitting diode VCSEL_A is greater than the power supply voltage VDD, it is determined to be an abnormal situation. The eye protection module 102 can control the charge pump to stop working, i.e., the discharge circuit 100 stops emitting laser light; otherwise, the discharge circuit 100 can continue to operate in the next cycle.

[0027] However, due to the difference in the internal protection judgment logic of the laser sensor, the consistency of the device, or the characteristic drift of the laser emitting tube with temperature change, if the ambient temperature becomes lower during the discharge of the laser emitting tube VCSEL_A, the impedance of the circuit will become larger, and the discharge time will become longer, thereby causing the eye protection module to misjudge the abnormal situation, and further triggering the eye protection mechanism.

[0028] Based on the above problems, the embodiment of the present application provides a discharge circuit 200.

[0029] As shown in Figure 2 The discharge circuit 200 provided by the embodiment of the present application includes a laser control module 210, a laser emitting module 220, and a feedback adjustment module 230. The laser emitting module 220 is connected to the laser control module 210 and the feedback adjustment module 230 respectively.

[0030] The laser control module 210 can be used to control the laser emitting module 220 to be in a non-working state when the first voltage is greater than the second voltage, and control the laser emitting module 220 to be in a working state when the first voltage is less than or equal to the second voltage. The first voltage is the discharge voltage of the laser emitting module 220, and the second voltage is a voltage threshold determined according to the power supply voltage.

[0031] It should be noted that the second voltage being a voltage threshold determined according to the power supply voltage means that the second voltage is a voltage threshold determined by floating up and down based on the power supply voltage. For example, the second voltage can be the power supply voltage + 0.05V, or the second voltage can be the power supply voltage - 0.05V.

[0032] The feedback adjustment module 230 can be used to detect the first voltage, and in the case that the first voltage is greater than the second voltage, reduce the discharge time of the laser emitting module 220 by reducing the discharge resistance of the laser emitting module 220, or reduce the discharge time of the laser emitting module 220 by reducing the discharge capacitance of the laser emitting module 220.

[0033] Specifically, since the discharge time τ of the laser emitting module 220 is equal to RC, where R is the discharge resistance and C is the discharge capacitance, the feedback adjustment module 230 can reduce the discharge time τ of the laser emitting module 220 by reducing the discharge capacitance of the laser emitting module 220, or reduce the discharge time τ of the laser emitting module 220 by reducing the discharge resistance of the laser emitting module 220.

[0034] It should be noted that the feedback adjustment module 230 can reduce the discharge time of the laser emission module 220, that is, increase the discharge speed of the laser emission module 220, when the first voltage is greater than the second voltage. In this way, the problem of the discharge time becoming longer and the first voltage becoming larger due to the influence of environmental or device differences and incomplete discharge can be alleviated, so that the laser control module 210 reduces the misjudgment.

[0035] In the embodiment of the application, when the first voltage is greater than the second voltage, the discharge time of the laser emission module can be reduced by reducing the discharge resistance of the laser emission module, or the discharge time of the laser emission module can be reduced by reducing the discharge capacitance of the laser emission module. Since the discharge time is reduced, the discharge current can be increased, and the discharge current can be increased to reduce the first voltage. Therefore, the problem of the discharge time becoming longer due to external factors during the discharge of the laser emission module can be avoided, thereby reducing the phenomenon of the eye protection module triggering the eye protection mechanism.

[0036] Optionally, as shown in Figure 3 The laser control module 210 can include a first comparator COMP 1, a power supply VDD, an eye protection module 211, and a charge pump 212. The first input terminal of the first comparator COMP 1 is connected to the power supply VDD, the second input terminal of the first comparator COMP 1 is connected to the laser emission module 220, the output terminal of the first comparator COMP 1 is connected to the first port of the eye protection module 211, the second port of the eye protection module 211 is connected to the laser emission module 220, the third port of the eye protection module 211 is connected to the first output terminal of the charge pump 212, the second output terminal of the charge pump 212 is connected to the laser emission module 220, and the laser emission module 220 is connected to the feedback adjustment module 230.

[0037] The charge pump 212 can be used to provide a supply voltage for the laser emission module 220, and the supply voltage is a voltage determined according to the power supply voltage of the power supply VDD.

[0038] Optionally, the supply voltage can be K times the power supply voltage, and K is a positive integer. For example, K can be 3.

[0039] The first comparator COMP 1 can be used to output a first level when the first voltage is greater than the second voltage, and output a second level when the first voltage is less than or equal to the second voltage.

[0040] Optionally, the first level can be a high level, and the second level can be a low level. Alternatively, the second level can be a high level, and the first level can be a low level. The actual use requirements can be determined, and the embodiment of the application is not limited in this regard.

[0041] The human eye protection module 211 can be configured to control the laser emission module 220 to be in a non-working state when the first level is detected, and control the laser emission module 220 to be in a working state when the second level is detected.

[0042] Optionally, as shown in Figure 4 The feedback adjustment module 230 can be an adjustable reference source 401, and the laser emission module 220 can include a laser emission tube VCSEL_A, a first resistor R1, a first metal-oxide-semiconductor field-effect transistor (MOSFET) Q1, and a second comparator COMP 2.

[0043] The laser emission tube VCSEL_A is connected to the first resistor R1, the first resistor R1 is connected to the first input terminal of the second comparator COMP 2, one end of the adjustable reference source 401 is connected between the laser emission tube VCSEL_A and the first resistor R1, and the other end is connected to the second input terminal of the second comparator COMP 2. The output terminal of the second comparator COMP 2 is connected to the gate of the first MOS tube Q1, one of the source and the drain of the first MOS tube Q1 is connected between the first resistor R1 and the first input terminal of the second comparator COMP 2, and the other is grounded.

[0044] The adjustable reference source 401 can be configured to detect the discharge current I f of the laser emission tube VCSEL_A, and in the case that the discharge current I f is greater than a preset current threshold, reduce the gate voltage of the first MOS tube Q1; in the case that the discharge current I f is less than or equal to the preset current threshold, detect a third voltage at the first input terminal of the second comparator COMP 2, and then compare the third voltage and a fourth voltage through the second comparator COMP 2, and in the case that the third voltage is greater than the fourth voltage, increase the gate voltage of the first MOS tube Q1; wherein the third voltage is the voltage at the first input terminal of the second comparator COMP 2, and the fourth voltage is a voltage threshold determined according to the discharge current I f , the first resistor R1, and the power supply voltage VDD.

[0045] Specifically, the preset current threshold is the maximum discharge current that the laser can tolerate under normal discharge, and when the discharge current I f is greater than the preset current threshold, it may cause device damage or other abnormal conditions. In order to avoid this problem, the adjustable reference source 401 can detect the discharge current I fIf the current exceeds a preset threshold, the gate voltage of the first MOSFET Q1 is reduced. After the adjustable reference source 401 reduces the gate voltage of the first MOSFET Q1, the on-resistance of the first MOSFET Q1 increases, thereby increasing the discharge current I. f Reduce to below the preset current threshold. At the discharge current I... f If the voltage is within the normal range, the third voltage at the first input terminal of the second comparator COMP 2, i.e. the voltage at point A, can be further detected. If the third voltage is greater than the fourth voltage, the gate voltage of the first MOSFET Q1 can be increased, thereby reducing the on-resistance of the first MOSFET Q1 and thus reducing the discharge time of the laser emission module.

[0046] It should be noted that the discharge voltage V of the laser emitter VCSEL_A A =V min +I f *R1, where V min This is the fourth voltage, because when the first voltage V A When the voltage is greater than the second voltage, the eye protection module 211 in the laser control module 210 can control the laser emitting module 220 to be in a non-operating state. The second voltage is a voltage threshold determined based on the power supply voltage. Therefore, the fourth voltage V... min Based on the discharge current I f The first resistor R1 and the power supply voltage are determined.

[0047] Based on the above scheme, since the gate voltage of the first MOSFET can be increased when the third voltage is greater than the fourth voltage, the on-resistance of the first MOSFET can be reduced, the discharge time of the laser emitting module can be reduced, and the problem of the laser emitting module having a longer discharge time due to environmental factors during the discharge process can be avoided.

[0048] Optionally, such as Figure 5 As shown, the discharge circuit 200 may further include a feedback module 501, and the laser emission module 220 may include a laser emission tube VCSEL_A, a current-limiting resistor, and M capacitor modules 502. The output terminal of the laser emission tube VCSEL_A is connected to the current-limiting resistor, and the current-limiting resistor and the M capacitor modules 502 are connected in series and then grounded. One end of the feedback module 501 is connected to the input terminal of the laser emission tube VCSEL_A, and the other end is connected to the feedback adjustment module 230. The feedback adjustment module 230 is connected to each capacitor module 502, and each capacitor module 502 includes an on / off switch Q. x and capacitor C S On / off switch Q x With capacitor C S Parallel connection. Where M is a positive integer, and x is a positive integer greater than 0 and less than or equal to M.

[0049] The feedback adjustment module 230 can specifically be configured to detect the first voltage through the feedback module 501, and in the case that the first voltage is greater than the second voltage, connect the capacitors in the N capacitor modules 502 in series to the discharge circuit 200 through the control of the on-off switches Q x in the off state to connect the capacitors C S in the N capacitor modules 502 in series to the discharge circuit 200; wherein N is a positive integer, and M is greater than or equal to N.

[0050] Specifically, the feedback adjustment module 230 can detect the first voltage, i.e., the voltage at the position of point A, through the feedback module 501, and in the case that the first voltage is greater than the second voltage, the feedback adjustment module 230 can connect the capacitors in the N capacitor modules 502 in series to the discharge circuit, so as to reduce the discharge capacitance in the discharge circuit.

[0051] Optionally, the feedback adjustment module 230 can determine the value of N according to the first voltage. The greater the first voltage, the greater the value of N, the smaller the discharge capacitance, and the smaller the discharge time of the laser emission module.

[0052] Based on the above scheme, since the capacitors in the N capacitor modules can be connected in series to the discharge circuit in the case that the first voltage is greater than the second voltage, the discharge capacitance in the discharge circuit can be reduced, and the discharge time of the laser emission module can be reduced, so as to avoid the problem that the discharge time of the laser emission module becomes longer due to environmental factors during the discharge process.

[0053] Optionally, continuing to refer to Figure 5 , the on-off switch Q x may be a MOS tube. The feedback adjustment module 230 can control the MOS tube in the capacitor module 502 to be in the off state to connect the capacitors C S in series to the discharge circuit 200.

[0054] Optionally, continuing to refer to Figure 5 , the current limiting resistor can include a second resistor R2 and a third resistor R3. The output end of the laser emission tube VCSEL_A is connected to one end of the second resistor R2, the other end of the second resistor R2 is connected to the M capacitor modules 502 connected in series, and the third resistor R3 is connected in series to the ground.

[0055] As shown in Figure 6 , the present application provides a discharge method, applied to a discharge device including the discharge circuit as shown in Figures 1-5 , the method can include steps 601-602:

[0056] Step 601, detecting the first voltage.

[0057] In the case that the first voltage is greater than the second voltage, the discharge time of the laser emission module is reduced by reducing a discharge resistance of the laser emission module, or the discharge time of the laser emission module is reduced by reducing a discharge capacitance of the laser emission module, wherein the first voltage is a discharge voltage of the laser emission module, and the second voltage is a voltage threshold determined according to a power supply voltage.

[0058] Optionally, the reducing the discharge time of the laser emission module by reducing the discharge resistance of the laser emission module comprises: detecting a discharge current of the laser emission tube; in the case that the discharge current is greater than a preset current threshold, reducing a gate voltage of the first MOS tube; in the case that the discharge current is less than or equal to the preset current threshold, comparing a third voltage and a fourth voltage by the second comparator, and in the case that the third voltage is greater than the fourth voltage, increasing the gate voltage of the first MOS tube, wherein the third voltage is a voltage of a first input terminal of the second comparator, and the fourth voltage is a voltage threshold determined according to the discharge current, the first resistance and the power supply voltage.

[0059] Optionally, the reducing the discharge time of the laser emission module by reducing the discharge capacitance of the laser emission module comprises: in the case that the first voltage is greater than the second voltage, making the capacitances in the N capacitor modules be connected in series to the discharge circuit by controlling the on-off switches in the N capacitor modules to be in an off state, wherein N is a positive integer.

[0060] In the embodiments of the present application, in the case that the first voltage is greater than the second voltage, the discharge time of the laser emission module is reduced by reducing a discharge resistance of the laser emission module, or the discharge time of the laser emission module is reduced by reducing a discharge capacitance of the laser emission module. Since the discharge time is reduced, the discharge current is increased, and the first voltage is reduced, the problem that the discharge time of the laser emission module is lengthened due to external factors during the discharge process can be avoided, thereby reducing the phenomenon that the human eye protection module triggers the human eye protection mechanism by mistake.

[0061] The discharge device in the embodiments of the present application can be an electronic device, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and can also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, and the like, and the embodiments of the present application are not limited in this regard.

[0062] The discharge device in the embodiments of the present application can be a device with an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiments of the present application are not limited in this regard.

[0063] The discharge device provided in the embodiments of the present application can achieve Figure 6 The method embodiments achieve various processes, and to avoid repetition, the processes are not described herein.

[0064] Optionally, as shown in Figure 7 The embodiments of the present application also provide an electronic device 700, which includes a processor 701 and a memory 702, and the memory 702 stores programs or instructions that can run on the processor 701. When the programs or instructions are executed by the processor 701, various steps of the above discharge method embodiments are implemented, and the same technical effects are achieved. To avoid repetition, the steps are not described herein.

[0065] It should be noted that the electronic device in the embodiments of the present application includes the mobile electronic device and the non-mobile electronic device described above.

[0066] Figure 8 To implement the hardware structure of an electronic device according to an embodiment of the present application.

[0067] The electronic device 1000 includes, but is not limited to, a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc.

[0068] Those skilled in the art can understand that the electronic device 1000 can also include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 1010 through a power management system, so as to realize the functions of managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than the figure, or combine certain components, or different component arrangements, which are not described here.

[0069] The sensor 1005 is configured to detect a first voltage.

[0070] The processor 1010 is configured to, in a case where the first voltage is greater than a second voltage, reduce a discharge time of the laser emission module by reducing a discharge resistance of the laser emission module, or reduce the discharge time of the laser emission module by reducing a discharge capacitance of the laser emission module, wherein the first voltage is a discharge voltage of the laser emission module, and the second voltage is a voltage threshold value determined according to a power supply voltage.

[0071] In the embodiments of the present application, in a case where the first voltage is greater than the second voltage, the discharge time of the laser emission module can be reduced by reducing the discharge resistance of the laser emission module, or the discharge time of the laser emission module can be reduced by reducing the discharge capacitance of the laser emission module. Since the discharge time is reduced, the discharge current can be increased, and the first voltage can be reduced, so that the problem of the discharge time being too long due to external factors during the discharge of the laser emission module can be avoided, thereby reducing the phenomenon of the human eye protection module triggering the human eye protection mechanism by mistake.

[0072] Optionally, the sensor 1005 is further configured to detect a discharge current of the laser emission tube.

[0073] The processor 1010 is specifically configured to: in a case where the discharge current is greater than a preset current threshold, reduce a gate voltage of the first MOS tube; in a case where the discharge current is less than or equal to the preset current threshold, compare a third voltage and a fourth voltage by using the second comparator, and in a case where the third voltage is greater than the fourth voltage, increase the gate voltage of the first MOS tube; wherein the third voltage is a voltage of a first input end of the second comparator, and the fourth voltage is a voltage threshold determined according to the discharge current, the first resistor and the power supply voltage.

[0074] In the embodiment of the application, since the gate voltage of the first MOS tube can be increased in the case where the third voltage is greater than the fourth voltage, the on-resistance of the first MOS tube can be reduced, and the discharge time of the laser emitting module can be reduced, thereby avoiding the problem that the discharge time of the laser emitting module is lengthened due to environmental factors during the discharge process.

[0075] Optionally, the processor 1010 is specifically configured to: in a case where the first voltage is greater than the second voltage, control the on-off switch in the N capacitor modules to be in an off state, so as to connect the capacitors in the N capacitor modules in series to the discharge circuit; wherein N is a positive integer.

[0076] In the embodiment of the application, since the capacitors in the N capacitor modules can be connected in series to the discharge circuit in the case where the first voltage is greater than the second voltage, the discharge capacitance in the discharge circuit can be reduced, and the discharge time of the laser emitting module can be reduced, thereby avoiding the problem that the discharge time of the laser emitting module is lengthened due to environmental factors during the discharge process.

[0077] It should be understood that, in the embodiment of the application, the input unit 1004 can include a graphics processor (GPU) 10041 and a microphone 10042. The graphics processor 10041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1006 can include a display panel 10061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 can include a touch detection device and a touch controller. The other input devices 10072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), a trackball, a mouse, a joystick, and the like, which will not be described herein.

[0078] The memory 1009 can be used to store software programs and various data. The memory 1009 can mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area can store an operating system, application programs or instructions required by at least one function (such as a sound playing function, an image playing function, etc.), and the like. In addition, the memory 1009 can include a volatile memory or a non-volatile memory, or the memory 1009 can include both volatile and non-volatile memories. The non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synch link DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM). The memory 1009 in the embodiments of the present application includes but is not limited to these and any other suitable types of memories.

[0079] The processor 1010 can include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and an application program, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 1010.

[0080] The embodiments of the present application also provide a readable storage medium, the readable storage medium stores programs or instructions, the programs or instructions are executed by a processor to realize various processes of the above-mentioned discharge method embodiments, and the same technical effects can be achieved. To avoid repetition, details are not described here.

[0081] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0082] The embodiment of the present application further provides a chip, which comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions to realize the processes of the above discharge method embodiments and achieve the same technical effects. To avoid repetition, details are not described here.

[0083] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system chip, a system chip, a chip system or a system on chip, etc.

[0084] The embodiment of the present application provides a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to realize the processes of the above discharge method embodiments and achieve the same technical effects. To avoid repetition, details are not described here.

[0085] It should be noted that in this paper, the term "includes", "contains" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "includes a" does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to the order of the functions shown or discussed, but can also include the functions performed in a substantially simultaneous manner or in the opposite order according to the functions involved, for example, the described method can be performed in an order different from the described order, and various steps can also be added, omitted or combined. In addition, the features described with reference to some examples can be combined in other examples.

[0086] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned example methods can be realized by means of software and a necessary general hardware platform, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product in essence or in the form of a contribution to the related art. The computer software product is stored in a storage medium (such as a ROM / RAM, a magnetic disc, an optical disc), and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application.

[0087] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative and not restrictive. Those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims.

Claims

1. A discharge circuit, characterized in that, include: The system includes a laser control module, a laser emission module, and a feedback adjustment module; the laser emission module is connected to both the laser control module and the feedback adjustment module. The laser control module is used to control the laser emitting module to be in a non-operating state when the first voltage is greater than the second voltage, and to control the laser emitting module to be in an operating state when the first voltage is less than or equal to the second voltage. The feedback adjustment module is used to detect the first voltage; when the first voltage is greater than the second voltage, the discharge time of the laser emitting module is reduced by decreasing the discharge resistance of the laser emitting module; or, the discharge time of the laser emitting module is reduced by decreasing the discharge capacitance of the laser emitting module. Wherein, the first voltage is the discharge voltage of the laser emitting module, and the second voltage is a voltage threshold determined based on the power supply voltage; The laser control module includes: a first comparator, a power supply, an eye protection module, and a charge pump; The first input terminal of the first comparator is connected to the power supply, the second input terminal of the first comparator is connected to the laser emitting module, the output terminal of the first comparator is connected to the first port of the eye protection module, the second port of the eye protection module is connected to the laser emitting module, the third port of the eye protection module is connected to the first output terminal of the charge pump, the second output terminal of the charge pump is connected to the laser emitting module, and the laser emitting module is connected to the feedback adjustment module. The charge pump is used to provide a power supply voltage to the laser emitting module, and the power supply voltage is determined according to the power supply voltage of the power source; The first comparator is configured to output a first level when the first voltage is greater than the second voltage, and to output a second level when the first voltage is less than or equal to the second voltage. The eye protection module is used to control the laser emitting module to be in a non-working state when the first level is detected, and to control the laser emitting module to be in a working state when the second level is detected.

2. The discharge circuit according to claim 1, characterized in that, The feedback adjustment module is an adjustable reference source, and the laser emission module includes a laser emission tube, a first resistor, a first MOS transistor, and a second comparator. The laser emitting diode is connected to the first resistor, the first resistor is connected to the first input terminal of the second comparator, one end of the adjustable reference source is connected between the laser emitting diode and the first resistor, and the other end is connected to the second input terminal of the second comparator. The output terminal of the second comparator is connected to the gate of the first MOS transistor. One of the source and drain of the first MOS transistor is connected between the first resistor and the first input terminal of the second comparator, and the other is grounded. The adjustable reference source is used for: Detect the discharge current of the laser emitter; If the discharge current is greater than a preset current threshold, the gate voltage of the first MOS transistor is reduced. When the discharge current is less than or equal to the preset current threshold, the second comparator compares the magnitudes of the third voltage and the fourth voltage, and when the third voltage is greater than the fourth voltage, the gate voltage of the first MOS transistor is increased. The third voltage is the voltage at the first input terminal of the second comparator, and the fourth voltage is a voltage threshold determined based on the discharge current, the first resistor, and the power supply voltage.

3. The discharge circuit according to claim 1, characterized in that, The discharge circuit also includes a feedback module, and the laser emission module includes a laser emission tube, a current-limiting resistor, and M capacitor modules. The output terminal of the laser emitting tube is connected to the current limiting resistor. The current limiting resistor is connected in series with the M capacitor modules and then grounded. One end of the feedback module is connected to the input terminal of the laser emitting tube, and the other end is connected to the feedback adjustment module. The feedback adjustment module is connected to each of the capacitor modules. The capacitor module includes an on / off switch and a capacitor. The on / off switch and the capacitor are connected in parallel. The feedback adjustment module is specifically used for: The first voltage is detected by the feedback module; When the first voltage is greater than the second voltage, the capacitors in the N capacitor modules are connected in series to the discharge circuit by controlling the on / off switch in the N capacitor modules to be in the off state. Where M and N are positive integers, and M is greater than or equal to N.

4. The discharge circuit according to claim 3, characterized in that, The on / off switch is a MOSFET.

5. A discharge device, characterized in that, The discharge circuit includes any one of claims 1-4.

6. A discharge method, characterized in that, Applied to the discharge device as described in claim 5, the method includes: Detect the first voltage; When the first voltage is greater than the second voltage, the discharge time of the laser emitting module is reduced by decreasing the discharge resistance of the laser emitting module; or, the discharge time of the laser emitting module is reduced by decreasing the discharge capacitance of the laser emitting module. Wherein, the first voltage is the discharge voltage of the laser emitting module, and the second voltage is a voltage threshold determined based on the power supply voltage.

7. The discharge method according to claim 6, characterized in that, The laser emitting module includes a laser emitting tube, a first resistor, a first MOSFET, and a second comparator; The method of reducing the discharge time of the laser emitting module by reducing its discharge resistance includes: Detect the discharge current of the laser emitter; If the discharge current is greater than a preset current threshold, the gate voltage of the first MOS transistor is reduced. When the discharge current is less than or equal to the preset current threshold, the magnitudes of the third voltage and the fourth voltage are compared by the second comparator, and when the third voltage is greater than the fourth voltage, the gate voltage of the first MOS transistor is increased. The third voltage is the voltage at the first input terminal of the second comparator, and the fourth voltage is a voltage threshold determined based on the discharge current, the first resistor, and the power supply voltage.

8. The discharge method according to claim 6, characterized in that, The step of reducing the discharge time of the laser emitting module by reducing its discharge capacitance includes: When the first voltage is greater than the second voltage, the capacitors in the N capacitor modules are connected in series to the discharge circuit by controlling the on / off switches in the N capacitor modules to be in the off state. The laser emitting module includes M capacitor modules, where M and N are positive integers, and M is greater than or equal to N.

9. An electronic device, characterized in that, The device includes the discharge circuit as described in claims 1-4, a processor, and a memory, wherein the memory stores a program or instructions executable on the processor, which, when executed by the processor, implement the steps of the discharge method as described in any one of claims 6-8.

10. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the discharge method as described in any one of claims 6-8.

Citation Information

Patent Citations

  • Laser drive

    CN101859980A

  • Driving apparatus and driving method for laser, and high-speed optical module

    CN105633776A