A method and system for controlling and simulating multi-functional automotive lighting.
The automotive multi-functional lighting control and simulation system, designed with graphical parameters and animations, solves the problem of customers having difficulty understanding lighting program code. It enables intuitive lighting effect adjustment and simulation playback, reduces communication difficulties, and improves work efficiency.
Patent Information
- Application Number
- CN202211659311.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-22
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2042-12-22
AI Technical Summary
Customers often find it difficult to understand and adjust the automotive lighting program code designed by engineers, leading to increased communication difficulties between engineers and customers.
This invention provides a multi-functional automotive lighting control and simulation system that allows customers to intuitively adjust lighting effects and simulate the lighting working environment through graphical parameter settings and animation design, thus achieving simulated playback.
It reduces the difficulty of communication between users and engineers, improves work efficiency, and enables customers to intuitively understand and adjust the lighting design effects.
Smart Images

Figure CN115795691B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive multi-functional lighting control technology, and more specifically, to a method and system for automotive multi-functional lighting control and simulation. Background Technology
[0002] With the rapid development of the domestic and international automotive industries, automobiles have become the primary means of transportation for people in Chinese society. However, given the current abundance of material resources, people's demands for automobiles have also increased, and automotive lighting is one component that requires a superior user experience. Therefore, engineers need to design lighting systems that are more feature-rich and intelligent.
[0003] The quality of a lighting design by an engineer needs client approval, as the design ultimately needs to be used by the client. However, this presents a problem: the engineer's initial design might only consist of a board and a piece of code, but the client may not understand the code or be able to adjust it to achieve the desired effect. In this case, the entire design implementation relies solely on the engineer's description and demonstration, which naturally raises concerns about the design's ability to meet their needs, thus increasing the difficulty of communication between the engineer and the client.
[0004] In view of this, the present invention provides an automotive lighting control simulation system that can graphically represent the key parameters of the program code. This allows customers to understand the engineer's design through images and animations, and to adjust the images and animations in the software to design the working effect of the lighting.
[0005] This software can also simulate the working environment and status of automotive lights for simulation purposes; more conveniently, it allows access to the program debugging interface to connect to the control board for lighting hardware experiments. This multi-functional simulation system allows customers to gain a deeper understanding of whether the engineer's design has met their needs through simple graphical operations, while engineers can also use simulation and experimentation for debugging. Summary of the Invention
[0006] The purpose of this section is to outline some aspects of embodiments of the present invention and to briefly describe some preferred embodiments. Simplifications or omissions may be made in this section, as well as in the abstract and title of this application, to avoid obscuring the purpose of these documents; however, such simplifications or omissions should not be construed as limiting the scope of the invention.
[0007] In view of the aforementioned existing problems, the present invention is proposed.
[0008] This invention provides the following technical solution: a method for controlling and simulating multi-functional automotive lighting, comprising the following steps:
[0009] In the automotive lighting effects repository, multiple functional modules for automotive lighting are pre-configured;
[0010] In response to the first operation, the target function module is retrieved from a pre-set automotive lighting effects repository;
[0011] In response to the second operation, the functional module is copied to the car lighting animation interface for animation editing and combination to generate an executable functional sub-file and saved to the car lighting effects repository;
[0012] In response to the third operation, the executable function sub-file is copied to the corresponding car lighting simulation interface for simulation playback.
[0013] In some embodiments, pre-setting multiple functional modules for automotive lights includes: designing or modifying key parameters of the program code that controls the lights and converting them into visual functional modules.
[0014] Furthermore, key parameters include, but are not limited to: the duty cycle, color, time, and music of the PWM control signal for each light.
[0015] Furthermore, automotive lighting functional modules include typical functional modules and newly created functional modules.
[0016] Furthermore, the functional modules include, but are not limited to, music rhythm modules, flow modules, and welcome modules.
[0017] In some embodiments, the process of the automotive lighting animation interface editing and combining animations to generate executable sub-files in response to the second operation includes:
[0018] Based on the timeline, select the functional modules needed for each time period to form the functional sub-file;
[0019] The selected functional modules are modified again and saved to the functional sub-file.
[0020] Furthermore, the further modification of the selected functional module in response to the second operation includes:
[0021] In response to the activation of the selected function module, a lighting effect editing interface is displayed;
[0022] In response to operations on the parameter configuration area of the lighting effect editing interface, the parameters of the program code within the function module are adjusted, and a function sub-file is generated based on the parameters.
[0023] Furthermore, the parameter configuration area is a visualized lighting effect image.
[0024] In some embodiments, the process of the automotive lighting animation interface editing and combining animations to generate executable sub-files in response to the second operation further includes:
[0025] Multiple functional sub-files are combined into multiple animations according to time allocation to form an executable functional file;
[0026] The executable function files are matched and configured one-to-one with the car's lights.
[0027] In some embodiments, the step of copying the executable functional sub-file to the corresponding automotive lighting simulation interface for simulation playback in response to the third operation includes:
[0028] Determine the number of lights on the car and number them;
[0029] The lighting simulation interface is based on the actual layout and position of the car's lights;
[0030] In some embodiments, the step of copying the executable functional sub-file to the corresponding automotive lighting simulation interface for simulation playback in response to the third operation further includes:
[0031] Select the in-vehicle environment to be simulated as needed.
[0032] A system for controlling and simulating multi-functional automotive lighting, the system comprising:
[0033] The automotive lighting file management module is used to pre-configure multiple automotive lighting function modules in the automotive lighting effects repository;
[0034] The first operation response module is used to respond to the first operation and retrieve the target function module from the pre-set automotive lighting effects repository.
[0035] The second operation response module is used to respond to the second operation by copying the functional module to the car lighting animation interface for animation editing and combination to generate an executable functional sub-file and saving it to the car lighting effects repository.
[0036] The third operation response module is used to respond to the third operation by copying the executable function sub-file to the corresponding car lighting simulation interface for simulation playback.
[0037] An electronic device includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the data processing method described above.
[0038] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the data processing method described above.
[0039] The beneficial effects of this invention are as follows: This invention provides a method and system for multi-functional automotive lighting control and simulation. It can use images and animations to design and display the working effect of lights, realize simulation, and combine with the drive control code designed by engineers. The software can change the key parameters in the drive control code during the graphic and animation design process, and then act as a host computer to burn the code to the controller for specific experiments. This allows customers and engineers to see the design effect of the lights more intuitively, reduces the difficulty of communication between users and engineers, and improves work efficiency. Attached Figure Description
[0040] Figure 1 This is a breakdown flowchart of the method for controlling and simulating multi-functional automotive lighting according to the first embodiment of the present invention.
[0041] Figure 2 This is a breakdown flowchart of the method for controlling and simulating multi-functional automotive lighting according to the first embodiment of the present invention.
[0042] Figure 3 This is a schematic diagram of the lighting effect editing interface of the automotive multi-functional lighting control and simulation method described in the first embodiment of the present invention.
[0043] Figure 4 This is a flowchart illustrating the automotive lighting effect repository of the automotive multi-functional lighting control and simulation method described in the first embodiment of the present invention.
[0044] Figure 5 This is a schematic diagram of the animation design interface for the automotive multi-functional lighting control and simulation method described in the first embodiment of the present invention.
[0045] Figure 6 This is a schematic diagram of the multi-animation combination interface of the automotive multi-functional lighting control and simulation method described in the first embodiment of the present invention.
[0046] Figure 7 This is a schematic diagram of the simulation interface of the automotive multi-functional lighting control and simulation method described in the first embodiment of the present invention.
[0047] Figure 8 This is a schematic diagram of the hardware experimental interface of the automotive multi-functional lighting control and simulation method according to the fourth embodiment of the present invention.
[0048] The attached diagram will be explained in detail below with reference to specific implementation cases. Detailed Implementation
[0049] Example 1:
[0050] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to specific embodiments and accompanying drawings.
[0051] like Figure 1 The diagram shown is an exploded flowchart of the automotive multi-functional lighting control and simulation method according to the first embodiment of the present invention; as shown... Figure 2 The diagram shown is an exploded flowchart of the automotive multi-functional lighting control and simulation method according to the first embodiment of the present invention; as shown... Figure 3 The diagram shown is a schematic of the lighting effect editing interface of the automotive multi-functional lighting control and simulation method according to the first embodiment of the present invention.
[0052] The lighting effect editing interface is used to display the windows of various functional modules and to perform various graphical operations on the functional modules. It mainly includes a file management window, an entry point for the automotive lighting effect repository, a lighting animation design window, a toolbar for design, an entry point for copying the functional modules to the automotive lighting animation interface for animation editing and combination to generate executable functional sub-files and save them to the automotive lighting effect repository, a lighting simulation window and simulation toolbar, an entry point for copying the executable functional sub-files to the corresponding automotive lighting simulation interface for simulation playback, as well as the menu bars and working interfaces of each module, etc.
[0053] like Figure 4 The diagram shown is a flowchart of the automotive lighting effect repository of the automotive multi-functional lighting control and simulation method according to the first embodiment of the present invention.
[0054] The automotive lighting effects repository is used to enable software to interact with computer memory files.
[0055] It can open typical common function modules of lighting, including music rhythm, water flow, welcome, etc.; it can also open saved function sub-files or function sub-files; it can also open a new design file to make a new design; it can also open music files to set the music for the lighting animation; it can also save and export files after the design is completed, etc.
[0056] The automotive lighting effects repository is attached to the file management system and is responsible for coordinating the storage functions of the entire software. Its main function is to import and export the program code that controls the lights. The underlying logic of the entire software is to convert the key parameters of the program code (duty cycle of the PWM control signal of each light, control color and time) into color and time settings in the automotive lighting animation interface. The animation design system is used to set the working state of each LED light in each time period, which indirectly changes the parameters in the program file, and then saves and exports the modified parameter file.
[0057] like Figure 5 The image shown is a schematic diagram of the animation design interface of the automotive multi-functional lighting control and simulation method according to the first embodiment of the present invention.
[0058] The animation design interface is used to design the functional modules of each LED light at different times, such as color and time.
[0059] The function sub-file is formed by selecting the required functional modules for each time period according to the time axis; the lighting effect is visually perceived by running the time axis according to the set time; it mainly has a time setting function; the function module can be started or paused at a specific time.
[0060] Select the function module based on the number of LEDs; set the function module for each LED at each time interval. If a new function module is created in the animation design, a default light control code program will be generated. Modifying functions such as color and time will directly change the corresponding parameters in the program. For example, the color function adjusts the parameters of the program code in the function module through the color spectrum or color number in the parameter configuration area of the light effect editing interface, and generates a function sub-file based on the parameters; set the music rhythm function module for time-based playback.
[0061] Similarly, opening a saved file or a typical common function module file calls their corresponding program code, generates the existing animation design based on the parameters of the program code, and can also be modified.
[0062] like Figure 6 The diagram shown is a schematic of the multi-animation combination interface of the automotive multi-functional lighting control and simulation method according to the first embodiment of the present invention.
[0063] Multiple functional sub-files are combined into an executable functional file by allocating multiple animations according to time. For example, multiple animations can be selected through different channels and then combined into a lighting effect according to time.
[0064] like Figure 7 The diagram shown is a schematic of the simulation interface of the automotive multi-functional lighting control and simulation method according to the first embodiment of the present invention.
[0065] The software simulation is based on the previously designed animation, which determines the number of LEDs and the flashing of each LED in different colors at different times according to its number. In the simulation interface, the first step is to select the interior environment, which can be either dark or daytime. Then, different LED models can be selected, but the numbers must be clearly defined. Finally, the placement tool allows you to design the position of each LED according to your needs. The LEDs are distinguished by their numbers, which correspond to the numbers used in the animation design. Based on the previous design, a relatively rich working environment for automotive lighting can be achieved. Finally, an animation is played to simulate the working states of the lights, such as music or the on / off state of the LEDs.
[0066] Example 2: As Figure 1 The diagram shown is an exploded flowchart of the automotive multi-functional lighting control and simulation method according to the first embodiment of the present invention; as shown... Figure 2 The diagram shown is a breakdown flowchart of the method for controlling and simulating multi-functional automotive lighting according to the first embodiment of the present invention.
[0067] A system for controlling and simulating multi-functional automotive lighting, the system comprising:
[0068] The automotive lighting file management module is used to pre-configure multiple automotive lighting function modules in the automotive lighting effects repository;
[0069] The first operation response module is used to respond to the first operation and retrieve the target function module from the pre-set automotive lighting effects repository.
[0070] The second operation response module is used to respond to the second operation by copying the functional module to the car lighting animation interface for animation editing and combination to generate an executable functional sub-file and saving it to the car lighting effects repository.
[0071] The third operation response module is used to respond to the third operation by copying the executable function sub-file to the corresponding car lighting simulation interface for simulation playback.
[0072] Example 3:
[0073] An electronic device includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the data processing method described above.
[0074] Example 4: Figure 8 The diagram shown is a schematic of the hardware experimental interface of the automotive multi-functional lighting control and simulation method according to the fourth embodiment of the present invention.
[0075] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the data processing method described above.
[0076] This application allows direct code modification within the editing window, functioning as a host computer. Alternatively, the debugged program can be burned into the controller via USB to control the lighting effects.
[0077] In the hardware experiment section (to facilitate engineers' verification of their designs), the design architecture of this software involves modifying key parameters in the control program. After the preceding animation design, we can obtain a program code with the desired parameters set.
[0078] Opening the hardware experiment window will directly take you to a program debugging interface. The left side of the interface shows the header file, source file and other parts of the program, the right side shows the program code display box, and the top is the program debugging toolbar.
[0079] The light flashing control program code is linked to the animation design. Adjusting the color and timing in the animation design can change the parameters in the program file. However, you need to save the file after each modification and then reopen the program file.
[0080] For the device or system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and relevant parts can be referred to in the description of the method embodiments.
[0081] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0082] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0083] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0084] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0085] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0086] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.
[0087] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0088] The above provides a detailed description of a data processing method and apparatus. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for controlling and simulating multi-functional automotive lighting, comprising the following steps: In the automotive lighting effects repository, multiple automotive lighting functional modules are pre-configured. These pre-configured functional modules include: designing or modifying key parameters of the program code that controls the lights and converting them into visual functional modules. In response to the first operation, the target function module is retrieved from a pre-set automotive lighting effects repository; In response to the second operation, the functional module is copied to the automotive lighting animation interface for animation editing and combination to generate an executable functional sub-file, and then saved to the automotive lighting effects repository. The process of editing and combining the automotive lighting animation interface to generate the executable functional sub-file in response to the second operation includes: Based on the timeline, select the functional modules needed for each time period to form the functional sub-file; The selected functional modules are modified again and saved to the functional sub-file; The automotive lighting animation interface also includes functions for editing and combining animations to generate executable sub-files, such as: Multiple functional sub-files are combined into multiple animations according to time allocation to form an executable functional file; Match and configure the executable function files one-to-one with the car's lights; In response to the third operation, the executable function sub-file is copied to the corresponding car lighting simulation interface for simulation playback. Copying the executable function sub-file to the corresponding car lighting simulation interface for simulation playback further includes: selecting the environment to be simulated inside the vehicle as needed; determining and numbering the number of car lights; and positioning the lights in the lighting simulation interface according to the actual car light layout.
2. The method for controlling and simulating multi-functional automotive lighting as described in claim 1, characterized in that, The response to the second operation, modifying the selected functional module again, includes: In response to the activation of the selected function module, a lighting effect editing interface is displayed; In response to operations on the parameter configuration area of the lighting effect editing interface, the parameters of the program code within the function module are adjusted, and a function sub-file is generated based on the parameters.
3. A system for controlling and simulating multi-functional automotive lighting, the system employing the method for controlling and simulating multi-functional automotive lighting as described in any one of claims 1 or 2, the system comprising: The automotive lighting file management module is used to pre-configure multiple automotive lighting function modules in the automotive lighting effects repository; The first operation response module is used to respond to the first operation and retrieve the target function module from the pre-set automotive lighting effects repository. The second operation response module is used to respond to the second operation by copying the functional module to the car lighting animation interface for animation editing and combination to generate an executable functional sub-file and saving it to the car lighting effects repository. The third operation response module is used to respond to the third operation by copying the executable function sub-file to the corresponding car lighting simulation interface for simulation playback.
4. An electronic device comprising a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the method for controlling and simulating multi-functional automotive lighting as described in any one of claims 1 or 2.
5. A computer-readable storage medium storing a computer program thereon, the computer program, when executed by a processor, implementing the method for controlling and simulating multi-functional automotive lighting as described in any one of claims 1 or 2.
Citation Information
Patent Citations
Data processing method and device
CN112306482A