Disclosure of Invention
An object of the utility model is to prior art not enough, provide a low-voltage dimming circuit and EDC flashlight thereof to solve present EDC flashlight of adjusting luminance under the condition of low light work, can not realize the problem of shifting the light of adjusting luminance.
In order to achieve the above purpose, the utility model adopts the following technical scheme:
a low voltage dimming circuit, comprising: the LED driving circuit, the first booster circuit, the voltage stabilizing circuit, the singlechip, the voltage detection circuit and the trigger circuit;
the first end of the LED driving circuit is connected with the voltage input end, and the second end of the LED driving circuit is connected with the voltage output end;
the input end of the first booster circuit is connected with the voltage output end, and the output end of the first booster circuit is connected with the input end of the voltage stabilizing circuit;
the input end of the single chip microcomputer is connected with the output end of the voltage stabilizing circuit, and the first detection end of the single chip microcomputer is connected with the detection circuit;
the voltage detection circuit is used for detecting the voltage of the voltage output end and transmitting a detected voltage signal to the single chip microcomputer;
the trigger circuit is connected with the LED drive circuit and used for adjusting the output brightness of the LED.
Further, the first boost circuit includes: the voltage stabilizing circuit comprises a first diode, an energy storage inductor, a first energy storage capacitor and a field effect transistor, wherein the positive connecting end of the first diode is connected with the voltage output end, the negative connecting end of the first diode is connected with the voltage stabilizing circuit, the input end of the energy storage inductor is connected with the voltage input end, the output end of the energy storage inductor is connected with the first end of the first energy storage capacitor, the second end of the first energy storage capacitor is connected with the voltage stabilizing circuit, the drain electrode of the field effect transistor is connected with the output end of the energy storage inductor, the source electrode of the field effect transistor is grounded, and the grid electrode of the field effect transistor is connected with the second detection end of the single chip microcomputer.
Furthermore, a second diode and a first current limiting resistor are sequentially connected between the cathode connecting end of the first diode and the voltage stabilizing circuit.
Further, the voltage stabilizing circuit comprises: the input end of the voltage stabilizing chip is connected with the first current limiting resistor, the output end of the voltage stabilizing chip is connected with the input end of the single chip microcomputer, the grounding end of the voltage stabilizing chip is used for grounding, the first end of the second energy storage capacitor is connected with the input end of the voltage stabilizing chip, the second end of the second energy storage capacitor is grounded, the first end of the third energy storage capacitor is connected with the output end of the voltage stabilizing chip, and the second end of the third energy storage capacitor is grounded.
Furthermore, a fourth energy storage capacitor is connected to the single chip microcomputer, a first end of the fourth energy storage capacitor is connected to a voltage input end of the single chip microcomputer, and a second end of the fourth energy storage capacitor is connected to a grounding end of the single chip microcomputer.
Further, the voltage detection circuit includes: the detection device comprises a first detection resistor and a second detection resistor, wherein the first end of the first detection resistor is grounded, the second end of the first detection resistor is connected with the first end of the second detection resistor, the second end of the second detection resistor is connected with a voltage output end, and the second end of the first detection resistor is connected with the phase connection end of the first end of the second detection resistor to be connected with the first detection end of the single chip microcomputer.
Furthermore, the grid of the field effect transistor is also connected with a pull-down resistor.
Furthermore, a third detection end of the single chip microcomputer is connected with the voltage input end, and a second current limiting resistor is connected between the third detection end of the single chip microcomputer and the voltage input end.
Further, the LED driving circuit includes: the input end of the second booster circuit is connected with the voltage input end, the feedback end of the second booster circuit is connected with the feedback circuit, and the output end of the second booster circuit is connected with the voltage output end.
The utility model also provides a EDC flashlight, include: the main part, be equipped with in the main part a low voltage dimmer circuit.
The utility model has the advantages that:
through setting up first boost circuit, when the LED light source is under low light operating condition, first boost circuit can provide the energy for the work of singlechip for the singlechip can be at the work of presetting time internal stability, thereby guarantees that EDC adjusts luminance the flashlight and under the condition of low light work, also can realize shifting and adjust luminance.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present invention, and should not be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are merely for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically limited otherwise.
In the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," "fixed," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrated; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present invention can be understood according to specific situations by those of ordinary skill in the art.
Referring to fig. 1-6, a low voltage dimming circuit comprising: the LED driving circuit, the first booster circuit, the voltage stabilizing circuit, the singlechip U4, the voltage detection circuit and the trigger circuit; the first end of the LED driving circuit is connected with the voltage input end, and the second end of the LED driving circuit is connected with the voltage output end VOUT; the input end of the first booster circuit is connected with the voltage output end VOUT, and the output end of the first booster circuit is connected with the input end of the voltage stabilizing circuit; the input end of the singlechip U4 is connected with the output end of the voltage stabilizing circuit, and the first detection end GP2 of the singlechip U4 is connected with the detection circuit; the voltage detection circuit is used for detecting the voltage of the voltage output end VOUT and transmitting a detected voltage signal to the single chip microcomputer; the trigger circuit is connected with the LED drive circuit and used for adjusting the output brightness of the LED. Further, the first boost circuit includes: first diode D1, energy storage inductance L2, first energy storage electric capacity C8 and field effect transistor Q1, voltage output end VOUT is connected to first diode D1's positive pole link, voltage stabilizing circuit is connected to first diode D1's negative pole link, energy storage inductance L2's input is connected with voltage input end, energy storage inductance L2's output is connected with first energy storage electric capacity C8's first end, voltage stabilizing circuit is connected to first energy storage electric capacity C8's second end, field effect transistor Q1's drain electrode is connected energy storage inductance L2's output, field effect transistor Q1's source ground connection, field effect transistor Q1's grid is connected singlechip U4's second detection end GP0 and is connected. In this embodiment, the trigger circuit includes: one end of the switch SW1 is connected with the LED driving circuit, and the other end of the switch SW1 is connected with the negative connecting end of the power supply.
Through setting up first boost circuit, when the LED light source is under low light operating condition, first boost circuit can provide the energy for the work of singlechip for the singlechip can be at the work of presetting time internal stability, thereby guarantees that EDC adjusts luminance the flashlight and under the condition of low light work, also can realize shifting and adjust luminance.
In one embodiment, a second diode D2 and a first current limiting resistor R10 are further connected between the negative connection end of the first diode D1 and the voltage stabilizing circuit in sequence; the second diode D2 is arranged, so that the situation that the circuit cannot continuously supply power to the singlechip U4 due to the fact that the electric quantity stored in the second energy storage capacitor C9, the third energy storage capacitor C10 and the fourth energy storage capacitor C7 is reversely consumed when the switch SW1 is closed can be prevented; and the arrangement of the first current limiting resistor R10 can prevent the voltage stabilizing chip U3 from being damaged due to the over-high instantaneous voltage.
In one embodiment, a voltage regulator circuit includes: voltage stabilizing chip U3, second energy storage electric capacity C9 and third energy storage electric capacity C10, first current-limiting resistor R10 is connected to voltage stabilizing chip U3's input, singlechip U4's input is connected to voltage stabilizing chip U3's output, voltage stabilizing chip U3's earthing terminal is used for ground connection, voltage stabilizing chip U3's input is connected to second energy storage electric capacity C9's first end, second energy storage electric capacity C9's second end ground connection, voltage stabilizing chip U3's output is connected to third energy storage electric capacity C10's first end, third energy storage electric capacity C10's second end ground connection. The second energy storage capacitor C9 and the third energy storage capacitor C10 both play a role in energy storage, so that energy is provided for normal work of the singlechip U4. Furthermore, a fourth energy storage capacitor C7 is connected to the single chip microcomputer U4, a first end of the fourth energy storage capacitor C7 is connected to a voltage input end of the single chip microcomputer U4, and a second end of the fourth energy storage capacitor C7 is connected to a grounding end of the single chip microcomputer U4.
In one embodiment, referring to fig. 5, the voltage detection circuit includes: the first end of the first detection resistor R14 is grounded, the second end of the first detection resistor R14 is connected with the first end of the second detection resistor R11, the second end of the second detection resistor R14 is connected with the voltage output end VOUT, and the connecting end of the second end of the first detection resistor R11 and the first end of the second detection resistor R14 is connected to the first detection end GP2 of the single chip microcomputer U4.
In one embodiment, the gate of the field effect transistor Q1 is further connected with a pull-down resistor R13. Because field effect transistor Q1 has parasitic capacitance, the setting of pull-down resistance R3 then can consume parasitic capacitance's electric quantity to reach the effect of quick shutoff field effect transistor Q1.
In one embodiment, the third detection end GP1 of the single chip microcomputer U4 is connected to the voltage input end, and a second current limiting resistor R12 is connected between the third detection end GP1 of the single chip microcomputer U4 and the voltage input end. Through setting up second current-limiting resistor R12, can detect the input voltage BAT + of voltage detection end on the one hand for during operating switch SW1, singlechip U4 can be according to the different PWM signals of voltage output that second current-limiting resistor R12 detected, in order to realize the dimming of LED lamp, on the other hand second current-limiting resistor R12 can play the effect of current-limiting, thereby avoids the battery voltage sudden change to rise and leads to puncturing singlechip U4's the condition to take place.
In one embodiment, referring to fig. 6, the led driving circuit includes: the input end of the second booster circuit is connected with the voltage input end, the feedback end of the second booster circuit is connected with the feedback circuit, and the output end of the second booster circuit is connected with the voltage output end VOUT. Further, the second boost circuit includes: the booster chip U1 is characterized in that a No. 1 pin grounding end AGND of the booster chip U1 is grounded, a No. 2 pin feedback end FB of the booster chip U1 is connected with a feedback circuit, a No. 2 pin feedback end FB of the booster chip U1 is also connected with a resistor R2, the other end of the resistor R2 is connected with a voltage output end VOUT, the No. 2 pin feedback end FB of the booster chip U1 is also connected with a resistor R5, the other end of the resistor R5 is grounded, a No. 3 pin output end VOUT1 and a No. 4 pin output end VOUT2 of the booster chip U1 are connected with the voltage output end VOUT, a No. 5 pin enabling end EN of the booster chip U1 is connected with one end of an inductor L1, the other end of the inductor L1 is connected with a No. 7 pin SW1 of the booster chip U1, a No. 6 pin SW2 of the booster chip U1 is connected with a No. 7 pin SW1 of the booster chip U1, a No. 8 pin input end of the booster chip U1 is connected with a voltage input end BAT +, a No. 9 pin grounding end PGND of the booster chip U1 is connected with a switch SW1, and a No. 9 pin grounding end AGND of the booster chip U1 is grounded; the feedback circuit includes: the amplifier U2 is grounded after a No. 1 connecting end of the amplifier U2 is sequentially connected with a resistor R3 and a resistor R8, the No. 1 connecting end of the amplifier U2 is also connected with a light-emitting diode LED1, a positive connecting end of the light-emitting diode LED1 is used for being connected with a negative connecting end LED of an LED lamp, a No. 2 connecting end of the amplifier U2 is grounded, and a No. 3 connecting end of the amplifier U2 is sequentially connected with a resistor R9, a capacitor C6, a resistor R7, a capacitor C5 and a resistor R6 and then is connected with a No. 6 pin GP3 of a singlechip U4; amplifier U2's No. 4 link connecting resistance R4 back is connected with 2 foot pin feedback ends FB of chip U1 that steps up, and amplifier U2's No. 5 link connecting resistance R1 back is connected with the anodal link of LED lamp, and the anodal link of LED lamp connects voltage output terminal VOUT, still is connected with electric capacity C2 at amplifier U2's No. 5 link, electric capacity C2's the other end ground connection.
The working principle is as follows: when the switch SW1 is pressed down, the LED drive circuit can be boosted to normally work, the power supply of the singlechip U4 is supplied to the singlechip U4 through the voltage output end VOUT sequentially passing through the first diode D1, the second diode D2, the first current-limiting resistor R10 and the voltage stabilizer U3, and after the singlechip U4 normally works, the first detection end GP2 of the No. 4 pin of the singlechip U4 is detected to be at a high level, so that the LED lamp is known to be normally illuminated; then a second detection end GP0 of a pin No. 1 of the singlechip U4 outputs square waves, so that the field effect tube Q1 is continuously switched on and off; when the field effect transistor Q1 is turned on, the source voltage of the field effect transistor Q1 is about 0V, the voltage of the first energy storage capacitor C8 is (VOUT-VD 1), when the field effect transistor Q1 is turned off, since the current of the energy storage inductor L2 cannot suddenly change and the voltage of the first energy storage capacitor C8 cannot suddenly change, the energy storage inductor L2 inductor has a reverse voltage Vs (i.e., the voltage at the output end of the energy storage inductor L2), and the voltage of the first energy storage capacitor C8 is maintained to be suddenly changed, so that the first energy storage capacitor C8 (i.e., the voltage at the negative electrode connection end of the first diode) is VOUT-VD1+ VBAT + Vs, the superimposed voltage passes through the second diode D2, the first current limiting resistor R10 is stored in the second energy storage capacitor C9, as long as the LED lamp is in an illumination state, the voltage of the second energy storage capacitor C9 is maintained in a high-VOUT-VD 1+ VBAT + Vs high-voltage state, and when the switch SW1 is turned off, even if the LED lamp is in a very low brightness state (Vf value of the LED lamp is very low), the energy storage capacitor Vf value of the second energy storage capacitor C9 can be switched to a long time, and the single chip microcomputer can be switched to realize a long enough to switch EDC to realize dimming operation time.
The utility model also provides a EDC flashlight, include: the main part, a low voltage dimmer circuit that is equipped with in the main part.
The above-mentioned embodiments are only one of the preferred embodiments of the present invention, and the general changes and substitutions performed by those skilled in the art within the technical scope of the present invention should be included in the protection scope of the present invention.