Multi-color atmosphere lamp control system and method and vehicle
By performing audio analysis on the on-board host and generating ambient light control instructions, the problems of increased module volume and high cost caused by the audio analysis chip in the prior art are solved, and efficient ambient light control and pixelation effects are achieved.
Patent Information
- Application Number
- CN202510612768.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-13
- Publication Date
- 2025-07-25
AI Technical Summary
In the existing multi-color ambient light system for automotive interiors, the audio analysis chip leads to increased module size, high cost, limited music rhythm effects, large communication bandwidth occupies, complex software functions, and small choices.
Audio parsing is performed on the on-board host, and using powerful hardware capabilities to simplify music signal processing, generate control instructions through the ambient light controller to realize pixelated control of the ambient light and reduce communication bandwidth usage.
It reduces the hardware and software requirements of the ambient lamp system, simplifies the communication process, improves the dynamic efficiency freedom and control accuracy of the ambient lamp, and reduces costs.
Smart Images

Figure CN120379100A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automotive interior ambient lights, and particularly to a multi-color ambient light control system, method and vehicle. Background Art
[0002] The statements in this section merely mention the background art related to the present invention and do not necessarily constitute prior art.
[0003] Currently, high-end luxury models in the automotive market are all equipped with a multi-color ambient light control system for automotive interiors. The main solution is to set up an independent ambient light control module, that is, to set a soft switch for the ambient light function option in the in-vehicle multimedia. The independent ambient light system module directly obtains the relevant vehicle status information and the switch status of the ambient light function option from the vehicle's CAN bus. The ambient light system control module judges the current ambient light setting status, and makes analysis and calculation in combination with the vehicle status information. Finally, it determines the ambient light effect and control instructions, and issues the control instructions through the LIN line / CAN line connected between the system control module and the ambient light module. The ambient light module receives and executes them. The schematic diagram of the solution is as Figure 1 shown.
[0004] However, in order to meet the requirements of the music rhythm function, an audio parsing chip is internally configured in the existing independent ambient light system module, resulting in an increase in module volume and cost. However, the function of the configured chip is relatively weak, and the music rhythm effect is limited. And when working, a complete music signal needs to be sent to the independent ambient light system module, thus occupying a large amount of communication bandwidth and easily generating transmission delays.
[0005] In addition, the software function in the existing independent ambient light system module is relatively complex, and the chip usually selects a standard RGBLED driving MCU, with less choice. Summary of the Invention
[0006] In order to solve the deficiencies of the prior art, the present invention provides a multi-color ambient light control system, method and vehicle, which uses the in-vehicle host to perform audio parsing on the music signal, and can realize the free control of the multi-color ambient light without the aid of an audio parsing chip, reducing the control difficulty and at the same time reducing the occupation of communication bandwidth.
[0007] In the first aspect, the present invention provides a multi-color ambient light control system;
[0008] A multi-color ambient light control system includes:
[0009] An in-vehicle host, which is used to respond to the ambient light switch state triggered by the user, perform audio parsing on the music signal, and determine the music parsing signal;
[0010] Ambient light controller, which is used to obtain the status of the ambient light switch and the music parsing signal, and determine the action status of the ambient light and generate an ambient light control instruction according to the music parsing signal;
[0011] Ambient light module, which is used to obtain the ambient light control instruction and control each ambient light according to the ambient light control instruction.
[0012] In some embodiments, the audio parsing of the music signal to determine the music parsing signal includes:
[0013] Perform short-time energy analysis on the music signal and extract spectral flux, and determine the music beat based on the comparison result of the energy or spectral flux with a preset threshold;
[0014] Divide the music signal into frequency bands, where the frequency bands include low frequency, medium frequency, and high frequency;
[0015] Extract the MFCC features and spectral centroid of the music signal, and process the MFCC features and spectral centroid through a trained style classification model to determine the music style.
[0016] In some embodiments, the determining the action status of the ambient light according to the music parsing signal includes:
[0017] Determine the main color tone of the ambient light module according to the music style;
[0018] Start the ambient light of the corresponding color and perform brightness control according to the music frequency and the corresponding energy;
[0019] Trigger the instantaneous brightness peak of the ambient light according to the music beat.
[0020] In some embodiments, the ambient light module includes a static ambient light module and a dynamic ambient light module.
[0021] In some embodiments, the ambient light controller is communicatively connected to the dynamic ambient light module through a private CAN line, and the ambient light controller is communicatively connected to the static ambient light module through a private LIN line.
[0022] In some embodiments, each ambient light in the ambient light module has a unique ID value.
[0023] In some embodiments, the music parsing signal includes music beat, music frequency, and music style.
[0024] In some embodiments, the ambient light control instruction includes a brightness PWM signal, a red PWM signal, a green PWM signal, and a blue PWM signal corresponding to the ambient light ID value.
[0025] In a second aspect, the present invention provides a method for controlling a multi-color atmosphere light;
[0026] A multi-color atmosphere light control method, comprising:
[0027] The vehicle host responds to the ambient light switch state triggered by the user, performs audio analysis on the music signal, determines the music analysis signal and sends it to the ambient light controller;
[0028] The ambient light controller receives the ambient light switch state and the music analysis signal, determines the ambient light action state according to the music analysis signal, generates the ambient light control command and sends it to the ambient light module;
[0029] The ambient light module obtains the ambient light control instruction and controls each ambient light according to the ambient light control instruction.
[0030] In a third aspect, the present invention provides a vehicle;
[0031] A vehicle comprises the above-mentioned multi-color ambient light control system.
[0032] Compared with the prior art, the present invention has the following beneficial effects:
[0033] 1. The technical solution provided by the present invention reallocates the data processing process in the process of ambient light control and transfers the audio analysis function to the vehicle-mounted host. It can make full use of the more powerful hardware of the vehicle-mounted host and improve the audio analysis capability. At the same time, it can simplify the music signals sent down, reduce the communication bandwidth occupancy, and improve the communication efficiency.
[0034] 2. According to the technical solution provided by the present invention, the atmosphere light system module does not need to perform audio analysis, which reduces the requirements for data processing. The excess computing power can be used to generate PWM signals for controlling each atmosphere light, thereby realizing pixelated control of each atmosphere light (LED light), improving the freedom of the atmosphere light dynamic effect of the whole vehicle, and at the same time, the requirements of the atmosphere light module on software and hardware are reduced and simplified, and the cost of chips and hardware can be reduced when selecting hardware.
[0035] 3. The technical solution provided by the present invention has standardized ambient light module signal list and ambient light module function definition, and has pixel control capability. Each LED of the interior ambient light can change synchronously or asynchronously, and can be controlled freely. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0037] Figure 1 It is a schematic diagram of the system architecture of the existing atmosphere light control system;
[0038] Figure 2 This is a schematic diagram of the system architecture of the multi-color ambient light control system provided by the embodiments of the present invention. Detailed implementation manners
[0039] It should be noted that the following detailed descriptions are all exemplary and are intended to provide further descriptions of the present invention. Unless otherwise specified, all technical and scientific terms used in the present invention have the same meanings as those commonly understood by those of ordinary skill in the technical field to which the present invention belongs.
[0040] Without conflict, the embodiments in the present invention and the features in the embodiments can be combined with each other.
[0041] Embodiment 1
[0042] Existing ambient light control relies on an audio parsing chip installed in the ambient light control for audio parsing. The music rhythm effect is limited, it occupies a large amount of communication bandwidth and has a high cost. Therefore, this embodiment provides a multi-color ambient light control system that performs audio parsing on the in-vehicle host and only needs to transmit the parsed signal. At the same time, it can perform pixelized control on the ambient light.
[0043] Next, in combination with Figure 1 - Figure 2 a multi-color ambient light control system disclosed in this embodiment will be described in detail.
[0044] The multi-color ambient light control system includes an in-vehicle host, an ambient light controller, and an ambient light module. The ambient light module includes a static ambient light module and a dynamic ambient light module. The in-vehicle host is communicatively connected to the ambient light controller through a CAN bus. The ambient light controller is communicatively connected to the dynamic ambient light module through a private CAN line. The ambient light controller is communicatively connected to the static ambient light module through a private LIN line. The user selects the on / off state of the ambient light through the ambient light soft switch. If it is on, the in-vehicle host responds to the triggered ambient light switch state by the user, performs audio parsing on the music signal, and determines the music parsing signal. The ambient light controller obtains the ambient light switch state and the music parsing signal, determines the functional state of the ambient light according to the ambient light switch state, such as function switching, turning on, turning off. According to the music parsing signal, it determines the action state of the ambient light and generates an ambient light control instruction. The ambient light module obtains the ambient light control instruction and controls each ambient light according to the ambient light control instruction.
[0045] Here, the in-vehicle host is also called the in-vehicle multimedia host ICC, and the ambient light controller is also called the independent ambient light system module. The dynamic ambient light module refers to an ambient light module with multiple LEDs, and there is a dynamic effect in which the LEDs in the module show different states at the same time in its functions. The definition of the static ambient light is opposite to that of the dynamic ambient light. The LEDs in the same module can only show the same effect at the same time without difference.
[0046] In this embodiment, the audio parsing function in the ambient light controller is transferred to the in-vehicle host. Utilizing the more powerful hardware of the host, there is room for improvement in music parsing ability; it can more accurately judge music information such as beats, frequencies, and music styles, simplify the transmission of music signals, reduce the occupancy of communication bandwidth, and avoid the situation of occupying a large amount of communication bandwidth for transmitting complete music signals. At the same time, there is no need to configure an audio parsing chip and function in the ambient light controller, effectively reducing costs.
[0047] The music parsing signal includes music beats, music frequencies, and music styles. Further, the in-vehicle host performs audio parsing on the music signal. The specific process of determining the music parsing signal is as follows:
[0048] Step 1: Obtain the audio signal of the playing music signal from the in-vehicle host, and perform pre-emphasis, framing, and windowing in sequence.
[0049] In this embodiment, the sampling rate can be 44.1 kHz or 48 kHz, and the data format is 16-bit PCM or floating-point type.
[0050] Specifically, the calculation process of pre-emphasizing the audio signal is expressed as:
[0051] x(n)′ = x(n) - αx(n - 1);
[0052] In the formula, x(n) represents the nth frame of the audio signal, x(n - 1) represents the (n - 1)th frame of the audio signal, α represents the weighting coefficient, α ∈ [0.9, 1.0], and is usually 0.97.
[0053] Based on the above pre-emphasis, the high-frequency components can be enhanced to compensate for the high-frequency attenuation in signal transmission.
[0054] Frame the pre-emphasized signal with a frame length of 20 - 40 ms and a frame shift of 10 ms, and multiply each frame of the framed data by a Hanning window to suppress spectral leakage. The formula of the Hanning window is expressed as:
[0055]
[0056] In the formula, N represents the frame length.
[0057] Step 2: Perform short-time energy analysis on the preprocessed audio signal and extract spectral flux. Based on the comparison result with a preset threshold, determine the music beats.
[0058] Specifically, first, calculate the energy of each frame of the audio signal to detect the energy sudden increase points. The energy E is expressed as:
[0059]
[0060] Where x″(n) represents the nth frame of audio signal after preprocessing.
[0061] Then, perform a fast Fourier transform on the preprocessed audio signal to calculate the spectral flux SF t ; The spectral flux SF t is expressed as:
[0062]
[0063] Where X t [k] represents the FFT magnitude spectrum of the tth frame. The higher the spectral flux value, the greater the likelihood of a beat.
[0064] Finally, if the spectral flux or energy of the current frame exceeds a preset threshold, it is marked as a candidate beat point.
[0065] Step 3: Divide the frequency bands of the audio signal after FFT to determine the low-frequency band, mid-frequency band, and high-frequency band.
[0066] Step 4: Extract the MFCC features and spectral centroid of the preprocessed audio signal and input them into the trained style classification model to determine the music style.
[0067] Here, the spectral centroid is expressed as:
[0068]
[0069] In this embodiment, the style classification model is a trained CNN network. A training set is constructed by collecting the MFCC features and spectral centroid of a large amount of music data and annotating the corresponding music styles. The CNN network is trained through the training set to obtain a style classification model for music style classification.
[0070] Furthermore, according to the music analysis signal, determining the action state of the atmosphere light is specifically as follows:
[0071] First, according to the music style, determine the main color of the atmosphere light module; for example, if the music style is rock, the main color of the atmosphere light module is red; then, control the atmosphere light of the corresponding color according to the frequency band. For example, the low-frequency band (drumbeat) controls the color of the lamp group to change in the red gradient area, and the high-frequency band (cymbal) controls the color of the lamp group to change in the blue gradient area; at the same time, convert the energy of the frequency band into the PWM duty cycle to control the LED brightness. The higher the energy, the stronger the brightness. During this process, an instantaneous brightness peak is triggered at the beat point, and a smooth gradient is used in the non-beat interval.
[0072] Further, when the ambient light controller controls the subordinate ambient light modules, the signal list is directly set to the PWM value signals of individual brightness, red, green, and blue, as shown in Table 1. Each ambient light in the ambient light module has a unique ID value, and each ambient light can be controlled individually, that is, the vehicle's ambient light pixel control ability can be achieved, and the maximum design freedom can be obtained for the vehicle's ambient light dynamic effects. At the same time, the requirements for software and hardware of the ambient light module are reduced and simplified, and the costs of chips and hardware can be reduced during hardware selection.
[0073] Table 1 Ambient Light Module Color Brightness Control Signal List
[0074] Signal Name Signal Size Minimum Maximum Brightness Definition Signal 8 0 255 Color Definition - Red PWM Signal 8 0 255 Color Definition - Green PWM Signal 8 0 255 Color Definition - Blue PWM Signal 8 0 255
[0075] Embodiment 2
[0076] This embodiment discloses a multi-color ambient light control method, including:
[0077] The in-vehicle host responds to the ambient light switch state triggered by the user, performs audio analysis on the music signal, determines the music analysis signal, and sends it to the ambient light controller;
[0078] The ambient light controller receives the ambient light switch state and the music analysis signal, determines the ambient light action state according to the ambient light switch state and the music analysis signal, generates an ambient light control instruction, and sends it to the ambient light module;
[0079] The ambient light module obtains the ambient light control instruction and controls each ambient light according to the ambient light control instruction.
[0080] It can be understood that the above multi-color ambient light control method and the foregoing multi-color ambient light control system have the same inventive concept and the same implementation manner, which will not be elaborated here.
[0081] Embodiment 3
[0082] Based on the above multi-color ambient light control system, this embodiment provides a vehicle in which the above multi-color ambient light control system described in the above embodiment is provided. Since the above multi-color ambient light control system has the above technical effects, the technical effects of the vehicle using the above multi-color ambient light control system can refer to the above embodiment.
[0083] In the above embodiments, the descriptions of each embodiment have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0084] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A multi-color ambient light control system, characterized in that, Comprising: A vehicle-mounted host, which is used to respond to the ambient light switch state triggered by the user, perform audio analysis on the music signal, and determine the music analysis signal; An ambient light controller, which is used to obtain the ambient light switch state and the music analysis signal, and determine the ambient light action state and generate an ambient light control instruction according to the music analysis signal; An ambient light module, which is used to obtain the ambient light control instruction and control each ambient light according to the ambient light control instruction.
2. The multi-color atmosphere light control system according to claim 1, wherein The performing audio analysis on the music signal to determine the music analysis signal includes: Performing short-time energy analysis on the music signal and extracting spectral flux, and determining the music beat based on the comparison result between the energy or spectral flux and a preset threshold; Dividing the frequency band of the music signal, where the frequency band includes low frequency, medium frequency and high frequency; Extracting the MFCC features and spectral centroid of the music signal, and processing the MFCC features and spectral centroid through a trained style classification model to determine the music style.
3. The multi-color ambient light control system according to claim 1, characterized in that, The determining the ambient light action state according to the music analysis signal includes: Determining the main color tone of the ambient light module according to the music style; Starting the ambient light of the corresponding color and performing brightness control according to the music frequency and the corresponding energy; Triggering the instantaneous brightness peak of the ambient light according to the music beat.
4. The multi-color ambient light control system according to claim 1, characterized in that, The ambient light module includes a static ambient light module and a dynamic ambient light module.
5. The multi-color ambient light control system according to claim 4, wherein, The ambient light controller is communicatively connected to the dynamic ambient light module through a private CAN line, and the ambient light controller is communicatively connected to the static ambient light module through a private LIN line.
6. The multi-color ambient light control system according to claim 1, characterized in that, Each ambient light in the ambient light module has a unique ID value.
7. The multi-color ambient light control system according to claim 1, characterized in that, The music analysis signal includes music beat, music frequency and music style.
8. The multi-color ambient light control system according to claim 1, wherein The ambient light control instruction includes a brightness PWM signal, a red PWM signal, a green PWM signal and a blue PWM signal corresponding to the ambient light ID value.
9. A method for controlling a multi-color ambient light, characterized in that, Comprising: The vehicle-mounted host responds to the ambient light switch state triggered by the user, performs audio analysis on the music signal, determines the music analysis signal and sends it to the ambient light controller; The ambient light controller receives the ambient light switch state and the music analysis signal, determines the ambient light action state according to the music analysis signal, generates the ambient light control instruction and sends it to the ambient light module; The ambient light module obtains the ambient light control instruction and controls each ambient light according to the ambient light control instruction.
10. A vehicle, characterized in that, The vehicle includes the multi-color ambient light control system according to any one of claims 1-8.