CN115085000A - Discharge circuit, method, device and electronic equipment - Google Patents

Discharge circuit, method, device and electronic equipment Download PDF

Info

Publication number
CN115085000A
CN115085000A CN202210837742.4A CN202210837742A CN115085000A CN 115085000 A CN115085000 A CN 115085000A CN 202210837742 A CN202210837742 A CN 202210837742A CN 115085000 A CN115085000 A CN 115085000A
Authority
CN
China
Prior art keywords
voltage
module
discharge
laser emission
emission module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210837742.4A
Other languages
Chinese (zh)
Inventor
谢赟锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210837742.4A priority Critical patent/CN115085000A/en
Publication of CN115085000A publication Critical patent/CN115085000A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01SDEVICES USING THE PROCESS OF LIGHT AMPLIFICATION BY STIMULATED EMISSION OF RADIATION [LASER] TO AMPLIFY OR GENERATE LIGHT; DEVICES USING STIMULATED EMISSION OF ELECTROMAGNETIC RADIATION IN WAVE RANGES OTHER THAN OPTICAL
    • H01S5/00Semiconductor lasers
    • H01S5/04Processes or apparatus for excitation, e.g. pumping, e.g. by electron beams
    • H01S5/042Electrical excitation ; Circuits therefor
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01SDEVICES USING THE PROCESS OF LIGHT AMPLIFICATION BY STIMULATED EMISSION OF RADIATION [LASER] TO AMPLIFY OR GENERATE LIGHT; DEVICES USING STIMULATED EMISSION OF ELECTROMAGNETIC RADIATION IN WAVE RANGES OTHER THAN OPTICAL
    • H01S5/00Semiconductor lasers
    • H01S5/06Arrangements for controlling the laser output parameters, e.g. by operating on the active medium
    • H01S5/0607Arrangements for controlling the laser output parameters, e.g. by operating on the active medium by varying physical parameters other than the potential of the electrodes, e.g. by an electric or magnetic field, mechanical deformation, pressure, light, temperature

Landscapes

  • Physics & Mathematics (AREA)
  • Condensed Matter Physics & Semiconductors (AREA)
  • General Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Optics & Photonics (AREA)
  • Lasers (AREA)

Abstract

The application discloses a discharge circuit, a discharge method, a discharge device and electronic equipment, and belongs to the technical field of electronics. The specific scheme comprises the following steps: the laser control module is used for controlling the laser emitting module to be in a non-working state under the condition that the first voltage is greater than the second voltage; controlling the laser emission module to be in a working state under the condition that the first voltage is less than or equal to the second voltage; the feedback regulation module is used for detecting the first voltage; 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 capacitance of the laser emission module to reduce the discharge time of the laser emission module; 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.

Description

Discharge circuit, method, device and electronic equipment
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a discharge circuit, a method, a device and electronic equipment.
Background
With the development of laser technology, more and more industries are paying attention to the application of laser technology.
Because the laser has the characteristics of high one-way and high brightness and the eyeball of a person has a focusing function, if the laser is not controlled to a certain extent, the laser easily damages the eyes of the person. In the related art, an eye protection module is usually disposed inside the laser sensor, and the eye protection module is mainly used for controlling the working state of the laser by adjusting the brightness and the working time of the laser emitting tube through an eye protection mechanism.
However, due to the problems of different protection judgment logics, device temperature drift or device consistency difference and the like existing in the laser sensor, the human eye protection module often triggers a human eye protection mechanism by mistake.
Disclosure of Invention
The embodiment of the application aims to provide a discharge circuit, a method, a device and an electronic device, which can reduce the phenomenon that an eye protection module triggers an eye protection mechanism by mistake.
In a first aspect, an embodiment of the present application provides a discharge circuit, including: the laser control module, the laser emission module and the feedback regulation module; the laser emission module is respectively connected with the laser control module and the feedback regulation module; the laser control module is used for controlling the laser emitting module to be in a non-working state under the condition that the first voltage is greater than the second voltage; controlling the laser emission module to be in a working state under the condition that the first voltage is less than or equal to the second voltage; the feedback adjusting module is used for detecting the first voltage; 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; 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.
In a second aspect, an embodiment of the present application provides a discharge device including the discharge circuit according to the first aspect.
In a third aspect, an embodiment of the present application provides a discharge method, which is applied to the discharge device according to the first aspect, and the method includes: detecting a first voltage; reducing the discharge time of the laser emission module by reducing the discharge resistance of the laser emission module under the condition that the first voltage is greater than the second voltage; or, reducing the discharge capacitance of the laser emission module to reduce the discharge time of the laser emission module; 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.
In a fourth aspect, embodiments of the present application provide an electronic device, which includes the discharge circuit according to the first aspect, a processor, and a memory, where the memory stores a program or instructions that can be executed on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the third aspect.
In a fifth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the third aspect.
In a sixth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the third aspect.
In a seventh aspect, the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method according to the third aspect.
In the embodiment of the application, the laser control module, the laser emitting module and the feedback adjusting module are arranged in the laser control module; the laser emission module is respectively connected with the laser control module and the feedback regulation module; the laser control module is used for controlling the laser emitting module to be in a non-working state under the condition that the first voltage is greater than the second voltage; controlling the laser emission module to be in a working state under the condition that the first voltage is less than or equal to the second voltage; the feedback adjusting module is used for detecting the first voltage; 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 capacitance of the laser emission module to reduce the discharge time of the laser emission module; 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. By the scheme, the discharge time of the laser emission module can be reduced by reducing the discharge resistance of the laser emission module under the condition that the first voltage is greater than the second voltage; or, the discharge capacitance of the laser emission module is reduced, the discharge time of the laser emission module is reduced, the discharge current can be increased due to the reduction of the discharge time, and the first voltage can be reduced due to the increase of the discharge current, so that the problem that the discharge time of the laser emission module is prolonged due to the influence of external factors in the discharge process can be avoided, and the phenomenon that the human eye protection module triggers the human eye protection mechanism by mistake is reduced.
Drawings
FIG. 1 is a schematic diagram of a discharge circuit in the related art;
FIG. 2 is a schematic diagram of a discharge circuit provided in an embodiment of the present application;
FIG. 3 is a second schematic diagram of a discharge circuit provided in an embodiment of the present application;
FIG. 4 is a third schematic diagram of a discharge circuit according to an embodiment of the present application;
FIG. 5 is a fourth schematic diagram of a discharge circuit provided in the present application;
fig. 6 is a schematic flowchart of a discharging method according to an embodiment of the present application
Fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 8 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in other sequences than those illustrated or otherwise described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense to distinguish one object from another, and not necessarily to limit the number of objects, e.g., the first object may be one or more. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The discharge circuit, the method, the apparatus and the electronic device provided in the embodiments of the present application are described in detail with reference to the accompanying drawings.
As shown in fig. 1, a discharge circuit 100 in the related art is provided, where the discharge circuit 100 includes a power supply VDD, a charge pump 101, a human eye protection module 102, a comparator COMP, a laser emitting tube VCSEL _ a, and a first resistor R 1 And a switch S 1 . Wherein, the VCSEL _ A comprises a parallel junction capacitor C 1 And a light emitting diode D 1
One duty cycle of the discharge circuit 100 includes two states, one being a laser emitting state and the other being an eye protection detection state. In the case that the discharge circuit 100 is in the state of human eye protection detection, the charge pump 101 is in the off state, and in order to prevent the laser from being damaged by the excessive discharge current, the switch S may be first turned on 1 Switching to a power supply VDD, wherein the VCSEL _ A of the laser emitting tube can pass through a junction capacitor C 1 Discharging power supply VDD, and switching on/off switch S after a period of time 1 Switching to the ground GND, wherein the VCSEL _ A passes through the LED D 1 Discharging the ground terminal GND. In the discharging process, the comparator COMP may compare the voltage of the laser emitting tube VCSEL _ a with the power voltage of the power supply VDD, if the voltage of the laser emitting tube VCSEL _ a is greater than the power voltage of the power supply VDD, it is determined that the situation is abnormal, and the eye protection module 102 may control the charge pump to stop working, that is, the discharging circuit 100 stops emitting laser, otherwise, the eye protection module may control the charge pump to stop emitting laser lightThe discharge circuit 100 may continue to operate for the next cycle.
However, because the internal protection judgment logics of the laser sensors are different, the devices have consistency differences, or the laser emitting tube has certain characteristic drift along with temperature change, in the discharging process of the laser emitting tube VCSEL _ a, if the environmental temperature becomes low, the impedance of the conducting circuit becomes large, the discharging time becomes long, so that the human eye protection module makes misjudgment on abnormal conditions, and further a human eye protection mechanism is triggered by mistake.
In view of the above problems, the present embodiment provides a discharge circuit 200.
As shown in fig. 2, a discharge circuit 200 provided in the embodiment of the present application includes: a laser control module 210, a laser emitting module 220 and a feedback adjusting module 230. The laser emitting module 220 is respectively connected to the laser control module 210 and the feedback adjusting module 230.
The laser control module 210 may be configured to control the laser emitting module 220 to be in a non-operating state when the first voltage is greater than the second voltage; and controlling the laser emitting module 220 to be in the working state under the condition that the first voltage is less than or equal to the second voltage. The first voltage is a discharge voltage of the laser emitting module 220, and the second voltage is a voltage threshold determined according to the power supply voltage.
Note that the second voltage is a voltage threshold determined according to the power supply voltage, and means that: the second voltage is a voltage threshold determined by the fluctuation of the power supply voltage. For example, the second voltage may be +0.05V of the power supply voltage, or the second voltage may be-0.05V of the power supply voltage.
A feedback adjustment module 230, which may be configured to detect the first voltage and reduce a discharge time of the laser emitting module 220 by reducing a discharge resistance of the laser emitting module 220 when the first voltage is greater than the second voltage; alternatively, the discharge time of the laser emission module 220 is reduced by reducing the discharge capacitance of the laser emission module 220.
Specifically, since the discharge time τ of the laser emitting module 220 is RC, where R is a discharge resistor and C is a discharge capacitor, the feedback adjusting module 230 may decrease the discharge time τ of the laser emitting module 220 by decreasing the discharge capacitor of the laser emitting module 220, and may also decrease the discharge time τ of the laser emitting module 220 by decreasing the discharge resistor of the laser emitting module 220.
It should be noted that the feedback adjusting module 230 may reduce the discharge time of the laser emitting module 220, that is, increase the discharge speed of the laser emitting module 220, when the first voltage is greater than the second voltage, so as to alleviate the problems of longer discharge time and larger first voltage due to incomplete discharge caused by environmental or device difference, thereby reducing the erroneous determination of the laser controlling module 210.
In the embodiment of the present application, the discharge time of the laser emission module may be reduced by reducing the discharge resistance of the laser emission module when the first voltage is greater than the second voltage; or, the discharge capacitance of the laser emission module is reduced, the discharge time of the laser emission module is reduced, the discharge current can be increased due to the reduction of the discharge time, and the first voltage can be reduced due to the increase of the discharge current, so that the problem that the discharge time of the laser emission module is prolonged due to the influence of external factors in the discharge process can be avoided, and the phenomenon that the human eye protection module triggers the human eye protection mechanism by mistake is reduced.
Alternatively, as shown in fig. 3, the laser control module 210 may include: a first comparator COMP 1, a power supply VDD, a human eye protection module 211, and a charge pump 212. A first input end of the first comparator COMP 1 is connected to a power supply VDD, a second input end of the first comparator COMP 1 is connected to the laser emission module 220, an output end of the first comparator COMP 1 is connected to a first port of the human eye protection module 211, a second port of the human eye protection module 211 is connected to the laser emission module 220, a third port of the human eye protection module 211 is connected to a first output end of the charge pump 212, a second output end 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.
The charge pump 212 may be configured to provide a supply voltage to the laser emission module 220, where the supply voltage is determined according to a supply voltage of the power supply VDD.
Alternatively, the supply voltage may be K times the supply voltage, where K is a positive integer, and K may be 3, for example.
A first comparator COMP 1, which may be configured to output a first level if the first voltage is greater than the second voltage; and outputting the second level when the first voltage is less than or equal to the second voltage.
Alternatively, the first level may be a high level, and the second level may be a low level; alternatively, the second level may be a high level, and the first level may be a low level. The method can be determined according to actual use requirements, and is not limited in the embodiment of the application.
The human eye protection module 211 may be configured to control the laser emitting module 220 to be in a non-operating state when the first level is detected; in case that the second level is detected, the laser emission module 220 is controlled to be in an operation state.
Alternatively, as shown in fig. 4, the feedback adjusting module 230 may be an adjustable reference source 401, and the laser emitting module 220 may include a laser emitting tube VCSEL _ a and a first resistor R 1 A first Field Effect Transistor (MOSFET) Q 1 And a second comparator COMP 2.
The VCSEL _ A of the laser emitting tube is connected with a first resistor R 1 First resistance R 1 A first input end of a second comparator COMP2 is connected, one end of an adjustable reference source 401 is connected to the VCSEL _ A and the first resistor R of the laser emitting tube 1 The other end of the first comparator COMP2 is connected with a second input end of a second comparator COMP2, and an output end of the second comparator COMP2 is connected with a first MOS transistor Q 1 The first MOS transistor Q 1 Is connected to the first resistor R 1 And the first input terminal of the second comparator COMP2, the other is grounded.
The adjustable reference source 401 may be specifically configured to: detecting discharge current I of VCSEL _ A of laser emitting tube f (ii) a At discharge current I f Under the condition of being larger than a preset current threshold value, the first MOS transistor Q is reduced 1 Gate voltage of(ii) a At discharge current I f When the current is less than or equal to the preset current threshold, detecting a third voltage at the first input end of a second comparator COMP2, comparing the third voltage with a fourth voltage by a second comparator COMP2, and increasing the first MOS transistor Q when the third voltage is greater than the fourth voltage 1 A gate voltage of; wherein the third voltage is a voltage at the first input terminal of the second comparator COMP2, and the fourth voltage is a voltage according to the discharge current I f A first resistor R 1 And a voltage threshold determined by the supply voltage VDD.
Specifically, the preset current threshold is the maximum discharge current that can be tolerated by the laser normal discharge when the discharge current I is measured f When the current is larger than the preset current threshold, the device may be damaged or otherwise abnormal, and to avoid this problem, the adjustable reference source 401 may detect the discharge current I f Under the condition that the current is greater than the preset current threshold value, the Q of the first MOS transistor is reduced 1 The gate voltage of the first MOS transistor Q is reduced at the adjustable reference source 401 1 After the gate voltage of the first MOS transistor Q is increased, the first MOS transistor Q can be driven to work 1 So that the discharge current I is increased f Decreasing below a preset current threshold. At discharge current I f In a normal size range, a third voltage at the first input terminal of the second comparator COMP2, that is, the voltage at the position of the point a may be further detected, and when the third voltage is greater than the fourth voltage, the first MOS transistor Q may be increased 1 The gate voltage of (1) to make the first MOS transistor Q 1 The on-resistance of (2) becomes small, thereby reducing the discharge time of the laser emitting module.
It should be noted that the discharge voltage V of the laser emitting tube VCSEL _ a A =V min +I f *R 1 Wherein V is min Is the fourth voltage, since when the first voltage V is applied A The eye protection module 211 in the laser control module 210 can control the laser emitting module 220 to be in the non-working state when the voltage is larger than the second voltage, and the second voltage is a voltage threshold determined according to the power voltage, so that the fourth voltage V min Can be based on the discharge current I f The first resistor R 1 And the electricityThe source voltage is determined.
Based on the above scheme, because the gate voltage of the first MOS transistor can be increased under the condition that the third voltage is greater than the fourth voltage, the on-resistance of the first MOS transistor can be reduced, and the discharge time of the laser emission module can be reduced, thereby avoiding the problem that the discharge time of the laser emission module is prolonged due to the influence of environmental factors during the discharge process.
Optionally, as shown in fig. 5, the discharge circuit 200 may further include a feedback module 501, and the laser emitting module 220 may include a laser emitting tube VCSEL _ a, a current limiting resistor, and M capacitance modules 502. The output end of the laser emitting tube VCSEL _ A is connected with a current limiting resistor, the current limiting resistor is sequentially connected with the M capacitor modules 502 in series and then grounded, one end of the feedback module 501 is connected with the input end of the laser emitting tube VCSEL _ A, the other end of the feedback module is connected with the feedback adjusting module 230, the feedback adjusting module 230 is respectively connected with each capacitor module 502, each capacitor module 502 comprises an on-off switch Q x And a capacitor C S On-off switch Q x And a capacitor C S Are connected in parallel. Wherein M is a positive integer, and x is a positive integer greater than 0 and less than or equal to M.
The feedback adjustment module 230 may be specifically configured to: detecting the first voltage by the feedback module 501; and controls the on-off switch Q in the N capacitor modules 502 when the first voltage is greater than the second voltage x In the off state, the N capacitors C in the capacitor module 502 S Connected in series to the discharge circuit 200; wherein N is a positive integer, and M is greater than or equal to N.
Specifically, the feedback adjusting module 230 may detect a first voltage, that is, a voltage at the position of the point a, through the feedback module 501, and in a case that the first voltage is greater than the second voltage, the feedback adjusting module 230 may serially connect the capacitors of the N capacitor modules 502 to the discharge circuit, so that the discharge capacitance in the discharge circuit is reduced.
Alternatively, the feedback adjustment module 230 may determine the value of N based on the first voltage. The larger the first voltage is, the larger the value of N is, the smaller the discharge capacitance is, and the smaller the discharge time of the laser emission module is.
Based on the scheme, the capacitors in the N capacitor modules can be connected in series to the discharge circuit under the condition that the first voltage is greater than the second voltage, so that the discharge capacitance in the discharge circuit can be reduced, the discharge time of the laser emission module is shortened, and the problem that the discharge time of the laser emission module is prolonged due to the influence of environmental factors in the discharge process is solved.
Alternatively, with continued reference to FIG. 5, the on-off switch Q described above x Can be MOS tube. The feedback adjustment module 230 may control the MOS transistor in the capacitance module 502 to be in the off state to make the capacitor C S Is connected in series to the discharge circuit 200.
Optionally, with continued reference to fig. 5, the current limiting resistor may include a second resistor R 2 And a third resistor R 3 . The output end of the laser emitting tube VCSEL _ A is connected with a second resistor R 2 One terminal of (1), a second resistor R 2 The other end of the resistor is connected with M capacitor modules 502 and a third resistor R which are connected in series 3 Are sequentially connected in series and then grounded.
As shown in fig. 6, an embodiment of the present application provides a discharging method applied to a discharging device including the discharging circuit shown in fig. 1 to 5, where the method may include steps 601 to 602:
step 601, detecting a first voltage.
Step 602, reducing the discharge time of the laser emission module by reducing the discharge resistance of the laser emission module under the condition that the first voltage is greater than the second voltage; or, reducing the discharge capacitance of the laser emission module to reduce the discharge time of the laser emission module; 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.
Optionally, the reducing the discharge time of the laser emission module by reducing the discharge resistance of the laser emission module includes: detecting the discharge current of the laser emission tube; reducing the grid voltage of the first MOS tube under the condition that the discharge current is larger than a preset current threshold; under the condition that the discharge current is smaller than or equal to the preset current threshold, comparing a third voltage with a fourth voltage through a second comparator, and under the condition that the third voltage is larger than the fourth voltage, increasing the grid 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 resistor, and the power supply voltage.
Optionally, the reducing the discharge time of the laser emission module by reducing the discharge capacitance of the laser emission module includes: under the condition that the first voltage is larger than the second voltage, controlling on-off switches in N capacitor modules to be in an off state to enable capacitors in the N capacitor modules to be connected in series to the discharge circuit; wherein N is a positive integer.
In the embodiment of the present application, the discharge time of the laser emission module may be reduced by reducing the discharge resistance of the laser emission module when the first voltage is greater than the second voltage; or, the discharge time of the laser emission module is reduced by reducing the discharge capacitance of the laser emission module, the discharge current can be increased due to the reduction of the discharge time, and the first voltage can be reduced due to the increase of the discharge current, so that the problem that the discharge time of the laser emission module is prolonged due to the influence of external factors in the discharge process can be avoided, and the phenomenon that the human eye protection module triggers the human eye protection mechanism by mistake is reduced.
The discharge device in the embodiment of the present application may be an electronic device, and may also be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top 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 the like, and may also be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The discharge device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The discharge device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 6, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701 and a memory 702, where the memory 702 stores a program or an instruction that can be executed on the processor 701, and when the program or the instruction is executed by the processor 701, the steps of the foregoing discharging method embodiment are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
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.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The sensor 1005 is configured to detect a first voltage.
A processor 1010, configured to reduce a discharge time of the laser emission module by reducing a discharge resistance of the laser emission module when the first voltage is greater than the second voltage; or, reducing the discharge capacitance of the laser emission module to reduce the discharge time of the laser emission module; 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.
In the embodiment of the present application, the discharge time of the laser emission module may be reduced by reducing the discharge resistance of the laser emission module when the first voltage is greater than the second voltage; or, the discharge capacitance of the laser emission module is reduced, the discharge time of the laser emission module is reduced, the discharge current can be increased due to the reduction of the discharge time, and the first voltage can be reduced due to the increase of the discharge current, so that the problem that the discharge time of the laser emission module is prolonged due to the influence of external factors in the discharge process can be avoided, and the phenomenon that the human eye protection module triggers the human eye protection mechanism by mistake is reduced.
Optionally, the sensor 1005 is further configured to detect a discharge current of the laser emitting tube.
The processor 1010 is specifically configured to reduce a gate voltage of the first MOS transistor when the discharge current is greater than a preset current threshold; under the condition that the discharge current is smaller than or equal to the preset current threshold, comparing the magnitude of a third voltage and the magnitude of a fourth voltage through a second comparator, and under the condition that the third voltage is larger than the fourth voltage, increasing the grid 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 resistor, and the power supply voltage.
In the embodiment of the application, the gate voltage of the first MOS transistor can be increased under the condition that the third voltage is greater than the fourth voltage, so that the on-resistance of the first MOS transistor can be reduced, and the discharge time of the laser emission module can be reduced, thereby avoiding the problem that the discharge time of the laser emission module is prolonged due to the influence of environmental factors during the discharge process.
Optionally, the processor 1010 is specifically configured to, when the first voltage is greater than the second voltage, control on/off switches of N capacitance modules to be in an off state so that capacitances of the N capacitance modules are connected in series to the discharge circuit; wherein N is a positive integer.
In the embodiment of the application, the capacitors in the N capacitor modules can be connected in series to the discharge circuit under the condition that the first voltage is greater than the second voltage, so that the discharge capacitance in the discharge circuit can be reduced, and the discharge time of the laser emission module can be reduced, thereby avoiding the problem that the discharge time of the laser emission module is prolonged due to the influence of environmental factors in the discharge process.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. 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 referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct bus 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 memory.
Processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing discharging method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing discharging method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing discharging method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not described here again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A discharge circuit, comprising: the laser control module, the laser emission module and the feedback regulation module; the laser emission module is respectively connected with the laser control module and the feedback regulation module;
the laser control module is used for controlling the laser emission module to be in a non-working state under the condition that the first voltage is greater than the second voltage; controlling the laser emission module to be in a working state under the condition that the first voltage is less than or equal to the second voltage;
the feedback adjusting module is used for detecting the first voltage; 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;
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.
2. The discharge circuit of claim 1, wherein the laser control module comprises: the device comprises a first comparator, a power supply, a human eye protection module and a charge pump;
the first input end of the first comparator is connected with the power supply, the second input end of the first comparator is connected with the laser emission module, the output end of the first comparator is connected with the first port of the eye protection module, the second port of the eye protection module is connected with the laser emission module, the third port of the eye protection module is connected with the first output end of the charge pump, the second output end of the charge pump is connected with the laser emission module, and the laser emission module is connected with the feedback regulation module;
the charge pump is used for providing power supply voltage for the laser emission module, and the power supply voltage is determined according to the power supply voltage of the power supply;
the first comparator is used for outputting a first level under the condition that the first voltage is greater than the second voltage; outputting a second level if the first voltage is less than or equal to the second voltage;
the human eye protection module is used for controlling the laser emission module to be in a non-working state under the condition that the first level is detected; and controlling the laser emission module to be in a working state under the condition that the second level is detected.
3. The discharge circuit according to claim 1 or 2, wherein the feedback adjusting module is an adjustable reference source, and the laser emitting module comprises a laser emitting tube, a first resistor, a first field effect MOS (metal oxide semiconductor) tube and a second comparator;
the laser emission tube is connected with the first resistor, the first resistor is connected with a first input end of the second comparator, one end of the adjustable reference source is connected between the laser emission tube and the first resistor, the other end of the adjustable reference source is connected with a second input end of the second comparator, an output end of the second comparator is connected with a grid electrode of the first MOS tube, one of a source electrode and a drain electrode of the first MOS tube is connected between the first resistor and the first input end of the second comparator, and the other one of the source electrode and the drain electrode of the first MOS tube is grounded;
the adjustable reference source is used for:
detecting the discharge current of the laser emission tube;
reducing the grid voltage of the first MOS tube under the condition that the discharge current is larger than a preset current threshold;
under the condition that the discharge current is smaller than or equal to the preset current threshold, comparing the magnitude of a third voltage and the magnitude of a fourth voltage through the second comparator, and under the condition that the third voltage is larger than the fourth voltage, increasing the grid 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 resistor, and the power supply voltage.
4. The discharge circuit according to claim 1 or 2, wherein the discharge circuit further comprises a feedback module, and the laser emitting module comprises a laser emitting tube, a current limiting resistor and M capacitor modules;
the output end of the laser emission tube is connected with the current limiting resistor, the current limiting resistor and the M capacitor modules are sequentially connected in series and then grounded, one end of the feedback module is connected with the input end of the laser emission tube, the other end of the feedback module is connected with the feedback adjusting module, the feedback adjusting module is respectively connected with each capacitor module, each capacitor module comprises an on-off switch and a capacitor, and the on-off switches are connected with the capacitors in parallel;
the feedback adjustment module is specifically configured to:
detecting the first voltage by the feedback module;
under the condition that the first voltage is larger than the second voltage, controlling the on-off switches in the N capacitor modules to be in an off state to enable capacitors in the N capacitor modules to be connected to the discharge circuit in series;
wherein M, N is a positive integer, and M is greater than or equal to N.
5. The discharge circuit of claim 4, wherein the on-off switch is a MOS transistor.
6. A discharge device comprising the discharge circuit according to any one of claims 1 to 5.
7. A discharge method applied to the discharge device according to claim 6, the method comprising:
detecting a first voltage;
reducing the discharge time of the laser emission module by reducing the discharge resistance of the laser emission module under the condition that the first voltage is greater than the second voltage; or, reducing the discharge capacitance of the laser emission module to reduce the discharge time of the laser emission module;
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.
8. The discharging method according to claim 7, wherein the reducing of the discharging time of the laser emission module by reducing the discharging resistance of the laser emission module comprises:
detecting the discharge current of the laser emission tube;
under the condition that the discharge current is larger than a preset current threshold, reducing the grid voltage of the first MOS tube;
under the condition that the discharge current is smaller than or equal to the preset current threshold, comparing the magnitude of a third voltage and the magnitude of a fourth voltage through a second comparator, and under the condition that the third voltage is larger than the fourth voltage, increasing the grid voltage of the first MOS tube;
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 resistor, and the power supply voltage.
9. The discharging method according to claim 8, wherein the reducing of the discharging time of the laser emission module by reducing the discharging capacitance of the laser emission module comprises:
under the condition that the first voltage is larger than the second voltage, capacitors in the N capacitor modules are connected in series to the discharge circuit by controlling on-off switches in the N capacitor modules to be in an off state;
wherein N is a positive integer.
10. An electronic device comprising the discharge circuit of claims 1-5, a processor, and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the discharge method of any of claims 7-9.
11. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the discharging method according to any one of claims 7-9.
CN202210837742.4A 2022-07-15 2022-07-15 Discharge circuit, method, device and electronic equipment Pending CN115085000A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210837742.4A CN115085000A (en) 2022-07-15 2022-07-15 Discharge circuit, method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210837742.4A CN115085000A (en) 2022-07-15 2022-07-15 Discharge circuit, method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115085000A true CN115085000A (en) 2022-09-20

Family

ID=83260049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210837742.4A Pending CN115085000A (en) 2022-07-15 2022-07-15 Discharge circuit, method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115085000A (en)

Similar Documents

Publication Publication Date Title
US9058773B2 (en) DC-DC converter, display device including the same and method of controlling a driving voltage
US10788919B2 (en) Optical sensing device, semiconductor device containing the same, and method for driving the same
CN107995963B (en) Display screen control method and device
US8330778B2 (en) Monitor
US20140300406A1 (en) Inrush current control circuit
CN114123114A (en) Control method and device of bleeder circuit, bleeder device and electronic equipment
CN114740996A (en) Signal acquisition method and electronic equipment
CN115085000A (en) Discharge circuit, method, device and electronic equipment
WO2020197953A1 (en) Display controller with row enable based on drive settle detection
US20160294202A1 (en) Charging circuit
CN112701751B (en) Power supply circuit, power supply method and electronic equipment
KR101525701B1 (en) Apparatus for controlling output voltage and apparatus for boosting voltage including the same
CN113763879B (en) Power supply circuit, display screen, electronic equipment and power supply control method
CN112261297B (en) Control method and device of dynamic vision sensor and electronic equipment
CN112117786B (en) Charging circuit of electronic equipment and electronic equipment
CN115833307A (en) Battery charging circuit, charging control method and electronic equipment
CN116631465A (en) Power supply method, device, electronic equipment and readable storage medium
CN117409712A (en) Display panel driving circuit, pixel driving method, device and equipment
US11164508B2 (en) Electronic device
CN117424315A (en) Dual-power voltage balancing system, method, electronic device and readable storage medium
CN116301697A (en) Display assembly, display control method, display control device, electronic equipment and storage medium
CN116707090A (en) Charging system, charging method and charging device
CN115882569A (en) Charging circuit, charging control method and electronic device
CN114944742A (en) Voltage conversion circuit and electronic device
CN116501154A (en) Control method and device of electronic equipment, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination