CN115742949B - Music rhythm atmosphere lamp and vehicle - Google Patents

Music rhythm atmosphere lamp and vehicle Download PDF

Info

Publication number
CN115742949B
CN115742949B CN202211507431.8A CN202211507431A CN115742949B CN 115742949 B CN115742949 B CN 115742949B CN 202211507431 A CN202211507431 A CN 202211507431A CN 115742949 B CN115742949 B CN 115742949B
Authority
CN
China
Prior art keywords
atmosphere lamp
rhythm
pin
master node
lin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211507431.8A
Other languages
Chinese (zh)
Other versions
CN115742949A (en
Inventor
刘高吉
周文华
唐海
毛国军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202211507431.8A priority Critical patent/CN115742949B/en
Publication of CN115742949A publication Critical patent/CN115742949A/en
Application granted granted Critical
Publication of CN115742949B publication Critical patent/CN115742949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention discloses a music rhythm atmosphere lamp and a vehicle, comprising a vehicle machine and a screen, a vehicle body control unit, a master node atmosphere lamp, a slave node atmosphere lamp and a power amplifier; the vehicle machine and the screen transmit color, brightness, volume and music rhythm starting signals to the vehicle body control unit through the CAN line; the vehicle body control unit converts the CAN signal into an LIN signal and transmits the LIN signal to the master node atmosphere lamp; the power amplifier inputs the audio frequency full-frequency signal to the master node atmosphere lamp; the master node atmosphere lamp processes LIN signals output by the vehicle body control unit and audio full-frequency signals output by the power amplifier and then controls the color and brightness change of each LED lamp, and meanwhile the master node atmosphere lamp transmits the processed signals to each slave node atmosphere lamp through an LIN line, and each slave node atmosphere lamp controls the color and brightness change of each LED lamp according to the received signals. The invention can control the color and brightness change of each LED lamp according to the received signal.

Description

Music rhythm atmosphere lamp and vehicle
Technical Field
The invention belongs to the technical field of atmosphere lamps, and particularly relates to a music rhythm atmosphere lamp and a vehicle.
Background
In recent years, the use of an atmosphere lamp as a novel lamp species in automotive interiors is increasing, attention of consumers is being paid, the atmosphere lamp is a new pet in the market, the automotive atmosphere lamp is an illuminating lamp with a decorative effect, the lighting effect of the atmosphere lamp can improve the overall taste of the interiors, and a science, technology and fashion sense is created.
An atmosphere lamp control method, an audio transmission device, an atmosphere lamp controller and a vehicle disclosed in patent document CN111605478 a. The control method of the atmosphere lamp is to develop a controller independently to collect the audio signals, and has the problem of high cost. Meanwhile, the control method of the atmosphere lamp is that audio signals are extracted from the horn end, but the horn is divided into high-low sound horns, the corresponding audio signals have certain difference, the duty ratio of high-low sound of different songs is different, and if only high sound or low sound is extracted, the high sound or the low sound is distorted with the original song. The control of the atmosphere lamp adopts a single lamp cap to realize music rhythm by changing brightness, and the effect is single. In addition, the control method does not perform temperature compensation on the LED lamp.
An atmosphere lamp control device for a vehicle and an automobile are disclosed in patent document CN202121402468.5, and relate to the technical field of automobiles. The device only has a single LED lamp, and only has bright color and color change. In addition, the control method does not perform temperature compensation on the LED lamp.
Therefore, there is a need to develop a new musical rhythm atmosphere lamp and vehicle.
Disclosure of Invention
The invention aims to provide a music rhythm atmosphere lamp and a vehicle, wherein each atmosphere lamp can control the color and brightness change of each LED lamp according to a received signal.
In a first aspect, the invention provides a music rhythm atmosphere lamp, which comprises a vehicle machine, a screen, a vehicle body control unit, a master node atmosphere lamp, a slave node atmosphere lamp and a power amplifier;
The vehicle body control unit and the power amplifier are respectively connected with the vehicle body control unit and the power amplifier;
the master node atmosphere lamp is respectively connected with the vehicle body control unit, the slave node atmosphere lamp and the power amplifier;
the vehicle machine and the screen transmit color, brightness, volume and music rhythm starting signals to the vehicle body control unit through the CAN line;
The vehicle body control unit converts the CAN signal into an LIN signal and transmits the LIN signal to the master node atmosphere lamp;
the power amplifier inputs the audio full-frequency signal to the master node atmosphere lamp;
The master node atmosphere lamp processes LIN signals output by the vehicle body control unit and audio full-frequency signals output by the power amplifier and then controls the color and brightness change of each LED lamp, and meanwhile, the master node atmosphere lamp transmits the processed signals to each slave node atmosphere lamp through an LIN line, and each slave node atmosphere lamp controls the color and brightness change of each LED lamp according to the received signals.
Optionally, the control part of the master node atmosphere lamp comprises a connector, an MCU, a LIN transceiver chip, a MOS tube Q1 and a triode Q2; the pin 7 of the connector is connected with the pin 4 of the LIN transceiver chip, the pin 5 and the pin 6 of the LIN transceiver chip are respectively connected with the pin 17 and the pin 16 of the MCU correspondingly, the pin 36 of the MCU is connected with the base electrode of the triode Q2, and the collector electrode of the triode Q2 is connected with the pin 1 of the MOS tube Q1; the pin 7 of the connector inputs LIN signals to the pin 4 of the LIN transceiver chip, signals are input to the pin 17 and the pin 16 of the MCU through the pin 5 and the pin 6 of the LIN transceiver chip, the MCU is awakened according to signal information at the moment, the pin 36 of the MCU outputs current signals to the base electrode of the triode Q2, the triode Q2 is conducted through current, the voltage of the collector electrode of the triode Q2 is pulled down, the pin 1 and the pin 3 of the MOS tube Q1 form differential pressure, the MOS tube Q1 is conducted, and the pin 2 and the pin 4 of the MOS tube Q1 output VBAT OUT voltage to the pin 2 of the connector; if the 7-pin LIN signal interruption of the connector does not meet the wake-up condition, the MOS transistor Q1 does not output voltage.
Optionally, the master node atmosphere lamp collects an audio full-frequency signal output by the power amplifier, and the sampling frequency fs is 2 times greater than the highest frequency fmax in the signal; when the sampling frequency fs is greater than 2 times of the highest frequency fmax in the signal, the sampled digital signal completely retains the information in the original signal, so that the matching degree of the music rhythm effect of the atmosphere lamp and music is improved, for example, if the sampling frequency fs is not set to be greater than 2 times of the highest frequency fmax in the signal, part of the signal can be lost, the signal is the high-pitched part of the signal of the music, the rhythm of the atmosphere lamp is not climax when the music is high-pitched, and the mismatching degree presented in this way reduces the experience of a user;
And the MCU of the master node atmosphere lamp performs FFT conversion on the acquired signals, calculates frequency domain energy after the FFT conversion, and converts the frequency domain energy information of the song into a rhythm intensity value.
Optionally, the master node atmosphere lamp is lighted according to the fixed monochromatic color of the monochromatic value input by the LIN line, and sequentially lighted according to the polychromatic value input by the LIN line and the preset multiple color sequence.
Optionally, the master node atmosphere lamp receives a fixed brightness value and a flowing water music rhythm signal input by the LIN line, and controls the number of the lighted LED lamps according to the rhythm intensity value of the flowing water music rhythm signal currently input, the larger the rhythm intensity value is, the more the number of the lighted LED lamps is, and the brightness of the lighted LED lamps is executed according to the fixed brightness value, thereby realizing the flowing water music rhythm effect.
Optionally, the master node atmosphere lamp receives the breathing music rhythm signal input by the LIN line, and controls the brightness values of all the LED lamps according to the rhythm intensity value of the currently input breathing music rhythm signal, wherein the larger the rhythm intensity value is, the larger the brightness value of the LED lamps is; thereby realizing breathing music rhythm effect.
Optionally, the master node atmosphere lamp receives LIN line input with fixed brightness value and horse race music rhythm signal, and lights the LED lamp according to the brightness value, and controls the running water speed of the LED lamp according to the rhythm intensity value of the horse race music rhythm signal, and the running water speed of each LED lamp is faster as the rhythm intensity value is larger; thereby realizing the effect of the horse race music rhythm.
Optionally, the whole vehicle volume value is divided into 1 to 20 gears, the first 10 gears with better effect are selected according to the real vehicle, the master node atmosphere lamp can multiply the corresponding rhythm intensity values of the rest volume values by the corresponding compensation coefficients in sequence according to the volume values input by the real vehicle and the LIN line, so that the rhythm intensity value of each volume gear is consistent with the rhythm intensity values of the 10 gears with better effect, and then the compensation coefficients of the music rhythm of each mode are recorded in the master node atmosphere lamp.
Optionally, the master node atmosphere lamp and the slave node atmosphere lamp realize the control of the brightness and the color of each LED lamp through a light mixing algorithm and PWM control;
And parameter tables of temperature, color and brightness are preset in the master node atmosphere lamp and the slave node atmosphere lamp, and the color and brightness of each temperature LED lamp are compensated to 25 degrees according to the preset parameter tables of temperature, color and brightness.
In a second aspect, the invention provides a vehicle employing a musical rhythm atmosphere lamp as described in the invention
The invention has the following advantages:
1. The invention directly integrates the control chip on the master node atmosphere lamp to collect the audio signal, and has great advantage in cost.
2. The MCU and the MOS tube with the LIN transceiver chip are added, and all slave node atmosphere lamp power supplies of the whole vehicle are controlled by the master node atmosphere lamp, so that no matter how much atmosphere lamps of the whole vehicle are, only the master node atmosphere lamp has 0.1mA dark current, the quantity of the dark current is greatly reduced under the background that the atmosphere lamps are increased, the capacity of a storage battery is saved, and meanwhile, the effect of saving the cost is achieved.
3. The invention is a full-frequency signal extracted from the power amplification end, and the full-frequency signal contains all signals of high and low tones, so that the extracted signal is more complete, the calculated frequency domain energy after FFT conversion is matched with the original song, and the music rhythm effect of the atmosphere lamp is naturally best matched.
4. The invention provides that the sampling frequency fs of the ADC pin of the master node atmosphere lamp is 2 times greater than the highest frequency fmax in the signal, the sampled digital signal completely retains the information in the original signal, and the music effect of the atmosphere lamp is ensured to be matched with songs.
5. The invention has a plurality of lamp heads, besides the brightness change, the flowing water, breathing and horse race music rhythm effects are also provided, and after combination, the lamp heads can have a plurality of effects for the selection of customers, thereby greatly improving the experience of the customers.
6. The invention compensates the volume, and the real vehicle calibrates the compensation coefficient of the intensity value of the rhythm corresponding to each volume, thereby improving the matching precision of the brightness and the running water speed and the intensity value of the rhythm and greatly improving the perception of the customer.
7. According to the invention, the parameter table of the color and the temperature of the LED lamp is calibrated in advance, and then the color compensation of each temperature is consistent with the color at 25 degrees through the parameter entry chip, so that the customer complains of the color change caused by the temperature change is avoided.
In summary, according to the music rhythm atmosphere lamp provided by the embodiment of the invention, the master node atmosphere lamp 3 is used for collecting the brightness, the color, the music rhythm type and the frequency which is 2 times that of the master node atmosphere lamp to collect the audio full-frequency signal, and the brightness and the horse race speed of the atmosphere lamp LEDs are compensated according to the current volume, so that the effect of the atmosphere lamp is greatly improved, and the customer perception degree is improved. The master node atmosphere lamp 3 replaces an atmosphere lamp controller, and parts of the atmosphere lamp controller are reduced, so that the cost is greatly saved, and the competitiveness of the whole vehicle is improved. The temperature compensation controls the colors of the temperatures of the LED lamps within the standard, so that the temperature drift problem is solved, and the risk of customer complaints is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic block diagram of the musical rhythm atmosphere lamp in the present embodiment;
FIG. 2 is a flow chart of the musical rhythm atmosphere lamp in the present embodiment;
FIG. 3 is a schematic diagram of the power supply of the music rhythm atmosphere lamp in the present embodiment;
FIG. 4 is a table showing the color and temperature of the LED lamp according to the present embodiment;
Fig. 5 is a schematic diagram showing effects before and after music volume compensation in the present embodiment;
in the figure: 1. the vehicle body control system comprises a vehicle body control unit, a vehicle screen, a vehicle body control unit, a master node atmosphere lamp, a slave node atmosphere lamp, a power amplifier and a power amplifier.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings.
As shown in fig. 1, in this embodiment, a music rhythm atmosphere lamp includes a vehicle body control unit 2, a master node atmosphere lamp 3, a slave node atmosphere lamp 4 and a power amplifier 5; the vehicle body control unit 2 and the power amplifier 5 are respectively connected with the vehicle body control unit and the screen 1; the master node atmosphere lamp 3 is respectively connected with the vehicle body control unit 2, the slave node atmosphere lamp 4 and the power amplifier 5; the vehicle machine and the screen 1 transmit color, brightness, volume and music rhythm starting signals to a vehicle body control unit through a CAN line; the vehicle body control unit 2 converts the CAN signal into a LIN signal and transmits the LIN signal to the master node atmosphere lamp 3; the power amplifier 5 inputs the audio full-frequency signal to the master node atmosphere lamp 3; the master node atmosphere lamp 3 processes the LIN signal output by the vehicle body control unit 2 and the audio full-frequency signal output by the power amplifier 5, and then controls the color and brightness change of each LED lamp, meanwhile, the master node atmosphere lamp 3 transmits the processed signal to each slave node atmosphere lamp 4 through the LIN line, and each slave node atmosphere lamp 4 controls the color and brightness change of each LED lamp according to the received signal.
In the embodiment, the color is set in the vehicle machine, the client has single color or multiple colors, and the DIY experience of the client is strong.
As shown in fig. 3, in this embodiment, the control part of the master node atmosphere lamp 3 includes a connector, an MCU, a LIN transceiver chip, a MOS transistor Q1 and a triode Q2; the pin 7 of the connector is connected with the pin 4 of the LIN transceiver chip, the pin 5 and the pin 6 of the LIN transceiver chip are respectively connected with the pin 17 and the pin 16 of the MCU correspondingly, the pin 36 of the MCU is connected with the base electrode of the triode Q2, and the collector electrode of the triode Q2 is connected with the pin 1 of the MOS tube Q1; the pin 7 of the connector inputs LIN signals to the pin 4 of the LIN transceiver chip, signals are input to the pin 17 and the pin 16 of the MCU through the pin 5 and the pin 6 of the LIN transceiver chip, the MCU is awakened according to signal information at the moment, the pin 36 of the MCU outputs current signals to the base electrode of the triode Q2, the triode Q2 is conducted through current, the voltage of the collector electrode of the triode Q2 is pulled down, the pin 1 and the pin 3 of the MOS tube Q1 form differential pressure, the MOS tube Q1 is conducted, and the pin 2 and the pin 4 of the MOS tube Q1 output VBAT OUT voltage to the pin 2 of the connector; if the 7-pin LIN signal interruption of the connector does not meet the wake-up condition, the MOS transistor Q1 does not output voltage.
In this embodiment, the master node atmosphere lamp 3 is added with one MCU compared with the slave node atmosphere lamp 4. The MCU is mainly connected with a power supply and the LIN transceiver chip and leads out an ADC pin. The MCU is connected with a power supply and is matched with the LIN transceiver to control the on and off of the power supply of all slave node atmosphere lamps 4 through the MOS tube Q1, so that the atmosphere lamps of all the nodes of the whole vehicle only need dark current of the master node atmosphere lamp 3. The ADC pin collects the audio frequency full-frequency signal output by the power amplifier 5.
In this embodiment, the power amplifier 5 inputs an audio full-frequency signal to the master node atmosphere lamp 3 through an audio line. The master node atmosphere lamp 3 processes the LIN signal and the audio full-frequency signal input by the power amplifier and then controls the color and brightness change of each LED lamp so as to achieve the set effect.
In this embodiment, the sampling frequency fs of the ADC pin of the master node atmosphere lamp 3 is greater than 2 times of the highest frequency fmax in the signal, when the sampling frequency fs is greater than 2 times of the highest frequency fmax in the signal, the sampled digital signal completely retains the information in the original signal, so as to improve the matching degree of the music rhythm effect of the atmosphere lamp with music, for example, if the sampling frequency fs is not set to be greater than 2 times of the highest frequency fmax in the signal, a part of the signal may be lost, the signal is the high-pitched part of the signal of the music, the rhythm of the atmosphere lamp is not climax when the music is the high-pitched, and the mismatching degree presented in this way reduces the experience of the user;
In this embodiment, the MCU performs FFT conversion after ADC sampling, calculates frequency domain energy after FFT conversion, and converts the frequency domain energy information of the song into a rhythm intensity value.
In this embodiment, the master node atmosphere lamp 3 is turned on by fixing a single color according to the single color value input by the LIN line; if the input polychromatic values are lighted up in sequence according to the preset sequence of multiple colors.
In this embodiment, the master node atmosphere lamp 3 receives the fixed luminance value and the flowing water music rhythm signal input by the LIN line, and controls the number of the turned-on LED lamps according to the rhythm intensity value of the flowing water music rhythm signal currently input, and the larger the rhythm intensity value is, the more the number of the turned-on LED lamps is, and the luminance of the turned-on LED lamps is executed according to the fixed luminance value, thereby realizing the flowing water music rhythm effect.
In this embodiment, the master node atmosphere lamp 3 receives the breathing music rhythm signal input by the LIN line, and controls the brightness values of all the LED lamps according to the rhythm intensity values of the currently input breathing music rhythm signal, so that the greater the rhythm intensity value is, the greater the brightness value of the LED lamp is, thereby realizing the breathing music rhythm effect.
In this embodiment, the master node atmosphere lamp 3 receives the LIN line input fixed brightness value and the horse race music rhythm signal, and lights a plurality of (for example, 3, but other quantity of) LED lamps according to the brightness value, and controls the running water speed of each LED lamp according to the rhythm intensity value, the greater the rhythm intensity value, the faster the running water speed of each LED lamp, thereby realizing the horse race music rhythm effect.
In this embodiment, since the frequency domain energy of the music song is related to the volume, the intensity value of the music is larger as the volume is larger, and the effect of the music is poor when the volume is too large or too small. Taking a flowing type music rhythm as an example, the range of the rhythmic movement of the atmosphere lamp is a fixed value (for example, 15 lamps), and the limited range of the rhythmic movement of the atmosphere lamp is matched with an infinite intensity value of the rhythmic movement, so that the effect of perception of a user is poor due to too large volume or too small music rhythmic movement range when the volume is too small, and the effect before specific compensation is shown in fig. 5.
In this embodiment, the volume value of the whole vehicle is 1 to 20, and according to the gear 10 with the best effect selected by the real vehicle, the master node atmosphere lamp 3 sequentially multiplies the pulse intensity value corresponding to the rest volume values by the compensation coefficient according to the volume values input by the real vehicle and the LIN line, so as to ensure that the pulse intensity value of each volume gear is consistent with the pulse intensity value of the gear 10. And then the compensation coefficient of each mode music rhythm is recorded in the master node atmosphere lamp 3. Thereby ensuring the musical rhythm effect.
In this embodiment, the strategy of compensation is to multiply the converted pulse intensity value P of each power amplifier input under the volume by a coefficient K to obtain a pulse intensity value P '(formula: P' =p×k) compensated by the MCU and input to the driving chip. In order to solve the problem of ground noise of the whole car, the atmosphere lamp is set to have no music rhythm when the sound volume is not heard by the human ear, so the compensation coefficient K below the real car volume 6 (including 6) is set to be 1. The coefficient setting strategy from 7 to 20 is that the higher the gear is, the smaller the coefficient is, the lower the gear is, the larger the coefficient is, and the P value is increased along with the increase of the gear, so that the P' is only slightly increased along with the increase of the gear in the range from 7 to 20, the music rhythm effect of the atmosphere lamp can be well matched with music, the music rhythm range of the atmosphere lamp can also be changed along with the increase of the volume, the sense of stagnation brought to a user is avoided, and the effect after specific compensation is shown in figure 5. After the real vehicle is calibrated with parameters, the compensation coefficient of each mode music rhythm is recorded into the master node atmosphere lamp 3. Thereby ensuring the musical rhythm effect. Other types of music rhythms are brightness variations, LED light running speed variations, and problems and compensation strategies are the same as those of flowing water type music rhythms.
In this embodiment, the chips of the atmosphere lamps realize the brightness and color control of each LED lamp through the light mixing algorithm and PWM control. The color of the LED lamp can deviate along with the temperature change, so that a user with large temperature change can see the color change problem of the LED lamp. The driving chip of each atmosphere lamp is shown in fig. 4 through a preset temperature and color relation parameter diagram, color coordinates of three primary colors red, green and blue at each temperature are shown in fig. 4, and the chip compensates the color coordinates of other temperatures to be consistent with the color coordinates of 25 degrees through software, so that the color compensation of the LED lamps at each temperature to the color of 25 degrees is realized. Therefore, the problem that the color of the LED lamp is offset along with the temperature change is solved.
In the present embodiment, the master node atmosphere lamp 3 transmits signals to the slave node atmosphere lamp 4 through the LIN line at the same time. Each slave node atmosphere lamp controls the color and brightness change of each LED lamp through the chip according to the received rhythm intensity value, so that the set effect is achieved.
As shown in fig. 2, a music rhythm atmosphere lamp, the control flow is as follows:
S1, supplying power to a vehicle body and screen 1, a vehicle body control unit (BCM) 2 and a master node atmosphere lamp 3 when the whole vehicle is electrified, starting the vehicle body and screen 1, and initializing the master node atmosphere lamp 3.
S2: the user sets up atmosphere lamp on car machine and screen 1, if: the choice of 64 colors, single or multiple colors. Whether the music rhythm is on or not, the type of the music rhythm is set, the current volume and brightness value of the whole vehicle and the like, and then a CAN signal is transmitted to the vehicle body control unit 2 through a CAN line.
S3: the vehicle body control unit 2 converts the CAN signal into a LIN signal and transmits the LIN signal to the LIN bus via a LIN line.
S4: the LIN bus judges whether the LIN signal can be awakened according to the LIN signal in step S3, if so, the master node atmosphere lamp 3 starts to initialize and completes, otherwise, the master node atmosphere lamp continues to wait.
S5, judging whether LIN in the MCU is interrupted or not, if yes, entering a step S7, and if not, continuing to wait.
S6, completing the dispatching of the task stack in the MCU; and outputs VBAT-OUT to slave node atmosphere lamp 4 via the hard wire of master node atmosphere lamp 3.
S7, the LIN IN chip inputs the LIN message to the MCU; the MCU starts the LIN Slave task.
And S8, transmitting the audio full-frequency signal to the master node atmosphere lamp 3 through an audio line by the power amplifier 5, wherein the sampling frequency fs of an ADC pin of the master node atmosphere lamp 3 is 2 times greater than the highest frequency fmax in the signal, the sampled digital signal completely retains the information in the original signal, the MCU performs FFT conversion after the ADC sampling, calculates frequency domain energy after the FFT conversion, and converts the frequency domain energy information into a rhythm intensity value according to the frequency domain energy information of the song. The MCU performs the following processing according to the information input by the LIN signal:
1. A fixed monochromatic color is lighted according to the monochromatic value input by the LIN line; if the input polychromatic values are lighted up in sequence according to the preset sequence of multiple colors.
2. The fixed brightness value and the flowing water music rhythm signal input by the LIN line control the number of the LED lamps to be lightened according to the rhythm intensity value of the flowing water music rhythm signal input currently, the larger the rhythm intensity value is, the more the number of the LED lamps to be lightened is, and the brightness of the lightened LED lamps is executed according to the fixed brightness value, so that the flowing water music rhythm effect is realized.
3. The respiratory music rhythm signal input by the LIN line controls the brightness value of all the LED lamps according to the rhythm intensity value of the respiratory music rhythm signal input currently, and the brightness value of the LED lamps is larger as the rhythm intensity value is larger, so that the respiratory music rhythm effect is realized.
4. The LIN line inputs a fixed brightness value and a horse race music rhythm signal, 3 (but other quantity) LED lamps are lightened according to the brightness value, the running water speed of the 3 LED lamps is controlled according to the rhythm intensity value of the horse race music rhythm signal, the higher the rhythm intensity value is, the faster the running water speed of each LED lamp is, and therefore the horse race music rhythm effect is achieved.
S9: the MCU compensates different types of music rhythm intensity values according to the relation between the volume input by the LIN line and the calibrated compensation coefficient and the volume in the earlier stage; the specific compensation parameters are as follows:
when the type of the music rhythm pattern is a flowing music rhythm, the master node atmosphere lamp 3 acquires the current volume from the car machine and the screen 1:
When the volume is 1, multiplying the rhythm intensity value by a compensation coefficient 1;
when the volume is 2, multiplying the rhythm intensity value by a compensation coefficient 1;
when the volume is 3, multiplying the rhythm intensity value by a compensation coefficient 1;
when the volume is 4, multiplying the rhythm intensity value by a compensation coefficient 1;
When the volume is 5, multiplying the rhythm intensity value by a compensation coefficient 1;
When the volume is 6, the rhythm intensity value is multiplied by a compensation coefficient 1;
when the volume is 7, the pulse intensity value is multiplied by the compensation coefficient 192;
When the volume is 8, the pulse intensity value is multiplied by the compensation coefficient 192;
when the volume is 9, the pulse intensity value is multiplied by the compensation coefficient 192;
when the volume is 10, the pulse intensity value is multiplied by the compensation coefficient 192;
When the volume is 11, the pulse intensity value is multiplied by the compensation coefficient 120;
When the volume is 12, the intensity value of the rhythm is multiplied by a compensation coefficient 90;
when the volume is 13, the intensity value of the rhythm is multiplied by a compensation coefficient 70;
when the volume is 14, the intensity value of the rhythm is multiplied by a compensation coefficient 60;
When the volume is 15, the intensity value of the rhythm is multiplied by a compensation coefficient 50;
when the volume is 16, the intensity value of the rhythm is multiplied by a compensation coefficient 45;
When the volume is 17, the intensity value of the rhythm is multiplied by the compensation coefficient 43;
When the volume is 18, the intensity value of the rhythm is multiplied by a compensation coefficient 35;
when the volume is 19, the intensity value of the rhythm is multiplied by a compensation coefficient 28;
when the volume is 20, the intensity value of the rhythm is multiplied by a compensation coefficient 23;
When the music rhythm pattern type is breathing music rhythm, the master node atmosphere lamp 3 acquires the current volume from the car machine and the screen 1:
When the volume is 1, multiplying the rhythm intensity value by a compensation coefficient 1;
when the volume is 2, multiplying the rhythm intensity value by a compensation coefficient 1;
when the volume is 3, multiplying the rhythm intensity value by a compensation coefficient 1;
when the volume is 4, multiplying the rhythm intensity value by a compensation coefficient 1;
When the volume is 5, multiplying the rhythm intensity value by a compensation coefficient 1;
When the volume is 6, the rhythm intensity value is multiplied by a compensation coefficient 1;
when the volume is 7, the pulse intensity value is multiplied by the compensation coefficient 192;
When the volume is 8, the pulse intensity value is multiplied by the compensation coefficient 192;
when the volume is 9, the pulse intensity value is multiplied by the compensation coefficient 192;
when the volume is 10, the pulse intensity value is multiplied by the compensation coefficient 168;
when the volume is 11, the intensity value of the rhythm is multiplied by a compensation coefficient 100;
When the volume is 12, the intensity value of the rhythm is multiplied by a compensation coefficient 80;
When the volume is 13, the intensity value of the rhythm is multiplied by a compensation coefficient 60;
when the volume is 14, the intensity value of the rhythm is multiplied by a compensation coefficient 50;
when the volume is 15, the intensity value of the rhythm is multiplied by a compensation coefficient 40;
when the volume is 16, the intensity value of the rhythm is multiplied by a compensation coefficient 35;
when the volume is 17, the intensity value of the rhythm is multiplied by a compensation coefficient 30;
When the volume is 18, the pulse intensity value is multiplied by the compensation coefficient 28;
when the volume is 19, the intensity value of the rhythm is multiplied by a compensation coefficient 25;
when the volume is 20, the intensity value of the rhythm is multiplied by a compensation coefficient 20;
When the type of music rhythm is horse race music rhythm, the master node atmosphere lamp 3 acquires the current volume from the car machine and the screen 1:
When the volume is 1, multiplying the rhythm intensity value by a compensation coefficient 1;
when the volume is 2, multiplying the rhythm intensity value by a compensation coefficient 1;
when the volume is 3, multiplying the rhythm intensity value by a compensation coefficient 1;
when the volume is 4, multiplying the rhythm intensity value by a compensation coefficient 1;
When the volume is 5, multiplying the rhythm intensity value by a compensation coefficient 1;
When the volume is 6, the rhythm intensity value is multiplied by a compensation coefficient 1;
when the volume is 7, the pulse intensity value is multiplied by the compensation coefficient 192;
When the volume is 8, the pulse intensity value is multiplied by the compensation coefficient 192;
when the volume is 9, the pulse intensity value is multiplied by the compensation coefficient 168;
when the volume is 10, the pulse intensity value is multiplied by the compensation coefficient 120;
when the volume is 11, the intensity value of the rhythm is multiplied by a compensation coefficient 100;
When the volume is 12, the intensity value of the rhythm is multiplied by a compensation coefficient 80;
when the volume is 13, the intensity value of the rhythm is multiplied by the compensation coefficient 65;
When the volume is 14, the intensity value of the rhythm is multiplied by a compensation coefficient 55;
When the volume is 15, the intensity value of the rhythm is multiplied by a compensation coefficient 50;
when the volume is 16, the intensity value of the rhythm is multiplied by a compensation coefficient 45;
When the volume is 17, the intensity value of the rhythm is multiplied by the compensation coefficient 43;
When the volume is 18, the intensity value of the rhythm is multiplied by a compensation coefficient 35;
when the volume is 19, the intensity value of the rhythm is multiplied by a compensation coefficient 28;
when the volume is 20, the intensity value of the rhythm is multiplied by a compensation coefficient 23;
And S10, the master node atmosphere lamp 3 transmits the rhythm intensity value compensated by the MCU to driving chips of the master node atmosphere lamp 3 and the slave node atmosphere lamp 4 through a LIN line. The driving chip starts the operation of the light mixing algorithm and the PWM control task. The light mixing algorithm and PWM control task is that the driving chip compiles software according to the color horseshoe diagram, and the setting of color and brightness is realized by setting different parameters of PWM value and duty ratio. Such as:
The color setting is to realize light mixing by setting PWM values of three channels of three primary colors RGB, for example: red PWM value: 255, respectively; 0;0; green PWM value: 0;255, respectively; 0; blue PWM value: 0;0;255, respectively; white PWM value: 255, respectively; 255, respectively; 255.
Brightness setting is achieved by adjusting the duty cycle of PWM, such as: the duty ratio is 0% when the luminance is 0, and 100% when the luminance is 100, for example.
S11: the driving chip of the master node atmosphere lamp 3 processes the task of a temperature compensation algorithm, reads the current ambient temperature according to the driving chip of the master node atmosphere lamp 3, and inputs parameters into the driving chip of the master node atmosphere lamp 3 according to the calibrated parameter table of the color and the temperature of the LED lamp, so that the color compensation of each temperature is consistent with the color at 25 degrees.
The driving chip of the slave node atmosphere lamp 4 processes a series of processes such as the operation of the light mixing algorithm and the PWM control task, the operation of the temperature compensation algorithm and the like, and the processes are consistent with the master node atmosphere lamp 3.
In summary, according to the music rhythm atmosphere lamp provided by the embodiment of the invention, the master node atmosphere lamp 3 is used for collecting the brightness, the color, the music rhythm type and the frequency which is 2 times that of the master node atmosphere lamp to collect the audio full-frequency signal, and the brightness and the horse race speed of the atmosphere lamp LEDs are compensated according to the current volume, so that the effect of the atmosphere lamp is greatly improved, and the customer perception degree is improved. The master node atmosphere lamp 3 replaces an atmosphere lamp controller, and parts of the atmosphere lamp controller are reduced, so that the cost is greatly saved, and the competitiveness of the whole vehicle is improved. The temperature compensation controls the colors of the temperatures of the LED lamps within the standard, so that the temperature drift problem is solved, and the risk of customer complaints is reduced.
The above examples are preferred embodiments of the present invention, but the embodiments of the present invention are not limited to the above examples, and any other changes, modifications, substitutions, combinations, and simplifications that do not depart from the spirit and principle of the present invention should be made in the equivalent manner, and the embodiments are included in the protection scope of the present invention.

Claims (9)

1. A musical rhythm atmosphere lamp, characterized in that: the intelligent automobile comprises an automobile body machine, a screen (1), an automobile body control unit (2), a master node atmosphere lamp (3), a slave node atmosphere lamp (4) and a power amplifier (5);
the vehicle body control unit (2) and the power amplifier (5) are respectively connected with the vehicle body control unit and the screen (1);
the master node atmosphere lamp (3) is respectively connected with the vehicle body control unit (2), the slave node atmosphere lamp (4) and the power amplifier (5);
The vehicle machine and the screen (1) transmit color, brightness, volume and music rhythm starting signals to a vehicle body control unit through a CAN line;
The vehicle body control unit (2) converts the CAN signal into an LIN signal and transmits the LIN signal to the master node atmosphere lamp (3);
The power amplifier (5) inputs the audio full-frequency signal to the master node atmosphere lamp (3);
The master node atmosphere lamp (3) processes LIN signals output by the vehicle body control unit (2) and audio full-frequency signals output by the power amplifier (5) and then controls the color and brightness changes of all the LED lamps, meanwhile, the master node atmosphere lamp (3) transmits the processed signals to all the slave node atmosphere lamps (4) through LIN lines, and all the slave node atmosphere lamps (4) control the color and brightness changes of all the LED lamps according to the received signals, wherein: the control part of the master node atmosphere lamp (3) comprises a connector, an MCU, a LIN transceiver chip, a MOS tube Q1 and a triode Q2; the pin 7 of the connector is connected with the pin 4 of the LIN transceiver chip, the pin 5 and the pin 6 of the LIN transceiver chip are respectively connected with the pin 17 and the pin 16 of the MCU correspondingly, the pin 36 of the MCU is connected with the base electrode of the triode Q2, and the collector electrode of the triode Q2 is connected with the pin 1 of the MOS tube Q1; the pin 7 of the connector inputs LIN signals to the pin 4 of the LIN transceiver chip, signals are input to the pin 17 and the pin 16 of the MCU through the pin 5 and the pin 6 of the LIN transceiver chip, the MCU is awakened according to signal information at the moment, the pin 36 of the MCU outputs current signals to the base electrode of the triode Q2, the triode Q2 is conducted through current, the voltage of the collector electrode of the triode Q2 is pulled down, the pin 1 and the pin 3 of the MOS tube Q1 form differential pressure, the MOS tube Q1 is conducted, and the pin 2 and the pin 4 of the MOS tube Q1 output VBAT OUT voltage to the pin 2 of the connector; if the 7-pin LIN signal interruption of the connector does not meet the wake-up condition, the MOS transistor Q1 does not output voltage.
2. A musical rhythm atmosphere lamp according to claim 1, characterized in that: the master node atmosphere lamp (3) collects the audio full-frequency signal output by the power amplifier (5), and the sampling frequency fs is 2 times greater than the highest frequency fmax in the signal;
And the MCU of the master node atmosphere lamp (3) performs FFT conversion on the acquired signals, calculates frequency domain energy after the FFT conversion, and converts the frequency domain energy information of the song into a rhythm intensity value.
3. A musical rhythm atmosphere lamp according to claim 2, characterized in that: the master node atmosphere lamp (3) is lighted according to the fixed monochromatic color of the monochromatic value input by the LIN line and sequentially lighted according to the polychromatic value input by the LIN line and the preset multiple color sequence.
4. A musical rhythm atmosphere lamp according to claim 3, characterized in that: the master node atmosphere lamp (3) receives a fixed brightness value and a flowing water music rhythm signal which are input by the LIN line, controls the number of the LED lamps to be lightened according to the rhythm intensity value of the flowing water music rhythm signal which is input currently, and the larger the rhythm intensity value is, the more the number of the LED lamps to be lightened is, and the brightness of the lightened LED lamps is executed according to the fixed brightness value.
5. The musical rhythm atmosphere lamp according to claim 4, characterized in that: and the master node atmosphere lamp (3) receives the breathing music rhythm signal input by the LIN line, and controls the brightness values of all the LED lamps according to the rhythm intensity value of the currently input breathing music rhythm signal, and the larger the rhythm intensity value is, the larger the brightness value of the LED lamps is.
6. The musical rhythm atmosphere lamp according to claim 5, characterized in that: the master node atmosphere lamp (3) receives LIN line input to be a fixed brightness value and a horse race music rhythm signal, the LED lamps are lightened according to the brightness value, the running water speed of the LED lamps is controlled according to the rhythm intensity value of the horse race music rhythm signal, and the running water speed of each LED lamp is faster as the rhythm intensity value is larger.
7. A musical rhythm atmosphere lamp according to any one of claims 3 to 6 characterized in that: dividing the whole vehicle volume value into 1 to 20 gears, selecting the first 10 gears with better effect according to the real vehicle, enabling the master node atmosphere lamp (3) to multiply the corresponding rhythm intensity values corresponding to the rest volume values by the corresponding compensation coefficients in sequence according to the volume values input by the real vehicle and the LIN line so as to ensure that the rhythm intensity value of each volume gear is consistent with the rhythm intensity values of the 10 gears with better effect, and recording the compensation coefficients of the music rhythm of each mode into the master node atmosphere lamp (3).
8. The musical rhythm atmosphere lamp according to claim 7, characterized in that: the master node atmosphere lamp (3) and the slave node atmosphere lamp (4) realize the control of the brightness and the color of each LED lamp through a light mixing algorithm and PWM control;
The master node atmosphere lamp (3) and the slave node atmosphere lamp (4) are internally preset with parameter tables of temperature, color and brightness, and the color and brightness of each temperature LED lamp are compensated to 25 degrees according to the preset parameter tables of temperature, color and brightness.
9. A vehicle, characterized in that: use of a musical rhythm atmosphere lamp according to any one of claims 1 to 8.
CN202211507431.8A 2022-11-29 2022-11-29 Music rhythm atmosphere lamp and vehicle Active CN115742949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211507431.8A CN115742949B (en) 2022-11-29 2022-11-29 Music rhythm atmosphere lamp and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211507431.8A CN115742949B (en) 2022-11-29 2022-11-29 Music rhythm atmosphere lamp and vehicle

Publications (2)

Publication Number Publication Date
CN115742949A CN115742949A (en) 2023-03-07
CN115742949B true CN115742949B (en) 2024-05-03

Family

ID=85339842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211507431.8A Active CN115742949B (en) 2022-11-29 2022-11-29 Music rhythm atmosphere lamp and vehicle

Country Status (1)

Country Link
CN (1) CN115742949B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106332393A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 Music lamplight rhythm system and method
CN206749649U (en) * 2017-03-16 2017-12-15 广州汽车集团乘用车有限公司 A kind of automobile atmosphere lamp control device and system
CN108419344A (en) * 2018-03-06 2018-08-17 欧普照明股份有限公司 Lighting control system and method, lighting device
CN110267394A (en) * 2019-06-05 2019-09-20 东方久乐汽车电子(上海)股份有限公司 A kind of atmosphere lamp control method and system
CN215042433U (en) * 2021-06-11 2021-12-07 嘉兴市尚瑞电子科技有限公司 Control circuit for automobile music rhythm running water atmosphere lamp
CN114506267A (en) * 2022-02-09 2022-05-17 岚图汽车科技有限公司 Control method and system of vehicle atmosphere lamp and vehicle
CN115071559A (en) * 2022-06-24 2022-09-20 江铃汽车股份有限公司 Vehicle-mounted atmosphere lamp dynamic adjustment method based on music rhythm
CN115103485A (en) * 2022-06-28 2022-09-23 东风汽车集团股份有限公司 Scene-based control method and system for rhythm of automobile atmosphere lamp along with sound source
CN115384400A (en) * 2022-08-31 2022-11-25 重庆长安汽车股份有限公司 Atmosphere lamp control method/device for vehicle, vehicle and storage medium
CN115918262A (en) * 2020-07-02 2023-04-04 维宁尔美国有限责任公司 Minimization of led afterglow effects

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106332393A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 Music lamplight rhythm system and method
CN206749649U (en) * 2017-03-16 2017-12-15 广州汽车集团乘用车有限公司 A kind of automobile atmosphere lamp control device and system
CN108419344A (en) * 2018-03-06 2018-08-17 欧普照明股份有限公司 Lighting control system and method, lighting device
CN110267394A (en) * 2019-06-05 2019-09-20 东方久乐汽车电子(上海)股份有限公司 A kind of atmosphere lamp control method and system
CN115918262A (en) * 2020-07-02 2023-04-04 维宁尔美国有限责任公司 Minimization of led afterglow effects
CN215042433U (en) * 2021-06-11 2021-12-07 嘉兴市尚瑞电子科技有限公司 Control circuit for automobile music rhythm running water atmosphere lamp
CN114506267A (en) * 2022-02-09 2022-05-17 岚图汽车科技有限公司 Control method and system of vehicle atmosphere lamp and vehicle
CN115071559A (en) * 2022-06-24 2022-09-20 江铃汽车股份有限公司 Vehicle-mounted atmosphere lamp dynamic adjustment method based on music rhythm
CN115103485A (en) * 2022-06-28 2022-09-23 东风汽车集团股份有限公司 Scene-based control method and system for rhythm of automobile atmosphere lamp along with sound source
CN115384400A (en) * 2022-08-31 2022-11-25 重庆长安汽车股份有限公司 Atmosphere lamp control method/device for vehicle, vehicle and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
曹阳 ; .总线式智能化汽车室内灯光控制技术.汽车实用技术.2018,(第14期),第150-152页. *
李钢 ; 薛蔚平 ; 刘健 ; 丰建芬 ; 吴杰 ; .车载语音交互氛围灯的设计与实现.照明工程学报.2020,(第03期),第101-104页. *
盛红金 ; 马良 ; 李志刚 ; 滕云鹏 ; 金平 ; 王磊 ; 闫霍彤 ; 贾梦池 ; .汽车内饰氛围灯结构设计和发展趋势.汽车电器.2020,(第04期),第 79-80页. *

Also Published As

Publication number Publication date
CN115742949A (en) 2023-03-07

Similar Documents

Publication Publication Date Title
CN110267394B (en) Atmosphere lamp control method and system
CN205584585U (en) Device and system of control atmosphere lamp
CN111591210B (en) System and method for intelligent interaction between embedded equipment and vehicle atmosphere lamp
CN112339654B (en) Music rhythm OLED multifunctional tail lamp and control method thereof
CN109922560A (en) A kind of vehicle-mounted atmosphere lamp system of real-time music regular movements control
CN109089355A (en) A kind of car bulb control method and system based on music signal
CN207011036U (en) Regular movements atmosphere lamp
CN104566176B (en) LED music aquatic animals lamps
CN104507237A (en) Voice-operated lighting scene effect realization method
CN209488863U (en) A kind of vehicle-mounted atmosphere lamp system of real-time music regular movements control
CN108437890B (en) Control system and method for adjusting backlight of whole vehicle and vehicle
CN110753432A (en) Multi-state new energy automobile atmosphere lamp system and control method thereof
CN108575020B (en) Atmosphere lamp controller system
CN113199984A (en) Multi-color rhythm atmosphere lamp control system and method based on CAN control
CN105578657A (en) Lighting regulation system and lighting regulation method based on music change
CN107226021A (en) Vehicle atmosphere lamp control method and system
CN201547562U (en) Three-primary-color LED light source
CN111511070A (en) L ED lighting system with color correction
CN115742949B (en) Music rhythm atmosphere lamp and vehicle
CN104936364A (en) Multifunctional intelligent LED lamp and intelligent control method of underground parking lot
CN207790473U (en) Atmosphere lamp system
CN105611693B (en) The control method and device of sound equipment and desk lamp with dimmer switch
CN115571047A (en) Vehicle-mounted atmosphere lamp rhythm control method, device, equipment, chip and system
CN209448930U (en) Acousto-optic driver and acousto-optic device
CN110979170B (en) Backlight adjusting system and method for automobile instrument

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant