Curve illumination configuration method
By setting the relationship between the steering wheel angle and the tire angle in the parameter configuration table and controlling the position of the lamp beads of the lighting system, the adaptation problem of curve lighting control of different models is solved, and rapid development and cost reduction are achieved.
Patent Information
- Application Number
- CN202411582932.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-02-18
AI Technical Summary
The existing technology is difficult to quickly adapt to different models to achieve curve lighting control, resulting in an increase in development costs and time cycles.
By setting the relationship between the steering wheel angle and the tire angle, motor extension or shortening amount in the parameter configuration table, and adjusting the position of the most bright light beads in the lighting system according to these relationships, quickly adjusting the curve lighting.
This method can adapt to different models by modifying the parameter configuration table only, which significantly reduces the project's development cycle and time labor costs, and makes all the functions of the lamp compatible.
Smart Images

Figure CN119459507A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle lighting, and in particular to a configuration method for curved road lighting. Background Art
[0002] In the prior art, in order to expand the lighting range when turning and improve driving safety, the headlights are often required to have a cornering lighting function. Currently, there are two mainstream ways to achieve the cornering lighting function: one is to adjust the left and right position of the headlight module through a motor, and the other is to adjust the light pattern through a high-pixel adaptive high beam matrix module (ADB).
[0003] As the automobile market continues to expand, the continuous iteration of automobile models requires software suppliers to continuously update the corresponding function codes according to the models, which increases the cost and time cycle of vehicle development. The existing technology solutions are developed for a single model and cannot adapt to the current fast-paced model iteration and cannot quickly adapt functions. Summary of the invention
[0004] The technical problem to be solved by the present invention is: how to adapt to different vehicle models to achieve rapid cornering lighting control.
[0005] To this end, the present invention provides a method for configuring curved road lighting.
[0006] The technical solution adopted by the present invention to solve its technical problem is:
[0007] A method for configuring curved road lighting comprises the following steps:
[0008] The relationship between the steering wheel angle and the tire angle, the motor extension (or shortening), and the lighting system information are set in the parameter configuration table;
[0009] Read the parameter configuration table downloaded in the controller, and adjust the position of the lamp with the highest brightness in the lighting system according to the relationship between the steering wheel angle and the tire angle.
[0010] Furthermore, the corresponding relationship between the steering wheel angle and the tire angle is as follows: tire angle=K*steering wheel angle.
[0011] Furthermore, the relationship between the steering wheel angle and the motor extension (or shortening) amount n is: tan(β)=tan(K*α)=n / motor shaft length.
[0012] Furthermore, when the cornering lighting function is turned on, when there is no corner information input or the corner signal is 0, the brightness of each LED is set according to the duty cycle in the parameter configuration table during initialization, and the brightest spot position at this time is recorded; after receiving the corner, the brightest spot position after offset is calculated according to the corner information, and compared with the illumination angle corresponding to each pixel in the parameter configuration table, the pixel corresponding to the brightest spot after offset is determined, and finally the brightness of all pixels is offset to the corresponding position as a whole.
[0013] Furthermore, when no turning angle information is input or the turning angle signal is 0, the middle value of the left angle and the right angle corresponding to the brightest point is calculated, and based on the tire angle calculated after turning, the tire angle and the middle value of the angle are added to obtain the transformed angle. The LED light corresponding to the middle value of the angle closest to the transformed angle is found from the parameter configuration table during initialization, and it is set as the brightest point after translation.
[0014] Furthermore, the corresponding parameters of the parameter configuration table are modified after each turn so as to re-evaluate the parameter configuration table.
[0015] Furthermore, it also includes:
[0016] Step 1: Initialize various hardware peripherals after the vehicle is powered on;
[0017] Step 2: Diagnose software update;
[0018] Step 3: Unlock the controller through security verification of diagnostic services;
[0019] Step 4: After completing the software update and passing the security verification, obtain the lamp information and the cornering lighting mode from the parameter configuration table, and execute the cornering lighting algorithm according to the parameter configuration table information.
[0020] Furthermore, in the step one, the motor is initialized. First, the position O of the motor when the controller is powered on is recorded. We use the motor control chip to make the motor move to the left beyond the maximum movement range of the motor until the motor detects that it has stalled and reports it to our cornering lighting controller. At this time, we control the motor to move to the right a preset number of steps, so that the motor moves to the initialization position and records the position.
[0021] Furthermore, the parameter configuration table evaluation adopts static evaluation or dynamic evaluation.
[0022] The beneficial effect of the present invention is that the present application adapts to different vehicle models to achieve cornering lighting configuration by only modifying the parameter configuration table, which greatly reduces the project development cycle and time and labor costs; the parameter configuration table can be extended from cornering lighting to other functions of the lamp, ultimately achieving the purpose of all functions of the lamp being configurable. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0024] Figure 1 It is an implementation flow chart of the configuration method of the curved road lighting system in the present invention.
[0025] Figure 2 It is a schematic diagram of the pixel configuration of the parameter configuration table in the present invention.
[0026] Figure 3 It is a schematic diagram of the pixel angle configuration of the parameter configuration table in the present invention.
[0027] Figure 4 It is a schematic diagram of the motor initialization process in the present invention.
[0028] Figure 5 It is a schematic diagram of the matrix type curved road lighting in the present invention. 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] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.
[0031] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0032] A curved road lighting system includes a controller, a motor control chip and a communication module. The controller is composed of AUTOSAR SWC components and can realize functions such as pixel fault detection, input and output open and short circuit detection, lamp function control, controller fault diagnosis, operating system, network management, BootLoader, configuration table refresh and reading and writing.
[0033] The controller stores a parameter configuration table, refer to Figure 2 and Figure 3 As shown, the parameter configuration table includes the cornering lighting configuration information corresponding to the vehicle model, including the distribution of each lamp bead of the lamp. The information in the figure includes the power supply channel of each pixel and which channel of the matrix control chip each pixel corresponds to.
[0034] In the parameter configuration table, in the cornering light distribution function, the value of 0 means the function is off, and the value of 1 means the function is on; in the implementation method column, 0 means the function is not on, 1 means control through a motor, 2 means control through a matrix, 3 means control through a motor + corner lights, and 4 means control through a matrix + corner lights.
[0035] The communication module provides a stable operating environment for AUTOSAR operation, provides interfaces and services for the application software layer, and provides communication.
[0036] Reference Figure 1 , a method for configuring curved road lighting, comprising the following steps:
[0037] Step 1: Device initialization
[0038] After the vehicle is powered on, each hardware peripheral is initialized, specifically: power supply starts, the communication module and memory resources of the standard headlight controller are initialized, and hardware errors are checked. The communication peripherals include CAN, LIN, and SPI.
[0039] Step 2: Diagnose the software update
[0040] Entering BOOTLOADER specifically means that the program runs the BOOTLOADER function, starts receiving diagnostic communication messages, and implements diagnostic services. The diagnostic service determines whether the application software needs to be updated. If it does not need to be updated, it continues to detect the integrity of the program. If it is incomplete, it stays in BOOTLOADER and jumps to step three. The user downloads a new program through the diagnostic service. If it is complete, it jumps to step four;
[0041] If an update is required, skip to step 3.
[0042] Step 3: Software Update
[0043] Unlock the controller through the security verification of the diagnostic service. If the security verification fails and the number of attempts is greater than 3, it will enter the locked state and record the corresponding fault information. If the unlocking is successful, execute the application update program.
[0044] Step 4: Determine whether the parameter configuration table needs to be updated through the diagnostic service. If it needs to be updated, jump to step 5; if it does not need to be updated, check the integrity of the configuration table. If it is incomplete, stay in BOOTLOADER and jump to step 5 to update the configuration table through the diagnostic service.
[0045] Step 5: Unlock the controller through the security verification of the diagnostic service. Note that the security verification in this step is at a different security level from the security verification in step 3. The security verification rules in step 3 cannot be used to unlock the ADB configuration table download function. After the security verification passes, execute the configuration table update procedure.
[0046] Step 6: Exit BOOT, enter the application function, mount the configuration table to the application function area, enter OS, and initialize the basic software module.
[0047] Step seven, obtaining lamp information and curved road lighting mode from the parameter configuration table, and executing the curved road lighting algorithm according to the information in the parameter configuration table.
[0048] S7.1 Motor Initialization
[0049] After our cornering lighting controller is powered on, we first detect whether our current vehicle conditions meet the conditions for motor initialization. This condition is usually considered to be that the current vehicle speed is less than the set value.
[0050] When the initialization conditions are met, the motor initialization process is as follows: Figure 4 As shown in the figure, first record the position O of the motor when the controller is powered on. We use the motor control chip to make the motor move to the left (shorten or lengthen, according to the parameter configuration table) beyond the maximum range of motion of the motor until the motor detects that it has stalled (reaching the limit of the motor's left range of motion, such as Figure 4 At this time, we control the motor to move to the right (shorten or lengthen, according to the parameter configuration table) for a preset number of steps, so that the motor moves to the initialization position P, and records this position. The limit position that the software allows the motor to move to the left after initialization is recorded as L2.
[0051] The purpose of recording the initialization position is to let the controller know the position of the motor (the motor position is unknown when the power is just turned on). All subsequent motor movements are based on this position, thereby limiting the motor from moving to the physical limit position of the motor, avoiding the motor staying at the physical limit position for a long time, causing the motor to get stuck.
[0052] S7.2 parameter configuration settings:
[0053] S7.2.1 Relationship between steering wheel angle and tire angle: The steering wheel angle is obtained from the message signal, and the tire angle is obtained according to the steering wheel angle. The corresponding relationship between the two needs to be written into the parameter configuration table in advance. The corresponding relationship between the steering wheel angle and the tire angle is as follows: tire angle = K*steering wheel angle (α), where the K value is the ratio of the tire angle to the steering wheel angle, which is given by the vehicle OEM and is different for different models. For a certain model, the value is 0.07212).
[0054] S7.2.2 Relationship between steering wheel angle and motor extension (or shortening):
[0055] tan(β)=tan(K*α)=n / motor shaft length, where n is the length of the motor extension or contraction.
[0056] Parameter configuration table as follows Figure 2 and Figure 3 Shown
[0057] S7.2.3 Determining the critical angle
[0058] Since the evaluation standard of the cornering lighting function is relatively subjective and depends on the subjective evaluation of the OEM customers, generally after the code is completed, the whole vehicle is calibrated and the corresponding values in the parameter configuration table are written for subjective evaluation. If it does not meet the customer's requirements, the corresponding parameters in the parameter configuration table are modified and re-evaluated. The evaluation can be dynamic evaluation or after evaluation. Dynamic evaluation is to monitor vehicle parameters during actual driving and modify the parameter configuration table; static evaluation: mainly optical measurement, measuring the illumination of each LED at each steering wheel angle, and comparing it with the design value. The deviation is within 10% to meet the standard, otherwise the parameter configuration table is modified and re-tested.
[0059] Specifically, during driving, the motor is controlled to move to the appropriate position according to the received steering wheel angle information, and the cornering lighting method is realized through the matrix.
[0060] like Figure 4 As shown, Figure 5 The small picture a in the figure is a schematic diagram of the matrix type cornering lighting of ordinary low beam. Figure 5 The small picture b in the figure is a schematic diagram of matrix cornering lighting when the left headlight turns 1.2° to the right in the headlight following steering mode (bending mode). Figure 5 The c sub-picture in the figure is a schematic diagram of matrix cornering lighting when the left headlight turns 2.4° to the right in the headlight following steering mode (bending mode). Figure 5 The small picture d in the figure is a schematic diagram of matrix cornering lighting when the left headlight turns 3.6° to the right in the headlight following steering mode (bending mode). Figure 5 The sub-picture e in the figure is a schematic diagram of matrix cornering lighting when the left headlight turns 4.8° to the right in the headlight following steering mode (bending mode). Figure 5 The sub-picture f in the figure is a schematic diagram of matrix cornering lighting when the left headlight is turned 6° to the right in the headlight following steering mode (bending mode).
[0061] When the cornering lighting function is turned on, if there is no corner information input or the corner signal is 0, the brightness of each LED is set according to the duty cycle in the parameter configuration table during initialization, and the brightest point position at this time is recorded. After receiving the corner, the brightest point position after the offset is calculated according to the corner information, and the position of the brightest point after the offset is calculated according to the corner information. Figure 3 Compare the illumination angles corresponding to each pixel in the parameter configuration table shown, determine the pixel corresponding to the brightest point after the shift, and finally shift the brightness of all pixels to the corresponding position as a whole to achieve curved road lighting.
[0062] For example, referring to the project shown in the table below, a total of 12 LEDs are configured for the curved road lighting, and the duty ratios are shown in Table 1:
[0063] Table 1 Duty ratio of the front-turn cornering light distribution lamp
[0064] pLMM 12 11 10 9 8 7 6 5 4 3 2 1 pLMM1Led_1PWM 30 35 40 60 70 85 93 100 93 80 50 30
[0065] Take the left headlight as an example. As shown in the table, the brightest point is LED5. The middle angle of the brightest point is used as the reference point. Figure 3 The left and right angles of the brightest point LED 5 are found in the figure, and the median value of the angle is calculated, which is (-8.45+(-3.25)) / 2=-5.85. 。
[0066] Assuming the steering wheel turns right by 27.7315 and K is 0.07212, the tire angle is -2. Referring to the middle angle, the transformed angle is -7.85, which is the same as Figure 3 Compare the median angles of the lamp beads and find the closest point. At this time, the brightest point is LED4. The duty ratio after transformation is shown in Table 2:
[0067] Table 2 Duty ratio of the curved lighting after turning
[0068] pLMM1Led 12 11 10 9 8 7 6 5 4 3 2 pLMM1Led_1PWM 30 30 35 40 60 70 85 93 100 93 80
[0069] The whole is shifted to the right by one, and the blank duty cycle of LED12 is filled with the duty cycle of LED11.
[0070] In summary, this application adapts to different vehicle models by only modifying the parameter configuration table, which greatly reduces the project development cycle and time and labor costs; the parameter configuration table can be extended from cornering lighting to other functions of the lamp, and ultimately achieves the goal of all functions of the lamp being configurable.
[0071] 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, but must be determined according to the scope of the claims.
Claims
1. A method for configuring curved road lighting, characterized in that: The following steps are included: The relationship between the steering wheel angle and the tire angle, the motor extension (or shortening), and the lighting system information are set in the parameter configuration table; Read the parameter configuration table downloaded in the controller, and adjust the position of the lamp with the highest brightness in the lighting system according to the relationship between the steering wheel angle and the tire angle.
2. The method for configuring curved road lighting according to claim 1, characterized in that: The corresponding relationship between the steering wheel angle and the tire angle is as follows: tire angle = K*steering wheel angle α.
3. The method for configuring curved road lighting according to claim 1, characterized in that: The relationship between the steering wheel angle and the motor extension (or shortening) amount n is: tan(β)=tan(K*α)=n / motor shaft length.
4. The method for configuring curved road lighting according to claim 2, characterized in that: When the cornering lighting function is turned on, when there is no corner information input or the corner signal is 0, the brightness of each LED is set according to the duty cycle in the parameter configuration table during initialization, and the brightest spot position at this time is recorded; after receiving the corner, the brightest spot position after offset is calculated based on the corner information, and compared with the illumination angle corresponding to each pixel in the parameter configuration table, the pixel corresponding to the brightest spot after offset is determined, and finally the brightness of all pixels is offset to the corresponding position as a whole.
5. The method for configuring curved road lighting according to claim 4, characterized in that: When no turning angle information is input or the turning angle signal is 0, calculate the middle value of the left angle and the right angle corresponding to the brightest point, and add the tire angle to the middle value of the angle according to the tire turning angle calculated after turning to get the transformed angle. Find the LED light corresponding to the middle value of the angle closest to the transformed angle from the parameter configuration table during initialization, and set it as the brightest point after translation.
6. The method for configuring curved road lighting according to claim 1, characterized in that: After each turn, the corresponding parameters in the parameter configuration table are modified so as to re-evaluate the parameter configuration table.
7. The method for configuring curved road lighting according to claim 1, characterized in that: Also includes, Step 1: Initialize various hardware peripherals after the vehicle is powered on; Step 2: Diagnose software update; Step 3: Unlock the controller through security verification of diagnostic services; Step 4: After completing the software update and passing the security verification, obtain the lamp information and the cornering lighting mode from the parameter configuration table, and execute the cornering lighting algorithm according to the parameter configuration table information.
8. The method for configuring curved road lighting according to claim 7, characterized in that: In step 4, the motor is initialized. First, the position O of the motor when the controller is powered on is recorded. We use the motor control chip to make the motor move to the left beyond the maximum movement range of the motor until the motor detects that it has stalled and reports it to our cornering lighting controller. At this time, we use the motor control chip to move the motor to the right for a pre-set number of steps, so that the motor moves to the initialization position and records the position.
9. The method for configuring curved road lighting according to claim 7, characterized in that: The parameter configuration table evaluation adopts static evaluation or dynamic evaluation.
Citation Information
Cited By
Self-adaptive matrix type DBL vehicle lamp light shape control system
CN120681025A