[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111976591B - AVAS audio control device of pedestrian warning sound system of electric automobile - Google Patents

AVAS audio control device of pedestrian warning sound system of electric automobile Download PDF

Info

Publication number
CN111976591B
CN111976591B CN201910433991.5A CN201910433991A CN111976591B CN 111976591 B CN111976591 B CN 111976591B CN 201910433991 A CN201910433991 A CN 201910433991A CN 111976591 B CN111976591 B CN 111976591B
Authority
CN
China
Prior art keywords
audio
output
interrupt function
sound
hardware
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
CN201910433991.5A
Other languages
Chinese (zh)
Other versions
CN111976591A (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.)
TIANJIN BODUN ELECTRONICS CO Ltd
Original Assignee
TIANJIN BODUN ELECTRONICS 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 TIANJIN BODUN ELECTRONICS CO Ltd filed Critical TIANJIN BODUN ELECTRONICS CO Ltd
Priority to CN201910433991.5A priority Critical patent/CN111976591B/en
Publication of CN111976591A publication Critical patent/CN111976591A/en
Application granted granted Critical
Publication of CN111976591B publication Critical patent/CN111976591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q5/00Arrangement or adaptation of acoustic signal devices
    • B60Q5/005Arrangement or adaptation of acoustic signal devices automatically actuated
    • B60Q5/008Arrangement or adaptation of acoustic signal devices automatically actuated for signaling silent vehicles, e.g. for warning that a hybrid or electric vehicle is approaching

Landscapes

  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

The invention relates to an AVAS audio control device of an electric automobile pedestrian warning sound system, which comprises a software processing part and a hardware output part, wherein the software processing part is embedded in the hardware output part, the hardware part is connected with a CAN (controller area network) network, audio sounds are output through a DAC (digital-to-analog converter) and a power amplifier output circuit, and audio files are stored in an external FLASH; the software part comprises a main control unit and an audio processing unit, wherein the main control unit comprises a vehicle speed processing unit and a data receiving and transmitting unit, and the main control unit and the audio processing unit are integrated in the same single machine chip. The invention relates to an AVAS audio control method of an electric automobile pedestrian warning sound system, which has low cost and meets the level of automobile parts, and CAN acquire the current speed, gear and other information through the CAN network information of the automobile, generate driving warning sounds which CAN change tones in real time along with the speed of the automobile and adjust the volume according to the acceleration so as to enable pedestrians to feel the driving state of the automobile.

Description

AVAS audio control device of pedestrian warning sound system of electric automobile
Technical Field
The invention relates to the field of pedestrian warning of electric automobiles, in particular to an AVAS audio control device of an electric automobile pedestrian warning sound system.
Background
The electric and intelligent automobile development trend is that the electric automobile is increasingly serious with the traditional automobile pollution problem, the electric automobile tends to increase gradually, but the electric automobile is not easy to be perceived by pedestrians under low-speed running due to small mechanical noise, tire noise and wind noise when running at low speed, so potential safety hazards are generated, and a device capable of making sound along with the speed of the automobile is required to be added for compensation.
In order to make up for the defect, the Chinese patent No. 106114352A (publication date is 11/16/2016) discloses an electric vehicle-based warning method, device and vehicle, wherein intelligent warning is carried out on pedestrians and drivers according to the dangerous grade of the pedestrians, so that the noise pollution of the vehicles to the environment can be reduced, and the pedestrians can be more alert. However, there is no way for a pedestrian to feel the change of the speed of the vehicle currently running, and particularly, when the blind passes through, the risk coefficient is high, so that dangerous accidents are easy to occur.
Disclosure of Invention
According to the technical problem, the invention provides the AVAS audio control device of the pedestrian warning sound system of the electric automobile, which CAN acquire the current speed, the gear and other information through the CAN network information of the automobile to generate the driving warning sound which CAN change the tone in real time along with the speed and adjust the volume according to the acceleration so as to enable the pedestrian to feel the driving state of the automobile;
the technical problems to be solved by the invention are realized by adopting the following technical scheme:
the AVAS audio control device and device of the pedestrian warning sound system of the electric automobile are characterized by comprising a software processing part and a hardware output part, wherein the software processing part is embedded in the hardware output part, and is used for generating an audio signal by utilizing the cooperation of internal algorithm processing and an R2R resistor network DAC after reading an audio file in an external or internal FLASH, and outputting the audio signal after amplifying the audio signal. The software part comprises a main control unit and an audio processing unit, wherein the main control unit further comprises a vehicle speed processing unit and a data receiving and transmitting unit. In addition, the main control unit and the audio processing unit are integrated on the same low-cost 16-bit singlechip chip, so that the low-cost requirement is met;
the main control unit comprises a high-priority interrupt function, a medium-priority interrupt function and a low-priority interrupt function respectively;
in the high-priority interrupt function, the sound files stored in the external/internal Flash chip are read, and then the read sound data are processed according to three parameters, namely a vehicle speed, a preset volume envelope parameter and a frequency change coefficient, so as to be responsible for realizing a sound algorithm;
in the interrupt function of medium priority, analyzing the data received by the CAN network, wherein the selected chip has 5 hardware CAN mailboxes, so that the condition that the received data is not lost is ensured;
the low-priority interrupt function is responsible for providing budget of a system clock base and is used for calculating a vehicle speed smoothing algorithm and gear shifting interval time;
the software processing part adopts interrupt priority allocation of the singlechip, puts a sounding method into the highest priority interrupt function, receives CAN bus information into the medium priority interrupt function, and puts system time base interrupt into the low priority interrupt function, so that the sounding effect is ensured not to be abnormal due to interference of other tasks;
the audio DAC output part adopts an R2R resistor network, and if the network is used for audio output, the DAC output nonlinearity can occur under the condition of low resistor precision, so that a high-precision chip resistor is selected and matched with a software method to control the output in a relatively linear interval, thereby realizing low-cost audio DAC output and ensuring better tone quality.
The data receiving and transmitting unit is a bus for receiving and transmitting.
The single chip microcomputer chip is a 16BIT single chip microcomputer chip, and reads sound files of the external storage FLASH or the internal storage FLASH on the basis of the operation capability of the 16BIT single chip microcomputer chip, and performs volume searching algorithm, resistance compensation algorithm, audio resampling algorithm and sound mixing algorithm operation.
The volume searching algorithm, the audio resampling algorithm and the sound mixing algorithm can operate the sound file in real time according to the parameters received by the bus, generate target audio data, and convert the target audio data into digital data executable by an external R2R resistor network DAC by combining the resistor compensation algorithm.
The system also supports process envelope curve generation, pitch-shifting amplitude adjustment and total sound volume adjustment. The beneficial effects of the invention are as follows: the invention relates to an AVAS audio control device and device of an electric automobile pedestrian warning sound system, which have low cost and meet the level of automobile parts, and CAN acquire the current speed, gear and other information through automobile CAN network information, generate driving warning sounds which CAN change tones in real time along with the speed and adjust the volume according to acceleration so as to enable pedestrians to feel the driving state of the automobile.
Drawings
FIG. 1 is a schematic diagram of the system of the present invention.
Fig. 2 is a schematic of the software framework of the present invention.
FIG. 3 is a schematic diagram of a sound weighted mixing method.
Description of the embodiments
Examples
In order to make the technical means, the creation characteristics, the achievement of the purpose and the function of the present invention clearly understood, the following description will be made in detail:
examples
The invention relates to an AVAS audio control device and device of an electric automobile pedestrian warning sound system, comprising a software processing part and a hardware output part, wherein the software processing part is embedded on the basis of the hardware output part, and generates an audio signal by utilizing the cooperation of internal algorithm processing and an R2R resistance network DAC after reading an audio file in an external or internal FLASH, and outputs the audio signal after amplifying. The software part comprises a main control unit and an audio processing unit, wherein the main control unit further comprises a vehicle speed processing unit and a data receiving and transmitting unit. In addition, the main control unit and the audio processing unit are integrated on the same low-cost 16-bit singlechip chip, so that the low-cost requirement is met;
the main control unit comprises a high-priority interrupt function, a medium-priority interrupt function and a low-priority interrupt function; in the high-priority interrupt function, the sound file stored in the Flash chip is read, and then the read sound data is processed according to three parameters, namely a vehicle speed, a preset volume envelope parameter and a frequency change coefficient, so as to be responsible for realizing a sound algorithm; in the interrupt function of medium priority, analyzing the data received by the CAN network, wherein the selected chip has 5 hardware CAN mailboxes, so that the condition that the received data is not lost is ensured; the low priority interrupt function is responsible for providing a system time base for the vehicle speed smoothing algorithm and the shift interval time; the hardware output part adopts an R2R resistor network, and if the network is used for audio output, the DAC output nonlinearity can occur under the condition of low resistor precision, so that a high-precision chip resistor is selected and matched with a software method to control the output in a relatively linear interval, and the low-cost audio DAC output is realized. The data receiving and transmitting unit is a bus for receiving and transmitting. The chip stores sound files, a volume searching algorithm, a resistance compensation algorithm, an audio resampling algorithm and a sound mixing algorithm.
Examples
The AVAS audio control device and device of the pedestrian warning sound system of the electric automobile comprise a high priority interrupt function, a medium priority interrupt function and a low priority interrupt function, wherein the high priority interrupt function is responsible for realizing a sound method, the medium priority interrupt function is responsible for receiving and analyzing CAN bus data, the speed, the gear and the accelerator opening CAN be obtained from the CAN bus data, and the low priority interrupt function is responsible for providing a system clock foundation for a speed smoothing method and gear shifting interval time.
The high-priority interrupt function resamples the audio data read in Flash, uses the vehicle speed signal as a parameter, resamples the waveform of the existing sound data according to the offset calculated by the vehicle speed at 22050HZ frequency to obtain the sound to be played currently, searches the corresponding volume value in the volume process envelope curve data table according to the current vehicle speed value to multiply the current playing data to obtain the current output data, sends the current output data into the hardware output function, processes the data according with the hardware requirement, and sends the data into the R2R resistor network to output the audio analog quantity to realize sound production as shown in figure 3. Before the vehicle speed increases to 20KM/H, the vehicle speed belongs to a volume increasing stage, the volume can be changed according to a preset volume process envelope curve, the vehicle speed is in a volume decreasing stage in the process of from 20KM/H to 30KM/H, the volume can be changed according to the preset volume process envelope curve, and the tone increasing and decreasing change and the fade-in and fade-out change of the volume can be generated in the sound in the interval of from 0KM/H to 30 KM/H. The vehicle speed smoothing method in fig. 2 CAN interpolate the twice vehicle speed values received by the CAN network according to a preset step length;
the volume searching method in fig. 2 can quickly search the current volume value according to the opening of the accelerator and the current vehicle speed;
the audio resampling method in fig. 2 uses a mathematical formula to calculate undescribed data in the original sound data relatively accurately, so that the sampling rate is ensured not to be changed, and the tone quality of the original sound is maintained to the greatest extent to achieve resampling and playing.
The system method also supports the calculation and mixing of two paths of sound, reads other sounds stored in Flash by calling the second channel data processing, and then carries out the processing of the method in fig. 3, so that the second channel sound data can be subjected to the processing of the sound weighted mixing method to carry out sound superposition in real time, and the processing can not have identifiable volume and tone quality influence on individual audio.
The foregoing has shown and described the basic principles and features of the invention and the advantages of the invention when operated. Various components mentioned in the present invention are common in the art, and it should be understood by those skilled in the art that the present invention is not limited by the above embodiments, and the above embodiments and descriptions are merely illustrative of the principles of the present invention, and various changes and modifications can be made in the present invention without departing from the spirit and scope of the invention, which is defined in the claims. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (2)

1. The AVAS audio control device of the pedestrian warning sound system of the electric automobile is characterized by comprising a software processing part and a hardware output part, wherein the software processing part is embedded in the hardware output part, the hardware part is connected with a CAN (controller area network) network, audio sounds are output through a DAC (digital-to-analog converter) and a power amplifier output circuit, and audio files are stored in an external FLASH or an internal FLASH; the software part comprises a main control unit and an audio processing unit, wherein the main control unit comprises a vehicle speed processing unit and a data receiving and transmitting unit, and the main control unit and the audio processing unit are integrated on the same hardware singlechip chip;
the main control unit comprises a high-priority interrupt function, a medium-priority interrupt function and a low-priority interrupt function respectively;
in the high-priority interrupt function, the sound file stored in the Flash chip is read, and then the read sound data is processed according to three parameters, namely a vehicle speed, a preset volume envelope parameter and a frequency change coefficient, so as to be responsible for realizing a sound algorithm;
in the interrupt function of medium priority, analyzing the data received by the CAN network, wherein the selected chip has 5 hardware CAN mailboxes, so that the condition that the received data is not lost is ensured;
the low-priority interrupt function is responsible for providing a system clock foundation for a vehicle speed smoothing algorithm and a gear shift interval time;
the software processing part adopts interrupt priority allocation of the singlechip, puts the sounding method into the highest priority interrupt function, receives CAN bus information into the medium priority interrupt function, and puts the system clock interrupt into the low priority interrupt function, so that the sounding effect is ensured not to be abnormal due to interference of other tasks;
the audio DAC output part adopts an R2R resistor network, and if the network is used for audio output, the output nonlinearity of the DAC can occur under the condition of low resistor precision, so that a high-precision chip resistor is selected and matched with a software method to control the output in a relatively linear interval, thereby realizing the output of the low-cost audio DAC.
2. The AVAS audio control device of the pedestrian warning sound system of the electric automobile according to claim 1, wherein the single chip microcomputer chip is a 16BIT single chip microcomputer chip, and the sound file of the external storage FLASH or the internal storage FLASH is read on the basis of the operation capability of the 16BIT single chip microcomputer chip, and is operated by a volume searching algorithm, a resistance compensation algorithm, an audio resampling algorithm and a sound mixing algorithm.
CN201910433991.5A 2019-05-23 2019-05-23 AVAS audio control device of pedestrian warning sound system of electric automobile Active CN111976591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910433991.5A CN111976591B (en) 2019-05-23 2019-05-23 AVAS audio control device of pedestrian warning sound system of electric automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910433991.5A CN111976591B (en) 2019-05-23 2019-05-23 AVAS audio control device of pedestrian warning sound system of electric automobile

Publications (2)

Publication Number Publication Date
CN111976591A CN111976591A (en) 2020-11-24
CN111976591B true CN111976591B (en) 2024-01-09

Family

ID=73437377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910433991.5A Active CN111976591B (en) 2019-05-23 2019-05-23 AVAS audio control device of pedestrian warning sound system of electric automobile

Country Status (1)

Country Link
CN (1) CN111976591B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112896039B (en) * 2021-03-04 2022-08-16 武汉大学 Automobile horn sound control method and device
CN114312558B (en) * 2021-11-30 2024-04-26 重庆长安汽车股份有限公司 System for realizing low-speed prompt tone AVAS and active sound enhanced ASE on automobile
CN114613041B (en) * 2022-02-24 2024-09-06 智己汽车科技有限公司 Bluetooth key intelligent control method and device, vehicle and storage medium
CN114715030A (en) * 2022-04-29 2022-07-08 镁佳(北京)科技有限公司 Audio frequency adjusting method and device, storage medium and electronic equipment
CN115042711A (en) * 2022-06-16 2022-09-13 安徽江淮汽车集团股份有限公司 Pedestrian prompt tone control method, electronic equipment and computer readable storage medium
CN115431871A (en) * 2022-08-30 2022-12-06 中国第一汽车股份有限公司 Sound control method considering both low-speed pedestrian prompting sound and electronic sound waves of electric vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102592412A (en) * 2012-02-29 2012-07-18 胡乐乐 Driving safety safeguard system based on intelligent mobile phone
CN104553978A (en) * 2013-10-23 2015-04-29 比亚迪股份有限公司 Automobile, automobile horn system and control method thereof
KR101535013B1 (en) * 2014-02-27 2015-07-07 현대자동차주식회사 Virtual Sound System for Interior and Outside of Vehicle
CN107804223A (en) * 2017-09-07 2018-03-16 安徽英之杰汽车科技有限公司 Electric automobile pedestrian warns system for electrical teaching AVAS audio control algorithms

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102592412A (en) * 2012-02-29 2012-07-18 胡乐乐 Driving safety safeguard system based on intelligent mobile phone
CN104553978A (en) * 2013-10-23 2015-04-29 比亚迪股份有限公司 Automobile, automobile horn system and control method thereof
KR101535013B1 (en) * 2014-02-27 2015-07-07 현대자동차주식회사 Virtual Sound System for Interior and Outside of Vehicle
CN107804223A (en) * 2017-09-07 2018-03-16 安徽英之杰汽车科技有限公司 Electric automobile pedestrian warns system for electrical teaching AVAS audio control algorithms

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电动汽车警示音系统;Andreas Pellkofer;;电子产品世界(第10期);全文 *

Also Published As

Publication number Publication date
CN111976591A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
CN111976591B (en) AVAS audio control device of pedestrian warning sound system of electric automobile
US9681240B2 (en) Sound quality adjustment apparatus of approaching vehicle audible system, approaching vehicle audible system simulator, and approaching vehicle audible system
CN110758235B (en) Pedestrian warning device system and pedestrian warning method
US9162619B2 (en) Notification sound control unit of approaching vehicle audible system
CN102892627A (en) Vehicle travel warning device
KR20150057986A (en) Apparatus for providing environmental noise compensation for a synthesized vehicle sound
EP3288023B1 (en) System and method for synthesizing an engine sound
GB2062870A (en) Voice warning system for vehicle with automatic speed control
KR20140040632A (en) Vehicle approach notification device
CN107089185A (en) A kind of analogy method of engine speed, device and electric car alarm control method
US9396719B2 (en) Method and device for synthetic generation of an acoustic signal
CN205142504U (en) Pedestrian's sound alarm device of new energy automobile
JP2007256841A (en) Sound effect generating device for vehicle
WO2014184828A1 (en) Vehicle approach alert device
WO2013035167A1 (en) Approaching vehicle alerting apparatus, and electric moving body provided with same
CN108944750A (en) A kind of active sound simulation device based on Void-Kalman filter
CN103702869A (en) Deceleration information transmission device and deceleration information transmission method
JP5678877B2 (en) Vehicle approach notification device
JP5573766B2 (en) Vehicle approach warning device
CN202413788U (en) Vehicular speed limiting control system
JP2013010465A (en) Vehicle approach warning device
JP7147639B2 (en) audio output device
US11312296B2 (en) Vehicle sound generation device
JP5617751B2 (en) Vehicle approach warning device
EP3821427B1 (en) Method for generating an audio signal, in particular for active control of the sound of the engine of a land vehicle, and corresponding apparatus

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
GR01 Patent grant