Vehicle-mounted trunk lamp circuit

By designing a vehicle trunk light circuit, including a battery charging module, a camping lamp, a mosquito repellent lamp and a flashlight load module, the problem of low lighting brightness and single function of the existing vehicle trunk light is solved, achieving stable, high brightness and diversified lighting. Provision of functionality.

CN221863120UActive Publication Date: 2024-10-18JHETECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422170196.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-10-18
Estimated Expiration
2034-09-05

AI Technical Summary

Technical Problem

The existing car trunk lights have low lighting brightness and single functions, which cannot meet the individual needs of customers.

Method used

A vehicle trunk light circuit is designed, which includes a battery charging module built into the trunk light, a camping lamp load module, a mosquito repellent lamp load module, a flashlight load module, a touch switch module and a control module. The control module detects the battery voltage and Switch state, output corresponding control signals to manage the brightness and functions of each load module.

Benefits of technology

It achieves the improvement of lighting power supply stability and brightness, and provides diversified lighting functions to meet the personalized needs of customers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221863120U_ABST
    Figure CN221863120U_ABST
Patent Text Reader

Abstract

The utility model relates to a vehicle-mounted trunk lamp circuit, which is characterized in that a control module detects the voltage of the positive electrode of a battery and outputs a control signal PWM2 to a battery charging module, and the battery charging module outputs constant current to the battery for charging; the control module detects a trunk lamp enable line network BCMEN signal, outputs a control signal PWM1 to the trunk lamp and camping lamp load module, and controls a trunk lamp load to be turned on or turned off; and the control module detects three groups of switch states in the touch switch module, outputs corresponding control signals to the trunk lamp and camping lamp load module, the mosquito-repellent lamp load module or the flashlight load module, and controls the camping lamp load, the mosquito-repellent lamp load or the flashlight load to be turned on or turned off, and the brightness of the camping lamp load, the mosquito-repellent lamp load or the flashlight load is increased or reduced. Battery power supply is managed, illumination power supply is stable, illumination brightness is high, and illumination functions are diversified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of electronic circuit design, in particular to a vehicle trunk light circuit. Background Art

[0002] So far, the trunk light is a standard lighting component for most cars, which can provide lighting for car owners when storing or taking items from the trunk of the car at night or in dim light. However, the existing trunk lights have very low lighting brightness when working, which requires car owners to add external light sources to provide lighting for the trunk; the trunk lights have a single function and cannot meet the personalized needs of existing customers. Utility Model Content

[0003] In view of the above problems, a vehicle trunk light circuit is proposed.

[0004] The technical solution of the utility model is: a vehicle-mounted trunk light circuit, comprising a battery charging module built into the trunk light, a trunk light and camping light load module, a mosquito repellent lamp load module, a flashlight load module, a touch switch module, and a control module; the control module detects the positive electrode voltage of the battery, outputs a control signal PWM2 to the battery charging module, and the battery charging module outputs a constant current to charge the battery; the control module detects the trunk light enable line network BCM_EN signal, outputs a control signal PWM1 to the trunk light and camping light load module, and controls the trunk light load to light up or light down; the control module detects three groups of switch states in the touch switch module, outputs corresponding control signals to the trunk light and camping light load module, the mosquito repellent lamp load module, or the flashlight load module, and controls the camping light load, the mosquito repellent lamp load, or the flashlight load to light up, increase the brightness, reduce the brightness, or light down.

[0005] Preferably, the battery charging module comprises resistors R4 to R7, a current limiting resistor R9, a resistor R11, a PNP transistor Q1, a PNP transistor Q2, an N-channel MOS transistor Q3, and a control signal PWM2 output by a control module for controlling the N-channel MOS transistor Q3 to be turned on or off;

[0006] The constant voltage network VOUT is the constant output voltage of the vehicle power supply through the DC-DC constant voltage circuit. Parallel resistors R4, R5 and PNP transistor Q1 are connected in series between the constant voltage network VOUT and the battery positive electrode network BAT1+; the base of the PNP transistor Q1 is connected to the collector of the PNP transistor Q2 through the current limiting resistor R6, the base of the PNP transistor Q2 is connected to the connection point of the parallel resistors R4, R5 and the PNP transistor Q1, and the emitter of the PNP transistor Q2 is connected to the constant voltage network VOUT; the other end of the current limiting resistor R6 away from the base of the PNP transistor Q1 is connected in series with a resistor R7 and an N-channel MOS tube Q3 to GND, the control signal PWM2 is connected to the gate of the N-channel MOS tube Q3 through the current limiting resistor R9, and the gate of the N-channel MOS tube Q3 is connected to GND through a resistor R11.

[0007] Preferably, the trunk light and camping light load module comprises an anti-reverse diode D2, LED1 to LED16 in parallel for the trunk light and camping light common load, resistors R15 to R21 in parallel, resistors R22 to R25 in parallel, a current limiting resistor R26, a current limiting resistor R27, a resistor R28, a resistor R29, a capacitor C23, a capacitor C24, an N-channel MOS tube Q4, an N-channel MOS tube Q5, a control signal PWM1 output by a control module to control the N-channel MOS tube Q4 to be turned on or off, and a control signal PWM5 to control the N-channel MOS tube Q5 to be turned on or off;

[0008] The battery positive electrode network BAT1+ is connected to the constant voltage network VOUT through the anti-reverse diode D2, the constant voltage network VOUT is connected to the positive electrodes of the parallel LED1 to LED16, the negative electrodes of the parallel LED1 to LED16 are respectively connected to one end of the parallel resistors R15 to R21 and the parallel resistors R22 to R25, the other ends of the parallel resistors R15 to R21 and the parallel resistors R22 to R25 are respectively connected to GND through the N-channel MOS tube Q4 and the N-channel MOS tube Q5, the control signal PWM1 is connected to the gate of the N-channel MOS tube Q4 through the current limiting resistor R26, the control signal PWM5 is connected to the gate of the N-channel MOS tube Q5 through the current limiting resistor R27, the capacitor C23 and the resistor R28 protection circuit connected in parallel are connected between the gate of the N-channel MOS tube Q4 and GND, and the capacitor C24 and the resistor R29 protection circuit connected in parallel are connected between the gate of the N-channel MOS tube Q5 and GND.

[0009] Preferably, the mosquito repellent lamp load module comprises mosquito repellent lamp loads LED17 to LED32, resistors R32 to R37, current limiting resistor R40, resistor R42, capacitor C26, N-channel MOS tube Q6, and a control network PWM3 output by the control module to control the N-channel MOS tube Q6 to be turned on and off;

[0010] The battery positive electrode network BAT1+ is connected to the positive electrodes of LED17 to LED32 in parallel, the negative electrodes of LED17 to LED32 in parallel are connected to one end of resistors R32 to R37 in parallel, the other ends of resistors R32 to R37 in parallel are connected to GND through N-channel MOS tube Q6 respectively, the control signal PWM3 is connected to the gate of N-channel MOS tube Q6 through the current limiting resistor R40, and the capacitor C26 and resistor R42 protection circuit connected in parallel are connected between the gate of N-channel MOS tube Q6 and GND.

[0011] Preferably, the flashlight load module comprises LED33 and LED34 connected in parallel for the flashlight load, resistors R52 to R55 connected in parallel, a current limiting resistor R60, a resistor R61, a capacitor C32, an N-channel MOS tube Q7, and a control network PWM4 output by the control module for controlling the N-channel MOS tube Q7 to be turned on and off;

[0012] The battery positive electrode network BAT1+ is connected to the positive electrodes of LED33 and LED34 in parallel, and the negative electrodes of LED33 and LED34 in parallel are connected to one end of resistors R52 to R55 in parallel. The other ends of resistors R52 to R55 in parallel are connected to GND through N-channel MOS tube Q7 respectively. The control signal PWM4 is connected to the gate of N-channel MOS tube Q7 through the current limiting resistor R60. A capacitor C32 and a resistor R61 protection circuit connected in parallel are connected between the gate of N-channel MOS tube Q7 and GND.

[0013] Preferably, the control module includes a control chip, and the control chip is powered by: the power input network MCU3.3V directly powers the control chip, a magnetic bead B1 is connected in series between the pull-up voltage network 3.3V and the power input network MCU3.3V to suppress the high-frequency noise and spike interference of the pull-up voltage network 3.3V to the control chip, and capacitors C27 and C28 are connected in parallel between the power input network MCU3.3V and the ground GND to absorb transient voltage fluctuations of the pull-up voltage network 3.3V.

[0014] The beneficial effects of the utility model are as follows: the vehicle-mounted trunk light circuit of the utility model manages battery power supply, has stable lighting power supply, strong lighting brightness and diverse lighting functions. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 This is the circuit diagram of the battery charging module built into the trunk light of the utility model;

[0016] Figure 2 This is the circuit diagram of the trunk light and camping light load module of the utility model;

[0017] Figure 3 This is the circuit diagram of the load module of the mosquito repellent lamp of the utility model;

[0018] Figure 4This is the circuit diagram of the flashlight load module of the utility model;

[0019] Figure 5 This is the circuit diagram of the touch switch module of the utility model;

[0020] Figure 6 This is the circuit diagram of the control module of the utility model. DETAILED DESCRIPTION

[0021] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and a specific operation process, but the protection scope of the present invention is not limited to the following embodiments.

[0022] The vehicle trunk light circuit includes a battery charging module built into the trunk light, a trunk light and camping light load module, a mosquito repellent lamp load module, a flashlight load module, a touch switch module, and a control module; the control module detects the positive voltage of the battery, outputs a control signal PWM2 to the battery charging module, and the battery charging module outputs a constant current to charge the battery; the control module detects the trunk light enable line network BCM_EN signal, outputs a control signal PWM1 to the trunk light and camping light load module, and controls the trunk light load to turn on or off; the control module detects three sets of switch states in the touch switch module, and outputs corresponding control signals to the trunk light and camping light load module, the mosquito repellent lamp load module or the flashlight load module, and controls the camping light load, the mosquito repellent lamp load or the flashlight load to turn on, increase the brightness, reduce the brightness or turn off the light.

[0023] like Figure 1 The circuit diagram of the built-in battery charging module of the trunk lamp shown in the figure includes resistors R4~R7, current limiting resistor R9, resistor R11, PNP transistor Q1, PNP transistor Q2, N-channel MOS transistor Q3, and control signal PWM2 for controlling the N-channel MOS transistor Q3 to be turned on or off; resistors R4, R5 and PNP transistor Q1 are connected in parallel in series between the constant voltage network VOUT and the battery positive electrode network BAT1+; the base of PNP transistor Q1 is connected to PN through current limiting resistor R6. The collector of the P transistor Q2 and the base of the PNP transistor Q2 are connected to the connection point of the parallel resistors R4 and R5 and the PNP transistor Q1, and the emitter of the PNP transistor Q2 is connected to the constant voltage network VOUT; the other end of the current limiting resistor R6 away from the base of the PNP transistor Q1 is connected in series with the resistor R7 and the N-channel MOS transistor Q3 and GND, the control signal PWM2 is connected to the gate of the N-channel MOS transistor Q3 through the current limiting resistor R9, and the gate of the N-channel MOS transistor Q3 is connected to GND through the resistor R11.

[0024] like Figure 2The circuit diagram of the trunk light and camping light load module shown in the figure includes an anti-reverse diode D2, LED1 to LED16 in parallel for the trunk light and camping light common load, parallel resistors R15~R21, parallel resistors R22~R25, current limiting resistor R26, current limiting resistor R27, resistor R28, resistor R29, capacitor C23, capacitor C24, N-channel MOS tube Q4, N-channel MOS tube Q5, control signal PWM1 for controlling the on or off of N-channel MOS tube Q4, control signal PWM5 for controlling the on or off of N-channel MOS tube Q5; the battery positive electrode network BAT1+ is connected to the constant voltage network VOUT through the anti-reverse diode D2, and the constant voltage network VOUT is connected to the parallel LED1 to LED The positive electrode of LED 16, the negative electrodes of LED1 to LED16 in parallel are respectively connected to one end of the parallel resistors R15~R21 and the parallel resistors R22~R25, the other ends of the parallel resistors R15~R21 and the parallel resistors R22~R25 are respectively connected to GND through N-channel MOS transistors Q4 and N-channel MOS transistors Q5, the control signal PWM1 is connected to the gate of N-channel MOS transistor Q4 through the current limiting resistor R26, the control signal PWM5 is connected to the gate of N-channel MOS transistor Q5 through the current limiting resistor R27, a capacitor C23 and a resistor R28 protection circuit connected in parallel are connected between the gate of N-channel MOS transistor Q4 and GND, and a capacitor C24 and a resistor R29 protection circuit connected in parallel are connected between the gate of N-channel MOS transistor Q5 and GND.

[0025] like Figure 3 The circuit diagram of the mosquito repellent lamp load module shown in the figure includes the mosquito repellent lamp load LED17 to LED32, resistors R32~R37, current limiting resistor R40, resistor R42, capacitor C26, N-channel MOS tube Q6, and control network PWM3 for controlling the conduction and cutoff of the N-channel MOS tube Q6; the battery positive electrode network BAT1+ is connected to the positive electrodes of the parallel LED17 to LED32, the negative electrodes of the parallel LED17 to LED32 are connected to one end of the parallel resistors R32~R37, and the other ends of the parallel resistors R32~R37 are connected to GND through the N-channel MOS tube Q6 respectively, the control signal PWM3 is connected to the gate of the N-channel MOS tube Q6 through the current limiting resistor R40, and the capacitor C26 and resistor R42 protection circuit connected in parallel are connected between the gate of the N-channel MOS tube Q6 and GND.

[0026] like Figure 4The flashlight load module circuit shown in the figure comprises a flashlight load LED33 and LED34 in parallel, parallel resistors R52~R55, a current limiting resistor R60, a resistor R61, a capacitor C32, an N-channel MOS tube Q7, and a control network PWM4 for controlling the conduction and cutoff of the N-channel MOS tube Q7; the battery positive electrode network BAT1+ is connected to the positive electrodes of the parallel LED33 and LED34, the negative electrodes of the parallel LED33 and LED34 are connected to one end of the parallel resistors R52~R55, and the other ends of the parallel resistors R52~R55 are connected to GND through the N-channel MOS tube Q7 respectively, the control signal PWM4 is connected to the gate of the N-channel MOS tube Q7 through the current limiting resistor R60, and the capacitor C32 and the resistor R61 protection circuit connected in parallel are connected between the gate of the N-channel MOS tube Q7 and GND.

[0027] like Figure 5 The touch switch module circuit shown in the figure includes a touch switch S1, a touch switch S2, and a touch switch S3; a level pull-down network Switch1 of the touch switch S1, a level pull-down network Switch2 of the touch switch S2, a level pull-down network Switch3 of the touch switch S3, and a GND network. Each time the button of the touch switch S1 is pressed, the level pull-down network Switch1 of the touch switch S1 will be briefly short-circuited with the GND network and then bounce up; each time the button of the touch switch S2 is pressed, the level pull-down network Switch2 of the touch switch S2 will be briefly short-circuited with the GND network and then bounce up; each time the button of the touch switch S3 is pressed, the level pull-down network Switch3 of the touch switch S3 will be briefly short-circuited with the GND network and then bounce up.

[0028] like Figure 6As shown in the control module circuit diagram, the module includes a control chip U3, a pull-up voltage network 3.3V, a magnetic bead B1, a control chip power input network MCU3.3V, a capacitor C27, a capacitor C28, a touch switch S1 level pull-down network Switch1, a touch switch S2 level pull-down network Switch2, a touch switch S3 level pull-down network Switch3, a resistor R43, a resistor R44, a resistor R45, a capacitor C29, a battery positive network BAT+, a resistor R51, a resistor R57, a resistor R59, a battery voltage sampling network ADC1, a resistor R64, and a resistor R70. Resistor R65, resistor R66, resistor R67, resistor R68, control network PWM1 for controlling the on or off state of N-channel MOS tube Q4, control network PWM2 for controlling the on or off state of N-channel MOS tube Q3, control network PWM3 for controlling the on or off state of N-channel MOS tube Q6, control network PWM4 for controlling the on or off state of N-channel MOS tube Q7, control network PWM5 for controlling the on or off state of N-channel MOS tube Q5, resistor R62, anti-reverse diode D4, capacitor C33, diode D5, trunk light enable line network BCM_EN, GND network. The constant voltage network VOUT is the constant output voltage of the vehicle power supply after passing through the DC-DC constant voltage circuit.

[0029] The working principle of the utility model circuit is as follows:

[0030] Power supply for control chip U3: The power input network MCU3.3V directly powers the control chip U3. After the pull-up voltage network 3.3V passes through the magnetic bead B1, the high-frequency noise and spike interference of the pull-up voltage network 3.3V on the control chip U3 are suppressed. The parallel capacitors C27 and C28 absorb the transient voltage fluctuations of the pull-up voltage network 3.3V. The magnetic bead B1, capacitor C27, and capacitor C28 work together to ensure that the power supply from MCU3.3V to the control chip U3 is more stable.

[0031] The first mode is that the trunk light is installed in the trunk of the car. At this time, the circuit can realize the function of charging the built-in battery of the trunk light and the function of lighting the trunk light. Figure 1 , Figure 6As shown, after the control chip U3 detects that the trunk light built-in battery positive network BAT1+ reaches the required charging voltage threshold through the ADC1 network, the control chip U3 makes the gate-source voltage difference of the N-channel MOS tube Q3 higher than the Q3 conduction threshold by making PWM2 (pin 21) at a high level, and finally makes the Q3 drain-source conduct. At this time, the constant voltage network VOUT passes through the resistor R4, the resistor R5, the emitter-base of the PNP transistor Q1, the current limiting resistor R6, the resistor R7, the drain-source of the N-channel MOS tube Q3, and the GND network to form a loop. When the emitter-base voltage difference of the PNP transistor Q1 is greater than or equal to 0.7V, the emitter-collector of the PNP transistor Q1 is turned on, and the battery positive network BAT1 + begins to have voltage, and the battery starts to charge; because the battery adopts constant current charging, PNP transistor Q2 is needed to limit the charging current. When the emitter-base voltage difference of PNP transistor Q2 is greater than or equal to 0.7V, the emitter-collector of PNP transistor Q2 is turned on. At this time, the emitter-base voltage difference of PNP transistor Q2 divided by the resistance value of resistor R4 and resistor R5 in parallel is the constant current of battery charging; when the control chip U3 detects that the positive network BAT1+ of the built-in battery of the trunk light reaches the full charge voltage threshold through the ADC1 network, the control chip U3 changes the PWM2 network from high level to low level. At this time, the gate-source voltage difference of N-channel MOS tube Q3 is lower than the Q3 conduction threshold, and the drain-source of Q3 is cut off. The emitter-base voltage difference of the PNP transistor Q1 is lower than 0.7V, the emitter-collector of Q1 is cut off, and the battery stops charging. At this time, the voltage difference between the resistor R4 and the resistor R5 is 0, resulting in the emitter-base voltage difference of the PNP transistor Q2 being less than 0.7V, and Q2 is cut off.

[0032] like Figure 2 , Figure 6As shown, when the trunk light load LED1 to LED16 is not lit, the pull-up voltage network 3.3V passes through the resistor R62 and the anti-reverse diode D4 to make the trunk light enable line network BCM_EN at a high level, PWM1 (pin 22) is in a high impedance state, and the voltage of the constant voltage network VOUT is higher than the battery positive network BAT1+. At this time, the diode D2 will not be turned on. When the trunk light enable line network BCM_EN short-circuits the GND network, the control chip U3 detects that the trunk light enable line network BCM_EN changes from a high level to a low level, and the control chip U3 controls PWM1 to a high level. When the gate-source voltage difference of the N-channel MOS tube Q4 is higher than the conduction threshold of Q4, the drain-source of Q4 is finally turned on, the trunk light load LED1 to LED16 is lit, and the trunk light lighting function is realized; when the trunk light enable line network BCM_EN is suspended, the control chip U3 detects that the trunk light enable line network BCM_EN changes from low level to high level, the control chip U3 controls PWM1 to be low level, at this time, the gate-source voltage difference of the N-channel MOS tube Q4 is lower than the conduction threshold of Q4, the drain-source of Q4 is cut off, and the trunk light load LED1 to LED16 is extinguished. The trunk light load LED1 to LED16 has high luminous intensity and wide lighting range, which solves the problem of low brightness of the current trunk light.

[0033] The second mode is when the trunk light is removed from the trunk of the car. At this time, the circuit can realize the switching of the on and off and lighting functions of the camping light load LED1 to LED16, the mosquito repellent lamp load LED17 to LED32, and the flashlight load LED33 to LED34 through the touch switch S1, realize the brightness increase function of the camping light load LED1 to LED16, the mosquito repellent lamp load LED17 to LED32, and the flashlight load LED33 to LED34 through the touch switch S2, and realize the brightness reduction function of the camping light load LED1 to LED16, the mosquito repellent lamp load LED17 to LED32, and the flashlight load LED33 to LED34 through the touch switch S3. Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6As shown, without any operation, the PC5 pin, PB6 pin, and PC4 pin of the control chip U3 are all kept at a high level by the pull-up voltage network 3.3V through resistors R43, R44, and R45 respectively. After the touch switch S1 is pressed for the first time, the button will pop up after the touch switch S1 level pull-down network Switch1 and the GND network are briefly short-circuited, and the PC5 pin of the control chip U3 will be temporarily converted from a high level to a low level and then restored to a high level. At this time, the control chip U3 controls the PWM5 network to a high level, and the N-channel M The gate-source voltage difference of OS tube Q5 is higher than the conduction threshold of Q5, which eventually turns on the drain-source of Q5, and the camping light load LED1 to LED16 are lit. At this time, if the touch switch S2 is pressed once, the button will pop up after the touch switch S2 level pull-down network Switch2 and the GND network are briefly short-circuited, and the PC4 pin of the control chip U3 will be temporarily converted from high level to low level and then restored to high level. At this time, the control chip U3 will increase the high level duty cycle of the PWM5 network, and the drain-source conduction frequency of the N-channel MOS tube Q5 will increase. The brightness of the camping light load LED1 to LED16 increases. At this time, if the touch switch S3 is pressed once, the button will pop up after the touch switch S3 level pull-down network Switch3 and the GND network are briefly short-circuited, and the PB6 pin of the control chip U3 will be briefly converted from a high level to a low level and then restored to a high level. At this time, the control chip U3 will reduce the high-level duty cycle of the PWM5 network, and the drain-source conduction frequency of the N-channel MOS tube Q5 will be reduced, and the brightness of the camping light load LED1 to LED16 will decrease;

[0034] After pressing the touch switch S1 for the second time, the button will pop up after the touch switch S1 level pull-down network Switch1 and the GND network are briefly short-circuited, and the PC5 pin of the control chip U3 is briefly converted from high level to low level for the second time and then restored to high level. At this time, the control chip U3 controls the PWM5 network to a low level, and the gate-source voltage difference of the N-channel MOS tube Q5 is lower than the Q5 conduction threshold, and the Q5 drain-source is cut off. The camping lamp load LED1 to LED16 are off, and the control chip U3 controls the PWM3 network to be high level. The gate-source voltage difference of the N-channel MOS tube Q6 is higher than the Q6 conduction threshold, and finally the Q6 drain-source is turned on, and the mosquito repellent lamp load LED17 to LED32 are lit. At this time, if the touch switch S2 is pressed once, the button will pop up after the touch switch S2 level pull-down network Switch2 and the GND network are briefly short-circuited, and the PC4 pin of the control chip U3 will be briefly converted from high level to low level and then restored to high level. At this time, the control chip U3 will increase the high level duty cycle of the PWM3 network, and the drain-source conduction frequency of the N-channel MOS tube Q6 will increase. The brightness of the mosquito repellent lamp load LED17 to LED32 increases. At this time, if the touch switch S3 is pressed once, the button will pop up after the touch switch S3 level pull-down network Switch3 and the GND network are briefly short-circuited, and the PB6 pin of the control chip U3 will be briefly converted from a high level to a low level and then restored to a high level. At this time, the control chip U3 will reduce the high-level duty cycle of the PWM3 network, and the drain-source conduction frequency of the N-channel MOS tube Q6 will be reduced, and the brightness of the mosquito repellent lamp load LED17 to LED32 will decrease;

[0035] After pressing the touch switch S1 for the third time, the button will pop up after the touch switch S1 level pull-down network Switch1 and the GND network are briefly short-circuited, and the PC5 pin of the control chip U3 is briefly converted from high level to low level for the third time and then restored to high level. At this time, the control chip U3 controls the PWM3 network to a low level, and the gate-source voltage difference of the N-channel MOS tube Q6 is lower than the Q6 conduction threshold, and the Q6 drain-source is cut off. The mosquito repellent lamp load LED17 to LED32 is turned off, and the control chip U3 controls the PWM4 network to be high level. The gate-source voltage difference of the N-channel MOS tube Q7 is higher than the conduction threshold of Q7, and finally the drain-source of Q7 is turned on, and the flashlight load LED33 to LED34 is lit. At this time, if the touch switch S2 is pressed once, its key will pop up after the touch switch S2 level pull-down network Switch2 and the GND network are briefly short-circuited, and the PC4 pin of the control chip U3 is briefly converted from high level to low level and then restored to high level. At this time, the control chip U3 will increase the high level duty cycle of the PWM4 network, and the drain-source conduction frequency of the N-channel MOS tube Q7 will increase, and the brightness of the flashlight load LED33 to LED34 will increase. At this time, if the touch switch S3 is pressed once, its key will pop up at the touch The level pull-down network Switch3 of switch S3 is briefly short-circuited with the GND network and then pops up, and the PB6 pin of the control chip U3 is briefly converted from a high level to a low level and then restored to a high level. At this time, the control chip U3 will reduce the high-level duty cycle of the PWM4 network, and the drain-source conduction frequency of the N-channel MOS tube Q7 is reduced, and the brightness of the flashlight load LED33 to LED34 decreases; after pressing the touch switch S1 for the fourth time, its button will pop up after the level pull-down network Switch1 of the touch switch S1 is briefly short-circuited with the GND network, and the PC5 pin of the control chip U3 is briefly converted from a high level to a low level for the fourth time and then restored to a high level. At this time, the control chip U3 controls the PWM4 network to a low level, and the gate-source voltage difference of the N-channel MOS tube Q7 is lower than the conduction threshold of Q7, the drain-source of Q7 is cut off, and the flashlight loads LED33 to LED34 are extinguished.

[0036] The above-mentioned embodiments only express several implementation methods of the utility model, and the description is relatively specific and detailed, but it cannot be understood as limiting the scope of the utility model patent. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the utility model, which all belong to the protection scope of the utility model.

Claims

1. A vehicle trunk light circuit, characterized in that: It includes a battery charging module built into the trunk light, a trunk light and camping light load module, a mosquito repellent lamp load module, a flashlight load module, a touch switch module, and a control module; the trunk light load and the camping light load in the trunk light and camping light load module share the same load, the control module detects the positive voltage of the battery, outputs a control signal PWM2 to the battery charging module, and the battery charging module outputs a constant current to charge the battery; the control module detects the trunk light enable line network BCM_EN signal, outputs a control signal PWM1 to the trunk light and camping light load module, and controls the trunk light load to turn on or off; the control module detects three groups of switch states in the touch switch module, and outputs corresponding control signals to the trunk light and camping light load module, the mosquito repellent lamp load module or the flashlight load module, and controls the camping light load, the mosquito repellent lamp load or the flashlight load to turn on, increase the brightness, reduce the brightness or turn off the light.

2. The vehicle trunk light circuit according to claim 1, characterized in that: The battery charging module comprises resistors R4 to R7, a current limiting resistor R9, a resistor R11, a PNP transistor Q1, a PNP transistor Q2, an N-channel MOS transistor Q3, and a control signal PWM2 output by a control module to control the N-channel MOS transistor Q3 to be turned on or off; a constant voltage network VOUT is a constant output voltage of the vehicle power supply through a DC-DC constant voltage circuit, and resistors R4, R5 and a PNP transistor Q1 connected in parallel are connected in series between the constant voltage network VOUT and the battery positive electrode network BAT1+; the PNP transistor Q The base of the transistor 1 is connected to the collector of the PNP transistor Q2 through the current limiting resistor R6, the base of the PNP transistor Q2 is connected to the connection point of the parallel resistors R4, R5 and the PNP transistor Q1, and the emitter of the PNP transistor Q2 is connected to the constant voltage network VOUT; the other end of the current limiting resistor R6 away from the base of the PNP transistor Q1 is connected in series with the resistor R7 and the N-channel MOS transistor Q3 and GND, the control signal PWM2 is connected to the gate of the N-channel MOS transistor Q3 through the current limiting resistor R9, and the gate of the N-channel MOS transistor Q3 is connected to GND through the resistor R11.

3. The vehicle trunk light circuit according to claim 1, characterized in that: The trunk light and camping light load module includes an anti-reverse diode D2, LED1 to LED16 in parallel for the trunk light and camping light common load, resistors R15 to R21 in parallel, resistors R22 to R25 in parallel, a current limiting resistor R26, a current limiting resistor R27, a resistor R28, a resistor R29, a capacitor C23, a capacitor C24, an N-channel MOS tube Q4, an N-channel MOS tube Q5, a control signal PWM1 output by a control module to control the N-channel MOS tube Q4 to be turned on or off, and a control signal PWM5 to control the N-channel MOS tube Q5 to be turned on or off; The battery positive electrode network BAT1+ is connected to the constant voltage network VOUT through the anti-reverse diode D2, the constant voltage network VOUT is connected to the positive electrodes of the parallel LED1 to LED16, the negative electrodes of the parallel LED1 to LED16 are respectively connected to one end of the parallel resistors R15 to R21 and the parallel resistors R22 to R25, the other ends of the parallel resistors R15 to R21 and the parallel resistors R22 to R25 are respectively connected to GND through the N-channel MOS tube Q4 and the N-channel MOS tube Q5, the control signal PWM1 is connected to the gate of the N-channel MOS tube Q4 through the current limiting resistor R26, the control signal PWM5 is connected to the gate of the N-channel MOS tube Q5 through the current limiting resistor R27, the capacitor C23 and the resistor R28 protection circuit connected in parallel are connected between the gate of the N-channel MOS tube Q4 and GND, and the capacitor C24 and the resistor R29 protection circuit connected in parallel are connected between the gate of the N-channel MOS tube Q5 and GND.

4. The vehicle trunk light circuit according to claim 1, characterized in that: The mosquito repellent lamp load module includes mosquito repellent lamp loads LED17 to LED32, resistors R32 to R37, current limiting resistor R40, resistor R42, capacitor C26, N-channel MOS tube Q6, and a control network PWM3 output by a control module for controlling the N-channel MOS tube Q6 to be turned on and off; The battery positive electrode network BAT1+ is connected to the positive electrodes of LED17 to LED32 in parallel, the negative electrodes of LED17 to LED32 in parallel are connected to one end of resistors R32 to R37 in parallel, the other ends of resistors R32 to R37 in parallel are connected to GND through N-channel MOS tube Q6 respectively, the control signal PWM3 is connected to the gate of N-channel MOS tube Q6 through the current limiting resistor R40, and the capacitor C26 and resistor R42 protection circuit connected in parallel are connected between the gate of N-channel MOS tube Q6 and GND.

5. The vehicle trunk light circuit according to claim 1, characterized in that: The flashlight load module includes LED33 and LED34 connected in parallel for the flashlight load, resistors R52 to R55 connected in parallel, a current limiting resistor R60, a resistor R61, a capacitor C32, an N-channel MOS tube Q7, and a control network PWM4 output by the control module for controlling the N-channel MOS tube Q7 to be turned on and off; The battery positive electrode network BAT1+ is connected to the positive electrodes of LED33 and LED34 in parallel, and the negative electrodes of LED33 and LED34 in parallel are connected to one end of resistors R52 to R55 in parallel. The other ends of resistors R52 to R55 in parallel are connected to GND through N-channel MOS tube Q7 respectively. The control signal PWM4 is connected to the gate of N-channel MOS tube Q7 through the current limiting resistor R60. A capacitor C32 and a resistor R61 protection circuit connected in parallel are connected between the gate of N-channel MOS tube Q7 and GND.

6. The vehicle trunk light circuit according to claim 1, characterized in that: The control module includes a control chip, and the control chip is powered by: the power input network MCU3.3V directly powers the control chip, a magnetic bead B1 is connected in series between the pull-up voltage network 3.3V and the power input network MCU3.3V to suppress the high-frequency noise and spike interference of the pull-up voltage network 3.3V to the control chip, and capacitors C27 and C28 are connected in parallel between the power input network MCU3.3V and the ground GND to absorb transient voltage fluctuations of the pull-up voltage network 3.3V.