CN112365906A - Method for processing various CHIME sounds of automobile by BSP module based on SOC (system on chip) - Google Patents
Method for processing various CHIME sounds of automobile by BSP module based on SOC (system on chip) Download PDFInfo
- Publication number
- CN112365906A CN112365906A CN202011515489.8A CN202011515489A CN112365906A CN 112365906 A CN112365906 A CN 112365906A CN 202011515489 A CN202011515489 A CN 202011515489A CN 112365906 A CN112365906 A CN 112365906A
- Authority
- CN
- China
- Prior art keywords
- soc
- chime
- mcu
- bsp
- dsp
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B31/00—Arrangements for the associated working of recording or reproducing apparatus with related apparatus
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Traffic Control Systems (AREA)
Abstract
A BSP module based on SOC processes various CHIME sounds of an automobile, comprising the following steps of S1, triggering various CHIME sounds to be transmitted to an MCU after A/D conversion; step S2, the MCU transmits the received chime sound to the SOC; step S3, carrying out audio arbitration on the chip sound through a sub-module BSP of the SOC, and sending an arbitration result to the MCU through an spi protocol; and step S4, the MCU sends the received arbitration result to the DSP, and the DSP plays the chime audio data after D/A conversion. The method utilizes the soc to process various chip tones and transmits the processed audio data to the dsp for playing, thereby overcoming the defect that the prior system can only play single-frequency tones, reducing the cost and needing no high-performance dsp chip for processing.
Description
Technical Field
The invention belongs to the technical field of audio frequency, and particularly relates to a method for processing various CHIME sounds of an automobile by a BSP module based on SOC.
Background
Based on the processing of various chip sounds on a vehicle-mounted entertainment system, the MCU is used for controlling and then handing over various automobile chip sounds in a specific DSP, such as plugging and unplugging safety seat sounds, low-power reminding sounds, various alarming chips are provided with a DSP for sounding, the DSP sounding characteristic is sensed by a DSP chip, most DSP chips can only send single-frequency tone, split ends and the like, and the method is difficult to accept or not pleasant for users and has no better effect of reminding the users of various alarms.
Disclosure of Invention
The technical problem to be solved by the invention is to overcome the defects of the prior art and provide a method for processing various CHIME sounds of an automobile by a BSP module based on SOC, wherein the CHIME sounds are processed by the SOC and then transmitted to a DSP for sounding, so that various CHIME sounds can be better distinguished.
The invention provides a method for processing various CHIME sounds of an automobile by a BSP module based on SOC (system on chip), which comprises the following steps,
step S1, triggering various types of chime sounds to be transmitted to the MCU after A/D conversion;
step S2, the MCU transmits the received chime sound to the SOC;
step S3, carrying out audio arbitration on the chip sound through a sub-module BSP of the SOC, and sending an arbitration result to the MCU through an spi protocol;
and step S4, the MCU sends the received arbitration result to the DSP, and the DSP plays the chime audio data after D/A conversion.
As a further technical scheme of the invention, an audio ALSA module of the SP carries out arbitration processing on the chime sound, and the ALSA module adopts a two-dimensional matrix algorithm.
Further, the MCU processes information of the chime sound of each electronic unit and then sends the information to the SOC through the SPI.
Further, the MCU transmits the CHIME tone to the BSP module of the SOC through the SPI or the UART.
The method has the advantages that various chip tones are processed by the soc, and the processed audio data are transmitted to the dsp for playing, so that the defect that the conventional system can only play single-frequency tones is overcome, the cost is reduced, and the dsp chip with high performance is not required for processing.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention;
fig. 2 is a chip audio playing operation state diagram of the present invention.
Detailed Description
Referring to fig. 1 and 2, the present embodiment provides a method for processing various CHIME sounds of a vehicle by a BSP module based on SOC, including the following steps,
step S1, triggering various types of chime sounds to be transmitted to the MCU after A/D conversion;
step S2, the MCU transmits the received chime sound to the SOC;
step S3, carrying out audio arbitration on the chip sound through a sub-module BSP of the SOC, and sending an arbitration result to the MCU through an spi protocol;
and step S4, the MCU sends the received arbitration result to the DSP, and the DSP plays the chime audio data after D/A conversion.
And an audio ALSA module of the SP carries out arbitration processing on the chime sound, and the ALSA module adopts a two-dimensional matrix algorithm.
And the MCU performs information processing on the chime sound of each electronic unit and then sends the chime sound to the SOC through the SPI.
The MCU transmits CHIME tone communication to the BSP module of the SOC through the SPI or the UART.
The MCU communicates various CHIME sounds to the BSP module of the SOC for processing through SPI or UART communication, the BSP module carries out sound source arbitration after receiving the MESSAGE of the CHIME of each electronic unit, the sound is firstly sounded with high priority, the sound is secondly sounded with low priority, and the sound can be sounded simultaneously if sound mixing is carried out, which is agreed by an automobile manufacturer. Then BSP can deliver the MESSAGE of various CHIMEs, the submodule drives ALSA processing, the audio data processed by ALSA is communicated to MCU through SPI or UART, MCU is communicated to DSP, thus the played audio is not single frequency sound, finally the user can hear various different CHIME sounds, namely the warning effect is achieved, and the user can experience well.
The MCU module is deployed on each automobile, the MCU module is responsible for information processing of electronic units related to various automobiles, the DSP module is mainly responsible for sound related mainly related to power amplifier sound effect, namely mounted external amplifier, and the key point is the BSP module of the SOC.
The mixing processing of Alsa to various chimes is also one of the main implementation, and a two-dimensional matrix algorithm is required, because for various chimes, the following results are obtained, such as chime1 and chime2, which are two kinds of audio, chime1 is the current playing sound, chime2 is the new request, and through the two-dimensional matrix algorithm, the following results are obtained: u.chime1 continues playing, chime2 ignores, v.chime1 pauses playing, chime2 sound starts playing, w.chime1 and chime2 sound mixes playing.
The foregoing illustrates and describes the principles, general features, and advantages of the present invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are intended to further illustrate the principles of the invention, and that various changes and modifications may be made without departing from the spirit and scope of the invention, which is intended to be protected by the appended claims. The scope of the invention is defined by the claims and their equivalents.
Claims (4)
1. A method for processing various CHIME sounds of an automobile by a BSP module based on SOC is characterized by comprising the following steps,
step S1, triggering various types of chime sounds to be transmitted to the MCU after A/D conversion;
step S2, the MCU transmits the received chime sound to the SOC;
step S3, carrying out audio arbitration on the chip sound through a sub-module BSP of the SOC, and sending an arbitration result to the MCU through an spi protocol;
and step S4, the MCU sends the received arbitration result to the DSP, and the DSP plays the chime audio data after D/A conversion.
2. The method of claim 1, wherein the CHIME sounds are arbitrated by an audio ALSA module of the BSP, and the ALSA module employs a two-dimensional matrix algorithm.
3. The method of claim 1, wherein the MCU processes information of the CHIME sounds of the electronic units and transmits the processed CHIME sounds to the SOC through the SPI.
4. The method of claim 1, wherein the MCU transmits CHIME tones to the BSP module of the SOC through the SPI or UART.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011515489.8A CN112365906A (en) | 2020-12-21 | 2020-12-21 | Method for processing various CHIME sounds of automobile by BSP module based on SOC (system on chip) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011515489.8A CN112365906A (en) | 2020-12-21 | 2020-12-21 | Method for processing various CHIME sounds of automobile by BSP module based on SOC (system on chip) |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112365906A true CN112365906A (en) | 2021-02-12 |
Family
ID=74534575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011515489.8A Pending CN112365906A (en) | 2020-12-21 | 2020-12-21 | Method for processing various CHIME sounds of automobile by BSP module based on SOC (system on chip) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112365906A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116599906A (en) * | 2023-04-12 | 2023-08-15 | 芯沄科技(无锡)有限公司 | Chime design method and system based on vehicle-mounted time sensitive network |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201532774U (en) * | 2009-09-30 | 2010-07-21 | 无锡硅动力微电子股份有限公司 | Digital audio playing chip based on single DSP |
US7916872B1 (en) * | 2002-09-30 | 2011-03-29 | Lee Capital Llc | Integrated short range RDS FM transmitter |
CN102523198A (en) * | 2011-11-28 | 2012-06-27 | 曙光信息产业股份有限公司 | Multi-path data collection card |
CN102970311A (en) * | 2011-09-01 | 2013-03-13 | 欧陆汽车有限责任公司 | Vehicle-mounted communication method and device based on media oriented system transport (MOST) |
CN205862318U (en) * | 2016-06-07 | 2017-01-04 | 深圳市航盛电子股份有限公司 | Many sound cards audio output device under a kind of embedded OS and system |
CN107493545A (en) * | 2017-08-14 | 2017-12-19 | 惠州市德赛西威汽车电子股份有限公司 | A kind of method and device realized automobile suggestion voice and reported |
US10000152B1 (en) * | 2017-07-07 | 2018-06-19 | Advanced Sonic Alert Technologies, LLC | External audio alert system and method for vehicular use |
CN108600917A (en) * | 2018-05-30 | 2018-09-28 | 扬州航盛科技有限公司 | A kind of built-in type multiplex audio management system and management method |
US20190130925A1 (en) * | 2017-10-26 | 2019-05-02 | Hand Held Products, Inc. | Real time device customization apparatus and methods of performing the same |
CN110021298A (en) * | 2019-04-23 | 2019-07-16 | 广州小鹏汽车科技有限公司 | A kind of automotive voice control system |
-
2020
- 2020-12-21 CN CN202011515489.8A patent/CN112365906A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7916872B1 (en) * | 2002-09-30 | 2011-03-29 | Lee Capital Llc | Integrated short range RDS FM transmitter |
CN201532774U (en) * | 2009-09-30 | 2010-07-21 | 无锡硅动力微电子股份有限公司 | Digital audio playing chip based on single DSP |
CN102970311A (en) * | 2011-09-01 | 2013-03-13 | 欧陆汽车有限责任公司 | Vehicle-mounted communication method and device based on media oriented system transport (MOST) |
CN102523198A (en) * | 2011-11-28 | 2012-06-27 | 曙光信息产业股份有限公司 | Multi-path data collection card |
CN205862318U (en) * | 2016-06-07 | 2017-01-04 | 深圳市航盛电子股份有限公司 | Many sound cards audio output device under a kind of embedded OS and system |
US10000152B1 (en) * | 2017-07-07 | 2018-06-19 | Advanced Sonic Alert Technologies, LLC | External audio alert system and method for vehicular use |
CN107493545A (en) * | 2017-08-14 | 2017-12-19 | 惠州市德赛西威汽车电子股份有限公司 | A kind of method and device realized automobile suggestion voice and reported |
US20190130925A1 (en) * | 2017-10-26 | 2019-05-02 | Hand Held Products, Inc. | Real time device customization apparatus and methods of performing the same |
CN108600917A (en) * | 2018-05-30 | 2018-09-28 | 扬州航盛科技有限公司 | A kind of built-in type multiplex audio management system and management method |
CN110021298A (en) * | 2019-04-23 | 2019-07-16 | 广州小鹏汽车科技有限公司 | A kind of automotive voice control system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116599906A (en) * | 2023-04-12 | 2023-08-15 | 芯沄科技(无锡)有限公司 | Chime design method and system based on vehicle-mounted time sensitive network |
CN116599906B (en) * | 2023-04-12 | 2024-07-05 | 芯沄科技(无锡)有限公司 | Chime playing method based on vehicle-mounted time sensitive network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021057876A1 (en) | Pedestrian warning device system and pedestrian warning method | |
US20110109450A1 (en) | System and method for detecting child left in vehicle using vehicle ignition detection via on-board diagnostics | |
CN112435682B (en) | Vehicle noise reduction system, method and device, vehicle and storage medium | |
JP2004507004A (en) | Emergency alarm device | |
CN112365906A (en) | Method for processing various CHIME sounds of automobile by BSP module based on SOC (system on chip) | |
CN109080565A (en) | A kind of emergency method and system applied to vehicle | |
CN114138228A (en) | Vehicle-mounted audio prompt tone method and device and vehicle-mounted terminal | |
CN104506737B (en) | Voice broadcasting method, device and system for caller information | |
CN212685405U (en) | Novel motor vehicle horn device | |
CN212010364U (en) | Vehicle-mounted voice intelligent Bluetooth integrated device | |
US20030217268A1 (en) | System and method for using acoustic digital signature generator as oracle | |
CN201012653Y (en) | Automobile caution voice device | |
CN110545502B (en) | Information processing device, playback control method, playback control program, and audio system | |
CN110065434B (en) | Pedestrian warning method and system for electric automobile | |
CN103778040B (en) | Self-diagnostic non-bussed control module | |
CN214928991U (en) | Instrument arbitration alarm prompt system and vehicle | |
CN115042711A (en) | Pedestrian prompt tone control method, electronic equipment and computer readable storage medium | |
CN109274385A (en) | A kind of vehicle mounted multimedia radio devices of integrated simulation engine sound | |
CN101207648B (en) | Control apparatus using vibration device in vehicle to convey car telephone incoming call information | |
JPH1130986A (en) | Music data acquiring system for vehicle and on-vehicle moving station applied to this system | |
JP2001285463A (en) | On-vehicle device for connecting communication terminal | |
JP3076090B2 (en) | Automotive alarm device | |
CN110493633A (en) | A kind of image and audio separated transmission system, method and mobile terminal | |
JP2001134894A (en) | System, device and method for detecting emergency vehicle, and recording medium | |
CN216957423U (en) | Vehicle-mounted KTV device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210212 |
|
RJ01 | Rejection of invention patent application after publication |