Automatic headlamp control and short circuit protection device for electric vehicle
By designing automatic headlight control and short-circuit protection devices in electric vehicles, using the main chip and sensors to automatically control the turning on and off of the headlights, the safety hazards and short-circuit risks caused by human operation are solved, and convenient and safe automatic headlight control is realized. and multiple trigger protection functions.
Patent Information
- Application Number
- CN202323054855.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-13
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2033-11-13
AI Technical Summary
The headlight control of existing two-wheeled electric vehicles requires manual operation, which poses a safety risk of forgetting to turn on the headlights when riding at night, and short circuits caused by internal or connection faults in the headlights cannot be disconnected autonomously, which may cause heat, fire or burnout. Risk to the entire vehicle.
Design an automatic headlight control and short-circuit protection device that uses the main chip, light detector, sound sensor and other components to detect external signals and current through the headlight enabling unit and overcurrent short-circuit detection unit to automatically control the opening of the headlights. and power outage to prevent overcurrent caused by short circuit.
It can automatically turn on the headlights, reduce manual operations, improve safety, and quickly disconnect the current in the event of a short circuit to prevent heat and fire or burn out the fuse. It has a multiple-trigger protection function and is better than a disposable fuse structure.
Smart Images

Figure CN221660878U
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of electric vehicles, and in particular relates to an automatic headlight control and short-circuit protection device for electric vehicles. Background Art
[0002] The headlights used in existing two-wheeled electric vehicles - headlights or taillights - generally use mechanical switches to control the connection with the power supply to realize the function of turning the headlights on and off. Manual operation is required, which is relatively cumbersome. People forget to turn on the headlights when riding at night, which may cause safety hazards. Once the headlights are internal or connected to a fault, resulting in a short circuit, the mechanical switch cannot disconnect automatically, which will cause a large current to flow through the switch, wires and headlights, resulting in heating and fire or burning out the insurance of the entire vehicle, posing a safety hazard. Utility Model Content
[0003] The problem to be solved by the utility model is to provide an automatic headlight control and short-circuit protection device for an electric vehicle.
[0004] In order to solve the above technical problems, the technical solution adopted by the utility model is: an automatic headlight control and short-circuit protection device for electric vehicles, including a main chip, which is respectively connected to a headlight enabling unit, a headlight driving unit, and an overcurrent short-circuit detection unit through a headlight enabling port, a headlight driving port, and an overcurrent short-circuit detection port. The headlight enabling unit is used to detect external signals and transmit the external signals to the main chip; the overcurrent short-circuit detection unit is used to detect current and transmit the current signal to the main chip; the headlight driving unit is used to receive the main chip signal to control the opening and closing of the headlights.
[0005] Furthermore, the headlight enabling unit receives an external signal through a light detector, a sound sensor or a smart device.
[0006] Furthermore, the headlight enabling unit receives an external signal through a light detector, and the light detector is a photosensitive diode D3.
[0007] Furthermore, the headlight enabling unit includes a photodiode D3 and a voltage-dividing resistor R9, and a cathode of the photodiode D3 is connected to the headlight enabling port and the voltage-dividing resistor R9, respectively.
[0008] Furthermore, the headlight driving unit includes a resistor R6 and an NPN transistor Q3, one end of the resistor R6 is connected to the headlight driving port of the main chip, and the other end is connected to the base of the NPN transistor Q3, the emitter of the NPN transistor Q3 is grounded, the collector of the NPN transistor Q3 is connected to one end of a voltage-dividing resistor R4, the other end of the voltage-dividing resistor R4 is connected to the gate of the power P-type MOS tube Q1 (or to the base of the PNP transistor Q1), the power P The source of the power P-type MOS tube Q1 (or the emitter of the PNP transistor Q1) is connected to one end of a current sampling resistor R1, the other end of the current sampling resistor R1 is connected to a power supply VCC, a voltage dividing resistor R2 is connected in parallel between the current sampling resistor R1 and the power P-type MOS tube Q1 (or the PNP transistor Q1), the drain of the power P-type MOS tube Q1 (or the collector of the PNP transistor Q1) is connected to the positive electrode of the headlight through the headlight output circuit, and the negative electrode of the headlight is grounded.
[0009] Furthermore, the overcurrent short circuit detection unit includes a voltage dividing resistor R5, a voltage dividing resistor R7 and a PNP transistor Q2, the emitter of the PNP transistor Q2 is connected to one end of the current sampling resistor R1, the base of the PNP transistor Q2 is connected to the other end of the current sampling resistor R1 through the resistor R3, the collector of the PNP transistor Q2 is connected to one end of the voltage dividing resistor R5, and the other end of the voltage dividing resistor R5 is respectively connected to the voltage dividing resistor R7 and the overcurrent short circuit port, and the negative electrode of the voltage dividing resistor R7 is grounded.
[0010] Due to the adoption of the above technical solution, the utility model has the following beneficial effects:
[0011] The utility model replaces the traditional mechanical switch and has the function of actively turning on the headlights.
[0012] When external conditions are met, such as light brightness, real-time time, or combined with other communication control methods, the utility model can actively output power to the headlights to realize the function of lighting the headlights, saving manual mechanical switch operation, and being more convenient and safe; and the utility model has the function of overcurrent or short-circuit protection. Once the internal connection of the headlight fails and a short circuit occurs, the utility model detects that the current value flowing through exceeds the safety threshold, and will disconnect the power supply to the headlight in a very short time and stop the output current to ensure that there will be no consequences of heating and fire or burning of the main fuse due to a short circuit in the line, thereby reducing safety hazards; and the protection function of the utility model can be triggered multiple times and reused, which is better than the existing fuse structure that needs to be replaced after a one-time fuse protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The present invention will be described in detail below with reference to the accompanying drawings and in combination with examples, and the advantages and implementation methods of the present invention will become more obvious. The contents shown in the accompanying drawings are only used to explain the present invention and do not constitute any limitation to the present invention. In the accompanying drawings:
[0014] Figure 1 It is a circuit diagram of each port of the main chip of the utility model.
[0015] Figure 2 It is a circuit diagram of the headlight enabling unit of the utility model.
[0016] Figure 3 The utility model is a circuit diagram of a headlight driving unit and an overcurrent short circuit detection unit. DETAILED DESCRIPTION
[0017] like Figures 1 to 3 As shown, the utility model is an automatic headlight control and short-circuit protection device for an electric vehicle, comprising a main chip (a single-chip microcomputer in this embodiment), the single-chip microcomputer is connected to a headlight enabling unit, a headlight driving unit, and an overcurrent short-circuit detection unit through a headlight enabling port, a headlight driving port, and an overcurrent short-circuit detection port, respectively. The headlight enabling unit is used to detect external signals and transmit the external signals to the single-chip microcomputer; the overcurrent short-circuit detection unit is used to detect current and transmit the current signal to the single-chip microcomputer; the headlight driving unit is used to receive signals from the single-chip microcomputer to control the headlights (the headlights in this embodiment are LED headlights) to turn on and off.
[0018] The headlight enabling unit can detect ambient light, or other external sensor signals (such as sound signals) or communication signals from smart devices (such as mobile phone APP).
[0019] like Figure 2 As shown, when the headlight enabling unit is used to detect ambient light, the headlight enabling unit includes a photosensitive diode D3 and a voltage-dividing resistor R9, and the cathode of the photosensitive diode D3 is connected to the headlight enabling port and the voltage-dividing resistor R9, respectively.
[0020] like Figure 3As shown, the headlight driving unit includes a resistor R6 and an NPN transistor Q3, one end of the resistor R6 is connected to the headlight driving port of the single chip microcomputer, and the other end is connected to the base of the NPN transistor Q3, the emitter of the NPN transistor Q3 is grounded, the collector of the NPN transistor Q3 is connected to one end of the voltage dividing resistor R4, the other end of the voltage dividing resistor R4 is connected to the gate of the power P-type MOS tube Q1 (or the base of the PNP transistor Q1), the source of the power P-type MOS tube Q1 (or the base of the PNP transistor Q1) 1) is connected to one end of the current sampling resistor R1, and the other end of the current sampling resistor R1 is connected to the power supply VCC (or battery VCC, VCC is powered by the battery or power supply, generally 12V or 48V). A voltage divider resistor R2 is connected in parallel between the current sampling resistor R1 and the power P-type MOS tube Q1 (or PNP transistor Q1). The drain of the power P-type MOS tube Q1 (or the collector of the PNP transistor Q1) is connected to the positive electrode of the headlight through the headlight output circuit, and the negative electrode of the headlight is grounded. In addition, one end of the resistor R8 is connected to the base of the NPN transistor Q3, and the other end is connected to the emitter of the NPN transistor Q3; the positive electrode of the diode D1 is respectively connected to the negative electrode of the voltage divider resistor R2, and the negative electrode of the diode D1 is connected to the positive electrode of the voltage divider resistor R2.
[0021] The conduction characteristics of the photodiode D3 are related to light.
[0022] When the light is bright, the resistance of the photodiode D3 is small, and the headlight enable port is at a higher potential through the voltage divider resistor R9, and the headlight enable unit is in an invalid state. At this time, the microcontroller controls the headlight drive port to be in a low level state, and through the resistor R6, the base of the NPN transistor Q3 is in a low level state; the NPN transistor Q3 is cut off, and no current flows through the voltage divider resistor R4. Through the current sampling resistor R1 and the voltage divider resistor R2, the gate of the power P-type MOS tube Q1 (or the base of the PNP transistor Q1) is raised to the power supply VCC, and the power P-type MOS tube Q1 (or PNP transistor Q1) does not meet the conduction condition and is cut off. At this time, there is no current in the headlight output circuit, and the external headlight is controlled to be off.
[0023] When the light gets darker, the resistance of the photodiode D3 increases, and the potential of the headlight enable port is reduced through the voltage divider resistor R9 until it reaches the limit value, and the headlight enable unit becomes effective. The single-chip microcomputer controls the headlight drive port to output a high level state, and through the resistor R6, a current flows through the base of the NPN transistor Q3. The NPN transistor Q3 is turned on, and a current flows through the voltage divider resistors R4 and R2, reducing the gate level of the power P-type MOS tube Q1 (or the base of the PNP transistor Q1) to the conduction condition, so that the current flows from the power supply VCC through the current sampling resistor R1 and the power P-type MOS tube Q1 (or PNP transistor Q1), and is output to the headlight output circuit to control the external headlights to light up.
[0024] like Figure 3 As shown, the overcurrent short circuit detection unit includes a voltage divider resistor R5, a voltage divider resistor R7 and a PNP transistor Q2, the emitter of the PNP transistor Q2 is connected to one end of the current sampling resistor R1, the base of the PNP transistor Q2 is connected to the other end of the current sampling resistor R1 through the resistor R3, the collector of the PNP transistor Q2 is connected to one end of the voltage divider resistor R5, the other end of the voltage divider resistor R5 is respectively connected to the voltage divider resistor R7 and the overcurrent short circuit port, and the negative electrode of the voltage divider resistor R7 is grounded. In addition, the positive electrode of the diode D2 is grounded, and the negative electrode of the diode D2 is connected to the overcurrent short circuit detection port.
[0025] When working, the voltage level at both ends of the current sampling resistor R1 is the voltage level of the base and emitter of the PNP transistor Q2. When an overcurrent or short circuit fault occurs behind the output end of the headlight output circuit, the current flowing through the current sampling resistor R1 rises above the limit value, and the voltage difference between the two ends of the current sampling resistor R1 increases, reaching the conduction condition of the PNP transistor Q2 (the voltage difference between the base and emitter of the PNP transistor Q2 exceeds the turn-on voltage), then the PNP transistor Q2 is turned on, and the current flows through the power supply VCC through the PNP transistor Q2, the voltage divider resistor R5 and the voltage divider resistor R7, raising the voltage level of the overcurrent short circuit detection port. When the microcontroller detects that the level of the overcurrent short-circuit detection port exceeds the limit, the overcurrent and short-circuit protection functions are immediately executed; regardless of whether the signal output by the headlight enabling unit is valid, the level of the headlight drive port is pulled down, so that the base of the NPN transistor Q3 is in a low level state, the NPN transistor Q3 is cut off, and the voltage divider resistor R2 raises the gate level of the power P-type MOS tube Q1 (or the base of the PNP transistor Q1) to the power supply VCC. The power P-type MOS tube Q1 (or PNP transistor Q1) does not meet the conduction condition and is cut off, cutting off the current of the headlight output circuit and preventing the increase of current caused by the short circuit from causing heating and fire.
[0026] In this embodiment, the resistance of the current sampling resistor R1 is 0.15Ω, the voltage dividing resistor R2 is a 10k resistor, the resistor R3 is a 5k resistor, the voltage dividing resistor R4 is a 2k resistor, the voltage dividing resistor R5 is a 100k resistor, the resistor R6 is a 5k resistor, the voltage dividing resistor R7 is a 10k resistor, the resistor R8 is a 10k resistor, the voltage dividing resistor R9 is a 10k resistor, the voltage of the diode D1 is 12V, the voltage of the diode D2 is 5V, the headlight enabling unit detection signal is 5V, one port of the microcontroller is connected to the 5V voltage, and one port is grounded.
[0027] The above embodiments of the utility model are described in detail, but the above contents are only preferred embodiments of the utility model and cannot be considered to limit the scope of implementation of the utility model. All equivalent changes and improvements made within the scope of the utility model should still fall within the scope of this patent.
Claims
1. An automatic headlight control and short-circuit protection device for electric vehicles, characterized in that: The main chip includes a main chip, wherein the main chip is connected to a headlight enabling unit, a headlight driving unit, and an overcurrent short circuit detection unit through a headlight enabling port, a headlight driving port, and an overcurrent short circuit detection port, respectively, and the headlight enabling unit is used to detect an external signal and transmit the external signal to the main chip; The over-current short-circuit detection unit is used to detect the current and transmit the current signal to the main chip; the headlight driving unit is used to receive the main chip signal and control the opening and closing of the headlights.
2. The automatic headlight control and short-circuit protection device for electric vehicles according to claim 1 is characterized in that: The headlight enabling unit receives an external signal via a light detector, a sound sensor or a smart device.
3. The automatic headlight control and short-circuit protection device for electric vehicles according to claim 2 is characterized in that: The headlight enabling unit receives an external signal through a light detector, and the light detector is a photosensitive diode D3.
4. The automatic headlight control and short-circuit protection device for electric vehicles according to claim 3 is characterized in that: The headlight enabling unit includes a photodiode D3 and a voltage-dividing resistor R9, and a cathode of the photodiode D3 is connected to the headlight enabling port and the voltage-dividing resistor R9, respectively.
5. The automatic headlight control and short-circuit protection device for electric vehicles according to claim 1 is characterized in that: The headlight driving unit includes a resistor R6 and an NPN transistor Q3, one end of the resistor R6 is connected to the headlight driving port of the main chip, and the other end is connected to the base of the NPN transistor Q3, the emitter of the NPN transistor Q3 is grounded, the collector of the NPN transistor Q3 is connected to one end of a voltage-dividing resistor R4, the other end of the voltage-dividing resistor R4 is connected to the gate of the power P-type MOS tube Q1, the source of the power P-type MOS tube Q1 is connected to one end of a current sampling resistor R1, the other end of the current sampling resistor R1 is connected to a power supply VCC, a voltage-dividing resistor R2 is connected in parallel between the current sampling resistor R1 and the power P-type MOS tube Q1, the drain of the power P-type MOS tube Q1 is connected to the positive electrode of the headlight through the headlight output circuit, and the negative electrode of the headlight is grounded.
6. The automatic headlight control and short-circuit protection device for electric vehicles according to claim 1, characterized in that: The headlight driving unit includes a resistor R6 and an NPN transistor Q3, one end of the resistor R6 is connected to the headlight driving port of the main chip, and the other end is connected to the base of the NPN transistor Q3, the emitter of the NPN transistor Q3 is grounded, the collector of the NPN transistor Q3 is connected to one end of the voltage-dividing resistor R4, the other end of the voltage-dividing resistor R4 is connected to the base of the PNP transistor Q1, the emitter of the PNP transistor Q1 is connected to one end of the current sampling resistor R1, the other end of the current sampling resistor R1 is connected to the power supply VCC, a voltage-dividing resistor R2 is connected in parallel between the current sampling resistor R1 and the PNP transistor Q1, the collector of the PNP transistor Q1 is connected to the positive electrode of the headlight through the headlight output circuit, and the negative electrode of the headlight is grounded.
7. The automatic headlight control and short-circuit protection device for electric vehicles according to claim 5 or 6, characterized in that: The overcurrent short circuit detection unit includes a voltage dividing resistor R5, a voltage dividing resistor R7 and a PNP transistor Q2, the emitter of the PNP transistor Q2 is connected to one end of the current sampling resistor R1, the base of the PNP transistor Q2 is connected to the other end of the current sampling resistor R1 through a resistor R3, the collector of the PNP transistor Q2 is connected to one end of the voltage dividing resistor R5, the other end of the voltage dividing resistor R5 is respectively connected to the voltage dividing resistor R7 and the overcurrent short circuit port, and the negative electrode of the voltage dividing resistor R7 is grounded.
