Intelligent vehicle lamp control system adopting hard wire control

通过设计智能车灯控制系统,利用微控制器和信号采样电路,实现了硬线控制的车灯系统能够进行多种点亮功能和软件升级,解决了传统硬线控制无法实现复杂功能和升级的 Problem, reducing costs and improving flexibility of headlights.

CN119071960APending Publication Date: 2024-12-03CHANGZHOU XINGYU AUTOMOTIVE LIGHTING SYST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411351551.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Traditional hard-wire control headlights cannot achieve complex lighting functions and software upgrades, and are costly and cannot be optimized, resulting in the problem of scrapping of models.

Method used

An intelligent car light control system was designed, including a body controller, a car light controller and a car light module. It uses a microcontroller, signal sampling circuit, switching circuit and CAN communication module to realize a variety of lighting functions through hardwire and Software upgrade, using PWM signal and UART interface for data transmission and mode control.

Benefits of technology

It realizes the implementation of multiple lighting functions and software upgrades through hardwire without the need for a CAN/LIN bus, reducing costs, avoiding the scrapping of models, and improving the flexibility and upgradeability of headlight control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071960A_ABST
    Figure CN119071960A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle lamp modules, in particular to an intelligent vehicle lamp control system adopting hard wire control, which comprises a vehicle body controller, a vehicle lamp controller and a vehicle lamp module, the vehicle lamp controller comprises a microcontroller, a first switch circuit, a signal sampling circuit, a second switch circuit and a CAN communication module, the microcontroller is provided with a UART interface and a GPIO interface, the signal sampling circuit samples high and low level signals transmitted by the vehicle body controller and transmits the sampled signals to the GPIO interface, and the CAN communication module communicates with the vehicle body controller. The first switching circuit controls connection and disconnection between the signal line and the GPIO interface, and the second switching circuit controls connection and disconnection between the signal line and the UART interface; the vehicle lamp module comprises a linear driving chip and an LED lamp, and the CAN communication module controls the linear driving chip to achieve on-off of the LED lamp. According to the invention, a CAN / LIN bus is not needed, and a plurality of lightening function control and upgrading functions can be realized only through a hard wire.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle light modules, and in particular to an intelligent vehicle light control system using hard-wire control. Background Art

[0002] With the development of the times, users have higher and higher requirements for personalized car lights. Car lights have evolved from traditional lighting functions to support advanced functions such as welcoming guests and upgrading. At present, car light controllers that support these advanced functions often use CAN / LIN bus to implement these functions, send corresponding message information through CAN / LIN bus to determine the lighting logic of the car lights, and transmit data through CAN / LIN bus messages to realize the upgrading function.

[0003] Traditionally, hard-wired controlled headlights can only support the lighting function of the lamps. In order to achieve various lighting effects, headlights often use CAN / LIN bus design. On the one hand, this requires increasing the cost of the controller. On the other hand, the hard-wired control used by many models to control the headlights does not support these advanced functions. In traditional hard-wired projects, when the lamps are produced, the software of the lamps cannot be upgraded. Therefore, when there is a problem with the controller or function optimization is required, the lamps can only be scrapped.

[0004] For example, the patent with announcement number CN109941182B mentioned that the hard-wired controller cannot realize the complex lighting function, and the CAN bus is used to realize the corresponding function. The patent with announcement number CN213818263U mentioned that the hard-wired controller cannot realize the upgrade function, and the upgrade function is realized by pulling out a LIN line through the connector and adding a LIN transceiver module to the circuit.

[0005] Therefore, models with higher cost requirements or using traditional hard-wired architecture cannot use these methods to implement various lighting functions and software upgrade functions of the headlights. Summary of the invention

[0006] The technical problem to be solved by the present invention is: in order to solve the problems existing in the prior art in the above-mentioned background technology, an intelligent vehicle light control system using hard-wire control is provided.

[0007] The technical solution adopted by the present invention to solve its technical problems is: an intelligent headlight control system using hard-line control, including a body controller, a headlight controller and a headlight module, the body controller is connected to the headlight controller through a signal line, the headlight controller includes a microcontroller, a first switch circuit, a signal sampling circuit, a second switch circuit and a CAN communication module, the microcontroller has a UART interface and a GPIO interface, the signal sampling circuit samples the high and low level signals transmitted from the body controller, and transmits the sampled signals to the GPIO interface, the first switch circuit controls the on and off of the signal line and the GPIO interface, and the second switch circuit controls the on and off of the signal line and the UART interface; the headlight module includes a linear drive chip and an LED lamp, and the CAN communication module controls the linear drive chip to realize the on and off of the LED lamp.

[0008] Furthermore, a power line and a ground line for supplying power to the light controller are connected between the body controller and the light controller. When the headlight controller is powered on, the first switch circuit is turned on and the second switch circuit is turned off, the signal line is connected to the GPIO interface of the microcontroller, and the microcontroller samples the high and low level signals transmitted by the signal line. When a low level is detected on the signal line for 1 second, the microcontroller controls the second switch circuit to close and turns on the first switch circuit. The signal line is connected to the UART interface of the microcontroller; the headlight controller receives the data transmitted from the body controller through the signal line for data upgrade.

[0009] Furthermore, the vehicle light controller also includes a power supply output module and a Flash module. The power supply output module supplies power to the linear drive chip. The microcontroller enters a corresponding working mode according to a sampling signal of the signal sampling circuit, reads the lighting effect pre-stored in the Flash module, and controls the power supply output module. At the same time, the lighting timing of the linear drive chip is controlled through the CAN communication module.

[0010] Furthermore, when the microcontroller does not detect a low level on the signal line for 1 second, the signal line remains connected to the GPIO interface of the microcontroller, the first switch circuit is turned on, and the second switch circuit is turned off. The car light controller detects the duty cycle of the PWM signal on the signal line, switches to different lighting modes according to a preset duty cycle, and performs lighting control according to the selected lighting mode.

[0011] Furthermore, the microcontroller adopts a S9KEA128AMLH single chip microcomputer, the signal sampling pin of the single chip microcomputer uses the Inside_signal pin with PWM function, the signal uses the receiving pin RXD of UART, and the first switch circuit and the second switch circuit control the MCU_switch1 pin and the MCU_switch2 pin using the GPIO function.

[0012] Furthermore, the first switch circuit and the second switch circuit are connected in series, the first switch circuit includes a first MOS tube, a diode is connected between the source and the drain of the first MOS tube, a capacitor, a resistor and a diode are connected in parallel between the gate and the source of the first MOS tube; the second switch circuit includes a second MOS tube, a diode is connected between the source and the drain of the second MOS tube, a capacitor and a resistor are connected in parallel between the gate and the source of the second MOS tube, and a resistor is connected between the drain of the second MOS tube and the gate of the first MOS tube; the first MOS tube and the second MOS tube are turned on and off by a switch signal sent by a microcontroller.

[0013] Furthermore, the Flash module adopts a MX25L51245GMI-08G chip, which has an SPI interface and is connected to the SPI interface of the microcontroller.

[0014] Furthermore, the power supply output module adopts a TPS55288 chip, which has a POWER_EN pin, and the microcontroller controls the POWER_EN pin to output a constant voltage; the linear drive chip adopts TPS92662, which has multiple UAR interfaces, and the UAR interface is electrically connected to the receiving pin RXD of the microcontroller.

[0015] Furthermore, the signal sampling circuit includes a transistor, a base of the transistor is connected to the Inside_signal pin of the microcontroller, a collector of the transistor is connected to a 5V power supply, and an emitter of the transistor is grounded.

[0016] Furthermore, the power conversion module adopts a TPS7B82 chip to output a 5V regulated power supply to power the microcontroller.

[0017] Beneficial effects of the present invention: (1) The intelligent vehicle light control system using hard-wire control of the present invention does not require a CAN / LIN bus and can achieve multiple lighting function control and upgrade functions only through hard wires; (2) After the system is started, the microcontroller controls the first switch circuit to be turned on and the second switch circuit to be turned off, and the signal line is connected to the signal sampling circuit. At this time, the working mode selection is realized by adopting the duty cycle of the PWM wave; if the high level of the GPIO signal lasts for 1 second, the second switch circuit is turned on, the first switch circuit is turned off, and the signal line is connected to the UART interface of the MCU to realize the upgrade function; (3) The working mode of the present invention is determined by the duty cycle (PWM) of the signal line. A duty cycle that is not within the definition is an invalid duty cycle, and the controller does not respond at this time; (4) After receiving the corresponding mode, the present invention controls the enable pin through the microcontroller to achieve constant voltage output of the back-end linear drive chip to power the LED lamp, and at the same time, the linear drive chip is controlled in timing through the CAN communication module; (5) The working mode of the present invention may be associated with the lighting scene of the vehicle light module; (6) The mode lighting effect corresponding to the present invention is stored in the flash module of the headlight controller. When the mode signal is received, the mode stored in the flash module is extracted to control the power supply output to achieve different lighting effects of the headlight module; (7) The lighting effect in the flash module of the present invention can also be upgraded through the signal line in the upgrade mode. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0019] Figure 1 It is a structural block diagram of the present invention.

[0020] Figure 2 It is a control flow chart of the present invention.

[0021] Figure 3 It is a circuit diagram of a microcontroller in the vehicle light controller of the present invention.

[0022] Figure 4 It is a connection circuit diagram of the first switch circuit and the second switch circuit in the vehicle light controller of the present invention.

[0023] Figure 5 It is a circuit diagram of the Flash module in the vehicle light controller of the present invention.

[0024] Figure 6 It is a circuit diagram of a power supply output module in a vehicle light controller of the present invention.

[0025] Figure 7 It is a circuit diagram of a CAN communication module in a vehicle light controller of the present invention.

[0026] Figure 8 It is a schematic diagram of a signal sampling circuit in a vehicle light controller of the present invention.

[0027] Fig. 9 It is a circuit diagram of a power conversion module in a vehicle light controller of the present invention.

[0028] In the figure: 101, body controller; 102, power line; 103, ground line; 104, signal line; 110, car light controller; 105, power conversion module; 107, microcontroller; 106, signal sampling circuit; 109, Flash module; 108, power supply output module; 111, second switch circuit; 112, first switch circuit; 113, CAN communication module; 114. Headlight module; 115. Linear driver chip. DETAILED DESCRIPTION

[0029] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.

[0030] like Figure 1 As shown, an intelligent headlight control system using hard-line control includes a body controller 101 at the body end, a headlight controller 110 at the headlight end, and a headlight module 114. A power line 102, a ground line 103, and a signal line 104 are connected between the body controller 101 and the headlight controller 110. The headlight controller 110 includes a microcontroller 107, a power conversion module 105, a first switch circuit 112, a signal sampling circuit 106, a second switch circuit 111, a Flash module 109, a power supply output module 108, and a CAN communication module 113. The headlight module 114 includes a linear drive chip 115 and an LED lamp.

[0031] The light controller 110 is connected to the light module 114 through the power supply output module 108 and the CAN communication module 113, wherein the power supply output module 108 supplies power to the linear drive chip 115, and the CAN communication module 113 controls the linear drive chip 115 to control the on and off of the LED light to achieve a dynamic effect. The first switch circuit 112 can control the on and off of the signal line 104 and the GPIO interface of the microcontroller 107, and the second switch circuit 111 can control the on and off of the signal line and the UART interface of the microcontroller 107. The power line 102 and the ground line 103 supply power to the light controller 110, and the signal line 104 provides a signal to the light controller 110, providing a mode control signal of the light controller 110. The power conversion module 105 supplies power to the microcontroller 107, the signal sampling circuit 106 samples the high and low level signals transmitted from the vehicle body controller 101, and transmits the sampled signals to the GPIO interface of the microcontroller 107. The microcontroller 107 enters the corresponding working mode according to the received sampling signal, reads the lighting effect pre-stored in the Flash module 109, and controls the power supply output module 108. At the same time, the linear drive chip 115 is controlled to light up in a timing sequence through the CAN communication module 113 to achieve the diversity of lighting functions. For example: working mode 1 is welcoming effect 1, working mode 2 is welcoming effect 2, etc.

[0032] like Figure 2 As shown, when the headlight controller 110 is powered on, the first switch circuit 112 is turned on and the second switch circuit 111 is turned off. At this time, the signal line 104 is connected to the GPIO interface of the microcontroller 107 for signal detection. The microcontroller 107 samples the high and low level signals transmitted by the signal line 104. When the low level of the signal line 104 is detected for 1 second, the second switch circuit 111 is turned off, the first switch circuit 112 is turned on, and the signal line 104 is connected to the UART interface of the microcontroller 107. Upgrade stage: The headlight controller 110 receives the data transmitted by the body controller 101 through the signal line 104 for data upgrade. After the upgrade is completed, the system restarts. When the low level of the signal line 104 is not detected for 1 second, the microcontroller 107 port is maintained to be connected to the GPIO interface, and then the duty cycle of the PWM signal of the signal line 104 is detected. According to the preset duty cycle, it switches to different lighting modes, and the light control is performed according to the selected lighting mode. For example, if there are 10 working modes, mode 1 is (10±2)%, mode 2 is (20±2)%, and so on. The duty cycle that is not within the definition is an invalid duty cycle, and the vehicle light controller 110 does not respond.

[0033] like Fig. 9 As shown, the power conversion module uses the TPS7B82 chip as a voltage-stabilized power supply to provide a stable voltage of 5V to the microcontroller 107. Figure 6 As shown, the power supply output module 108 uses the TPS55288 chip, and the microcontroller 107 controls the POWER_EN pin of the TPS55288 chip to achieve constant voltage output to the rear-end linear drive chip 115. Figure 7 The CAN communication module 113 performs timing control on the linear drive chip 115, and the linear drive chip 115 can adopt TPS92662.

[0034] like Figure 3 As shown, the microcontroller 107 uses a single-chip microcomputer of S9KEA128AMLH, wherein the signal sampling pin uses the Inside_signal pin with PWM function, the signal uses the receiving pin RXD of UART, and the switch circuit control uses the MCU_switch1 pin and the MCU_switch2 pin of GPIO function. In addition, the single-chip microcomputer is connected to the MCU_switch1 pin and the MCU_switch2 pin through the SPI interface on it. Figure 5 The Flash module 109 communicates with the MX25L51245GMI-08G chip, which has multiple SPI interfaces.

[0035] like Figure 8 As shown, the signal sampling circuit 106 controls the switch of the transistor by the signal to realize the transmission of the PWM signal. Figure 4 The invention is a switch circuit, wherein a first switch circuit 112 and a second switch circuit 111 are connected in series, wherein the first switch circuit 112 comprises a first MOS tube, a diode is connected between the source and the drain of the first MOS tube, and a capacitor, a resistor and a diode are connected in parallel between the gate and the source of the first MOS tube; the second switch circuit 111 comprises a second MOS tube, a diode is connected between the source and the drain of the second MOS tube, a capacitor and a resistor are connected in parallel between the gate and the source of the second MOS tube, and a resistor is connected between the drain of the second MOS tube and the gate of the first MOS tube; the two MOS tubes are controlled by a switch signal of a microcontroller 107 to realize the switch of this channel.

[0036] When an upgrade is required, the body controller 101 sends a low level for 1 second to the headlight controller 110 through the signal line 104, and the microcontroller 107 closes the MCU_Switch1 pin of the first switch circuit 112 and opens the MCU_Switch2 pin of the second switch circuit 111. At this time, the signal of the signal line 104 passes through the Outside_signal of the second switch circuit 111 and the Inside_signal2 to the 52nd pin of the microcontroller 107, that is, the RXD pin of the UART. At this time, the upgrade task is executed, and the upgrade data is directly transmitted to the RXD pin of the microcontroller 107 through the second switch circuit 111. If the animation effect upgrade is involved, the data of the signal line 104 will be transmitted to the flash module 109 through the SPI communication port of the microcontroller 107.

[0037] When executing the animation effect, the body controller 101 sends a PWM signal to the microcontroller 107 through the signal line 104. Since the microcontroller 107 opens the MCU_Switch1 pin of the first switch circuit 112 and closes the MCU_Switch2 pin of the second switch circuit 111 during system initialization, the signal of the signal line 104 passes through the Outside_signal of the first switch circuit 112 and the Inside_signal1 to the signal sampling circuit 106. The signal sampling circuit 106 transmits the signal to the 35th pin of the microcontroller 107 through the MCU_signal. This pin supports the PWM function. When the microcontroller 107 receives this duty cycle PWM signal, it is transmitted to the UART_TX and UART_RX of the CAN communication module 113 through the CAN_TX and CAN_RX of the microcontroller 107, and is transmitted to the linear driver chip 115 through the CAN1_H and CAN1_L of the CAN communication module 113. The linear driver chip 115 executes the corresponding preset light animation effect according to the CAN signal, and finally makes the corresponding LED light light up.

[0038] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. An intelligent vehicle light control system using hard-wire control, characterized in that: The vehicle comprises a body controller (101), a headlight controller (110) and a headlight module (114); the body controller (101) is connected to the headlight controller (110) via a signal line (104); the headlight controller (110) comprises a microcontroller (107), a first switch circuit (112), a signal sampling circuit (106), a second switch circuit (111) and a CAN communication module (113); the microcontroller (107) has a UART interface and a GPIO interface; the signal sampling circuit (111) is connected to the headlight module (114); 06) sampling the high and low level signals transmitted by the vehicle body controller (101), and transmitting the sampled signals to the GPIO interface, the first switch circuit (112) controlling the on and off of the signal line (104) and the GPIO interface, and the second switch circuit (111) controlling the on and off of the signal line (104) and the UART interface; the vehicle light module (114) comprises a linear drive chip (115) and an LED light, and the CAN communication module (113) controls the linear drive chip (115) to turn the LED light on and off.

2. The intelligent vehicle light control system using hard-wired control according to claim 1, characterized in that: A power line (102) and a ground line (103) for supplying power to the vehicle light controller (110) are connected between the vehicle body controller (101) and the vehicle light controller (110). When the vehicle light controller (110) is powered on, the first switch circuit (112) is turned on, and the second switch circuit (111) is turned off, the signal line (104) is connected to the GPIO interface of the microcontroller (107), and the microcontroller (107) samples the high and low level signals transmitted by the signal line (104); when a low level of the signal line (104) is detected to last for 1 second, the microcontroller (107) controls the second switch circuit (111) to be turned off, the first switch circuit (111) is turned on, and the signal line is connected to the UART interface of the microcontroller (107); the vehicle light controller (110) receives data transmitted by the body controller (101) through the signal line (104) for data upgrade.

3. The intelligent vehicle light control system using hard-wired control according to claim 1, characterized in that: The vehicle light controller (110) further comprises a power supply output module (108) and a Flash module (109); the power supply output module (108) supplies power to the linear drive chip (115); the microcontroller (107) enters a corresponding working mode according to a sampling signal of the signal sampling circuit (106), reads a lighting effect pre-stored in the Flash module (109), controls the power supply output module (108), and controls the lighting timing of the linear drive chip (115) via the CAN communication module (113).

4. The intelligent vehicle light control system using hard-wired control according to claim 3 is characterized in that: When the microcontroller (107) does not detect that the signal line is at a low level for 1 second, the signal line (104) remains connected to the GPIO interface of the microcontroller (107), the first switch circuit (112) is turned on, the second switch circuit (111) is turned off, and the vehicle light controller (110) detects the duty cycle of the PWM signal of the signal line (104), switches to different lighting modes according to a preset duty cycle, and performs lighting control according to the selected lighting mode.

5. The intelligent vehicle light control system using hard-wired control according to claim 1, characterized in that: The microcontroller (107) uses a S9KEA128AMLH single-chip microcomputer, the signal sampling pin of the single-chip microcomputer uses an Inside_signal pin with a PWM function, the signal uses a UART receiving pin RXD, and the first switch circuit (112) and the second switch circuit (111) control the MCU_switch1 pin and the MCU_switch2 pin using a GPIO function.

6. The intelligent vehicle light control system using hard-wired control according to claim 5, characterized in that: The first switch circuit (112) and the second switch circuit (111) are connected in series, the first switch circuit (112) comprising a first MOS tube, a diode being connected between the source and drain of the first MOS tube, a capacitor, a resistor and a diode being connected in parallel between the gate and source of the first MOS tube; the second switch circuit (111) comprising a second MOS tube, a diode being connected between the source and drain of the second MOS tube, a capacitor and a resistor being connected in parallel between the gate and source of the second MOS tube, and a resistor being connected between the drain of the second MOS tube and the gate of the first MOS tube; the first MOS tube and the second MOS tube are turned on and off by a switch signal sent by a microcontroller (107).

7. The intelligent vehicle light control system using hard-wired control according to claim 5, characterized in that: The Flash module (109) uses a MX25L51245GMI-08G chip, which has an SPI interface and is connected to the SPI interface of the microcontroller (107).

8. The intelligent vehicle light control system using hard-wired control according to claim 5, characterized in that: The power output module (108) adopts a TPS55288 chip having a POWER_EN pin, and the microcontroller (107) controls the POWER_EN pin to output a constant voltage; the linear drive chip (115) adopts a TPS92662 chip having a plurality of UAR interfaces, and the UAR interface is electrically connected to a receiving pin RXD of the microcontroller (107).

9. The intelligent vehicle light control system using hard-wired control according to claim 5, characterized in that: The signal sampling circuit (106) comprises a triode, the base of the triode is connected to the Inside_signal pin of the microcontroller (107), the collector is connected to a 5V power supply, and the emitter is grounded.

10. The intelligent vehicle light control system using hard-wired control according to claim 9, characterized in that: The power conversion module (105) uses a TPS7B82 chip to output a 5V regulated power supply to power the microcontroller (107).

Citation Information

Patent Citations

  • A lighting effect control method for automobiles, an automobile lighting system, and a vehicle.

    CN109941182B

  • Tail lamp with function upgrading hard wire design scheme

    CN213818263U