Safety warning method, device, equipment and storage medium

By obtaining vehicle condition information and configuring voice prompts, combined with motor vibration control, the problem that traditional warning prompt sounds are difficult to perceive in noisy environments is solved, and driving safety is improved.

CN118810622BActive Publication Date: 2025-06-24BYD CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411236399.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2025-06-24
Estimated Expiration
2044-09-04

AI Technical Summary

Technical Problem

Traditional warning prompt sounds are difficult to be perceived by users in noisy driving environments, resulting in reduced driving safety.

Method used

By obtaining the current vehicle condition information, configuring voice prompts corresponding to different vehicle condition information, and using motor vibration control to issue voice prompts, ensuring that users can sense vehicle condition in a timely manner when there is a high noise.

Benefits of technology

It effectively improves driving safety, ensures that users can quickly obtain problems in the current vehicle and respond in a timely manner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118810622B_ABST
    Figure CN118810622B_ABST
Patent Text Reader

Abstract

The present application discloses a safety warning method, device, equipment and storage medium, relating to the technical field of vehicle control, aiming to solve the problem that traditional warning prompt sounds are not easily perceptible to users, resulting in reduced driving safety. The method includes obtaining current vehicle condition information, and based on the current vehicle condition information, controlling the motor to emit a safety warning prompt sound corresponding to the current vehicle condition information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of vehicle control, and particularly to a safety warning method, device, equipment and storage medium. Background Art

[0002] With the development of vehicle technology, the intelligence of vehicle cockpits has increasingly attracted the attention of manufacturers. A highly intelligent vehicle cockpit can reduce the driver's driving fatigue and improve driving safety.

[0003] In related technologies, a vehicle intelligent cockpit can give early warnings to users about the failure conditions of various vehicle components or upcoming dangers. Specifically: usually, it gives early warnings to users by controlling the vehicle horn to sound or controlling the vehicle buzzer to sound. However, in scenarios where the driving environment is noisy or the road conditions are complex, such horn and buzzer sounds are not easily perceived by users, resulting in users being unable to timely obtain the problems existing in the vehicle and reducing driving safety. Summary of the Invention

[0004] The purpose of this application is to provide a safety warning method, device, equipment and storage medium, aiming to solve the problem that traditional warning prompt sounds are not easily perceived by users, resulting in reduced driving safety.

[0005] To achieve the above object, this application adopts the following technical solutions:

[0006] This application provides a safety warning method, which includes obtaining current vehicle condition information, and based on the current vehicle condition information, controlling a motor to emit a safety warning prompt sound corresponding to the current vehicle condition information.

[0007] Among them, the safety warning prompt sound is a voice.

[0008] In the safety warning method provided by the embodiments of this application, since the environmental noise is relatively large during vehicle driving, the prompt sounds emitted by the buzzer and speaker may be masked. Therefore, this application configures different voice prompts for different vehicle condition information and can control the motor to vibrate to emit the voice prompt corresponding to the current vehicle condition information, so that users can quickly obtain the current situation according to the voice prompt even in a noisy driving environment, make timely responses, and improve driving safety.

[0009] In some embodiments, when the current vehicle condition information includes vehicle state information and the vehicle includes multiple motors, the above-mentioned controlling a motor to emit a safety warning prompt sound corresponding to the current vehicle condition information based on the current vehicle condition information includes: controlling a first motor to emit a safety warning prompt sound corresponding to the vehicle state information; where the first motor includes at least one of the following: a drive motor close to the driving area among the multiple motors; a drive motor in an idle state among the multiple motors; a generator among the multiple motors.

[0010] Based on this, since the vehicle status information refers to the status information of each component of the vehicle, when the present application controls the motor to emit sound, it can select the drive motor close to the driving area from multiple motors of the vehicle to directionally remind the driver to handle it; it can also select the drive motor in the idle state or the generator from multiple motors of the vehicle to avoid interfering with the drive motor as much as possible.

[0011] In some embodiments, when the current vehicle condition information includes vehicle environment information and the vehicle includes multiple motors, the above-mentioned controlling the motor to emit a safety warning prompt sound corresponding to the current vehicle condition information based on the current vehicle condition information includes: controlling the second motor to emit a safety warning prompt sound corresponding to the vehicle environment information; wherein, the second motor includes at least one of the following: the drive motor close to the obstacle corresponding to the vehicle environment information among multiple motors; the drive motor close to the driving area among multiple motors; the drive motor in the idle state among multiple motors; the generator among multiple motors.

[0012] Based on this, since the vehicle environment information refers to the information of obstacles around the vehicle, when the present application controls the motor to emit sound, it can select the drive motor close to the obstacle from multiple motors of the vehicle to directionally remind the outside vehicle personnel to avoid; it can also select the drive motor close to the driving area from multiple motors of the vehicle to directionally remind the driver to handle it; it can also select the drive motor in the idle state or the generator from multiple motors of the vehicle to avoid interfering with the drive motor as much as possible.

[0013] In some embodiments, the above-mentioned controlling the motor to emit a safety warning prompt sound corresponding to the current vehicle condition information based on the current vehicle condition information includes: determining the audio data of the safety warning prompt sound based on the current vehicle condition information, converting the audio data into a motor sound-emitting current value, where the motor sound-emitting current value is the current value for controlling the motor to emit sound, and generating a motor control signal based on the motor sound-emitting current value to control the motor to emit a safety warning prompt sound.

[0014] Among them, the motor control signal can be a pulse width modulation (PWM) signal.

[0015] Based on this, since the signal for controlling the motor is usually a pulse width modulation signal, the present application needs to first convert the determined audio data into a current signal for controlling the motor, and then convert the current signal into a PWM signal that can directly control the motor to achieve the function of controlling the motor to emit a safety warning prompt sound.

[0016] In some embodiments, the conversion of audio data into the motor sound - generating current value includes: converting the frequency of the audio data into a current frequency, converting the amplitude of the audio data into a current amplitude, obtaining a quadrature - axis current value and a direct - axis current value according to the current frequency and the current amplitude, and using the quadrature - axis current value and the direct - axis current value as the motor sound - generating current value.

[0017] Among them, the quadrature - axis current value can be the d - axis current value, and the direct - axis current value can be the q - axis current value.

[0018] Based on this, since when controlling the motor, there are q - axis current and d - axis current to control the motor torque magnetic field and the motor rotation respectively. Therefore, this application obtains the frequency and amplitude of the motor according to the frequency and amplitude of the audio data, ensures that the information carried by the converted motor sound - generating current value is consistent with the information carried by the audio data, and further superimposes to obtain the corresponding d - axis current value and q - axis current value to ensure that the motor sound can be successfully controlled.

[0019] In some embodiments, the generation of the motor control signal based on the motor sound - generating current value includes: converting the quadrature - axis current value and the direct - axis current value into a drive voltage, and performing pulse - width modulation on the drive voltage to obtain the motor control signal.

[0020] In some embodiments, the determination of the audio data of the safety warning prompt sound based on the current vehicle condition information includes: determining the warning level corresponding to the current vehicle condition information, where the warning level is used to represent the degree of influence of the current vehicle condition information on the safety of the driver and passengers; and determining the audio data of the safety warning prompt sound according to the warning level.

[0021] Based on this, since the warning levels corresponding to the same vehicle condition information may be different, this application can further distinguish different warning levels by setting different audio data for vehicle condition information with different warning levels, so that users can know the severity of the current vehicle condition information according to the voice prompt emitted by the motor.

[0022] In some embodiments, when the current vehicle condition information includes vehicle state information and the vehicle state information includes multiple state information, the determination of the audio data of the safety warning prompt sound according to the warning level includes: determining the target state information according to the warning level corresponding to each state information in the multiple state information, where the target state information is the state information with the highest warning level among the multiple state information, and determining the audio data corresponding to the target state information.

[0023] Based on this, since the warning level represents the degree of influence of the vehicle state information on the safety of the driver, and the higher the predicted level, the greater the influence of the vehicle state information on the safety of the driver and passengers. Therefore, when facing multiple vehicle state information at the same time, this application gives priority to warning the vehicle state information with the highest warning level to avoid greater potential hazards to the safety of the driver and passengers.

[0024] In some embodiments, when the current vehicle condition information includes vehicle environment information, determining the warning level corresponding to the current vehicle condition information includes: when it is determined based on the vehicle environment information that there are no obstacles that may collide with the vehicle within the preset range of the vehicle and the speed of the vehicle is less than the preset speed, determining that the warning level corresponding to the vehicle environment information is the first warning level; or, when it is determined based on the vehicle environment information that there are obstacles that may collide with the vehicle within the preset range of the vehicle and the speed of the vehicle is less than the preset speed, determining that the warning level corresponding to the vehicle environment information is the second warning level; or, when it is determined based on the vehicle environment information that there are obstacles that may collide with the vehicle within the preset range of the vehicle and the speed of the vehicle is greater than or equal to the preset speed, determining that the warning level corresponding to the vehicle environment information is the third warning level.

[0025] Wherein, the first warning level is lower than the second warning level, and the second warning level is lower than the third warning level.

[0026] Based on this, since the speed of the vehicle is directly proportional to the size of the potential safety hazard, the present application further determines the degree of potential safety hazard of the vehicle environment information based on the speed of the vehicle on the basis of determining whether there are obstacles that may collide, and then divides different warning levels, so that the user can take corresponding countermeasures in a timely manner according to different warning levels.

[0027] In some embodiments, the above audio data includes low-speed reminder audio data, collision reminder audio data, and collision warning audio data; determining the audio data of the safety warning prompt sound according to the warning level includes: when the warning level corresponding to the vehicle environment information is the first warning level, determining the low-speed reminder audio data corresponding to the vehicle environment information; or, when the warning level corresponding to the vehicle environment information is the second warning level, determining the low-speed reminder audio data and the collision reminder audio data corresponding to the vehicle environment information; or, when the warning level corresponding to the vehicle environment information is the third warning level, determining the collision warning audio data corresponding to the vehicle environment information.

[0028] Based on this, the present application sets different audio data for vehicle environment information of different warning levels, so that the user can know the severity of the current vehicle condition information according to the voice prompt issued by the motor.

[0029] In some embodiments, the safety warning method provided by the embodiments of the present application may further include: after determining the warning level corresponding to the current vehicle condition information, controlling the warning lamp and the fault lamp matching the current vehicle condition information to flash at a target period, and the target period is a period matching the warning level.

[0030] Based on this, the present application sets respective corresponding flashing periods for different warning levels, so as to combine the flashing of lights for prompting on the basis of warning by sound, further improving the efficiency of users' perception of the current vehicle condition information.

[0031] The present application provides a safety warning device, which includes: an acquisition unit and a control unit, where: the above-mentioned acquisition unit is used to acquire the current vehicle condition information; the above-mentioned control unit is used to control the motor to emit a safety warning prompt sound corresponding to the current vehicle condition information based on the current vehicle condition information.

[0032] In some embodiments, the above-mentioned current vehicle condition information includes vehicle state information; the control unit is specifically used to control the first motor to emit a safety warning prompt sound corresponding to the vehicle state information when the vehicle includes multiple motors; where the first motor includes at least one of the following: a drive motor close to the driving area among the multiple motors; a drive motor in an idle state among the multiple motors; a generator among the multiple motors.

[0033] In some embodiments, the above-mentioned current vehicle condition information includes vehicle environment information; the control unit is specifically used to control the second motor to emit a safety warning prompt sound corresponding to the vehicle environment information when the vehicle includes multiple motors; where the second motor includes at least one of the following: a drive motor close to the obstacle corresponding to the vehicle environment information among the multiple motors; a drive motor close to the driving area among the multiple motors; a drive motor in an idle state among the multiple motors; a generator among the multiple motors.

[0034] In some embodiments, the control unit is specifically used to: determine the audio data of the safety warning prompt sound based on the current vehicle condition information, convert the audio data into a motor sound generation current value, where the motor sound generation current value is the current value for controlling the motor to generate sound, and generate a motor control signal based on the motor sound generation current value to control the motor to emit a safety warning prompt sound.

[0035] In some embodiments, the control unit is specifically used to: convert the frequency of the audio data into a current frequency, and convert the amplitude of the audio data into a current amplitude, obtain a quadrature-axis current value and a direct-axis current value according to the current frequency and the current amplitude, and use the quadrature-axis current value and the direct-axis current value as the motor sound generation current value.

[0036] In some embodiments, the control unit is specifically used to: convert the quadrature-axis current value and the direct-axis current value into a drive voltage, perform pulse width modulation on the drive voltage to obtain a motor control signal.

[0037] In some embodiments, the above control unit is specifically configured to: determine the warning level corresponding to the current vehicle condition information, where the warning level is used to represent the degree of influence of the current vehicle condition information on the safety of the driver and passengers, and determine the audio data of the safety warning prompt sound according to the warning level.

[0038] In some embodiments, the above current vehicle condition information includes vehicle status information, and the vehicle status information includes multiple status information; the control unit is specifically configured to: determine the target status information according to the warning level corresponding to each status information in the multiple status information, where the target status information is the status information with the highest corresponding warning level among the multiple status information, and determine the audio data corresponding to the target status information.

[0039] In some embodiments, the above current vehicle condition information includes vehicle environment information, the warning levels include a first warning level, a second warning level, and a third warning level, the first warning level is lower than the second warning level, and the second warning level is lower than the third warning level; the control unit is specifically configured to: when it is determined according to the vehicle environment information that there are no obstacles colliding with the vehicle within the preset range of the vehicle and the speed of the vehicle is less than the preset speed, determine that the warning level corresponding to the vehicle environment information is the first warning level; or, when it is determined according to the vehicle environment information that there are obstacles colliding with the vehicle within the preset range of the vehicle and the speed of the vehicle is less than the preset speed, determine that the warning level corresponding to the vehicle environment information is the second warning level; or, when it is determined according to the vehicle environment information that there are obstacles colliding with the vehicle within the preset range of the vehicle and the speed of the vehicle is greater than or equal to the preset speed, determine that the warning level corresponding to the vehicle environment information is the third warning level.

[0040] In some embodiments, the above audio data includes low-speed reminder audio data, collision reminder audio data, and collision warning audio data; the control unit is specifically configured to: when the warning level corresponding to the vehicle environment information is the first warning level, determine the low-speed reminder audio data corresponding to the vehicle environment information; or, when the warning level corresponding to the vehicle environment information is the second warning level, determine the low-speed reminder audio data and the collision reminder audio data corresponding to the vehicle environment information; or, when the warning level corresponding to the vehicle environment information is the third warning level, determine the collision warning audio data corresponding to the vehicle environment information.

[0041] In some embodiments, the above control unit is further configured to control the warning light and the fault light matching the current vehicle condition information to flash at a target period according to the warning level corresponding to the current vehicle condition information, and the target period is a period matching the warning level.

[0042] The present application provides an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to execute the instructions to implement the safety warning method described above.

[0043] The present application provides a vehicle, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor executes the computer program to implement the safety warning method described above.

[0044] The present application provides a computer-readable storage medium, in which instructions are stored, and when the instructions are run on a terminal, the terminal is caused to execute the safety warning method described above.

[0045] The present application provides a computer program product containing instructions, and when a computer executes the above instructions, the computer is caused to execute the safety warning method described above.

[0046] The present application provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a computer program or instructions to implement the safety warning method described above.

[0047] Specifically, the chip provided in the embodiments of the present application further includes a memory for storing a computer program or instructions. Description of the Drawings

[0048] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0049] Figure 1 It is a diagram of a vehicle operation state monitoring and fault prediction system provided in the related art;

[0050] Figure 2 It is a structural diagram of a safety warning system provided in the embodiments of the present application;

[0051] Figure 3 It is a flowchart of a safety warning method provided in the embodiments of the present application;

[0052] Figure 4 It is a flowchart of a safety warning method based on vehicle state information provided in the embodiments of the present application;

[0053] Figure 5 It is a flowchart of a safety warning method based on vehicle environment information provided in the embodiments of the present application;

[0054] Figure 6 Structural diagram of a safety warning device provided by an embodiment of the present application;

[0055] Figure 7 Structural diagram of an electronic device provided by an embodiment of the present application. Specific embodiments

[0056] Next, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0057] In the description of the present application, it should be understood that the orientation or positional relationship indicated by the terms "upper", "lower", "left", "right", "front", "rear", "inner", "outer", etc. is the orientation or relative positional relationship based on the orientation shown in the drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus cannot be understood as a limitation to the present application. Without special instructions, the above-mentioned orientation description can be flexibly set during the actual application process when the relative positional relationship shown in the drawings is satisfied.

[0058] The terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present application, unless otherwise stated, the meaning of "a plurality" is two or more.

[0059] In the description of the present application, it should be noted that unless otherwise clearly defined and limited, the terms "installed", "connected", "connected", and "communicated" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection. It may be directly connected, or indirectly connected through an intermediate medium, and may be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific situations.

[0060] In some embodiments, the terms "comprising", "including" or any other variation thereof are intended to cover non-exclusive inclusion, such that a process, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, article or device. Without further limitation, an element defined by the phrase "comprising a..." does not exclude the presence of additional identical elements in the process, article or device comprising that element.

[0061] In some embodiments, words such as "exemplary" or "for example" are used to indicate an example, illustration or explanation. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.

[0062] In the description of this specification, specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner.

[0063] With the development of vehicle assisted driving, vehicle cockpits are becoming more and more intelligent. Specifically: The vehicle intelligent cockpit can give early warnings to users about the failure conditions of various vehicle components or upcoming dangers, and assist users in driving the vehicle.

[0064] In the related art, the following three vehicle warning schemes are disclosed:

[0065] Solution 1: A lane change assistance warning method is provided, which gives a warning prompt to the vehicle by flashing and changing the color of the warning light and making a "buzzing" sound with the buzzer, so as to improve the driving safety of the driver.

[0066] However, although this solution increases the safety of the driver to a certain extent, when the vehicle warning light and the ambient light are turned on at the same time, the driver cannot quickly reflect the risks existing in the current vehicle condition through the change of the warning light. In addition, for drivers with insufficient driving experience or in a fatigued state, the warning sounds of the buzzer (such as "beep", "toot") are not sufficient for the driver to quickly and effectively perceive the current dangerous situation, and the sound of the buzzer is small and is easily covered by the noisy driving environment sounds, further affecting the driver's perception speed and resulting in low driving safety.

[0067] Solution 2: A method is provided that can actively monitor the operating state of the vehicle and predict faults based on the operating state, so as to pre-remind the driver to handle the faults. Such as Figure 1As shown in the figure, the method first obtains the data of the vehicle power transmission system through the acquisition module in the monitoring system, then identifies the current working condition of the vehicle through the working condition module, and then controls the controller area network (CAN) communication module to connect to the in-vehicle computer through the in-vehicle CAN communication network. When a fault is detected, the input / output (I / O) control module is used to activate the alarm state, then control the alarm light on the vehicle dashboard to turn on, and control the in-vehicle computer to display the alarm information in the CAN communication mode to remind the driver or maintenance personnel to handle it.

[0068] However, although this solution can monitor the running state of the vehicle power transmission system in real time during the vehicle use process to actively prompt the possible fault modes of the power transmission system to the user when a fault occurs, the prompting method of this solution is to display relevant fault lights and fault information on the dashboard and the display screen. Since there are a large number of fault indicator lights and warning indicator lights on the vehicle dashboard, it is difficult for the user to timely perceive the meaning represented by the indicator lights. Moreover, when the user is driving, if focusing on the dashboard and the central control display screen, it will distract the user's attention, resulting in an increased driving risk.

[0069] Solution three: provides an electric vehicle pedestrian warning method and system. The phase current sine wave frequency signal is converted into a PWM signal through a comparator to extract the frequency, and the current vehicle speed is calculated according to the frequency. Then, the signal collected by the Hall sensor is subjected to differential operation through an operational amplifier to calculate the driving force for driving the vehicle at present, and further obtain the current acceleration and deceleration state of the vehicle. If the current vehicle speed is within the vehicle speed threshold range, or the current acceleration and deceleration state meets the preset state, the main controller is used to control the speaker or buzzer of the vehicle to work to warn pedestrians.

[0070] However, although this solution can warn pedestrians, the warning method of this solution is similar to that of the above solution one, both of which are to conduct sound warnings through speakers and buzzers. It is easy to be covered up in a noisy driving environment, resulting in the user being unable to timely perceive the current vehicle condition and the driving safety being relatively low.

[0071] In summary, the existing warning solutions all have the problem that the warning prompt sound is not easily perceived by the user, resulting in a reduction in driving safety.

[0072] In this context, in order to solve the problem in the related technology that the traditional warning prompt sound is not easily perceived by the user, resulting in a reduction in driving safety, the present application provides a safety warning method, device, equipment and storage medium. The implementation manner of the embodiments of the present application will be described in detail below with reference to the accompanying drawings of the specification.

[0073] Such as Figure 2As shown in the figure, it is a structural diagram of a safety warning system provided by an embodiment of the present application. The safety warning system 200 may include a vehicle sensor 210, an electronic control unit 220, an execution module 230, and a motor 240; the execution module 230 includes a motor controller 231, a dashboard 232, a central control screen 233, and a warning light 234; the motor controller 231 includes an audio processing module 231a, a control module 231b, and a power device 231c.

[0074] Among them, the vehicle sensor 210 may include a distance sensor, a camera, an ultrasonic radar, a millimeter-wave radar gyroscope, an electromagnetic wave radar, an ultrasonic sensor, etc.

[0075] In some embodiments, the vehicle sensor 210 may collect parameter information of various components of the vehicle (such as tire pressure information, fuel information, power information, etc.), as well as obstacle information around the vehicle (such as surrounding vehicles, surrounding people, etc.), and transmit it to the vehicle CAN bus in the form of CAN signals.

[0076] In an optionally implemented manner, the dashboard 232, the central control screen 233, and the warning light 234 may obtain the information of the electronic control unit 220 from the CAN bus, flash the fault light corresponding to the information on the dashboard 232 at a specific period, display the detailed content of the information on the central control screen 233, and control the warning light 234 to flash at a specific period.

[0077] In another optionally implemented manner, after the electronic control unit 220 obtains the information from the CAN bus, it may retrieve and determine the audio data corresponding to the information from a pre-stored audio database based on the information, and send the audio data to the audio processing module 231a. The audio processing module 231a may parse the audio data to obtain the corresponding d / q axis superimposed current, and send it to the control module 231b. The control module 231b converts the d / q axis superimposed current into a PWM signal to control the motor 240 to make a sound.

[0078] It should be noted that since the PWM signal is a variable and its duty cycle will change, different PWM signals will be generated to make the motor emit different sounds.

[0079] The following combines Figure 2 , and refers to the following Figures 3 to 5 to describe the safety warning method provided by the embodiment of the present application.

[0080] It can be understood that in the embodiments of the present application, each device / module in the safety warning system can execute some or all of the steps in the embodiments of the present application. These steps or operations are only examples, and the embodiments of the present application can also execute other operations or variations of various operations. In addition, each step can be executed in a different order presented in the embodiments of the present application, and it is possible not to execute all the operations in the embodiments of the present application.

[0081] Figure 3 FIG. is a flowchart of a safety warning method provided by an embodiment of the present application. The main body executing this method can be a safety warning system or each device / module in the safety warning system, such as an integrated circuit or a chip. The embodiments of the present application do not make specific limitations on this.

[0082] Exemplarily, as Figure 3 shown, the safety warning method provided by the embodiments of the present application may include the following S301 and S302:

[0083] S301. Obtain current vehicle condition information.

[0084] Among them, the current vehicle condition information may include vehicle status information and / or vehicle environment information.

[0085] In some embodiments, the vehicle status information refers to the parameter information of each component inside the vehicle. For example, the vehicle status information may include: tire pressure information, fuel information, power information, water temperature information.

[0086] In some embodiments, the vehicle environment information refers to the obstacle information around the vehicle. For example, the vehicle environment information may include: the position information of surrounding vehicles, the position information of surrounding people, the position information of surrounding buildings.

[0087] Optionally, the current vehicle condition information can be obtained through vehicle sensors. For example, vehicle sensors may include speed sensors, distance sensors, acceleration sensors, cameras, ultrasonic radars, cockpit temperature sensors, water temperature sensors, fuel level sensors, pressure sensors, engine sensors, etc.

[0088] Exemplarily, the remaining fuel in the vehicle fuel tank can be obtained through a fuel level sensor; the remaining water in the vehicle water tank can be obtained through a water temperature sensor; the position information of surrounding people can be obtained through a distance sensor; whether the handbrake is released can be monitored through a pressure sensor; whether the vehicle trunk is closed can be monitored through a camera; the engine oil pressure can be monitored through a pressure sensor; whether the engine fails can be monitored through an engine sensor, etc.

[0089] S302. Based on the current vehicle condition information, control the motor to emit a safety warning prompt sound corresponding to the current vehicle condition information.

[0090] In some embodiments, the safety warning prompt sound may include natural speech, engine low-speed operation sound, and engine high-speed operation sound.

[0091] Exemplarily, when the current vehicle condition information is vehicle status information, voices such as "trunk not closed", "door not closed", and "handbrake not released" can be set.

[0092] Exemplarily, when the current vehicle condition information is vehicle environment information, voices such as "collision may occur, please slow down and avoid", "collision is about to occur, please make protective preparations", and "speed is too fast, please slow down" can be set.

[0093] Optionally, audio data corresponding to different vehicle condition information can be pre-stored in the vehicle memory, and the audio data is the data of the safety warning prompt sound.

[0094] Optionally, after obtaining the current vehicle condition information, based on the current vehicle condition information, the audio data of the safety warning prompt sound can be determined, the audio data can be converted into a motor sound generation current value, and based on the motor sound generation current value, a motor control signal can be generated to control the motor to emit the safety warning prompt sound.

[0095] Wherein, the motor sound generation current value is the current value for controlling the motor to generate sound.

[0096] In an optional implementation manner, the audio data corresponding to the current vehicle condition information can be determined by means of calibration and look-up table.

[0097] Exemplarily, an audio data table can be maintained, as shown in Table 1, which stores the audio data corresponding to each vehicle condition information. It should be noted that only part of the audio data corresponding to the vehicle condition information is given in Table 1, and in actual use, it may also include more or less audio data corresponding to the vehicle condition information, and the present application does not make specific limitations thereto.

[0098] Table 1

[0099] Vehicle status information Audio data Vehicle environment information Audio data Fuel information A Surrounding personnel location D Tire pressure information B Vehicle speed information E Water temperature information C Surrounding vehicle location F

[0100] Specifically, if the obtained current vehicle condition information is fuel information, the corresponding audio data A can be determined from the above table.

[0101] In another optional implementation manner, the audio data of the safety warning prompt sound can be determined according to the warning level corresponding to the current vehicle condition information.

[0102] Thus, since the signal for controlling the motor is usually a pulse width modulation signal, in this application, the determined audio data needs to be first converted into a current signal for controlling the motor, and then the current signal is converted into a PWM signal that can directly control the motor, so as to realize the function of controlling the motor to emit a safety warning sound.

[0103] Further optionally, after obtaining the audio data corresponding to the current vehicle condition information, the frequency of the audio data can be converted into a current frequency, and the amplitude of the audio data can be converted into a current amplitude. According to the current frequency and the current amplitude, a quadrature-axis current value and a direct-axis current value are obtained, and the quadrature-axis current value and the direct-axis current value are used as the motor sound-generating current values.

[0104] Among them, the frequency of the audio data is used to characterize the pitch of the audio data, and the amplitude of the audio data is used to characterize the intensity of the audio data.

[0105] In some embodiments, when performing the frequency conversion and amplitude conversion of the audio data, the frequency of the audio data can be converted into a current frequency based on the change in the duty cycle of the PWM signal, and the amplitude of the audio data can be converted into a current amplitude.

[0106] Exemplarily, taking the frequency of the audio data as 440 Hz and the amplitude as 0.5 as an example. If the PWM switching frequency of the motor is fixed at 20000 Hz and the base current value is 1 A, then the current amplitude can be calculated as 1 * 0.5 = 0.5 A.

[0107] In some embodiments, the quadrature-axis current value can be the d-axis current value, and the direct-axis current value can be the q-axis current value.

[0108] Exemplarily, after calculating the current amplitude, since the q-axis current value is used to control the torque magnetic field of the motor, the q-axis current value can be set to a constant value of 0.1 A, and the magnitude of the d-axis current value is the current amplitude of 0.5 A.

[0109] Based on this, since there are q-axis current and d-axis current to control the motor torque magnetic field and the motor rotation respectively when controlling the motor. Therefore, in this application, according to the frequency and amplitude of the audio data, the frequency and amplitude of the motor are obtained to ensure that the information carried by the converted motor sound-generating current value is consistent with the information carried by the audio data, and the corresponding d-axis current value and q-axis current value are further superimposed to ensure that the motor can be successfully controlled to generate sound.

[0110] Further optionally, after obtaining the quadrature-axis current value and the direct-axis current value, the quadrature-axis current value and the direct-axis current value can be converted into a driving voltage, and the driving voltage is pulse-width modulated to obtain a motor control signal.

[0111] Among them, the motor control signal can be a PWM signal, and the duty cycle of the PWM signal is proportional to the amplitude of the driving voltage.

[0112] In some embodiments, the motor drive current value can be converted into a drive voltage by a motor controller.

[0113] Exemplarily, taking the motor as a three-phase motor, the quadrature-axis current value as the d-axis current value, and the direct-axis current value as the q-axis current value as an example. A coordinate system of the d-axis current value and the q-axis current value can be established, and the d-q axis coordinate system is converted to a two-phase stationary coordinate system (α-β axis coordinate system), and then the two current value components in the α-β axis coordinate system are converted to three components with a phase difference of 120 degrees in the three-phase coordinate system, and then through the voltage equation, the three-phase current value is converted into a three-phase drive voltage.

[0114] In the safety warning method provided by the embodiments of the present application, since the environmental noise is relatively large during the driving of the vehicle, the warning sounds emitted by the buzzer and the speaker may be masked. Therefore, the present application configures different voice prompts for different vehicle condition information and can control the motor vibration to emit the voice prompt corresponding to the current vehicle condition information, so that the user can quickly obtain the current situation according to the voice prompt even when the driving noise is relatively large, make a response in time, and improve the driving safety.

[0115] As described in S302 above, in another optional implementation manner, the audio data of the safety warning prompt sound can be determined according to the warning level corresponding to the current vehicle condition information.

[0116] In some embodiments, the warning level corresponding to the current vehicle condition information can be determined, and according to the warning level, the audio data of the safety warning prompt sound can be determined.

[0117] Among them, the warning level is used to characterize the degree of influence of the current vehicle condition information on the safety of the driver and passengers. The higher the warning level, the greater the degree of influence of the current vehicle condition information on the safety of the driver and passengers. In other words, the lower the warning level, the smaller the degree of influence of the current vehicle condition information on the safety of the driver and passengers.

[0118] It should be noted that the safety warning prompt sounds corresponding to the vehicle condition information of different warning levels are also different.

[0119] In some embodiments, different safety warning prompt sounds can be set for different warning levels of the same vehicle condition information. For example, when the current vehicle condition information includes vehicle status information, different limits (such as a first limit and a second limit) can be set for the vehicle status information. When the vehicle status information meets different limits, the corresponding warning levels are different. For example, when the vehicle status information meets the first limit, the safety warning prompt sound corresponding to the first limit is set; when the vehicle status information meets the second limit, the safety warning prompt sound corresponding to the second limit is set.

[0120] Exemplarily, taking the current vehicle condition information as fuel information, the first limit value of the fuel reserve can be set to 8 liters, and a safety warning prompt tone "Fuel is insufficient, please pay attention" can be set for the first limit value; the second limit value of the fuel reserve can be set to 5 liters, and a safety warning prompt tone "Fuel is running out, please refuel immediately" can be set for the second limit value.

[0121] In some embodiments, after setting respective matching safety warning prompt tones for different warning levels of the same vehicle condition information, the warning level of the current vehicle condition information can be determined first, and then the safety warning prompt tone matching this warning level can be filtered out.

[0122] Exemplarily, taking the current vehicle condition information as fuel information, with the first limit value being 8 liters and the second limit value being 5 liters as an example. If the measured remaining fuel is 7.5 liters, since 7.5 is less than 8 but greater than 5, the safety warning prompt tone corresponding to the fuel information can be determined as the safety warning prompt tone corresponding to the first limit value, "Fuel is insufficient, please pay attention".

[0123] In an optional implementation manner, when the current vehicle condition information includes vehicle status information, the warning levels of the vehicle status information can be divided into a fourth warning level and a fifth warning level. Among them, the fourth warning level is lower than the fifth warning level.

[0124] In another optional implementation manner, when the current vehicle condition information includes vehicle environment information, the warning levels of the vehicle environment information can be divided into a first warning level, a second warning level, and a third warning level. Among them, the first warning level is lower than the second warning level, and the second warning level is lower than the third warning level.

[0125] In this way, since the warning levels corresponding to the same vehicle condition information may be different, the present application can further distinguish different warning levels by setting different audio data for vehicle condition information of different warning levels, so that the user can know the severity of the current vehicle condition information according to the voice prompt emitted by the motor.

[0126] Optionally, after determining the warning level corresponding to the current vehicle condition information, the warning light and the fault light matching the current vehicle condition information can also be controlled to flash at a target period.

[0127] Among them, the target period is the period matching the warning level, and the target period refers to the duration of one flash. The periods corresponding to different warning levels are different, and the higher the warning level, the shorter the period.

[0128] Optionally, different target periods can be set in advance for different warning levels of vehicle condition information.

[0129] Exemplarily, take the current vehicle condition information including vehicle status information as an example. When the warning level corresponding to the vehicle status information is the fourth warning level, the matched target period is 0.1 second; when the warning level corresponding to the vehicle status information is the fifth warning level, the matched target period is 0.05 second.

[0130] In some embodiments, after determining the warning level corresponding to the vehicle status information, the target period matched to the warning level can be determined, and then the warning light and the fault light matched to the current vehicle condition information can be controlled to flash at the target period.

[0131] Exemplarily, take the vehicle status information as water temperature information, the target period matched to the fourth warning level is 0.1 second, and the target period matched to the fifth warning level is 0.05 second as an example. If the warning level of the measured water temperature information is the fifth warning level, the target period can be determined to be 0.05 second. At this time, the warning light and the fault light matched to the water temperature information can be controlled to flash according to the target period of 0.05 second.

[0132] In this way, the present application sets respective corresponding flashing periods for different warning levels, so as to combine the light flashing for prompting on the basis of warning by sound, further improving the efficiency of the user's perception of the current vehicle condition information.

[0133] The following describes the determination of the audio data of the safety warning prompt sound in the case where the current vehicle condition information includes vehicle status information.

[0134] As described above, in an optional implementation manner, when the current vehicle condition information includes vehicle status information, the warning levels of the vehicle status information can be divided into a fourth warning level and a fifth warning level.

[0135] It should be noted that since the fourth warning level is lower than the fifth warning level, the fourth warning level can be referred to as a mild warning, and the fifth warning level can be referred to as a severe warning.

[0136] Optionally, when the vehicle status information includes multiple status information, the target status information can be determined according to the warning levels corresponding to each status information in the multiple status information, and then the audio data corresponding to the target status information can be determined.

[0137] Among them, the target status information is the status information with the highest corresponding warning level among the multiple status information.

[0138] In some embodiments, when all the obtained multiple vehicle status information appears abnormal, it can be determined whether the warning levels of the multiple vehicle status information are mild warnings or severe warnings respectively, and then the vehicle status information with a severe warning is preferentially warned, and the audio data corresponding to the vehicle status information is determined.

[0139] Exemplarily, taking multiple vehicle status information including fuel information, tire pressure information, and water temperature information as an example. If it is determined that the warning level of the fuel information is a minor warning, the warning level of the tire pressure information is a severe warning, and the warning level of the water temperature information is a minor warning; then the audio data corresponding to the tire pressure information with a severe warning level is preferentially obtained.

[0140] In this way, since the warning level represents the degree of influence of vehicle status information on the safety of the driver, and the higher the predicted level, the greater the impact of vehicle status information on the safety of the driver and passengers. Therefore, when facing multiple vehicle status information simultaneously, this application preferentially warns the vehicle status information with the highest warning level to avoid greater potential hazards to the safety of the driver and passengers.

[0141] The following describes the determination of the audio data of the safety warning prompt sound in the case where the current vehicle condition information includes vehicle environment information.

[0142] In another alternative implementation, when the current vehicle condition information includes vehicle environment information, the warning level of the vehicle environment information can be divided into a first warning level, a second warning level, and a third warning level.

[0143] It should be noted that since the first warning level is lower than the second warning level, and the second warning level is lower than the third warning level, the first warning level can be referred to as a minor warning, the second warning level can be referred to as a medium warning, and the third warning level can be referred to as a severe warning.

[0144] In some embodiments, when it is determined that there are no obstacles colliding with the vehicle within the preset range of the vehicle according to the vehicle environment information, and the speed of the vehicle is less than the preset speed, the warning level corresponding to the vehicle environment information is determined to be a minor warning.

[0145] Among them, the preset range can be a value set by humans, and it can be flexibly adjusted according to the actual scenario (such as vehicle type, road conditions). For example, the preset range can be a range with a diameter of 15 meters. Similarly, the preset speed can be 60 kilometers per hour.

[0146] Exemplarily, taking the preset range as a range with a diameter of 15 meters and the preset speed as 60 kilometers per hour as an example. If it is measured that there are no other vehicles within 15 meters of the vehicle, and the speed of the vehicle is 50 kilometers per hour, then the warning level corresponding to the current vehicle environment information can be determined to be a minor warning.

[0147] Furthermore, when it is determined that the warning level corresponding to the vehicle environment information is a minor warning, the audio data corresponding to the vehicle environment information with this minor warning can be determined to be low-speed reminder audio data.

[0148] Among them, the low-speed reminder audio data refers to the audio data in which the vehicle simulates the sound of the engine running at a low speed.

[0149] In some embodiments, when it is determined according to the vehicle environment information that there is an obstacle that may collide with the vehicle within the preset range of the vehicle and the speed of the vehicle is less than the preset speed, it is determined that the warning level corresponding to the vehicle environment information is a medium warning.

[0150] Exemplarily, taking the preset range as a range with a diameter of 15 meters and the preset speed as 60 km / h as an example. If it is measured that there are people within 15 meters of the vehicle and the speed of the vehicle is 50 km / h, it can be determined that the warning level corresponding to the current vehicle environment information is a medium warning.

[0151] Furthermore, when it is determined that the warning level corresponding to the vehicle environment information is a medium warning, it can be determined that the audio data corresponding to the vehicle environment information of this medium warning is the low-speed reminder audio data and the collision reminder audio data.

[0152] Exemplarily, after it is determined that the warning level corresponding to the vehicle environment information is a medium warning, the low-speed reminder audio data (such as the audio data of "simulating the engine running at a low speed") and the collision reminder audio data (such as the audio data of "a collision may occur, please slow down and avoid") can be determined.

[0153] In some embodiments, when it is determined according to the vehicle environment information that there is an obstacle that may collide with the vehicle within the preset range of the vehicle and the speed of the vehicle is greater than or equal to the preset speed, it is determined that the warning level corresponding to the vehicle environment information is the severe warning.

[0154] Exemplarily, taking the preset range as a range with a diameter of 15 meters and the preset speed as 60 km / h as an example. If it is measured that there is a building within 15 meters of the vehicle and the speed of the vehicle is 80 km / h, it can be determined that the warning level corresponding to the current vehicle environment information is the severe warning.

[0155] Furthermore, when it is determined that the warning level corresponding to the vehicle environment information is the severe warning, it can be determined that the audio data corresponding to the vehicle environment information of this severe warning is the collision warning audio data.

[0156] Exemplarily, after it is determined that the warning level corresponding to the vehicle environment information is the severe warning, the collision warning audio data (such as the audio data of "a collision is about to occur, please prepare for protection") can be determined.

[0157] Thus, since the speed of the vehicle is directly proportional to the magnitude of the safety hazard, based on the determination of whether there is an obstacle that may cause a collision, this application further determines the degree of safety hazard of the vehicle environment information according to the speed of the vehicle, and then divides different warning levels, so that the user can take corresponding countermeasures in a timely manner for different warning levels. In addition, by setting different audio data for the vehicle environment information of different warning levels, the user can know the severity of the current vehicle condition information according to the voice prompt emitted by the motor.

[0158] The following describes the situation of controlling the motor to emit a safety warning prompt sound corresponding to the current vehicle condition information when the vehicle includes multiple motors.

[0159] Optionally, when the current vehicle condition information includes vehicle state information, control the first motor to emit a safety warning prompt sound corresponding to the vehicle state information.

[0160] In some embodiments, the first motor may be a drive motor close to the driving area among the multiple motors; the first motor may also be a drive motor in an idle state among the multiple motors; the first motor may also be a generator among the multiple motors.

[0161] Among them, the idle state means that the motor is not in a working state. For example, the motor is idling or unused.

[0162] In one example, taking the multiple motors including four drive motors and the vehicle state information being fuel information as an example. After determining the audio data corresponding to the fuel information, the drive motor closest to the driving area (such as the first motor) can be selected from the four drive motors, and the drive motor is controlled to emit a corresponding safety warning prompt sound according to the audio data corresponding to the fuel information.

[0163] In another example, taking the multiple motors including four drive motors and the vehicle state information being water temperature information as an example. After determining the audio data corresponding to the water temperature information, if the vehicle is in a rear-wheel drive mode, two front-wheel drive motors in an idle state (such as the first motor) can be selected from the four drive motors, and at least one of the two front-wheel drive motors is controlled to emit a corresponding safety warning prompt sound according to the audio data corresponding to the water temperature information.

[0164] In yet another example, taking the multiple motors including four drive motors and a generator and the vehicle state information being tire pressure information as an example. After determining the audio data corresponding to the tire pressure information, if the vehicle is in a four-wheel drive mode, the generator (such as the first motor) can be selected from the multiple motors, and the generator is controlled to emit a corresponding safety warning prompt sound according to the audio data corresponding to the tire pressure information.

[0165] Thus, since the vehicle state information refers to the state information of each component of the vehicle, when controlling the motor to emit sound in this application, the drive motor close to the driving area can be selected from multiple motors of the vehicle to specifically remind the driver to take action; the drive motor in the idle state or the generator can also be selected from multiple motors of the vehicle to avoid interfering with the drive motor as much as possible.

[0166] Optionally, when the current vehicle condition information includes vehicle environment information, control the second motor to emit a safety warning prompt sound corresponding to the vehicle environment information.

[0167] In some embodiments, the second motor can be the drive motor close to the obstacle corresponding to the vehicle environment information among multiple motors; the second motor can also be the drive motor close to the driving area among multiple motors; the second motor can also be the drive motor in the idle state among multiple motors; the second motor can also be the generator among multiple motors.

[0168] In one example, assume that multiple motors include four drive motors and the obstacle corresponding to the vehicle environment information is a person. After determining the audio data, the drive motor closest to the person outside the vehicle (such as the second motor) can be selected from the four drive motors, and this drive motor can be controlled to emit a corresponding safety warning prompt sound according to the audio data to prompt the person outside the vehicle.

[0169] In another example, assume that multiple motors include four drive motors and the vehicle environment information is the speed of surrounding vehicles. After determining the audio data, the drive motor closest to the driving area (such as the second motor) can be selected from the four drive motors, and this drive motor can be controlled to emit a corresponding safety warning prompt sound according to the audio data to prompt the driver that the speed of surrounding vehicles is too fast.

[0170] In yet another example, assume that multiple motors include four drive motors. After determining the audio data, if the vehicle is in the rear-wheel drive mode, two front-wheel drive motors in the idle state (such as the second motor) can be selected from the four drive motors, and at least one of the two front-wheel drive motors can be controlled to emit a corresponding safety warning prompt sound according to the audio data.

[0171] In yet another example, assume that multiple motors include four drive motors and a generator. After determining the audio data, if the vehicle is in the four-wheel drive mode, the generator (such as the second motor) can be selected from multiple motors, and the generator can be controlled to emit a corresponding safety warning prompt sound according to the audio data.

[0172] Thus, since the vehicle environment information refers to the information of obstacles around the vehicle, when controlling the motor to emit sound in this application, the drive motor close to the obstacle can be selected from multiple motors of the vehicle to directionally remind the people outside the vehicle to avoid; the drive motor close to the driving area can also be selected from multiple motors of the vehicle to directionally remind the driver to handle; the drive motor in the idle state or the generator can also be selected from multiple motors of the vehicle to avoid interfering with the drive motor as much as possible.

[0173] The following will respectively give an exemplary description of the safety warning processes for the current vehicle condition information including vehicle status information and vehicle environment information.

[0174] Exemplarily, as Figure 4 shown, when the current vehicle condition information includes vehicle status information, the safety warning method provided by the embodiment of this application may include the following S401 to S407:

[0175] S401. Real-time monitor the vehicle status through sensors.

[0176] S402. Judge whether the vehicle status information is abnormal. If so, execute S403; if not, execute S401.

[0177] S403. Judge whether the warning level of the vehicle status information is a severe warning. If so, execute S404; if not, execute S406.

[0178] Among them, the severe warning is the fifth warning level mentioned above.

[0179] S404. According to the vehicle status information, read the first audio data and the first period corresponding to the severe warning from the memory.

[0180] S405. Control the motor to emit the corresponding safety warning prompt sound according to the first audio data, and control the warning light and the fault light to flash at the first period.

[0181] S406. According to the vehicle status information, read the second audio data and the second period corresponding to the mild warning from the memory.

[0182] Among them, the mild warning is the fourth warning level mentioned above.

[0183] S407. Control the motor to emit the corresponding safety warning prompt sound according to the second audio data, and control the warning light and the fault light to flash at the second period.

[0184] In this way, by configuring different voice prompts and flashing periods for different vehicle status information, it is possible to control the motor vibration to emit voice prompts corresponding to the vehicle status information, and control the warning light and the fault light to flash, so that even in the case of high driving noise, the user can quickly learn the current situation according to the voice prompts and the flashing of the lights, and make a timely response, improving driving safety.

[0185] Exemplarily, as Figure 5 shown, when the current vehicle condition information includes vehicle environment information, the safety warning method provided by the embodiments of the present application may include the following S501 to S511:

[0186] S501. Real-time monitor the vehicle surrounding environment through sensors.

[0187] S502. Determine whether there is an obstacle within a preset range outside the vehicle. If so, execute S503; if not, execute S509.

[0188] S503. Determine whether there is a collision risk between the vehicle and the obstacle. If so, execute S504; if not, execute S509.

[0189] S504. Determine whether the vehicle speed is lower than a preset speed. If so, execute S505; if not, execute S507.

[0190] S505. Obtain low-speed reminder audio data and collision reminder audio data.

[0191] S506. Control the motor to emit sounds according to the low-speed reminder audio data and the collision reminder audio data.

[0192] S507. Obtain collision warning audio data.

[0193] S508. Control the motor to emit sounds according to the collision warning audio data.

[0194] S509. Determine whether the vehicle speed is lower than a preset speed. If so, execute S510; if not, execute S501.

[0195] S510. Obtain low-speed reminder audio data.

[0196] S511. Control the motor to emit sounds according to the low-speed reminder audio data.

[0197] In this way, by configuring different voice prompts for different vehicle environment information, it is possible to control the motor vibration to emit voice prompts corresponding to the vehicle environment information, so that even in the case of high driving noise, the user can quickly learn the current situation according to the voice prompts and make a timely response, improving driving safety.

[0198] The above mainly introduces the solution provided by the embodiments of the present application from the perspective of methods. To implement the above functions, the safety warning device or electronic device includes the corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0199] According to the above method, the embodiments of the present application can exemplarily divide the functional modules of the safety warning device or electronic device. For example, the safety warning device or electronic device may include each functional module corresponding to each function division, or two or more functions may be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. It should be noted that the division of modules in the embodiments of the present application is illustrative, only a logical function division, and there may be other division methods in actual implementation.

[0200] Figure 6 It is a structural diagram of a safety warning device provided by an embodiment of the present application. The safety warning device 600 includes: an acquisition unit 601 and a control unit 602.

[0201] Among them: the above acquisition unit 601 is used to acquire the current vehicle condition information; the above control unit 602 is used to control the motor to emit a safety warning prompt sound corresponding to the current vehicle condition information based on the current vehicle condition information.

[0202] In some embodiments, the above current vehicle condition information includes vehicle state information; the control unit 602 is specifically used to control the first motor to emit a safety warning prompt sound corresponding to the vehicle state information when the vehicle includes multiple motors; wherein, the first motor includes at least one of the following: the drive motor close to the driving area among the multiple motors; the drive motor in an idle state among the multiple motors; the generator among the multiple motors.

[0203] In some embodiments, the above-mentioned current vehicle condition information includes vehicle environment information; the control unit 602 is specifically configured to, when the vehicle includes multiple motors, control the second motor to emit a safety warning prompt sound corresponding to the vehicle environment information; wherein, the second motor includes at least one of the following: a drive motor among the multiple motors close to the obstacle corresponding to the vehicle environment information; a drive motor among the multiple motors close to the driving area; a drive motor among the multiple motors in an idle state; a generator among the multiple motors.

[0204] In some embodiments, the control unit 602 is specifically configured to: based on the current vehicle condition information, determine the audio data of the safety warning prompt sound, convert the audio data into a motor sound generation current value, where the motor sound generation current value is the current value for controlling the motor to generate sound, and based on the motor sound generation current value, generate a motor control signal to control the motor to emit the safety warning prompt sound.

[0205] In some embodiments, the control unit 602 is specifically configured to: convert the frequency of the audio data into a current frequency and convert the amplitude of the audio data into a current amplitude, and based on the current frequency and the current amplitude, obtain a quadrature-axis current value and a direct-axis current value, and use the quadrature-axis current value and the direct-axis current value as the motor sound generation current value.

[0206] In some embodiments, the control unit 602 is specifically configured to: convert the quadrature-axis current value and the direct-axis current value into a drive voltage, perform pulse width modulation on the drive voltage to obtain a motor control signal.

[0207] In some embodiments, the control unit 602 is specifically configured to: determine the warning level corresponding to the current vehicle condition information, where the warning level is used to characterize the degree of influence of the current vehicle condition information on the safety of the driver and passengers, and based on the warning level, determine the audio data of the safety warning prompt sound.

[0208] In some embodiments, the above-mentioned current vehicle condition information includes vehicle state information, and the vehicle state information includes multiple state information; the control unit 602 is specifically configured to: based on the warning level corresponding to each state information among the multiple state information, determine the target state information, where the target state information is the state information with the highest corresponding warning level among the multiple state information, and determine the audio data corresponding to the target state information.

[0209] In some embodiments, the above-mentioned current vehicle condition information includes vehicle environment information, and the warning levels include a first warning level, a second warning level, and a third warning level, where the first warning level is lower than the second warning level, and the second warning level is lower than the third warning level; the control unit 602 is specifically configured to: when it is determined according to the vehicle environment information that there is no obstacle colliding with the vehicle within the preset range of the vehicle and the speed of the vehicle is less than the preset speed, determine that the warning level corresponding to the vehicle environment information is the first warning level; or, when it is determined according to the vehicle environment information that there is an obstacle colliding with the vehicle within the preset range of the vehicle and the speed of the vehicle is less than the preset speed, determine that the warning level corresponding to the vehicle environment information is the second warning level; or, when it is determined according to the vehicle environment information that there is an obstacle colliding with the vehicle within the preset range of the vehicle and the speed of the vehicle is greater than or equal to the preset speed, determine that the warning level corresponding to the vehicle environment information is the third warning level.

[0210] In some embodiments, the above-mentioned audio data includes low-speed reminder audio data, collision reminder audio data, and collision warning audio data; the control unit 602 is specifically configured to: when the warning level corresponding to the vehicle environment information is the first warning level, determine the low-speed reminder audio data corresponding to the vehicle environment information; or, when the warning level corresponding to the vehicle environment information is the second warning level, determine the low-speed reminder audio data and the collision reminder audio data corresponding to the vehicle environment information; or, when the warning level corresponding to the vehicle environment information is the third warning level, determine the collision warning audio data corresponding to the vehicle environment information.

[0211] In some embodiments, the control unit 602 is further configured to control the warning light and the fault light matching the current vehicle condition information to flash at a target period according to the warning level corresponding to the current vehicle condition information, and the target period is a period matching the warning level.

[0212] In the safety warning device provided in the embodiments of the present application, since the environmental noise during vehicle driving is relatively large, it may cover up the prompt sounds emitted by the buzzer and the speaker. Therefore, the present application configures different voice prompts for different vehicle condition information and can control the motor vibration to emit the voice prompt corresponding to the current vehicle condition information, so that even when the driving noise is relatively large, the user can quickly obtain the current situation according to the voice prompt and make timely responses, improving driving safety.

[0213] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0214] Figure 7The structural diagram of an electronic device provided by an embodiment of this application is as follows. As Figure 7 shown, the electronic device 700 includes, but is not limited to: a processor 701 and a memory 702.

[0215] Among them, the above-mentioned memory 702 is used to store the executable instructions of the above-mentioned processor 701. It can be understood that the above-mentioned processor 701 is configured to execute instructions to implement the security warning method in the above-mentioned embodiment.

[0216] It should be noted that those skilled in the art can understand that Figure 7 the structure of the electronic device shown in Figure 7 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than

[0217] shown, or combine certain components, or have different component arrangements.

[0217] The processor 701 is the control center of the electronic device, connecting various parts of the entire electronic device through various interfaces and lines. By running or executing the software programs and / or modules stored in the memory 702, and calling the data stored in the memory 702, it executes various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 701 may include one or more processing units. Optionally, the processor 701 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 701 either.

[0218] The memory 702 can be used to store software programs and various data. The memory 702 may mainly include a program storage area and a data storage area. Among them, the program storage area may store the operating system, application programs required for at least one functional module (such as a determination unit, a processing unit, etc.). In addition, the memory 702 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0219] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided. For example, the memory 702 including instructions, and the above-mentioned instructions can be executed by the processor 701 of the electronic device 700 to implement the security warning method in the above-mentioned embodiment.

[0220] In actual implementation, Figure 6 the steps executed by the acquisition unit 601 and the control unit 602 in Figure 7It is implemented by the processor 701 in the [device] calling the computer program stored in the memory 702. For the specific execution process, reference can be made to the description of the method part in the above embodiment, which will not be elaborated here.

[0221] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium. For example, the non-transitory computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0222] In an exemplary embodiment, the present application also provides a computer program product including one or more instructions, and the one or more instructions can be executed by the processor 701 of the electronic device to complete the security warning method in the above embodiment.

[0223] It should be noted that when the instructions in the above computer-readable storage medium or the one or more instructions in the computer program product are executed by the processor of the electronic device, each process of the above method embodiment is implemented, and the same technical effects as the above method can be achieved. To avoid repetition, it will not be elaborated here.

[0224] Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0225] In several embodiments provided by the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point, the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

[0226] The units described as separate components may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, they can be located in one place, or they can be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0227] In addition, in each embodiment of the present application, each functional unit can be integrated in one processing unit, can exist physically alone for each unit, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0228] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes: USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs and other various media that can store program codes. The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A safety early warning method, characterized in that: The method comprises: Acquire current vehicle condition information, the current vehicle condition information includes vehicle state information and vehicle environment information, the vehicle state information refers to parameter information of various components inside the vehicle, and the vehicle environment information refers to obstacle information around the vehicle; Based on the current vehicle condition information, controlling the motor to emit a safety warning prompt sound corresponding to the current vehicle condition information; Based on the current vehicle condition information, controlling the motor to emit a safety warning prompt sound corresponding to the current vehicle condition information includes: When the current vehicle condition information is the vehicle status information, controlling the first motor to emit a safety warning tone corresponding to the vehicle status information; Wherein, when the vehicle status information is fuel information, the first motor is the drive motor closest to the driving area among the four drive motors of the vehicle; When the vehicle state information is water temperature information and the driving mode of the vehicle is a first driving mode, the first motor is at least one of two front drive motors in an idle state among four drive motors of the vehicle; and the first driving mode is a rear drive mode; When the vehicle state information is tire pressure information and the driving mode of the vehicle is a second driving mode, the first motor is a generator among the plurality of motors; and the second driving mode is a four-wheel drive mode; When the current vehicle condition information is the vehicle environment information, controlling the second motor to emit a safety warning tone corresponding to the vehicle environment information; Wherein, when the obstacle corresponding to the vehicle environment information is a person, the second motor is the drive motor closest to the person outside the vehicle among the four drive motors of the vehicle; When the vehicle environment information is the speed of surrounding vehicles, the second motor is a drive motor closest to a driving area among four drive motors of the vehicle.

2. The method according to claim 1, characterized in that Based on the current vehicle condition information, controlling the motor to emit a safety warning prompt sound corresponding to the current vehicle condition information includes: Based on the current vehicle condition information, determining audio data of the safety warning prompt sound; Convert the audio data into a motor sound current value, wherein the motor sound current value is a current value for controlling the motor sound; Based on the motor sound current value, a motor control signal is generated to control the motor to emit the safety warning prompt sound.

3. The method according to claim 2, characterized in that The step of converting the audio data into a motor sound current value comprises: Converting the frequency of the audio data into a current frequency, and converting the amplitude of the audio data into a current amplitude; Obtaining a quadrature-axis current value and a direct-axis current value according to the current frequency and the current amplitude; The quadrature-axis current value and the direct-axis current value are used as the motor sound-generating current value.

4. The method according to claim 3, characterized in that The step of generating a motor control signal based on the motor sound current value comprises: Converting the quadrature-axis current value and the direct-axis current value into a driving voltage; The driving voltage is pulse-width modulated to obtain the motor control signal.

5. The method according to claim 2, characterized in that: The step of determining the audio data of the safety warning prompt sound based on the current vehicle condition information includes: Determine a warning level corresponding to the current vehicle condition information, where the warning level is used to indicate the degree of impact of the current vehicle condition information on the safety of the driver and passengers; According to the warning level, audio data of the safety warning prompt sound is determined.

6. The method according to claim 5, characterized in that The current vehicle condition information includes vehicle status information, and the vehicle status information includes multiple status information; The step of determining the audio data of the safety warning prompt sound according to the warning level includes: Determine target state information according to the warning level corresponding to each state information in the plurality of state information, wherein the target state information is the state information with the highest warning level in the plurality of state information; Determine the audio data corresponding to the target state information.

7. The method according to claim 5, characterized in that The current vehicle condition information includes vehicle environment information, the warning level includes a first warning level, a second warning level and a third warning level, the first warning level is lower than the second warning level, and the second warning level is lower than the third warning level; The determining the warning level corresponding to the current vehicle condition information includes: When it is determined according to the vehicle environment information that there is no obstacle within the preset range of the vehicle that may collide with the vehicle, and the speed of the vehicle is less than a preset speed, determining that the warning level corresponding to the vehicle environment information is the first warning level; or When it is determined according to the vehicle environment information that there is an obstacle within the preset range of the vehicle that collides with the vehicle, and the speed of the vehicle is less than the preset speed, determining that the warning level corresponding to the vehicle environment information is the second warning level; or, When it is determined according to the vehicle environment information that there is an obstacle within a preset range of the vehicle that collides with the vehicle, and the speed of the vehicle is greater than or equal to the preset speed, the warning level corresponding to the vehicle environment information is determined to be the third warning level.

8. The method according to claim 7, characterized in that The audio data includes low speed reminder audio data, collision reminder audio data and collision warning audio data; The step of determining the audio data of the safety warning prompt sound according to the warning level includes: When the warning level corresponding to the vehicle environment information is the first warning level, determining that the vehicle environment information corresponds to the low-speed warning audio data; or When the warning level corresponding to the vehicle environment information is the second warning level, determining that the vehicle environment information corresponds to the low-speed warning audio data and the collision warning audio data; or When the warning level corresponding to the vehicle environment information is the third warning level, it is determined that the vehicle environment information corresponds to the collision warning audio data.

9. The method according to claim 5, characterized in that The method further comprises: According to the warning level corresponding to the current vehicle condition information, the warning light and the fault light matching the current vehicle condition information are controlled to flash at a target cycle, and the target cycle is a cycle matching the warning level.

10. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 9.

11. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method according to any one of claims 1 to 9.

12. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When a computer executes the instruction, the computer executes the method according to any one of claims 1 to 9.

13. A computer program product, comprising instructions, characterized in that: When the instructions are executed on a computer, the computer performs the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Sound production method and device of automobile motor, storage medium and automobile motor

    CN115158032A

  • Early warning method and device for vehicle collision, electronic equipment and storage medium

    CN116691722A

  • Implementation method and device of bass sound box, electronic equipment and storage medium

    CN116782085A