Vehicle sound wave generation method and device, vehicle, and storage medium
By acquiring the vehicle's requested torque and motor speed information, and combining this with the vehicle type, the loudness, frequency, and timbre of the simulated engine sound are generated. This solves the problem of inaccurate simulated engine sound when the accelerator pedal is open, thus improving the driving experience and safety.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- XIAOMI EV TECH CO LTD
- Filing Date
- 2023-03-28
- Publication Date
- 2026-06-12
AI Technical Summary
In existing technologies, vehicle sound simulation based on accelerator pedal opening cannot accurately reflect the current operating condition of the vehicle, leading to inaccurate judgment of the vehicle's status by the user and affecting driving safety.
By acquiring the requested torque information and motor speed information of the vehicle while it is in motion, and combining this with the vehicle type information, the loudness, frequency, and timbre information of the simulated sound wave are determined, thereby generating a simulated sound wave that is closely integrated with the current operating conditions of the vehicle.
It improves the user's driving experience, helps users accurately judge the vehicle's status, and enhances driving safety.
Smart Images

Figure CN116353482B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of vehicle sound simulation technology, and in particular to a method, apparatus, vehicle, and storage medium for generating vehicle sound waves. Background Technology
[0002] When a vehicle is in motion, the interaction between its various components produces sounds that create its unique engine noise. Examples include the wind-blowing sound from the friction between the air and the vehicle, the roar of fuel combustion in the engine, and the friction noise from power transmission between mechanical parts. In related technologies, sound insulation is often applied to noisy components during vehicle assembly to reduce noise in the driving space, considering the driving experience. However, during actual use, vehicle noise can enhance driving pleasure and reflect the vehicle's operating conditions, helping users assess its status. Removing vehicle noise reduces user sensitivity to the vehicle, potentially compromising driving safety. Summary of the Invention
[0003] To overcome the problems existing in related technologies, this disclosure provides a method, apparatus, vehicle, and storage medium for generating vehicle sound.
[0004] According to a first aspect of the present disclosure, a method for generating vehicle sound is provided, comprising:
[0005] Obtain the requested torque information and motor speed information of the vehicle while it is in motion;
[0006] Based on the vehicle type information and the requested torque information, the loudness information of the simulated sound wave is determined;
[0007] The frequency information of the simulated sound wave is determined based on the vehicle type information and the motor speed information;
[0008] Based on the vehicle type information, determine the timbre information of the simulated sound wave;
[0009] The simulated sound wave is generated based on the loudness information, the frequency information, and the timbre information.
[0010] Optionally, determining the frequency information of the simulated sound wave based on the vehicle type information and the motor speed information includes:
[0011] Based on the vehicle type information, a first linear relationship between the motor speed and frequency of the vehicle is determined;
[0012] The frequency information is determined based on the motor speed information and the first linear relationship.
[0013] Optionally, generating the simulated sound wave based on the loudness information, the frequency information, and the timbre information includes:
[0014] If the frequency information exceeds the range of frequencies that the human ear can detect, a frequency conversion coefficient is determined based on the vehicle type information and the frequency information.
[0015] The target frequency information of the simulated sound wave is determined based on the frequency conversion coefficient and the frequency information.
[0016] The simulated sound wave is generated based on the loudness information, the target frequency information, and the timbre information.
[0017] Optionally, determining the loudness information of the simulated sound wave based on the vehicle type information and the requested torque information includes:
[0018] Based on the vehicle type information, a second linear relationship between the vehicle's requested torque and loudness is determined;
[0019] The loudness information is determined based on the requested torque information and the second linear relationship.
[0020] Optionally, obtaining the requested torque information of the vehicle in a driving state includes:
[0021] The accelerator pedal opening and driving parameter information of the vehicle in the driving state are obtained, including vehicle speed information, steering wheel angle information and driving mode information;
[0022] The requested torque information is determined based on the accelerator pedal opening and the driving parameter information.
[0023] Optionally, determining the requested torque information based on the accelerator pedal opening and the driving parameter information includes:
[0024] Based on the driving parameter information, the road condition information of the vehicle in the driving state is determined;
[0025] The requested torque information is determined based on the road condition information and the accelerator pedal opening.
[0026] According to a second aspect of the present disclosure, a vehicle sound generation apparatus is provided, comprising:
[0027] The acquisition module is configured to acquire the requested torque information and motor speed information of the vehicle in a driving state;
[0028] The first determining module is configured to determine the loudness information of the simulated sound wave based on the vehicle type information of the vehicle and the requested torque information;
[0029] The second determining module is configured to determine the frequency information of the simulated sound wave based on the vehicle type information and the motor speed information;
[0030] The third determining module is configured to determine the timbre information of the simulated sound wave based on the vehicle type information;
[0031] The generation module is configured to generate the simulated sound wave based on the loudness information, the frequency information, and the timbre information.
[0032] Optionally, the second determining module is configured to:
[0033] Based on the vehicle type information, a first linear relationship between the motor speed and frequency of the vehicle is determined;
[0034] The frequency information is determined based on the motor speed information and the first linear relationship.
[0035] A third aspect of the present disclosure provides a vehicle, comprising:
[0036] processor;
[0037] Memory used to store processor-executable instructions;
[0038] The processor is configured as follows:
[0039] Obtain the requested torque information and motor speed information of the vehicle while it is in motion;
[0040] Based on the vehicle type information and the requested torque information, the loudness information of the simulated sound wave is determined;
[0041] The frequency information of the simulated sound wave is determined based on the vehicle type information and the motor speed information;
[0042] Based on the vehicle type information, determine the timbre information of the simulated sound wave;
[0043] The simulated sound wave is generated based on the loudness information, the frequency information, and the timbre information.
[0044] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided that stores computer program instructions thereon, which, when executed by a processor, implement the steps of the method for generating vehicle sound provided in the first aspect of the present disclosure.
[0045] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0046] The above method acquires the requested torque and motor speed information of the vehicle while it is in motion. Based on the vehicle type and requested torque information, the loudness of the simulated sound is determined; based on the vehicle type and motor speed information, the frequency of the simulated sound is determined; based on the vehicle type information, the timbre of the simulated sound is determined; and based on the loudness, frequency, and timbre information, the simulated sound is generated. Thus, the loudness of the simulated sound is determined based on the requested torque, the frequency based on the motor speed, and the timbre based on the vehicle type. The simulated vehicle sound is then generated based on these factors. This ensures that the simulated vehicle sound is closely integrated with the vehicle's current operating conditions, improving the user's driving experience and enhancing driving safety.
[0047] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0048] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0049] Figure 1 This is a flowchart illustrating a method for generating vehicle sound according to an exemplary embodiment.
[0050] Figure 2 This is an example diagram illustrating a variation in the loudness of a vehicle sound, according to an exemplary embodiment.
[0051] Figure 3 This is an example diagram illustrating the frequency variation of a vehicle sound, according to an exemplary embodiment.
[0052] Figure 4 This is a flowchart illustrating a method for determining a requested torque according to an exemplary embodiment.
[0053] Figure 5 This is a block diagram of a vehicle sound generation apparatus according to an exemplary embodiment.
[0054] Figure 6 This is a block diagram illustrating a vehicle according to an exemplary embodiment. Detailed Implementation
[0055] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0056] It should be noted that all actions involving the acquisition of signals, information, or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where the application is located, and with the authorization granted by the owner of the relevant device.
[0057] In related technologies, there are increasingly more "silent vehicles," such as well-insulated gasoline cars or pure electric vehicles. For the simulation of the engine sound of these "silent vehicles," the sound is usually controlled based on the accelerator pedal opening and other information (such as vehicle speed). However, when the accelerator pedal opening is used as a reference indicator, the engine sound often fails to reflect the vehicle's current operating conditions in real time. For example, with the same accelerator pedal position, the vehicle's operating conditions differ when going uphill and downhill, and the engine sound should be different. However, when using the accelerator pedal opening as a reference indicator, as long as the accelerator pedal position is the same, the simulated engine sound will be the same whether going uphill or downhill. This leads to a discrepancy between the simulated engine sound and the actual vehicle operation. In reality, the motor does more work when going uphill, and the sound should be deeper. Therefore, the simulated engine sound based on the accelerator pedal opening cannot accurately reflect the vehicle's state, causing the driver to be unable to judge the vehicle's status through hearing, leading to user discomfort and even potential danger.
[0058] In view of this, the present disclosure provides a method for generating vehicle sound. Figure 1 This is a flowchart illustrating a method for generating vehicle sound according to an exemplary embodiment, such as... Figure 1 As shown, this method is used in a vehicle terminal and includes the following steps.
[0059] In step S101, the requested torque information and motor speed information of the vehicle in driving state are obtained.
[0060] It is worth mentioning that this embodiment applies to electric vehicles, which can be pure electric vehicles or hybrid electric vehicles. These electric vehicles are equipped with a vehicle terminal for controlling various components and collecting relevant operating parameters. For example, in this embodiment, the vehicle terminal collects the requested torque information and motor speed information of the vehicle in its current driving state. The motor speed information can be collected by a speed sensor installed on the motor, and the obtained motor speed information is sent to the vehicle terminal. The requested torque information can be determined by relevant operating parameters such as the accelerator pedal opening, brake pedal opening, current steering wheel angle, and current gear position in the current driving state. It should be noted that during vehicle operation, the main sound source of the vehicle's engine noise comes from the sound of fuel explosions in the engine. These fuel explosions provide torque to the engine, causing it to rotate and drive the vehicle according to the relevant mechanical transmission components. Therefore, the engine's torque and speed information directly reflect the vehicle's engine noise. This embodiment is applied to electric vehicles, where an electric motor replaces the engine to provide power. Based on the same principle of vehicle noise, the simulated vehicle noise can be determined based on the requested torque information and motor speed information.
[0061] In step S102, the loudness information of the simulated sound wave is determined based on the vehicle type information and the requested torque information.
[0062] It's worth noting that the engine sound varies for the same operating parameters depending on the vehicle type. For example, when the vehicle is a passenger car, the sound is relatively soft due to its practicality, resulting in a louder sound for the same requested torque. When the vehicle is a heavy truck, the higher power required leads to a louder sound for the same requested torque. When the vehicle is a sports car, the higher horsepower usually results in a deeper, more robust sound for the same requested torque. Therefore, the simulated engine sound needs to be determined based on the vehicle type. For instance, vehicle type information can be categorized based on factors such as wheelbase, engine displacement, and weight, classifying vehicles as: sedans, SUVs (sport / suburban utility vehicles), sports cars, and mid-size trucks. In this embodiment, the vehicle type information can be pre-configured into the vehicle terminal during the vehicle assembly process.
[0063] For example, a sound acquisition device can be installed on the vehicle chassis to collect the vehicle's sound. Using the principle of controlled variables, the influence of various operating parameters on the vehicle's sound under running conditions can be determined. In this embodiment, the sound of the same type of vehicle under normal operating conditions is monitored. The motor speed is kept constant during normal driving, and the frequency and loudness changes of the vehicle's sound under different requested torques are monitored. By analyzing the actual sound of the vehicle through limited experiments, the correspondence between the loudness of the actual sound and the requested torque during actual operation of the same type of vehicle can be determined. Based on this correspondence, the loudness information corresponding to the current requested torque information can be determined.
[0064] Optionally, in one embodiment, step S102 above includes:
[0065] Based on vehicle type information, a second linear relationship between the vehicle's requested torque and loudness is determined;
[0066] Loudness information is determined based on the requested torque information and the second linear relationship.
[0067] It is worth mentioning that, in this embodiment, during the vehicle testing phase, experiments can be conducted on the actual sound of different vehicle models. The influencing factors of the actual sound of different vehicle models under normal driving conditions are determined, and based on the principle of controlled variables, the correspondence between the sound's corresponding audio, loudness, and timbre and various operating parameters of the vehicle is determined. For example, in this embodiment, other operating parameters of the vehicle under normal driving conditions are kept constant, and the changes in audio, loudness, and timbre of the vehicle's sound under different requested torques are monitored by gradually adjusting the requested torque. Figure 2 This is an example diagram illustrating the variation in the loudness of a vehicle's sound, according to an exemplary embodiment. Figure 2 As shown in the example graph, the horizontal axis represents the vehicle's torque information, and the vertical axis represents the vehicle's loudness information. (The last sentence appears to be incomplete and possibly refers to a different topic.) Figure 2 A second linear relationship between different torques and loudness within the same vehicle model can be determined. By reading the requested torque information under the current vehicle condition and referring to this second linear relationship, the loudness information of the simulated sound under the current vehicle driving condition can be determined. It is worth mentioning that in this embodiment, multiple requested torques can be randomly sampled, such as... Figure 2 The requested torques for the vehicle tests were -160, 0, 140, and 290. Loudness information for each requested torque was determined using a sound wave acquisition device. Based on the experimental coordinate points in this coordinate system, a second linear relationship between the requested torque and the corresponding sound waves was determined. For example, this second linear relationship can be determined using a linear interpolation algorithm based on multiple experimental coordinate points.
[0068] In step S103, the frequency information of the simulated sound wave is determined based on the vehicle type information and the motor speed information.
[0069] It is worth mentioning that, in this embodiment, the influence factor of motor speed on the corresponding frequency of vehicle sound can be determined through limited experiments. Therefore, based on the principle of controlled variables, the different frequencies of vehicle sound at different motor speeds under the same requested torque for the same vehicle model can be determined, establishing a correspondence between motor speed and sound frequency for the same vehicle model. The frequency information of simulated sound at the current motor speed can be determined by referring to this correspondence. For example, in this embodiment, the correspondence between motor speed and the corresponding frequency of simulated sound can be determined by referring to the method for determining the correspondence between requested torque and sound loudness in step S102 above, and the frequency information of simulated sound can be determined by referring to this correspondence.
[0070] Alternatively, in another embodiment, step S103 above includes:
[0071] Based on the vehicle type information, determine the first linear relationship between the vehicle's motor speed and frequency;
[0072] The frequency information is determined based on the motor speed information and the first linear relationship.
[0073] For example, in this embodiment, experiments can be conducted on the actual engine noise of different vehicle models. The influencing factors of the actual engine noise of different vehicle models under normal driving conditions are determined, and based on the principle of controlled variables, the correspondence between the corresponding audio frequency, loudness, and timbre of the engine noise and various operating parameters in the vehicle is determined. For example, in this embodiment, other operating parameters of the vehicle under normal driving conditions are kept constant, and the loudness changes of the vehicle engine noise at different motor speeds are monitored by gradually adjusting the motor speed in the vehicle. Figure 3 This is an example diagram illustrating the frequency variation of a vehicle sound, according to an exemplary embodiment, such as... Figure 3 As shown, a first linear relationship between motor speed and sound frequency can be determined, and the frequency information corresponding to the motor speed information can be determined based on this first linear relationship.
[0074] In step S104, the timbre information of the simulated sound wave is determined based on the vehicle type information.
[0075] It is worth noting that the timbre of a vehicle is related to its model. When the vehicle's configuration is fixed, the actual timbre of the vehicle's sound remains unchanged. Therefore, in this embodiment, a sound wave acquisition device can be used to collect the sound wave of a vehicle under normal driving conditions, thereby simulating different timbre information for different vehicle types and generating a corresponding timbre mapping table. For example, in this embodiment, the timbre mapping table is consulted based on the vehicle type information to determine the timbre information of the simulated sound wave for the current vehicle type.
[0076] In step S105, a simulated sound wave is generated based on the loudness information, frequency information, and timbre information.
[0077] It is worth mentioning that the simulated sound wave mainly consists of audio, timbre, and acoustics. After determining the timbre, loudness, and frequency information of the simulated sound wave through the above steps, the sound wave of the vehicle under the current driving condition can be simulated. By continuously monitoring the requested torque information and motor speed information under the current driving condition of the vehicle, the vehicle's sound wave is continuously generated. This simulated sound wave is played in or outside the vehicle's driving space through a speaker. After hearing the simulated sound wave, the user can determine the current driving condition of the vehicle, facilitating driving decisions. It should be noted that the simulated sound wave generated by the above steps in this embodiment is generated by the vehicle's various components under normal driving conditions. This simulated sound wave can be used to enhance the user's driving pleasure and can also be used by the user to judge the current vehicle speed and current resistance based on the simulated sound wave, thereby assisting the user in safe driving.
[0078] Alternatively, in another embodiment, step S105 above includes:
[0079] When the frequency information exceeds the range of frequencies that the human ear can detect, the frequency conversion coefficient is determined based on the vehicle type information and the frequency information.
[0080] Based on the frequency conversion coefficient and frequency information, determine the target frequency information for the simulated sound wave;
[0081] Based on loudness information, target frequency information, and timbre information, a simulated sound wave is generated.
[0082] It is worth noting that vehicle sound is a composite sound generated by the vibration of the engine or other components. Therefore, when the vibration frequency is high or low, the emitted vehicle sound may be ultrasonic or infrasound, resulting in the simulated sound not being perceived by the user. Therefore, in this embodiment, after determining the frequency information of the simulated sound through the above steps, it is determined whether the frequency falls within the range of human hearing's sound perception, specifically [20Hz-20000Hz]. When the frequency information of the simulated sound is determined to be outside the [20Hz-20000Hz] range, the frequency information is converted using a frequency conversion coefficient to generate the target frequency information of the simulated sound. This target frequency information falls within the [20Hz-20000Hz] range. For example, when the frequency information is greater than 20000Hz, it can be attenuated using the frequency conversion coefficient; when the frequency information is less than 20Hz, it can be amplified using the frequency conversion coefficient. Based on the loudness information, target frequency information, and timbre information, a simulated sound for the current vehicle driving state is generated.
[0083] The above method acquires the requested torque and motor speed information of the vehicle while it is in motion. Based on the vehicle type and requested torque information, the loudness of the simulated sound is determined; based on the vehicle type and motor speed information, the frequency of the simulated sound is determined; based on the vehicle type information, the timbre of the simulated sound is determined; and based on the loudness, frequency, and timbre information, the simulated sound is generated. Thus, the loudness of the simulated sound is determined based on the requested torque, the frequency based on the motor speed, and the timbre based on the vehicle type. The simulated vehicle sound is then generated based on these factors. This ensures that the simulated vehicle sound is closely integrated with the vehicle's current operating conditions, improving the user's driving experience and enhancing driving safety.
[0084] Figure 4 This is a flowchart illustrating a method for determining a requested torque according to an exemplary embodiment, such as... Figure 4 The aforementioned step of "determining the requested torque information based on the accelerator pedal opening and driving parameter information" includes the following steps.
[0085] In step S201, the accelerator pedal opening and driving parameter information of the vehicle in driving state are obtained. The driving parameter information includes vehicle speed information, steering wheel angle information and driving mode information.
[0086] In step S202, the requested torque information is determined based on the accelerator pedal opening and driving parameter information.
[0087] For example, in this embodiment, the requested torque is the torque requested by the user from the vehicle terminal via the accelerator pedal under the current driving state and road conditions. The vehicle terminal can determine the requested torque information based on the user's current accelerator pedal opening and the vehicle's current driving parameters. The driving parameters may include the vehicle's current speed, the user's current steering wheel angle, and the driving mode. The initial requested torque is determined by the accelerator pedal opening; the requested rotational torque is determined by the steering wheel rotation speed; and the torque gain coefficient is determined by the driving mode. After determining the initial requested torque, rotational torque, and torque gain coefficient, the requested torque information is calculated and determined based on the vehicle's current speed.
[0088] Optionally, in one embodiment, step S202 above includes:
[0089] Based on the driving parameter information, determine the road condition information when the vehicle is in motion;
[0090] Determine the requested torque information based on road conditions and accelerator pedal opening.
[0091] For example, in this embodiment, the driving parameter information may include the current vehicle speed, steering wheel angle, and driving mode information. Based on this driving parameter information, the road condition information of the current vehicle in its driving state is detected. The road condition information is determined to be a flat road surface, a steep road surface, a sloping road surface, etc. Based on different road condition information and the current accelerator pedal opening, the vehicle's current requested torque information is generated.
[0092] By using the above method, the requested torque of the vehicle is determined based on the throttle opening and the vehicle's current driving parameters, making the obtained requested torque more accurate. This allows the frequency of the simulated sound to be determined using the requested torque, thereby simulating a more accurate vehicle sound.
[0093] Figure 5 This is a block diagram illustrating a vehicle sound generation apparatus according to an exemplary embodiment. (Refer to...) Figure 5 The device 100 includes: an acquisition module 110, a first determination module 120, a second determination module 130, a third determination module 140, and a generation module 150.
[0094] The acquisition module 110 is configured to acquire the requested torque information and motor speed information of the vehicle while it is in motion.
[0095] The first determining module 120 is configured to determine the loudness information of the simulated sound wave based on the vehicle type information and the requested torque information.
[0096] The second determining module 130 is configured to determine the frequency information of the simulated sound wave based on the vehicle type information and the motor speed information;
[0097] The third determining module 140 is configured to determine the timbre information of the simulated sound wave based on the vehicle type information;
[0098] The generation module 150 is configured to generate simulated sound waves based on loudness information, frequency information, and timbre information.
[0099] Optionally, the second determining module 130 is configured as follows:
[0100] Based on the vehicle type information, determine the first linear relationship between the vehicle's motor speed and frequency;
[0101] The frequency information is determined based on the motor speed information and the first linear relationship.
[0102] Optionally, the generation module 150 is configured as follows:
[0103] When the frequency information exceeds the range of frequencies that the human ear can detect, the frequency conversion coefficient is determined based on the vehicle type information and the frequency information.
[0104] Based on the frequency conversion coefficient and frequency information, determine the target frequency information for the simulated sound wave;
[0105] Based on loudness information, target frequency information, and timbre information, a simulated sound wave is generated.
[0106] Optionally, the first determining module 120 is configured as follows:
[0107] Based on vehicle type information, a second linear relationship between the vehicle's requested torque and loudness is determined;
[0108] Loudness information is determined based on the requested torque information and the second linear relationship.
[0109] Optionally, the acquisition module 110 includes:
[0110] The acquisition submodule is configured to acquire the accelerator pedal opening and driving parameter information of the vehicle while it is in motion. The driving parameter information includes vehicle speed information, steering wheel angle information and driving mode information.
[0111] The determination submodule is configured to determine the requested torque information based on the accelerator pedal opening and driving parameter information.
[0112] Optionally, the submodule is determined and configured as follows:
[0113] Based on the driving parameter information, determine the road condition information when the vehicle is in motion;
[0114] Determine the requested torque information based on road conditions and accelerator pedal opening.
[0115] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0116] This disclosure also provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the vehicle sound generation method provided in this disclosure.
[0117] Figure 6 This is a block diagram illustrating a vehicle 600 according to an exemplary embodiment. For example, vehicle 600 can be a hybrid vehicle, a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or other types of vehicle. Vehicle 600 can be an autonomous vehicle, a semi-autonomous vehicle, or a non-autonomous vehicle.
[0118] Reference Figure 6The vehicle 600 may include various subsystems, such as an infotainment system 610, a perception system 620, a decision control system 630, a drive system 640, and a computing platform 650. The vehicle 600 may also include more or fewer subsystems, and each subsystem may include multiple components. Furthermore, each subsystem and each component of the vehicle 600 can be interconnected via wired or wireless means.
[0119] In some embodiments, the infotainment system 610 may include a communication system, an entertainment system, and a navigation system, etc.
[0120] The perception system 620 may include several sensors for sensing information about the environment surrounding the vehicle 600. For example, the perception system 620 may include a global positioning system (which may be GPS, BeiDou, or other positioning systems), an inertial measurement unit (IMU), lidar, millimeter-wave radar, ultrasonic radar, and a camera device.
[0121] The decision control system 630 may include a computing system, a vehicle controller, a steering system, a throttle, and a braking system.
[0122] The drive system 640 may include components that provide powered motion to the vehicle 600. In one embodiment, the drive system 640 may include an engine, an energy source, a transmission system, and wheels. The engine may be one or a combination of internal combustion engines, electric motors, and compressed air engines. The engine is capable of converting energy provided by the energy source into mechanical energy.
[0123] Some or all of the functions of vehicle 600 are controlled by computing platform 650. Computing platform 650 may include at least one processor 651 and memory 652, processor 651 can execute instructions 653 stored in memory 652.
[0124] Processor 651 can be any conventional processor, such as a commercially available CPU. The processor may also include, for example, a Graphics Processing Unit (GPU), a Field Programmable Gate Array (FPGA), a System on Chip (SOC), an Application Specific Integrated Circuit (ASIC), or a combination thereof.
[0125] The memory 652 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0126] In addition to instruction 653, memory 652 can also store data, such as road maps, route information, vehicle position, direction, speed, and other data. The data stored in memory 652 can be used by computing platform 650.
[0127] In this embodiment of the disclosure, the processor 651 may execute instructions 653 to complete all or part of the steps of the above-described method for generating vehicle sound.
[0128] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for performing the above-described method for generating vehicle sound when executed by the programmable device.
[0129] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of this disclosure. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0130] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for generating vehicle sound, characterized in that, include: Obtain the requested torque information and motor speed information of the vehicle while it is in motion; Based on the vehicle type information, a second linear relationship between the requested torque and loudness of the vehicle is determined; Based on the requested torque information and the second linear relationship, the loudness information is determined; Based on the vehicle type information, a first linear relationship between the motor speed and frequency of the vehicle is determined; Based on the motor speed information and the first linear relationship, the frequency information is determined; Based on the vehicle type information, determine the timbre information of the simulated sound wave; The simulated sound wave is generated based on the loudness information, the frequency information, and the timbre information.
2. The generation method according to claim 1, characterized in that, The step of generating the simulated sound wave based on the loudness information, the frequency information, and the timbre information includes: If the frequency information exceeds the range of frequencies that the human ear can detect, a frequency conversion coefficient is determined based on the vehicle type information and the frequency information. The target frequency information of the simulated sound wave is determined based on the frequency conversion coefficient and the frequency information. The simulated sound wave is generated based on the loudness information, the target frequency information, and the timbre information.
3. The generation method according to claim 1, characterized in that, The step of obtaining the requested torque information of the vehicle in driving condition includes: The accelerator pedal opening and driving parameter information of the vehicle in the driving state are obtained, including vehicle speed information, steering wheel angle information and driving mode information; The requested torque information is determined based on the accelerator pedal opening and the driving parameter information.
4. The generation method according to claim 3, characterized in that, Determining the requested torque information based on the accelerator pedal opening and the driving parameter information includes: Based on the driving parameter information, the road condition information of the vehicle in the driving state is determined; The requested torque information is determined based on the road condition information and the accelerator pedal opening.
5. A device for generating vehicle sound, characterized in that, include: The acquisition module is configured to acquire the requested torque information and motor speed information of the vehicle in a driving state; The first determining module is configured to determine a second linear relationship between the requested torque and loudness of the vehicle based on vehicle type information; Based on the requested torque information and the second linear relationship, the loudness information is determined; The second determining module is configured to determine a first linear relationship between the motor speed and frequency of the vehicle based on the vehicle type information; and to determine frequency information based on the motor speed information and the first linear relationship. The third determining module is configured to determine the timbre information of the simulated sound wave based on the vehicle type information; The generation module is configured to generate the simulated sound wave based on the loudness information, the frequency information, and the timbre information.
6. A vehicle, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured as follows: Obtain the requested torque information and motor speed information of the vehicle while it is in motion; Based on the vehicle type information, a second linear relationship between the requested torque and loudness of the vehicle is determined; Based on the requested torque information and the second linear relationship, the loudness information is determined; Based on the vehicle type information, a first linear relationship between the motor speed and frequency of the vehicle is determined; Based on the motor speed information and the first linear relationship, the frequency information is determined; Based on the vehicle type information, determine the timbre information of the simulated sound wave; The simulated sound wave is generated based on the loudness information, the frequency information, and the timbre information.
7. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instructions are executed by the processor, they implement the steps of the method according to any one of claims 1-4.