[go: up one dir, main page]

WO2018166296A1 - Warning sound producer for new energy vehicle - Google Patents

Warning sound producer for new energy vehicle Download PDF

Info

Publication number
WO2018166296A1
WO2018166296A1 PCT/CN2018/073744 CN2018073744W WO2018166296A1 WO 2018166296 A1 WO2018166296 A1 WO 2018166296A1 CN 2018073744 W CN2018073744 W CN 2018073744W WO 2018166296 A1 WO2018166296 A1 WO 2018166296A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
signal
mcu
sound
power amplifier
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.)
Ceased
Application number
PCT/CN2018/073744
Other languages
French (fr)
Chinese (zh)
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.)
JILIN HANGSHENG ELECTRONICS Co Ltd
Original Assignee
JILIN HANGSHENG 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 JILIN HANGSHENG ELECTRONICS Co Ltd filed Critical JILIN HANGSHENG ELECTRONICS Co Ltd
Priority to DE112018000240.3T priority Critical patent/DE112018000240T5/en
Publication of WO2018166296A1 publication Critical patent/WO2018166296A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

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
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B3/00Audible signalling systems; Audible personal calling systems
    • G08B3/10Audible signalling systems; Audible personal calling systems using electric transmission; using electromagnetic transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/03Synergistic effects of band splitting and sub-band processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2499/00Aspects covered by H04R or H04S not otherwise provided for in their subgroups
    • H04R2499/10General applications
    • H04R2499/13Acoustic transducers and sound field adaptation in vehicles

Definitions

  • the invention relates to the technical field of sound alarms, in particular to a warning sound generator of a new energy vehicle.
  • a new energy vehicle is a vehicle with advanced technology, new technology and new structure, which uses unconventional vehicle fuel as a power source or uses conventional vehicle fuel and adopts a new vehicle power device.
  • the new energy vehicle is driven by a new type of engine. The sound it emits is very small and is overwhelmed by environmental noise.
  • the warning sound generator of the new energy vehicle uses a voice chip to complete the introduction of sound files, sound sorting storage, sound playback, sound volume and the like.
  • the voice chip In the process of sound emission, the voice chip is required to participate in the sounding.
  • the voice chip performs the adjustment of the volume and the audio to output the sound, and then the speaker is driven by the power amplifier.
  • the voice chip is expensive, and the hardware cost is increased due to the dependence on the voice chip.
  • one technical problem to be solved by the present invention is to provide a warning sound generator for a new energy vehicle, which can effectively solve the above problems.
  • a warning sound generator for a new energy vehicle comprising: an MCU module, a CAN communication module, a DA module, a power amplifier module, and a speaker; and the MCU module passes the CAN communication module and the new energy vehicle
  • the control device is connected; the MCU module is respectively connected to the DA module and the power amplifier module; the power amplifier module is respectively connected to the DA module and the speaker; and the MCU module generates a PWM signal with a square wave and Sending to the power amplifier module, the PWM signal is used for volume adjustment; the MCU module sends sound data to the DA module, and sends a working time reference signal to the DA module, where the working time reference signal is used Performing audio control; the DA module generates an audio signal based on the sound data and the working time reference signal and transmits the audio signal to the power amplifier module.
  • the method includes: a power module; the power module is respectively connected to the MCU module, the CAN communication module, the DA module, and the power amplifier module.
  • the method further includes: a storage module; the storage module is electrically connected to the MCU module; and the MCU module converts the received sound file into an audio array, and is stored in the storage module.
  • the method further includes: obtaining, by the MCU module, a status signal from a control device of a new energy vehicle by using the CAN communication module, where the status signal includes: a brake signal, an acceleration signal, a motor speed, and a vehicle speed signal; the MCU module is based on The status signal selects a corresponding sound array from the storage module and sends the same to the DA module.
  • the method further includes: an infrared detecting module; the MCU module and the infrared detecting module are electrically connected; the infrared detecting module detects whether a person is around the vehicle and outputs an infrared detecting signal, and the MCU module receives the infrared detecting And generating, according to the infrared detection signal, the PWM signal and the working time reference signal, and selecting a corresponding sound array from the storage module and transmitting the same to the DA module.
  • an infrared detecting module detects whether a person is around the vehicle and outputs an infrared detecting signal
  • the MCU module receives the infrared detecting And generating, according to the infrared detection signal, the PWM signal and the working time reference signal, and selecting a corresponding sound array from the storage module and transmitting the same to the DA module.
  • the method further includes: a GPS module; the GPS module is electrically connected to the MCU module; the GPS module sends a vehicle speed and time signal to the MCU module; an environmental signal acquisition module; the MCU module and the environment The signal acquisition module is electrically connected; the environmental signal acquisition module collects the sound pressure signal of the external environment sound in real time and sends the sound pressure signal to the MCU module.
  • the MCU module receives the speed signal sent by the GPS module in real time; when the vehicle speed meets the alarm threshold, the MCU module obtains the time signal and the location from the GPS module and the environmental signal acquisition module, respectively.
  • the sound pressure signal is generated, and the PWM signal and the working time reference signal are generated according to the time signal and the sound pressure signal, and a corresponding sound array is selected from the storage module and sent to the DA module.
  • the MCU module separately acquires the time signal and the sound pressure signal from the GPS module and the environmental signal acquisition module, and analyzes the time signal and the sound pressure signal;
  • the MCU module adjusts the volume and audio of the speaker playback by adjusting the PWM signal and the working time reference signal.
  • a first RC shaping circuit module is disposed between the MCU module and the power amplifier module; the PWM signal sent by the MCU module is shaped by the first RC shaping circuit module and sent to the The power amplifier module.
  • a second RC shaping circuit module is disposed between the DA module and the power amplifier module, and the audio signal sent by the DA module is shaped by the second RC shaping circuit module and sent to the The power amplifier module.
  • the warning sound generator of the new energy vehicle of the invention transmits the PWM signal to the power amplifier module for volume adjustment, sends the sound data to the DA module to generate an audio signal, and sends the clock reference signal to the DA module for audio control, thereby solving the necessity of relying on Voice chips increase the cost of the system.
  • FIG. 1 is a block diagram showing the structure of an embodiment of a warning sound generator of a new energy vehicle of the present invention
  • FIG. 2 is a block diagram showing another embodiment of a warning sound generator of a new energy vehicle of the present invention.
  • Fig. 3 is a circuit diagram showing an RC shaping circuit module of an embodiment of a warning tone generator of a new energy vehicle of the present invention.
  • the present invention provides a warning sound generator for a new energy vehicle, comprising: an MCU module 11, a CAN communication module 16, a DA module 12, a power amplifier module 13, and a speaker 14.
  • the DA module 12 is a digital-to-analog conversion module.
  • the MCU module 11 is connected to the control device of the new energy vehicle through the CAN communication module 16, and the MCU module 11 is connected to the DA module 12 and the power amplifier module 13, respectively.
  • the power amplifier module 13 is connected to the DA module 12 and the speaker 14, respectively, and the MCU module 11 and the DA module 12 can be connected via an SPI serial bus or the like.
  • the MCU module 11 generates a PWM signal having a square wave and transmits it to the power amplifier module 13, which is used for volume adjustment.
  • the MCU module 11 sends the sound data to the DA module 12, and sends a working time reference signal to the DA module 12.
  • the working time reference signal is used to provide the clock frequency signal to the DA module 12, and the working time reference signal can be a square wave signal for audio. control.
  • the DA module 12 can have a clock input, and the frequency output pin of the MCU module 11 sends a working time reference signal to the clock input.
  • the DA module 12 generates an audio signal based on the sound data and the working time reference signal and transmits it to the power amplifier module 13, and the power amplifier module 13 drives the speaker 14 to play the audio signal.
  • the power module 18 is connected to the MCU module 11, the CAN communication module 16, the DA module 12, the power amplifier module 13, the CAN peripheral module 17, and the like, respectively, to provide power.
  • the warning sound generator of the new energy vehicle in the above embodiment has a volume and audio adjustment function.
  • the power amplifier module 13 includes a power amplifier chip, and the MCU module 11 controls the power volume control pin of the power amplifier chip to control the volume of the alarm sound generator.
  • the volume control mode of the warning tone generator is PWM mode, and the PWM mode is in the power amplifier chip presentation mode is the level of the DC voltage, and the higher the duty ratio, the higher the voltage.
  • the volume adjustment adopts PWM mode to control the analog voltage output of the power output control pin of the power amplifier chip, and the resolution can reach 65536 gear positions.
  • the square wave signal of the PWM signal is generated and generates an approximate DC level through the RC shaping circuit module. Similar to the “potentiometer knob” voltage regulation method, a subdivision voltage of 1/65535 can be generated.
  • the audio adjustment of the warning tone generator is the adjustment of the sound output frequency, that is, the speed at which the sound is played.
  • the clock of the DA module 12 employs an externally input square wave signal, and the MCU module 11 controls the speed of sound playback of the speaker 14 by controlling the frequency of the working time reference signal (square wave signal).
  • the anti-interference ability is improved in the CAN communication hardware system and the design scheme for the possible effective mode is reserved.
  • the MCU module 11 converts the sound file into an audio array and sends it to the DA module 12 for playback.
  • the volume of the playback is controlled by the PWM control pin of the MCU module 11 to control the power amplifier chip, and the played audio signal is output to the DA through the MCU module 11
  • the system clock pin of module 12 is controlled.
  • the warning sound generator of the new energy vehicle in the above embodiment does not use a special voice decoding chip, but uses software to decode the voice file to form a sound array, according to the data corresponding to the sound group, according to a certain time interval, through the CPU
  • the DA pushes the voltage corresponding to the sound group data to the power amplifier module, thereby driving the speaker to emit a corresponding sound.
  • the warning sound generator of the new energy vehicle in the above embodiment solves the problem that the original warning tone generator must rely on the proprietary voice chip and increases the system cost, and the sound output mode adopts the DA conversion mode instead of the traditional PWM mode.
  • the audio uses MUC's programmable square wave control, which can control 65,536 levels, which solves the problem that the original playback adjustment easily causes frequency jumps and frustration.
  • the storage module 15 is electrically connected to the MCU module 11, and the MCU module 11 converts the received sound file into an audio array and stores it in the storage module 15.
  • the MCU module 11 converts the sound file into a WAV format through a sound software, and the sampling rate is 8k or 16k, and the sound file is converted into a corresponding array identifiable by the system. After the array is completed (16bit), the chip is not powered down. in.
  • the storage module 15 or the MCU module 11 sends an array to the DA module 12, and the DA module 12 emits a preset warning tone by outputting a voltage signal corresponding to the sound group.
  • the sound file will form a disordered waveform of multiple harmonics.
  • This harmonic forms a sound corresponding array in a discrete manner according to a sampling rate at a certain time, which is referred to as a sound group.
  • the MCU module 11 converts the sound file into a WAV format through a sound software, and the sampling rate is 8k or 16k, and the sound file is converted into a corresponding sound group.
  • the files formed by the sound group tend to be larger and better.
  • the sampling rate is especially important. If the sampling rate is too high, the array is too large to be easily stored in the system. The sound generated by the sampling rate is too low. After the sound group and the sampling rate are confirmed, the corresponding number of the sound group is completed, and the corresponding correspondence between the sound group data and the voltage signal is completed after the linear coefficient is completed, and then played by the DA function foot of the CPU at a certain time interval.
  • the MCU module 11 acquires a status signal from the control device of the new energy vehicle through the CAN communication module 16, and the status signals include: a brake signal, an acceleration signal, a motor speed, and a vehicle speed signal.
  • the MCU module 11 selects a corresponding sound array from the storage module 15 based on the status signal and transmits it to the DA module 12. For example, selecting an array of sounds corresponding to the sound of the car engine for processing and playback can simulate different sounds of the engine when the car is at 40 km and 80 km/h.
  • the MCU module 11 and the infrared detecting module 21 are electrically connected.
  • the infrared detecting module 21 detects whether there is a person around the vehicle and outputs an infrared detecting signal, and the MCU module 11 receives the infrared detecting signal and generates a PWM signal and a working time reference signal according to the infrared detecting signal, and selects a corresponding sound array from the storage module and sends the same to the sound module.
  • DA module 12 12.
  • the front of the vehicle is equipped with an infrared detection module, and the infrared detection module has an infrared probe interface.
  • the detection head based on the pyroelectric sensor can detect whether there is a pedestrian passing by detecting the strength of the signal of the human body characteristic infrared band 10um, and output infrared detection. signal.
  • the pyroelectric will generate a corresponding voltage signal, that is, an infrared detecting signal, and the voltage signal is denoised and purified by the filtering circuit, and sent to the AD collecting part to collect the pyroelectric power.
  • the incoming analog signal is converted into a digital signal, and the digital signal enters the MCU module 11, thereby judging that a pedestrian appears in front and the control emits a warning tone.
  • the GPS module 22 is electrically coupled to the MCU module 11, and the GPS module 22 transmits vehicle speed and time signals to the MCU module 11.
  • the MCU module 11 and the environmental signal acquisition module 23 are electrically connected, and the ambient signal acquisition module 23 collects the sound pressure signal of the external environment sound in real time and sends it to the MCU module.
  • the MCU module 11 receives the speed signal sent by the GPS module 22 in real time. When the vehicle speed meets the alarm threshold, the MCU module 11 acquires the time signal and the sound pressure signal from the GPS module 22 and the environmental signal acquisition module 23, respectively, and generates the time signal and the sound pressure signal according to the time signal and the sound pressure signal.
  • the PWM signal and the working time reference signal are selected from the storage module 15 and sent to the DA module 12.
  • the MCU module 11 acquires a time signal and a sound pressure signal from the GPS module 22 and the environmental signal acquisition module 23, respectively, and analyzes the time signal and the sound pressure signal. When it is judged that the volume needs to be lowered, the MCU module 11 adjusts the volume and audio played by the speaker 14 by adjusting the PWM signal and the working time reference signal.
  • the MCU module 11 can judge whether the surrounding sound is noisy by the sound pressure signal of the external environment sound. If the surrounding noise is high or the decibel is high, the volume is increased. If the surrounding is very quiet or the decibel is small, the volume is reduced, and the disturbance can be avoided. .
  • the MCU module 11 can monitor the sound pressure level of the environment in real time, and determine the sound pressure level to be emitted by the new energy vehicle pedestrian sound warning device according to the surrounding sound pressure level, and then emit a small sound when the average sound pressure level is small. The pressure value can complete the pedestrian warning function.
  • the MCU module 11 can avoid the pedestrian warning being issued passively, and control the playing volume according to the dynamic pressure feedback of the environment in which the vehicle is traveling. For example, the noise can be appropriately increased at a noisy intersection, and the quiet cell can be appropriately adjusted at night. Low volume, equipped with infrared detection to detect the presence of pedestrians, if a pedestrian is detected, a warning tone is sounded, otherwise a warning tone is stopped.
  • the MCU module 11 analyzes the received time signal and the external noise signal. For example, whether the noise is large or small at night or during the day, the volume of the playback is determined according to time and external noise.
  • the MCU module 11 receives the speed signal sent by the GPS module 22 in real time.
  • the MCU module 11 respectively The GPS module 22 and the environmental signal acquisition module 23 acquire time information and external noise information, and determine the volume and audio of the played sound based on the time information and the external noise information.
  • the volume, audio, and the like of the played sound are lowered.
  • the MC33901 series chip is used in the CAN communication module 16.
  • the MC33901 series chip is the latest CAN chip from Freescale. Anti-common mode interference circuit and high frequency filtering circuit are adopted in the peripheral circuit of the chip. The use of the latest chips in the CAN communication module 16 removes the increased cost burden of common mode inductors.
  • Freescale's MC33901 family of chips is a cost-effective transceiver designed for standard CAN high-speed applications for converting digital protocol information into analog CAN communications. It provides built-in transceiver explicit timeout for automotive applications and a physical interface to the MCU. The CAN protocol controller and the physical double line of the CAN bus.
  • a first RC shaping circuit module is disposed between the MCU module 11 and the power amplifier module 13.
  • the PWM signal sent by the MCU module 11 is shaped by the first RC shaping circuit module and sent to the power amplifier module 13.
  • a second RC shaping circuit module is disposed between the DA module 12 and the power amplifier module 13.
  • the audio signal sent by the DA module 12 is shaped by the second RC shaping circuit module and sent to the power amplifier module 13.
  • the circuits of the first RC shaping circuit module and the first RC shaping circuit module may be the same, for example, both are RC shaping circuits as shown in FIG.
  • the pedestrian voice alarm device of the new energy vehicle transmits the sound signal to the DA module by transmitting the PWM signal to the power amplifier module, and sends the clock reference signal to the DA module for audio control, thereby solving the necessity of relying on the voice.
  • the chip increases the system cost problem, strengthens the anti-interference ability in the CAN communication process, and the volume and tone can be adjusted in real time according to the state of the car, the warning effect is good, and the sound pollution to the external environment can be reduced.
  • the methods and systems of the present invention may be implemented in a number of ways.
  • the methods and systems of the present invention can be implemented in software, hardware, firmware, or any combination of software, hardware, and firmware.
  • the above-described sequence of steps for the method is for illustrative purposes only, and the steps of the method of the present invention are not limited to the order specifically described above unless otherwise specifically stated.
  • the invention may also be embodied as a program recorded in a recording medium, the program comprising machine readable instructions for implementing the method according to the invention.
  • the invention also covers a recording medium storing a program for performing the method according to the invention.
  • a fixed connection can be understood as: a detachable fixed connection (for example, using bolts or screws), or It is understood as: non-detachable fixed joints (such as riveting, welding), of course, the mutual fixed connection can also be replaced by a one-piece structure (for example, manufactured by integral casting process) (except that the integral forming process is obviously not available).
  • any one of the above-disclosed embodiments of the present invention for indicating a positional relationship or shape include a state or shape similar to, similar to, or similar to each other unless otherwise stated.
  • Any of the components provided by the present invention may be assembled from a plurality of separate components or may be a separate component manufactured by an integral forming process.

Landscapes

  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Signal Processing (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)
  • Emergency Alarm Devices (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

A warning sound producer for a new energy vehicle, comprising an MCU module (11), a CAN communication module (16), a DA module (12), a power amplifier module (13), and a loudspeaker (14). The MCU module (11) generates a PWM signal having a square wave and sends the PWM signal to the power amplifier module (13) for volume adjustment. The MCU module (11) sends sound data to the DA module (12) and sends a working time reference signal to the DA module (12) for audio control. The DA module (12) generates an audio signal on the basis of the sound data and the working time reference signal, and sends the audio signal to the power amplifier module (13). The warning sound producer for a new energy vehicle resolves the problem of increase in system costs due to necessary dependence on a voice chip, and enhances the anti-interference capability in a CAN communication process. Moreover, the volume and tone can be adjusted in real time according to the state of the vehicle, the warning effect is good, and sound pollution to the external environment can be decreased.

Description

一种新能源汽车的警示音发生器Warning tone generator for a new energy vehicle 技术领域Technical field

本发明涉及声音报警技术领域,尤其涉及一种新能源汽车的警示音发生器。The invention relates to the technical field of sound alarms, in particular to a warning sound generator of a new energy vehicle.

背景技术Background technique

现代社会,汽车已经成为人们生活中必不可少的工具,私人汽车和公交汽车方便了人们的出行,汽车正在取代自行车成为人们生活中重要的交通工具。近年来,随着全球空气污染的日渐增强,各国越来越重视环境的保护和空气污染的预防及治理,汽车尾气的排放被认为是空气污染的主要来源之一。新能源汽车是指采用非常规车用燃料作为动力来源或使用常规车用燃料、采用新型车载动力装置,形成的技术原理先进、具有新技术、新结构的汽车。新能源汽车采用新型发动机驱动,它所发出的声音很微小,并被环境噪声所淹没,这样导致汽车处于一个“静音状态”,即存在新能源汽车的行驶过程中声音较小,不易被行人发现,容易造成交通事故的问题。目前,新能源汽车的警示音发生器使用语音芯片完成声音文件的导入、声音整理存储、声音播放、声音音量等动作。在声音发出过程中需要语音芯片参与发声,语音芯片进行完成对音量和音频的调节输出声音,再经过功放推动扬声器,语音芯片价格昂贵,由于依赖语音芯片则增加了硬件成本。In modern society, cars have become an indispensable tool in people's lives. Private cars and buses are convenient for people to travel. Cars are replacing bicycles as an important means of transportation in people's lives. In recent years, with the increasing global air pollution, countries are paying more and more attention to environmental protection and air pollution prevention and treatment. Vehicle exhaust emissions are considered to be one of the main sources of air pollution. A new energy vehicle is a vehicle with advanced technology, new technology and new structure, which uses unconventional vehicle fuel as a power source or uses conventional vehicle fuel and adopts a new vehicle power device. The new energy vehicle is driven by a new type of engine. The sound it emits is very small and is overwhelmed by environmental noise. This causes the car to be in a “quiet state”, that is, the sound of the new energy vehicle is small during the driving process and is not easily found by pedestrians. It is easy to cause traffic accidents. At present, the warning sound generator of the new energy vehicle uses a voice chip to complete the introduction of sound files, sound sorting storage, sound playback, sound volume and the like. In the process of sound emission, the voice chip is required to participate in the sounding. The voice chip performs the adjustment of the volume and the audio to output the sound, and then the speaker is driven by the power amplifier. The voice chip is expensive, and the hardware cost is increased due to the dependence on the voice chip.

发明内容Summary of the invention

有鉴于此,本发明要解决的一个技术问题是提供一种新能源汽车的警示音发生器,能够有效地解决上述的问题。In view of this, one technical problem to be solved by the present invention is to provide a warning sound generator for a new energy vehicle, which can effectively solve the above problems.

根据本发明的一个方面,提供一种新能源汽车的警示音发生器,包括:MCU模块、CAN通信模块、DA模块、功放模块和扬声器;所述MCU 模块通过所述CAN通信模块与新能源汽车的控制装置连接;所述MCU模块分别与所述DA模块、所述功放模块连接;所述功放模块分别与所述DA模块和所述扬声器连接;所述MCU模块生成具有方波的PWM信号并发送给所述功放模块,所述PWM信号用于进行音量调节;所述MCU模块将声音数据发送给所述DA模块,并向所述DA模块发送工作时间基准信号,所述工作时间基准信号用于进行音频控制;所述DA模块基于所述声音数据和所述工作时间基准信号生成音频信号并发送给所述功放模块。According to an aspect of the present invention, a warning sound generator for a new energy vehicle is provided, comprising: an MCU module, a CAN communication module, a DA module, a power amplifier module, and a speaker; and the MCU module passes the CAN communication module and the new energy vehicle The control device is connected; the MCU module is respectively connected to the DA module and the power amplifier module; the power amplifier module is respectively connected to the DA module and the speaker; and the MCU module generates a PWM signal with a square wave and Sending to the power amplifier module, the PWM signal is used for volume adjustment; the MCU module sends sound data to the DA module, and sends a working time reference signal to the DA module, where the working time reference signal is used Performing audio control; the DA module generates an audio signal based on the sound data and the working time reference signal and transmits the audio signal to the power amplifier module.

可选地,包括:电源模块;所述电源模块分别与所述MCU模块、所述CAN通信模块、所述DA模块、所述功放模块连接。Optionally, the method includes: a power module; the power module is respectively connected to the MCU module, the CAN communication module, the DA module, and the power amplifier module.

可选地,还包括:存储模块;所述存储模块与所述MCU模块电连接;所述MCU模块将接收到的声音文件转换为声音数组,并存储在所述存储模块中。Optionally, the method further includes: a storage module; the storage module is electrically connected to the MCU module; and the MCU module converts the received sound file into an audio array, and is stored in the storage module.

可选地,还包括:所述MCU模块通过所述CAN通信模块从新能源汽车的控制装置获取状态信号,所述状态信号包括:刹车信号、加速信号、电机转速和车速信号;所述MCU模块基于所述状态信号从所述存储模块中选取对应的声音数组并发送给所述DA模块。Optionally, the method further includes: obtaining, by the MCU module, a status signal from a control device of a new energy vehicle by using the CAN communication module, where the status signal includes: a brake signal, an acceleration signal, a motor speed, and a vehicle speed signal; the MCU module is based on The status signal selects a corresponding sound array from the storage module and sends the same to the DA module.

可选地,还包括:红外探测模块;所述MCU模块和所述红外探测模块电连接;所述红外探测模块检测车辆周边是否有人并输出红外探测信号,所述MCU模块接收到所述红外探测信号并根据所述红外探测信号生成所述PWM信号和所述工作时间基准信号,并从所述存储模块中选取对应的声音数组并发送给所述DA模块。Optionally, the method further includes: an infrared detecting module; the MCU module and the infrared detecting module are electrically connected; the infrared detecting module detects whether a person is around the vehicle and outputs an infrared detecting signal, and the MCU module receives the infrared detecting And generating, according to the infrared detection signal, the PWM signal and the working time reference signal, and selecting a corresponding sound array from the storage module and transmitting the same to the DA module.

可选地,还包括:GPS模块;所述GPS模块与所述MCU模块电连接;所述GPS模块向所述MCU模块发送车速和时间信号;环境信号采集模块;所述MCU模块和所述环境信号采集模块电连接;所述环境信号采集模块实时采集外界环境声音的声压信号并发送到所述MCU模块。Optionally, the method further includes: a GPS module; the GPS module is electrically connected to the MCU module; the GPS module sends a vehicle speed and time signal to the MCU module; an environmental signal acquisition module; the MCU module and the environment The signal acquisition module is electrically connected; the environmental signal acquisition module collects the sound pressure signal of the external environment sound in real time and sends the sound pressure signal to the MCU module.

可选地,所述MCU模块实时接收所述GPS模块发送的速度信号;当车速满足报警阈值时,所述MCU模块分别从所述GPS模块和所述环境信号采集模块获取所述时间信号和所述声压信号,根据所述时间信号和 所述声压信号生成所述PWM信号和所述工作时间基准信号,并从所述存储模块中选取对应的声音数组并发送给所述DA模块。Optionally, the MCU module receives the speed signal sent by the GPS module in real time; when the vehicle speed meets the alarm threshold, the MCU module obtains the time signal and the location from the GPS module and the environmental signal acquisition module, respectively. The sound pressure signal is generated, and the PWM signal and the working time reference signal are generated according to the time signal and the sound pressure signal, and a corresponding sound array is selected from the storage module and sent to the DA module.

可选地,所述MCU模块分别从所述GPS模块和所述环境信号采集模块获取所述时间信号和所述声压信号,并对所述时间信号和所述声压信号进行分析;当判断需要降低音量时,所述MCU模块通过调整所述PWM信号和所述工作时间基准信号调节所述扬声器播放的音量和音频。Optionally, the MCU module separately acquires the time signal and the sound pressure signal from the GPS module and the environmental signal acquisition module, and analyzes the time signal and the sound pressure signal; When the volume needs to be lowered, the MCU module adjusts the volume and audio of the speaker playback by adjusting the PWM signal and the working time reference signal.

可选地,在所述MCU模块和所述功放模块之间设置有第一RC整形电路模块;所述MCU模块发送的所述PWM信号通过所述第一RC整形电路模块进行整形后发送到所述功放模块。Optionally, a first RC shaping circuit module is disposed between the MCU module and the power amplifier module; the PWM signal sent by the MCU module is shaped by the first RC shaping circuit module and sent to the The power amplifier module.

可选地,在所述DA模块与所述功放模块之间设置有第二RC整形电路模块,所述DA模块发送的所述音频信号通过所述第二RC整形电路模块进行整形后发送到所述功放模块。Optionally, a second RC shaping circuit module is disposed between the DA module and the power amplifier module, and the audio signal sent by the DA module is shaped by the second RC shaping circuit module and sent to the The power amplifier module.

本发明的新能源汽车的警示音发生器,通过将PWM信号发送给功放模块进行音量调节,将声音数据发送给DA模块生成音频信号,向DA模块发送时钟基准信号进行音频控制,解决了必须依赖语音芯片增加系统成本的问题。The warning sound generator of the new energy vehicle of the invention transmits the PWM signal to the power amplifier module for volume adjustment, sends the sound data to the DA module to generate an audio signal, and sends the clock reference signal to the DA module for audio control, thereby solving the necessity of relying on Voice chips increase the cost of the system.

附图说明DRAWINGS

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is merely some embodiments of the present invention, and those skilled in the art can obtain other drawings according to the drawings without any inventive labor.

图1为本发明的新能源汽车的警示音发生器的一个实施例的模块结构示意图;1 is a block diagram showing the structure of an embodiment of a warning sound generator of a new energy vehicle of the present invention;

图2为本发明的新能源汽车的警示音发生器的另一个实施例的模块结构示意图;2 is a block diagram showing another embodiment of a warning sound generator of a new energy vehicle of the present invention;

图3为本发明的新能源汽车的警示音发生器的一个实施例的RC整 形电路模块的电路示意图。Fig. 3 is a circuit diagram showing an RC shaping circuit module of an embodiment of a warning tone generator of a new energy vehicle of the present invention.

具体实施方式detailed description

下面参照附图对本发明进行更全面的描述,其中说明本发明的示例性实施例。下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。下面结合图和实施例对本发明的技术方案进行多方面的描述。The invention is described more fully hereinafter with reference to the accompanying drawings The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention. The technical solutions of the present invention are described in various aspects in conjunction with the drawings and the embodiments.

下文中的“第一”、“第二”等为描述上相区别,并没有其他特殊的含义。Hereinafter, "first", "second", etc. are distinguished from the description, and have no other special meaning.

如图1、2所示,本发明提供一种新能源汽车的警示音发生器,包括:MCU模块11、CAN通信模块16、DA模块12、功放模块13和扬声器14。DA模块12即数字模拟转换模块,MCU模块11通过CAN通信模块16与新能源汽车的控制装置连接,MCU模块11分别与DA模块12、功放模块13连接。功放模块13分别与DA模块12和扬声器14连接,MCU模块11与DA模块12可以通过SPI串行总线等进行连接。As shown in FIG. 1 and FIG. 2, the present invention provides a warning sound generator for a new energy vehicle, comprising: an MCU module 11, a CAN communication module 16, a DA module 12, a power amplifier module 13, and a speaker 14. The DA module 12 is a digital-to-analog conversion module. The MCU module 11 is connected to the control device of the new energy vehicle through the CAN communication module 16, and the MCU module 11 is connected to the DA module 12 and the power amplifier module 13, respectively. The power amplifier module 13 is connected to the DA module 12 and the speaker 14, respectively, and the MCU module 11 and the DA module 12 can be connected via an SPI serial bus or the like.

MCU模块11生成具有方波的PWM信号并发送给功放模块13,PWM信号用于进行音量调节。MCU模块11将声音数据发送给DA模块12,并向DA模块12发送工作时间基准信号,工作时间基准信号用于给DA模块12提供时钟频率信号,工作时间基准信号可以为方波信号,进行音频控制。The MCU module 11 generates a PWM signal having a square wave and transmits it to the power amplifier module 13, which is used for volume adjustment. The MCU module 11 sends the sound data to the DA module 12, and sends a working time reference signal to the DA module 12. The working time reference signal is used to provide the clock frequency signal to the DA module 12, and the working time reference signal can be a square wave signal for audio. control.

例如,DA模块12可以有一个时钟输入端,MCU模块11的频率输出引脚向时钟输入端发送工作时间基准信号。DA模块12基于声音数据和工作时间基准信号生成音频信号并发送给功放模块13,由功放模块13驱动扬声器14播放音频信号。电源模块18分别与MCU模块11、CAN通信模块16、DA模块12、功放模块13、CAN外围模块17等连接,提供电源。For example, the DA module 12 can have a clock input, and the frequency output pin of the MCU module 11 sends a working time reference signal to the clock input. The DA module 12 generates an audio signal based on the sound data and the working time reference signal and transmits it to the power amplifier module 13, and the power amplifier module 13 drives the speaker 14 to play the audio signal. The power module 18 is connected to the MCU module 11, the CAN communication module 16, the DA module 12, the power amplifier module 13, the CAN peripheral module 17, and the like, respectively, to provide power.

上述实施例中的新能源汽车的警示音发生器,具有音量、音频调节功能。功放模块13包含有功放芯片,通过MCU模块11控制功放芯片专有 的功率音量控制引脚进行警示音发生器的音量控制。警示音发生器的音量控制方式为PWM方式,PWM方式在功放芯片呈现方式是直流电压的高低,占空比越高则电压越高。The warning sound generator of the new energy vehicle in the above embodiment has a volume and audio adjustment function. The power amplifier module 13 includes a power amplifier chip, and the MCU module 11 controls the power volume control pin of the power amplifier chip to control the volume of the alarm sound generator. The volume control mode of the warning tone generator is PWM mode, and the PWM mode is in the power amplifier chip presentation mode is the level of the DC voltage, and the higher the duty ratio, the higher the voltage.

音量调节采用PWM方式对功放芯片的功率输出控制引脚进行模拟电压输出的控制,分辨率可达65536个档位,PWM的信号的方波信号发出后通过RC整形电路模块产生一个近似直流电平,类似于“电位器旋钮”调压方式,可以产生1/65535的细分电压。The volume adjustment adopts PWM mode to control the analog voltage output of the power output control pin of the power amplifier chip, and the resolution can reach 65536 gear positions. The square wave signal of the PWM signal is generated and generates an approximate DC level through the RC shaping circuit module. Similar to the “potentiometer knob” voltage regulation method, a subdivision voltage of 1/65535 can be generated.

警示音发生器的音频调节是对声音输出频率的调节,即控制声音播放的快慢。DA模块12的时钟采用的外部输入的方波信号,MCU模块11通过控制工作时间基准信号(方波信号)的频率控制扬声器14声音播放的快慢。The audio adjustment of the warning tone generator is the adjustment of the sound output frequency, that is, the speed at which the sound is played. The clock of the DA module 12 employs an externally input square wave signal, and the MCU module 11 controls the speed of sound playback of the speaker 14 by controlling the frequency of the working time reference signal (square wave signal).

在CAN通讯硬件系统中提高抗干扰能力和对可能出现的实效模式进行了设计方案预留。MCU模块11把声音文件转成声音数组,并发送给DA模块12播放,播放的音量通过MCU模块11的PWM控制引脚控制功放芯片进行控制,播放的音频信号通过MCU模块11输出方波到DA模块12的系统时钟引脚进行控制。The anti-interference ability is improved in the CAN communication hardware system and the design scheme for the possible effective mode is reserved. The MCU module 11 converts the sound file into an audio array and sends it to the DA module 12 for playback. The volume of the playback is controlled by the PWM control pin of the MCU module 11 to control the power amplifier chip, and the played audio signal is output to the DA through the MCU module 11 The system clock pin of module 12 is controlled.

上述实施例中的新能源汽车的警示音发生器,没有采用专门的语音解码芯片,而是采用软件把语音文件解码后形成声音数组,按照声组对应的数据按照一定的时间间隔,通过CPU的DA把声组数据对应的电压推送到功放模块,进而驱动扬声器发出对应的声音。The warning sound generator of the new energy vehicle in the above embodiment does not use a special voice decoding chip, but uses software to decode the voice file to form a sound array, according to the data corresponding to the sound group, according to a certain time interval, through the CPU The DA pushes the voltage corresponding to the sound group data to the power amplifier module, thereby driving the speaker to emit a corresponding sound.

上述实施例中的新能源汽车的警示音发生器,解决了原有警示音发生器必须依赖专有语音芯片、增加了系统成本的问题,声音输出方式采用DA转换方式而非传统的PWM方式,音频采用MUC的可编程方波控制,可以进行65536个级别的控制,解决了原有的播放调节容易产生频率的跳变、产生顿挫感的问题。The warning sound generator of the new energy vehicle in the above embodiment solves the problem that the original warning tone generator must rely on the proprietary voice chip and increases the system cost, and the sound output mode adopts the DA conversion mode instead of the traditional PWM mode. The audio uses MUC's programmable square wave control, which can control 65,536 levels, which solves the problem that the original playback adjustment easily causes frequency jumps and frustration.

存储模块15与MCU模块11电连接,MCU模块11将接收到的声音文件转换为声音数组,并存储在存储模块15中。MCU模块11通过一个声音软件把声音文件转化为WAV格式,采样率8k或者16k,把声音文件转化为对应的为系统可识别的数组,数组制作完成后(16bit)放入到掉电不丢 失芯片中。存储模块15或MCU模块11将数组发送到DA模块12,DA模块12通过输出声组对应的电压信号,发出预先设置好的警示音。The storage module 15 is electrically connected to the MCU module 11, and the MCU module 11 converts the received sound file into an audio array and stores it in the storage module 15. The MCU module 11 converts the sound file into a WAV format through a sound software, and the sampling rate is 8k or 16k, and the sound file is converted into a corresponding array identifiable by the system. After the array is completed (16bit), the chip is not powered down. in. The storage module 15 or the MCU module 11 sends an array to the DA module 12, and the DA module 12 emits a preset warning tone by outputting a voltage signal corresponding to the sound group.

声音文件会形成一种多次谐波组合的杂乱波形,此谐波用离散的方式按照一定时间的采样率形成一种声音对应数组,简称声组。MCU模块11通过一个声音软件把声音文件转化为WAV格式,采样率8k或者16k,把声音文件转化为对应的为声组。The sound file will form a disordered waveform of multiple harmonics. This harmonic forms a sound corresponding array in a discrete manner according to a sampling rate at a certain time, which is referred to as a sound group. The MCU module 11 converts the sound file into a WAV format through a sound software, and the sampling rate is 8k or 16k, and the sound file is converted into a corresponding sound group.

声组形成的文件往往越大越好,采样率尤为重要,采样率过高数组过大在系统中不容易保存,采样率过低所发出的声音会是失真严重。声组和采样率确认后,把声组对应数字完成经过一次线性系数后完成声组数据与电压信号的对应,进而通过CPU的DA功能脚按照一定时间间隔进行播放。The files formed by the sound group tend to be larger and better. The sampling rate is especially important. If the sampling rate is too high, the array is too large to be easily stored in the system. The sound generated by the sampling rate is too low. After the sound group and the sampling rate are confirmed, the corresponding number of the sound group is completed, and the corresponding correspondence between the sound group data and the voltage signal is completed after the linear coefficient is completed, and then played by the DA function foot of the CPU at a certain time interval.

MCU模块11通过CAN通信模块16从新能源汽车的控制装置获取状态信号,状态信号包括:刹车信号、加速信号、电机转速和车速信号等。MCU模块11基于状态信号从存储模块15中选取对应的声音数组并发送给DA模块12。例如,选取与汽车引擎声音对应的声音数组进行处理、播放,可以模拟汽车在40公里、80公里时速时的发动机不同的声音。The MCU module 11 acquires a status signal from the control device of the new energy vehicle through the CAN communication module 16, and the status signals include: a brake signal, an acceleration signal, a motor speed, and a vehicle speed signal. The MCU module 11 selects a corresponding sound array from the storage module 15 based on the status signal and transmits it to the DA module 12. For example, selecting an array of sounds corresponding to the sound of the car engine for processing and playback can simulate different sounds of the engine when the car is at 40 km and 80 km/h.

MCU模块11和红外探测模块21电连接。红外探测模块21检测车辆周边是否有人并输出红外探测信号,MCU模块11接收到红外探测信号并根据红外探测信号生成PWM信号和工作时间基准信号,并从存储模块中选取对应的声音数组并发送给DA模块12。The MCU module 11 and the infrared detecting module 21 are electrically connected. The infrared detecting module 21 detects whether there is a person around the vehicle and outputs an infrared detecting signal, and the MCU module 11 receives the infrared detecting signal and generates a PWM signal and a working time reference signal according to the infrared detecting signal, and selects a corresponding sound array from the storage module and sends the same to the sound module. DA module 12.

例如,在车头配有红外探测模块,红外探测模块具有红外探头接口,此探测头基于热释电传感器可以通过检测人体特征红外波段10um的信号的强弱来判断是否有行人经过,并且输出红外探测信号。一旦有行人出现热释电传感器的接收范围,热释电就会产生对应的电压信号,即一种红外探测信号,电压信号经过滤波电路去噪提纯,输送到AD采集部分,把热释电采集来的模拟信号转换为数字信号,数字信号进入MCU模块11,进而判断到前方有行人出现,控制发出警示音。For example, the front of the vehicle is equipped with an infrared detection module, and the infrared detection module has an infrared probe interface. The detection head based on the pyroelectric sensor can detect whether there is a pedestrian passing by detecting the strength of the signal of the human body characteristic infrared band 10um, and output infrared detection. signal. Once a pedestrian has a receiving range of the pyroelectric sensor, the pyroelectric will generate a corresponding voltage signal, that is, an infrared detecting signal, and the voltage signal is denoised and purified by the filtering circuit, and sent to the AD collecting part to collect the pyroelectric power. The incoming analog signal is converted into a digital signal, and the digital signal enters the MCU module 11, thereby judging that a pedestrian appears in front and the control emits a warning tone.

GPS模块22与MCU模块11电连接,GPS模块22向MCU模块11发送车速和时间信号。MCU模块11和环境信号采集模块23电连接,环境信号采集 模块23实时采集外界环境声音的声压信号并发送到MCU模块。The GPS module 22 is electrically coupled to the MCU module 11, and the GPS module 22 transmits vehicle speed and time signals to the MCU module 11. The MCU module 11 and the environmental signal acquisition module 23 are electrically connected, and the ambient signal acquisition module 23 collects the sound pressure signal of the external environment sound in real time and sends it to the MCU module.

MCU模块11实时接收GPS模块22发送的速度信号,当车速满足报警阈值时,MCU模块11分别从GPS模块22和环境信号采集模块23获取时间信号和声压信号,根据时间信号和声压信号生成PWM信号和工作时间基准信号,并从存储模块15中选取对应的声音数组并发送给DA模块12。The MCU module 11 receives the speed signal sent by the GPS module 22 in real time. When the vehicle speed meets the alarm threshold, the MCU module 11 acquires the time signal and the sound pressure signal from the GPS module 22 and the environmental signal acquisition module 23, respectively, and generates the time signal and the sound pressure signal according to the time signal and the sound pressure signal. The PWM signal and the working time reference signal are selected from the storage module 15 and sent to the DA module 12.

MCU模块11分别从GPS模块22和环境信号采集模块23获取时间信号和声压信号,并对时间信号和声压信号进行分析。当判断需要降低音量时,MCU模块11通过调整PWM信号和工作时间基准信号调节扬声器14播放的音量和音频。The MCU module 11 acquires a time signal and a sound pressure signal from the GPS module 22 and the environmental signal acquisition module 23, respectively, and analyzes the time signal and the sound pressure signal. When it is judged that the volume needs to be lowered, the MCU module 11 adjusts the volume and audio played by the speaker 14 by adjusting the PWM signal and the working time reference signal.

MCU模块11通过外界环境声音的声压信号可以判断周边的声音是否嘈杂,如果周边嘈杂或分贝很高则加大音量,如果周边很安静或分贝很小则减小音量,可以避免发生扰民等发生。MCU模块11可以实时监测环境的声压水平,根据周围的声压水平决定新能源汽车行人声音警示装置本身所要发出的声压大小,进而在周围声压平均水平的较小时,发出较小的声压值就能完成行人警示作用。The MCU module 11 can judge whether the surrounding sound is noisy by the sound pressure signal of the external environment sound. If the surrounding noise is high or the decibel is high, the volume is increased. If the surrounding is very quiet or the decibel is small, the volume is reduced, and the disturbance can be avoided. . The MCU module 11 can monitor the sound pressure level of the environment in real time, and determine the sound pressure level to be emitted by the new energy vehicle pedestrian sound warning device according to the surrounding sound pressure level, and then emit a small sound when the average sound pressure level is small. The pressure value can complete the pedestrian warning function.

MCU模块11可以避免一直被动地发出行人警示,根据车辆行驶的环境的声压动态的反馈控制播放的音量,如在吵杂的十字路口可以适当的提高音量,在夜晚安静的小区可以适当的调低音量,配有红外探测用来检测行人是否存在,如果检测到行人则发出警示音,反之则停止发出警示音。MCU模块11对接收到的时间信号和外界噪声信号进行分析,例如,目前是晚上还是白天,外界的噪声是大还是小,根据时间和外界噪声对播放的音量进行确定。The MCU module 11 can avoid the pedestrian warning being issued passively, and control the playing volume according to the dynamic pressure feedback of the environment in which the vehicle is traveling. For example, the noise can be appropriately increased at a noisy intersection, and the quiet cell can be appropriately adjusted at night. Low volume, equipped with infrared detection to detect the presence of pedestrians, if a pedestrian is detected, a warning tone is sounded, otherwise a warning tone is stopped. The MCU module 11 analyzes the received time signal and the external noise signal. For example, whether the noise is large or small at night or during the day, the volume of the playback is determined according to time and external noise.

例如,MCU模块11实时接收GPS模块22发送的速度信号,当车速满足报警阈值时,即车速已低于设定的车速阈值时,例如车速大于0同时小于30公里/小时,MCU模块11分别从GPS模块22和环境信号采集模块23获取时间信息和外界的噪音信息,根据时间信息和外界的噪音信息确定播放声音的音量和音频。当判断需要降低音量时,例如,外界的噪音变低或者时间更晚了,则降低播放声音的音量和音频等。For example, the MCU module 11 receives the speed signal sent by the GPS module 22 in real time. When the vehicle speed meets the alarm threshold, that is, when the vehicle speed has fallen below the set vehicle speed threshold, for example, the vehicle speed is greater than 0 and less than 30 km/hour, the MCU module 11 respectively The GPS module 22 and the environmental signal acquisition module 23 acquire time information and external noise information, and determine the volume and audio of the played sound based on the time information and the external noise information. When it is judged that the volume needs to be lowered, for example, the external noise becomes low or the time is later, the volume, audio, and the like of the played sound are lowered.

CAN通信模块16中采用了MC33901系列芯片,MC33901系列芯片是飞思卡尔最新出的CAN芯片。在芯片的外围电路中采用防共模干扰电路和高频滤除电路。在CAN通信模块16中采用了最新的芯片去掉了共模电感带来的增加的成本负担。The MC33901 series chip is used in the CAN communication module 16. The MC33901 series chip is the latest CAN chip from Freescale. Anti-common mode interference circuit and high frequency filtering circuit are adopted in the peripheral circuit of the chip. The use of the latest chips in the CAN communication module 16 removes the increased cost burden of common mode inductors.

飞思卡尔MC33901系列芯片是一个高性价比收发器,专门针对标准CAN高速应用,用于将数字协议信息转换成模拟CAN通信,可以为汽车应用提供内置收发器显性超时功能、物理接口连接MCU的CAN协议控制器和CAN总线的物理双线等。Freescale's MC33901 family of chips is a cost-effective transceiver designed for standard CAN high-speed applications for converting digital protocol information into analog CAN communications. It provides built-in transceiver explicit timeout for automotive applications and a physical interface to the MCU. The CAN protocol controller and the physical double line of the CAN bus.

在MCU模块11和功放模块13之间设置有第一RC整形电路模块,MCU模块11发送的PWM信号通过第一RC整形电路模块进行整形后发送到功放模块13。在DA模块12与功放模块13之间设置有第二RC整形电路模块,DA模块12发送的音频信号通过第二RC整形电路模块进行整形后发送到功放模块13。第一RC整形电路模块和第一RC整形电路模块的电路可以相同,例如都为如图3所示的RC整形电路。A first RC shaping circuit module is disposed between the MCU module 11 and the power amplifier module 13. The PWM signal sent by the MCU module 11 is shaped by the first RC shaping circuit module and sent to the power amplifier module 13. A second RC shaping circuit module is disposed between the DA module 12 and the power amplifier module 13. The audio signal sent by the DA module 12 is shaped by the second RC shaping circuit module and sent to the power amplifier module 13. The circuits of the first RC shaping circuit module and the first RC shaping circuit module may be the same, for example, both are RC shaping circuits as shown in FIG.

上述实施例提供的新能源汽车的行人声音警报装置,通过将PWM信号发送给功放模块进行音量调节,将声音数据发送给DA模块,向DA模块发送时钟基准信号进行音频控制,解决了必须依赖语音芯片增加系统成本的问题,加强了CAN通讯过程中的抗干扰能力,并且音量、音调可根据汽车的状态实时调节,警示效果好,并可以减小对外界环境的声音污染。The pedestrian voice alarm device of the new energy vehicle provided by the above embodiment transmits the sound signal to the DA module by transmitting the PWM signal to the power amplifier module, and sends the clock reference signal to the DA module for audio control, thereby solving the necessity of relying on the voice. The chip increases the system cost problem, strengthens the anti-interference ability in the CAN communication process, and the volume and tone can be adjusted in real time according to the state of the car, the warning effect is good, and the sound pollution to the external environment can be reduced.

可能以许多方式来实现本发明的方法和系统。例如,可通过软件、硬件、固件或者软件、硬件、固件的任何组合来实现本发明的方法和系统。用于方法的步骤的上述顺序仅是为了进行说明,本发明的方法的步骤不限于以上具体描述的顺序,除非以其它方式特别说明。此外,在一些实施例中,还可将本发明实施为记录在记录介质中的程序,这些程序包括用于实现根据本发明的方法的机器可读指令。因而,本发明还覆盖存储用于执行根据本发明的方法的程序的记录介质。The methods and systems of the present invention may be implemented in a number of ways. For example, the methods and systems of the present invention can be implemented in software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described sequence of steps for the method is for illustrative purposes only, and the steps of the method of the present invention are not limited to the order specifically described above unless otherwise specifically stated. Moreover, in some embodiments, the invention may also be embodied as a program recorded in a recording medium, the program comprising machine readable instructions for implementing the method according to the invention. Thus, the invention also covers a recording medium storing a program for performing the method according to the invention.

上述本发明所公开的任一技术方案除另有声明外,如果其公开了 数值范围,那么公开的数值范围均为优选的数值范围,任何本领域的技术人员应该理解:优选的数值范围仅仅是诸多可实施的数值中技术效果比较明显或具有代表性的数值。由于数值较多,无法穷举,所以本发明才公开部分数值以举例说明本发明的技术方案,并且,上述列举的数值不应构成对本发明创造保护范围的限制。Any of the above-disclosed embodiments of the present invention are intended to be within the preferred numerical range unless otherwise stated. Any person skilled in the art will understand that the preferred numerical range is only Among the many implementable values, the technical effects are obvious or representative. The present invention is not limited by the scope of the present invention, and the numerical values set forth above should not be construed as limiting the scope of the invention.

同时,上述本发明如果公开或涉及了互相固定连接的零部件或结构件,那么,除另有声明外,固定连接可以理解为:能够拆卸地固定连接(例如使用螺栓或螺钉连接),也可以理解为:不可拆卸的固定连接(例如铆接、焊接),当然,互相固定连接也可以为一体式结构(例如使用铸造工艺一体成形制造出来)所取代(明显无法采用一体成形工艺除外)。In the meantime, if the above-mentioned invention discloses or relates to components or structural members that are fixedly connected to each other, unless otherwise stated, a fixed connection can be understood as: a detachable fixed connection (for example, using bolts or screws), or It is understood as: non-detachable fixed joints (such as riveting, welding), of course, the mutual fixed connection can also be replaced by a one-piece structure (for example, manufactured by integral casting process) (except that the integral forming process is obviously not available).

另外,上述本发明公开的任一技术方案中所应用的用于表示位置关系或形状的术语除另有声明外其含义包括与其近似、类似或接近的状态或形状。本发明提供的任一部件既可以是由多个单独的组成部分组装而成,也可以为一体成形工艺制造出来的单独部件。In addition, the terms used in any one of the above-disclosed embodiments of the present invention for indicating a positional relationship or shape include a state or shape similar to, similar to, or similar to each other unless otherwise stated. Any of the components provided by the present invention may be assembled from a plurality of separate components or may be a separate component manufactured by an integral forming process.

最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制;尽管参照较佳实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者对部分技术特征进行等同替换;而不脱离本发明技术方案的精神,其均应涵盖在本发明请求保护的技术方案范围当中。It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to be limiting; although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that The invention is not limited to the spirit of the technical solutions of the present invention, and should be included in the scope of the technical solutions claimed in the present invention.

Claims (10)

一种新能源汽车的警示音发生器,其特征在于,包括:A warning sound generator for a new energy vehicle, characterized in that it comprises: MCU模块、CAN通信模块、DA模块、功放模块和扬声器;MCU module, CAN communication module, DA module, power amplifier module and speaker; 所述MCU模块通过所述CAN通信模块与新能源汽车的控制装置连接;所述MCU模块分别与所述DA模块、所述功放模块连接;所述功放模块分别与所述DA模块和所述扬声器连接;所述MCU模块生成具有方波的PWM信号并发送给所述功放模块,所述PWM信号用于进行音量调节;所述MCU模块将声音数据发送给所述DA模块,并向所述DA模块发送工作时间基准信号,所述工作时间基准信号用于进行音频控制;所述DA模块基于所述声音数据和所述工作时间基准信号生成音频信号并发送给所述功放模块。The MCU module is connected to a control device of a new energy vehicle through the CAN communication module; the MCU module is respectively connected to the DA module and the power amplifier module; the power amplifier module is respectively connected to the DA module and the speaker Connecting; the MCU module generates a PWM signal having a square wave for transmitting to the power amplifier module, the PWM signal is used for volume adjustment; the MCU module transmits sound data to the DA module, and to the DA The module transmits a working time reference signal for performing audio control; the DA module generates an audio signal based on the sound data and the working time reference signal and transmits the audio signal to the power amplifier module. 如权利要求1所述的装置,其特征在于,还包括:The device of claim 1 further comprising: 电源模块;所述电源模块分别与所述MCU模块、所述CAN通信模块、所述DA模块、所述功放模块连接。a power module; the power module is respectively connected to the MCU module, the CAN communication module, the DA module, and the power amplifier module. 如权利要求1所述的警示音发生器,其特征在于,还包括:The alert tone generator of claim 1 further comprising: 存储模块;所述存储模块与所述MCU模块电连接;所述MCU模块将接收到的声音文件转换为声音数组,并存储在所述存储模块中。a storage module; the storage module is electrically connected to the MCU module; the MCU module converts the received sound file into an audio array, and stores the sound file in the storage module. 如权利要求3所述的警示音发生器,其特征在于,还包括:The warning tone generator of claim 3, further comprising: 所述MCU模块通过所述CAN通信模块从新能源汽车的控制装置获取状态信号,所述状态信号包括:刹车信号、加速信号、电机转速和车速信号;The MCU module acquires a status signal from a control device of a new energy vehicle through the CAN communication module, where the status signal includes: a brake signal, an acceleration signal, a motor speed, and a vehicle speed signal; 所述MCU模块基于所述状态信号从所述存储模块中选取对应的声音数组并发送给所述DA模块。The MCU module selects a corresponding sound array from the storage module based on the status signal and sends the corresponding sound array to the DA module. 如权利要求3所述的警示音发生器,其特征在于,还包括:The warning tone generator of claim 3, further comprising: 红外探测模块;所述MCU模块和所述红外探测模块电连接;所述红外探测模块检测车辆周边是否有人并输出红外探测信号,所述MCU模块接收到所述红外探测信号并根据所述红外探测信号生成所述PWM信号和所述工作时间基准信号,并从所述存储模块中选取对应的声音数组并发送给所述DA模块。An infrared detecting module; the MCU module and the infrared detecting module are electrically connected; the infrared detecting module detects whether there is a person around the vehicle and outputs an infrared detecting signal, and the MCU module receives the infrared detecting signal and according to the infrared detecting The signal generates the PWM signal and the working time reference signal, and selects a corresponding sound array from the storage module and sends the same to the DA module. 如权利要求3所述的警示音发生器,其特征在于,还包括:The warning tone generator of claim 3, further comprising: GPS模块;所述GPS模块与所述MCU模块电连接;所述GPS模块向所述MCU模块发送车速和时间信号;环境信号采集模块;所述MCU模块和所述环境信号采集模块电连接;所述环境信号采集模块实时采集外界环境声音的声压信号并发送到所述MCU模块。a GPS module; the GPS module is electrically connected to the MCU module; the GPS module sends a vehicle speed and time signal to the MCU module; an environmental signal acquisition module; the MCU module and the environmental signal acquisition module are electrically connected; The ambient signal acquisition module collects the sound pressure signal of the external environment sound in real time and sends it to the MCU module. 如权利要求6所述的警示音发生器,其特征在于,A warning tone generator according to claim 6 wherein: 所述MCU模块实时接收所述GPS模块发送的速度信号;The MCU module receives the speed signal sent by the GPS module in real time; 当车速满足报警阈值时,所述MCU模块分别从所述GPS模块和所述环境信号采集模块获取所述时间信号和所述声压信号,根据所述时间信号和所述声压信号生成所述PWM信号和所述工作时间基准信号,并从所述存储模块中选取对应的声音数组并发送给所述DA模块。When the vehicle speed meets the alarm threshold, the MCU module acquires the time signal and the sound pressure signal from the GPS module and the environmental signal acquisition module, respectively, and generates the according to the time signal and the sound pressure signal. The PWM signal and the working time reference signal are selected from the storage module and sent to the DA module. 如权利要求6所述的装置,其特征在于:The device of claim 6 wherein: 所述MCU模块分别从所述GPS模块和所述环境信号采集模块获取所述时间信号和所述声压信号,并对所述时间信号和所述声压信号进行分析;The MCU module acquires the time signal and the sound pressure signal from the GPS module and the environmental signal acquisition module, respectively, and analyzes the time signal and the sound pressure signal; 当判断需要降低音量时,所述MCU模块通过调整所述PWM信号和所述工作时间基准信号调节所述扬声器播放的音量和音频。When it is judged that the volume needs to be lowered, the MCU module adjusts the volume and audio played by the speaker by adjusting the PWM signal and the working time reference signal. 如权利要求1所述的警示音发生器,其特征在于,还包括:The alert tone generator of claim 1 further comprising: 在所述MCU模块和所述功放模块之间设置有第一RC整形电路模块;所述MCU模块发送的所述PWM信号通过所述第一RC整形电路模块进行整形后发送到所述功放模块。A first RC shaping circuit module is disposed between the MCU module and the power amplifier module; the PWM signal sent by the MCU module is shaped by the first RC shaping circuit module and sent to the power amplifier module. 如权利要求1所述的警示音发生器,其特征在于,还包括:The alert tone generator of claim 1 further comprising: 在所述DA模块与所述功放模块之间设置有第二RC整形电路模块,所述DA模块发送的所述音频信号通过所述第二RC整形电路模块进行整形后发送到所述功放模块。A second RC shaping circuit module is disposed between the DA module and the power amplifier module, and the audio signal sent by the DA module is shaped by the second RC shaping circuit module and sent to the power amplifier module.
PCT/CN2018/073744 2017-03-16 2018-01-23 Warning sound producer for new energy vehicle Ceased WO2018166296A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE112018000240.3T DE112018000240T5 (en) 2017-03-16 2018-01-23 Warning sound generator for an alternative fuel vehicle

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710155537.9 2017-03-16
CN201710155537.9A CN107054210A (en) 2017-03-16 2017-03-16 A kind of warning tone generator of new-energy automobile

Publications (1)

Publication Number Publication Date
WO2018166296A1 true WO2018166296A1 (en) 2018-09-20

Family

ID=59618177

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/073744 Ceased WO2018166296A1 (en) 2017-03-16 2018-01-23 Warning sound producer for new energy vehicle

Country Status (3)

Country Link
CN (1) CN107054210A (en)
DE (1) DE112018000240T5 (en)
WO (1) WO2018166296A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114523900A (en) * 2022-01-06 2022-05-24 浙江零跑科技股份有限公司 Control system and method integrating pedestrian warning tone and engine sound wave functions
CN117896654A (en) * 2024-03-11 2024-04-16 南京达道电子科技有限公司 Method for generating chime sound effect and control system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107054210A (en) * 2017-03-16 2017-08-18 吉林航盛电子有限公司 A kind of warning tone generator of new-energy automobile
CN107995561B (en) * 2017-12-28 2024-03-01 重庆德科电子仪表有限公司 Vehicle-mounted instrument audio control system and control method
CN109017296A (en) * 2018-06-08 2018-12-18 曲阜天博汽车电器有限公司 New-energy automobile accelerator pedal prompts system for electrical teaching
CN112356772A (en) * 2020-11-19 2021-02-12 奇瑞商用车(安徽)有限公司 Automobile pedestrian prompting device and control method thereof

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090066499A1 (en) * 2007-07-17 2009-03-12 Enhanced Vehicle Acoustics, Inc. External sound generating system and method
CN101998204A (en) * 2009-08-24 2011-03-30 北汽福田汽车股份有限公司 Control method and control system for recognizing sound source to regulate sound volume of automobile horn
JP2011116232A (en) * 2009-12-03 2011-06-16 Prostaff:Kk Traveling sound generator
CN102602333A (en) * 2012-03-09 2012-07-25 清华大学 Multi-mode pedestrian safety sound warning system for electric vehicle
CN102862513A (en) * 2012-09-29 2013-01-09 苏州新昌科技有限公司 System and method for simulating running sound of motor vehicle
JP2013047024A (en) * 2011-08-28 2013-03-07 Denso Corp Vehicle warning device
CN103927849A (en) * 2014-04-28 2014-07-16 吉林航盛电子有限公司 Volume adjustable pedestrian voice reminding device of new energy automobile
CN205149645U (en) * 2015-12-04 2016-04-13 吉林航盛电子有限公司 New energy automobile traveles and assists sound generating mechanism based on digital analog conversion
CN105489063A (en) * 2016-01-13 2016-04-13 吉林航盛电子有限公司 New energy vehicle pedestrian sound warning device with active early warning function
CN107054210A (en) * 2017-03-16 2017-08-18 吉林航盛电子有限公司 A kind of warning tone generator of new-energy automobile
CN206537211U (en) * 2017-03-16 2017-10-03 吉林航盛电子有限公司 A kind of warning tone generator of new-energy automobile

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090066499A1 (en) * 2007-07-17 2009-03-12 Enhanced Vehicle Acoustics, Inc. External sound generating system and method
CN101998204A (en) * 2009-08-24 2011-03-30 北汽福田汽车股份有限公司 Control method and control system for recognizing sound source to regulate sound volume of automobile horn
JP2011116232A (en) * 2009-12-03 2011-06-16 Prostaff:Kk Traveling sound generator
JP2013047024A (en) * 2011-08-28 2013-03-07 Denso Corp Vehicle warning device
CN102602333A (en) * 2012-03-09 2012-07-25 清华大学 Multi-mode pedestrian safety sound warning system for electric vehicle
CN102862513A (en) * 2012-09-29 2013-01-09 苏州新昌科技有限公司 System and method for simulating running sound of motor vehicle
CN103927849A (en) * 2014-04-28 2014-07-16 吉林航盛电子有限公司 Volume adjustable pedestrian voice reminding device of new energy automobile
CN205149645U (en) * 2015-12-04 2016-04-13 吉林航盛电子有限公司 New energy automobile traveles and assists sound generating mechanism based on digital analog conversion
CN105489063A (en) * 2016-01-13 2016-04-13 吉林航盛电子有限公司 New energy vehicle pedestrian sound warning device with active early warning function
CN107054210A (en) * 2017-03-16 2017-08-18 吉林航盛电子有限公司 A kind of warning tone generator of new-energy automobile
CN206537211U (en) * 2017-03-16 2017-10-03 吉林航盛电子有限公司 A kind of warning tone generator of new-energy automobile

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114523900A (en) * 2022-01-06 2022-05-24 浙江零跑科技股份有限公司 Control system and method integrating pedestrian warning tone and engine sound wave functions
CN117896654A (en) * 2024-03-11 2024-04-16 南京达道电子科技有限公司 Method for generating chime sound effect and control system
CN117896654B (en) * 2024-03-11 2024-05-17 南京达道电子科技有限公司 Chime sound effect generation method and control system

Also Published As

Publication number Publication date
CN107054210A (en) 2017-08-18
DE112018000240T5 (en) 2019-09-12

Similar Documents

Publication Publication Date Title
WO2018166296A1 (en) Warning sound producer for new energy vehicle
CN110758235B (en) Pedestrian warning device system and pedestrian warning method
WO2017121110A1 (en) Pedestrian sound warning device having active early-warning function for use in new-energy vehicle
US9580010B2 (en) Vehicle approach notification apparatus
CN101790000B (en) A kind of ambient sound reminding method and mobile terminal
CN103434445B (en) Vehicle is blown a whistle prompt system and method
US9478214B2 (en) Device and method for generating noise for a motor vehicle
US20130208912A1 (en) Simulation of engine sounds in silent vehicles
CN104924979A (en) Vehicle approach notification apparatus
CN206426929U (en) The multi-functional low speed speech simulation alarm set of pure electric automobile
JPH0732948A (en) Pseudo-running sound generator for electric vehicles
US9731650B2 (en) Enhanced sound generation for quiet vehicles with vehicle-to-vehicle communication capabilities
US20170129397A1 (en) Enhanced sound generation for quiet vehicles
CN107199946B (en) Engine noise simulation method and system for electric and hybrid electric vehicles
CN102717747A (en) Working method for intelligent acoustic and optical warning system for automotive horn
CN105209298B (en) vehicle approaching notification device
CN103927849B (en) Volume adjustable pedestrian voice reminding device of new energy automobile
CN105383377A (en) Pedestrian warning device and vehicle
CN206537211U (en) A kind of warning tone generator of new-energy automobile
CN110816400A (en) System and method for prompting running of electric automobile
WO2013035167A1 (en) Approaching vehicle alerting apparatus, and electric moving body provided with same
TWI543072B (en) Mobile device and operation method thereof
CN206306934U (en) A kind of motor turning sound prompt device
JP2012171406A (en) Notifying sound generating device and vehicle approach notifying device
JP5678877B2 (en) Vehicle approach notification device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18767346

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18767346

Country of ref document: EP

Kind code of ref document: A1