Wired and wireless series-parallel atmosphere lamp control system and method based on accelerator engine
By using wired wireless hybrid technology with accelerator engine in the vehicle ambient light system, the problems of low communication efficiency and high cost in the existing system are solved, and simplified software development and synchronous control of large-scale lighting effects are achieved.
Patent Information
- Application Number
- CN202311400331.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-26
- Publication Date
- 2025-04-29
AI Technical Summary
Due to the inefficiency of the CAN/CANFD communication protocol and the excessive communication wiring harness, the existing vehicle-mounted ambient light control system is difficult to achieve data transmission in large-scale lighting effects scenarios, and wireless communication methods increase costs.
The wired wireless hybrid ambient light control system based on the accelerator engine is adopted. Through the routing and scheduling design of the ambient light flow accelerator engine system, the underlying communication details are hidden to realize the wired and wireless hybrid architecture.
It simplifies the difficulty of the development of the software application layer, realizes the wired and wireless hybrid connection of large-scale LED lamp beads, and solves the problems of communication and wiring convenience and cost control in the ambient light layout in the entire vehicle space.
Smart Images

Figure CN119907171A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle-mounted LED lighting effect control, and in particular to a wired and wireless hybrid atmosphere light control system and method based on an accelerator engine. Background Art
[0002] Car ambient lighting has become an indispensable part of car interiors. Traditional ambient lighting control is based on the CAN / CANFD communication protocol, which not only requires the selection of ICs with integrated CAN / CANFD functions; at the same time, due to the reliability considerations of the CAN / CAN FD standard data protocol, it contains more verification information, resulting in low transmission efficiency, which is not conducive to data transmission of large-scale lighting effect scenes.
[0003] The existing technology uses UartOnCAN as an alternative to standard CAN / CANFD, but if the ambient lights are arranged in the whole vehicle space, the problem of too many communication harnesses becomes obvious. If all ambient lights use wireless communication, although the number of communication lines can be greatly reduced, since each lighting node needs to add a wireless communication module, it is not possible to control the cost of parts.
[0004] If UartOnCAN and wireless communication are mixed, a balance can be found between wiring convenience and cost control, which is an ideal solution. However, due to the existence of two different data transmission channels, when the number of LED lamp beads reaches hundreds or thousands, how to coordinate the synchronous changes of lights in different channels and combine them to form lighting effects greatly increases the difficulty of software development. Summary of the invention
[0005] The purpose of the present invention is to provide a wired-wireless hybrid atmosphere light control system and method based on an accelerator engine. The system and method use the routing scheduling design of the "atmosphere light flow accelerator engine system" to hide the underlying communication details, thereby greatly simplifying the difficulty of developing the software application layer, and enabling the "wired + wireless hybrid" architecture atmosphere light of large-scale LED lamp beads to be realized.
[0006] In order to achieve the above object, the technical solution of the present invention is as follows:
[0007] A wired and wireless hybrid atmosphere light control system based on an accelerator engine includes an atmosphere light controller connected to a vehicle upper controller, wherein the atmosphere light controller is provided with an application layer, an engine layer and a driver layer, and the key points are:
[0008] The engine layer is provided with an accelerator engine, a routing distribution module and N LED simulation modules;
[0009] The driving layer is provided with an LED wired driving module and a wireless communication driving module;
[0010] The accelerator engine is respectively connected to N virtual LED modules, the N virtual LED modules are directly connected to the routing distribution module, the routing distribution module is respectively connected to the LED wired drive module and the wireless communication drive module, and the LED wired drive module and the wireless communication drive module are respectively connected to N LED lamp templates.
[0011] The accelerator engine calls the lighting script information, and the routing allocation module queries the allocation path according to the lighting script information, and transmits the lighting script information to the corresponding LED wired driver module and wireless communication driver module. The LED wired driver module and the wireless communication driver module drive the corresponding LED light template to light up, coordinate the synchronous changes of lights on different channels, realize wired and wireless hybrid, and solve the convenience and cost control issues of communication wiring in the layout of atmosphere lights in the entire vehicle space.
[0012] The LED wired driver module and the wireless communication driver module have the same API call interface format open to the upper layer;
[0013] The API calling interface formats being completely identical refers to calling the same set of function names to perform the same logical operations.
[0014] The API calling interface format is exactly the same. For the accelerator engine, it only performs the same operation logic for the same virtual LED module, so there is no need to pay attention to the underlying hardware implementation. By developing applications through the API interface program, it can reduce the writing of useless programs and reduce programming tasks, thereby greatly simplifying the difficulty of software application layer development.
[0015] The accelerator engine is bidirectionally connected to a virtual flash memory, which is arranged in the engine layer. The virtual flash memory is bidirectionally connected to a flash driver module, which is arranged in the driver layer. The flash driver module is bidirectionally connected to the flash memory.
[0016] The flash memory is used to store various lighting script information, ensuring the integrity and accuracy of the lighting script information. The virtual flash memory increases the utilization of the atmosphere light controller and the throughput of the system, and can simplify the task of programming.
[0017] The flash memory may be arranged in the atmosphere light controller;
[0018] The flash memory may be arranged outside the atmosphere light controller.
[0019] The flash memory can be built-in or external, and can be selected according to actual conditions to improve the flexibility of the system.
[0020] The vehicle upper controller is connected to the atmosphere light controller via a CAN / LIN bus.
[0021] CAN bus has the characteristics of multi-node connection, high reliability, high communication rate and low latency, which can improve data transmission efficiency, weaken the data error rate and control it within a limited small range to ensure the quality of data transmission. CAN bus combined with LIN bus can further reduce wiring costs on the basis of ensuring data transmission efficiency and quality.
[0022] A wired and wireless hybrid atmosphere light control method based on an accelerator engine comprises the following steps:
[0023] Step 1: The vehicle upper controller sends a command to the application layer, and the application layer notifies the accelerator engine;
[0024] Step 2: The accelerator engine reads the lighting script information in the flash memory;
[0025] Step 3: The accelerator engine writes the lighting script information into the corresponding virtual LED module, performs path pre-matching, and sends the path pre-matching result to the routing allocation module;
[0026] Step 4: The accelerator engine notifies the routing allocation module, which calls the "domain allocation table" to query the driver program path and transmits the lighting script information to the corresponding LED wired driver module or wireless communication driver module;
[0027] Step 5: The LED wired driver module or the wireless communication driver module performs protocol conversion and sends the converted data to the corresponding LED light template to drive the LED light template to light up.
[0028] Through the above steps, the accelerator engine combined with the routing distribution module, LED wired drive module and wireless communication drive module can coordinate the synchronous changes of lights in different channels, realize wired and wireless hybrid, and solve the convenience and cost control issues of communication wiring in the layout of ambient lights in the entire vehicle space.
[0029] In step 1, the application layer obtains instructions from the vehicle upper controller through the CAN / LIN bus, parses the instructions and notifies the accelerator engine according to the instructions;
[0030] The CAN bus has high reliability, high communication rate and low latency, and can quickly and accurately transmit instructions from the vehicle's upper-level controller to the accelerator engine.
[0031] In step 2, the flash driver module calls the lighting script information in the flash memory, transmits the lighting script information to the virtual flash memory, and the accelerator engine reads the lighting script information through the virtual flash memory;
[0032] The lighting script information includes lighting script data, "domain allocation table" and "domain address".
[0033] Each atmosphere light main controller will customize a "domain allocation table" according to customer needs and save it in the firmware. The "domain allocation table" records the driver object to be called corresponding to each "domain address" and inserts the "domain address" into the lighting script data to achieve a one-to-one correspondence between the "domain address" and the lighting script data, making it convenient for the subsequent routing allocation module to analyze the route and match the path.
[0034] In step 3, the "domain address" corresponds to the lighting script data one by one, and the accelerator engine writes the corresponding lighting script information into the corresponding virtual LED module according to the "domain address".
[0035] The virtual LED module performs path pre-matching, provides reliable data for the routing distribution module to analyze the route, and improves the accuracy of the routing distribution module's allocation.
[0036] In step 4, each time the routing allocation module receives a path query request, it will query the "domain allocation table" according to the "domain address" in the lighting script, so as to obtain the routing correspondence that the lighting script information should be transmitted.
[0037] The "domain allocation table" records the driver program object to be called for each "domain address", and the "domain address" corresponds to the lighting script data one by one. The routing allocation module queries the transmission path based on the matching of the "domain allocation table" and the "domain address", and accurately transmits the lighting script data to the corresponding LED wired driver module and wireless communication driver module to achieve wired and wireless hybrid connection.
[0038] In step 5, the LED wired driving module or the wireless communication driving module reorganizes the data frame according to the channel format to complete the protocol conversion;
[0039] The channel formats include uartONcan bus, wifi, BT3.0, BLE5.0, and different channel formats correspond to different data frame encapsulation formats;
[0040] The uartONcan bus is directly framed at the link layer, the wifi corresponds to the UDP format, the BT3.0 corresponds to the SPP protocol format, and the BLE5.0 corresponds to the GATT layer format;
[0041] The reorganized data frame encapsulates the lighting script information according to the data frame encapsulation format corresponding to the channel format.
[0042] Both the LED wired drive module and the wireless communication drive module complete protocol conversion by reorganizing data frames, coordinating the synchronous changes of lights in different channels, realizing wired and wireless hybrid connection, and solving the communication wiring convenience and cost control issues in the layout of ambient lights in the entire vehicle space.
[0043] Significant effect: The present invention provides a wired and wireless hybrid atmosphere light control system and method based on an accelerator engine. With the help of the routing scheduling design of the "atmosphere light flow accelerator engine system", the wired and wireless hybrid of the atmosphere light in the whole vehicle space is realized, which solves the communication wiring convenience and cost control problems of the atmosphere light layout in the whole vehicle space, and hides the underlying communication details, thereby greatly simplifying the difficulty of software application layer development. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a schematic diagram of a wired and wireless hybrid ambient light control system based on an accelerator engine;
[0045] Figure 2 The present invention is a logic flow chart of a wired and wireless hybrid atmosphere light control method based on an accelerator engine. DETAILED DESCRIPTION
[0046] The specific implementation manner and working principle of the present invention are further described in detail below with reference to the accompanying drawings.
[0047] like Figure 1 As shown, a wired and wireless hybrid atmosphere light control system based on an accelerator engine includes an atmosphere light controller connected to a vehicle upper controller, wherein the atmosphere light controller is provided with an application layer, an engine layer and a driver layer. The key point is that:
[0048] The engine layer is provided with an accelerator engine, a routing distribution module and N LED simulation modules;
[0049] The driving layer is provided with an LED wired driving module and a wireless communication driving module;
[0050] The accelerator engine is respectively connected to N virtual LED modules, the N virtual LED modules are directly connected to the routing distribution module, the routing distribution module is respectively connected to the LED wired drive module and the wireless communication drive module, and the LED wired drive module and the wireless communication drive module are respectively connected to N LED lamp templates.
[0051] The LED wired driver module and the wireless communication driver module have the same API call interface format open to the upper layer;
[0052] The API calling interface formats being completely identical refers to calling the same set of function names to perform the same logical operations.
[0053] The accelerator engine is bidirectionally connected to a virtual flash memory, which is arranged in the engine layer. The virtual flash memory is bidirectionally connected to a flash driver module, which is arranged in the driver layer. The flash driver module is bidirectionally connected to the flash memory.
[0054] The flash memory may be arranged in the atmosphere light controller;
[0055] The flash memory may be arranged outside the atmosphere light controller.
[0056] The vehicle upper controller is connected to the atmosphere light controller via a CAN / LIN bus, and the vehicle upper controller may adopt a BCM, a domain controller, and the like.
[0057] like Figure 2 As shown, the logic flow of the wired and wireless hybrid atmosphere light control method based on the accelerator engine is as follows:
[0058] Step 1: The vehicle upper controller sends a command to the application layer, and the application layer notifies the accelerator engine;
[0059] Step 2: The accelerator engine reads the lighting script information in the flash memory;
[0060] Continue operation: go to step 3;
[0061] Stop operation: enter event waiting;
[0062] Step 3: The accelerator engine writes the lighting script information into the corresponding virtual LED module, performs path pre-matching, and sends the path pre-matching result to the routing allocation module;
[0063] Step 4: The accelerator engine notifies the routing allocation module, and the routing allocation module calls the "domain allocation table" to query the driver program path;
[0064] Path query is successful: transmit the lighting script information to the corresponding LED wired driver module or wireless communication driver module, and go to step 5;
[0065] Path query failed: Abandon this transmission, return to step 2, and notify the accelerator engine to read the next script;
[0066] Step 5: The LED wired driver module or the wireless communication driver module performs protocol conversion and sends the converted data to the corresponding LED light template;
[0067] Data is sent successfully: the LED light template is driven to light up, and a callback is sent to notify the accelerator engine, which updates the sending status structure;
[0068] Data sending failed: Abandon this transmission, return to step 2, and notify the accelerator engine to read the next script.
[0069] In step 1, the application layer obtains instructions from the vehicle upper controller through the CAN / LIN bus, parses the instructions and notifies the accelerator engine according to the instructions;
[0070] In step 2, the flash driver module calls the lighting script information in the flash memory, transmits the lighting script information to the virtual flash memory, and the accelerator engine reads the lighting script information through the virtual flash memory;
[0071] The lighting script information includes lighting script data, "domain allocation table" and "domain address".
[0072] In step 3, the "domain address" corresponds to the lighting script data one by one, and the accelerator engine writes the corresponding lighting script information into the corresponding virtual LED module according to the "domain address".
[0073] In step 4, each time the routing allocation module receives a path query request, it will query the "domain allocation table" according to the "domain address" in the lighting script, so as to obtain the routing correspondence that the lighting script information should be transmitted.
[0074] In step 5, the LED wired driving module or the wireless communication driving module reorganizes the data frame according to the channel format to complete the protocol conversion;
[0075] The channel formats include uartONcan bus, wifi, BT3.0, BLE5.0, and different channel formats correspond to different data frame encapsulation formats;
[0076] The uartONcan bus is directly framed at the link layer, the wifi corresponds to the UDP format, the BT3.0 corresponds to the SPP protocol format, and the BLE5.0 corresponds to the GATT layer format;
[0077] The reorganized data frame encapsulates the lighting script information according to the data frame encapsulation format corresponding to the channel format.
Claims
1. A wired and wireless hybrid atmosphere light control system based on an accelerator engine, comprising an atmosphere light controller connected to a vehicle upper controller, wherein the atmosphere light controller is provided with an application layer, an engine layer and a driver layer, and is characterized in that: The engine layer is provided with an accelerator engine, a routing distribution module and N LED simulation modules; The driving layer is provided with an LED wired driving module and a wireless communication driving module; The accelerator engine is respectively connected to N virtual LED modules, the N virtual LED modules are directly connected to the routing distribution module, the routing distribution module is respectively connected to the LED wired drive module and the wireless communication drive module, and the LED wired drive module and the wireless communication drive module are respectively connected to N LED lamp templates.
2. The wired and wireless hybrid atmosphere light control system based on the accelerator engine according to claim 1 is characterized in that: The LED wired driver module and the wireless communication driver module have completely the same API call interface format open to the upper layer.
3. The wired and wireless hybrid atmosphere light control system based on the accelerator engine according to claim 1 is characterized in that: The accelerator engine is bidirectionally connected to a virtual flash memory, which is arranged in the engine layer. The virtual flash memory is bidirectionally connected to a flash driver module, which is arranged in the driver layer. The flash driver module is bidirectionally connected to the flash memory.
4. The wired and wireless hybrid atmosphere light control system based on the accelerator engine according to claim 3 is characterized in that: The flash memory may be arranged in the atmosphere light controller; The flash memory may be arranged outside the atmosphere light controller.
5. A wired and wireless hybrid atmosphere light control method based on an accelerator engine, characterized in that: Step 1: The vehicle upper controller sends a command to the application layer, and the application layer notifies the accelerator engine; Step 2: The accelerator engine reads the lighting script information in the flash memory; Step 3: The accelerator engine writes the lighting script information into the corresponding virtual LED module, performs path pre-matching, and sends the path pre-matching result to the routing allocation module; Step 4: The accelerator engine notifies the routing distribution module, which calls the "domain distribution table" to query the driver program path and transmits the lighting script information to the corresponding LED wired driver module or wireless communication driver module; Step 5: The LED wired driver module or the wireless communication driver module performs protocol conversion and sends the converted data to the corresponding LED light template to drive the LED light template to light up.
6. The wired and wireless hybrid atmosphere light control method based on the accelerator engine according to claim 5 is characterized in that: In step 1, the application layer obtains instructions from the upper-layer controller of the vehicle through the CAN / LIN bus, parses the instructions and notifies the accelerator engine according to the instructions.
7. The wired and wireless hybrid atmosphere light control method based on the accelerator engine according to claim 5 is characterized in that: In step 2, the flash driver module calls the lighting script information in the flash memory, transmits the lighting script information to the virtual flash memory, and the accelerator engine reads the lighting script information through the virtual flash memory; The lighting script information includes lighting script data, "domain allocation table" and "domain address".
8. The wired and wireless hybrid atmosphere light control method based on the accelerator engine according to claim 5 is characterized in that: In step 3, the "domain address" corresponds to the lighting script data one by one, and the accelerator engine writes the corresponding lighting script information into the corresponding virtual LED module according to the "domain address".
9. The wired and wireless hybrid atmosphere light control method based on the accelerator engine according to claim 5 is characterized in that: In step 4, each time the routing allocation module receives a path query request, it will query the "domain allocation table" according to the "domain address" in the light script to obtain the routing correspondence that the light script information should be transmitted.
10. The wired and wireless hybrid atmosphere light control method based on the accelerator engine according to claim 5, characterized in that: In step 5, the LED wired driving module or the wireless communication driving module reorganizes the data frame according to the channel format to complete the protocol conversion.