Test circuit for vehicle lamp circuit board load current and LED color temperature illumination
By integrating a test circuit with a current sensor and a light sensor, the problem in existing technologies of being unable to simultaneously measure the load current of the vehicle light circuit board and the LED color temperature and illumination is solved, achieving efficient and accurate testing results, which is suitable for the field of automotive electronics testing.
Patent Information
- Application Number
- CN202422784418.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2034-11-15
AI Technical Summary
The existing technology lacks a portable test circuit that can simultaneously measure the load current of the vehicle light circuit board and the LED color temperature and illumination, resulting in a less than optimized detection process.
A test circuit integrating a main control unit, a current sensing unit, a light sensing unit, a power supply unit, and a communication interface unit was designed. The circuit used the INA219 current sensor and the VD6283TX light sensor, supported both 12V and 5V power supply modes, controlled the sensors via dip switches, and used the CH340G/CH340N UART-to-USB interface for communication. The STM32F103CBT6 microcontroller chip communicated with the sensors, supporting address configuration and expansion for multiple sensors.
It achieves simultaneous and accurate measurement of the load current of the vehicle light circuit board and the LED color temperature and illumination. The system has strong compatibility, simple operation, good scalability, and is suitable for different test environments, reducing development difficulty and cost.
Smart Images

Figure CN223400415U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of detection equipment, in particular to a test circuit for load current of a vehicle lamp circuit board and LED color temperature illumination. Background Art
[0002] With the advancement of automotive electronics, LED headlights have evolved from initially replacing high-mounted brake lights to being used in virtually every automotive lighting fixture, including turn signals, position lights, fog lights, and reverse lights, as well as interior lighting and dashboard indicator lighting. Consequently, the control and performance requirements for headlights are becoming increasingly stringent. To ensure the quality of headlight circuit boards, accurate testing of load current and LED color temperature and illumination is essential. Existing technologies perform these two tests separately, but the market lacks a portable test circuit that can simultaneously measure the headlight circuit board's load current and the LED color temperature and illumination to optimize the testing process. Utility Model Content
[0003] In order to overcome the above shortcomings, the purpose of the present invention is to provide a test circuit for the load current and LED color temperature illumination of a vehicle light circuit board, so as to solve the problems raised in the above background technology.
[0004] In order to achieve the above purpose, the technical solution adopted by the utility model is a test circuit for the load current and LED color temperature illumination of a vehicle light circuit board, comprising:
[0005] The main control unit includes a single-chip microcomputer chip.
[0006] The current sensing unit includes a current sensor for measuring the load current of the vehicle light circuit board.
[0007] The light sensing unit includes a light sensor for measuring the color temperature and illuminance of the LED.
[0008] The power supply unit is used to provide the operating voltage required by the system.
[0009] The communication interface unit includes a switching chip, which is respectively connected to the single-chip microcomputer chip and the ECU for debugging and logging the single-chip microcomputer chip.
[0010] The single chip microcomputer chip is communicatively connected with the current sensor and the light sensor respectively.
[0011] Furthermore, the test circuit also includes a dip switch, which is electrically connected to the current sensor and the light sensor respectively, and is used to control the on and off of the current sensor and the light sensor, and configure an address bit for the current sensor.
[0012] Furthermore, the adapter chip is a model of CH340G or CH340N, and is compatible with a UART to USB Type-C interface connected to the ECU, and the adapter chip communicates with the single-chip microcomputer chip through the UART interface.
[0013] Furthermore, the power supply unit includes a DC / DC converter, the model of which is XLSEMIXL1509-5.0E1, which is used to support two power supply modes of 12V and 5V.
[0014] Furthermore, the single chip microcomputer chip communicates with the current sensor and the light sensor respectively via an IIC bus.
[0015] Furthermore, the test circuit also includes a level conversion chip, the model of which is PCA9306DCUR, which is used to achieve IIC bus communication between the single-chip microcomputer chip and the light sensor through bidirectional voltage conversion.
[0016] Furthermore, the model of the single-chip microcomputer chip is STM32F103CBT6, the model of the current sensor is INA219, and the model of the light sensor is VD6283TX.
[0017] Furthermore, the test circuit also includes a pin header unit, which is connected to the single-chip microcomputer chip and is used to lead out 26 GPIO interfaces of the single-chip microcomputer chip through the pin header unit, so as to facilitate expansion and development.
[0018] Compared with the prior art, the test circuit for load current and LED color temperature illumination of a vehicle light circuit board provided by the present invention has the following advantages and beneficial effects:
[0019] (1) Strong system compatibility: It can support both 12V and 5V power supply modes and is suitable for different test environments.
[0020] (2) Accurate measurement: INA219 current sensor and VD6283TX light sensor are used to ensure the measurement accuracy of load current and LED color temperature and illumination.
[0021] (3) Easy to operate: The sensor is switched on and off via a dip switch, which is easy to use.
[0022] (4) Stable communication: Use CH340G / CH340N UART to USB interface to ensure stable communication with the computer.
[0023] (5) Good scalability: 26 MCU GPIO interfaces are brought out through pin headers, which facilitates function expansion and secondary development. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is a circuit connection diagram of an embodiment of a test circuit for load current and LED color temperature illumination of a vehicle light circuit board according to the present invention;
[0025] Figure 2 This is a schematic diagram of the circuit structure of the current sensor portion of an embodiment of a test circuit for load current and LED color temperature illumination of a vehicle light circuit board according to the present utility model;
[0026] Figure 3 This is a circuit structure diagram of the serial port conversion part of an embodiment of a test circuit for load current and LED color temperature illumination of a vehicle light circuit board according to the present invention;
[0027] Figure 4 This is a schematic diagram of the circuit structure of the power supply portion of an embodiment of a test circuit for load current and LED color temperature illumination of a vehicle light circuit board according to the present invention;
[0028] Figure 5 This is a schematic diagram of the circuit structure of the color temperature and illumination sensor part of an embodiment of a test circuit for load current and LED color temperature and illumination of a vehicle light circuit board of the present invention. DETAILED DESCRIPTION
[0029] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more precise definition of the protection scope of the present invention.
[0030] refer to Figure 1 , Figure 1 A circuit connection diagram of a test circuit for load current and LED color temperature illumination of a vehicle light circuit board provided by an embodiment of the present utility model is shown.
[0031] like Figure 1 As shown, the technical solution adopted by the present invention is a test circuit for the load current of the vehicle light circuit board and the color temperature and illumination of the LED, including a main control unit, a current sensing unit, a light sensing unit, a power supply unit and a communication interface unit, wherein the main control unit includes a single-chip microcomputer chip. The current sensing unit includes a current sensor for measuring the load current of the vehicle light circuit board. The light sensing unit includes a light sensor for measuring the color temperature and illumination of the LED. The power supply unit is used to provide the operating voltage required by the system. The communication interface unit includes an adapter chip, which is respectively connected to the single-chip microcomputer chip and the ECU for debugging and logging the single-chip microcomputer chip. The single-chip microcomputer chip is respectively connected to the current sensor and the light sensor.
[0032] The present application provides a test circuit for the load current and LED color temperature and illumination of a vehicle light circuit board, which integrates a main control unit, a current sensing unit, a light sensing unit, a power supply unit, and a communication interface unit into one test circuit, thereby improving the compactness and portability of the system. By using current sensors and light sensors to accurately measure the load current of the vehicle light circuit board and the color temperature and illumination of the LED, the overall test efficiency is improved.
[0033] refer to Figure 2 , Figure 2 The utility model shows a circuit structure diagram of the current sensor part in a test circuit for load current and LED color temperature illumination of a vehicle light circuit board provided by the present invention.
[0034] In some embodiments, reference Figure 1 and Figure 2 The test circuit also includes a dip switch, which is electrically connected to the current sensor and the light sensor respectively, for controlling the on and off of the current sensor and the light sensor, and configuring an address bit for the current sensor.
[0035] For example, the DIP switch allows users to physically control the on / off switching of current sensors and light sensors, streamlining the operation process. In a multi-sensor system, configuring the address bits for the current sensors using the DIP switch avoids address conflicts and allows each sensor to be uniquely identified and managed by the system, improving system flexibility and scalability while ensuring unique addresses for multiple sensors operating simultaneously.
[0036] refer to Figure 3 , Figure 3 The utility model shows a circuit structure diagram of the serial port conversion part in a test circuit for load current and LED color temperature illumination of a vehicle light circuit board provided by the present invention.
[0037] In some embodiments, reference Figure 1 and Figure 3 The adapter chip model is one of CH340G or CH340N, and is compatible with the UART to USB Type-C interface connected to the ECU. The adapter chip communicates with the microcontroller chip through the UART interface.
[0038] For example, the CH340G and CH340N chips support full-speed USB device interface, are compatible with USB V2.0, and can communicate with existing USB devices and systems without the need for additional adapters or converters to connect to the ECU. They also communicate with the microcontroller chip through the UART interface, simplifying the circuit design and integration process and reducing development difficulty and cost.
[0039] refer to Figure 4 , Figure 4The utility model shows a circuit structure diagram of the power supply part in a test circuit for load current and LED color temperature illumination of a vehicle light circuit board provided by the present invention.
[0040] In some embodiments, reference Figure 1 and Figure 4 The power supply unit includes a DC / DC converter. The model of the DC / DC converter is XLSEMIXL1509-5.0E1, which is used to support both 12V and 5V power supply modes.
[0041] For example, the power module supports both 12V and 5V power supply modes, providing the stable voltage required by the main control unit and various peripherals through a DC-DC converter. The 12V input is first stepped down to 5V, and then to 3.3V and 1.8V, respectively. The 5V input of the Type C interface is also stepped down to 3.3V and 1.8V.
[0042] In some embodiments, the single chip microcontroller communicates with the current sensor and the light sensor respectively via an IIC bus.
[0043] For example, the STM32F103CBT6 microcontroller chip connects two INA219 current sensors and two VD6283TX light sensors via the IIC bus. The IIC bus supports multiple master and slave devices and requires only two wires (SDA data line and SCL clock line), reducing hardware pin usage, saving board space and cost, and improving system scalability and flexibility.
[0044] refer to Figure 5 , Figure 5 The utility model shows a circuit structure diagram of the color temperature and illumination sensor part in a test circuit for load current and LED color temperature and illumination of a vehicle light circuit board provided by the present invention.
[0045] In some embodiments, reference Figure 1 and Figure 5 ,The test circuit also includes a level conversion chip, the model of the level conversion chip is PCA9306DCUR, which is used to realize the IIC bus communication between the ,MCU chip and the light sensor through bidirectional voltage conversion.
[0046] For example, the PCA9306DCUR supports level conversion from 1.0V to 3.6V to 1.8V to 5.5V, enabling bidirectional communication between devices at different voltage levels without the need for an additional direction control pin. The chip also boasts a maximum propagation delay of less than 1.5ns, accommodating both standard-mode and fast-mode I2C devices and multiple controllers. The address configuration of the VD6283TX light sensor is controlled via the corresponding IO interface of the microcontroller chip, while I2C communication between the MCU and the VD6283TX sensor is implemented via the level conversion chip, ensuring signal compatibility.
[0047] In some embodiments, the model of the single-chip microcomputer chip is STM32F103CBT6, the model of the current sensor is INA219, and the model of the light sensor is VD6283TX.
[0048] For example, the STM32F103CBT6 is a 32-bit microcontroller based on the ARM Cortex-M3 core. It includes common peripheral interfaces such as an ADC, USART, SPI, I²C, and CAN, meeting various application requirements. The INA219 current sensor features an I²C-compatible shunt interface and a power monitor. It monitors shunt voltage drop and bus supply voltage and features programmable conversion time and filtering. The VD6283TX light sensor features advanced light flicker detection capabilities, with a separate ADC and readout circuit for each color channel, enabling fast and accurate light measurement.
[0049] In some embodiments, the test circuit further includes a pin header unit, which is connected to the single-chip microcomputer chip and is used to lead out 26 GPIO interfaces of the single-chip microcomputer chip through the pin header unit, so as to facilitate expansion and development.
[0050] For example, pin headers are used to connect modules between circuit boards, allowing for quick module replacement and upgrades, improving system maintainability and scalability. Furthermore, pin headers come in a variety of sizes and arrangements to accommodate diverse circuit design requirements, making connections between functional modules more flexible and enabling flexible hardware configuration.
[0051] The utility model provides a circuit for testing the load current, LED color temperature, and illumination of a headlight circuit board based on STM32F103CBT6. After the system is powered on, the main control unit initializes each sensor, reads data from the INA219 current sensor and the VD6283TX light sensor through the IIC bus, and sends the collected data to a computer through the UART interface, facilitating real-time monitoring and log recording. Through simple hardware and software design, accurate testing of headlight circuit board products is achieved. The utility model has the advantages of simple operation, precise measurement, and strong compatibility, and can be widely used in the field of automotive electronics testing.
[0052] The testing process is as follows:
[0053] After the device is powered on, select 12V or 5V power supply according to your needs;
[0054] Use the DIP switch to turn on or off the power supply of the current sensor / light sensor and configure the address bit of the current sensor;
[0055] The system automatically initializes each sensor and collects data through the IIC bus;
[0056] Connect to the ECU via the USB Type-C interface, allowing the host computer software to view and record sensor data in real time;
[0057] The collected current, CCT color temperature, and illuminance data are analyzed by the host computer software to compare the measured values with the qualified range and judge the performance and quality of the automotive light circuit board products.
[0058] The above implementation methods are only for illustrating the technical concept and features of the utility model. Its purpose is to enable people familiar with this technology to understand the content of the utility model and implement it. It cannot be used to limit the scope of protection of the utility model. Any equivalent changes or modifications made according to the spirit of the utility model should be included in the scope of protection of the utility model.
Claims
1. A test circuit for load current and LED color temperature illumination of a vehicle light circuit board, characterized in that: include: Main control unit, including single chip microcomputer chip; A current sensing unit, including a current sensor, for measuring the load current of the vehicle light circuit board; A light sensing unit, including a light sensor for measuring the color temperature and illumination of the LED; A power supply unit, used to provide the operating voltage required by the system; A communication interface unit, comprising a transfer chip, wherein the transfer chip is respectively connected to the single-chip microcomputer chip and the ECU for debugging and logging the single-chip microcomputer chip; The single chip microcomputer chip is communicatively connected with the current sensor and the light sensor respectively.
2. The test circuit according to claim 1, wherein: The system further comprises a dip switch, which is electrically connected to the current sensor and the light sensor respectively, and is used to control the on and off of the current sensor and the light sensor, and configure an address bit for the current sensor.
3. The test circuit according to claim 1, wherein: The adapter chip is one of CH340G or CH340N, and is compatible with setting a UART to USB Type-C interface to be connected to the ECU. The adapter chip communicates with the microcontroller chip through the UART interface.
4. The test circuit according to claim 1, wherein: The power supply unit includes a DC / DC converter. The model of the DC / DC converter is XLSEMIXL1509-5.0E1, which is used to support two power supply modes of 12V and 5V.
5. The test circuit according to claim 1, wherein: The single chip microcomputer chip communicates with the current sensor and the light sensor respectively via an IIC bus.
6. The test circuit according to claim 1, wherein: It also includes a level conversion chip, the model of which is PCA9306DCUR, which is used to achieve IIC bus communication between the single-chip microcomputer chip and the light sensor through bidirectional voltage conversion.
7. The test circuit according to claim 1, wherein: The model of the single-chip microcomputer chip is STM32F103CBT6, the model of the current sensor is INA219, and the model of the light sensor is VD6283TX.
8. The test circuit according to claim 1, wherein: It also includes a pin header unit, which is connected to the single-chip microcomputer chip and is used to lead out 26 GPIO interfaces of the single-chip microcomputer chip through the pin header unit, so as to facilitate expansion and development.