A vehicle lamp control method and device, electronic equipment and storage medium

CN116533862BActive Publication Date: 2026-08-28DEEPAL AUTOMOBILE TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310563953.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-18
Publication Date
2026-08-28
Estimated Expiration
2043-05-18

AI Technical Summary

Technical Problem

[0004]本发明实施例的目的在于提供一种车灯控制方法、装置、电子设备及存储介质,以解决现有技术中无法在车灯开启过程中使车灯同步开启的问题

Benefits of technology

[0017]This invention discloses a vehicle headlight control method. Upon receiving a headlight-on message, a first control module is triggered to send a headlight-on message to a second control module. If the headlight-on delay period is not present, when the second headlight is successfully turned on, the second control module sends a headlight-on completion message back to the first control module. The headlight-on delay period is determined based on the sending and receiving times, and the headlights are controlled according to this delay period. In cases where no headlight-on delay period is detected, the first control module sends a headlight-on message to the second control module, and determines the delay period based on the time interval from sending the headlight-on message to receiving the headlight-on completion message. This allows for control based on the delay period in subsequent headlight on/off control, eliminating the time difference during signal transmission and solving the problem of synchronous headlight activation during headlight-on.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116533862B_ABST
    Figure CN116533862B_ABST
Patent Text Reader

Abstract

A vehicle lamp control method in the embodiment of the application, by receiving a vehicle lamp opening message, triggering the first control module to send the vehicle lamp opening message to the second control module based on the vehicle lamp opening message, if the existence state of the opening delay time length is non-existent, when the second vehicle lamp is successfully opened, the second control module is controlled to feed back the second vehicle lamp opening completion message to the first control module, the opening delay time length is determined according to the sending time and the receiving time, and the vehicle lamp is controlled according to the opening delay time length; when the opening delay time length is not detected, the first control module sends the vehicle lamp opening message to the second control module, and the delay time length is determined according to the time period from sending the vehicle lamp opening message to receiving the second vehicle lamp opening completion message, which can be controlled according to the delay time length in the subsequent vehicle lamp opening and closing control, eliminating the time difference existing in the signal transmission process, and solving the problem that the vehicle lamp cannot be synchronously opened in the vehicle lamp opening process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle control, and more particularly to a vehicle lighting control method, device, electronic equipment, and storage medium. Background Technology

[0002] As the number and complexity of automotive functions increase, domain controller integration architecture has emerged. Actuators are connected to the domain controller nearby, greatly reducing the complexity and cost of wiring harness design. As a component of vehicle infotainment system control, headlight control is an important medium for existing vehicles to achieve functions such as night driving, vehicle voice communication, and driving warnings. In the domain controller integration architecture, headlight control is controlled by the left and right headlight domain controllers.

[0003] However, in actual operation of headlight control based on left and right domain controllers, a time difference exists during signal transmission because the left and right domain controllers control different headlights. This leads to asynchronous headlight activation. In related technologies, CN115623639A discloses a method for controlling and displaying headlight-related states using a central control device. However, this control process relies solely on the central control device to control headlight activation, and the asynchronous activation problem persists. CN114771398A discloses a method, system, device, and computer-readable medium for headlight control, which determines the driving target area based on a front image and then determines the headlights based on that area. While this method uses a domain controller for unified headlight control, it fails to resolve the asynchronous activation issue. Summary of the Invention

[0004] The purpose of this invention is to provide a vehicle headlight control method, device, electronic device, and storage medium to solve the problem in the prior art that the vehicle headlights cannot be turned on synchronously during the headlight-on process.

[0005] This invention provides a vehicle headlight control method, comprising: receiving a headlight-on message; triggering a first control module to send a headlight-on message to a second control module based on the headlight-on message, thereby controlling the second control module to turn on a second headlight, wherein the first control module is used to control the opening and closing of a first headlight; if the existence state of a headlight-on delay period is non-existent, when the second headlight is successfully turned on, controlling the second control module to send a second headlight-on completion message to the first control module; determining a headlight-on delay period based on a sending time and a receiving time, thereby controlling the headlights according to the headlight-on delay period, wherein the sending time is the time when the first control module sends the headlight-on message to the second control module, and the receiving time is the time when the first control module receives the second headlight-on completion feedback message.

[0006] In one embodiment of the present invention, after receiving the vehicle light turn-on message, the vehicle light control method further includes: monitoring the on state of the vehicle-side light switch; if the on state of the vehicle-side light switch is "on", determining the operating state of the light group, the operating state of the light group includes normal operation and abnormal operation; if the operating state of the light group is abnormal operation, terminating the current vehicle-side light turn-on operation, and generating a light group abnormal state message according to the abnormal operating state of the light group, so as to provide feedback on the abnormal operating state of the light group.

[0007] In one embodiment of the present invention, after determining the operating status of the lamp group, the vehicle light control method further includes: if the operating status of the lamp group is normal, sending the vehicle light turn-on message to the first control module; the first light control module controls the first light to turn on, and sends a light turn-on request to the second light control module.

[0008] In one embodiment of the present invention, determining the headlight delay duration based on the sending time and the receiving time includes: determining half of the time period from the sending time to the receiving time as the headlight delay duration, and storing the headlight delay duration in a preset vehicle information storage area to control the vehicle lights based on the headlight delay duration.

[0009] In one embodiment of the present invention, controlling the vehicle lights according to the headlight delay duration includes: receiving a new headlight turn-on message, controlling the first headlight to turn on for the first headlight delay duration via the first control module; and triggering the first control module to send a new headlight turn-on message to the second control module based on the new headlight turn-on message, so as to control the second control module to turn on the second headlight.

[0010] In one embodiment of the present invention, controlling the vehicle lights according to the headlight delay duration includes: receiving a headlight off message, controlling the first headlight to turn off during the headlight delay delay duration via the first control module; and triggering the first control module to send a headlight off message to the second control module based on the headlight off message, so as to control the second control module to turn off the second headlight.

[0011] In one embodiment of the present invention, after controlling the vehicle lights according to the headlight delay duration, the headlight control method includes: obtaining the actual delay duration according to a preset detection period, wherein the actual delay duration is the delay duration determined based on the actual sending time and the actual receiving time after each headlight turn-on message is received after the headlight delay duration exists; determining the duration difference between the actual delay duration and the headlight delay duration; and if the duration difference is greater than a preset delay correction threshold, correcting the headlight delay duration according to the actual delay duration.

[0012] In one embodiment of the present invention, after receiving the headlights-on message, the headlight control method further includes: controlling a first control module to turn on a first headlight based on the headlights-on message, and monitoring the headlights-on status; the first control module sending a headlights-on message to a second control module, controlling the second control module to turn on a second headlight, and monitoring the headlights-on status; generating headlights-on status display information based on the headlights-on status and the headlights-on status, and sending it to a display terminal to display the headlights-on status.

[0013] In one embodiment of the present invention, after controlling the second control module to turn on the second vehicle light, the vehicle light control method further includes: if the existence state of the light-on delay duration is non-existent, when the second vehicle light turns on abnormally, a second vehicle light turning-on abnormal message is fed back to the first control module; based on the second vehicle light turning-on abnormal message, the first control module is triggered to terminate the current light-on delay duration determination operation.

[0014] This invention also provides a vehicle headlight control device, comprising: a first control module, configured to receive a headlight-on message; send a headlight-on message to a second control module based on the triggering of the headlight-on message, thereby controlling the second control module to turn on a second headlight; determine a headlight-on delay duration based on a sending time and a receiving time, and control the headlights according to the headlight-on delay duration, wherein the sending time is the time when the headlight-on message is sent to the second control module, and the receiving time is the time when the second headlight-on completion feedback message is received; and a second control module, configured to, if the headlight-on delay duration is not present, send a second headlight-on completion message to the first control module when the second headlight is successfully turned on.

[0015] This invention also provides an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the vehicle light control method as described in any of the above embodiments.

[0016] This invention also provides a computer-readable storage medium storing computer-readable instructions thereon, which, when executed by a computer's processor, cause the computer to perform the vehicle light control method as described in any of the above embodiments.

[0017] This invention discloses a vehicle headlight control method. Upon receiving a headlight-on message, a first control module is triggered to send a headlight-on message to a second control module. If the headlight-on delay period is not present, when the second headlight is successfully turned on, the second control module sends a headlight-on completion message back to the first control module. The headlight-on delay period is determined based on the sending and receiving times, and the headlights are controlled according to this delay period. In cases where no headlight-on delay period is detected, the first control module sends a headlight-on message to the second control module, and determines the delay period based on the time interval from sending the headlight-on message to receiving the headlight-on completion message. This allows for control based on the delay period in subsequent headlight on / off control, eliminating the time difference during signal transmission and solving the problem of synchronous headlight activation during headlight-on.

[0018] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:

[0020] Figure 1 This is a schematic diagram illustrating an exemplary system architecture as shown in an exemplary embodiment of this application;

[0021] Figure 2 This is a flowchart illustrating an exemplary embodiment of a vehicle lighting control method according to this application;

[0022] Figure 3 This is a flowchart illustrating a specific vehicle lighting control method in an exemplary embodiment of this application;

[0023] Figure 4 This is a flowchart illustrating a specific delay duration determination method as shown in an exemplary embodiment of this application;

[0024] Figure 5 This is a schematic diagram of a vehicle lighting control device shown in an exemplary embodiment of this application;

[0025] Figure 6 This is a schematic diagram illustrating a specific vehicle lighting control device as an exemplary embodiment of this application;

[0026] Figure 7This is a schematic diagram of the structure of a computer system for an electronic device, as illustrated in an exemplary embodiment of this application. Detailed Implementation

[0027] The embodiments of the present invention will be described below with reference to the accompanying drawings and specific examples. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention and not for limiting the scope of protection of the present invention.

[0028] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Therefore, the illustrations only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.

[0029] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the invention. However, it will be apparent to those skilled in the art that embodiments of the invention may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the invention.

[0030] The term "and / or" used in this application describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. The character " / " generally indicates that the related objects before and after it are in an "or" relationship.

[0031] First, it's important to clarify that an Automotive Domain Controller (ADC) is an electronic control module that serves as the central controller for a vehicle's electronic systems. It integrates multiple subsystems and controllers, such as in-vehicle networks, infotainment systems, safety systems, and driver assistance systems, while also processing data from vehicle sensors and actuators. The ADC communicates with different subsystems within the vehicle via a high-speed bus, enabling collaborative operation between these subsystems through a unified software architecture. Automotive domain controllers simplify the design and development process of automotive electronic systems, improving development efficiency and quality, and supporting faster innovation and feature updates. Furthermore, they can reduce overall vehicle manufacturing costs and weight, while enhancing vehicle reliability and safety.

[0032] This application also provides the following benefits: Fault detection of the headlight module upon receiving a headlight-on message avoids uncertainties or errors in delay duration due to headlight malfunctions, improving the accuracy of delay duration determination; storing the delay duration in a preset vehicle system storage area facilitates retrieval and viewing of this information by relevant technicians; controlling the first headlight to illuminate after a delay duration confirmation, coinciding with the signal transmission time of the second headlight, allows both headlights to illuminate simultaneously, avoiding time differences between headlight illumination; using the same delay duration for headlight deactivation control enables synchronized headlight shut-off; periodically detecting the actual delay duration and calibrating it based on the error between the actual delay duration and the headlight delay duration, preventing delay duration deviations caused by equipment aging or malfunctions; and displaying the headlight status after synchronous headlight activation, simultaneously utilizing the domain controller to display headlight activation status information, allowing users to intuitively observe the headlight activation status.

[0033] Figure 1 This is a schematic diagram illustrating an exemplary system architecture as shown in an exemplary embodiment of this application.

[0034] Reference Figure 1 As shown, the system architecture may include a first control module 101 and a second control module 102. The first control module 101 receives a headlight-on message and, based on this message, sends a headlight-on message to the second control module 102 to control the second control module 102 to turn on the second headlight. If the headlight-on delay period is not present, the second control module 102 sends a headlight-on completion message back to the first control module 101 when the second headlight is successfully turned on. Technical personnel can determine the headlight-on delay period based on the sending and receiving times within the first control module 101 to control the headlights accordingly.

[0035] In a schematic manner, by receiving a headlight-on message, the first control module 101 is triggered to send a headlight-on message to the second control module 102 based on the headlight-on message. If the headlight-on delay period is not present, when the second headlight is successfully turned on, the second control module 102 sends a second headlight-on completion message back to the first control module 101. The headlight-on delay period is determined based on the sending and receiving times, and the headlights are controlled according to the headlight-on delay period. In this method, when no headlight-on delay period is detected, the first control module 101 sends a headlight-on message to the second control module 102, and determines the delay period based on the time interval from sending the headlight-on message to receiving the second headlight-on completion message. The headlights can be controlled according to the delay period in subsequent headlight-on / off control, eliminating the time difference in signal transmission and solving the problem of not being able to synchronously turn on the headlights during the headlight-on process.

[0036] Figure 2 This is a flowchart illustrating an exemplary embodiment of the present application of a vehicle lighting control method, which can be used in... Figure 1 This is executed within the system architecture of the first control module 101 and the second control module 102 shown. (Refer to...) Figure 2 As shown, the flowchart of this vehicle light control method includes at least steps S210 to S240, which are described in detail below:

[0037] In step S210, a message indicating that the vehicle lights are on is received.

[0038] In one embodiment of this application, the headlight activation message is generated when a user controls the headlights to turn on according to driving scenario requirements. Specifically, this includes the user controlling the headlights via a headlight control switch in a headlight activation scenario. The headlight control switch can be a physical control switch, such as a headlight switch knob or button, or a virtual headlight switch, such as a virtual button in a central control display device. It can also be an external control device connected by relevant technicians when testing the vehicle. Upon receiving the activation signal, the signal processing equipment of the central control device converts the switch pulse signal into a headlight activation message required for transmission media such as bus or wireless transmission protocols. The specific type of this message is not specifically limited here.

[0039] In one embodiment of this application, after receiving the vehicle light turn-on message, the method further includes monitoring the on / off state of the vehicle-side light switch. If the on / off state of the vehicle-side light switch is "on", the operating state of the light assembly is determined. The operating state of the light assembly includes normal operation and abnormal operation.

[0040] The term "lamp assembly" refers to the overall device of the vehicle lighting control system, which includes, but is not limited to, the power supply device, bulbs, controllers, control motherboard, and related lamp assembly circuits.

[0041] In one embodiment of this application, if the lamp group is in an abnormal operating state, the current vehicle-side light-on operation is terminated, and a lamp group abnormal status message is generated based on the lamp group's abnormal operating state to provide feedback on the abnormal operating state of the lamp group.

[0042] In one embodiment of this application, if the lamp group is in normal operating condition, a vehicle light turn-on message is sent to the first control module, the first lighting control module controls the first light to turn on, and sends a light turn-on request to the second lighting control module.

[0043] In one embodiment of this application, receiving a headlight-on message to perform fault detection on the headlight module can avoid the occurrence of uncertain delay duration or determination error caused by the inability to turn on the headlights due to a fault, thereby improving the accuracy of delay duration determination.

[0044] In one embodiment of this application, after receiving a headlight-on message, the first control module is controlled to turn on the first headlight based on the headlight-on message, and the on-state of the first headlight is monitored. Simultaneously, the first control module sends a headlight-on message to the second control module, controlling the second control module to turn on the second headlight, and monitors the on-state of the second headlight. Based on the on-states of the first and second headlights, headlight on-state display information is generated and sent to a display terminal to display the headlight on-state. The headlight status is displayed after the headlights are synchronously turned on, and the headlight on-state information is displayed synchronously using a domain controller, allowing the user to intuitively observe the headlight on-state. The domain controller refers to the vehicle's lighting processing domain controller, used to control and manage the vehicle's lighting system and devices.

[0045] In one embodiment of this application, the headlight on / off status display information needs to be generated each time a headlight on message is received and the headlights are controlled to turn on. In some feasible scenarios, if at least one headlight on / off status display message exists between the first and second headlights, both can be displayed as headlights on. For example, if both the first and second headlights are on, the headlight on / off status display indicator is "on"; if the first headlight is on and the second headlight is off, the display indicator is still "on"; if both the first and second headlights are off, the headlight on / off status display indicator is "off". In some other embodiments of this application, the specific on / off status and off / off status can also be displayed according to the specific on / off status of each headlight, and the reason for not being on / off can be indicated.

[0046] In step S220, the first control module sends a vehicle light turn-on message to the second control module based on the vehicle light turn-on message, so as to control the second control module to turn on the second vehicle light.

[0047] In one embodiment of this application, the first control module is used to control the opening and closing of the first vehicle light.

[0048] In one embodiment of this application, after receiving the headlight turn-on message, if there is no headlight turn-on delay time, the first control module is controlled to immediately turn on the first headlight.

[0049] In step S230, if the existence status of the headlight delay duration is not present, when the second headlight is successfully turned on, the second control module sends a message to the first control module that the second headlight has been turned on.

[0050] In one embodiment of this application, after the first control module sends a headlight-on message to the second control module, the existence status of the delay duration within the vehicle controller is detected. In some other embodiments of this application, the aforementioned delay duration is stored in the vehicle's in-vehicle information storage area, and the existence status of the delay duration information within the in-vehicle information is detected. The existence status includes both "present" and "absent".

[0051] It should be noted that the above-mentioned headlight delay duration may be recorded in the vehicle's infotainment system in the form of control commands, vehicle information, controller delay flags, etc. This is only an example and does not specifically limit the way the above-mentioned headlight delay duration exists.

[0052] In some other embodiments of this application, a receiving counter for the headlight turn-on message can be set in the controller. After the first control module is triggered to send the headlight turn-on message to the second control module, the counting information in the receiving counter for the headlight turn-on message is determined. If the headlight turn-on message is received for the first time, when the second headlight is successfully turned on, the second control module is controlled to send a message to the first control module that the second headlight is turned on.

[0053] If the above-mentioned headlight turn-on message is not received for the first time, then the headlights will be controlled according to the above-mentioned headlight turn-on delay duration.

[0054] It should be noted that "first time" in the above description can specifically refer to the first time the headlights are turned on during the first time in the vehicle's life cycle, the first time the headlights are turned on, the first time the headlights delay duration is determined and set when the headlights delay duration is set, or when the headlights delay duration is first determined and set after the vehicle has been modified, maintained, or related parts replaced, or when the headlights delay duration is received again after the counter information has been cleared based on the needs of relevant technicians or users. All of these can be interpreted as the first time the headlights delay duration is received.

[0055] In one embodiment of this application, if the existence of the headlight delay duration is not present, when the second headlight is abnormally turned on, a second headlight turning-on abnormal message is fed back to the first control module, and the first control module is triggered to terminate the current headlight delay duration determination operation based on the second headlight turning-on abnormal message.

[0056] In one embodiment of this application, if the state of the headlight delay duration is present, then the headlights are controlled according to the aforementioned headlight delay duration.

[0057] In step S240, the headlight delay duration is determined based on the sending and receiving times, so as to control the headlights according to the headlight delay duration.

[0058] In one embodiment of this application, the aforementioned sending time is the time when the first control module sends the headlights-on message to the second control module, and the aforementioned receiving time is the time when the first control module receives the second headlights-on completion feedback message.

[0059] In one embodiment of this application, half of the time interval from the sending time to the receiving time is determined as the headlight-on delay duration, and this delay duration is stored in a preset vehicle information storage area to control the vehicle lights based on the headlight-on delay duration. Specifically, since the time interval from the sending time to the receiving time is the sum of the communication durations from the sending of communication information to the receiving of feedback information—that is, the time interval from the sending time to the receiving time is the sum of the communication duration of the first control module sending the headlight-on message to the second control module and the communication duration of the first control module receiving the feedback from the second headlight-on completion—the time interval from the sending time to the receiving time is labeled as T, and the headlight-on delay duration is T / 2.

[0060] In one embodiment of this application, based on the accuracy requirement for determining the headlight delay duration, the method for determining the headlight delay duration can also include: a first control module sending a headlight-on message to a second control module, simultaneously controlling the first headlight to turn on based on the headlight-on message, and starting a timer at the time of sending; when the first headlight turns on and a feedback message indicating that the first headlight has turned on is received, ending the first timer to obtain the headlight delay duration; and when the first control module receives a feedback message indicating that the second headlight has turned on is received, ending the second timer to obtain the headlight delay duration.

[0061] The absolute value of the difference between the timing duration of the second headlight and the timing duration of the first headlight is determined as the headlight-on delay time. This optimization scheme can effectively improve the timing determination error in the above headlight-on delay time determination process. For example, if the timing duration of the second headlight is 70 milliseconds and the timing duration of the first headlight is 20 milliseconds, without optimizing the delay time, half of the timing duration of the second headlight is determined as the headlight-on delay time, that is, the above headlight-on delay time is 35 milliseconds. If the delay time needs to be optimized, then half of the absolute value of the difference between the timing duration of the second headlight and the timing duration of the first headlight is determined as the headlight-on delay time, that is, the above optimized headlight-on delay time is 25 milliseconds, effectively improving the problem of headlight asynchrony that still cannot be solved when the delay time error is too large.

[0062] In one embodiment of this application, the confirmed delay duration is stored in a preset vehicle information storage area. One real-time scenario of this preset vehicle information storage area is the vehicle information storage area in the vehicle central control system. Storing the delay duration in the preset vehicle storage area facilitates relevant technical personnel to call and view the delay duration information.

[0063] In one embodiment of this application, controlling the vehicle lights according to the delay duration includes controlling the first vehicle light to turn on when the delay duration is reached, and also includes controlling the first vehicle light to turn off when the delay duration is reached.

[0064] In the headlight-on scenario, upon receiving a new headlight-on message, the first control module controls the first headlight to turn on after a delayed onset period. Additionally, based on the new headlight-on message, the first control module sends a new headlight-on message to the second control module, controlling the second control module to turn on the second headlight. After confirming the delay period, the first headlight is controlled to turn on with a delayed onset, coinciding with the signal transmission time of the second headlight, allowing both headlights to illuminate simultaneously and avoiding a time difference between their onset.

[0065] In a headlight-off scenario, upon receiving a headlight-off message, the first control module controls the first headlight to turn off after a delayed on / off time. Additionally, based on the headlight-off message, the first control module sends a headlight-off message to the second control module, controlling the second control module to turn off the second headlight. The headlight-off time is also controlled using a delay duration, enabling synchronized headlight-off control.

[0066] In one embodiment of this application, the method further includes the detection and correction of the delay duration. Specifically, it includes obtaining the actual delay duration according to a preset detection period, determining the duration difference between the actual delay duration and the light-on delay duration, and correcting the light-on delay duration based on the actual delay duration if the duration difference is greater than a preset delay correction threshold.

[0067] In one embodiment of this application, based on experimental data and the relevant human eye observation frequency range, it can be determined that when the duration deviation of the headlight turn-on delay is less than 50 milliseconds, the duration deviation between the headlights can be ignored. Therefore, in this embodiment, the correction or optimization threshold for the delay duration can be set to 50 milliseconds to perform timing correction and optimization of the delay duration, so as to ensure the control effect of the above-mentioned headlight turn-on delay duration on the synchronous lighting of the headlights.

[0068] The actual delay duration is the delay duration determined based on the actual sending time and the actual receiving time after each subsequent reception of the headlights-on message following the first reception.

[0069] Please see Figure 3 , Figure 3 This is a flowchart illustrating a specific vehicle lighting control method as an exemplary embodiment of this application. This specific method can be applied to... Figure 1 The implementation environment shown can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applicable.

[0070] First of all, it should be noted that Figure 3 In a specific vehicle headlight control method of the exemplary embodiment shown, the left domain controller is consistent with the first control module in the above embodiment, and the corresponding left headlight is consistent with the first headlight in the above embodiment; the right domain controller is consistent with the second control module in the above embodiment, and the right headlight is consistent with the second headlight in the above embodiment. The headlight coordination module is a sub-module of the left headlight control module, that is, a sub-module of the first control module, and the delay time T is consistent with the headlight-on delay time in the above embodiment.

[0071] like Figure 3 As shown, in a specific embodiment of this application, the lighting control of the present invention includes the following process steps:

[0072] Step S11 is to determine whether the user needs to turn on the lights based on the headlight setting signal (e.g., if the user sets the light switch to the off position, it means the user does not need to turn on the lights; if the user sets the light switch to the off position, it means the user needs to turn on the low beam headlights; if the user sets the light switch to the low beam headlight position, it means the user needs to turn on the low beam headlights). One way to obtain the headlight setting signal is through the vehicle's central control display screen, but it can also be obtained through other methods. The method of obtaining the headlight setting signal is not limited here.

[0073] Step S12 means that when the user does not need to turn on the lights, the lights are not turned on; when the user needs to turn on the lights, the process skips to step S13, where the vehicle status is used to determine whether the lights should be turned on, such as whether the vehicle power switch is OFF or whether the vehicle headlights are malfunctioning.

[0074] Step S14 is to not control the lights to be turned on when the lighting coordination module determines that the lights should not be turned on at this time.

[0075] Step S15 is when the user needs to turn on the lights and the vehicle allows the lights to be turned on, the lighting coordination module sends a light-on request.

[0076] Step S16 involves illuminating the right headlight. The left domain controller's lighting coordination module sends a headlight illumination request to the right domain controller's right headlight control module via the CAN bus. The right headlight control module then controls the right headlight to illuminate. Due to the CAN signal transmission, there is a delay. Upon receiving the headlight illumination request, the right headlight control module immediately illuminates the right headlight.

[0077] Step S17 involves the right headlight control module detecting the right headlight illumination status and then, in step S18, feeding back the right headlight illumination status to the headlight coordination module for left headlight delay duration self-learning and headlight status display.

[0078] Step S19 is when the left light control module receives the light-on request and determines whether the light is being turned on for the first time.

[0079] In one specific embodiment of this application, the left headlight control module can also confirm the existence of a headlight delay duration after receiving a headlight-on request. This determination step is consistent with the description of the headlight delay duration and initial on-state in the embodiments above, and will not be explained redundantly in this specific embodiment.

[0080] Step S100 involves the lighting coordination module calculating the left light lighting delay T based on the total time from issuing the light-on request to receiving confirmation that the right light is on. Please refer to the steps for details. Figure 4 , Figure 4 This is a flowchart illustrating a specific delay duration determination method in an exemplary embodiment of this application.

[0081] like Figure 4 As shown, in a specific embodiment of this application, step S101 is for the coordination module to start timing after issuing the light-on request, and in step S102, to determine whether it has received a signal from the right headlight control module that the right headlight is on. The timing continues until the right headlight is on. In step S103, after the coordination module receives a signal that the right headlight is on, it calculates the time T0 from issuing the light-on request to receiving the signal that the right headlight is on. This time is the total communication time from the transmission of the communication signal to its feedback. Step S104 is to calculate the delay time T = T0 / 2 for the left headlight to turn on, and record the time T in the left headlight control module.

[0082] Step S20 is the delay time T when the left headlight control module has no headlights lit up if the light is being turned on for the first time. At this time, the left headlight control module immediately controls the left headlight to turn on after receiving the light-on request. In step S21, the left headlight control module detects the left headlight lighting status. In step S22, the left headlight control module feeds back the left headlight lighting status to the light coordination module for headlight status display.

[0083] Step S23 is that if the light is not being turned on for the first time, the left light control module starts timing after receiving the light-on request. In step S24, the left light control module determines whether the timing duration is greater than T. During the time period from receiving the light-on request to the timing duration reaching T, the left light is not controlled to be turned on.

[0084] Step S25 is that when the timing duration is greater than or equal to T, the left headlight control module controls the left headlight to light up, so as to achieve synchronous lighting with the right headlight.

[0085] Step S26 involves the left headlight control module feeding back the left headlight illumination status to the headlight coordination module for headlight status display.

[0086] This invention provides a vehicle headlight control method. Upon receiving a headlight-on message, a first control module is triggered to send a headlight-on message to a second control module. If this is the first time the headlight-on message has been received, and the second headlight successfully turns on, the second control module sends a second headlight-on completion message back to the first control module. A headlight-on delay duration is determined based on the sending and receiving times, and the headlights are controlled according to this delay duration. In this method, upon receiving the headlight-on message for the first time, the first control module sends the message to the second control module, and the delay duration is determined based on the time interval between sending the headlight-on message and receiving the second headlight-on completion message. This allows for control based on the delay duration in subsequent headlight on / off control, eliminating the time difference during signal transmission and solving the problem of synchronous headlight activation. Further beneficial effects include adjusting the headlight module upon receiving the headlight-on message. Fault detection can prevent uncertainties or errors in delay duration due to malfunctions preventing lights from turning on, thus improving the accuracy of delay duration determination. The delay duration is stored in a preset vehicle system storage area for easy retrieval and viewing by technical personnel. After the delay duration is confirmed, the first headlight is controlled to illuminate with a delayed delay, matching the signal transmission time of the second headlight, allowing them to illuminate simultaneously and avoiding time differences. The delay duration is also used to control the headlights when they turn off, enabling synchronized control. The actual delay duration is periodically checked, and the delay duration is calibrated based on the error between the actual delay duration and the headlight delay duration, preventing delay duration deviations caused by equipment aging or malfunctions. After the headlights are synchronously turned on, the headlight status is displayed, and the domain controller is used to simultaneously display the headlight on / off status information, allowing users to intuitively observe the headlight on / off status.

[0087] The following describes an embodiment of the apparatus described in this application, which can be used to execute the vehicle headlight control method described in the above embodiments of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the vehicle headlight control method described above.

[0088] Figure 5 This is a schematic diagram illustrating a vehicle lighting control device according to an exemplary embodiment of this application. The device can be applied to… Figure 1 The implementation environment shown is not limited to this embodiment. This device can also be applied to other exemplary implementation environments and specifically configured in other devices.

[0089] like Figure 5 As shown, the exemplary vehicle lighting control device includes: a first control module 501 and a second control module 502.

[0090] The first control module 501 is used to receive a headlight-on message; based on the triggering of the headlight-on message, it sends a headlight-on message to the second control module to control the second control module to turn on the second headlight; it determines the headlight-on delay duration based on the sending time and receiving time, so as to control the headlight according to the headlight-on delay duration, wherein the sending time is the time when the headlight-on message is sent to the second control module, and the receiving time is the time when the second headlight-on completion feedback message is received; the second control module 502 is used to send a second headlight-on completion message to the first control module when the second headlight is successfully turned on if the headlight-on delay duration is not present.

[0091] Please see Figure 6 , Figure 6 This is a schematic diagram illustrating a specific vehicle lighting control device as an exemplary embodiment of this application. The device can be applied to... Figure 1 The implementation environment shown is not limited to this embodiment. This device can also be applied to other exemplary implementation environments and specifically configured in other devices.

[0092] like Figure 6 As shown, in a specific embodiment of this application, the exemplary vehicle lighting control device includes a left headlight, a right headlight, a CDC (Central Control System), an ECU-L (Left Domain Controller), and an ECU-R (Right Domain Controller). The ECU-L (Left Domain Controller) includes a lighting coordination module, a left headlight control module, and a vehicle status acquisition module; the ECU-R (Right Domain Controller) includes a right headlight control module. It should be noted that the ECU-L (Left Domain Controller) is consistent with the first control module in the above embodiment, and the corresponding left headlight is consistent with the first vehicle light in the above embodiment; the ECU-R (Right Domain Controller) is consistent with the second control module in the above embodiment, and the right headlight is consistent with the second vehicle light in the above embodiment. The lighting coordination module is a submodule of the first control module.

[0093] CDC refers to the central control system in a vehicle. It is an integrated control system used to manage and control multiple functions and systems within the vehicle, such as the audio system, navigation system, and air conditioning system. The central CDC allows drivers to more conveniently control various systems within the vehicle, improving driving safety and comfort. Typically, it consists of a central display screen and several control buttons or knobs. The driver can use it to control various systems. The central CDC responds to and sends headlight setting signals; the vehicle status acquisition module collects and transmits vehicle status signals; the headlight coordination module sends headlight on / off requests to the right headlight control module and receives right headlight status feedback from the right headlight control module; it also sends headlight on / off requests to the left headlight control module, and after determining the headlight delay duration, the left headlight control module controls the left headlight to turn on with a delayed delay based on the left headlight delay duration; the left headlight control module controls the left headlight's on / off status, and the right headlight control module controls the right headlight's on / off status.

[0094] Embodiments of this application also provide an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the vehicle light control method provided in the above embodiments.

[0095] Figure 7 This is a schematic diagram illustrating the structure of a computer system for an electronic device, as shown in an exemplary embodiment of this application. It should be noted that... Figure 7 The computer system 700 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0096] like Figure 7 As shown, the computer system 700 includes a Central Processing Unit (CPU) 701, which can perform various appropriate actions and processes based on a program stored in a Read-Only Memory (ROM) 702 or a program loaded from storage into Random Access Memory (RAM) 703, such as performing the methods described in the above embodiments. The RAM 703 also stores various programs and data required for system operation. The CPU 701, ROM 702, and RAM 703 are interconnected via a bus. An Input / Output (I / O) interface 705 is also connected to the bus 704.

[0097] The following components are connected to I / O interface 705: an input section 706 including a keyboard, mouse, etc.; an output section 707 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section performs communication processing via a network such as the Internet. A drive is also connected to I / O interface 705 as needed. A removable medium 711, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 710 as needed so that computer programs read from it can be installed into storage section 708 as needed.

[0098] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 709, and / or installed from removable medium 711. When the computer program is executed by central processing unit (CPU) 701, it performs various functions defined in the system of this application.

[0099] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0100] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0101] In the corresponding figures of the above embodiments, connecting lines can represent the connection relationship between various components, indicating more constitutive signal paths and / or one or more ends of some lines having arrows to indicate the main information flow direction. Connecting lines are an identifier and are not a limitation on the scheme itself, but rather the use of these lines in combination with one or more exemplary embodiments helps to more easily connect circuits or logic units. Any signal represented (determined by design requirements or preferences) can actually include one or more signals that can be transmitted in any direction and can be implemented in any suitable type of signal scheme.

[0102] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.

[0103] Another aspect of this application provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the method described above. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not assembled into the electronic device.

[0104] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0105] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the method according to the embodiments of this application.

[0106] It should be noted that this application can be used in a wide range of general-purpose or special-purpose computing system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc.

[0107] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.

[0108] It should be understood that the above content is only a preferred exemplary embodiment of this application and is not intended to limit the implementation of this application. Those skilled in the art can easily make corresponding modifications or alterations based on the main concept and spirit of this application. Therefore, the scope of protection of this application should be the scope of protection claimed in the claims.

Claims

1. A vehicle headlight control method, characterized in that, The vehicle light control method includes: Receives a message indicating that the vehicle lights are on; Monitor the on / off status of the vehicle's lights; If the vehicle-side light switch is in the "on" state, the operating state of the light assembly is determined. The light assembly includes a power supply device, a light bulb, a control module, and related light assembly circuits. If the lamp assembly is in normal operating status, then send the vehicle light turn-on message to the first control module; The first control module controls the first vehicle light to turn on, and based on the vehicle light turn-on message, triggers the first control module to send a vehicle light turn-on message to the second control module to control the second control module to turn on the second vehicle light. The first control module is used to control the opening and closing of the first vehicle light. If the existence status of the headlight delay duration is not present, when the second headlight is successfully turned on, the second control module is controlled to send a message to the first control module that the second headlight has been turned on. The headlight turn-on delay duration is determined based on the sending and receiving times, and the vehicle lights are controlled according to this delay duration. The sending time is when the first control module sends the headlight turn-on message to the second control module, and the receiving time is when the first control module receives the second control module's feedback message that the second headlight turn-on is complete. The actual delay duration is obtained according to the preset detection cycle. The actual delay duration is the delay duration determined by the actual sending time and the actual receiving time after each headlight turn-on message is received after the headlight turn-on delay duration exists. The difference between the actual delay duration and the light-on delay duration is determined. If the difference is greater than a preset delay correction threshold, the light-on delay duration is corrected based on the actual delay duration. The preset delay correction threshold is determined based on the human eye's observation frequency range.

2. The vehicle light control method according to claim 1, characterized in that, After receiving the headlights-on message, the headlight control method further includes: If the lamp group is in an abnormal operating state, the current vehicle-side light-on operation will be terminated, and an abnormal lamp group status message will be generated based on the abnormal lamp group operating state to provide feedback on the abnormal lamp group operating state.

3. The vehicle light control method according to claim 1, characterized in that, The timeout for turning on the lights, determined based on the sending and receiving times, includes: The time interval from the sending time to the receiving time is determined as the headlight delay duration, and the headlight delay duration is stored in a preset vehicle information storage area to control the headlights according to the headlight delay duration.

4. The vehicle light control method according to claim 3, characterized in that, Controlling the vehicle lights based on the aforementioned headlight delay duration includes: Upon receiving a new headlight activation message, the first headlight is activated after a delay period controlled by the first control module. Furthermore, based on the new headlight turn-on message, the first control module sends a new headlight turn-on message to the second control module to control the second control module to turn on the second headlight.

5. The vehicle light control method according to claim 3, characterized in that, Controlling the vehicle lights based on the aforementioned headlight delay duration includes: Upon receiving a message indicating that the vehicle lights are off, the first control module controls the first vehicle lights to turn off after a delay period of time. Additionally, based on the headlights-off message, the first control module sends a headlights-off message to the second control module to control the second control module to turn off the second headlights.

6. The vehicle lighting control method according to any one of claims 1-5, characterized in that, After receiving the headlights-on message, the headlight control method further includes: Based on the headlight activation message, the first control module is controlled to activate the first headlight and monitor the activation status of the first headlight. The first control module sends a headlight-on message to the second control module, controls the second control module to turn on the second headlight, and listens to the status of the second headlight. Based on the first and second headlight on states, headlight on state display information is generated and sent to the display terminal to show the headlight on state.

7. The vehicle light control method according to any one of claims 1-5, characterized in that, After controlling the second control module to turn on the second vehicle light, the vehicle light control method further includes: If the existence status of the headlight delay duration is not present, when the second headlight is abnormally turned on, a second headlight turning-on abnormal message is sent to the first control module. The first control module is triggered to terminate the current headlight delay duration determination operation based on the second headlight activation error message.

8. A vehicle lighting control device, characterized in that, The vehicle lighting control device includes: The first control module is used to receive a headlight activation message; monitor the activation status of the vehicle-side light switch; if the vehicle-side light switch is activated, determine the operating status of the headlight assembly, which includes a power-on device, a bulb, a control module, and related headlight circuitry; if the headlight assembly is operating normally, send the headlight activation message to the first control module; the first control module controls the first headlight to activate, and based on the activation message, sends a headlight activation message to the second control module to control the second control module to activate the second headlight; determines a headlight activation delay duration based on the sending and receiving times, and controls the headlights according to the headlight activation delay duration. The time is the moment when the headlight turn-on message is sent to the second control module, and the receiving time is the moment when the second control module sends a feedback message that the second headlights have turned on. Additionally, the actual delay duration is obtained according to a preset detection period. The actual delay duration is the delay duration determined based on the actual sending time and the actual receiving time after each headlight turn-on message is received following the existence of the headlight turn-on delay duration. The difference between the actual delay duration and the headlight turn-on delay duration is determined. If the difference is greater than a preset delay correction threshold, the headlight turn-on delay duration is corrected based on the actual delay duration. The preset delay correction threshold is determined based on the human eye's observation frequency range. The second control module is used to send a message to the first control module that the second headlight is turned on successfully if the headlight delay time is not present.

9. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the vehicle lighting control method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, It stores computer-readable instructions that, when executed by the computer's processor, cause the computer to perform the vehicle light control method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Vehicle lamp control method, system and device and computer readable medium

    CN114771398A

  • Vehicle lamp control device

    JP2013006580A

  • Multi channel transmission system being capable of transmitting at the same period and method therefor

    KR101038505B1