Lamp control method and system, controller and vehicle

By using synchronous control signals in the vehicle lighting control system to achieve synchronized lighting effects, the problem of asynchrony caused by independent operation of the lights is solved, improving the synchronization and visual effect of the lighting effects and enhancing the user experience.

CN121842891APending Publication Date: 2026-04-10YINWANG INTELLIGENT TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
YINWANG INTELLIGENT TECHNOLOGIES CO LTD
Filing Date
2026-01-28
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

The independent operation of each lamp in the vehicle lighting control system leads to asynchronous lighting effects, affecting the overall visual effect and user experience.

Method used

The main controller sends a synchronization control signal to the lighting controller, which then performs synchronized lighting effect control based on the synchronization control signal. This includes correcting the lighting effect running time and lighting effect parameters to achieve unified and coordinated lighting effects.

Benefits of technology

It improves the synchronization and visual coordination of the lighting system, thus enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121842891A_ABST
    Figure CN121842891A_ABST
Patent Text Reader

Abstract

The invention provides a lamp control method and system, a controller and a vehicle, and relates to the technical field of lamp control, the method can be applied to lamp controllers in a lamp control system, and the lamp control system can comprise a main controller and a plurality of lamp controllers. The method comprises the following steps: receiving a synchronous control signal periodically sent by a main controller; and performing lamp effect control on the lamp based on the received synchronous control signal. According to the technical scheme, the lamp effect synchronism of the lighting system can be improved, and then the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of lamp control, and in particular to a lamp control method, system, controller and vehicle. BACKGROUND

[0002] With the continuous improvement of vehicle intelligence and individualization needs, the vehicle lighting system has gradually evolved from traditional functional lighting into a comprehensive system integrating safety warning, human-computer interaction and intelligent experience. In modern vehicles, not only are there basic lamps such as headlamps and turn signals, but also a variety of new lamps such as ambient lights, welcome lights and dynamic waterfalls are introduced to enhance visual recognition and cabin emotional experience.

[0003] However, the significant increase in the number of lamps and the increasing diversification of functions have also raised higher requirements for the vehicle lamp control system. How to control the lamps to improve user experience has become a key technical problem to be solved in the field. SUMMARY

[0004] The present application provides a lamp control method, system, controller and vehicle for improving the synchronization of the light effect of the lighting system and thus improving the user experience.

[0005] In a first aspect, a lamp control method is provided, which is applied to a lamp controller in a lamp control system, the lamp control system comprising a master controller and a plurality of lamp controllers.

[0006] The method can include receiving a synchronization control signal periodically sent by the master controller, and controlling the light effect of the lamp based on the received synchronization control signal.

[0007] Based on the above scheme, each lamp controller can control the light effect of the lamp based on the synchronization control signal sent by the master controller. Thus, the lamps controlled by the lamp controllers can work cooperatively under the unified control of the synchronization control signal, achieve a high degree of consistency in the rhythm of the light effect, and thus significantly improve the synchronization of the light effect and the visual coordination of the entire lighting system, and further improve the user experience.

[0008] In a possible implementation form of the first aspect, the synchronization control signal carries synchronization information, and the synchronization information indicates a synchronization light effect running time. The above-mentioned controlling the light effect of the lamp based on the received synchronization control signal can include controlling the light effect of the lamp based on the recorded local light effect running time and the synchronization light effect running time.

[0009] In the above embodiment, the synchronization control signal sent by the master controller to each lamp controller carries synchronization information, which indicates the synchronization lamp effect running time. Thus, each lamp controller can determine whether the lamp effect of the lamp is synchronized based on the relationship between the synchronization lamp effect running time and the locally recorded local lamp effect running time after receiving the synchronization control signal, and then perform lamp effect synchronization control accordingly. Thus, under the same synchronization reference, the lamps controlled by each lamp controller can achieve overall lamp effect synchronization.

[0010] In a possible implementation of the first aspect, the lamp effect of the lamp is corrected in a case where the time difference between the local lamp effect running time and the synchronization lamp effect running time is greater than or equal to the first time length.

[0011] Based on the above embodiment, the lamp effect adjustment frequency can be reduced, thereby reducing the case that frequent fine adjustment causes lamp effect jitter, and saving computing power and power consumption.

[0012] In a possible implementation of the first aspect, the lamp effect of the lamp includes a plurality of lamp effect segments; and the lamp effect control of the lamp based on the recorded local lamp effect running time and the synchronization lamp effect running time can include: in a case where the time difference between the local lamp effect running time and the synchronization lamp effect running time is greater than or equal to the first time length and less than the second time length, correcting the local lamp effect running time and the lamp effect of the lamp after the current lamp effect segment is executed; and in a case where the time difference is greater than or equal to the second time length, correcting the local lamp effect running time to the synchronization lamp effect running time and correcting the lamp effect of the lamp.

[0013] In the above embodiment, when the synchronization deviation is small, the correction is performed after the current lamp effect segment is executed, which can improve the fluency of lamp effect display; when the synchronization deviation is large, the lamp effect is corrected immediately, which can quickly restore the system lamp effect consistency and prevent the problem that the visual effect of the overall lamp effect is poor due to too large lamp effect rhythm difference; thus, the visual experience of the user can be better improved.

[0014] In a possible implementation of the first aspect, after the current lamp effect segment is executed, the local lamp effect running time is corrected to a target lamp effect running time, and the lamp effect of the lamp is corrected to the lamp effect corresponding to the target lamp effect running time; and the target lamp effect running time is the synchronization lamp effect running time corresponding to the execution of the current lamp effect segment.

[0015] In the above embodiment, the lamp effect correction method is simple and fast, which can save computing power and improve the lamp effect synchronization speed.

[0016] In a possible implementation of the first aspect, in a case where the time difference is greater than or equal to the second time length, the lamp effect of the lamp is corrected at a target lamp effect change rate, and the target lamp effect change rate is greater than the original lamp effect change rate of the lamp effect.

[0017] Based on the above embodiment, on the one hand, the light effect of the lamp can be quickly corrected to the target light effect state, so that the overall light effect rhythm is consistent; on the other hand, the lamp can be smoothly corrected to the target light effect state, so that the visual effect can be improved.

[0018] In a possible implementation of the first aspect, the light effect of the lamp is corrected according to the target light effect change rate, including at least one of the following: the brightness of the lamp is corrected according to the target brightness change rate; the color of the lamp is corrected according to the target color change rate; the light effect lighting position of the lamp is corrected according to the target position change rate.

[0019] Based on the above embodiment, it can be better applied to various light effect scenes, so that the application range can be improved.

[0020] In a possible implementation of the first aspect, the target light effect change rate is positively correlated with the time difference.

[0021] Based on the above embodiment, when the time difference is large, a faster target light effect change rate can be used, and when the time difference is small, a slower target light effect change rate can be used, so that the light effect synchronization speed and the visual smoothness during light effect correction can be better balanced, thereby helping to improve the visual experience of the user.

[0022] In a possible implementation of the first aspect, the synchronization control signal carries light effect control parameters of a light effect segment to be displayed by the lamp; the light effect segment is obtained by splitting the light effect of the lamp according to the synchronization period corresponding to the synchronization control signal. The above light effect control of the lamp based on the received synchronization control signal can include: controlling the lamp to display the corresponding light effect segment based on the received light effect control parameters of the lamp.

[0023] Based on the above embodiment, the lamp controller can receive the synchronization control signal in each synchronization period, and control the lamp to display the corresponding light effect segment according to the light effect control parameters carried in the signal, and so on, so that after a plurality of synchronization periods, the complete light effect display can be realized. In addition, in this embodiment, the master controller uniformly issues the light effect control parameters of the light effect segment to be displayed by each lamp in each synchronization period, and each lamp controller controls the lamp to display the light effect segment in the synchronization period based on the light effect control parameters, so that each lamp can realize the synchronization display of the light effect in each synchronization period, thereby realizing the overall light effect synchronization.

[0024] In a possible implementation of the first aspect, the synchronization control signal further includes light effect control parameters of a light effect segment to be displayed by other target lamps, and the target lamps include lamps controlled by other lamp controllers.

[0025] Based on the above embodiments, various bus type networks such as LIN, CAN, etc. can be better adapted, and thus the adaptability can be improved.

[0026] In a possible implementation of the first aspect, the light fixture controllers are connected in the same network segment. In this way, the time delay consistency between the light fixture controllers and the master controller when communicating can be improved, and thus the synchronization effect can be improved.

[0027] In a possible implementation of the first aspect, the light effect control parameter comprises at least one of the following: a brightness control parameter, a color control parameter, and a light effect lighting position control parameter.

[0028] Based on the above embodiments, various light effect scenes can be better adapted, and thus the applicable range can be improved.

[0029] In a second aspect, a light fixture control system is provided, which comprises a master controller and a plurality of light fixture controllers. The master controller is configured to periodically send a synchronization control signal to the plurality of light fixture controllers. The light fixture controllers are configured to perform light effect control on the light fixtures based on the received synchronization control signal.

[0030] In a possible implementation of the second aspect, the synchronization control signal carries synchronization information, and the synchronization information indicates a synchronization light effect running time. The light fixture controllers are specifically configured to perform light effect control on the light fixtures based on the recorded local light effect running time and the synchronization light effect running time.

[0031] In a possible implementation of the second aspect, the light effect of the light fixture comprises a plurality of light effect segments. The light fixture controllers are specifically configured to, in a case where a time difference between the local light effect running time and the synchronization light effect running time is greater than or equal to a first time length and less than a second time length, correct the local light effect running time and the light effect of the light fixture after a current light effect segment is executed; and in a case where the time difference is greater than or equal to the second time length, correct the local light effect running time to the synchronization light effect running time and correct the light effect of the light fixture.

[0032] In a possible implementation of the second aspect, the light fixture controllers are specifically configured to, in a case where the time difference is greater than or equal to the second time length, correct the light effect of the light fixture according to a target light effect change rate, the target light effect change rate being greater than an original light effect change rate of the light effect. The correction of the light effect of the light fixture according to the target light effect change rate comprises at least one of the following: correction of a brightness of the light fixture according to a target brightness change rate; correction of a color of the light fixture according to a target color change rate; and correction of a light effect lighting position of the light fixture according to a target position change rate.

[0033] In a possible implementation of the second aspect, for any lamp controller, the lamp controller carries, in the corresponding synchronization control signal, lamp effect control parameters of a lamp effect segment to be displayed by a lamp controlled by the lamp controller; the lamp effect segment is obtained by splitting the lamp effect of the lamp according to the corresponding synchronization period of the synchronization control signal. The lamp controller is specifically configured to control the lamp to display the corresponding lamp effect segment based on the received lamp effect control parameters.

[0034] In a possible implementation of the second aspect, the synchronization control signal comprises lamp effect control parameters of a plurality of lamp effect segments to be displayed by a plurality of lamps controlled by a plurality of lamp controllers.

[0035] In a third aspect, a controller is provided, comprising a memory and a processor, the memory is configured to store a program; the processor is configured to execute the method in the first aspect or any implementation of the first aspect when the program is invoked.

[0036] In a fourth aspect, a vehicle is provided, comprising a plurality of lamps and the lamp control system in the second aspect or any implementation of the second aspect.

[0037] In a fifth aspect, a readable storage medium is provided, the readable storage medium stores a program, and the program is executed by a processor to implement the method in the first aspect or any implementation of the first aspect.

[0038] In a sixth aspect, a program product is provided, when the program product is run on a device, the device is caused to execute the method in the first aspect or any implementation of the first aspect.

[0039] In a seventh aspect, a chip system is provided, comprising a processor, the processor is coupled with a memory, and the processor executes a program stored in the memory to implement the method in the first aspect or any implementation of the first aspect. The chip system can be a single chip, or a chip module composed of a plurality of chips.

[0040] It can be understood that the beneficial effects of the second aspect to the seventh aspect can be referred to the related description in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0041] Figure 1 A system architecture schematic diagram of the lamp control system provided by the embodiments of the present application;

[0042] Figure 2 A flowchart of the lamp control method provided by the embodiments of the present application; Figure 3 Another flowchart of the lamp control method provided by the embodiments of the present application; Figure 4A lamp brightness correction schematic diagram provided by an embodiment of the present application; Figure 5 A lamp color correction schematic diagram provided by an embodiment of the present application; Figure 6 A lamp effect lighting position correction schematic diagram provided by an embodiment of the present application; Figure 7 Another flowchart of a lamp control method provided by an embodiment of the present application; Figure 8 A structure schematic diagram of a lamp control device provided by an embodiment of the present application; Figure 9 A structure schematic diagram of a vehicle provided by an embodiment of the present application. DETAILED DESCRIPTION

[0043] The embodiments of the present application will be described in detail below with reference to the drawings of the embodiments of the present application. The terms used in the implementation manner part of the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described in some embodiments.

[0044] At present, the lamps in the vehicle generally adopt a distributed light architecture, that is, each lamp is controlled by its corresponding lamp controller. With the increasing number of vehicle lamps, the functions of the light system are also increasingly rich. In many scenarios, multiple lamps often need to work together to achieve more complex combined light effects. However, due to the characteristics of independent operation of each lamp controller in the distributed lamp architecture, the lamps are prone to out-of-sync light effects, thereby affecting the visual effect of the overall light effect and further affecting the user experience.

[0045] Based on this, the embodiments of the present application provide a lamp control method to improve the light effect synchronization of the distributed light system and further improve the user experience.

[0046] The lamp control method provided by the embodiments of the present application can be applied to a vehicle or a smart home system, etc. For ease of description, the embodiments of the present application mainly take a vehicle as an example for illustrative description. The vehicle is a general concept of a vehicle, which can be a vehicle (such as a commercial vehicle, a passenger vehicle, a motorcycle, a train, an airplane, or a ship, etc.), an industrial vehicle (such as a forklift, a trailer, a tractor, etc.), an engineering vehicle (such as an excavator, a bulldozer, a crane, etc.), an agricultural device (such as a mower, a harvester, etc.), a recreational device, a toy vehicle, etc. In some optional embodiments, the vehicle can be a pure electric vehicle, a hybrid electric vehicle, a range-extended electric vehicle, or a fuel vehicle, etc. The embodiments of the present application do not specifically limit the type of vehicle.

[0047] First, the lamp control system to which the lamp control method of the embodiments of the present application is applied will be described.

[0048] Figure 1 The system architecture diagram of the lamp control system provided by the embodiments of the present application is shown in FIG. 1. As shown in FIG. 1, the lamp control system can include a master controller 100 and a plurality of lamp controllers 200. In a distributed lighting architecture, the master controller 100 can also be referred to as a master node, and the lamp controllers 200 can also be referred to as slave nodes. Figure 1

[0049] The master controller 100 can be a vehicle domain controller (VDC), a body domain controller (BDC), or a lamp domain controller, etc.

[0050] The lamp controller 200 can be an electronic control unit (ECU) for controlling a lamp, which can communicate with the master controller 100 and can execute a lamp effect algorithm to control the lamp to display a corresponding lamp effect. Each lamp controller 200 can control one or more lamps. It can be understood that the lamp effect control logic of each lamp is similar, and for ease of description, the embodiments of the present application will be described mainly by taking an example of each lamp controller 200 controlling one lamp.

[0051] The above-mentioned lamps can include, but are not limited to, headlamps, turn signals, brake lights, backup lights, through-type tail lights, ambient lights, welcome lights, instrument panel backlights, etc.

[0052] The master controller 100 and each lamp controller 200 can communicate through one or more networks inside the vehicle, which can include a controller area network (CAN), a local interconnect network (LIN), an ethernet, a FlexRay, etc.

[0053] The master controller 100 can issue a control signal to the lamp controller 200, and the lamp controller 200 can control the working state of the lamp according to the control signal issued by the master controller 100.

[0054] The control signal can include, but is not limited to, a start signal, a stop signal, a lamp effect control signal, etc. The start signal can be used to control the lamp to turn on; the stop signal can be used to control the lamp to turn off; the lamp effect control signal can carry a lamp effect control parameter, and the lamp controller 200 can control the lamp to display a corresponding lamp effect according to the lamp effect control parameter. ​

[0055] The light effect of the lamp can include static light effect and dynamic light effect. In the static light effect, the color and brightness of the lamp are constant. In the dynamic light effect, the color, brightness and / or light effect lighting position of the lamp are variable; the dynamic light effect can include but is not limited to breathing light effect, gradient light effect, flowing water light effect, and multi-dimensional light effect including brightness, color and / or position change.

[0056] In some examples, the lamp can display a fixed light effect. Alternatively, the light effect parameters of the light effect can be adjustable, such as the breathing period, minimum brightness, maximum brightness, breathing speed (i.e. brightness change rate) of the breathing light effect, etc. The main controller 100 can control the light effect of the lamp by carrying the light effect control parameters in the light effect control signal. Alternatively, the light effect parameters of the light effect can also be non-adjustable, and the main controller 100 can send a start signal to the lamp controller 200, and the lamp controller 200 controls the lamp to display the fixed light effect after receiving the start signal.

[0057] In some examples, the lamp can display multiple light effects, and the main controller 100 can control the light effect of the lamp through the light effect control signal. For example, the light effect control signal can indicate the light effect mode (such as breathing light effect or gradient light effect) and other light effect control parameters related to the light effect mode; the lamp controller 200 can control the lamp to display the corresponding light effect according to the light effect control parameters.

[0058] When a combination light effect needs to be implemented, the main controller 100 can send control signals to the lamp controllers 200 corresponding to the multiple lamps implementing the combination light effect, to control each lamp to display the corresponding light effect. For example, in a certain scene, the tail light needs to display the flowing water light effect, and the atmosphere lamp needs to display the breathing light effect to implement the combination light effect, and the main controller 100 can send control signals to the lamp controllers 200 corresponding to the tail light and the atmosphere lamp respectively, to control the tail light and the atmosphere lamp to display the corresponding light effect respectively.

[0059] In order to improve the synchronization of the light effects of the lamps, in the embodiment, the main controller 100 can send a synchronization control signal to the lamp controller 200, and the lamp controller 200 can control the lamp based on the synchronization control signal to realize the overall light effect synchronization of the distributed light system. The synchronization control process is described in detail below.

[0060] Figure 2 A flowchart of the lamp control method provided by the embodiment of the application is shown in FIG. 1, which can include the following steps: Figure 2 S110, the main controller periodically sends a synchronization control signal to the multiple lamp controllers.

[0061] ​S120, the lamp controller controls the lamp effect of the lamp based on the received synchronization control signal.

[0062] As described above, for the scene requiring multiple lamps to cooperatively implement a combined lamp effect, the master controller can send a synchronization control signal to the lamp controller corresponding to each lamp implementing the combined lamp effect. It can be understood that the processing of each lamp controller is similar, Figure 2 The lamp controller shown in FIG. 1 can be any lamp controller. For brevity, one lamp controller is exemplarily illustrated in the figure.

[0063] The sending period of the synchronization control signal is the synchronization period for lamp effect synchronization. The period can be set according to the required synchronization accuracy, for example, it can be 50 milliseconds (ms), 100 ms, 150 ms, etc. The specific length of the synchronization period is not particularly limited in the embodiments of the present application. For ease of description, the embodiments of the present application will be exemplarily described mainly by taking 50 ms as an example hereinafter.

[0064] Each lamp controller can control the lamp effect of the lamp based on the synchronization control signal sent by the master controller. Thus, the lamps controlled by each lamp controller can work cooperatively under the unified control of the synchronization control signal, achieve high consistency of the lamp effect rhythm, and significantly improve the lamp effect synchronization and visual coordination of the entire lighting system.

[0065] Optionally, the lamp effect synchronization can be performed by at least the following two implementation manners, which will be introduced as follows: Implementation manner 1 Referring to Figure 3 Another flowchart of the lamp control method provided by the embodiments of the present application is shown in FIG. 2. In this embodiment, the lamp control method can include the following steps: Figure 3 S210, the master controller periodically sends a synchronization control signal to the lamp controller, and the synchronization control signal carries synchronization information for indicating a synchronization lamp effect running time TS.

[0066] The synchronization control signal can be sent to the lamp controller through a synchronization (synchronization, SYNC) message, wherein the synchronization information of the synchronization control signal can be carried in a predefined field in the SYNC message.

[0067] The synchronization lamp effect running time TS is the lamp effect running time recorded on the master controller side. The master controller can indicate the time through the synchronization information in the synchronization control signal.

[0068] ​As an optional implementation, the synchronization information is the lamp effect running time, for example, the synchronization information is 100 ms, and the value is the synchronization lamp effect running time TS.

[0069] As another optional implementation, the synchronization information can be a synchronization count value, and the synchronization lamp effect running time TS can be obtained by multiplying the synchronization count value by a synchronization period; for example, the synchronization period is 50 ms, and the synchronization count value is 2, indicating that the synchronization lamp effect running time TS is 100 ms.

[0070] In some embodiments, the main controller can synchronously send the synchronization control signal to each lamp controller, for example, the main controller can send the synchronization control signal to each lamp controller in parallel through Ethernet. The synchronization information carried in the synchronization control signal corresponding to each lamp controller can be the same.

[0071] In the first implementation, the main controller can first send a lamp effect control signal to each lamp controller, and the lamp effect control signal carries the lamp effect control parameter corresponding to the lamp effect to be displayed by the lamp; then, the main controller can send a start signal to each lamp controller, and each lamp controller can control the lamp to display the corresponding lamp effect based on the lamp effect control parameter in the received lamp effect control signal after receiving the start signal; after sending the start signal, the main controller can send a synchronization control signal to each lamp controller every 50 ms. Correspondingly, the synchronization lamp effect running time TS indicated by the first synchronization control signal can be 50 ms, and the synchronization lamp effect running time TS indicated by the second synchronization control signal can be 100 ms.

[0072] In the second implementation, the main controller can not send a start signal after sending the lamp effect control signal to each lamp controller, but directly send a synchronization control signal. In some examples, the lamp effect control signal can function as the start signal, that is, each lamp controller starts the lamp after receiving the lamp effect control signal, and controls the lamp to display the corresponding lamp effect based on the lamp effect control parameter in the received lamp effect control signal; similar to the first implementation described above, the synchronization control signal can be sent every 50 ms after sending the lamp effect control signal, and the synchronization lamp effect running time TS indicated by the first synchronization control signal can be 50 ms. In other examples, the first synchronization control signal can function as the start signal, and correspondingly, the synchronization lamp effect running time TS indicated by the first synchronization control signal can be 0 ms, and the synchronization lamp effect running time TS indicated by the second synchronization control signal can be 50 ms.

[0073] In the third implementation, the master controller can also not send the light effect control signal and the start signal, but directly send the synchronization control signal, at this time, the light effect control parameter can be carried in the first synchronization control signal, which can simultaneously play the role of the light effect control signal and the start signal; similar to the second implementation, the synchronization light effect running time TS indicated by the first synchronization control signal can be 0 ms, and the synchronization light effect running time TS indicated by the second synchronization control signal can be 50 ms.

[0074] For the above-mentioned first and second implementations, the synchronization control signals sent by the master controller to each lamp controller can be completely the same, in this case, the master controller can also broadcast the synchronization control signal to each lamp controller through the LIN network, the CAN network or the FlexRay network.

[0075] In some embodiments, the master controller can send the synchronization control signals to each lamp controller in sequence, for example, the master controller can send the synchronization control signals to each lamp controller in sequence through the Ethernet network, the LIN network, the CAN network or the FlexRay network.

[0076] The synchronization information carried in the synchronization control signal corresponding to each lamp controller can be different. For example, the master controller can send the first synchronization control signal to the lamp controller 1 at the 50th ms after the lamp starts, and the synchronization information carried in the signal indicates that the synchronization light effect running time TS is 50 ms; then send the second synchronization control signal to the lamp controller 1 at the 100th ms, and the synchronization information carried in the signal indicates that the synchronization light effect running time TS is 100 ms. The master controller can send the first synchronization control signal to the lamp controller 2 at the 60th ms after the lamp starts, and the synchronization information carried in the signal indicates that the synchronization light effect running time TS is 60 ms; then send the second synchronization control signal to the lamp controller 2 at the 110th ms, and the synchronization information carried in the signal indicates that the synchronization light effect running time TS is 110 ms.

[0077] Alternatively, similar to the above-mentioned first implementation, the master controller can first send the light effect control signal and the start signal to each lamp controller respectively, and then send the synchronization control signal to each lamp controller in sequence. Also similar to the above-mentioned second implementation, the master controller can first send the light effect control signal to each lamp controller, which simultaneously plays the role of the start signal; and then send the synchronization control signal to each lamp controller in sequence.

[0078] It can be understood that the above is an example of a combination light effect scene in which multiple lamps are started simultaneously. In some combination light effect scenes, multiple lamps can be started in sequence. In such a scenario, the synchronization light effect running time TS indicated by the synchronization control signal sent by the master controller to the lamp controller can be determined based on the starting time of the corresponding lamp. For example, after the lamp controller 1 controls the lamp 1 to start, after 1s, the lamp controller 2 controls the lamp 2 to start. The synchronization control signal sent by the master controller to the lamp controller 1 indicates the synchronization light effect running time TS, which is determined based on the starting time of the lamp 1. The synchronization control signal sent by the master controller to the lamp controller 2 indicates the synchronization light effect running time TS, which is determined based on the starting time of the lamp 2. If the two synchronization control signals are sent in parallel, the synchronization light effect running time TS indicated by the two synchronization control signals differs by 1s.

[0079] For ease of understanding, the following examples are used in the subsequent embodiments: multiple lamps are started simultaneously, the master controller sends synchronization control signals to each lamp controller in parallel, and the synchronization light effect running time TS indicated by the first synchronization control signal is 50ms.

[0080] S220, after the lamp controller receives the synchronization control signal, the lamp effect of the lamp is controlled based on the recorded local light effect running time TL and the synchronization light effect running time TS.

[0081] The lamp controller can record the light effect running time based on the local clock after the lamp is started. This time is the local light effect running time TL.

[0082] After the lamp controller receives the synchronization control signal, it can parse the synchronization information therein to obtain the synchronization light effect running time TS; then it can compare the local light effect running time TL with the synchronization light effect running time TS, and based on the comparison result, it can control the lamp effect of the lamp.

[0083] In some embodiments, the lamp controller can correct the lamp effect of the lamp if the local light effect running time TL and the synchronization light effect running time TS are inconsistent.

[0084] In some embodiments, the lamp controller can correct the lamp effect of the lamp if the time difference ΔT between the local light effect running time TL and the synchronization light effect running time TS is greater than or equal to the first time length T1; if the time difference ΔT between the local light effect running time TL and the synchronization light effect running time TS is less than the first time length T1, the lamp effect of the lamp can not be corrected, and the lamp can continue to display the light effect according to the local light effect running time TL. This can reduce the frequency of light effect adjustment, thereby reducing the situation of light effect jitter caused by frequent fine tuning, and can save computing power and power consumption.

[0085] The first time length T1 is less than the synchronization period. Optionally, the first time length T1 can be less than half of the synchronization period, for example, 10 ms, 15 ms, etc. The specific size can be set as needed, and the present embodiment does not make special limitations thereto.

[0086] As an optional implementation manner, the luminaire controller can immediately correct the light effect of the luminaire when ΔT>T1, so as to quickly restore the system light effect consistency.

[0087] As another optional implementation manner, the light effect of the luminaire can include multiple light effect segments, and the luminaire controller can correct the local light effect running time TL and the light effect of the luminaire after the current light effect segment is executed, so as to improve the fluency of light effect display, and further improve the visual experience of the user.

[0088] When multiple luminaires implement a combined light effect, the light effect of each luminaire is usually a dynamic light effect. When the luminaire controller controls the luminaire to display the dynamic light effect, the luminaire controller can split the light effect of one complete period into multiple light effect segments, and control the luminaire to display each light effect segment in turn. In this way, the luminaire controller can determine the display data of one light effect segment at a time for storage, without real-time calculation, thereby saving computing power, reducing power consumption, and also saving storage resources.

[0089] In some embodiments, more time difference intervals can be set to achieve more precise light effect correction. Optionally, a second time length T2 greater than the first time length T1 can be set. Referring to Figure 3 , the luminaire controller can determine the time difference ΔT between the local light effect running time TL and the synchronization light effect running time TS (step S221, ΔT=|TL-TS|); in the case of T1≤ΔT

[0090] In the above light effect correction manner, when the synchronization deviation is small, waiting for the current light effect segment to be executed before correction can improve the fluency of light effect display; when the synchronization deviation is large, immediately correcting the light effect can quickly restore the system light effect consistency, preventing the problem that the visual effect of the overall light effect is poor due to too large light effect rhythm difference; thereby, the visual experience of the user can be better improved.

[0091] In the above step S222, the second time length T2 is less than the synchronization period. Optionally, the second time length T1 can be greater than half of the synchronization period, for example, 30 ms, 35 ms, etc. The specific size can be set as needed, and the present embodiment does not make special limitations thereto.

[0092] The splitting manner of the light effect segment can include but is not limited to the following: Firstly, the light effect can be uniformly split into multiple light effect segments according to the light effect period. The light effect can be split into a fixed number of light effect segments, for example, the breathing light effect can be split into 40 light effect segments; or the light effect can be split into multiple light effect segments according to a fixed segment duration, for example, the duration of each light effect segment is 50 ms; or the light effect can be split according to the computing power of the luminaire controller, for example, if the computing power of the luminaire controller is relatively high, the light effect can be split into a larger number of light effect segments; otherwise, the light effect can be split into a smaller number of light effect segments.

[0093] Secondly, the light effect can be split according to the key nodes of the light effect state change. For example, in the gradient light effect, the light effect changes between multiple colors, and each color segment can be regarded as a light effect segment.

[0094] Thirdly, the light effect can be split according to the control granularity of the luminaire. For example, in the flowing water light effect, a group of light beads is lit each time, and the flowing water light effect can be split into multiple position segments according to the light group lit each time, and the position segment is the light effect segment.

[0095] In the case of T1≤ΔT<T2, the luminaire controller can correct the local light effect running time TL to the target light effect running time (i.e. the synchronous light effect running time corresponding to the execution of the current light effect segment) after the execution of the current light effect segment is completed, and correct the light effect of the luminaire to the light effect corresponding to the target light effect running time.

[0096] For example, T1 is 10 ms, T2 is 30 ms, the local light effect running time TL is 480 ms, the synchronous light effect running time TS is 500 ms, and correspondingly, ΔT is 20 ms, which is greater than T1 and less than T2; it is assumed that 20 ms is required to execute the current light effect segment; at the time when the current light effect segment is executed, the target light effect running time is 520 ms (i.e. TS+20 ms); at this time, the luminaire controller can correct the local light effect running time TL to 520 ms, and correct the light effect of the luminaire to the light effect at 520 ms.

[0097] It can be understood that the local light effect running time TL can be less than the synchronous light effect running time TS, or greater than the synchronous light effect running time TS. The above is an example of TL<TS, and the light effect correction manner corresponding to TL>TS is similar to the case of TL<TS, which will not be described here.

[0098] The lamp controller can also correct the light effect in other manners after the current light effect segment is executed, for example, the lamp controller can update the light effect change rate of the next light effect segment based on the time difference ΔT and the time length t of the light effect segment, correct the light effect of the lamp based on the light effect change rate, and make the lamp display the next light effect segment within the time length t-ΔT.

[0099] In the step S223, when the lamp controller corrects the light effect in the case of ΔT>T2, as an optional implementation manner, the lamp controller can correct the local light effect running time TL to the synchronous light effect running time TS, and correct the light effect of the lamp to the light effect corresponding to the synchronous light effect running time TS. For example, the local light effect running time TL is 510 ms, the synchronous light effect running time TS is 550 ms, and the time difference ΔT is 40 ms, which is greater than 30 ms (T2); the lamp controller can correct the local light effect running time TL to 550 ms, and correct the light effect of the lamp to the light effect at 550 ms.

[0100] As another optional implementation manner, the lamp controller can correct the light effect of the lamp according to a target light effect change rate, which is greater than the original light effect change rate of the light effect. In this way, on the one hand, the light effect of the lamp can be quickly corrected to the target light effect state, so that the overall light effect is consistent; on the other hand, the lamp can be smoothly corrected to the target light effect state, improving the visual effect.

[0101] The light effect change parameter can include one or more of brightness, color, and position, and correspondingly, the lamp controller can perform at least one of the following operations when correcting the light effect of the lamp according to the target light effect change rate: correcting the brightness of the lamp according to a target brightness change rate; correcting the color of the lamp according to a target color change rate; and correcting the light effect lighting position of the lamp according to a target position change rate.

[0102] The target light effect change rate can be designed according to human factor experiments, specific application scenarios, etc., and the value can be a preset fixed value or determined according to the time difference. Specifically, the target light effect change rate can be positively correlated with the time difference ΔT, that is, when ΔT is large, a faster target light effect change rate can be used, and when ΔT is small, a slower target light effect change rate can be used, which can better balance the light effect synchronization speed and the visual smoothness during light effect correction, thereby helping to improve the visual experience of the user.

[0103] As an optional implementation manner, a corresponding relationship between a target lamp effect change rate and a time difference AT can be determined in advance, and the target lamp effect change rate corresponding to the current time difference is determined according to the corresponding relationship. After the target lamp effect change rate is determined, the local lamp effect running time TL and the synchronous lamp effect running time TS can be combined to calculate the corresponding synchronous lamp effect running time TS (denoted as TS') when the lamp effect correction is completed, and then TL can be updated to TS' after the lamp effect correction is completed at the rate.

[0104] As another optional implementation manner, the target lamp effect change rate can also be calculated according to the time difference AT. Optionally, the correction duration can be determined first, and then the target lamp effect change rate is calculated according to the correction duration, the local lamp effect running time TL and the synchronous lamp effect running time TS. For example, TL is 510 ms, TS is 550 ms, and the correction duration is 20 ms, that is, the lamp effect correction is completed within 20 ms; at the end of the 20 ms, TS corresponds to 570 ms, that is, the lamp is corrected from the lamp effect of 510 ms to the lamp effect of 570 ms within the correction duration of 20 ms; correspondingly, the lamp effect change amount (such as the brightness change amount) from 510 ms to 570 ms can be determined, and the target lamp effect change rate is obtained by dividing the lamp effect change amount by 20 ms. The correction duration can be a fixed value, or different values corresponding to different situations, for example, the correction duration when TS>TL can be greater than the correction duration when TS< TL.

[0105] When the lamp controller corrects the lamp effect of the lamp based on the target lamp effect change rate, the lamp effect can be corrected in a uniform speed mode or in a variable speed mode, that is, the target lamp effect change rate can be a constant value (uniform speed mode) or can vary with time (variable speed mode). The above is described by taking the constant value of the target lamp effect change rate as an example. In the variable speed mode, the target lamp effect change rate can include two or more sub-rates with different values, and the target lamp effect change rate can be determined in a manner similar to the above. For ease of description, the uniform speed mode is taken as an example in the following embodiment.

[0106] The lamp effect correction process is exemplarily described below in combination with some lamp effect scenes.

[0107] Breathing lamp effect Referring to Figure 4 In a complete breathing cycle, the brightness of the lamp gradually changes from the minimum brightness to the maximum brightness, and then gradually changes from the maximum brightness to the minimum brightness. The brightness of the lamp can be indicated by a brightness percentage, the minimum brightness can be 0% or 10%, and the maximum brightness can be 90% or 100%, and here the minimum brightness is taken as 0%. The maximum brightness is taken as 100% for exemplarily description.

[0108] like Figure 4 As shown in (a), the synchronization control signal is sent every 50ms. Continuing with the previous example, T1 is 10ms, T2 is 30ms, TL is 480ms, TS is 500ms, then ΔT is 20ms, and T1 < ΔT < T2. Assume the current brightness of the lamp is brightness b11, and the target brightness of the current lighting effect segment (i.e., the brightness when the current lighting effect segment is completed) is brightness b12. It will take another 20ms to complete the current lighting effect segment (i.e., change from brightness b11 to brightness b12). When the current lighting effect segment is completed, the target lighting effect running time is 520ms, and the brightness corresponding to the breathing lighting effect at 520ms is brightness b13. At this time, the lamp controller can correct TL to 520ms and correct the brightness of the lamp to brightness b13.

[0109] like Figure 4 As shown in (b), assuming TL is 510ms and TS is 550ms, then ΔT is 40ms, and ΔT > T2. The lighting controller can correct TL to TS. For example, the correction time for the lighting effect is 20ms, and TS corresponds to 570ms at the end of the correction. That is, within the 20ms correction time, the lighting controller corrects the brightness of the lighting fixture from 510ms (brightness b21) to 570ms (brightness b22). Assuming that the brightness change of the breathing lighting effect is 60% within the time period from 510ms to 570ms, the target brightness change rate is 30% / 10ms. That is, the lighting controller can correct the brightness of the lighting fixture from b21 to b22 at a brightness change rate of 30% / 10ms.

[0110] It is understood that the above are merely examples and are not intended to limit this application. For instance, other methods described above can also be used to determine the target brightness change rate and then adjust the lighting effect accordingly. The various parameter values ​​described above are also just examples and are not intended to limit this application. This embodiment does not impose any particular limitations on these parameters, and subsequent examples are similar.

[0111] Gradient lighting effect See Figure 5 For example, in a complete gradient cycle, the color of the lamp gradually changes from the starting color, through the intermediate color, to the target color, and then back to the starting color. Here, we take an example where the color change sequence corresponding to the entire gradient cycle includes four colors. The lamp can sequentially change from the first color to the second color, from the second color to the third color, from the third color to the fourth color, and then back to the first color. Different shades of gray are used to represent these four gradient processes in the diagram.

[0112] Continuing with the example above, such as Figure 5As shown in (a), T1 is 10ms, T2 is 30ms, TL is 480ms, TS is 500ms, then ΔT is 20ms, and T1 < ΔT < T2. Assume the current color of the lamp is c11, and the target color of the current lighting effect segment is c12. It will take another 20ms to complete the current lighting effect segment (i.e., change from c11 to c12). When the current lighting effect segment is completed, the target lighting effect's running time is 520ms, and the color corresponding to this gradient lighting effect at 520ms is c13. At this point, the lamp controller can correct TL to 520ms and change the lamp's color to c13.

[0113] like Figure 5 As shown in (b), assuming TL is 510ms and TS is 550ms, then ΔT is 40ms, and ΔT > T2. The lighting controller can correct TL to TS. For example, the correction duration is 20ms, and TS corresponds to 570ms at the end of the correction. That is, within the 20ms correction duration, the lighting controller corrects the color of the lighting fixture from color c21 at 510ms to color c22 at 570ms. The lighting controller can determine the target color change rate based on color c21 and color c22, and then correct the lighting fixture from color c21 to color c22 according to the color change rate. The color change rate can be indicated by an interpolation function, that is, the lighting controller can use interpolation based on the interpolation function to correct the lighting fixture from color c21 to color c22.

[0114] Flowing light effect The lighting parameters for a flowing light effect can include the flow direction, light spot width, and flow speed. The flow direction can be unidirectional or bidirectional; that is, a flowing light effect can include unidirectional and bidirectional flowing light. Unidirectional flowing light means the light effect moves from one end of the luminaire (specifically, the light strip) to the other, and can be left-flowing light (the light effect moves from right to left), right-flowing light (the light effect moves from left to right), etc. Bidirectional flowing light can mean the light effect moves from the middle of the light strip to both ends, or from both ends of the light strip to the middle.

[0115] The width of the light spot in a flowing light effect indicates the number of LEDs lit each time, which can be 1, 2, 3, etc. The flowing speed of the light effect indicates the speed at which the light spot moves, for example, 40ms / step, 50ms / step, etc.; the step size can be 1, that is, one LED moves in each step. Taking a light spot width of 2 as an example, the first step can light up LEDs 1 to 2, the second step can light up LEDs 2 to 3, and so on.

[0116] See Figure 6Taking the right-hand flow as an example, in a complete flow cycle, the lights are lit sequentially from the left end to the right end. For example, one LED is lit at a time (represented by a circle in the figure), and each LED is lit for 50ms (the length of the elliptical dashed box in the figure indicates the lighting duration).

[0117] Continuing with the example above, such as Figure 6 As shown in (a), T1 is 10ms, T2 is 30ms, TL is 480ms, TS is 500ms, then ΔT is 20ms, and T1 < ΔT < T2. Assume the current lighting effect position is p11. The current lighting effect segment, i.e., the LED at position p11, is lit for 50ms, and it takes another 20ms to complete the current lighting effect segment. When the current lighting effect segment is completed, the target lighting effect running time is 520ms. The lighting position corresponding to this breathing lighting effect at 520ms is p12. At this time, the lighting controller can correct TL to 520ms and light up the LED at position p12.

[0118] like Figure 6 As shown in (b), assuming TL is 510ms and TS is 550ms, then ΔT is 40ms, and ΔT > T2. The lighting controller can correct TL to TS. For example, the correction time is 20ms, and TS corresponds to 570ms at the end of the correction. That is, within the 20ms correction time, the lighting controller corrects the lighting position of the lamp from the lighting position at 510ms (position p21) to the lighting position at 570ms (position p22). Here, positions p21 to p22 correspond to 3 LEDs, so the target position change rate is 20ms / step. That is, the lighting controller can correct the lighting position of the lamp from position p21 to position p22 at a position change rate of 20ms / step.

[0119] The above examples, using brightness, color, and lighting position as examples, illustrate the lighting effect correction process.

[0120] In some examples, the lighting effect can include both brightness and color changes, in which case the above method can be used. Figure 4 and Figure 5 The corresponding lighting effect correction method performs synchronous correction of brightness and color.

[0121] In some examples, the lighting effect can include both brightness and positional changes, in which case the above method can be used. Figure 4 and Figure 6 The corresponding lighting effect correction method performs synchronous correction of brightness and lighting effect illumination position.

[0122] In some examples, lighting effects can include both color and position changes, in which case the above methods can be used. Figure 5 and Figure 6Corresponding light effect correction mode, synchronous correction of color and light effect lighting position.

[0123] In some examples, the light effect can include brightness, color and position changes at the same time, then the above Figure 4~Figure 6 Corresponding light effect correction mode, synchronous correction of brightness, color and light effect lighting position.

[0124] In this scheme, the main controller carries synchronization information in the synchronization control signal sent to each lamp controller, and the synchronization information indicates the synchronization light effect running time TS. In this way, after receiving the synchronization control signal, each lamp controller can determine whether the light effect of the lamp is synchronized based on the relationship between the synchronization light effect running time TS and the locally recorded local light effect running time TL, so as to perform light effect synchronization control accordingly. Thus, under the same synchronization reference, the lamps controlled by each lamp controller can realize overall light effect synchronization.

[0125] Embodiment 2 Referring to Figure 7 Another flowchart of the lamp control method provided by the embodiment of the application is shown in FIG. 6. As shown in FIG. 6, in this embodiment, the lamp control method can include the following steps: Figure 7 S310, the main controller periodically sends a synchronization control signal to the lamp controller, and the synchronization control signal carries the light effect control parameters of the light effect segment to be displayed by the lamp.

[0126] The main controller can split the light effect of each lamp into multiple light effect segments according to the sending period (i.e., the synchronization period) of the synchronization control signal; that is, the time length of each light effect segment is the time length corresponding to the synchronization period, such as 50 ms. Then, in each synchronization period, the main controller can carry the light effect segment to be displayed by each lamp in the synchronization control signal and send it to the corresponding lamp controller.

[0127] The synchronization control signal can be sent to the lamp controller through a synchronization control message, wherein the light effect control parameters can be carried through the data field in the message.

[0128] In some embodiments, the synchronization control signal (i.e., the synchronization control message) sent by the main controller to each lamp controller can be the same, that is, the main controller can send the same synchronization control message to multiple lamp controllers.

[0129] ​The synchronization control packet can carry the lamp effect control parameters of each lamp for implementing the combined lamp effect. In some examples, the synchronization control packet can indicate which lamp / lamp controller the lamp effect control parameter corresponds to by identifying the lamp effect control parameter. In some examples, the correspondence between the parameter field in the synchronization control packet and the lamp / lamp controller can be predefined, and the lamp effect control parameter in a certain parameter field can be indicated to correspond to which lamp / lamp controller through the correspondence.

[0130] The main controller can broadcast the synchronization control signal to each lamp controller through Ethernet, LIN network, CAN network, or FlexRay network.

[0131] In some embodiments, the synchronization control signal (i.e., synchronization control packet) sent by the main controller to each lamp controller can be different, wherein each lamp controller can carry the lamp effect control parameters of the lamps controlled by the lamp controller in the corresponding synchronization control signal, and not carry the lamp effect control parameters of the lamps controlled by other lamp controllers.

[0132] In each synchronization period, the main controller can send the synchronization control signal to each lamp controller in parallel. For example, the main controller can send the corresponding synchronization control signal to each lamp controller through Ethernet.

[0133] The network in the vehicle can be divided into multiple network segments, for example, the network can be divided into multiple network segments using a domain centralized architecture; wherein each functional domain can correspond to one or more network segments. For example, the functional domain can include a vehicle body domain, a chassis domain, a power domain, a cabin domain, a lamp domain, etc.

[0134] Optionally, each lamp controller can be connected in the same network segment, which can improve the time delay consistency when each lamp controller communicates with the main controller, thereby helping to improve the synchronization effect.

[0135] The lamp effect control parameters of the lamp effect segment can include at least one of the following: brightness control parameters, color control parameters, lamp effect lighting position control parameters.

[0136] For example, the lamp effect control parameters corresponding to the lamp effect segment of the breathing lamp effect can include brightness control parameters to control the brightness of the lamp, for example, the brightness control parameters can include the minimum brightness, maximum brightness, brightness change rate, etc. of the lamp effect segment. Optionally, the lamp effect control parameters corresponding to the lamp effect segment of the breathing lamp effect can also include color control parameters to control the color displayed by the lamp, such as yellow.

[0137] The light effect control parameter corresponding to the light effect segment of the gradient light effect can comprise color control parameters, such as a starting color, an ending color, a color change rate, and the like. Alternatively, the light effect control parameter corresponding to the light effect segment of the gradient light effect can also comprise brightness control parameters, such as a starting brightness, an ending brightness, and the like.

[0138] The light effect control parameter corresponding to the light effect segment of the flowing water light effect can comprise a light effect lighting position control parameter, which can indicate the light bead position information of the light effect segment. For example, the light effect lighting position control parameter can comprise a flowing direction, a light spot width, a flowing water speed, a starting lighting position, and the like. Alternatively, the light effect control parameter corresponding to the light effect segment of the flowing water light effect can also comprise brightness control parameters and / or color control parameters to indicate the lighting brightness and / or color of the light beads.

[0139] It can be understood that the light effect control parameter can also comprise other parameters, such as a light effect mode, a segment identifier, and the like, which are not particularly limited in the embodiment.

[0140] S320, the lamp controller controls the lamp to display the corresponding light effect segment based on the received light effect control parameter.

[0141] After receiving the synchronization control message sent by the master controller, the lamp controller can parse the synchronization control signal therein and extract the light effect control parameter of the lamp.

[0142] As described above, in some embodiments, the synchronization control messages received by each lamp controller can be the same, in which case, the lamp controller can obtain the light effect control parameter of the controlled lamp through the aforementioned identifier corresponding to the light effect control parameter or the pre-defined parameter field. In some embodiments, the synchronization control messages corresponding to each lamp controller are different, and each lamp controller receives a message carrying only the light effect control parameter of the lamp controlled by the lamp controller, in which case, the lamp controller can directly extract the light effect control parameter in the message.

[0143] After obtaining the light effect control parameter, the lamp controller can control the lamp to display the corresponding light effect segment according to the light effect control parameter.

[0144] The lamp controller controls the lamp to display the corresponding light effect segment according to the light effect control parameter in the message every time a frame of synchronization control message is received, and the cycle is repeated, so that the complete light effect display can be realized after multiple synchronization periods. In addition, the master controller uniformly issues the light effect control parameter of the light effect segment to be displayed by each lamp in each synchronization period, and each lamp controller controls the lamp to display the light effect segment in the synchronization period based on the light effect control parameter, so that each lamp can realize the synchronous display of the light effect in each synchronization period, thereby realizing the overall light effect synchronization.

[0145] The following will illustrate the light effect segment in combination with some light effect scenes.

[0146] Breathing light effect The main controller can split the breathing light effect into multiple light effect segments according to the synchronization period. For example, the multiple light effect segments can include: segment 1, the brightness increases from 0% to 50%; segment 2, the brightness increases from 50% to 100%; segment 3, the brightness decreases from 100% to 50%; and segment 4, the brightness decreases from 50% to 0%.

[0147] The main controller can issue the light effect control parameters of segment 1 to the lamp controller in the first synchronization period, and the lamp controller controls the brightness of the lamp to increase from 0% to 50% according to the parameters. The main controller can issue the light effect control parameters of segment 2 to the lamp controller in the second synchronization period, and the lamp controller controls the brightness of the lamp to increase from 50% to 100% according to the parameters. In this way, after four synchronization periods, the lamp can display a complete breathing light effect.

[0148] Gradient light effect The main controller can split the gradient light effect into multiple light effect segments according to the synchronization period. For example, the multiple light effect segments can include: segment 1, the color gradually changes from red to orange; segment 2, the color gradually changes from orange to yellow; segment 3, the color gradually changes from yellow to green; segment 4, the color gradually changes from green to blue; segment 5, the color gradually changes from blue to indigo; segment 6, the color gradually changes from indigo to purple; and segment 7, the color gradually changes from purple to red.

[0149] The main controller can issue the light effect control parameters of segment 1 to the lamp controller in the first synchronization period, and the lamp controller controls the color of the lamp to gradually change from red to orange by interpolation. The main controller can issue the light effect control parameters of segment 2 to the lamp controller in the second synchronization period, and the lamp controller controls the color of the lamp to gradually change from orange to yellow by interpolation. In this way, after seven synchronization periods, the lamp can display a complete gradient light effect.

[0150] Waterfall light effect The main controller can split the waterfall light effect into multiple light effect segments according to the synchronization period. For example, the multiple light effect segments can include: segment 1, the lamp beads at position 1 are lit; segment 2, the lamp beads at position 2 are lit; segment 3, the lamp beads at position 3 are lit; and segment 4, the lamp beads at position 4 are lit.

[0151] The master controller can send the light effect control parameters of segment 1 to the lamp controller in the first synchronization period, and the lamp controller lights the lamp beads at position 1 according to the parameters. The master controller can send the light effect control parameters of segment 2 to the lamp controller in the second synchronization period, and the lamp controller lights the lamp beads at position 2 according to the parameters. In this way, after four synchronization periods, the lamp can display a complete water flow light effect.

[0152] In some examples, the light effect can include brightness and color changes at the same time, and each light effect segment can include the above-mentioned brightness and color control parameters at the same time. The lamp controller can control the brightness and color of the lamp synchronously according to the parameters.

[0153] In some examples, the light effect can include brightness and position changes at the same time, and each light effect segment can include the above-mentioned brightness and position control parameters at the same time. The lamp controller can control the brightness and light effect lighting position of the lamp synchronously according to the parameters.

[0154] In some examples, the light effect can include brightness, color and position changes at the same time, and each light effect segment can include the above-mentioned brightness, color and position control parameters at the same time. The lamp controller can control the brightness, color and light effect lighting position of the lamp synchronously according to the parameters.

[0155] For example, the lamp 1 controlled by the lamp controller 1 displays the above-mentioned breathing light effect, and the lamp 2 controlled by the lamp controller 2 displays the above-mentioned water flow light effect. In the first synchronization period, the master controller can send segment 1 of the above-mentioned breathing light effect to the lamp controller 1 and segment 1 of the above-mentioned water flow light effect to the lamp controller 2. Correspondingly, the lamp controller 1 controls the lamp 1 to display segment 1 of the breathing light effect, and the lamp controller 2 controls the lamp 2 to display segment 1 of the water flow light effect. In the second synchronization period, the master controller can send segment 2 of the above-mentioned breathing light effect to the lamp controller 1 and segment 2 of the above-mentioned water flow light effect to the lamp controller 2. Correspondingly, the lamp controller 1 controls the lamp 1 to display segment 2 of the breathing light effect, and the lamp controller 2 controls the lamp 2 to display segment 2 of the water flow light effect. The subsequent synchronization periods are similar. In this way, the lamp 1 and the lamp 2 can display the light effect segment of each synchronization period in each synchronization period, thereby realizing the synchronization of the overall light effect.

[0156] Those skilled in the art can understand that the above embodiments are exemplary and are not intended to limit the present application. Those skilled in the art can select and combine any of the above steps as needed, and any deviation from the spirit of the present application falls within the scope of the present application.

[0157] The lamp control method provided in the embodiments of the present application is described above. In each of the embodiments of the present application, the terms and / or descriptions of each of the embodiments are consistent and can be referred to each other if there is no special description and logical conflict. The technical features in different embodiments can be combined to form a new embodiment according to their inherent logical relationship.

[0158] The above describes the lamp control method provided in the embodiments of the present application. In each of the embodiments of the present application, the terms and / or descriptions of each of the embodiments are consistent and can be referred to each other if there is no special description and logical conflict. The technical features in different embodiments can be combined to form a new embodiment according to their inherent logical relationship. Figure 8 The device provided in the embodiments of the present application is described in detail. It should be understood that the description of the device embodiments corresponds to the description of the method embodiments. For the convenience of reading, the details of the foregoing method embodiments are not described one by one in the device embodiments. However, it should be clear that the device in the embodiments can correspondingly implement all the contents in the foregoing method embodiments.

[0159] Figure 8 The structure diagram of the lamp control device provided in the embodiments of the present application is shown. The device can be a lamp controller or a component in the lamp controller, and is used to implement the method involved in the foregoing method embodiments.

[0160] As shown in the figure, the device can include a communication module 110 and a control module 120. Figure 8

[0161] The communication module 110 is configured to receive the synchronization control signal periodically sent by the master controller; and the control module 120 is configured to perform lamp effect control on the lamp based on the received synchronization control signal.

[0162] In a possible implementation, the synchronization control signal carries synchronization information, and the synchronization information indicates a synchronization lamp effect running time; and the control module 120 is specifically configured to perform lamp effect control on the lamp based on the recorded local lamp effect running time and the synchronization lamp effect running time.

[0163] In a possible implementation, the time difference between the local lamp effect running time and the synchronization lamp effect running time is greater than or equal to a first time length, and the lamp effect of the lamp is corrected.

[0164] In a possible implementation, the lamp effect of the lamp includes a plurality of lamp effect segments; and the control module 120 is specifically configured to, in a case where the time difference between the local lamp effect running time and the synchronization lamp effect running time is greater than or equal to a first time length and less than a second time length, correct the local lamp effect running time and the lamp effect of the lamp after the current lamp effect segment is executed; and in a case where the time difference is greater than or equal to the second time length, correct the local lamp effect running time to the synchronization lamp effect running time and correct the lamp effect of the lamp.

[0165] ​In a possible implementation, the control module 120 is specifically configured to: after the current light effect segment is executed, correct the local light effect running time to the target light effect running time, and correct the light effect of the luminaire to the light effect corresponding to the target light effect running time; the target light effect running time is the synchronous light effect running time corresponding to the time when the current light effect segment is executed.

[0166] In a possible implementation, the control module 120 is specifically configured to: in the case that the time difference is greater than or equal to the second time length, correct the light effect of the luminaire according to the target light effect change rate, and the target light effect change rate is greater than the original light effect change rate of the light effect.

[0167] In a possible implementation, the correction of the light effect of the luminaire according to the target light effect change rate comprises at least one of the following: correcting the brightness of the luminaire according to a target brightness change rate; correcting the color of the luminaire according to a target color change rate; correcting the light effect lighting position of the luminaire according to a target position change rate.

[0168] In a possible implementation, the target light effect change rate is positively correlated with the time difference.

[0169] In a possible implementation, the synchronization control signal carries light effect control parameters of a light effect segment to be displayed by the luminaire; the light effect segment is obtained by splitting the light effect of the luminaire according to a synchronization period corresponding to the synchronization control signal.

[0170] The control module 120 is specifically configured to: based on the received light effect control parameters of the luminaire, control the luminaire to display the corresponding light effect segment.

[0171] In a possible implementation, the synchronization control signal further comprises light effect control parameters of a light effect segment to be displayed by other target luminaires, and the target luminaires comprise luminaires controlled by other luminaire controllers.

[0172] In a possible implementation, the luminaire controllers are connected to the same network segment.

[0173] In a possible implementation, the light effect control parameters comprise at least one of the following: a brightness control parameter, a color control parameter, and a light effect lighting position control parameter.

[0174] Further, the apparatus can further comprise a storage module, configured to store instructions executed by the communication module 110 and the control module 120.

[0175] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional units and modules is exemplified, and in actual application, the above functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The functional characteristics of the integrated unit can be realized in the form of hardware, software or a combination of hardware and software. In addition, the specific name of each functional unit and module is only for easy distinction, and does not limit the protection scope of the present application. The specific working process of the unit and module in the system can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

[0176] The embodiment of the present application also provides a vehicle, as shown in the figure, which can include a plurality of lamps and the lamp control system described in the above embodiment. Figure 9

[0177] The embodiment of the present application also provides a controller, which can include a memory and a processor, the memory is used to store a computer program; the processor is used to execute the corresponding method of the lamp controller or the main controller when the computer program is called.

[0178] The embodiment of the present application also provides a readable storage medium (also can be called computer readable storage medium), which stores a program, and the program is executed by a processor to realize the method described in the above method embodiment.

[0179] The embodiment of the present application also provides a program product (also can be called computer program product), when the program product runs on a device, so that the device executes to realize the method described in the above method embodiment.

[0180] The embodiment of the present application also provides a chip system, which includes a processor, the processor is coupled with a memory, and the processor executes the program stored in the memory to realize the method described in the above method embodiment. Wherein, the chip system can be a single chip, or a chip module composed of multiple chips.

[0181] ​In the embodiments described above, each processing step or functional feature can be implemented wholly or partially by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a program product entirely or partially. The program product includes one or more instructions. When the instructions are loaded and executed on a device, the processes or functions described in the embodiments of the present application are entirely or partially generated. The instructions can be stored in a readable storage medium or transmitted by the readable storage medium.

[0182] The naming or numbering of the steps in the present application does not mean that the steps in the method flow must be executed in the time / logical order indicated by the naming or numbering. The flow steps that have been named or numbered can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.

[0183] In the above-described embodiments, the description of each embodiment has its own focus, and the parts not described or recorded in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0184] In the embodiments provided in the present application, it should be understood that the disclosed apparatus / device and method can be implemented by other means. For example, the apparatus / device embodiments described above are only schematic, for example, the division of the modules or units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be omitted or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed ones can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0185] It should be understood that in the description of the present application and the appended claims, the terms "comprise", "include", "have" and any variations thereof are intended to cover non-exclusive inclusion, and mean "including but not limited to", unless otherwise specifically emphasized. For example, a process, method, system, product or device that includes a series of steps or modules does not necessarily limit to those clearly listed steps or modules, but can include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices.

[0186] In the description of the present application, unless otherwise specified, " / " means that the objects before and after the correlation are in an "or" relationship, for example, A / B can mean A or B; "and / or" in the present application is used to describe the correlation of the associated objects, which means that there can be three kinds of relationships, for example, A and / or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural.

[0187] And, in the description of the present application, unless otherwise specified, "multiple" means two or more than two. "At least one of the following" or similar expressions means any combination of the items, including any combination of single or multiple items. For example, at least one of a, b, or c can mean a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple.

[0188] As used in the description of the present application and the appended claims, the term "if" can be interpreted as "when" or "upon" or "in response to a determination" or "in response to detecting" depending on the context. Similarly, the phrase "if it is determined" or "if [a described condition or event] is detected" can be interpreted as meaning "upon determining" or "in response to determining" or "upon detecting [the described condition or event]" or "in response to detecting [the described condition or event]" depending on the context.

[0189] In addition, in the description of the present application and the appended claims, the terms "first", "second", and the like are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein; features limited by "first", "second" can explicitly or implicitly include at least one of the features.

[0190] In the embodiments of the present application, the words "exemplarily" or "for example" and the like are used to mean as an example, illustration or description. Any embodiment or design scheme described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the use of "exemplarily" or "for example" and the like is intended to present the relevant concept in a specific manner.

[0191] Reference throughout this application to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "in a various embodiment" or "in some embodiment" or "in other embodiments" in various places throughout this specification are not necessarily all referring to the same embodiment, but can refer to one or more of the same or different embodiments.

[0192] Finally, it should be noted that the above-described embodiments are merely intended for describing and illustrating, not limiting, the technical solutions of the present application; even though the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still make modifications to the technical solutions recorded in the foregoing embodiments, or make equivalent replacements to some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A luminaire control method, characterized by, A lamp controller applied to a lamp control system, the lamp control system comprising a master controller and a plurality of the lamp controllers, the method comprising: receiving a synchronization control signal periodically sent by the master controller; controlling a lamp effect of a lamp based on the received synchronization control signal.

2. The method of claim 1, wherein, The synchronization control signal carries synchronization information, and the synchronization information indicates a synchronization lamp effect running time; controlling the lamp effect of the lamp based on the received synchronization control signal, comprising: controlling the lamp effect of the lamp based on the recorded local lamp effect running time and the synchronization lamp effect running time.

3. The method of claim 2, wherein, In a case where a time difference between the local lamp effect running time and the synchronization lamp effect running time is greater than or equal to a first time length, correcting the lamp effect of the lamp.

4. The method of claim 3, wherein, The lamp effect of the lamp comprises a plurality of lamp effect segments. The controlling the lamp effect of the lamp based on the recorded local lamp effect running time and the synchronization lamp effect running time, comprising: In a case where the time difference between the local lamp effect running time and the synchronization lamp effect running time is greater than or equal to a first time length and less than a second time length, correcting the local lamp effect running time and the lamp effect of the lamp after a current lamp effect segment is executed. In a case where the time difference is greater than or equal to the second time length, correcting the local lamp effect running time to the synchronization lamp effect running time and correcting the lamp effect of the lamp.

5. The method of claim 4, wherein, After the current lamp effect segment is executed, correcting the local lamp effect running time to a target lamp effect running time and correcting the lamp effect of the lamp to a lamp effect corresponding to the target lamp effect running time. The target lamp effect running time is a synchronization lamp effect running time corresponding to the execution of the current lamp effect segment.

6. The method according to claim 4 or 5, characterized in that, In a case where the time difference is greater than or equal to the second time length, correcting the lamp effect of the lamp at a target lamp effect change rate, the target lamp effect change rate being greater than an original lamp effect change rate of the lamp effect.

7. The method of claim 6, wherein, The correcting the lamp effect of the lamp at the target lamp effect change rate, comprising at least one of the following: correcting a brightness of the lamp at a target brightness change rate; correcting a color of the lamp at a target color change rate; correcting a light effect lighting position of the lamp at a target position change rate.

8. The method according to claim 6 or 7, characterized in that, The target lamp effect change rate is positively correlated with the time difference.

9. The method of claim 1, wherein, The synchronization control signal carries lamp effect control parameters of a lamp effect segment to be displayed by the lamp; the lamp effect segment is obtained by splitting the lamp effect of the lamp according to a synchronization period corresponding to the synchronization control signal; controlling the lamp effect of the lamp based on the received synchronization control signal, comprising: controlling the lamp to display a corresponding lamp effect segment based on the received lamp effect control parameters of the lamp.

10. The method of claim 9, wherein, The synchronization control signal further comprises lamp effect control parameters of a lamp effect segment to be displayed by other target lamps, and the target lamps comprise lamps controlled by other lamp controllers.

11. The method according to claim 9 or 10, characterized in that, Each of the lamp controllers is connected to a same network segment.

12. The method according to any one of claims 9-11, characterized in that, The lamp effect control parameters comprise at least one of the following: brightness control parameters, color control parameters, and light effect lighting position control parameters.

13. A luminaire control system characterized by, comprising a master controller and a plurality of lamp controllers; the master controller is configured to periodically send a synchronization control signal to the plurality of lamp controllers; The lamp controller is configured to control the lamp effect of the lamp based on the received synchronization control signal.

14. The system of claim 13, wherein, The synchronization control signal carries synchronization information, and the synchronization information indicates a synchronization lamp effect running time. The lamp controller is specifically configured to control the lamp effect of the lamp based on the recorded local lamp effect running time and the synchronization lamp effect running time.

15. The system of claim 14, wherein, The lamp effect of the lamp comprises a plurality of lamp effect segments. The lamp controller is specifically configured to, in a case where a time difference between the local lamp effect running time and the synchronization lamp effect running time is greater than or equal to a first time length and less than a second time length, correct the local lamp effect running time and the lamp effect of the lamp after a current lamp effect segment is executed. In a case where the time difference is greater than or equal to the second time length, the local lamp effect running time is corrected to the synchronization lamp effect running time, and the lamp effect of the lamp is corrected.

16. The system of claim 15, wherein, The lamp controller is specifically configured to, in a case where the time difference is greater than or equal to the second time length, correct the lamp effect of the lamp at a target lamp effect change rate, the target lamp effect change rate being greater than an original lamp effect change rate of the lamp effect. The correction of the lamp effect of the lamp at the target lamp effect change rate comprises at least one of the following: Correction of the brightness of the lamp at a target brightness change rate; Correction of the color of the lamp at a target color change rate; Correction of the light-up position of the lamp effect of the lamp at a target position change rate.

17. The system of claim 13, wherein, For any lamp controller, the synchronization control signal corresponding to the lamp controller carries lamp effect control parameters of a lamp effect segment to be displayed by a lamp controlled by the lamp controller, and the lamp effect segment is obtained by splitting the lamp effect of the lamp according to a synchronization period corresponding to the synchronization control signal. The lamp controller is specifically configured to control the lamp to display the corresponding lamp effect segment based on the received lamp effect control parameters of the lamp.

18. The system of claim 17, wherein, The synchronization control signal comprises lamp effect control parameters of a plurality of lamp effect segments to be displayed by a plurality of lamps controlled by the plurality of lamp controllers.

19. A controller characterized by, It comprises: a memory and a processor, the memory being configured to store a computer program, and the processor being configured to execute the computer program to perform the method of any one of claims 1-12.

20. A vehicle characterized by comprising: It comprises: a plurality of lamps and the lamp control system of any one of claims 13-18.

21. A readable storage medium, having a program stored thereon, characterized in that, The program is executed by the processor to implement the method of any one of claims 1-12.

22. A program product, characterized by When the program product is run on the device, the device is caused to perform the method of any one of claims 1-12.

23. A chip system, characterized by The chip system comprises a processor coupled with a memory, and the processor executes a program stored in the memory to implement the method of any one of claims 1-12. The chip system comprises a processor coupled with a memory, and the processor executes a program stored in the memory to implement the method of any one of claims 1-12.