Safety early warning method and apparatus, device and storage medium

By configuring voice and light prompts for different vehicle condition information, the problem of traditional warning sounds being difficult to perceive in noisy environments has been solved, thus improving driving safety.

WO2026051616A1PCT designated stage Publication Date: 2026-03-12BYD CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-07-21
Publication Date
2026-03-12

AI Technical Summary

Technical Problem

Traditional warning sounds are difficult for users to perceive in noisy driving environments, leading to reduced driving safety.

Method used

By configuring different voice prompts for different vehicle condition information and using motor vibration to issue voice prompts corresponding to the current vehicle condition information, combined with flashing lights, the user's perception efficiency is improved.

Benefits of technology

In noisy driving environments, users can quickly obtain information about the current vehicle condition and take timely action, thus improving driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025109594_12032026_PF_FP_ABST
    Figure CN2025109594_12032026_PF_FP_ABST
Patent Text Reader

Abstract

A safety early warning method and apparatus, a device and a storage medium. The method comprises: acquiring current vehicle condition information; and, on the basis of the current vehicle condition information, controlling a motor to emit a safety early warning sound corresponding to the current vehicle condition information.
Need to check novelty before this filing date? Find Prior Art

Description

Safety warning method, device, equipment and storage medium

[0001] The present application claims priority to the Chinese patent application No. 202411236399.3, filed on September 4, 2024, the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] The present disclosure relates to the technical field of vehicle control, in particular to a safety warning method, device, equipment and storage medium. BACKGROUND

[0003] With the development of vehicle technology, the intelligentization of vehicle cabin is increasingly focused by manufacturers. The highly intelligent vehicle cabin can reduce the driving fatigue of the driver and improve the driving safety. SUMMARY

[0004] The present disclosure provides a safety warning method, device, equipment and storage medium, aiming to solve the problem that the traditional warning prompt sound is not easy to be perceived by the user, resulting in reduced driving safety.

[0005] In a first aspect, a safety warning method is provided, which includes: obtaining current vehicle condition information, and controlling at least one motor to emit a safety warning prompt sound corresponding to the current vehicle condition information based on the current vehicle condition information. The safety warning prompt sound is a voice.

[0006] The safety warning method provided by some embodiments of the present disclosure can improve the driving safety. Because the environmental noise during the driving of the vehicle is large, it can cover the prompt sound emitted by the buzzer and the loudspeaker. Therefore, in some embodiments of the present disclosure, different voice prompts are configured for different vehicle condition information, and the motor vibration is controlled 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 in the case of large driving noise, and make a timely response, thereby improving the driving safety.

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

[0008] Based on this, since the vehicle state information refers to the state information of each component of the vehicle, in some embodiments of the present disclosure, when controlling the motor to sound, a driving motor close to the driving area can be selected from the plurality of motors of the vehicle to direct the driver to handle; or a driving motor in an idle state or a generator can be selected from the plurality of motors of the vehicle to avoid interference with the driving motor as much as possible.

[0009] In some embodiments, in the case that the current vehicle condition information includes vehicle environment information and the at least one motor includes a plurality of motors, the above-mentioned controlling the motor to sound the safety warning prompt sound corresponding to the current vehicle condition information based on the current vehicle condition information includes: controlling a second motor in the plurality of motors to sound the safety warning prompt sound corresponding to the vehicle environment information; the second motor includes at least one of the following: a driving motor in the plurality of motors close to an obstacle corresponding to the vehicle environment information; a driving motor in the plurality of motors close to the driving area; a driving motor in the plurality of motors in an idle state; and a generator in the plurality of motors.

[0010] Based on this, since the vehicle environment information refers to the information of the obstacles around the vehicle, in some embodiments of the present disclosure, when controlling the motor to sound, a driving motor close to the obstacle can be selected from the plurality of motors of the vehicle to direct the person outside the vehicle to avoid; or a driving motor close to the driving area can be selected from the plurality of motors of the vehicle to direct the driver to handle; or a driving motor in an idle state or a generator can be selected from the plurality of motors of the vehicle to avoid interference with the driving motor as much as possible.

[0011] In some embodiments, the above-mentioned controlling the at least one motor to sound the 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 current value, the motor sound current value being a current value for controlling the motor to sound, generating a motor control signal based on the motor sound current value to control the motor to sound the safety warning prompt sound. The motor control signal can be a pulse width modulation (PWM) signal.

[0012] Based on this, since the signal for controlling the motor is usually a pulse width modulation signal, in some embodiments of the present disclosure, 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, to realize the function of controlling the motor to sound the safety warning prompt sound.

[0013] In some embodiments, the converting the audio data into the motor sound generating current value comprises: converting a frequency of the audio data into a current frequency, and converting an 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 taking the quadrature axis current value and the direct axis current value as the motor sound generating current value. The quadrature axis current value can be a d-axis current value, and the direct axis current value can be a q-axis current value.

[0014] Based on this, when controlling the motor, there will be a q-axis current and a d-axis current to control the motor torque magnetic field and the motor rotation, respectively. Therefore, in some embodiments of the present disclosure, the frequency and amplitude of the motor are obtained according to the frequency and amplitude of the audio data, 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 further to obtain the corresponding d-axis current value and q-axis current value to ensure that the motor sound can be successfully controlled.

[0015] In some embodiments, the generating the motor control signal based on the motor sound generating current value comprises: converting the quadrature axis current value and the direct axis current value into a driving voltage, and pulse width modulating the driving voltage to obtain the motor control signal.

[0016] In some embodiments, the determining the audio data of the safety warning prompt sound based on the current vehicle condition information comprises: determining a warning level corresponding to the current vehicle condition information, the warning level being used to represent the influence degree of the current vehicle condition information on the safety of the driver and the passenger; and determining the audio data of the safety warning prompt sound according to the warning level.

[0017] Based on this, since the warning levels corresponding to the same vehicle condition information can be different, in some embodiments of the present disclosure, different audio data are set for vehicle condition information of different warning levels, to further distinguish 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.

[0018] In some embodiments, when the current vehicle condition information comprises vehicle state information, and the vehicle state information comprises a plurality of state information, the determining the audio data of the safety warning prompt sound according to the warning level comprises: determining a target state information according to a warning level corresponding to each state information in the plurality of state information, the target state information being a state information corresponding to the highest warning level in the plurality of state information, and determining the audio data corresponding to the target state information.

[0019] Based on this, since the warning level represents the influence degree of the vehicle state information on the safety of the driver, and the higher the warning level is, the greater the influence of the vehicle state information on the safety of the driver and the passenger is. Therefore, in some embodiments of the present disclosure, when facing a plurality of vehicle state information at the same time, the vehicle state information with the highest warning level is preferentially warned, to avoid causing greater hidden dangers to the safety of the driver and the passenger.

[0020] In some embodiments, in a case where the current vehicle condition information comprises vehicle environment information, the determining of the warning level corresponding to the current vehicle condition information comprises: in a case where it is determined according to the vehicle environment information that there is no obstacle in a preset range of the vehicle that will 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 a first warning level; in a case where it is determined according to the vehicle environment information that there is an obstacle in the preset range of the vehicle that will collide 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 a second warning level; and in a case where it is determined according to the vehicle environment information that there is an obstacle in the preset range of the vehicle that will collide with 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 a third warning level.

[0021] The first warning level is lower than the second warning level, and the second warning level is lower than the third warning level.

[0022] Based on this, since the speed of the vehicle is proportional to the size of the safety hazard, in some embodiments of the present disclosure, on the basis of judging whether there is an obstacle that may collide, the speed of the vehicle is further used to determine the degree of safety hazard of the vehicle environment information, and different warning levels are divided, so that the user can make corresponding countermeasures in a timely manner according to different warning levels.

[0023] In some embodiments, the audio data comprises low-speed reminding audio data, collision reminding audio data and collision warning audio data; and the determining of the audio data of the safety warning prompt according to the warning level comprises: in a case where 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 reminding audio data; in a case where 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 reminding audio data and the collision reminding audio data; and in a case where the warning level corresponding to the vehicle environment information is the third warning level, determining that the vehicle environment information corresponds to the collision warning audio data.

[0024] Based on this, in some embodiments of the present disclosure, different audio data are set 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 emitted by the motor.

[0025] In some embodiments, the safety warning method can further comprise: after determining the warning level corresponding to the current vehicle condition information, controlling the warning light and the fault light matched with the current vehicle condition information to flash at a target period, the target period being a period matched with the warning level.

[0026] Based on this, in some embodiments of the present disclosure, by setting the respective flashing periods for different warning levels, the user's efficiency of perceiving the current vehicle state information is further improved by combining light flashing with voice warning.

[0027] In a second aspect, a safety warning device is provided, which includes an acquisition unit and a control unit. The acquisition unit is configured to acquire current vehicle state information. The control unit is configured to control at least one motor to emit a safety warning prompt sound corresponding to the current vehicle state information based on the current vehicle state information.

[0028] In some embodiments, the current vehicle state information includes vehicle state information, and the control unit is further configured to, in the case that the at least one motor includes a plurality of motors, control a first motor to emit a safety warning prompt sound corresponding to the vehicle state information, the first motor including at least one of: a driving motor of the plurality of motors close to a driving area; a driving motor of the plurality of motors in an idle state; and a generator of the plurality of motors.

[0029] In some embodiments, the current vehicle state information includes vehicle environment information, and the control unit is further configured to, in the case that the at least one motor includes a plurality of motors, control a second motor to emit a safety warning prompt sound corresponding to the vehicle environment information, the second motor including at least one of: a driving motor of the plurality of motors close to an obstacle corresponding to the vehicle environment information; a driving motor of the plurality of motors close to a driving area; a driving motor of the plurality of motors in an idle state; and a generator of the plurality of motors.

[0030] In some embodiments, the control unit is further configured to, based on the current vehicle state information, determine audio data of the safety warning prompt sound, convert the audio data into a motor sound emission current value, the motor sound emission current value being a current value for controlling the motor to emit sound, generate a motor control signal based on the motor sound emission current value, and control the motor to emit the safety warning prompt sound.

[0031] In some embodiments, the control unit is further configured to convert a frequency of the audio data into a current frequency and convert an amplitude of the audio data into a current amplitude, obtain a quadrature axis current value and a direct axis current value based on the current frequency and the current amplitude, and use the quadrature axis current value and the direct axis current value as the motor sound emission current value.

[0032] In some embodiments, the control unit is further configured to convert the quadrature axis current value and the direct axis current value into a driving voltage, perform pulse width modulation on the driving voltage, and obtain the motor control signal.

[0033] In some embodiments, the control unit is further configured to determine a warning level corresponding to the current vehicle condition information, the warning level being used to represent a degree of influence of the current vehicle condition information on safety of the driver and the passenger, and determine the audio data of the safety warning prompt sound according to the warning level.

[0034] In some embodiments, the current vehicle condition information includes vehicle state information, and the vehicle state information includes a plurality of state information; the control unit is further configured to determine a target state information according to a warning level corresponding to each of the plurality of state information, the target state information being a state information with a highest warning level among the plurality of state information, and determine the audio data corresponding to the target state information.

[0035] In some embodiments, the current vehicle condition information includes vehicle environment information, and the warning level includes a first warning level, a second warning level, and a third warning level, the first warning level being lower than the second warning level, and the second warning level being lower than the third warning level; the control unit is further configured to determine the first warning level corresponding to the vehicle environment information in a case that there is no obstacle that will collide with the vehicle within a preset range of the vehicle and a speed of the vehicle is less than a preset speed according to the vehicle environment information; determine the second warning level corresponding to the vehicle environment information in a case that there is an obstacle that will collide with the vehicle within the preset range of the vehicle and the speed of the vehicle is less than the preset speed according to the vehicle environment information; and determine the third warning level corresponding to the vehicle environment information in a case that there is an obstacle that will 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 according to the vehicle environment information.

[0036] In some embodiments, the audio data includes low-speed reminding audio data, collision reminding audio data, and collision warning audio data; the control unit is further configured to determine the low-speed reminding audio data corresponding to the vehicle environment information in a case that the warning level corresponding to the vehicle environment information is the first warning level; determine the low-speed reminding audio data and the collision reminding audio data corresponding to the vehicle environment information in a case that the warning level corresponding to the vehicle environment information is the second warning level; and determine the collision warning audio data corresponding to the vehicle environment information in a case that the warning level corresponding to the vehicle environment information is the third warning level.

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

[0038] In a third aspect, an electronic device is provided, including a processor and a memory for storing processor-executable instructions; the processor is configured to execute the instructions to implement the safety warning method described above.

[0039] In a fourth aspect, a vehicle is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor; the processor executes the computer program to implement the safety warning method described above.

[0040] In a fifth aspect, a computer-readable storage medium is provided, the computer-readable storage medium storing instructions, when the instructions are executed on a computer, causing the computer to execute the safety warning method described above.

[0041] In a sixth aspect, a computer program product is provided, including instructions, when the instructions are executed on a computer, causing the computer to execute the safety warning method described above.

[0042] In a seventh aspect, a chip is provided, including a processor and a communication interface, the communication interface and the processor being coupled, the processor being configured to execute a computer program or instructions to implement the safety warning method described above.

[0043] In some embodiments, the chip further includes a memory for storing the computer program or instructions. BRIEF DESCRIPTION OF DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings in the following description are only some of the embodiments of the present disclosure, and other drawings can also be obtained by those of ordinary skill in the art without any creative effort based on these drawings.

[0045] FIG. 1 is a block diagram of a vehicle operation state monitoring and fault prediction system provided in the related art;

[0046] FIG. 2 is a block diagram of a safety warning system according to some embodiments of the present disclosure;

[0047] FIG. 3 is a flowchart of a safety warning method according to some embodiments of the present disclosure;

[0048] FIG. 4 is a flowchart of a safety warning method based on vehicle state information according to some embodiments of the present disclosure;

[0049] FIG. 5 is a flowchart of a safety warning method based on vehicle environment information according to some embodiments of the present disclosure;

[0050] FIG. 6 is a block diagram of a safety warning device according to some embodiments of the present disclosure;

[0051] FIG. 7 is a block diagram of an electronic device according to some embodiments of the present disclosure;

[0052] FIG. 8 is a block diagram of a vehicle according to some embodiments of the present disclosure. DETAILED DESCRIPTION

[0053] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present disclosure.

[0054] In the description of the present disclosure, it should be understood that the terms "upper", "lower", "left", "right", "front", "back", "inner", "outer" and the like indicate the orientation or positional relationship based on the orientation or relative position relationship shown in the drawings, and are only intended to facilitate the description of the present disclosure and simplify the description, and are not intended to indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present disclosure. Unless otherwise specified, the above orientation description can be flexibly arranged in the process of actual application, under the condition of meeting the relative position relationship shown in the drawings.

[0055] The terms "first", "second" are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more of the features. In the description of the present disclosure, unless otherwise specified, the meaning of "a plurality of" is two or more.

[0056] In the description of the present disclosure, it should be noted that, unless otherwise explicitly specified and limited, the terms "mounting", "connection", "connecting", "communication" should be understood in a broad sense, for example, can be fixedly connected, can be detachably connected, or integrally connected. It can be directly connected, or indirectly connected through an intermediate medium. It can be the communication between the internal elements of two elements. For those of ordinary skill in the art, the meaning of the above terms in the present disclosure can be understood according to the circumstances.

[0057] In some embodiments, the term "comprise", "comprising", or any other variation thereof, is intended to cover a non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, article, or apparatus. Without further limitation, an element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, article, or apparatus that includes the element.

[0058] In some embodiments, the word "exemplary" or "for example" is used to mean serving as an example or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the exemplary or for example embodiments are intended to convey concepts in a nontechnical or simple form. The terms "first", "second", "third", etc. are used herein to denote different units and not to denote a particular order or priority.

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

[0060] With the development of vehicle assisted driving, the vehicle cabin is also increasingly intelligent. For example, the vehicle intelligent cabin can early warn the user of the failure of each component of the vehicle or the impending danger, and assist the user in driving the vehicle.

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

[0062] Scheme one, a lane change assistance warning method is provided, which warns and prompts the vehicle through the flashing and changing of the warning light color, and the "beeping" sound of the buzzer, improves the driving safety of the driver.

[0063] However, although this scheme increases the safety of the driver to some extent, when the vehicle warning light and the atmosphere light are turned on at the same time, the driver cannot quickly react to 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 state of fatigue, the warning sound of the buzzer (such as "didi" and "dudu") is not enough for the driver to quickly and effectively perceive the current dangerous situation, and the sound of the buzzer is small and can be easily covered by the noisy driving environment, further affecting the perception speed of the driver, resulting in low driving safety.

[0064] Scheme two provides a method capable of actively monitoring the running state of the vehicle and predicting faults according to the running state, thereby prompting the driver to handle the fault in advance. As shown in FIG. 1, the method first acquires 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 the vehicle computer through the vehicle CAN communication network. When a fault is monitored, the alarm state is activated through the input / output (I / O) control module, then the automobile instrument panel alarm light is controlled to be on, and the vehicle computer is controlled to display the alarm information in the CAN communication mode to remind the driver or the maintenance personnel to handle it.

[0065] However, although this scheme can monitor the running state of the vehicle power transmission system in real time during the use of the vehicle, and actively prompt the user of the possible failure mode of the power transmission system when a fault occurs, the prompt method of this scheme is to display the related fault light and fault information on the instrument panel and display screen. Since the number of fault indicator lights and warning indicator lights on the vehicle instrument panel is large, the user has difficulty in timely perceiving the meaning represented by the indicator light, and if the user focuses on the instrument panel and the center display screen during driving, the user's attention will be diverted, which increases the risk of driving.

[0066] Scheme three provides an electric vehicle pedestrian warning method and system. A comparator converts a phase current sine wave frequency signal into a PWM signal to extract the frequency, calculates the current vehicle speed according to the frequency, and then uses an operational amplifier to perform differential operation on the signal collected by a Hall sensor to calculate the driving force of the current driving vehicle, and then obtains 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 controls the speaker or buzzer of the vehicle to work to warn pedestrians.

[0067] However, although this scheme can warn pedestrians, the warning method of this scheme is similar to that of the above-mentioned scheme one, which is to use a speaker or buzzer to sound a warning. In a noisy driving environment, the sound warning can be easily covered up, which makes it difficult for the user to timely perceive the current vehicle condition, and the driving safety is low.

[0068] In summary, the pre-warning schemes in the related art all have the problem that the pre-warning sound is not easy for the user to perceive, which reduces the driving safety.

[0069] In this context, in order to solve the problem that the traditional pre-warning sound in the related art is not easy for the user to perceive, which reduces the driving safety, some embodiments of the present disclosure provide a safety pre-warning method, device, equipment and storage medium, which are described in detail below in conjunction with the accompanying drawings.

[0070] As shown in FIG. 2, a safety warning system 200 provided by some embodiments of the present disclosure can include a whole vehicle sensor 210, an electronic control unit 220, an execution module 230, and at least one motor 240.

[0071] The execution module 230 includes a motor controller 231, an instrument panel 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.

[0072] For example, the whole vehicle sensor 210 can include a distance sensor, a camera, an ultrasonic radar, a millimeter wave radar, a gyroscope, an electromagnetic wave radar, an ultrasonic sensor, etc.

[0073] In some embodiments, the whole vehicle sensor 210 can collect parameter information of various components of the vehicle (such as tire pressure information, fuel information, power information, etc.), and obstacle information around the vehicle (such as surrounding vehicles, surrounding personnel, etc.), and transmit them to the whole vehicle CAN bus through the CAN signal.

[0074] In some embodiments, the instrument panel 232, the central control screen 233, and the warning light 234 can obtain information of the electronic control unit 220 from the CAN bus, and flash the fault light corresponding to the information on the instrument panel 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.

[0075] In some embodiments, after the electronic control unit 220 obtains information from the CAN bus, it can retrieve and determine the audio data corresponding to the information from the pre-stored audio database based on the information, and send the audio data to the audio processing module 231a. The audio processing module 231a can analyze 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 at least one motor 240 to emit sound.

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

[0077] Next, the safety warning method provided by some embodiments of the present disclosure will be described with reference to FIGS. 2-5.

[0078] It can be understood that in some embodiments of the present disclosure, each device or module in the safety warning system can perform some or all of the steps in some embodiments of the present disclosure, and these steps or operations are only examples, and some embodiments of the present disclosure can also perform other operations or variations of various operations. In addition, each step can be performed in a different order as presented in some embodiments of the present disclosure, and it is possible that not all operations in some embodiments of the present disclosure are performed.

[0079] The subject performing the method can be a safety warning system, or each device or module in the safety warning system, such as an integrated circuit or a chip, which is not limited by the present disclosure.

[0080] For example, as shown in FIG. 3, the safety warning method provided by some embodiments of the present disclosure can include the following steps S301 and S302.

[0081] S301, obtaining current vehicle condition information.

[0082] For example, the current vehicle condition information can include at least one of vehicle state information or vehicle environment information.

[0083] In some embodiments, the vehicle state information refers to parameter information of each component inside the vehicle. For example, the vehicle state information can include tire pressure information, fuel information, power information, and water temperature information.

[0084] In some embodiments, the vehicle environment information refers to obstacle information around the vehicle. For example, the vehicle environment information can include position information of surrounding vehicles, position information of surrounding personnel, and position information of surrounding buildings.

[0085] For example, the current vehicle condition information can be obtained by a whole vehicle sensor. For example, the whole vehicle sensor can include a speed sensor, a distance sensor, an acceleration sensor, a camera, an ultrasonic radar, a cabin temperature sensor, a water temperature sensor, an oil level sensor, a pressure sensor, an engine sensor, etc.

[0086] For example, the remaining amount of fuel in the vehicle tank can be obtained by the oil level sensor; the remaining amount of water in the vehicle water tank can be obtained by the water temperature sensor; the position information of surrounding personnel can be obtained by the distance sensor; whether the handbrake is down can be monitored by the pressure sensor; whether the trunk of the vehicle is closed can be monitored by the camera; engine oil pressure can be monitored by the pressure sensor; whether the engine is malfunctioning can be monitored by the engine sensor, etc.

[0087] S302, based on the current vehicle condition information, controlling at least one motor to issue a safety warning prompt sound corresponding to the current vehicle condition information.

[0088] In some embodiments, the safety warning prompt sound can include natural voice, engine low-speed running sound, and engine high-speed running sound.

[0089] For example, in the case of the current vehicle status information being vehicle state information, the voice of "trunk not closed", "door not closed", "hand brake not released", etc. can be set.

[0090] For example, in the case of the current vehicle status information being vehicle environment information, the voice of "collision may occur, please slow down and avoid", "collision will occur, please prepare for protection", "vehicle speed is too fast, please slow down", etc. can be set.

[0091] For example, the audio data corresponding to different vehicle status information can be pre-stored in the vehicle memory, and the audio data is the data of the safety warning prompt sound.

[0092] For example, after obtaining the current vehicle status information, the audio data of the safety warning prompt sound can be determined based on the current vehicle status information, the audio data is converted into motor sound generation current value, and the motor control signal is generated based on the motor sound generation current value to control the motor to sound the safety warning prompt sound.

[0093] For example, the motor sound generation current value is the current value for controlling the motor to sound.

[0094] In some embodiments, the audio data corresponding to the current vehicle status information can be determined by calibration lookup table.

[0095] For example, an audio data table can be established, as shown in Table 1, which stores the audio data corresponding to each vehicle status information. It should be noted that only the audio data corresponding to part of the vehicle status information is given in Table 1, and more or less audio data corresponding to the vehicle status information can also be included in actual use, which is not limited in the present disclosure.

[0096] Table 1

[0097] For example, if the current vehicle status information obtained is fuel information, the corresponding audio data A can be determined from the above table.

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

[0099] Therefore, since the signal for controlling the motor is usually a pulse width modulation signal, in some embodiments of the present disclosure, the determined audio data needs to be converted into a current signal for controlling the motor first, 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 sound the safety warning prompt sound.

[0100] For example, 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, the quadrature axis current value and the direct axis current value are obtained, and the quadrature axis current value and the direct axis current value are taken as the motor sound current value.

[0101] For example, the frequency of the audio data is used to represent the pitch of the audio data, and the amplitude of the audio data is used to represent the intensity of the audio data.

[0102] In some embodiments, when the frequency conversion and amplitude conversion of the audio data are performed, 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 based on the duty cycle change of the PWM signal.

[0103] 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 as 20,000 Hz and the basic current value is 1 ampere, the current amplitude can be calculated as 1*0.5=0.5 ampere.

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

[0105] For example, 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 as a constant value of 0.1 ampere, and the size of the d-axis current value is the current amplitude of 0.5 ampere.

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

[0107] For example, 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 can be pulse width modulated to obtain a motor control signal.

[0108] For example, 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.

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

[0110] Taking a motor as a three-phase motor, the value of the quadrature-axis current as the value of the d-axis current, and the value of the direct-axis current as the value of the q-axis current 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 can be converted to a two-phase forbidden coordinate system (α-β axis coordinate system), and then the two current value components in the α-β axis coordinate system can be converted to three phase components with a phase difference of 120 degrees in a three-phase coordinate system, and then the three-phase current values can be converted to three-phase driving voltages through a voltage equation.

[0111] In the safety warning method provided by some embodiments of the present disclosure, because there is a lot of environmental noise in the driving process of the vehicle, the prompt sound emitted by the buzzer and the loudspeaker may be covered up. Therefore, in some embodiments of the present disclosure, different voice prompts are configured for different vehicle condition information, and the voice prompt corresponding to the current vehicle condition information can be emitted in the form of motor vibration control, so that the user can quickly obtain the current situation according to the voice prompt even in the case of a lot of driving noise, and make a timely response, thereby improving the driving safety.

[0112] As described in S302, in some embodiments, the audio data of the safety warning prompt sound can be determined according to the warning level corresponding to the current vehicle condition information.

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

[0114] For example, the warning level is used to represent the degree of influence of the current vehicle condition information on the safety of the driver and passenger, and the higher the warning level, the greater the degree of influence of the current vehicle condition information on the safety of the driver and passenger. 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 passenger.

[0115] It should be noted that the safety warning prompt sound corresponding to the vehicle condition information of different warning levels is also different.

[0116] In some embodiments, different safety warning prompt sounds can be set for different warning levels of the same vehicle condition information. For example, in the case where the current vehicle condition information includes vehicle state information, different limit values (such as a first limit value and a second limit value) can be set for the vehicle state information, and the vehicle state information satisfies different limit values, corresponding to different warning levels. For example, when the vehicle state information satisfies the first limit value, the safety warning prompt sound corresponding to the first limit value is set; when the vehicle state information satisfies the second limit value, the safety warning prompt sound corresponding to the second limit value is set.

[0117] For example, taking the current vehicle condition information as fuel information, the first limit value of the fuel remaining amount can be set as 8 liters, and the safety warning prompt sound "fuel shortage, please pay attention" is set for the first limit value. The second limit value of the fuel remaining amount can be set as 5 liters, and the safety warning prompt sound "fuel is running out, please refuel immediately" is set for the second limit value.

[0118] In some embodiments, after setting the respective matching safety warning prompt sounds 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 sound matching the warning level is screened out.

[0119] For example, taking the current vehicle condition information as fuel information, the first limit value is 8 liters, and the second limit value is 5 liters. If the measured current fuel remaining amount is 7.5 liters, since 7.5 liters is less than 8 liters but greater than 5 liters, it can be determined that the safety warning prompt sound corresponding to the fuel information is the safety warning prompt sound corresponding to the first limit value "fuel shortage, please pay attention".

[0120] In some embodiments, when the current vehicle condition information includes vehicle state information, the warning level of the vehicle state information can be divided into a fourth warning level and a fifth warning level. For example, the fourth warning level is lower than the fifth warning level.

[0121] In some embodiments, 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. For example, the first warning level is lower than the second warning level, and the second warning level is lower than the third warning level.

[0122] Therefore, since the warning levels corresponding to the same vehicle condition information can be different, some embodiments of the present disclosure can further distinguish different warning levels by setting different audio data for vehicle condition information of 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.

[0123] For example, 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 according to the warning level.

[0124] For example, the target period is a period matching the warning level, and the target period refers to the time length for flashing once. Different warning levels correspond to different periods, and the higher the warning level, the shorter the period.

[0125] For example, different target periods can be set in advance for different warning levels of the vehicle condition information.

[0126] For example, taking the vehicle state information as an example. When the warning level corresponding to the vehicle state information is the fourth warning level, the target period matched is 0.1 seconds; when the warning level corresponding to the vehicle state information is the fifth warning level, the target period matched is 0.05 seconds.

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

[0128] Taking the vehicle state information as the water temperature information, the target period matched by the fourth warning level is 0.1 seconds, and the target period matched by the fifth warning level is 0.05 seconds. If the measured warning level of the water temperature information is the fifth warning level, it can be determined that the target period is 0.05 seconds, and at this time the warning light and the fault light matched by the water temperature information can be controlled to flash at the target period of 0.05 seconds.

[0129] In this way, some embodiments of the present disclosure set the respective flashing periods corresponding to different warning levels, to further improve the user's efficiency in perceiving the current vehicle information by combining light flashing with voice warning based on voice warning.

[0130] Next, the audio data of the safety warning prompt sound is described when the current vehicle information includes vehicle state information.

[0131] As described above, in some embodiments, when the current vehicle information includes vehicle state information, the warning level of the vehicle state information can be divided into the fourth warning level and the fifth warning level.

[0132] 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 mild warning, and the fifth warning level can be referred to as severe warning.

[0133] For example, when the vehicle state information includes multiple state information, the target state information can be determined according to the warning level corresponding to each state information in the multiple state information, and the audio data corresponding to the target state information can be determined.

[0134] For example, the target state information is the state information corresponding to the highest warning level in the multiple state information.

[0135] In some embodiments, when the multiple vehicle state information obtained all appear abnormal, it can be judged whether the warning level of each of the multiple vehicle state information is mild warning or severe warning, and then the vehicle state information with severe warning is preferentially warned, and the audio data corresponding to the vehicle state information is determined.

[0136] For example, the vehicle state information includes fuel information, tire pressure information, and water temperature information. If the warning level of the fuel information is determined to be a mild warning, the warning level of the tire pressure information is determined to be a severe warning, and the warning level of the water temperature information is determined to be a mild warning, the audio data corresponding to the tire pressure information with the severe warning level is preferentially acquired.

[0137] Thus, the warning level represents the degree of influence of the vehicle state information on the safety of the driver, and the higher the warning level, the greater the influence of the vehicle state information on the safety of the driver. Therefore, in some embodiments of the present disclosure, when multiple vehicle state information is present at the same time, the vehicle state information with the highest warning level is preferentially warned, which can avoid greater hidden dangers to the safety of the driver.

[0138] In the following, the audio data of the safety warning prompt is determined when the current vehicle condition information includes vehicle environment information.

[0139] In some embodiments, 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.

[0140] 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 mild warning, the second warning level can be referred to as a moderate warning, and the third warning level can be referred to as a severe warning.

[0141] In some embodiments, when it is determined according to the vehicle environment information that there is no obstacle within the preset range of the vehicle that can collide with the vehicle, 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 mild warning.

[0142] For example, the preset range can be a value set by a person, which can be flexibly adjusted according to the actual scene (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.

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

[0144] In some embodiments, when it is determined that the warning level corresponding to the vehicle environment information is a mild warning, the audio data corresponding to the vehicle environment information with the mild warning can be determined to be low-speed reminder audio data.

[0145] For example, the low-speed reminding audio data refers to audio data simulating the sound of a low-speed running engine of a vehicle.

[0146] In some embodiments, in a case where it is determined according to the vehicle environment information that there is an obstacle that will collide with the vehicle within a preset range of the vehicle, and the speed of the vehicle is less than a preset speed, it is determined that the warning level corresponding to the vehicle environment information is a moderate warning.

[0147] For example, taking a preset range of a range with a diameter of 15 meters and a preset speed of 60 kilometers per hour as an example. If it is measured that there is a person within a range of 15 meters of the vehicle, and the speed of the vehicle is 50 kilometers per hour, it can be determined that the warning level corresponding to the current vehicle environment information is a moderate warning.

[0148] In some embodiments, in a case where it is determined that the warning level corresponding to the vehicle environment information is a moderate warning, it can be determined that the audio data corresponding to the vehicle environment information of the moderate warning is low-speed reminding audio data and collision reminding audio data.

[0149] For example, after it is determined that the warning level corresponding to the vehicle environment information is a moderate warning, it can be determined that the low-speed reminding audio data (such as audio data simulating a low-speed running engine) and the collision reminding audio data (such as audio data of “possible collision, please slow down and avoid”) are determined.

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

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

[0152] In some embodiments, in a case where it is determined that the warning level corresponding to the vehicle environment information is a severe warning, it can be determined that the audio data corresponding to the vehicle environment information of the severe warning is collision warning audio data.

[0153] For example, after it is determined that the warning level corresponding to the vehicle environment information is a severe warning, it can be determined that the collision warning audio data (such as audio data of “imminent collision, please prepare for protection”) is determined.

[0154] Therefore, since the speed of the vehicle is proportional to the size of the safety hazard, in some embodiments of the present disclosure, the speed of the vehicle is further used to determine the degree of safety hazard of the vehicle environment information based on whether there is an obstacle that may collide, and different warning levels are divided, so that the user can take corresponding measures in a timely manner according to different warning levels. In addition, different audio data are set for vehicle environment information of different warning levels, so that the user can know the severity of the current vehicle information according to the voice prompt of the motor.

[0155] In the following, the case that the at least one motor includes a plurality of motors is described.

[0156] For example, in the case that the current vehicle information includes vehicle state information, the first motor is controlled to emit a safety warning prompt sound corresponding to the vehicle state information.

[0157] In some embodiments, the first motor can be a driving motor close to the driving area among the plurality of motors; the first motor can also be a driving motor in an idle state among the plurality of motors; and the first motor can also be a generator among the plurality of motors.

[0158] For example, the idle state means that the motor is not in a working state. For example, the motor is idling or idle.

[0159] In some embodiments, taking the case that the plurality of motors includes four driving motors and the vehicle state information is fuel information as an example, after the audio data corresponding to the fuel information is determined, the driving motor closest to the driving area (such as the first motor) can be selected from the four driving motors, and the driving motor is controlled to emit a corresponding safety warning prompt sound according to the audio data corresponding to the fuel information.

[0160] In some embodiments, taking the case that the plurality of motors includes four driving motors and the vehicle state information is water temperature information as an example, after the audio data corresponding to the water temperature information is determined, if the vehicle is in a rear-drive mode, two front-drive motors in an idle state (such as the first motor) can be selected from the four driving motors, and one or both of the two front-drive motors is controlled to emit a corresponding safety warning prompt sound according to the audio data corresponding to the water temperature information.

[0161] In some embodiments, taking the case that the plurality of motors includes four driving motors and a generator and the vehicle state information is tire pressure information as an example, after the audio data corresponding to the tire pressure information is determined, if the vehicle is in a four-wheel drive mode, the generator (such as the first motor) can be selected from the plurality of 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.

[0162] Thus, since the vehicle state information refers to the state information of each component of the vehicle, in some embodiments of the present disclosure, when the motor sound is controlled to be emitted, a driving motor close to the driving area can be selected from the plurality of motors of the vehicle to direct the driver to take action; or a driving motor in an idle state or a generator can be selected from the plurality of motors of the vehicle to avoid interference with the driving motor as much as possible.

[0163] For example, in a case where the current vehicle condition information includes vehicle environment information, the first motor is controlled to emit a safety warning prompt sound corresponding to the vehicle environment information.

[0164] In some embodiments, the first motor can be a driving motor close to an obstacle corresponding to the vehicle environment information in the plurality of motors; the first motor can also be a driving motor close to the driving area in the plurality of motors; the first motor can also be a driving motor in an idle state in the plurality of motors; and the first motor can also be a generator in the plurality of motors.

[0165] In some embodiments, the plurality of motors includes four driving motors, and the obstacle corresponding to the vehicle environment information is a person. After the audio data is determined, a driving motor closest to the person outside the vehicle (e.g., the first motor) can be selected from the four driving motors, and the driving motor is controlled to emit a corresponding safety warning prompt sound according to the audio data to prompt the person outside the vehicle.

[0166] In some embodiments, the plurality of motors includes four driving motors, and the vehicle environment information is the speed of the surrounding vehicle. After the audio data is determined, a driving motor closest to the driving area (e.g., the first motor) can be selected from the four driving motors, and the driving motor is controlled to emit a corresponding safety warning prompt sound according to the audio data to prompt the driver that the speed of the surrounding vehicle is too fast.

[0167] In some embodiments, the plurality of motors includes four driving motors. After the audio data is determined, if the vehicle is in a rear-wheel drive mode, two front-wheel driving motors in an idle state (e.g., the first motor) can be selected from the four driving motors, and at least one motor of the two front-wheel driving motors is controlled to emit a corresponding safety warning prompt sound according to the audio data.

[0168] In some embodiments, the plurality of motors includes four driving motors and a generator. After the audio data is determined, if the vehicle is in a four-wheel drive mode, the generator (e.g., the first motor) can be selected from the plurality of motors, and the generator is controlled to emit a corresponding safety warning prompt sound according to the audio data.

[0169] Thus, since the vehicle environment information refers to information of obstacles around the vehicle, in some embodiments of the present disclosure, when the motor is controlled to make a sound, a driving motor close to the obstacle can be selected from the plurality of motors of the vehicle to direct the outside person to avoid; a driving motor close to the driving area can be selected from the plurality of motors of the vehicle to direct the driver to process; or a driving motor in an idle state or a generator can be selected from the plurality of motors of the vehicle to avoid interference with the driving motor as much as possible.

[0170] Next, the safety warning process of the current vehicle condition information including the vehicle state information and the vehicle environment information is described.

[0171] For example, as shown in FIG. 4, in the case that the current vehicle condition information includes the vehicle state information, the safety warning method provided by some embodiments of the present disclosure can include the following steps S401-S407.

[0172] S401, real-time monitoring of the vehicle state by the sensor.

[0173] S402, determining whether the vehicle state information is abnormal. If yes, performing S403; if no, performing S401.

[0174] S403, determining whether the warning level of the vehicle state information is severe warning. If yes, performing S404; if no, performing S406.

[0175] For example, the severe warning is the fifth warning level described above.

[0176] S404, according to the vehicle state information, reading the first audio data corresponding to the severe warning and the first period from the memory.

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

[0178] S406, according to the vehicle state information, reading the second audio data corresponding to the mild warning and the second period from the memory.

[0179] For example, the mild warning is the fourth warning level described above.

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

[0181] Thus, by configuring different voice prompts and flashing cycles for different vehicle state information, the motor vibration can be controlled to emit voice prompts corresponding to the vehicle state information, and the warning light and fault light can be controlled to flash, so that the user can quickly learn the current situation according to the voice prompts and light flashes, and make timely response even in the case of high driving noise, thereby improving driving safety.

[0182] For example, as shown in FIG. 5, in the case where the current vehicle condition information includes vehicle environment information, the safety warning method provided by some embodiments of the present disclosure can include the following steps S501-S511.

[0183] S501, real-time monitoring of the environment around the vehicle by a sensor.

[0184] S502, determining whether there is an obstacle within a preset range outside the vehicle. If yes, perform S503; if no, perform S509.

[0185] S503, determining whether there is a collision risk between the vehicle and the obstacle. If yes, perform S504; if no, perform S509.

[0186] S504, determining whether the vehicle speed is lower than a preset speed. If yes, perform S505; if no, perform S507.

[0187] S505, obtaining low-speed reminder audio data and collision reminder audio data.

[0188] S506, controlling the motor to emit sound according to the low-speed reminder audio data and the collision reminder audio data.

[0189] S507, obtaining collision warning audio data.

[0190] S508, controlling the motor to emit sound according to the collision warning audio data.

[0191] S509, determining whether the vehicle speed is lower than a preset speed. If yes, perform S510; if no, perform S501.

[0192] S510, obtaining low-speed reminder audio data.

[0193] S511, controlling the motor to emit sound according to the low-speed reminder audio data.

[0194] Thus, by configuring different voice prompts for different vehicle environment information, the motor vibration can be controlled to emit voice prompts corresponding to the vehicle environment information, so that the user can quickly learn the current situation according to the voice prompts even in the case of high driving noise, and make timely response, thereby improving driving safety.

[0195] The above describes the solutions provided by some embodiments of the present disclosure from the perspective of methods. To implement the above functions, the safety warning device or the electronic device comprises at least one of a hardware structure or a software module for performing each function.

[0196] Those skilled in the art should easily understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present disclosure.

[0197] Some embodiments of the present disclosure can divide the functional modules of the safety warning device or the electronic device according to the above method. For example, the safety warning device or the electronic device can comprise functional modules corresponding to each function division, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or software functional module. It should be noted that the division of modules in some embodiments of the present disclosure is illustrative, and is only a logical functional division. Actual implementation can have another division manner.

[0198] FIG. 6 is a structural diagram of a safety warning device according to some embodiments of the present disclosure. The safety warning device 600 comprises an acquisition unit 601 and a control unit 602.

[0199] The acquisition unit 601 is configured to acquire current vehicle condition information; and the control unit 602 is configured to control at least one motor to output a safety warning prompt sound corresponding to the current vehicle condition information based on the current vehicle condition information.

[0200] In some embodiments, the current vehicle condition information comprises vehicle state information; and the control unit 602 is further configured to, in a case where the at least one motor comprises a plurality of motors, control a first motor to output a safety warning prompt sound corresponding to the vehicle state information.

[0201] For example, the first motor comprises at least one of: a driving motor close to a driving area in the plurality of motors; a driving motor in an idle state in the plurality of motors; and a generator in the plurality of motors.

[0202] In some embodiments, the current vehicle condition information comprises vehicle environment information; and the control unit 602 is further configured to, in a case where the at least one motor comprises a plurality of motors, control a second motor to output a safety warning prompt sound corresponding to the vehicle environment information.

[0203] For example, the second motor includes at least one of: a driving motor of the plurality of motors close to an obstacle corresponding to the vehicle environment information; a driving motor of the plurality of motors close to the driving area; a driving motor of the plurality of motors in an idle state; and a generator of the plurality of motors.

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

[0205] In some embodiments, the control unit 602 is further configured to: convert a frequency of the audio data into a current frequency, and convert an 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 take the quadrature axis current value and the direct axis current value as the motor sound generation current values.

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

[0207] In some embodiments, the control unit 602 is further configured to: determine a warning level corresponding to the current vehicle condition information, the warning level being used to represent a degree of influence of the current vehicle condition information on the safety of the driver and the passenger, and determine, according to the warning level, the audio data of the safety warning prompt sound.

[0208] In some embodiments, the current vehicle condition information includes vehicle state information, and the vehicle state information includes a plurality of state information; the control unit 602 is further configured to: determine, according to a warning level corresponding to each state information of the plurality of state information, a target state information, the target state information being a state information of the plurality of state information corresponding to the highest warning level, and determine audio data corresponding to the target state information.

[0209] In some embodiments, the current vehicle condition information includes vehicle environment information, and the warning level includes a first warning level, a second warning level, and a third warning level, the first warning level being lower than the second warning level, and the second warning level being lower than the third warning level.

[0210] The control unit 602 is further configured to: in a case where it is determined according to the vehicle environment information that there is no obstacle in a preset range of the vehicle that will collide with the vehicle, and the speed of the vehicle is less than a preset speed, determine that the warning level corresponding to the vehicle environment information is a first warning level; in a case where it is determined according to the vehicle environment information that there is an obstacle in the preset range of the vehicle that will collide with 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 a second warning level; and in a case where it is determined according to the vehicle environment information that there is an obstacle in the preset range of the vehicle that will collide with 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 a third warning level.

[0211] In some embodiments, the audio data described above includes low-speed reminder audio data, collision reminder audio data, and collision warning audio data; the control unit 602 is further configured to: in a case where the warning level corresponding to the vehicle environment information is the first warning level, determine that the low-speed reminder audio data corresponds to the vehicle environment information; in a case where the warning level corresponding to the vehicle environment information is the second warning level, determine that the low-speed reminder audio data and the collision reminder audio data correspond to the vehicle environment information; and in a case where the warning level corresponding to the vehicle environment information is the third warning level, determine that the collision warning audio data corresponds to the vehicle environment information.

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

[0213] In the safety warning device provided in some embodiments of the present disclosure, because there is a lot of environmental noise in the process of driving the vehicle, the prompt sound emitted by the buzzer and the loudspeaker may be covered up. Therefore, in some embodiments of the present disclosure, different voice prompts are configured for different vehicle condition information, and the voice prompt corresponding to the current vehicle condition information is emitted in the form of motor vibration, so that the user can quickly obtain the current situation according to the voice prompt even in the case of a lot of driving noise, and timely response is made, thereby improving the driving safety.

[0214] As to the device in the above-mentioned embodiments, the manner in which each module performs operations has been described in detail in the embodiments of the method, and will not be described in detail here.

[0215] As shown in FIG. 7, some embodiments of the present disclosure further provide an electronic device 700. The electronic device 700 includes but is not limited to a processor 701 and a memory 702.

[0216] For example, the memory 702 is configured to store instructions executable by the processor 701. It can be understood that the processor 701 described above is configured to execute the instructions to implement the safety warning method in some embodiments described above.

[0217] It should be noted that those skilled in the art can understand that the electronic device structure shown in FIG. 7 does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than those shown in FIG. 7, or combine certain components, or different component arrangements.

[0218] The processor 701 is the control center of the electronic device, which connects all parts of the electronic device through various interfaces and lines, executes at least one of the software programs or modules stored in the memory 702, and calls the data stored in the memory 702, to perform various functions of the electronic device and process data, thereby overall monitoring the electronic device.

[0219] The processor 701 can include one or more processing units. For example, the processor 701 can integrate an application processor and a modem processor, for example, the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 701.

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

[0221] As shown in FIG. 8, some embodiments of the present disclosure also provide a vehicle 1000. The vehicle 1000 includes a processor 701, a memory 702, and a computer program stored in the memory 702 and executable on the processor 701. The processor 701 executes the program to implement the safety warning method in the above-mentioned embodiments.

[0222] Some embodiments of the present disclosure also provide a computer readable storage medium including instructions, for example, the memory 702 including instructions, which can be executed by the processor 701 of the electronic device 700 to implement the safety warning method in the above-mentioned embodiments.

[0223] In actual implementation, the steps performed by the acquisition unit 601 and the control unit 602 in FIG. 6 can be implemented by the processor 701 in FIG. 7 invoking the computer program stored in the memory 702. The execution process can refer to the description of the method part in the above embodiment, which will not be repeated here.

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

[0225] Some embodiments of the present disclosure also provide a computer program product comprising one or more instructions executable by the processor 701 of the electronic device to complete the safety warning method in the above embodiments.

[0226] It should be noted that 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 to realize each process of the above method embodiments, and can achieve the same technical effects as the above method. To avoid repetition, it will not be repeated here.

[0227] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of each functional module is taken as an example for illustration. In actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete the above described full classification part or part of the function.

[0228] In the embodiments provided by the present disclosure, it should be understood that the disclosed device and method can be implemented by other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules or units is only a logical function division, and there can be another division way in actual implementation, for example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection between each other can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.

[0229] The units described as separate components may or may not be physically separate, and the components displayed as units may be a physical unit or multiple physical units, that is, may be located in one place, or also can be distributed to multiple different places. Part or all of the classified units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0230] In addition, in some embodiments of the present disclosure, each functional unit can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0231] If the integrated unit is realized 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 understanding, the technical scheme of some embodiments of the present disclosure or the part of the prior art that essentially contributes or the whole classification or part of the technical scheme can be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing an apparatus (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the method in some embodiments of the present disclosure. The foregoing storage medium includes: a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk, and various program code storage media.

[0232] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present disclosure, which should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims

1. A safety warning method, comprising: obtaining current vehicle condition information; and controlling at least one motor to emit a safety warning prompt sound corresponding to the current vehicle condition information based on the current vehicle condition information. The current vehicle condition information includes vehicle state information.

2. The method of claim 1, wherein, The controlling at least one motor to emit a safety warning prompt sound corresponding to the current vehicle condition information based on the current vehicle condition information comprises: in the case where the at least one motor comprises a plurality of motors, controlling a first motor of the plurality of motors to emit a safety warning prompt sound corresponding to the vehicle state information; wherein the first motor comprises at least one of: a driving motor of the plurality of motors close to a driving area; a driving motor of the plurality of motors in an idle state; and a generator of the plurality of motors. The current vehicle condition information includes vehicle environment information.

3. The method of claim 1, wherein, The controlling at least one motor to emit a safety warning prompt sound corresponding to the current vehicle condition information based on the current vehicle condition information comprises: in the case where the at least one motor comprises a plurality of motors, controlling a second motor of the plurality of motors to emit a safety warning prompt sound corresponding to the vehicle environment information; wherein the second motor comprises at least one of: a driving motor of the plurality of motors close to an obstacle corresponding to the vehicle environment information; a driving motor of the plurality of motors close to a driving area; a driving motor of the plurality of motors in an idle state; and a generator of the plurality of motors. The controlling at least one motor to emit a safety warning prompt sound corresponding to the current vehicle condition information based on the current vehicle condition information comprises:

4. The method of any one of claims 1 to 3, wherein, determining audio data of the safety warning prompt sound based on the current vehicle condition information; converting the audio data into a motor sound emission current value; wherein the motor sound emission current value is a current value for controlling the motor to emit sound; and generating a motor control signal based on the motor sound emission current value to control the motor to emit the safety warning prompt sound. The converting the audio data into a motor sound emission current value comprises:

5. The method of claim 4, wherein, converting a frequency of the audio data into a current frequency and converting an 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 taking the quadrature axis current value and the direct axis current value as the motor sound emission current value. The generating a motor control signal based on the motor sound emission current value comprises:

6. The method of claim 5, wherein, converting the quadrature axis current value and the direct axis current value into a driving voltage; and pulse width modulating the driving voltage to obtain the motor control signal. The determining audio data of the safety warning prompt sound based on the current vehicle condition information comprises:

7. The method of any one of claims 4 to 6, wherein, determining a warning level corresponding to the current vehicle condition information; wherein the warning level is used to represent an influence degree of the current vehicle condition information on the safety of passengers; and determining audio data of the safety warning prompt sound according to the warning level. The current vehicle condition information includes vehicle state information, and the vehicle state information includes a plurality of state information.

8. The method of claim 7, wherein, The determining audio data of the safety warning prompt sound according to the warning level comprises: ​ determine a target state information from the plurality of state information according to a corresponding early warning level of each state information, the target state information being the state information with the highest corresponding early warning level from the plurality of state information; and determine audio data corresponding to the target state information.

9. The method of claim 7, wherein, The current vehicle condition information includes vehicle environment information; the early warning level includes a first early warning level, a second early warning level, and a third early warning level; the first early warning level is lower than the second early warning level, and the second early warning level is lower than the third early warning level; The determination of the early warning level corresponding to the current vehicle condition information comprises: in a case where it is determined according to the vehicle environment information that there is no obstacle in a preset range of the vehicle that will collide with the vehicle, and the speed of the vehicle is less than a preset speed, determining that the early warning level corresponding to the vehicle environment information is the first early warning level; in a case where it is determined according to the vehicle environment information that there is an obstacle in the preset range of the vehicle that will collide with the vehicle, and the speed of the vehicle is less than the preset speed, determining that the early warning level corresponding to the vehicle environment information is the second early warning level; and in a case where it is determined according to the vehicle environment information that there is an obstacle in the preset range of the vehicle that will collide with the vehicle, and the speed of the vehicle is greater than or equal to the preset speed, determining that the early warning level corresponding to the vehicle environment information is the third early warning level.

10. The method of claim 9, wherein, The audio data includes low-speed reminding audio data, collision reminding audio data, and collision warning audio data; The determination of the audio data of the safety early warning prompt according to the early warning level comprises: in a case where the early warning level corresponding to the vehicle environment information is the first early warning level, determining that the low-speed reminding audio data corresponds to the vehicle environment information; in a case where the early warning level corresponding to the vehicle environment information is the second early warning level, determining that the low-speed reminding audio data and the collision reminding audio data correspond to the vehicle environment information; and in a case where the early warning level corresponding to the vehicle environment information is the third early warning level, determining that the collision warning audio data corresponds to the vehicle environment information.

11. The method of any one of claims 7 to 10, further comprising: controlling a warning light and a fault light matched with the current vehicle condition information to flash at a target period according to the early warning level corresponding to the current vehicle condition information, the target period being a period matched with the early warning level.

12. An electronic device, comprising: a processor; and a memory configured to store instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the method of any one of claims 1 to 11.

13. A vehicle comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor; the processor executes the computer program to implement the method of any one of claims 1 to 11.

14. A computer readable storage medium storing instructions, wherein, when a computer executes the instructions, the computer executes the method of any one of claims 1 to 11.

15. A computer program product comprising instructions, wherein, when the instructions are executed by a computer, the computer performs the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Motor for audible sound in motor vehicle

    CN111717110A

  • Motor pronunciation control method and device, storage medium and electronic equipment

    CN114666713A

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

    CN115158032A

  • Unmanned vehicle driving control method and device, electronic equipment and storage medium

    CN115946720A

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

    CN116691722A