SUMMERY OF THE UTILITY MODEL
In order to make up for the above insufficiency, the utility model provides a multi-functional light control circuit.
The technical scheme of the utility model is that:
a multifunctional lighting lamp control circuit comprises a quick charge and discharge circuit, a light source drive control circuit, a battery detection circuit, an LDO circuit and an MCU control circuit, wherein the quick charge and discharge circuit is composed of a Type-C interface J1, a quick charge chip U1, a resistor R1, R2, R3, R7, a capacitor C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, a diode D1, an inductor L1, a MOS tube Q1 and a battery BAT 1; the light source driving control circuit consists of a DC-DC power supply module, a far-reaching white light LED1, a low-beam light LED2, a red light LED3, MOS tubes Q2, Q3 and Q4, resistors R4, R5 and R6 and an operational amplifier; the battery detection circuit is composed of resistors R8 and R15; the LDO circuit consists of capacitors C16, C17 and a voltage stabilizing IC; the MCU control circuit is composed of resistors R9, R10, R11, R12, R13, R14, a capacitor C18, indicator lamps D2, D3, D4, KEYs KEY1, KEY2 and a single chip microcomputer U3.
As a preferred technical solution, 34 of the fast charging chip U1 is in signal connection with CC1 of the Type-C interface J1, 35 is in signal connection with CC2 of the Type-C interface J1, 36 is in signal connection with DMC of the Type-C interface J1, 37 is in signal connection with DPC of the Type-C interface J1, pin 10 is connected with a common node of pins 2, 7, 10, 15 of the Type-C interface J1 and is connected with the S pole of Q1, inductor L1 and resistor R3 are connected in series and then are connected with pins 2, 3, 4, 5, 6 of the fast charging chip U1, the other end is connected to the positive pole of the battery BAT1, capacitors C3 and C6 are connected in parallel and then are connected to the resistor R3, capacitor C367 is connected between the positive pole and the negative pole of the battery BAT1, capacitor C12 is connected between the inductor L12 and the fast charging pin 12 of the fast charging chip U12, and the charging pin 12 of the fast charging chip 12 is connected to the fast charging chip 12, a capacitor C14 is connected to a pin 18 of a quick charging chip U1, a resistor R1 and a capacitor C1 are connected to a pin 35 of the quick charging chip U1, a resistor R2 and a capacitor C2 are connected to a pin 34 of the quick charging chip U1, a diode D1 is connected to a pin 32 of a quick charging chip U1, an MOS tube Q1 is connected to a pin 29 of the quick charging chip U1, and capacitors C7, C8, C9, C10 and C11 are connected to the MOS tube Q1.
As a preferable technical scheme, MOS tubes Q2, Q3 and Q4 are connected between two pins VO + and VO-of the DC-DC power module, D poles of MOS tubes Q2, Q3 and Q4 are respectively connected with a high-beam white light LED1, a low-beam light LED2 and a red light LED3, G poles of MOS tubes Q2, Q3 and Q4 are respectively connected with resistors R4, R5 and R6, an operational amplifier is connected between the VO-pin and the FB pin of the DC-DC power module, a VI + pin of the DC-DC power module is connected to the positive pole of a battery BAT1, an FN pin of the DC-DC power module is connected with a pin 13 of a single chip microcomputer U3, G poles of MOS tubes Q2, Q3 and Q4 are respectively connected with a pin 16, a pin 17 and a pin 18 of a U3, and an inverting input end of the operational amplifier is connected with a pin 10 of the single chip microcomputer U3.
As a preferable technical scheme, one end of the resistor R8 and the resistor R15 is connected with the anode BAT + of the battery after being connected in series, the other end of the resistor R8 and the other end of the resistor R15 are grounded, and the sampling signal is also connected with a pin 14 of the singlechip U3.
As a preferable technical solution, the capacitors C16 and C17 are respectively connected to pin 3 and pin 2 of the voltage stabilizing IC, and pin 3 of the voltage stabilizing IC and pin 15 of the fast charging chip U1 are respectively connected to the positive electrode BAT + of the battery.
As a preferable technical scheme, the resistor R11 and the indicator light D2 are connected in series and then connected to a pin 1 of the single chip microcomputer U3, the resistor R12 and the indicator light D3 are connected in series and then connected to a pin 2 of the single chip microcomputer U3, the resistor R13 and the indicator light D4 are connected in series and then connected to a pin 4 of the single chip microcomputer U3, the capacitor C18 is connected to a pin 5 of the single chip microcomputer U3, the resistors R9, R10 and R14 are respectively connected to a pin 6, a pin 7 and a pin 8 of the single chip microcomputer U3, and the KEYs KEY1 and KEY2 are respectively connected to a pin 11 and a pin 12 of the single chip microcomputer U3.
Compared with the prior art, the beneficial effects of the utility model are that:
the utility model can charge the internal battery quickly and reversely charge the external equipment quickly through the arrangement of the quick charge and discharge circuit; through the light source drive control circuit and the MCU control circuit, the free switching of three different light sources can be realized.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative efforts all belong to the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and to simplify the description, but do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore should not be construed as limiting the present invention.
Referring to fig. 1-5, the present invention provides a technical solution:
a multifunctional lighting lamp control circuit comprises a quick charge and discharge circuit, a light source drive control circuit, a battery detection circuit, an LDO circuit and an MCU control circuit, wherein the quick charge and discharge circuit is composed of a Type-C interface J1, a quick charge chip U1, a resistor R1, R2, R3, R7, a capacitor C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, a diode D1, an inductor L1, a MOS tube Q1 and a battery BAT 1; the light source driving control circuit is composed of a DC-DC power supply module, a high beam white light LED1, a low beam light LED2, a red light LED3, MOS tubes Q2, Q3 and Q4, resistors R4, R5 and R6 and an operational amplifier; the battery detection circuit is composed of resistors R8 and R15; the LDO circuit consists of capacitors C16, C17 and a voltage stabilizing IC; the MCU control circuit is composed of resistors R9, R10, R11, R12, R13, R14, a capacitor C18, indicator lamps D2, D3, D4, KEYs KEY1, KEY2 and a single chip microcomputer U3.
As a preferred technical solution, 34 of the fast charging chip U1 is in signal connection with CC1 of the Type-C interface J1, 35 is in signal connection with CC2 of the Type-C interface J1, 36 is in signal connection with DMC of the Type-C interface J1, 37 is in signal connection with DPC of the Type-C interface J1, pin 10 is connected with a common node of pins 2, 7, 10, 15 of the Type-C interface J1 and is connected with the S pole of Q1, inductor L1 and resistor R3 are connected in series and then are connected with pins 2, 3, 4, 5, 6 of the fast charging chip U1, the other end is connected to the positive pole of the battery BAT1, capacitors C3 and C6 are connected in parallel and then are connected to the resistor R3, capacitor C367 is connected between the positive pole and the negative pole of the battery BAT1, capacitor C12 is connected between the inductor L12 and the fast charging pin 12 of the fast charging chip U12, and the charging pin 12 of the fast charging chip 12 is connected to the fast charging chip 12, the capacitor C14 is connected to a pin 18 of a quick charging chip U1, the resistor R1 and the capacitor C1 are connected to a pin 35 of the quick charging chip U1, the resistor R2 and the capacitor C2 are connected to a pin 34 of the quick charging chip U1, the diode D1 is connected to a pin 32 of the quick charging chip U1, the MOS tube Q1 is connected to a pin 29 of the quick charging chip U1, the capacitors C7, C8, C9, C10 and C11 are connected to the MOS tube, and the quick charging protocol integrated by the U1 chip controls the charging of the internal battery of the illuminating lamp and the charging control of the external equipment.
As a preferable technical scheme, MOS tubes Q2, Q3 and Q4 are connected between two pins VO + and VO-of a DC-DC power supply module, D poles of MOS tubes Q2, Q3 and Q4 are respectively connected with a far-reaching white light LED1, a low-beam light LED2 and a red light LED3, G poles of MOS tubes Q2, Q3 and Q4 are respectively connected with resistors R4, R5 and R6, an operational amplifier is connected between the VO-pin and FB pin of the DC-DC power supply module, a VI + pin of the DC-DC power supply module is connected with the anode of a battery 1, an FN pin of the DC-DC power supply module is connected with a pin 13 of a singlechip U3, G poles of MOS tubes Q2, Q3 and Q4 are respectively connected with a pin 16, a pin 17 and a pin 18 of a pin 3 of the singlechip U3, an inverting input end of the operational amplifier is connected with a pin 10 of the singlechip U3, and a light source drive control circuit can be used for controlling three light sources.
As a preferable technical scheme, one end of the resistor R8 and the resistor R15 is connected with the anode BAT + of the battery after being connected in series, the other end of the resistor R8 and the resistor R15 are grounded, and the sampling signal is also connected with a pin 14 of the singlechip U3.
As a preferable technical solution, the capacitors C16 and C17 are respectively connected to the pin 3 and the pin 2 of the regulator IC, and the pin 3 of the regulator IC and the pin 15 of the fast charging chip U1 are respectively connected to the positive electrode BAT + of the battery.
As a preferable technical scheme, the resistor R11 and the indicator light D2 are connected in series and then connected to a pin 1 of the single chip microcomputer U3, the resistor R12 and the indicator light D3 are connected in series and then connected to a pin 2 of the single chip microcomputer U3, the resistor R13 and the indicator light D4 are connected in series and then connected to a pin 4 of the single chip microcomputer U3, the capacitor C18 is connected to a pin 5 of the single chip microcomputer U3, the resistors R9, R10 and R14 are respectively connected to a pin 6, a pin 7 and a pin 8 of the single chip microcomputer U3, the KEYs KEY1 and KEY2 are respectively connected to a pin 11 and a pin 12 of the single chip microcomputer U3, and the single chip microcomputer U3 can display the current charging and discharging states by detecting communication signals of the battery BAT _ AD voltage signal and TRQ, SDA and SCL of the fast charging IC and displaying the current charging and discharging states of the indicator lights D2, D3 and D4.
In a power-OFF state, when a KEY1(ON/OFF) is pressed at any time, a pin 13 output enable signal FN of the singlechip U3 is at a high level to control a DC-DC power module to work, and a MODE KEY2(MODE) can select three light sources: a high beam white LED1, a low beam LED2, a red LED 3;
when the mode selects white light long shot, the singlechip U3 outputs a CON1 signal from a 16 th pin P1.3 and turns on the MOS Q2 at high level, a 10 th pin P2.5 outputs a PWM signal to the reverse input end of the operational amplifier, and a light source driving control circuit VOUT +, LED1, Q2 and VOUT-form a path output voltage and current, so that the long shot white light LED1 is lightened;
when the mode selects the white dipped headlight, the singlechip U3 outputs a CON2 signal from a 17 th pin P1.4 and turns on the MOS Q3 at high level, and outputs a PWM signal from a 10 th pin P2.5 to the reverse input end of the operational amplifier, and the main circuit VOUT +, LED2, Q3 and VOUT-are controlled by the light source to form a path output voltage and current, so that the dipped headlight LED2 is lightened;
when the mode selects red light, the singlechip U3 outputs a CON3 signal at the 18 th pin P1.5 and the MOS Q4 is turned on, outputs a PWM signal at the 10 th pin P2.5 to the reverse input end of the operational amplifier, and controls the main circuit VOUT +, the LED3, the Q4 and the VOUT-to form a channel to output voltage and current, so that the red light LED3 is lightened;
if the lighting lamp is in a power-ON state, when a KEY1(ON/OFF) is pressed, a pin 13 of the single chip microcomputer U3 outputs an enable signal FN low level to control the DC-DC power supply module, so that the load is turned OFF, and the lighting lamp is turned OFF.
The foregoing shows and describes the general principles, essential features, and advantages of the invention. It should be understood by those skilled in the art that the present invention is not limited by the above embodiments, and the description in the above embodiments and the description is only preferred examples of the present invention, and is not intended to limit the present invention, and that the present invention can have various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications all fall into the scope of the claimed invention. The scope of the invention is defined by the appended claims and equivalents thereof.