Interactive vehicle lighting system, vehicle and control method
By using the combination of CAN network and UDS communication protocol in the interactive car lighting system, and using the data block check and flow control frame message mechanism, the problem of high network load and system complexity when transmitting large amounts of data is solved, and low cost is achieved. Cost-effective data transmission for mid- to low-cost system applications.
Patent Information
- Application Number
- CN202211468579.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-22
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-11-22
AI Technical Summary
When transmitting a large amount of data, the existing interactive car lighting system has a high network load, high system complexity and high cost, making it difficult to transmit data quickly, especially in low- and medium-cost system application scenarios.
Using the CAN network combined with the continuous frame mechanism of the Unified Diagnostic Service (UDS) communication protocol, the reliability and efficiency of data transmission are ensured through the verification of data blocks and the flow control frame message mechanism, and the system complexity and cost are reduced.
It realizes the rapid transmission of large amounts of data with high network capacity, low cost and low load, ensuring the reliability and flexibility of car light display, and is suitable for medium and low-cost system applications.
Smart Images

Figure CN115742946B
Abstract
Description
Technical Field
[0001] The present application relates to the field of electrical technology, and in particular to an interactive vehicle light system, a vehicle and a control method. Background Art
[0002] As LED (Light-Emitting Diode) control technology matures, designers are increasingly using a large number of LEDs to form an array to create a simple display screen that can be used for both lighting and displaying various patterns to communicate with users or pedestrians. This type of headlight is called an interactive light, and the number of LEDs that make up an interactive light usually ranges from hundreds to millions.
[0003] The vehicle communication network can transmit specific image symbols to the interactive light through the user interface to achieve personalized display requirements. Due to the large number of LEDs, the amount of data required to control the brightness is large, and high-speed communication networks are usually used for transmission.
[0004] Patent CN107071969A mentions a taillight solution that communicates with an upstream controller via CAN (Controller Area Network) or LIN (Local Interconnect Network), and then communicates with a downstream LED driver circuit via an I2C (Inter-Integrated Circuit), SPI (Serial Peripheral Interface) or UART (Universal Asynchronous Receiver / Transmitter) bus. Due to the limitation of upstream and downstream communication rates, this solution can only be applied to headlights with no more than 200 LEDs. Patent CN108340828A also uses a UART bus to communicate with a downstream driver circuit to drive about 96 headlights. Patent CN208665046U uses LVDS to communicate with a downstream driver. Due to the extremely high transmission rate of LVDS, this solution can theoretically control headlights at the million-pixel level, but the LVDS system cost is very high. When facing the scenario of medium and low-cost system application, this solution is not suitable.
[0005] In summary, in the related technology, large amounts of data are usually transmitted on the car using CAN-FD (CAN with Flexible Data rate) network or even LVDS (Low Voltage Differential Signaling) signal communication, using periodic messages for communication, but the node capacity of the CAN-FD network is very limited. When the number exceeds a certain number, the signal will be interfered and affect the communication of nodes within the network, and LVDS transmission requires a dedicated high-end microprocessor, serial deserialization chip and expensive LVDS harness and connector. This greatly increases the system cost, and LVDS is not a network structure. In order to communicate with other nodes, an additional communication network needs to be designed, which increases the complexity of the system. Summary of the invention
[0006] The present application provides an interactive vehicle light system, a vehicle and a control method to solve the problems of high network load, difficulty in quickly transmitting large amounts of data, high system complexity and high costs in conventional communication solutions.
[0007] The first aspect of the present application provides an interactive vehicle light system, comprising: one or more vehicle light components; a data sending end, used to generate brightness data according to the interactive data of the one or more vehicle light components, divide the brightness data into multiple data blocks, attach a check segment to each data block, and continuously transmit the data blocks through a unified diagnostic service (UDS) communication protocol; a data receiving end, used to continuously receive the data blocks, and when the check value of the data block is consistent with the value of the additional check segment, feedback a flow control frame message so that the data sending end continues to transmit the next data block, otherwise, feedback a preset message so that the data sending end retransmits the current data block until all data blocks are transmitted and the brightness data is obtained; a control component, the control component communicates with the data receiving end through a controller area network (CAN) network, and uses the brightness data to control the one or more vehicle light components to display the interactive data.
[0008] According to the above-mentioned technical means, the embodiment of the present application adopts CAN network transmission in hardware, and the application layer protocol of the transmission adopts the continuous frame mechanism of the UDS (Unified Diagnostic Services) communication protocol. The transmission scheme of the CAN network combined with the UDS communication protocol is adopted to achieve high network capacity, low cost, and low load to quickly transmit large amounts of data and realize the display of car lights.
[0009] Optionally, the data sending end is further used to send a diagnosis request message to the data receiving end before continuously transmitting data blocks through the unified diagnostic service UDS communication protocol, and start transmitting data blocks according to the flow control frame message fed back by the data receiving end.
[0010] According to the above technical means, before the data sending end transmits the data block, the embodiment of the present application needs to send a diagnostic request message to the data receiving end, and start transmitting data according to the feedback flow control frame message, thereby ensuring the reliability of data transmission.
[0011] Optionally, the diagnosis request message includes data size, transmission interval, number of consecutive frames and data verification result.
[0012] Optionally, the data receiving end is used to decode the brightness data to obtain a binary data format required for controlling brightness.
[0013] According to the above technical means, the embodiment of the present application can decode the brightness data through the data receiving end to obtain a binary data format to facilitate the subsequent control of the vehicle light assembly.
[0014] Optionally, the data sending end communicates with the data receiving end via a CAN network or a CAN-FD network.
[0015] According to the above technical means, the data sending end and the data receiving end of the embodiment of the present application communicate through a CAN network or a CAN-FD network to meet different transmission requirements.
[0016] Optionally, the vehicle lamp assembly includes a plurality of LED lamps.
[0017] Optionally, the control component includes one or more matrix controllers, wherein each matrix controller is used to light up or turn off one or more LED lights in one or more vehicle lamp assemblies according to the brightness data.
[0018] According to the above technical means, the control component of the embodiment of the present application includes one or more matrix controllers. By dividing the matrix controller, it is convenient to light up or turn off the LED lights in the car light assembly according to the brightness data to achieve different lighting effects.
[0019] Optionally, each LED lamp is assigned an address obtained according to a preset addressing rule, and the matrix controller determines the address of the LED lamp to be lit according to the preset addressing rule and the brightness data, and controls the lighting of the corresponding LED lamp based on the address of the LED lamp to be lit.
[0020] According to the above technical means, the matrix controller of the embodiment of the present application can determine the address of the LED lamp to be lit according to the addressing rules and brightness data, and light up the corresponding LED lamp, thereby realizing the control of the light.
[0021] Optionally, it also includes: a first transceiver, used to forward the data block sent by the data sending end to the data receiving end.
[0022] Optionally, it also includes: a second transceiver, used to forward the brightness data sent by the data receiving end to the control component.
[0023] Optionally, it also includes: a human-machine interface for acquiring interaction data of the one or more vehicle lamp assemblies.
[0024] A second aspect of the present application provides a vehicle, comprising the interactive vehicle lighting system as described in the above embodiment.
[0025] According to a third aspect of the present application, there is provided a control method for an interactive headlight system. The method is applied to a data sending end of the interactive headlight system described in the above-mentioned embodiment, and the method comprises the following steps: obtaining interaction data of one or more headlight components in the interactive headlight system; generating brightness data according to the interaction data, and dividing the brightness data into a plurality of data blocks; and continuously transmitting data blocks to a data receiving end through a unified diagnostic service (UDS) communication protocol, wherein the data receiving end is used to continuously receive the data blocks, and when the check value of the data block is consistent with the value of the additional check segment, the data receiving end feeds back a flow control frame message so that the data sending end continues to transmit the next data block, otherwise, the data sending end feeds back a preset message so that the data sending end retransmits the current data block until all data blocks are transmitted, thereby obtaining the brightness data, and using the brightness data to control the one or more headlight components to display the interaction data.
[0026] A fourth aspect of the present application provides a control method for an interactive vehicle light system, the method being applied to a data receiving end of the interactive vehicle light system described in the above-mentioned embodiment, the method comprising the following steps: continuously receiving data blocks continuously transmitted by a data sending end through a unified diagnostic service (UDS) communication protocol, wherein the data sending end is used to generate brightness data according to the interactive data of the one or more vehicle light components, divide the brightness data into multiple data blocks, and attach a check segment to each data block; check each transmitted data block to obtain a check value, and determine whether the check value is consistent with the value of the check segment attached to the data block; if they are consistent, then feedback a flow control frame message so that the data sending end continues to transmit the next data block, otherwise, feedback a preset message so that the data sending end retransmits the current data block until all data blocks are transmitted, thereby obtaining the brightness data, and sending the brightness data to a control component so as to use the brightness data to control the one or more vehicle light components to display the interactive data.
[0027] The fifth aspect of the present application provides a data sending end, including: an acquisition module, used to acquire interactive data of one or more headlight components in an interactive headlight system; a processing module, used to generate brightness data based on the interactive data, and divide the brightness data into multiple data blocks; a transmission module, used to continuously transmit data blocks to a data receiving end through a unified diagnostic service UDS communication protocol, wherein the data receiving end is used to continuously receive the data blocks, and when the check value of the data block is consistent with the value of the additional check segment, feedback a flow control frame message so that the data sending end continues to transmit the next data block, otherwise, feedback a preset message so that the data sending end retransmits the current data block until all data blocks are transmitted, thereby obtaining the brightness data, and using the brightness data to control the one or more headlight components to display the interactive data.
[0028] In a sixth aspect, the present application provides a data receiving end, comprising: a receiving module, for continuously receiving data blocks continuously transmitted by a data sending end through a unified diagnostic service (UDS) communication protocol, wherein the data sending end is used to generate brightness data based on interactive data of one or more vehicle light components, divide the brightness data into multiple data blocks, and attach a check segment to each data block; a check module, for checking each transmitted data block, obtaining a check value, and determining whether the check value is consistent with the value of the check segment attached to the data block; a feedback module, for feeding back a flow control frame message if they are consistent, so that the data sending end continues to transmit the next data block, otherwise, feeding back a preset message, so that the data sending end retransmits the current data block, until all data blocks are transmitted, the brightness data is obtained, and the brightness data is sent to a control component, so as to use the brightness data to control the one or more vehicle light components to display the interactive data.
[0029] The seventh aspect of the present application provides a computer-readable storage medium on which a computer program is stored. The program is executed by a processor to implement the control method of the interactive vehicle light system as described in the above embodiment.
[0030] Therefore, this application has at least the following beneficial effects:
[0031] (1) The embodiment of the present application adopts CAN network transmission in hardware, and the application layer protocol of the transmission adopts the continuous frame mechanism of the UDS communication protocol. The transmission scheme of the CAN network combined with the UDS communication protocol is adopted to achieve high network capacity, low cost, and low load to quickly transmit a large amount of data and realize the display of the car lights.
[0032] (2) In the embodiment of the present application, before the data sending end transmits the data block, it is necessary to send a diagnostic request message to the data receiving end, and start transmitting data according to the feedback flow control frame message, thereby ensuring the reliability of data transmission.
[0033] (3) The embodiment of the present application can decode the brightness data through the data receiving end to obtain a binary data format to facilitate the subsequent control of the vehicle light assembly.
[0034] (4) In the embodiment of the present application, the data sending end and the data receiving end communicate through a CAN network or a CAN-FD network to meet different transmission requirements.
[0035] (5) The control component of the embodiment of the present application includes one or more matrix controllers. By dividing the matrix controller, it is convenient to light up or turn off the LED lights in the vehicle light assembly according to the brightness data, so as to achieve different lighting effects.
[0036] (6) The matrix controller of the embodiment of the present application can determine the address of the LED lamp to be lit according to the addressing rules and brightness data, and light up the corresponding LED lamp, thereby realizing the control of the light.
[0037] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0039] Figure 1 Schematic diagram of an abstract model of an interactive light system provided for related technologies;
[0040] Figure 2 A block diagram of an interactive vehicle light system provided according to an embodiment of the present application;
[0041] Figure 3 A structural diagram of an interactive vehicle light system provided according to an embodiment of the present application;
[0042] Figure 4 A schematic diagram of the communication process in the interactive vehicle light system provided according to an embodiment of the present application;
[0043] Figure 5 A flowchart of a control method for an interactive vehicle light system provided according to an embodiment of the present application;
[0044] Figure 6 A flowchart of a control method for an interactive vehicle light system provided according to an embodiment of the present application;
[0045] Figure 7 A block diagram of a data sending terminal provided according to an embodiment of the present application;
[0046] Figure 8A block diagram of a data receiving end provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0047] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0048] Related technologies achieve interactive vehicle light control through the following methods, but all of them have certain disadvantages:
[0049] (1) A taillight solution that communicates with an upstream controller via CAN or LIN, and then communicates with a downstream LED driver circuit via I2C, SPI or UART bus. This solution can only be applied to headlights with no more than 200 LEDs due to the limitation of upstream and downstream communication rates.
[0050] (2) The UART bus is used to communicate with the downstream driving circuit to drive about 96 headlights.
[0051] (3) Using LVDS to communicate with the downstream driver. Since the transmission rate of LVDS is extremely high, this solution can theoretically control car lights at the million-pixel level. However, the cost of the LVDS system is very high, and this solution is not suitable for low-cost and medium-cost system applications.
[0052] In the related art, the system can be abstracted into a model diagram such as Figure 1 , that is, the upstream controller, the car light MCU (Microcontroller Unit) and the downstream driver communicate through two communication networks. Generally speaking, it is a common system design to use CAN-FD or CAN communication with the upstream and CAN communication with the downstream, and both use periodic messages for communication.
[0053] In order to display user-defined images in real time on high-pixel headlights, the images need to be quickly transmitted from the screen to the headlights. CAN-FD networks or even LVDS signal communications are usually used to transmit large amounts of data on cars, but the node capacity of the CAN-FD network is very limited. When the number exceeds a certain number, the signal will be interfered with and affect the communication of nodes within the network. LVDS transmission requires dedicated high-end microprocessors, serial deserialization chips, and expensive LVDS harnesses and connectors, which greatly increases the system cost. Moreover, LVDS is not a network structure. In order to communicate with other nodes, an additional communication network needs to be designed. This increases the complexity of the system. The CAN network has a stronger network capacity and a low system cost, which can make up for the shortcomings of the above two networks. However, the transmission capacity of the CAN network is limited, and conventional communication solutions will cause high network load, making it difficult to quickly transmit large amounts of data.
[0054] The interactive vehicle light system, vehicle and control method of the embodiment of the present application are described below with reference to the accompanying drawings. In view of the above-mentioned background technology, specific image symbols can be transmitted to the interactive light through the user interface through the vehicle communication network to achieve personalized display requirements. However, due to the large number of LEDs, the amount of data to control the brightness is very large, and a high-speed communication network is usually used for transmission. At present, conventional communication schemes have high network load, difficulty in quickly transmitting large amounts of data, high system complexity and high cost. The present application provides an interactive vehicle light system, in which a transmission scheme of a CAN network combined with a UDS communication protocol is adopted, that is, CAN network transmission is adopted in hardware, and the application layer protocol of the transmission adopts the continuous frame mechanism of the UDS communication protocol, so as to achieve high network capacity, low cost and low load for rapid transmission of large amounts of data. As a result, the problems of high network load, difficulty in quickly transmitting large amounts of data, high system complexity and high cost in conventional communication schemes are solved.
[0055] Specifically, Figure 2 A block diagram of an interactive vehicle lighting system provided in an embodiment of the present application.
[0056] like Figure 2 As shown, the interactive vehicle light system 10 includes: one or more vehicle light components 11 , a data sending end 12 , a data receiving end 13 and a control component 14 .
[0057] Among them, the data sending end 12 is used to generate brightness data according to the interactive data of one or more vehicle light components, divide the brightness data into multiple data blocks, add a check segment to each data block, and continuously transmit the data blocks through the unified diagnostic service UDS communication protocol; the data receiving end 13 is used to continuously receive data blocks, and when the check value of the data block is consistent with the value of the additional check segment, the flow control frame message is fed back to enable the data sending end to continue to transmit the next data block, otherwise, the preset message is fed back to enable the data sending end to retransmit the current data block until all data blocks are transmitted and the brightness data is obtained; the control component 14 communicates with the data receiving end through the controller area network CAN network, and uses the brightness data to control one or more vehicle light components to display interactive data.
[0058] The data sending end 12 may be an entertainment system, and the data receiving end 13 may be an MCU in the vehicle light. The entertainment system sends data to the MCU, and the MCU receives the data.
[0059] The preset message is used for providing feedback when the check value of a data block is inconsistent with the additional check value, and can be understood as a transmission error message.
[0060] The data transmitter and the data receiver communicate with each other via a CAN network or a CAN-FD network.
[0061] It should be noted that the CAN network has a stronger network capacity and a lower system cost. Although the CAN-FD network sacrifices network capacity, it has a faster transmission rate and can transmit larger amounts of data in a short time, achieving higher pixel-level headlight functions.
[0062] It can be understood that the data sending end 12 can divide the brightness data generated according to the interactive data of the headlight assembly into data blocks, attach a string of check segments to each data block, and continuously transmit the data blocks to the data receiving end 13 through the unified diagnostic service UDS communication protocol. The data receiving end 13 is used to continuously receive data blocks, check the data after receiving each block of data, and compare it with the received check segment. If the check is consistent, the traffic frame message is fed back to allow the data sending end to continue to transmit the next data block. If the check is inconsistent, it means that the transmission may be disturbed and erroneous data has been received, then the preset message is returned to allow the data transmission end to retransmit. The control component 14 communicates with the data receiving end 13 through the controller area network CAN network, and uses the brightness data to control the headlight assembly to display the interactive data.
[0063] It should be noted that the UDS communication protocol allows communication to occur only when data needs to be transmitted, while nodes are usually in a silent state. When data needs to be transmitted, the data sender issues a request instruction and the data receiver responds. Then the data sender continuously sends long data according to the protocol and quickly sends data to the receiver. This communication scheme only generates communication load for an instant, has little impact on regular communication in the network, and can solve various technical problems existing in related technologies.
[0064] In an embodiment of the present application, the data sending end is further used to send a diagnostic request message to the data receiving end before continuously transmitting data blocks through the unified diagnostic service UDS communication protocol, and start transmitting data blocks according to the flow control frame message fed back by the data receiving end.
[0065] The diagnostic request message includes data size, transmission interval, number of consecutive frames and data verification result.
[0066] It can be understood that before transmitting the data block, the data sending end sends a diagnosis request message to the data receiving end, and the data receiving end starts to transmit the data block after receiving the feedback traffic frame message.
[0067] In an embodiment of the present application, the data receiving end is used to decode the brightness data to obtain the binary data format required to control the brightness.
[0068] In the embodiment of the present application, the vehicle lamp assembly 11 may include a plurality of LED lamps, for example, 16 to 24 lamps, etc., and may also be specifically set according to actual conditions without specific limitation.
[0069] In the embodiment of the present application, the control component 14 includes one or more matrix controllers, wherein each matrix controller is used to light up or turn off one or more LED lights in one or more vehicle lamp assemblies according to brightness data.
[0070] The matrix controller can control multiple LED lights, such as 16-24 LED lights, and the matrix controller can control each LED light to light up or turn off independently.
[0071] In an embodiment of the present application, each LED lamp is assigned an address obtained according to a preset addressing rule. The matrix controller determines the address of the LED lamp to be lit according to the preset addressing rule and brightness data, and controls the lighting of the corresponding LED lamp based on the address of the LED lamp to be lit.
[0072] It is understandable that, according to the pre-set addressing rules, each LED will be assigned an address, which is controlled by 1 bit in the brightness signal. After receiving the brightness signal, each matrix controller controls the LED lights under its jurisdiction according to the addressing rules to light up or turn off, thereby displaying the image effect on the LED array.
[0073] In the embodiment of the present application, the system 10 of the embodiment of the present application further includes: a first transceiver, a second transceiver and a human-machine interface.
[0074] Among them, the first transceiver is used to forward the data block sent by the data sending end to the data receiving end; the second transceiver is used to forward the brightness data sent by the data receiving end to the control component; the human-machine interface is used to obtain the interaction data of one or more vehicle light components.
[0075] like Figure 3 As shown, the headlight system is composed of a display screen 101, an entertainment system 201 (abbreviated as CDC in the figure), a CAN network 301, a headlight 400 and internal modules of the headlight 400. The internal modules of the headlight 400 are composed of the following core modules: 1# CAN transceiver 401; MCU 402 with two CAN communication interfaces; 2# CAN transceiver 403; internal sub-CAN network 404; multiple matrix controller chips 405 supporting CAN communication; and a matrix lighting system 406 composed of LEDs.
[0076] Among them, a display screen 101 with a touch function is connected to the entertainment system 201 through a video transmission line (generally an LVDS line) to provide a user interface and receive user operations. After the user operation is confirmed, the entertainment system 201 generates an image. The image can be hand-drawn by the user or copied from an external storage medium.
[0077] Since the car lights are symmetrical, the entertainment system 201 needs to process the image internally to convert it into two different images according to the dot matrix arrangement of the left and right lights. Usually, the display effects on the left and right lights are not completely consistent. The left and right display images only exist in the program and are not displayed on the screen.
[0078] Among them, the entertainment system 201 converts the left and right display images into binary brightness data. It is sent to the headlight 400 through the CAN network 301. At the start of the transmission, the entertainment system 201 sends a frame of diagnostic request message to the headlight 400, prompting it to start data transmission. The message also contains data size, transmission interval, number of continuous frames and data verification results. After the headlight 400 receives the request message through the 1#CAN transceiver 401, it sends the message to MCU402 for parsing. MCU402 feeds back the flow control frame to the entertainment system 201 to indicate that data transmission can start. After receiving the flow control frame, the entertainment system 201 starts to send data to the headlight 400 in accordance with the protocol. The data is divided into multiple blocks according to the agreed protocol, and a string of checksum verification segments is attached to each block of data. The headlight 400 receives data blocks continuously. After each block of data is received, the data is verified and compared with the received verification segment. If the verification is inconsistent, it means that the transmission may be disturbed and wrong data is received. Then a message is returned to request the entertainment system 201 to retransmit. If the verification is correct, a flow control frame is returned to instruct the entertainment system 201 to continue the transmission. The above process is repeated until all data transmission is completed. The headlight 400 returns a message to notify the entertainment system 201 that the transmission is complete. The headlight 400 has completely received the brightness data of the image conversion. The communication process is as follows: Figure 4 shown.
[0079] In the vehicle lamp 400, the vehicle lamp 400 receives the CAN communication message sent by the entertainment system 201 through the 1# CAN transceiver 401, and the message contains brightness data. The brightness data is decoded by the MCU 402 and converted into the binary data format required for controlling the brightness. Then the data is distributed to the internal sub-CAN network 404 through the 2# CAN transceiver 403.
[0080] Multiple matrix controller chips 405 are connected to the internal sub-CAN network 404 in a bus connection mode. Each matrix controller chip 405 controls multiple LEDs 406, generally 16 to 24. The matrix controller 405 can control each LED to light up or turn off independently. All LEDs, about hundreds to thousands, form an array and are symmetrical. According to the pre-set addressing rules, each LED will be assigned an address. They are controlled by 1 bit in the brightness signal. After receiving the brightness signal, each matrix controller 405 controls the LED under its jurisdiction according to the addressing rules to light up or turn off. Thus, the image effect is displayed on the LED array.
[0081] In the embodiment of the present application, if the communication network CAN network 301 is a communication network with only a few nodes, the CAN network can be upgraded to a high-speed CAN-FD network. Although the capacity of the network is sacrificed after the upgrade, the network has a faster transmission rate and can transmit a larger amount of data in a short time, thereby realizing a higher pixel-level headlight function. If only the left and right headlights have display requirements, when there are no other nodes in the communication network, they can also communicate without interference. Within the delay time range allowed by the design, images of thousands or even tens of thousands of pixels can be transmitted, thereby bringing better display effects.
[0082] It should be noted that the interactive car lighting system has wide compatibility and can be used in low-data, low-load communication scenarios with low cost advantages, as well as in high-data-volume scenarios. In addition, it can be applied not only to external lighting systems, but also to high-pixel lighting scenarios for interior ambient lighting.
[0083] According to the interactive headlight system proposed in the embodiment of the present application, by adopting CAN network transmission in hardware, the application layer protocol of the transmission adopts the continuous frame mechanism of the UDS communication protocol, and the transmission scheme of the CAN network combined with the UDS communication protocol is adopted to achieve high network capacity, low cost, and low load rapid transmission of a large amount of data to achieve the display of the headlight; before the data sending end transmits the data block, it is necessary to send a diagnostic request message to the data receiving end, and start transmitting data according to the feedback flow control frame message, thereby ensuring the reliability of data transmission; the brightness data can be decoded by the data receiving end to obtain a binary data format to facilitate the subsequent control of the headlight assembly; the data sending end and the data receiving end communicate through the CAN network or the CAN-FD network to meet different transmission requirements; the control component includes one or more matrix controllers, and by dividing the matrix controller, it is convenient to light up or extinguish the LED lights in the headlight assembly according to the brightness data to achieve different lighting effects; the matrix controller can determine the address of the LED light to be lit according to the addressing rules and the brightness data, and light up the corresponding LED light, thereby realizing the control of the light.
[0084] An embodiment of the present application also provides a vehicle, comprising an interactive vehicle light system as described in the above embodiment.
[0085] The control method of the interactive vehicle light system of the above embodiment will be described below, and will be described from the data sending end and the data receiving end respectively, as follows:
[0086] like Figure 5 As shown, the control method of the interactive vehicle light system is applied to the data sending end of the interactive vehicle light system in the above embodiment, wherein the method comprises the following steps:
[0087] In step S101, interaction data of one or more vehicle lamp components in an interactive vehicle lamp system is obtained.
[0088] In step S102, brightness data is generated according to the interaction data, and the brightness data is divided into a plurality of data blocks.
[0089] In step S103, data blocks are continuously transmitted to the data receiving end through the unified diagnostic service UDS communication protocol, wherein the data receiving end is used to continuously receive data blocks, and when the check value of the data block is consistent with the value of the additional check segment, the flow control frame message is fed back to enable the data sending end to continue to transmit the next data block, otherwise, the preset message is fed back to enable the data sending end to retransmit the current data block until all data blocks are transmitted, and the brightness data is obtained, and the brightness data is used to control one or more vehicle light components to display interactive data.
[0090] It can be understood that the data sending end in the embodiment of the present application first obtains the interaction data of the headlight assembly, then generates brightness data based on the interaction data, divides it into multiple data blocks, and then transmits the data blocks to the data receiving end according to the UDS communication protocol. Finally, the data receiving end receives the data and obtains the brightness data, thereby controlling the headlight assembly to display the interaction data.
[0091] like Figure 6 As shown, the control method of the interactive vehicle light system is applied to the data receiving end of the interactive vehicle light system of the above embodiment, wherein the method comprises the following steps:
[0092] In step S201, the continuously receiving data sending end continuously transmits data blocks through the unified diagnostic service UDS communication protocol, wherein the data sending end is used to generate brightness data based on the interactive data of one or more vehicle lamp components, divide the brightness data into multiple data blocks, and attach a check segment to each data block.
[0093] In step S202, each transmission data block is checked to obtain a check value, and it is determined whether the check value is consistent with the value of the check segment attached to the data block.
[0094] In step S203, if they are consistent, the flow control frame message is fed back to enable the data sending end to continue transmitting the next data block. Otherwise, the preset message is fed back to enable the data sending end to retransmit the current data block until all data blocks are transmitted, the brightness data is obtained, and the brightness data is sent to the control component to use the brightness data to control one or more vehicle light components to display interactive data.
[0095] It can be understood that the data receiving end in the embodiment of the present application receives the data block from the data sending end, and after checking each data block, determines whether the check value is consistent with the value of the check segment attached to the data block. If they are consistent, the flow control frame message is fed back to allow the data sending end to continue transmitting the data block. If they are inconsistent, the preset message is fed back to retransmit until all the data is transmitted, and the brightness data is sent to the control component to control the car light component to display the interactive data and realize the display of lighting effects.
[0096] It should be noted that the aforementioned explanation of the embodiment of the interactive vehicle light system is also applicable to the control method of the interactive vehicle light system of this embodiment, which will not be repeated here.
[0097] According to the control method of the interactive vehicle lighting system proposed in the embodiment of the present application, the data sending end continuously transmits data blocks through the unified diagnostic service UDS communication protocol. The protocol allows communication to occur only when data needs to be transmitted, while the nodes are usually in a silent state. When data needs to be transmitted, the data sending end issues a request instruction, and the data receiving end responds. Then the data sending end continuously sends long data according to the protocol and quickly sends the data to the receiving end, thereby generating a communication load only instantaneously, which has little impact on conventional communications in the network and solves the problem of heavy load in conventional communications.
[0098] Figure 7 A block diagram of a data sending end provided in an embodiment of the present application.
[0099] like Figure 7 As shown, the data receiving end 20 includes: an acquisition module 21, a processing module 22 and a transmission module 23.
[0100] Among them, the acquisition module 21 is used to obtain the interactive data of one or more headlight components in the interactive headlight system; the processing module 22 is used to generate brightness data according to the interactive data, and divide the brightness data into multiple data blocks; the transmission module 23 is used to continuously transmit data blocks to the data receiving end through the unified diagnostic service UDS communication protocol, wherein the data receiving end is used to continuously receive data blocks, and when the check value of the data block is consistent with the value of the additional check segment, the flow control frame message is fed back to enable the data sending end to continue to transmit the next data block, otherwise, the preset message is fed back to enable the data sending end to retransmit the current data block until all data blocks are transmitted, and the brightness data is obtained, and the brightness data is used to control one or more headlight components to display the interactive data.
[0101] Figure 8 A block diagram of a data receiving terminal provided in an embodiment of the present application.
[0102] like Figure 8 As shown, the data receiving end 30 includes: a receiving module 31, a checking module 32 and a feedback module 33.
[0103] Among them, the receiving module 31 is used to continuously receive data blocks continuously transmitted by the data sending end through the unified diagnostic service UDS communication protocol, wherein the data sending end is used to generate brightness data according to the interactive data of one or more vehicle light components, divide the brightness data into multiple data blocks, and attach a check segment to each data block; the check module 32 is used to check each transmitted data block, obtain a check value, and determine whether the check value is consistent with the value of the check segment attached to the data block; the feedback module 33 is used to feedback the flow control frame message if it is consistent, so that the data sending end continues to transmit the next data block, otherwise, feedback the preset message, so that the data sending end retransmits the current data block until all data blocks are transmitted, and the brightness data is obtained, and the brightness data is sent to the control component to use the brightness data to control one or more vehicle light components to display interactive data.
[0104] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned control method for the interactive vehicle light system.
[0105] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0106] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0107] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0108] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.
[0109] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0110] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. An interactive vehicle light system, characterized in that: include: one or more vehicle light assemblies; A data transmitter, configured to generate brightness data according to the interactive data of the one or more vehicle lamp assemblies, divide the brightness data into a plurality of data blocks, attach a check segment to each data block, and continuously transmit the data blocks through a unified diagnostic service UDS communication protocol; The data receiving end is used to continuously receive the data blocks, and when the check value of the data block is consistent with the value of the additional check segment, feed back a flow control frame message so that the data sending end continues to transmit the next data block, otherwise, feed back a preset message so that the data sending end retransmits the current data block until all data blocks are transmitted, thereby obtaining the brightness data; A control component communicates with the data receiving end via a controller area network (CAN) and uses the brightness data to control the one or more vehicle light components to display the interactive data.
2. The system according to claim 1, characterized in that The data sending end is further used to send a diagnosis request message to the data receiving end before continuously transmitting data blocks through the unified diagnostic service UDS communication protocol, and start transmitting data blocks according to the flow control frame message fed back by the data receiving end.
3. The system according to claim 2, characterized in that The diagnosis request message includes data size, transmission interval, number of consecutive frames and data verification result.
4. The system according to claim 1, characterized in that The data receiving end is used to decode the brightness data to obtain a binary data format required for controlling the brightness.
5. The system according to any one of claims 1 to 4, characterized in that: The data transmitting end communicates with the data receiving end via a CAN network or a CAN-FD network.
6. The system according to claim 1, characterized in that The vehicle lamp assembly includes a plurality of LED lamps.
7. The system according to claim 5, characterized in that The control component includes one or more matrix controllers, wherein each matrix controller is used to light up or turn off one or more LED lamps in one or more vehicle lamp assemblies according to the brightness data.
8. The system according to claim 6, characterized in that Each LED lamp is assigned an address obtained according to a preset addressing rule. The matrix controller determines the address of the LED lamp to be lit according to the preset addressing rule and the brightness data, and controls the corresponding LED lamp to be lit based on the address of the LED lamp to be lit.
9. The system according to claim 1, characterized in that Also includes: The first transceiver is used to forward the data block sent by the data sending end to the data receiving end.
10. The system according to claim 1, characterized in that Also includes: The second transceiver is used to forward the brightness data sent by the data receiving end to the control component.
11. The system according to claim 1, characterized in that Also includes: A human-machine interface is used to obtain interaction data of the one or more vehicle light assemblies.
12. A vehicle, characterized in that: Comprising an interactive vehicle light system as described in any one of claims 1-11.
13. A control method for an interactive vehicle light system, characterized in that: The method is applied to a data sending end of an interactive vehicle light system according to any one of claims 1 to 11, wherein the method comprises the following steps: Acquire interaction data of one or more vehicle lamp components in the interactive vehicle lamp system; Generate brightness data according to the interaction data, and divide the brightness data into a plurality of data blocks; The data blocks are continuously transmitted to the data receiving end through the unified diagnostic service UDS communication protocol, wherein the data receiving end is used to continuously receive the data blocks, and when the check value of the data block is consistent with the value of the additional check segment, the flow control frame message is fed back to enable the data sending end to continue to transmit the next data block, otherwise, the preset message is fed back to enable the data sending end to retransmit the current data block until all data blocks are transmitted, thereby obtaining the brightness data, and using the brightness data to control the one or more vehicle light components to display the interactive data.
14. A control method for an interactive vehicle light system, characterized in that: The method is applied to a data receiving end of the interactive vehicle light system according to any one of claims 1 to 11, wherein the method comprises the following steps: The continuously receiving data sending end continuously transmits data blocks through the unified diagnostic service UDS communication protocol, wherein the data sending end is used to generate brightness data according to the interactive data of the one or more vehicle lamp assemblies, divide the brightness data into a plurality of data blocks, and attach a check segment to each data block; Verify each transmission data block to obtain a verification value, and determine whether the verification value is consistent with the value of the verification segment attached to the data block; If they are consistent, a flow control frame message is fed back to enable the data sending end to continue transmitting the next data block. Otherwise, a preset message is fed back to enable the data sending end to retransmit the current data block until all data blocks are transmitted, and the brightness data is obtained. The brightness data is sent to the control component to use the brightness data to control the one or more vehicle light components to display the interactive data.
15. A data transmitting end, characterized in that: include: An acquisition module, used for acquiring interaction data of one or more headlight components in an interactive headlight system; A processing module, used to generate brightness data according to the interaction data, and divide the brightness data into a plurality of data blocks; A transmission module is used to continuously transmit data blocks to a data receiving end through a unified diagnostic service (UDS) communication protocol, wherein the data receiving end is used to continuously receive the data blocks, and when the check value of the data block is consistent with the value of the additional check segment, a flow control frame message is fed back to enable the data sending end to continue to transmit the next data block, otherwise, a preset message is fed back to enable the data sending end to retransmit the current data block until all data blocks are transmitted, thereby obtaining the brightness data, and using the brightness data to control the one or more vehicle light components to display the interactive data.
16. A data receiving end, characterized in that: include: A receiving module, used for continuously receiving data blocks continuously transmitted by a data sending end through a unified diagnostic service UDS communication protocol, wherein the data sending end is used for generating brightness data according to interactive data of one or more vehicle lamp components, dividing the brightness data into a plurality of data blocks, and adding a check segment to each data block; A check module, used to check each transmission data block, obtain a check value, and determine whether the check value is consistent with the value of the check segment attached to the data block; A feedback module is used to feed back a flow control frame message if they are consistent, so that the data sending end continues to transmit the next data block; otherwise, feed back a preset message so that the data sending end retransmits the current data block until all data blocks are transmitted, obtain the brightness data, and send the brightness data to the control component to use the brightness data to control the one or more vehicle light components to display the interactive data.
17. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the control method of the interactive vehicle light system according to claim 13 or 14.
