Low-speed prompt tone control method and device for electric automobile

文档序号:147781 发布日期:2021-10-26 浏览:28次 中文

阅读说明:本技术 一种电动汽车的低速提示音控制方法及装置 (Low-speed prompt tone control method and device for electric automobile ) 是由 张宏宇 于 2020-04-24 设计创作,主要内容包括:本发明公开了一种电动汽车的低速提示音控制方法及装置,方法应用于提示音控制器,包括:接收车身域控制器发送的目标脉冲宽度调制PWM信号;其中所述目标PWM信号是所述车身域控制器根据电动汽车当前的状态信息确定并生成的,所述当前的状态信息至少包括:当前的车速信号和当前的档位信号;根据所述目标PWM信号,确定提示音数据;将所述提示音数据通过音频功放模块输出至扬声器进行播放。本发明的方案容易实现,且降低了成本。(The invention discloses a low-speed prompt tone control method and a device of an electric automobile, wherein the method is applied to a prompt tone controller and comprises the following steps: receiving a target Pulse Width Modulation (PWM) signal sent by a vehicle body domain controller; wherein the target PWM signal is determined and generated by the body domain controller according to current state information of the electric vehicle, the current state information at least including: a current vehicle speed signal and a current gear signal; determining cue tone data according to the target PWM signal; and outputting the prompt tone data to a loudspeaker through an audio power amplifier module for playing. The scheme of the invention is easy to realize and reduces the cost.)

1. A low-speed prompt tone control method of an electric automobile is characterized by being applied to a prompt tone controller and comprising the following steps:

receiving a target Pulse Width Modulation (PWM) signal sent by a vehicle body domain controller; wherein the target PWM signal is determined and generated by the body domain controller according to current state information of the electric vehicle, the current state information at least including: a current vehicle speed signal and a current gear signal;

determining cue tone data according to the target PWM signal;

and outputting the prompt tone data to a loudspeaker through an audio power amplifier module for playing.

2. The method for controlling the low-speed warning tone of the electric vehicle according to claim 1, wherein the determining the warning tone data according to the target PWM signal includes:

acquiring the frequency of the target PWM signal;

and acquiring target audio data corresponding to the frequency of the target PWM signal from various pre-stored audio data, and determining the target audio data as the cue tone data.

3. The method for controlling a low-speed warning tone of an electric vehicle according to claim 1 or 2, wherein before outputting the warning tone data to a speaker through an audio power amplifier module for playing, the method further comprises:

acquiring the duty ratio of the target PWM signal;

and determining the sound pressure level and the frequency of the loudspeaker for playing the cue tone data according to the duty ratio of the target PWM signal.

4. The method for controlling a low speed warning tone of an electric vehicle according to claim 1, further comprising:

after the electric automobile is powered on, the prompt tone controller automatically enters a working state of pedestrian reminding and receives the target PWM signal sent by the automobile body domain controller.

5. The method for controlling the low speed warning tone of the electric vehicle according to claim 1, wherein the current gear signal is: a forward gear or a reverse gear;

the audio data corresponding to the forward gear at least comprises two audio data.

6. A low-speed prompt tone control method of an electric automobile is characterized by being applied to a body area controller and comprising the following steps:

acquiring current state information of the electric automobile; wherein the current state information at least comprises: a current vehicle speed signal and a current gear signal;

determining a target Pulse Width Modulation (PWM) signal corresponding to the current state information and generating the target PWM signal;

and sending the target PWM signal to a prompt tone controller so that the prompt tone controller determines prompt tone data according to the target PWM signal and outputs the prompt tone data to a loudspeaker for playing through an audio power amplifier module.

7. The method of claim 6, wherein the determining the target PWM signal corresponding to the status information comprises:

determining a duty ratio corresponding to the current vehicle speed signal according to a corresponding relation between a preset duty ratio and the vehicle speed signal;

and determining the duty ratio corresponding to the current vehicle speed signal as the duty ratio of the target PWM signal.

8. The method for controlling a low speed alert tone of an electric vehicle according to claim 6 or 7, wherein the obtaining of the target Pulse Width Modulation (PWM) signal corresponding to the state information further includes:

determining the frequency of a PWM signal corresponding to the current gear signal;

and determining the frequency of the PWM signal corresponding to the current gear signal as the frequency of the target PWM signal.

9. The method of claim 8, wherein the determining the frequency of the PWM signal corresponding to the current gear signal comprises:

and determining the frequency of the PWM signal corresponding to the current gear signal according to the corresponding relation between the preset gear signal and the frequency of the PWM signal.

10. The method for controlling a low speed warning tone of an electric vehicle according to claim 8, wherein the current gear signal is: the method comprises the steps of A, a forward gear or a reverse gear, wherein audio data corresponding to the forward gear at least comprise two types;

in the case that the current gear signal indicates a forward gear, the determining a frequency of the PWM signal corresponding to the current gear signal includes:

acquiring an input instruction of a user, wherein the input instruction is used for indicating audio data corresponding to a current forward gear;

and determining the frequency of the target PWM signal according to the corresponding relation between the preset input instruction and the frequency of the PWM signal.

11. The method for controlling a low speed alert tone of an electric vehicle according to claim 6, further comprising:

after the electric automobile is powered on, the automobile body domain controller automatically enters a working state for prompting pedestrians, and sends the target PWM signal to the prompt tone controller.

12. A low-speed prompting sound control device of an electric automobile is characterized by being applied to a prompting sound controller and comprising the following components:

the receiving module is used for receiving a target Pulse Width Modulation (PWM) signal sent by the vehicle body domain controller; wherein the target PWM signal is determined and generated by the body domain controller according to current state information of the electric vehicle, the current state information at least including: a current vehicle speed signal and a current gear signal;

the first determining module is used for determining cue tone data according to the target PWM signal;

and the output module is used for outputting the prompt tone data to a loudspeaker through an audio power amplifier module for playing.

13. A low-speed prompt tone control device for an electric vehicle, which is applied to a vehicle body area controller, includes:

the acquisition module is used for acquiring the current state information of the electric automobile; wherein the current state information at least comprises: a current vehicle speed signal and a current gear signal;

a second determining module, configured to determine a target PWM signal corresponding to the current state information and generate the target PWM signal;

and the sending module is used for sending the target PWM signal to a prompt tone controller so that the prompt tone controller determines prompt tone data according to the target PWM signal and outputs the prompt tone data to a loudspeaker for playing through an audio power amplifier.

Technical Field

The invention relates to the technical field of automobiles, in particular to a low-speed prompt tone control method and device for an electric automobile.

Background

The new energy automobile has no engine sound, so that pedestrians cannot sense the approaching of the automobile due to low noise when the electric automobile starts or runs at a low speed, traffic accidents are easily caused, and the safety of the pedestrians is threatened. Therefore, the new energy automobile is added with low-speed warning prompt tone device alone for reminding the pedestrian.

At present, a low-speed alarm prompt tone device of an existing electric vehicle during low-speed driving has two forms, one is that a low-speed driving prompt tone Controller and a loudspeaker are split, and the other is that the low-speed driving prompt tone Controller and the loudspeaker are integrated, the two forms of the prompt tone controllers are communicated through a Controller Area Network (CAN), in order to meet the specification requirement of the CAN Network, the cost of the low-speed alarm prompt tone device is higher, for example, the Controller and the Network management with higher cost are needed.

Disclosure of Invention

In order to solve the technical problem, the invention provides a low-speed prompt tone control method and device for an electric vehicle, and solves the problem that in the prior art, a prompt tone control device is high in cost due to communication through a CAN (controller area network).

According to a first aspect of the present invention, there is provided a low speed warning tone control method for an electric vehicle, applied to a warning tone controller, comprising:

receiving a target PWM (Pulse Width Modulation) signal sent by a vehicle body domain controller; wherein the target PWM signal is determined and generated by the body domain controller according to current state information of the electric vehicle, the current state information at least including: a current vehicle speed signal and a current gear signal;

determining cue tone data according to the target PWM signal;

and outputting the prompt tone data to a loudspeaker through an audio power amplifier module for playing.

Optionally, the determining cue tone data according to the target PWM signal includes:

acquiring the frequency of the target PWM signal;

and acquiring target audio data corresponding to the frequency of the target PWM signal from various pre-stored audio data, and determining the target audio data as the cue tone data.

Optionally, before outputting the cue tone data to a speaker through an audio power amplifier module for playing, the method further includes:

acquiring the duty ratio of the target PWM signal;

and determining the sound pressure level and the frequency of the loudspeaker for playing the cue tone data according to the duty ratio of the target PWM signal.

Optionally, the method further includes:

after the electric automobile is powered on, the prompt tone controller automatically enters a working state of pedestrian reminding and receives the target PWM signal sent by the automobile body domain controller.

Optionally, the current gear signal is: a forward gear or a reverse gear;

the audio data corresponding to the forward gear at least comprises two audio data.

According to another second aspect of the present invention, there is provided a low speed warning tone control method for an electric vehicle, applied to a body area controller, comprising:

acquiring current state information of the electric automobile; wherein the current state information at least comprises: a current vehicle speed signal and a current gear signal;

determining a target Pulse Width Modulation (PWM) signal corresponding to the current state information and generating the target PWM signal;

and sending the target PWM signal to a prompt tone controller so that the prompt tone controller determines prompt tone data according to the target PWM signal and outputs the prompt tone data to a loudspeaker for playing through an audio power amplifier module.

Optionally, the determining the target PWM signal corresponding to the state information includes:

determining a duty ratio corresponding to the current vehicle speed signal according to a corresponding relation between a preset duty ratio and the vehicle speed signal;

and determining the duty ratio corresponding to the current vehicle speed signal as the duty ratio of the target PWM signal.

Optionally, the obtaining a target PWM signal corresponding to the state information further includes:

determining the frequency of a PWM signal corresponding to the current gear signal;

and determining the frequency of the PWM signal corresponding to the current gear signal as the frequency of the target PWM signal.

Optionally, the determining the frequency of the PWM signal corresponding to the current gear signal includes:

and determining the frequency of the PWM signal corresponding to the current gear signal according to the corresponding relation between the preset gear signal and the frequency of the PWM signal.

Optionally, the current gear signal is: the method comprises the steps of A, a forward gear or a reverse gear, wherein audio data corresponding to the forward gear at least comprise two types;

in the case that the current gear signal indicates a forward gear, the determining a frequency of the PWM signal corresponding to the current gear signal includes:

acquiring an input instruction of a user, wherein the input instruction is used for indicating audio data corresponding to a current forward gear;

and determining the frequency of the target PWM signal according to the corresponding relation between the preset input instruction and the frequency of the PWM signal.

Optionally, the method further includes:

after the electric automobile is powered on, the automobile body domain controller automatically enters a working state for prompting pedestrians, and sends the target PWM signal to the prompt tone controller.

According to a third aspect of the present invention, there is provided a low speed warning sound control device for an electric vehicle, applied to a warning sound controller, comprising:

the receiving module is used for receiving a target Pulse Width Modulation (PWM) signal sent by the vehicle body domain controller; wherein the target PWM signal is determined and generated by the body domain controller according to current state information of the electric vehicle, the current state information at least including: a current vehicle speed signal and a current gear signal;

the first determining module is used for determining cue tone data according to the target PWM signal;

and the output module is used for outputting the prompt tone data to a loudspeaker through an audio power amplifier module for playing.

According to a fourth aspect of the present invention, there is provided a low speed warning sound control device for an electric vehicle, applied to a vehicle body area controller, comprising:

the acquisition module is used for acquiring the current state information of the electric automobile; wherein the current state information at least comprises: a current vehicle speed signal and a current gear signal;

a second determining module, configured to determine a target PWM signal corresponding to the current state information and generate the target PWM signal;

and the sending module is used for sending the target PWM signal to a prompt tone controller so that the prompt tone controller determines prompt tone data according to the target PWM signal and outputs the prompt tone data to a loudspeaker for playing through an audio power amplifier.

The embodiment of the invention has the beneficial effects that:

in the scheme, a target Pulse Width Modulation (PWM) signal sent by a vehicle body domain controller is received; wherein the target PWM signal is determined and generated by the body domain controller according to current state information of the electric vehicle, the current state information at least including: a current vehicle speed signal and a current gear signal; determining cue tone data according to the target PWM signal; and outputting the prompt tone data to a loudspeaker through an audio power amplifier module for playing. The communication between the prompt tone controller and the CAN network is avoided, the memory occupation is reduced, and the cost is reduced.

Drawings

FIG. 1 shows one of the flow charts of a low speed alert tone control method of an embodiment of the present invention;

FIG. 2 is a second flowchart of a low speed warning tone control method according to an embodiment of the present invention;

FIG. 3 is a diagram illustrating a low speed alert tone control architecture according to an embodiment of the present invention;

FIG. 4 is a block diagram showing a low speed warning tone control apparatus according to an embodiment of the present invention;

fig. 5 is a block diagram showing a second configuration of a low-speed alert sound control device according to an embodiment of the present invention.

Detailed Description

Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

As shown in fig. 1, an embodiment of the present invention provides a low-speed alert tone control method for an electric vehicle, applied to an alert tone controller, including:

step 101, receiving a target Pulse Width Modulation (PWM) signal sent by a vehicle body domain controller; wherein the target PWM signal is determined and generated by the body domain controller according to current state information of the electric vehicle, the current state information at least including: a current vehicle speed signal and a current gear signal;

optionally, the current gear signal is: a forward gear or a reverse gear;

the warning tone controller is in communication connection with the body area controller through a General Purpose Input/Output (GPIO), and the warning tone controller is in communication with the body area controller through the GPIO and receives a target Pulse Width Modulation (PWM) signal sent by the body area controller.

Preferably, the warning tone controller may use an 8-bit MCU (Microcontroller Unit, abbreviated as a micro control Unit).

It should be noted that in the conventional scheme of communicating the low-speed alert tone controller with the CAN, the alert tone controller needs to use a 32-bit MCU with higher cost and needs higher network management cost.

Step 102, determining prompt tone data according to the target PWM signal;

wherein the alert tone data includes: audio data of the alert tone and sound pressure level and frequency of the played audio data; specifically, the audio data of the alert tone and the sound pressure level and the frequency of the played audio data may be determined according to the frequency and the duty ratio of the PWM signal, respectively.

And 103, outputting the cue tone data to a loudspeaker through an audio power amplifier module for playing.

The audio power amplification module simulates audio power amplification, so that the sound pressure level of the cue sound data played by the loudspeaker meets the requirement.

In this embodiment, the warning tone controller does not communicate with the CAN network, but acquires the current state information of the electric vehicle by using the existing body area controller, and the body controller determines and generates a PWM signal according to the current state information, and the warning tone controller determines warning tone data by receiving and analyzing the PWM signal control sent by the body area controller, and controls playing of the warning tone data. Compared with the traditional scheme that the prompt tone controller is directly communicated with the CAN, the embodiment reduces the number of CAN signals and the number of controllers and reduces the cost when realizing the low-speed prompt of pedestrians.

Optionally, the step 102 includes:

acquiring the frequency of the target PWM signal;

and acquiring target audio data corresponding to the frequency of the target PWM signal from various pre-stored audio data, and determining the target audio data as the cue tone data.

In the embodiment, the frequency of the target Pulse Width Modulation (PWM) signal sent by the body area controller is received and analyzed through the GPIO. And determining audio data corresponding to the frequency of the target PWM signal from various pre-stored audio data according to the corresponding relation between the frequency of the PWM signal and the audio data, and taking the audio data as the target audio data.

The voice data at least comprises first audio data used for prompting forward gear and second audio data used for prompting reverse gear, so that pedestrians can distinguish the current driving state of the vehicle according to the prompting sound.

Optionally, before step 103, the method further includes:

acquiring the duty ratio of the target PWM signal;

and determining the sound pressure level and the frequency of the loudspeaker for playing the cue tone data according to the duty ratio of the target PWM signal.

In this embodiment, obtaining the duty ratio of the target PWM signal may include: and receiving and analyzing the duty ratio of the target Pulse Width Modulation (PWM) signal sent by the body area controller through the GPIO. And determining the sound pressure level and the frequency of the prompt tone data played by the loudspeaker according to the corresponding relation between the duty ratio of the PWM signal and the sound pressure level and the frequency.

Wherein, the sound pressure level of the prompting sound data of the forward gear changes along with the change of the vehicle speed;

when the vehicle speed is between 0-20 km/h, the sound pressure level gradually increases with an increase in the vehicle speed;

when the vehicle speed is between 20-30 km/h, the sound pressure level gradually decreases with an increase in the vehicle speed;

the frequency shift of the cue tone data is 0.8%/(km/h).

In an optional embodiment, the audio data corresponding to the forward gear includes at least two types, and the type of the audio data corresponding to the forward gear can be selected and switched according to a user instruction.

Optionally, the obtaining manner of the user instruction may include:

the method comprises the following steps that a body area controller receives an input instruction of a user to a central control entertainment system of the electric automobile;

wherein, different input instruction correspond different PWM signal frequency respectively, and different PWM signal frequency corresponds different audio data (the warning tone of keeping ahead simultaneously 1, the warning tone of keeping ahead simultaneously 2 and reverse gear warning tone), as in following 1:

TABLE 1

In an optional embodiment, the method further comprises:

after the electric automobile is powered on, the prompt tone controller automatically enters a working state of pedestrian reminding and receives the target PWM signal sent by the automobile body domain controller.

In the embodiment, after the vehicle is powered on, the warning tone controller automatically starts to enter the working state for prompting pedestrians, and receives the target PWM signal sent by the vehicle body domain controller, so that sound delay caused by rapid acceleration and audio frequency band break points can be prevented.

As shown in fig. 2, an embodiment of the present invention provides a low speed warning tone control method for an electric vehicle, applied to a body area controller, including:

step 201, acquiring current state information of the electric automobile; wherein the current state information at least comprises: a current vehicle speed signal and a current gear signal;

optionally, the current gear signal is: a forward gear or a reverse gear;

the warning tone controller is in communication connection with the body area controller through a General Purpose Input/Output (GPIO), and the warning tone controller is in communication with the body area controller through the GPIO and receives a target Pulse Width Modulation (PWM) signal sent by the body area controller.

Step 202, determining a target Pulse Width Modulation (PWM) signal corresponding to the current state information, and generating the target PWM signal;

specifically, the frequency and the duty ratio of the target PWM signal may be determined according to the correspondence between the state information and the frequency and the duty ratio of the PWM signal, and further, the target PWM signal may be generated according to the determined frequency and the determined duty ratio.

And 203, sending the target PWM signal to a prompt tone controller so that the prompt tone controller determines prompt tone data according to the target PWM signal and outputs the prompt tone data to a loudspeaker for playing through an audio power amplification module.

In this embodiment, the warning tone controller does not communicate with the CAN network, but acquires the current state information of the electric vehicle by using the existing body area controller, and the body controller determines and generates a PWM signal according to the current state information, and the warning tone controller determines warning tone data by receiving and analyzing the PWM signal control sent by the body area controller, and controls playing of the warning tone data. Compared with the traditional scheme that the prompt tone controller is directly communicated with the CAN, the embodiment reduces the number of CAN signals and the number of controllers and reduces the cost when realizing the low-speed prompt of pedestrians.

Optionally, step 202 includes:

determining a duty ratio corresponding to the current vehicle speed signal according to a corresponding relation between a preset duty ratio and the vehicle speed signal;

and determining the duty ratio corresponding to the current vehicle speed signal as the duty ratio of the target PWM signal.

In this embodiment, the duty ratio of the PWM signal varies as a function of the vehicle speed, and is varied non-intermittently. Wherein, the resolution of the current vehicle speed CAN signal is 0.1km/h, and the resolution of the duty ratio change is set to be 0.2%.

As one implementation, to reduce the control cost, the duty ratio of the PWM signal is 10% + vehicle speed 2%; the initial duty ratio is 10%, the vehicle speed precision is 2%, the duty ratio of the PWM signal is adjusted when the vehicle speed reaches an integer value each time, and the following table 2 shows the corresponding relationship between the duty ratio and the vehicle speed, specifically as follows:

TABLE 2

Although the sound of the prompt tone stops when the vehicle speed is 30km/h, the PWM signal is required to stop when the vehicle speed is more than 35km/h, and when the vehicle speed is between 30km/h and 35km/h, the prompt tone controller receives and analyzes the PWM signal but does not play the prompt tone data, so that the prompt tone can be prevented from being suddenly interrupted due to sudden stop of the PWM signal caused by sudden acceleration of the vehicle when the vehicle speed is about 30 km/h.

Optionally, when the vehicle speed is greater than 30km/h or the pedestrian warning function is in the off state, the vehicle body controller cuts off the power supply of the relay.

Optionally, under the condition that the electric vehicle is in a READY state and the pedestrian warning function is in an on state, and the vehicle speed is 0km/h, the duty ratio of the PWM signal is 10%, so that the sound delay and the audio frequency band break point caused by rapid acceleration can be prevented by an uninterrupted PWM signal waveform.

The output delay of the PWM signal output by the vehicle body controller is smaller than a first threshold, for example, smaller than 100ms, so that the correspondence between the vehicle speed and the playing of the warning tone can be ensured, and the delay warning can be avoided.

Optionally, step 202 further includes:

determining the frequency of a PWM signal corresponding to the current gear signal;

and determining the frequency of the PWM signal corresponding to the current gear signal as the frequency of the target PWM signal.

For example, the forward gear corresponds to a first signal frequency, the reverse gear corresponds to a second signal frequency, the first signal frequency is different from the second signal frequency, and the first signal frequency and the second signal frequency respectively correspond to different audio data, so that different prompt sounds can be realized when the vehicle moves forward and backwards, and pedestrians can be warned conveniently.

In an alternative implementation, the determining the frequency of the PWM signal corresponding to the current gear signal in step 202 includes:

and determining the frequency of the PWM signal corresponding to the current gear signal according to the corresponding relation between the preset gear signal and the frequency of the PWM signal.

For example, the correspondence relationship between the preset gear signal and the PWM signal frequency may be as shown in table 1 above.

In an optional implementation, the current gear signal is: the device comprises a forward gear and a reverse gear, wherein the audio data corresponding to the forward gear at least comprises two audio data. As in table 1 above, the audio data corresponding to the forward gear includes: forward range tone 1 and forward range tone 2.

In step 202, determining the frequency of the PWM signal corresponding to the current gear signal when the current gear signal indicates the forward gear includes:

acquiring an input instruction of a user, wherein the input instruction is used for indicating audio data corresponding to a current forward gear;

and determining the frequency of the target PWM signal according to the corresponding relation between the preset input instruction and the frequency of the PWM signal.

In the embodiment, the forward gear has two sound source switching functions, and the large screen is provided with a low-speed prompt virtual closing key for a user to select and switch different prompt tones.

Optionally, the method further includes:

after the electric automobile is powered on, the automobile body domain controller automatically enters a working state for prompting pedestrians, and sends the target PWM signal to the prompt tone controller.

In this embodiment, the low speed alert tone function defaults to an on mode when the vehicle is powered up again. The sound time delay that rapid acceleration led to can prevent, audio frequency band breakpoint from appearing.

As shown in fig. 3, a schematic diagram of a low speed alert tone control architecture is shown.

In fig. 3, the BDCU sends out corresponding PWM wave signals (amplitude 12V) according to different vehicle speed signals, and the low speed warning tone controller communicates with the BDCU through GPIO to receive and analyze PWM signals in various states. After the PWM signal enters the prompt tone controller VSP, sound source data of the prompt tone is determined according to different frequencies, and the sound pressure level and the frequency of a sound source are adjusted according to different duty ratios. Specifically, firstly, a 12V PWM wave signal is converted into a 5V PWM wave signal through a filter circuit and a voltage division circuit, then the 5V PWM wave signal enters an MCU processor, the processor calls a voice segment (audio data) according to the frequency of the PWM wave signal, the voice control circuit calculates the frequency and the sound pressure level of the voice segment to be played according to the duty ratio of the PWM wave, and the voice segment is transmitted to a loudspeaker to be played through a power amplifier circuit.

Further, the MCU adopts an 8-bit low-cost MCU; the voice chip (storage circuit) is used for storing at least three sound sources, two forward gear prompts and one reverse gear prompt, wherein the internal memory is less than 2M as much as possible; audio power amplifier chip (power amplifier circuit): simulating audio power amplification to enable the sound pressure level of a sound source played by the loudspeaker to meet the requirements of regulations; a power management chip: the power management chip is integrated inside, provides 3.3V power output and can be managed in a programmable mode; the power of the loudspeaker is less than or equal to 8W, the current of the controller is less than 500mA, and the impact current is less than 5A; and outputting 12V voltage to supply power to the pedestrian alarm through the BDCU.

Corresponding to the method embodiment, the embodiment of the invention also provides a low-speed prompting sound control device of the electric automobile.

As shown in fig. 4, it shows a low speed warning tone control device of an electric vehicle, applied to a warning tone controller, the device 400 includes:

the receiving module 401 is configured to receive a target pulse width modulation PWM signal sent by a body area controller; wherein the target PWM signal is determined and generated by the body domain controller according to current state information of the electric vehicle, the current state information at least including: a current vehicle speed signal and a current gear signal;

a first determining module 402, configured to determine cue tone data according to the target PWM signal;

and the output module 403 is configured to output the prompt tone data to a speaker through an audio power amplifier module for playing.

Optionally, the first determining module 402 includes:

the frequency acquisition submodule is used for acquiring the frequency of the target PWM signal;

and the data determining submodule is used for acquiring target audio data corresponding to the frequency of the target PWM signal from various pre-stored audio data and determining the target audio data as the cue tone data.

Optionally, the apparatus further comprises:

the duty ratio obtaining module is used for obtaining the duty ratio of the target PWM signal;

and the second determining module is used for determining the sound pressure level and the frequency of the prompt tone data played by the loudspeaker according to the duty ratio of the target PWM signal.

Optionally, the apparatus further comprises:

the first self-starting module is used for enabling the prompt tone controller to automatically enter a working state for prompting pedestrians after the electric automobile is powered on, and receiving the target PWM signal sent by the automobile body domain controller.

Optionally, the current gear signal is: a forward gear or a reverse gear;

the audio data corresponding to the forward gear at least comprises two audio data.

The device is a device corresponding to the method embodiment applied to the warning tone controller, all implementation manners in the method embodiment are applicable to the device embodiment, and the same technical effects as the method embodiment can be achieved.

As shown in fig. 5, the low speed warning sound control device for an electric vehicle is applied to a vehicle body area controller, and the device 500 includes:

an obtaining module 501, configured to obtain current state information of an electric vehicle; wherein the current state information at least comprises: a current vehicle speed signal and a current gear signal;

a second determining module 502, configured to determine a target PWM signal corresponding to the current state information and generate the target PWM signal;

and a sending module 503, configured to send the target PWM signal to a warning tone controller, so that the warning tone controller determines warning tone data according to the target PWM signal, and outputs the warning tone data to a speaker through an audio power amplifier for playing.

Optionally, the second determining module 502 includes:

the first determining submodule is used for determining a duty ratio corresponding to the current vehicle speed signal according to the corresponding relation between the preset duty ratio and the vehicle speed signal;

and the second determining submodule is used for determining the duty ratio corresponding to the current vehicle speed signal as the duty ratio of the target PWM signal.

Optionally, the second determining module 502 further includes:

the third determining submodule is used for determining the PWM signal frequency corresponding to the current gear signal;

and the fourth determining submodule is used for determining the frequency of the PWM signal corresponding to the current gear signal as the frequency of the target PWM signal.

Optionally, the third determining sub-module includes:

and the first determining unit is used for determining the frequency of the PWM signal corresponding to the current gear signal according to the corresponding relation between the preset gear signal and the frequency of the PWM signal.

Optionally, the current gear signal is: the device comprises a forward gear and a reverse gear, wherein the audio data corresponding to the forward gear at least comprises two audio data.

In the case where the current gear signal indicates a forward gear, the third determination submodule includes:

the first acquisition unit is used for acquiring an input instruction of a user, wherein the input instruction is used for indicating audio data corresponding to the current forward gear;

and the second determining unit is used for determining the frequency of the target PWM signal according to the corresponding relation between the preset input instruction and the frequency of the PWM signal.

Optionally, the apparatus further comprises:

and the second self-starting module is used for enabling the vehicle body domain controller to automatically enter a working state for prompting pedestrians and sending the target PWM signal to the prompt tone controller after the electric vehicle is powered on.

The device is a device corresponding to the method embodiment applied to the vehicle body area controller, all implementation manners in the method embodiment are applicable to the embodiment of the device, and the technical effects same as those of the method embodiment can be achieved.

The scheme has the following advantages:

compared with the CAN communication scheme in the prior art, the low-speed prompt tone control CAN be realized without using a MCU with higher use cost, and the cost is reduced.

After the application, the cost can be reduced by 50 yuan for a single vehicle, and if the system is popularized and used, the cost can be reduced by 1 million yuan for 20 million sales per year.

And secondly, strategy calculation is carried out by utilizing a body area controller BDCU, pwm waves are output to a pedestrian alarm (actuator) according to different vehicle speeds to control the pedestrian alarm to sound, the memory occupation is reduced, the whole vehicle resources CAN be optimized after the pedestrian alarm is used, the CAN signal quantity is reduced, the controller quantity is reduced, the integration of the whole vehicle controller is promoted, and a huge pushing effect is realized on the integration of the whole vehicle in the future.

While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于校车安全监测装置巡视的实现方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!