Search

CN-122016247-A - Commercial vehicle lamplight calibration system and method

CN122016247ACN 122016247 ACN122016247 ACN 122016247ACN-122016247-A

Abstract

The application discloses a commercial vehicle lamplight calibration system and method, wherein the system comprises a calibration upper computer, a vehicle-mounted controller ECU and a vehicle-mounted bus analyzer VBA, the calibration upper computer is used for providing a user operation interface and running a calibration program, the vehicle-mounted controller ECU is used for controlling vehicle lamplight and adjusting lamplight brightness according to a calibration instruction, the vehicle-mounted bus analyzer VBA is connected with the calibration upper computer through a USB interface and is in communication connection with the ECU through a LIN bus, the calibration upper computer comprises an LED lamplight calibration module, a control command module, a switch key acquisition module and a product information module, the LED lamplight calibration module is used for executing safety algorithm verification, setting a reference voltage brightness value after the verification passes, executing one-key calibration and checking calibration data, the control command module is used for testing lamplight hardware states, the switch key acquisition module is used for monitoring external switch signals, and the product information module is used for recording and inquiring calibration results.

Inventors

  • MA XIRAN

Assignees

  • 北京经纬恒润科技股份有限公司

Dates

Publication Date
20260512
Application Date
20260116

Claims (10)

  1. 1. A commercial vehicle light calibration system, comprising: The calibration upper computer is used for providing a user operation interface and running a calibration program; the vehicle-mounted controller ECU is used for controlling vehicle lamplight and adjusting the lamplight brightness according to the calibration instruction; The vehicle-mounted bus analyzer VBA is connected with the calibration upper computer through a USB interface and is in communication connection with the ECU through a LIN bus; The calibration upper computer comprises an LED light calibration module, a control command module, a switch key acquisition module and a product information module, wherein the LED light calibration module is used for executing safety algorithm verification, setting a reference voltage brightness value after verification is passed, executing one-key calibration and checking calibration data, the control command module is used for testing the state of light hardware, the switch key acquisition module is used for monitoring external switch signals, and the product information module is used for recording and inquiring calibration results.
  2. 2. The commercial vehicle lamplight calibration system according to claim 1, wherein the calibration host computer further comprises an engineering management unit, the engineering management unit is used for detecting a VBA connection state, sending a prompt when the VBA connection state is not connected, creating a calibration project, loading an LDF file, an environment variable file and an interface layout file, and configuring communication parameters, wherein the communication parameters comprise a baud rate, a VCI channel and a network segment identifier.
  3. 3. The commercial vehicle lamplight calibration system according to claim 1, wherein the LED lamplight calibration module comprises a first safety algorithm unit, a one-key calibration unit and a reading verification unit, wherein the first safety algorithm unit is used for executing safety verification before calibration, the one-key calibration unit is used for calculating and writing PWM (pulse width modulation) duty ratios under multiple voltages to the ECU according to preset lamplight brightness and PWM duty ratios thereof, and the reading verification unit is used for reading calibrated data in the ECU and checking the data.
  4. 4. The commercial vehicle lamplight calibration system according to claim 3, wherein the one-key calibration unit calculates and writes the PWM duty cycle at multiple voltages to the ECU according to the preset lamplight brightness and the PWM duty cycle thereof, and is specifically configured to: receiving a preset voltage target PWM duty cycle input by a user; calculating corresponding PWM duty ratios of at least three voltage points in a preset range according to the preset voltage-duty ratio relation coefficient; And writing the data into a nonvolatile memory of the ECU in batches through LIN communication.
  5. 5. The commercial vehicle lamplight calibration system according to claim 3, wherein the control command module comprises a second safety algorithm unit, a lamplight control unit and a hardware detection unit, wherein the second safety algorithm unit is used for executing operation authority verification, the lamplight control unit is used for controlling the specified lamp to be on or off through an upper computer interface, and the hardware detection unit is used for judging whether the LED and related circuits are normal or not according to the lamplight state.
  6. 6. The commercial vehicle light calibration system of claim 5, wherein the first security algorithm unit and the second security algorithm unit each employ a two-way authentication mechanism; The bidirectional verification mechanism comprises the steps that the ECU generates random seeds and sends the random seeds to the calibration upper computer, the calibration upper computer and the ECU respectively use manufacturer encryption algorithms to process the seeds to obtain intermediate values, the calibration upper computer and the ECU respectively use HMAC algorithms to encrypt the intermediate values for the second time to generate verification codes, and verification is passed when the verification codes of the calibration upper computer and the ECU are consistent, and the calibration functions are unlocked.
  7. 7. The commercial vehicle light calibration system of claim 1, wherein the switch key acquisition module monitors external switch signals, in particular for: and acquiring and displaying state signals of a physical switch or a key connected with the ECU in real time, and performing light control or calibration flow triggering according to the acquired state signals.
  8. 8. The commercial vehicle light calibration system of claim 1, wherein the product information module records and queries the calibration results, and is specifically configured to: and acquiring product information of the ECU, and judging whether the ECU is calibrated according to the product information, wherein the product information comprises a part number, a software version, a production batch and calibration state information.
  9. 9. A method for calibrating light of a commercial vehicle according to any one of claims 1-8, comprising: starting software for calibrating the upper computer, connecting with a vehicle-mounted bus analyzer VBA and detecting a communication state; Newly building engineering and configuring hardware and protocol parameters; And executing safety algorithm verification through the LED lamplight calibration module, entering a functional module interface after the verification is passed, setting a reference voltage brightness value, executing one-key calibration, checking calibration data, testing lamplight hardware state through the control command module, monitoring an external switch signal through the switch key acquisition module, and recording and inquiring a calibration result through the product information module.
  10. 10. The method for calibrating light of commercial vehicle according to claim 9, wherein the setting the brightness value of the reference voltage performs one-key calibration, and specifically comprises: and calculating and writing the PWM duty ratio under multiple voltages to the ECU according to the preset light brightness and the PWM duty ratio thereof.

Description

Commercial vehicle lamplight calibration system and method Technical Field The application relates to the technical field of automobile electronics, in particular to a light calibration system and method for a commercial vehicle. Background Along with the rapid development of commercial automobile electronic technology, the light brightness calibration method is used as a key link for the development of automobile electronic equipment, and has important significance for ensuring that the whole automobile performance meets the national standard and meeting the requirements of customers. At present, the commercial vehicle lamplight calibration is mainly based on a controller LIN bus communication technology, and the configuration of various lamplight brightness values under different voltages is realized through an ERC-LIN calibration protocol. However, the existing calibration method needs to adjust the brightness value point by point in a wider voltage range (such as 16V to 32V), and each type of lamplight needs to be calibrated independently, so that the calibration workload increases exponentially with the increase of the lamplight quantity, the operation is complicated, the efficiency is low, and the development period is severely restricted. In addition, in order to meet the technical confidentiality requirement, manufacturers generally adopt a security unlocking mechanism to conduct authority control on the calibration software, but the existing security algorithm is low in complexity and easy to crack or bypass, so that reliability risks exist in the calibration process. For example, misclassification or misclassification occurs frequently, which may cause lamp performance to fail and even be a safety hazard. Therefore, the prior art has the remarkable defects that (1) the efficiency is low due to manual calibration of multiple voltage points one by one, (2) the safety authentication mechanism is weak, the calibration process is easy to interfere or tamper, and (3) the intelligent calibration means is lacking, so that the flexible requirements of multiple vehicle types and multiple light configurations are difficult to adapt. In view of the foregoing, there is a need for a high-efficiency, reliable and safe light calibration method for commercial vehicles, so as to solve the problems of low efficiency, poor reliability, high safety risk and the like in the prior art. Disclosure of Invention The application provides a commercial vehicle lamplight calibration system and a method, which have the advantages of integration, high efficiency and high safety, and support of one-key calibration, double safety verification, real-time data verification and hardware state detection. The specific technical scheme is as follows: In a first aspect, an embodiment of the present application provides a light calibration system for a commercial vehicle, including: The calibration upper computer is used for providing a user operation interface and running a calibration program; the vehicle-mounted controller ECU is used for controlling vehicle lamplight and adjusting the lamplight brightness according to the calibration instruction; The vehicle-mounted bus analyzer VBA is connected with the calibration upper computer through a USB interface and is in communication connection with the ECU through a LIN bus; The calibration upper computer comprises an LED light calibration module, a control command module, a switch key acquisition module and a product information module, wherein the LED light calibration module is used for executing safety algorithm verification, setting a reference voltage brightness value after verification is passed, executing one-key calibration and checking calibration data, the control command module is used for testing the state of light hardware, the switch key acquisition module is used for monitoring external switch signals, and the product information module is used for recording and inquiring calibration results. In some embodiments of the present application, the calibration upper computer further includes an engineering management unit, where the engineering management unit is configured to detect a VBA connection state, send a prompt when the VBA connection state is not connected, newly create a calibration project, load an LDF file, an environment variable file, and an interface layout file, and configure communication parameters, where the communication parameters include baud rate, a VCI channel, and a network segment identifier. In some embodiments of the application, the LED lamp light calibration module comprises a first safety algorithm unit, a one-key calibration unit and a reading verification unit, wherein the first safety algorithm unit is used for executing safety verification before calibration, the one-key calibration unit is used for calculating and writing PWM (pulse-width modulation) duty ratios under multiple voltages to the ECU according to preset lamp light brightness and