Search

CN-121983019-A - Dynamic engine sound wave simulation system, method and storage medium

CN121983019ACN 121983019 ACN121983019 ACN 121983019ACN-121983019-A

Abstract

The embodiment of the invention provides a dynamic engine sound wave simulation system, a dynamic engine sound wave simulation method and a storage medium, and belongs to the technical field of vehicle electronic control. The system comprises a signal acquisition unit, a processing control unit, a PWM waveform generation unit and a passive buzzer, wherein the signal acquisition unit is used for acquiring an engine rotating speed signal and an accelerator opening signal, the processing control unit is in signal connection with the signal acquisition unit and used for generating a sound wave control parameter based on the engine rotating speed signal and the accelerator opening signal, the PWM waveform generation unit is in signal connection with the processing control unit and used for generating a corresponding PWM driving signal based on the sound wave control parameter, and the passive buzzer is electrically connected with the PWM waveform generation unit and used for outputting a corresponding engine sound wave simulation sound based on the PWM driving signal. According to the scheme, under the conditions of lower hardware cost and controllable system complexity, real-time nonlinear mapping between engine operation parameters and sound wave output is realized, so that engine sound waves can dynamically respond to driver operation and continuous and stable acoustic performance is maintained.

Inventors

  • ZHONG YIXIU
  • Huang Shenglue
  • LIANG ZEXIAO
  • ZHANG XIAOHUAN

Assignees

  • 广东九联开鸿科技发展有限公司
  • 广东九联科技股份有限公司

Dates

Publication Date
20260505
Application Date
20260210

Claims (10)

  1. 1. A dynamic engine acoustic wave simulation system, the system comprising: The signal acquisition unit is used for acquiring an engine rotating speed signal and an accelerator opening signal; The processing control unit is in signal connection with the signal acquisition unit and is used for generating sound wave control parameters based on the engine rotating speed signal and the accelerator opening signal; The PWM waveform generation unit is in signal connection with the processing control unit and is used for generating a corresponding PWM driving signal based on the sound wave control parameter; And the passive buzzer is electrically connected with the PWM waveform generation unit and is used for outputting corresponding engine sound wave simulation sound based on the PWM driving signal.
  2. 2. The dynamic engine sound wave simulation system according to claim 1, wherein the processing control unit includes a signal preprocessing module for performing normalization processing on the engine rotation speed signal and the accelerator opening signal, and calculating an accelerator opening variation amount based on the accelerator opening signal at successive sampling timings; The signal preprocessing module outputs the normalized engine speed signal, the normalized accelerator opening signal and the accelerator opening variation to the sound wave control parameter generating module in the processing control unit.
  3. 3. The dynamic engine sound wave simulation system of claim 2, wherein the sound wave control parameter generation module is a fuzzy logic control module; The fuzzy logic control module is used for mapping the normalized engine rotating speed signal and the normalized accelerator opening degree signal to a preset fuzzy language variable set respectively; And performing fuzzy reasoning operation and fuzzy solving operation based on a preset rule base, generating the sound wave control parameters used for representing sound wave frequency parameters and sound wave amplitude parameters, and outputting the sound wave control parameters to the PWM waveform generation unit.
  4. 4. The dynamic engine sound wave simulation system of claim 3, wherein the sound wave control parameter generation module, when performing fuzzy inference operations and defuzzification operations based on a preset rule base, is configured to, when generating the sound wave control parameters for characterizing sound wave frequency parameters and sound wave amplitude parameters: Establishing a resonance anchor point set corresponding to an engine rotating speed partition in a preset rule base, wherein each resonance anchor point set corresponds to at least one preset rotating speed interval, and a target fundamental wave basic frequency anchor point value and a target amplitude anchor point value corresponding to the preset rotating speed interval; after the sound wave control parameters are generated, sound wave frequency parameters and sound wave amplitude parameters are obtained from the sound wave control parameters, and the corresponding resonance anchor point set is called according to the preset rotating speed interval to which the current engine rotating speed belongs; Matching the sound wave frequency parameter with the target sound wave fundamental frequency anchor point value to calculate a frequency offset, and performing constraint correction based on the frequency offset to generate a corrected sound wave frequency parameter; Matching the sound wave amplitude parameter with the target sound wave amplitude anchor point value to calculate an amplitude offset, and performing constraint correction based on the amplitude offset to generate a corrected sound wave amplitude parameter; Respectively calculating the change rates of the corrected sound wave frequency parameter and the corrected sound wave amplitude parameter in the continuous sampling period, and respectively executing envelope smoothing processing when the corresponding change rates exceed a preset continuity threshold value to generate a final sound wave frequency parameter and a final sound wave amplitude parameter; and updating the final sound wave frequency parameter and the final sound wave amplitude parameter to the sound wave control parameter.
  5. 5. The dynamic engine sound wave simulation system according to claim 3, wherein the PWM waveform generation unit is configured to generate a fundamental frequency PWM signal based on the sound wave frequency parameter, modulate a duty cycle of the fundamental frequency PWM signal based on the sound wave amplitude parameter, generate a PWM driving signal for driving the passive buzzer, and output the PWM driving signal to the passive buzzer.
  6. 6. The dynamic engine sound wave simulation system of claim 5, wherein the sound wave control parameters further comprise harmonic control parameters; The PWM waveform generation unit is used for performing harmonic superposition processing on the fundamental frequency PWM signal based on the harmonic control parameter, generating a composite PWM driving signal containing at least one higher harmonic component, and outputting the composite PWM driving signal to the passive buzzer.
  7. 7. The dynamic engine sound wave simulation system of claim 1, wherein the process control unit further comprises a mode management module; the mode management module is used for executing switching operation between preset operation modes, calling a preset rule base and a preset parameter set corresponding to the operation modes when the modes are switched to update the control rule of the sound wave control parameter generation module, and applying the updated control rule to the generation process of the sound wave control parameters.
  8. 8. A method of dynamic engine sound wave simulation, the method being implemented based on the dynamic engine sound wave simulation system of any one of claims 1-7, the method comprising: Acquiring an engine rotating speed signal and an accelerator opening signal, and executing normalization processing on the engine rotating speed signal and the accelerator opening signal to generate a normalized engine rotating speed signal and a normalized accelerator opening signal; Executing sound wave control parameter generation operation based on the normalized engine rotating speed signal and the normalized accelerator opening degree signal to generate sound wave control parameters comprising sound wave frequency parameters and sound wave amplitude parameters; generating a fundamental frequency PWM signal based on the sound wave frequency parameter, and performing duty cycle modulation on the fundamental frequency PWM signal based on the sound wave amplitude parameter to generate a PWM driving signal; And outputting the PWM driving signal to a passive buzzer so as to output corresponding engine sound wave simulation sound based on the PWM driving signal.
  9. 9. The dynamic engine sound wave simulation method according to claim 8, wherein the sound wave control parameter generation operation is performed based on the normalized engine speed signal and the normalized accelerator opening signal, and the sound wave control parameter including the sound wave frequency parameter and the sound wave amplitude parameter is generated, comprising: calculating an accelerator opening variation based on the accelerator opening signal at continuous sampling moments, and mapping the normalized engine speed signal, the normalized accelerator opening signal and the accelerator opening variation to a preset fuzzy language variable set; Performing fuzzy reasoning operation and fuzzy solving operation based on a preset rule base, and generating the sound wave control parameters used for representing sound wave frequency parameters and sound wave amplitude parameters; Establishing a resonance anchor point set corresponding to an engine rotating speed partition in the preset rule base, wherein each resonance anchor point set corresponds to at least one preset rotating speed interval, and a target fundamental wave basic frequency anchor point value and a target amplitude anchor point value corresponding to the preset rotating speed interval; after the sound wave control parameters are generated, sound wave frequency parameters and sound wave amplitude parameters are obtained from the sound wave control parameters, and the corresponding resonance anchor point set is called according to the preset rotating speed interval to which the current engine rotating speed belongs; the method comprises the steps of carrying out matching operation on the sound wave frequency parameter and the target sound wave fundamental frequency anchor point value to calculate a frequency offset, and carrying out constraint correction based on the frequency offset to generate a corrected sound wave frequency parameter; Respectively calculating the change rates of the modified sound wave frequency parameter and the modified sound wave amplitude parameter in a continuous sampling period, and respectively executing envelope smoothing processing when the corresponding change rates exceed a preset continuity threshold value to generate a final sound wave frequency parameter and a final sound wave amplitude parameter; and updating the final sound wave frequency parameter and the final sound wave amplitude parameter to the sound wave control parameter.
  10. 10. A computer readable storage medium having instructions stored thereon which when run on a computer cause the computer to perform the dynamic engine acoustic wave simulation method of any of claims 8 and 9.

Description

Dynamic engine sound wave simulation system, method and storage medium Technical Field The invention relates to the technical field of vehicle electronic control, in particular to a dynamic engine sound wave simulation system, a dynamic engine sound wave simulation method and a storage medium. Background With the rise of the intelligent and personalized demands of vehicles, engine sound wave simulation technology gradually becomes an important component of the vehicle electronic system. At present, two types of technical schemes are mainly adopted for vehicle engine sound wave simulation. One type is an audio playing scheme, which plays through a vehicle-mounted sound system or an external loudspeaker in a specific driving mode through prerecorded or pre-stored high-fidelity engine sound wave audio files. The scheme can obtain better tone quality performance, but relies on a high-fidelity sound system and a power amplifier, the hardware cost is higher, the audio content is usually a fixed segment, the dynamic adjustment is difficult to realize according to the real-time operation of a driver, and the response has delay. The other is a real-time synthesis scheme based on an accurate physical model, and the acoustic wave waveform is calculated in real time according to parameters such as rotating speed, load and the like by establishing an engine physical model. The scheme has a certain instantaneity, but has a complex algorithm structure, high computational power requirements on the processor, high system development and debugging difficulty and high adaptation cost among different engines. Therefore, how to realize nonlinear mapping of engine speed, accelerator opening and other operation parameters and generate dynamic acoustic wave output capable of responding to driver operation in real time on the premise of controllable complexity of a control system and hardware cost becomes a technical problem to be solved. Disclosure of Invention The invention aims to provide a dynamic engine sound wave simulation system, a dynamic engine sound wave simulation method and a storage medium, which at least solve the problems of high engine sound wave simulation cost, high system complexity and difficulty in performing real-time nonlinear response on driver operation in the prior art. In order to achieve the aim, the first aspect of the invention provides a dynamic engine sound wave simulation system, which comprises a signal acquisition unit, a processing control unit, a PWM waveform generation unit and a passive buzzer, wherein the signal acquisition unit is used for acquiring an engine rotating speed signal and an accelerator opening degree signal, the processing control unit is in signal connection with the signal acquisition unit and is used for generating sound wave control parameters based on the engine rotating speed signal and the accelerator opening degree signal, the PWM waveform generation unit is in signal connection with the processing control unit and is used for generating corresponding PWM driving signals based on the sound wave control parameters, and the passive buzzer is electrically connected with the PWM waveform generation unit and is used for outputting corresponding engine sound wave simulation sounds based on the PWM driving signals. Optionally, the processing control unit comprises a signal preprocessing module, and the signal preprocessing module is used for executing normalization processing on the engine rotating speed signal and the accelerator opening signal and calculating the accelerator opening variation based on the accelerator opening signal at continuous sampling time, and outputting the normalized engine rotating speed signal, the normalized accelerator opening signal and the accelerator opening variation to a sound wave control parameter generating module in the processing control unit. The sound wave control parameter generation module is used for respectively mapping the normalized engine rotating speed signal and the normalized accelerator opening signal to a preset fuzzy language variable set, executing fuzzy reasoning operation and defuzzification operation based on a preset rule base, generating the sound wave control parameter used for representing the sound wave frequency parameter and the sound wave amplitude parameter, and outputting the sound wave control parameter to the PWM waveform generation unit. Optionally, when the sound wave control parameter generation module performs fuzzy reasoning operation and fuzzy operation based on a preset rule base to generate the sound wave control parameter used for representing sound wave frequency parameter and sound wave amplitude parameter, the sound wave control parameter generation module is configured to establish resonance anchor point sets corresponding to engine rotating speed partitions in the preset rule base, each resonance anchor point set corresponds to at least one preset rotating speed interval and a target sound wav