Vehicle warning sound generation method and device, equipment and storage medium

By detecting the speed and torque of the electric vehicle motor and adjusting the current parameters, real-time warning sounds are generated, the problem of difficult warnings for electric vehicles when driving at low speeds is solved, the installation complexity and cost are reduced, and the efficiency of the warning system is improved.

CN119682643AActive Publication Date: 2025-03-25VOYAH AUTOMOBILE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411913821.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-03-25
Estimated Expiration
2044-12-24

AI Technical Summary

Technical Problem

It is difficult for electric vehicles to effectively warn pedestrians when driving at low speeds, and the installation complexity and cost of existing warning sound systems are high.

Method used

By detecting the motor's speed and torque, and combining with the computer's computer to adjust the current value and current angle, a vehicle warning sound is generated in real time.

Benefits of technology

Ensure that electric vehicles can effectively warn pedestrians when driving at low speeds, reduce the complexity and cost of installation, and improve the flexibility and efficiency of the warning system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119682643A_ABST
    Figure CN119682643A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle warning sound generation method, device and equipment and a storage medium, relates to the technical field of low-speed warning sound generation, and discloses a vehicle warning sound generation method which comprises the following steps: when a calibration instruction is detected, obtaining an initial rotating speed and an initial torque according to a simulation test bench, obtaining an initial current value and an initial current angle according to an upper computer of the computer; obtaining an adjusting current angle according to the initial rotating speed, the initial torque, the initial current value and the initial current angle; obtaining an adjusting current value according to the initial rotating speed, the initial torque and the adjusting current angle; obtaining an updated rotating speed and an updated torque, and obtaining a target current value and a target current angle according to the initial rotating speed, the updated torque, the updated rotating speed, the adjusted current value and the adjusted current angle; and generating a vehicle warning sound according to the target current value and the target current angle. The rotating speed, the torque, the current value and the current angle of the motor are calibrated through the simulation test bench, and the low-speed vehicle warning sound is generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of low-speed warning sound generation, and in particular to a vehicle warning sound generation method, device, equipment and storage medium. Background Art

[0002] With the rapid development of new energy electric vehicles, related safety issues have also emerged. Since new energy vehicles are mainly driven by motors at low speeds, they cannot achieve the noise characteristics of traditional internal combustion engine vehicles under low-speed conditions. Compared with traditional fuel vehicles, the reduction in noise reduces environmental noise, but this reduced noise also makes it difficult for other users on the road, including pedestrians, bicycles, etc., especially the blind and visually impaired, to detect the approach of the vehicle, thereby increasing the risk of traffic accidents. Therefore, in order to improve the detectability of electric vehicles at low speeds and effectively protect the personal safety of other road users including pedestrians, relevant units have formulated low-speed warning sound specifications for electric vehicles, requiring pure electric vehicles to be equipped with a warning sound function. The traditional warning sound function is often implemented using a low-speed pedestrian warning sound (Acoustic Vehicle Alerting System, AVAS) system.

[0003] However, the AVAS system is generally composed of a controller unit and a sound-generating mechanism (usually a speaker), and needs to be suitable for working environments of -40℃ to 85℃, with a waterproof level of no less than IP67. The cost of an AVAS system that meets the use standards is usually around tens to hundreds of yuan, and requires additional power supply, communication wiring harnesses and space layout, as well as a large amount of debugging, development and testing costs, with high use costs and installation complexity.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of this application is to provide a vehicle warning sound generation method, device, equipment and storage medium, aiming to solve the technical problem of ensuring that electric vehicles can effectively warn pedestrians when driving at low speeds and reducing the complexity and cost of implementation.

[0006] To achieve the above objectives, the present application proposes a method for generating a vehicle warning sound, the method comprising:

[0007] When the calibration instruction is detected, an initial rotation speed and an initial torque are obtained according to the simulation test bench, and an initial current value and an initial current angle are obtained according to the computer host computer;

[0008] Obtaining an adjusted current angle according to the initial rotational speed, the initial torque, the initial current value, and the initial current angle;

[0009] Obtaining an adjusted current value according to the initial rotation speed, the initial torque and the adjusted current angle;

[0010] Acquire an updated speed and an updated torque, and obtain a target current value and a target current angle according to the initial speed, the updated torque, the updated speed, the adjusted current value, and the adjusted current angle;

[0011] A vehicle warning sound is generated according to the target current value and the target current angle.

[0012] In one embodiment, the step of adjusting the current angle according to the initial speed, the initial torque, the initial current value and the initial current angle comprises:

[0013] Obtaining a first decibel value according to the initial rotation speed, the initial torque, the initial current value, and the initial current angle;

[0014] Obtaining an increased current angle according to the initial current angle and the preset current angle;

[0015] Obtaining a second decibel value according to the initial rotation speed, the initial torque, the initial current value, and the increased current angle;

[0016] Obtaining a target decibel value according to the first decibel value and the second decibel value;

[0017] A corresponding current angle is obtained according to the target decibel value, and the corresponding current angle is used as the adjustment current angle.

[0018] In one embodiment, the step of obtaining an updated rotation speed and an updated torque includes:

[0019] Obtaining a preset torque value and a preset speed set;

[0020] Obtaining an updated torque according to the preset torque value and the initial torque;

[0021] Obtaining a preset speed according to the preset speed set;

[0022] An updated rotation speed is obtained according to the preset rotation speed.

[0023] In one embodiment, the step of obtaining a target current value and a target current angle according to the initial speed, the updated torque, the updated speed, the adjusted current value, and the adjusted current angle comprises:

[0024] Obtaining an updated torque current value and an updated torque current angle according to the initial rotation speed, the updated torque, the adjusted current value, and the adjusted current angle;

[0025] A target current value and a target current angle are obtained according to the updated rotation speed, the updated torque, the adjusted current value, and the adjusted current angle.

[0026] In one embodiment, the simulation test bench further comprises a noise vibration roughness acquisition device and a noise vibration roughness host computer, and the noise vibration roughness acquisition device and the noise vibration roughness host computer are connected via a low-voltage line;

[0027] After the step of generating a vehicle warning sound according to the target current value and the target current angle, the method further includes:

[0028] Obtaining the frequency and amplitude of the sound wave according to the target current value, the target current angle and the computer host computer;

[0029] Obtaining sound data according to the sound wave frequency, the amplitude and the noise vibration roughness acquisition device;

[0030] Obtaining a noise analysis result according to the sound data and the noise vibration roughness host computer;

[0031] The warning sound verification is performed according to the noise analysis result.

[0032] In one embodiment, the step of obtaining the adjusted current value according to the initial rotation speed, the initial torque and the adjusted current angle comprises:

[0033] Obtaining a third decibel value according to the initial rotation speed, the initial torque, and the adjustment current angle;

[0034] A corresponding current value is obtained according to the third decibel value, and the corresponding current value is used as the adjustment current value.

[0035] In one embodiment, the simulation test bench further comprises a dynamometer and a dynamometer host computer, and the dynamometer and the dynamometer host computer are connected via a low-voltage line;

[0036] When the calibration instruction is detected, the step of obtaining the initial speed and the initial torque according to the simulation test bench includes:

[0037] Control the dynamometer to set the motor speed according to the calibration instruction to obtain an initial speed;

[0038] The dynamometer host computer is controlled to set the motor torque according to the calibration instruction to obtain the initial torque.

[0039] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle warning sound generating device, the vehicle warning sound generating device comprising: a detection module, which is used to obtain an initial speed and an initial torque according to a simulation test bench when a calibration instruction is detected, and to obtain an initial current value and an initial current angle according to a computer host computer;

[0040] An adjustment module, configured to obtain an adjustment current angle according to the initial rotation speed, the initial torque, the initial current value, and the initial current angle;

[0041] The adjustment module is further used to obtain an adjustment current value according to the initial rotation speed, the initial torque and the adjustment current angle;

[0042] An updating module, configured to obtain an updated rotational speed and an updated torque, and obtain a target current value and a target current angle according to the initial rotational speed, the updated torque, the updated rotational speed, the adjusted current value, and the adjusted current angle;

[0043] A generating module is used to generate a vehicle warning sound according to the target current value and the target current angle.

[0044] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle warning sound generating device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle warning sound generating method as described above.

[0045] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle warning sound generation method described above are implemented.

[0046] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the vehicle warning sound generation method as described above are implemented.

[0047] One or more technical solutions proposed in this application have at least the following technical effects:

[0048] By obtaining the motor speed and torque in the initial stage, and combining with the computer host to set and adjust the current value and current angle, the warning sound can be adjusted in real time under different driving conditions. Then, the generation of the warning sound is further refined by capturing and analyzing the updated speed and torque information. This not only ensures that electric vehicles can effectively warn pedestrians when driving at low speeds, but also reduces the complexity and cost of implementation through integrated and automated current control processes. Compared with the existing technology, this solution improves the flexibility and efficiency of the warning system by dynamically adjusting the current parameters to adapt to changes in driving conditions, effectively enhancing the functionality and economy of the electric vehicle warning system. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0050] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0051] Figure 1 A schematic diagram of a process flow provided for the first embodiment of the method for generating a vehicle warning sound of the present application;

[0052] Figure 2 A schematic diagram of the structure of a simulation test bench provided in Example 1 of the vehicle warning sound generation method of the present application;

[0053] Figure 3 A schematic diagram of a control system of a permanent magnet synchronous motor provided in Example 1 of the method for generating a vehicle warning sound of the present application;

[0054] Figure 4 A flow chart of the second embodiment of the method for generating a vehicle warning sound according to the present application;

[0055] Figure 5 A schematic diagram of a brief process of a method for generating a vehicle warning sound provided in Embodiment 2 of the present application;

[0056] Figure 6 This is a schematic diagram of the module structure of a vehicle warning sound generating device according to an embodiment of the present application;

[0057] Figure 7 Schematic diagram of the device structure of the hardware operating environment involved in the vehicle warning sound generation method in the embodiment of the present application.

[0058] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0059] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0060] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0061] The main solution of the embodiment of the present application is: when a calibration instruction is detected, an initial rotation speed and an initial torque are obtained according to the simulation test bench, and an initial current value and an initial current angle are obtained according to the computer host computer;

[0062] Obtaining an adjusted current angle according to the initial rotational speed, the initial torque, the initial current value, and the initial current angle;

[0063] Obtaining an adjusted current value according to the initial rotation speed, the initial torque and the adjusted current angle;

[0064] Acquire an updated speed and an updated torque, and obtain a target current value and a target current angle according to the initial speed, the updated torque, the updated speed, the adjusted current value, and the adjusted current angle;

[0065] A vehicle warning sound is generated according to the target current value and the target current angle.

[0066] In this embodiment, for the convenience of description, the following description is made by taking the identification of the vehicle warning sound generating device as the execution subject.

[0067] Since the existing technology ensures that electric vehicles can effectively warn pedestrians when driving at low speeds and reduces the complexity and cost of implementation, the present application provides a solution that obtains the speed and torque of the motor in the initial stage, and combines with a computer host to set and adjust the current value and current angle, so that the warning sound can be adjusted in real time under different driving conditions. Then, the generation of the warning sound is further refined by capturing and analyzing the updated speed and torque information. This not only ensures that electric vehicles can effectively warn pedestrians when driving at low speeds, but also reduces the complexity and cost of implementation through integrated and automated current control processes. Compared with the existing technology, this solution improves the flexibility and efficiency of the warning system by dynamically adjusting the current parameters to adapt to changes in driving conditions, effectively enhancing the functionality and economy of the electric vehicle warning system.

[0068] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a vehicle warning sound generating device, etc. The following takes the vehicle warning sound generating device as an example to illustrate this embodiment and the following embodiments.

[0069] Based on this, the embodiment of the present application provides a method for generating a vehicle warning sound, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for generating a vehicle warning sound of the present application.

[0070] In this embodiment, the vehicle warning sound generation method includes steps S10 to S50:

[0071] Step S10, when a calibration instruction is detected, an initial rotation speed and an initial torque are obtained according to the simulation test bench, and an initial current value and an initial current angle are obtained according to the computer host computer;

[0072] It should be noted that the calibration instructions are a set of instructions issued from the control system to start a specific test program to calibrate and confirm whether the performance parameters of the equipment meet the preset standards. In this embodiment, the calibration instructions trigger the operation of the simulation test bench to start collecting motor operation data.

[0073] In addition, it should be noted that the simulation test bench is a device specially designed to test and simulate motor performance. It can provide a simulation environment under actual operating conditions to accurately measure the motor's key operating parameters such as speed and torque. Figure 2 A schematic diagram of the structure of a simulation test bench provided in Example 1 of the vehicle warning sound generation method of the present application.

[0074] like Figure 2As shown, the simulation test bench includes the layout and connection relationship of power supply, control equipment, detection equipment and cooling system. Starting from the left, the high-voltage DC power supply supplies power to the controller through the yellow line, that is, the high-voltage line, and the 12V power supply supplies power to the PC host computer and NVH data acquisition equipment through the black line, that is, the low-voltage line, to ensure data processing and the issuance of control instructions. The controller is the core of the system, responsible for receiving the control instructions from the PC host computer and controlling the operation of the motor according to these instructions. The high-voltage power output to the motor is transmitted through the high-voltage line, while the control signal is transmitted through the low-voltage line. The motor is connected to the test bench, which is responsible for carrying the motor and connecting the dynamometer. The torque and speed of the motor can be accurately measured through the dynamometer. The measured data is collected by the NVH data acquisition equipment. The NVH data acquisition equipment is also responsible for collecting the vibration and noise data generated by the motor to help evaluate the performance of the motor. The power and data connections of all equipment ensure the accuracy of the test and the effective coordination of the equipment. A microphone is arranged 1m above, left, right, front and back of the motor, and 0.1m near the motor and reducer. The blue lines represent water pipes, which are connected to the motor and controller and are used for cooling the system to ensure the temperature control of the motor and controller during operation and prevent overheating from affecting the test results and equipment safety.

[0075] It should be noted that the initial speed refers to the predetermined speed of the motor at startup, usually expressed in revolutions per minute (rpm). The reason why the initial speed affects the noise level is that the speed of the motor is directly related to the rotation speed of its internal magnetic field, which in turn affects the frequency and vibration mode of the electromagnetic force inside the motor. When the motor speed changes, the torque generated by the rotation of the magnetic field will also change, resulting in different vibration and noise output. The initial torque refers to the torque generated by the motor at startup. The reason why the initial torque affects the noise level is that the torque generated by the motor causes the interaction force between the rotor and the stator to change, and this force change will be converted into vibration, which in turn generates noise. The initial current value is the magnitude of the current flowing through the motor winding when the motor starts. The impact of the initial current value on the noise level is that when the current passes through the motor winding, a magnetic field is generated, and this magnetic field interacts with the permanent magnets of the motor to generate torque and vibration. The initial current angle refers to the phase angle of the current when the motor starts. The impact of the initial current angle on the noise level is that the difference in the current phase causes the interaction mode of the magnetic field to change, which in turn affects the torque and vibration mode inside the motor.

[0076] In a feasible implementation, step S10 may include steps S11 to S12:

[0077] Step S11, controlling the dynamometer to set the motor speed according to the calibration instruction to obtain an initial speed;

[0078] It is understood that the dynamometer is controlled according to the calibration command to set the motor speed. In this process, the dynamometer adjusts the motor to a predetermined initial speed according to the input command, and this speed is selected based on the expected sound decibel level. The motor is kept running at this speed in order to accurately simulate the sound output characteristics of the motor in subsequent tests.

[0079] Step S12, controlling the dynamometer host computer to set the motor torque according to the calibration instruction to obtain an initial torque.

[0080] It is understood that the desired torque value is set in the dynamometer host computer, and the dynamometer then ensures that the motor operates at this torque value. The proper torque setting ensures that the motor can generate enough vibration in the actual application to achieve the required sound decibel level.

[0081] Step S20, obtaining an adjusted current angle according to the initial rotational speed, the initial torque, the initial current value, and the initial current angle;

[0082] It should be noted that adjusting the current angle refers to changing the current phase angle to achieve a better motor control effect. In a motor control system, the current angle has a direct impact on the torque output and efficiency of the motor.

[0083] It is understandable that the initial operation data of the motor is collected from the simulation test bench and the computer host computer, including the initial speed, initial torque, initial current value and initial current angle. First, the current angles under fixed speed, torque and current amplitude are traversed to find the optimal current angle under the current amplitude. The optimal current angle is the adjusted current angle, which means the current angle with the largest decibel under this condition.

[0084] In a feasible implementation, step S20 may include steps S21 to S25:

[0085] Step S21, obtaining a first decibel value according to the initial speed, the initial torque, the initial current value and the initial current angle;

[0086] It should be noted that the first decibel value is the loudness of the sound produced by the motor measured under the conditions of initial speed, initial torque, initial current value and initial current angle, in decibels (dB). This value reflects the sound output level of the motor before any additional current angle adjustment is made. The first decibel value is measured to compare with the sound output after subsequent adjustments.

[0087] It is understood that the first decibel value is obtained by calculating the decibel of sound produced by the motor in combination with the initial speed, initial torque, initial current value and initial current angle. This process involves evaluating the performance of the motor by accurately measuring its sound output under these initial conditions.

[0088] Step S22, obtaining an increased current angle according to the initial current angle and the preset current angle;

[0089] It should be noted that the preset current angle is the current phase angle set according to the predetermined target before the test, which indicates the step size of the initial current angle increase. The increased current angle is the current angle value obtained by adding the preset current angle to the initial current angle.

[0090] It is understandable that the increased current angle is calculated based on the preset current angle and the initial current angle, and the phase angle of the current can be adjusted to explore the effects of different current angles on the sound output in subsequent tests.

[0091] Step S23, obtaining a second decibel value according to the initial speed, the initial torque, the initial current value and the increased current angle;

[0092] It should be noted that the second decibel value is the loudness of the sound produced by the motor after the current angle is adjusted, that is, after the increase in the current angle is applied, and is used to evaluate the effect of adjusting the current angle on the sound output. By comparing the first decibel value and the second decibel value, it can be determined which current angle setting is more effective in increasing or adjusting the loudness of the sound.

[0093] It can be understood that by using the increased current angle obtained from step S22, the sound output of the motor under the adjusted condition is evaluated again to obtain a second decibel value.

[0094] Step S24, obtaining a target decibel value according to the first decibel value and the second decibel value;

[0095] It should be noted that the target decibel value is the larger of the first decibel value and the second decibel value. The most ideal sound loudness level determined in the test is used to ensure that the warning sound effect of the motor is maximized. After adjusting the current angle, you can choose a setting that can produce a louder sound to improve the effectiveness of the warning sound.

[0096] Step S25, obtaining a corresponding current angle according to the target decibel value, and using the corresponding current angle as an adjustment current angle.

[0097] It should be noted that the corresponding current angle is a current angle value that generates a target decibel value and is used to adjust the current phase of the motor to achieve a predetermined sound output level.

[0098] It can be understood that by selecting a corresponding current angle according to the target decibel value and setting this angle as the adjusted current angle, it can be ensured that the motor uses this current angle in subsequent operation to produce a sound decibel number that meets the requirements.

[0099] Step S30, obtaining an adjusted current value according to the initial rotation speed, the initial torque and the adjusted current angle;

[0100] It should be noted that the adjusted current value is a new current amount calculated based on the initial motor state and the adjusted current angle, and represents the current input amount required to achieve the maximum decibel at the adjusted current angle.

[0101] It is understood that the appropriate adjusted current value is calculated based on the initial operating conditions of the motor, i.e., the initial speed and initial torque, and the preset current angle. This adjusted current value requires special consideration of how to achieve the goal of reducing or controlling noise output without sacrificing motor efficiency. The calculation process is usually performed by a computer host, which determines the optimal current setting based on the motor characteristics and the preset noise output target, such as decibel level, combined with the initial parameters and current angle adjustment.

[0102] In a feasible implementation, step S30 may include steps S31 to S32:

[0103] Step S31, obtaining a third decibel value according to the initial speed, the initial torque and the adjustment current angle;

[0104] It should be noted that the third decibel value is the loudness of the sound produced by the motor after applying a fixed adjustment current angle. After the optimal current angle, i.e. the adjusted current angle, is obtained, the decibel values ​​of all current amplitudes at this angle are measured.

[0105] It is understood that the adjusted current angle is applied while the motor is running and the loudness of the sound produced by the motor under these conditions is measured. By precisely controlling the current angle, the effect of different current value settings on the decibels of the motor sound can be observed, thereby evaluating which current value is more suitable for achieving the desired sound effect.

[0106] Step S32, obtaining a corresponding current value according to the third decibel value, and using the corresponding current value as an adjustment current value.

[0107] It should be noted that the corresponding current value is based on the current size corresponding to the third decibel value, and is used to adjust the current input of the motor to achieve the required sound loudness.

[0108] It can be understood that the corresponding current value required for the motor to operate is determined according to the measured third decibel value. In this step, the required current size is obtained according to the sound loudness requirement and is set as the operating current of the motor, which ensures that the motor can maintain efficiency and performance while achieving the maximum sound effect.

[0109] Step S40, obtaining an updated speed and an updated torque, and obtaining a target current value and a target current angle according to the initial speed, the updated torque, the updated speed, the adjusted current value, and the adjusted current angle;

[0110] It should be noted that the update speed refers to the new speed value set during the motor test, adjusted as needed or in response to specific test requirements. This speed may be adjusted according to the experimental design or performance optimization requirements to ensure that the motor can meet the required decibel standards under different operating conditions. The update torque is the torque value adjusted during the test. The torque adjustment is usually to simulate the performance of the motor under different loads or different operating conditions.

[0111] In addition, it should be noted that the target current value is the ideal current value calculated during testing or operation to maximize noise output. This current value directly affects the vibration frequency and vibration intensity of the motor, thereby maximizing the sound output. The target current angle is the phase angle of the current input set to maximize noise. By adjusting the current angle, the magnetic field distribution and electromagnetic action mode inside the motor can be changed, thereby enhancing the vibration mode and vibration intensity generated by the motor and increasing the noise level.

[0112] It is understood that after obtaining the updated speed and torque parameters, the final required target current value and target current angle are determined in combination with the initial speed and the previously adjusted current parameters. The key to this step is to ensure that the motor can generate as much noise as possible under the new operating conditions.

[0113] In a feasible implementation, step S40 may include steps A41 to A44:

[0114] Step A41, obtaining a preset torque value and a preset speed set;

[0115] It should be noted that the preset torque value is a torque value increase step that is set in advance according to a specific purpose or parameter requirement before the test. In this embodiment, the torque increases in steps of 20 Nm.

[0116] In addition, it should be noted that the preset speed set is a set of motor operating speeds determined before the test, which is intended to explore and determine the performance of the motor at different speeds. These speeds are selected to simulate various operating conditions that the motor may encounter in actual use. In this embodiment, the preset speed set includes 10km / h, 20km / h, and -6km / h, which are used to simulate the low-speed driving condition of the vehicle.

[0117] Step A42, obtaining an updated torque according to the preset torque value and the initial torque;

[0118] It should be noted that the updated torque is a new torque value obtained by adding the preset torque value to the initial torque. This is to ensure that the motor can meet higher or specific performance requirements during the test, especially when it is necessary to test the behavior of the motor under higher loads.

[0119] It is understood that the process of calculating the updated torque is to add the preset torque value to the initial torque. This method is often used to adjust the motor to adapt to higher load requirements or simulate specific operating conditions. The operator or automated system will calculate the final torque setting based on the initial torque and the preset additional torque value to ensure that the motor can operate at this new torque value during actual testing or operation.

[0120] Step A43, obtaining a preset speed according to the preset speed set;

[0121] It should be noted that the preset speed is a specific speed selected from a preset speed set and is used to set the running speed of the motor in a specific test phase.

[0122] It is understood that a suitable speed is selected from the preset speed set as the preset speed. This selection is based on the understanding of the performance of the motor at different speeds, ensuring that the performance of the motor at these speeds can be evaluated in subsequent tests.

[0123] Step A44, obtaining an updated rotation speed according to the preset rotation speed.

[0124] It is understood that the running speed of the motor is set according to the selected preset speed to obtain an updated speed. This new speed will be used in the next test phase to observe the performance and output characteristics of the motor at this speed.

[0125] In a feasible implementation manner, step S40 may further include steps B41 to B42:

[0126] Step B41, obtaining an updated torque current value and an updated torque current angle according to the initial speed, the updated torque, the adjusted current value and the adjusted current angle;

[0127] It should be noted that the updated torque current value is a new current value calculated by updating the torque and initial speed, updating the torque, adjusting the current value, and adjusting the current angle, and is used to more accurately control the operation and output characteristics of the motor.

[0128] It is understood that the updated torque current value and the updated torque current angle are calculated based on the initial speed, the updated torque, the adjusted current value and the adjusted current angle. This step is to ensure that the motor can achieve the expected operating characteristics, including but not limited to torque output and sound level, under the adjusted torque and current settings. These adjustments optimize the electromagnetic and mechanical behavior of the motor by finely controlling the current input and phase angle.

[0129] Step B42, obtaining a target current value and a target current angle according to the updated rotational speed, the updated torque, the adjusted current value and the adjusted current angle.

[0130] It should be noted that the updated torque current angle is based on the updated torque and the new current angle obtained after the current adjustment. This angle adjustment helps to optimize the performance and output of the motor.

[0131] It is understood that the target current value and the target current angle are further calculated based on the updated speed, updated torque, adjusted current value and adjusted current angle. These parameters are optimized based on the expected performance and output of the motor under the latest set conditions, with the purpose of ensuring that the motor can operate in the most optimized state under the new test or operating conditions and achieve the required performance standards.

[0132] In addition, it can be understood that steps B41 to B42 indicate that under fixed speed conditions, the torque increases in steps of 20Nm, that is, the preset torque value, and at the same time, the optimization steps of harmonic injection current angle and current amplitude are repeated for each torque point to determine the optimal harmonic injection parameters for each torque point at the speed. Subsequently, the speed traversal is performed: under the preset speed set of 10km / h, 20km / h, and -6km / h, the harmonic injection current angle optimization, current amplitude optimization, and torque traversal steps are repeated to obtain the optimal harmonic injection parameters for all torque points at each speed. This ensures that the performance of the motor can be accurately adjusted under different operating conditions to achieve the best efficiency and output effect.

[0133] Step S50: generating a vehicle warning sound according to the target current value and the target current angle.

[0134] It should be noted that vehicle warning sounds refer to the sounds made by vehicles to alert pedestrians and other vehicles of their presence. Such warning sounds usually need to reach a certain sound pressure level, i.e. decibels, to ensure that they can be heard clearly in all environments. Warning sounds are designed to enhance road safety, especially for electric and hybrid vehicles.

[0135] It is understandable that the calculated target current value and target current angle are input into the controller of the motor. These parameters guide the controller to adjust the magnitude and phase of the current flowing to the motor, thereby changing the electromagnetic behavior of the motor during operation. During the operation of the permanent magnet synchronous motor, due to the nonlinear characteristics of the inverter and the process characteristics of the motor body, its phase voltage and phase current will contain a large number of harmonic components. These harmonic voltages will cause the rotor hysteresis and eddy current losses of the permanent magnet synchronous motor to increase, and the harmonic current will increase the copper loss of the motor stator winding, causing output torque pulsation, vibration, noise, etc. Therefore, the periodic or non-periodic vibrations caused by the electromagnetic effects and mechanical structure characteristics inside the motor, these vibrations propagate through the motor structure and radiate sound waves, and interact with the fundamental magnetic field generated by the permanent magnet by injecting a harmonic current of a specific order to generate a radial electromagnetic force of a specific spatial order and frequency. By adjusting the current phase and amplitude, the target radial electromagnetic force is increased, thereby increasing the vibration and noise caused by the harmonics, forming a warning sound. This warning sound is designed to ensure that pedestrians and other vehicles can clearly hear the approaching vehicle in different environmental conditions, such as low-speed driving in the city or in parking lots, thereby improving road safety.

[0136] In addition, it can be understood that this embodiment is applied to a permanent magnet synchronous motor with reference to 3, Figure 3 A schematic diagram of a control system of a permanent magnet synchronous motor provided in Example 1 of the vehicle warning sound generation method of the present application.

[0137] like Figure 3 As shown in the figure, the control system for permanent magnet synchronous motor aims to control the motor to produce sound by harmonic injection, thereby replacing the traditional low-speed pedestrian warning sound system. The system includes several core components. First, the three-phase currents ia, ib, ic are converted into dq axis currents id and iq by the ABC / dq conversion module. In this process, the harmonic current Delta id is added to the id control by modulating the id and iq currents, and Delta iq is injected into the iq axis. These injections help to produce specific sound effects. Next, the required dq axis voltages Ud and Uq are calculated by the control algorithm. These voltages are modulated by space vector pulse width modulation technology and converted into voltage signals that can be accepted by the motor. The inverter part of the system converts the direct current Udc into three-phase alternating current for use by the motor. In the motor model, the operating state of the motor after receiving the processed voltage and current signals is shown. In addition, the system also includes a harmonic injection control part, which accurately controls the injection of harmonics through the angle theta and the current amplitude is to adjust the characteristics and intensity of the sound generated. The entire control system is designed to generate sound through the electromagnetic effect and mechanical characteristics of the motor, replacing the traditional low-speed pedestrian warning sound, thereby improving the safety of electric vehicles when driving at low speeds.

[0138] This embodiment provides a method for generating a vehicle warning sound. By applying advanced harmonic injection technology and motor control system, the technical problem that traditional electric vehicles are difficult to effectively emit pedestrian warning sounds when driving at low speeds is solved, and the beneficial effect of improving the recognition and safety of warning sounds of electric vehicles in urban and low-speed driving environments is achieved. This technology uses specific harmonic currents and current angle adjustments to accurately control the vibration and sound output of the motor, ensuring that even at low speeds, electric vehicles can emit sufficiently loud warning sounds, thereby significantly improving the safety of pedestrians and other vehicles.

[0139] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 4 After step S50, the vehicle warning sound generation method includes steps S60 to S90:

[0140] Step S60, obtaining the frequency and amplitude of the sound wave according to the target current value, the target current angle and the computer;

[0141] It should be noted that the frequency of a sound wave refers to the number of times a sound wave vibrates per second, measured in Hertz (Hz). Frequency is the main factor that determines the pitch of a sound, and sound waves of different frequencies are perceived as different pitches. Amplitude refers to the strength or magnitude of the sound wave vibration, which affects the loudness of the sound. In the testing and operation of electric motors, the amplitude is directly related to the energy of the sound and its propagation effect in the environment.

[0142] It can be understood that the computer calculates the frequency and amplitude of the sound wave to be generated according to the set target current value and target current angle. This calculation is based on the electromagnetic characteristics of the motor and the predetermined sound output requirements to ensure that the physical characteristics of the sound can meet the test or actual application requirements.

[0143] Step S70, obtaining sound data according to the sound wave frequency, the amplitude and the noise vibration roughness acquisition device;

[0144] It should be noted that the noise, vibration and roughness acquisition equipment is used to capture the sound and vibration data generated by the motor in operation in real time. The collected data includes sound wave frequency, amplitude, etc., which are essential for analyzing the sound performance of the motor and adjusting the sound output. The noise, vibration and roughness host computer refers to an advanced computer system used to analyze the data received from the acquisition equipment. It processes the sound and vibration data and provides detailed analysis results, such as noise analysis results, which are used for further evaluation and verification.

[0145] It can be understood that the use of noise vibration harshness acquisition equipment to collect sound data based on the calculated sound wave frequency and amplitude. This data provides the necessary basis for detailed analysis of the sound and can evaluate the sound output characteristics of the motor under the current settings.

[0146] Step S80, obtaining a noise analysis result according to the sound data and the noise vibration roughness host computer;

[0147] It should be noted that the noise analysis results are the outputs obtained after the collected sound data is processed by the noise vibration roughness host computer. These results include detailed characteristic analysis of the sound, such as frequency range, amplitude, etc., which are key to evaluating the sound quality and compliance of the motor.

[0148] It is understood that the noise vibration harshness host computer analyzes the collected sound data and generates a noise analysis result. The noise analysis result can determine whether the sound output of the motor meets the expected standards and whether further adjustments are needed to optimize performance.

[0149] Step S90: verifying the warning sound according to the noise analysis result.

[0150] It should be noted that the warning sound verification is a test process to confirm whether the sound produced by the motor meets the predetermined safety and performance standards. This verification ensures that the warning sound of the motor can effectively alert people or other vehicles in actual use to prevent potential safety risks.

[0151] It is understandable that the warning sound verification is performed based on the noise analysis results. This process ensures that the sound output of the motor not only meets the technical and safety standards, but also can effectively play its warning role in actual operation and enhance safety. Exemplarily, when the warning sound is verified, the operating parameters of the motor are set in a special test environment, including adjusting the current value and current angle to generate specific sound wave frequencies and amplitudes. Then the noise vibration roughness acquisition device is used to capture the sound generated by the motor and record detailed sound data such as decibel level and frequency range. It is then transmitted to the noise vibration roughness host computer for in-depth analysis to generate noise analysis results, evaluate the clarity, loudness and whether there are unexpected frequency components of the sound. Finally, based on these analysis results, the test team will play the warning sound in a simulated urban traffic environment, observe and record the reactions of pedestrians and nearby drivers, and confirm whether the warning sound can effectively warn people and improve pedestrian safety in actual applications. If the test results show that the warning sound meets the safety standards and is effective in the actual environment, the warning sound is considered to be successfully verified. If it does not meet the expected effect, the team needs to adjust the sound parameters based on the feedback and verify again to ensure that each parameter can achieve the optimal warning effect and meet the safety standards.

[0152] In addition, it is understandable that after the initial verification, the whole vehicle test is required. The calibration results obtained on the harmonic injection test bench are flashed into the control system of the whole vehicle. This is done to verify the impact of these parameter settings on the electric drive sound system under actual vehicle operating conditions. The main purpose of the test is to confirm whether the warning sound generated by the electric vehicle during driving can meet the specific requirements for pedestrian warning sounds, such as whether the loudness, frequency and recognition of the sound are sufficient to warn pedestrians and other drivers in various environments to ensure their safety; if the test results are as expected, these harmonic injection parameters will be solidified into the vehicle production line settings and become standard configurations to ensure that every electric vehicle leaving the factory can achieve the same warning sound effect, thereby improving driving safety.

[0153] This embodiment provides a method for generating a vehicle warning sound. By adopting precise current control and sound wave analysis technology, it solves the technical problem that the warning sound of electric vehicles is difficult to achieve consistency and effectiveness under different operating conditions, and achieves the beneficial effect of ensuring that the warning sound of electric vehicles has good recognition and sufficient loudness in various environments. This method controls the current angle and current value of the motor to accurately adjust the frequency and amplitude of the generated sound waves, combined with noise vibration roughness collection and analysis technology, which not only optimizes the quality and effect of the sound, but also ensures the safety standards of the warning sound through a strict verification process, thereby improving the safety of pedestrians and drivers.

[0154] For example, in order to help understand the implementation process of the vehicle warning sound generation method obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Figure 5 , Figure 5 A brief flow chart of a method for generating a vehicle warning sound is provided, specifically:

[0155] After starting, the MCU performs initialization settings, sets the motor speed to -480, 800 or 1600rpm, and sets the initial torque to 0Nm. The torque is then adjusted to +20Nm to meet the needs of harmonic injection. The system sets the amplitude of the harmonic current Is to +2A, and then adjusts the current angle by 30 degrees each time to check the harmonic effect. If the 360-degree traversal is not completed, the current angle continues to be adjusted until the current amplitude reaches 30A. Once this condition is met, it is confirmed as the optimal state and the harmonic injection setting is completed. The entire process aims to achieve harmonic injection by precisely controlling the motor's torque, current amplitude and current angle, so that the motor can generate enough sound to improve pedestrian safety when running at low speed, optimize the motor's acoustic performance while reducing the cost and complexity of traditional pedestrian warning systems.

[0156] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the vehicle warning sound generation method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0157] This application also provides a vehicle warning sound generating device, please refer to Figure 6 , the vehicle warning sound generating device comprises:

[0158] The detection module 10 is used to obtain the initial speed and initial torque according to the simulation test bench when the calibration instruction is detected, and obtain the initial current value and initial current angle according to the computer host computer;

[0159] An adjustment module 20, configured to obtain an adjustment current angle according to the initial rotation speed, the initial torque, the initial current value and the initial current angle;

[0160] The adjustment module 20 is further used to obtain an adjustment current value according to the initial rotation speed, the initial torque and the adjustment current angle;

[0161] An updating module 30, configured to obtain an updated speed and an updated torque, and obtain a target current value and a target current angle according to the initial speed, the updated torque, the updated speed, the adjusted current value, and the adjusted current angle;

[0162] The generating module 40 is configured to generate a vehicle warning sound according to the target current value and the target current angle.

[0163] The vehicle warning sound generating device provided by the present application adopts the vehicle warning sound generating method in the above embodiment, which can solve the technical problems of ensuring that the electric vehicle can effectively warn pedestrians when driving at low speed and reducing the complexity and cost of implementation. Compared with the prior art, the beneficial effects of the vehicle warning sound generating device provided by the present application are the same as the beneficial effects of the vehicle warning sound generating method provided by the above embodiment, and the other technical features in the vehicle warning sound generating device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0164] In one embodiment, the adjustment module 20 is also used to obtain a first decibel value based on the initial speed, the initial torque, the initial current value and the initial current angle; obtain an increased current angle based on the initial current angle and a preset current angle; obtain a second decibel value based on the initial speed, the initial torque, the initial current value and the increased current angle; obtain a target decibel value based on the first decibel value and the second decibel value; obtain a corresponding current angle based on the target decibel value, and use the corresponding current angle as the adjusted current angle.

[0165] In one embodiment, the update module 30 is further used to obtain a preset torque value and a preset speed set; obtain an updated torque according to the preset torque value and the initial torque; obtain a preset speed according to the preset speed set; and obtain an updated speed according to the preset speed.

[0166] In one embodiment, the update module 30 is also used to obtain an updated torque current value and an updated torque current angle according to the initial speed, the updated torque, the adjusted current value and the adjusted current angle; and to obtain a target current value and a target current angle according to the updated speed, the updated torque, the adjusted current value and the adjusted current angle.

[0167] In one embodiment, the generation module 40 is also used to obtain the sound wave frequency and amplitude according to the target current value, the target current angle and the computer host computer; obtain sound data according to the sound wave frequency, the amplitude and the noise vibration roughness acquisition device; obtain noise analysis results according to the sound data and the noise vibration roughness host computer; and perform warning sound verification according to the noise analysis results.

[0168] In one embodiment, the adjustment module 20 is further used to obtain a third decibel value according to the initial rotational speed, the initial torque and the adjustment current angle; obtain a corresponding current value according to the third decibel value, and use the corresponding current value as the adjustment current value.

[0169] In one embodiment, the detection module 10 is further used to control the dynamometer to set the motor speed according to the calibration instruction to obtain the initial speed; and control the dynamometer host computer to set the motor torque according to the calibration instruction to obtain the initial torque.

[0170] The present application provides a vehicle warning sound generating device, the vehicle warning sound generating device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle warning sound generating method in the above-mentioned embodiment 1.

[0171] Reference below Figure 7, which shows a schematic diagram of the structure of a vehicle warning sound generating device suitable for implementing the embodiment of the present application. The vehicle warning sound generating device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The vehicle warning sound generating device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0172] like Figure 7 As shown, the vehicle warning sound generating device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the vehicle warning sound generating device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the vehicle warning sound generating device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a vehicle warning sound generating device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0173] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0174] The vehicle warning sound generating device provided by the present application adopts the vehicle warning sound generating method in the above embodiment, which can solve the technical problems of ensuring that electric vehicles can effectively warn pedestrians when driving at low speeds and reducing the complexity and cost of implementation. Compared with the prior art, the beneficial effects of the vehicle warning sound generating device provided by the present application are the same as the beneficial effects of the vehicle warning sound generating method provided by the above embodiment, and the other technical features in the vehicle warning sound generating device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0175] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0176] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0177] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the vehicle warning sound generation method in the above-mentioned embodiment.

[0178] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0179] The computer-readable storage medium may be included in the vehicle warning sound generating device; or may exist independently without being assembled into the vehicle warning sound generating device.

[0180] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the vehicle warning sound generating device, the vehicle warning sound generating device: when a calibration instruction is detected, obtains an initial speed and an initial torque according to the simulation test bench, and obtains an initial current value and an initial current angle according to the computer host computer;

[0181] Obtaining an adjusted current angle according to the initial rotational speed, the initial torque, the initial current value, and the initial current angle;

[0182] Obtaining an adjusted current value according to the initial rotation speed, the initial torque and the adjusted current angle;

[0183] Acquire an updated speed and an updated torque, and obtain a target current value and a target current angle according to the initial speed, the updated torque, the updated speed, the adjusted current value, and the adjusted current angle;

[0184] A vehicle warning sound is generated according to the target current value and the target current angle.

[0185] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0186] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0187] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0188] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned vehicle warning sound generation method, and can solve the technical problems of ensuring that electric vehicles can effectively warn pedestrians when driving at low speeds and reducing the complexity and cost of implementation. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the vehicle warning sound generation method provided by the above-mentioned embodiment, and will not be repeated here.

[0189] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned vehicle warning sound generation method when executed by a processor.

[0190] The computer program product provided by the present application can solve the technical problem of ensuring that electric vehicles can effectively warn pedestrians when driving at low speeds and reducing the complexity and cost of implementation. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the vehicle warning sound generation method provided by the above embodiment, and will not be repeated here.

[0191] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for generating a vehicle warning sound, characterized in that: The vehicle warning sound generation method is applied to a simulation test bench, the simulation test bench includes a computer host computer, and the method includes: When the calibration instruction is detected, an initial rotation speed and an initial torque are obtained according to the simulation test bench, and an initial current value and an initial current angle are obtained according to the computer host computer; Obtaining an adjusted current angle according to the initial rotational speed, the initial torque, the initial current value, and the initial current angle; Obtaining an adjusted current value according to the initial rotation speed, the initial torque and the adjusted current angle; Acquire an updated speed and an updated torque, and obtain a target current value and a target current angle according to the initial speed, the updated torque, the updated speed, the adjusted current value, and the adjusted current angle; A vehicle warning sound is generated according to the target current value and the target current angle.

2. The method according to claim 1, characterized in that The step of adjusting the current angle according to the initial speed, the initial torque, the initial current value and the initial current angle comprises: Obtaining a first decibel value according to the initial rotation speed, the initial torque, the initial current value, and the initial current angle; Obtaining an increased current angle according to the initial current angle and the preset current angle; Obtaining a second decibel value according to the initial rotation speed, the initial torque, the initial current value, and the increased current angle; Obtaining a target decibel value according to the first decibel value and the second decibel value; A corresponding current angle is obtained according to the target decibel value, and the corresponding current angle is used as the adjustment current angle.

3. The method according to claim 1, characterized in that The steps to obtain the updated speed and updated torque include: Obtaining a preset torque value and a preset speed set; Obtaining an updated torque according to the preset torque value and the initial torque; Obtaining a preset speed according to the preset speed set; An updated rotation speed is obtained according to the preset rotation speed.

4. The method according to claim 1, characterized in that The step of obtaining a target current value and a target current angle according to the initial speed, the updated torque, the updated speed, the adjusted current value, and the adjusted current angle comprises: Obtaining an updated torque current value and an updated torque current angle according to the initial rotation speed, the updated torque, the adjusted current value, and the adjusted current angle; A target current value and a target current angle are obtained according to the updated rotation speed, the updated torque, the adjusted current value, and the adjusted current angle.

5. The method according to claim 1, characterized in that The simulation test bench also includes a noise vibration roughness acquisition device and a noise vibration roughness host computer, and the noise vibration roughness acquisition device and the noise vibration roughness host computer are connected through a low-voltage line; After the step of generating a vehicle warning sound according to the target current value and the target current angle, the method further includes: Obtaining the frequency and amplitude of the sound wave according to the target current value, the target current angle and the computer host computer; Obtaining sound data according to the sound wave frequency, the amplitude and the noise vibration roughness acquisition device; Obtaining a noise analysis result according to the sound data and the noise vibration roughness host computer; The warning sound verification is performed according to the noise analysis result.

6. The method according to claim 1, characterized in that The step of obtaining the adjusted current value according to the initial rotation speed, the initial torque and the adjusted current angle comprises: Obtaining a third decibel value according to the initial rotation speed, the initial torque, and the adjustment current angle; A corresponding current value is obtained according to the third decibel value, and the corresponding current value is used as the adjustment current value.

7. The method according to claim 1, characterized in that The simulation test bench also includes a dynamometer and a dynamometer host computer, and the dynamometer and the dynamometer host computer are connected via a low-voltage line; When the calibration instruction is detected, the step of obtaining the initial speed and the initial torque according to the simulation test bench includes: Control the dynamometer to set the motor speed according to the calibration instruction to obtain an initial speed; The dynamometer host computer is controlled to set the motor torque according to the calibration instruction to obtain the initial torque.

8. A vehicle warning sound generating device, characterized in that: The device comprises: The detection module is used to obtain the initial speed and initial torque according to the simulation test bench when the calibration instruction is detected, and obtain the initial current value and initial current angle according to the computer host computer; An adjustment module, configured to obtain an adjustment current angle according to the initial rotation speed, the initial torque, the initial current value, and the initial current angle; The adjustment module is further used to obtain an adjustment current value according to the initial rotation speed, the initial torque and the adjustment current angle; An updating module, configured to obtain an updated rotational speed and an updated torque, and obtain a target current value and a target current angle according to the initial rotational speed, the updated torque, the updated rotational speed, the adjusted current value, and the adjusted current angle; A generating module is used to generate a vehicle warning sound according to the target current value and the target current angle.

9. A vehicle warning sound generating device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle warning sound generating method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle warning sound generation method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Sound wave simulation method for driving motor

    CN114670750A

  • Low-speed warning sound simulation method and system for new energy automobile driving motor

    CN117922427A

  • Motor zero calibration method, device, equipment, storage medium and product

    CN118937999A

  • Torque control system and torque control method for electric impact tools with adjustable torque

    DE102017119623A1

  • METHOD AND DEVICE FOR GENERATING ACOUSTIC SIGNALS

    DE102018113546A1