CN114584911B - Power amplifier debugging method, sound generation method, device, equipment and medium - Google Patents

Power amplifier debugging method, sound generation method, device, equipment and medium Download PDF

Info

Publication number
CN114584911B
CN114584911B CN202210481800.4A CN202210481800A CN114584911B CN 114584911 B CN114584911 B CN 114584911B CN 202210481800 A CN202210481800 A CN 202210481800A CN 114584911 B CN114584911 B CN 114584911B
Authority
CN
China
Prior art keywords
sound
parameter
signal
vehicle
debugging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210481800.4A
Other languages
Chinese (zh)
Other versions
CN114584911A (en
Inventor
李龙晨
许震洪
陶然
马桂林
刘俊峰
雷琴辉
孙路宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Iflytek Suzhou Technology Co Ltd
Original Assignee
Iflytek Suzhou Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Iflytek Suzhou Technology Co Ltd filed Critical Iflytek Suzhou Technology Co Ltd
Priority to CN202210481800.4A priority Critical patent/CN114584911B/en
Publication of CN114584911A publication Critical patent/CN114584911A/en
Application granted granted Critical
Publication of CN114584911B publication Critical patent/CN114584911B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q5/00Arrangement or adaptation of acoustic signal devices
    • B60Q5/005Arrangement or adaptation of acoustic signal devices automatically actuated
    • B60Q5/008Arrangement or adaptation of acoustic signal devices automatically actuated for signaling silent vehicles, e.g. for warning that a hybrid or electric vehicle is approaching
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q9/00Arrangement or adaptation of signal devices not provided for in one of main groups B60Q1/00 - B60Q7/00, e.g. haptic signalling
    • B60Q9/008Arrangement or adaptation of signal devices not provided for in one of main groups B60Q1/00 - B60Q7/00, e.g. haptic signalling for anti-collision purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements

Abstract

The application discloses a power amplifier debugging method, a sound generation device, equipment and a medium, wherein the power amplifier debugging method comprises the following steps: obtaining a first signal and a second signal based on the driving information currently transmitted by a vehicle bus and the parameter value of the sound source parameter under the full working condition, wherein the first signal represents a sound source signal of active sound waves, and the second signal represents a sound source signal of warning sounds; then, based on the playing effect of the loudspeaker inside the vehicle for playing the first sound and/or the playing effect of the loudspeaker outside the vehicle for playing the second sound, parameter values of the sound channel parameters of each sound channel of the power amplifier device under a plurality of working conditions are obtained through debugging; the first sound is obtained by processing the first signal through a first sound channel, the second sound is obtained by processing the second signal through a second sound channel, and the plurality of working conditions comprise at least one of warning sound working conditions and non-warning sound working conditions. According to the scheme, the power amplifier equipment can be debugged under the condition that the vehicle is simultaneously provided with the pedestrian warning sound system and the active sound wave system.

Description

Power amplifier debugging method, sound generation method, device, equipment and medium
Technical Field
The present application relates to the field of sound synthesis technologies, and in particular, to a power amplifier debugging method, a sound generating method, a device, an apparatus, and a medium.
Background
In recent years, new energy vehicles such as electric vehicles have been increasingly popular. However, in a real scene, new energy automobiles have more or less hidden dangers. The electric automobile is taken as an example, when the automobile runs at low speed, the pedestrian can not be sensed to pass by the electric automobile due to the fact that the automobile is too quiet, the pedestrian collision risk exists, the electric automobile can be provided with a pedestrian warning sound system for guaranteeing the safety of the pedestrian, and then the electric automobile can utilize the outer loudspeaker to send warning sound in the low-speed running process so as to achieve the purpose of reminding the pedestrian.
In addition, in order to improve the driving experience of a user, the electric automobile can be provided with the pedestrian warning sound system and the active sound wave system, and the pedestrian warning sound system and the active sound wave system are connected to the power amplifier. Thereby inevitably causing problems. In view of this, how to debug the power amplifier device becomes an urgent problem to be solved under the condition that the vehicle is simultaneously provided with the pedestrian warning sound system and the active sound wave system.
Disclosure of Invention
The technical problem mainly solved by the application is to provide a power amplifier debugging method, a sound generating method, a device, a system and a medium, which can debug power amplifier equipment under the condition that a pedestrian warning sound system and an active sound wave system are simultaneously configured on a vehicle.
In order to solve the above technical problem, a first aspect of the present application provides a play debugging method, including: obtaining a first signal and a second signal based on the driving information currently transmitted by the vehicle bus and the parameter values of the sound source parameters under the full working condition; the first signal represents a sound source signal of active sound waves, and the second signal represents a sound source signal of warning sounds; then, based on the playing effect of the loudspeaker in the vehicle for playing the first sound and/or the playing effect of the loudspeaker outside the vehicle for playing the second sound, parameter values of sound channel parameters of each sound channel of the power amplifier device under a plurality of working conditions are obtained through debugging; the first sound is obtained by processing the first signal through a first sound channel, the second sound is obtained by processing the second signal through a second sound channel, and the plurality of working conditions comprise at least one of warning sound working conditions and non-warning sound working conditions.
In order to solve the above technical problem, a second aspect of the present application provides a sound generation method, including: obtaining a sound wave signal and a warning sound signal based on the driving information currently transmitted by the vehicle bus and the parameter values of the sound source parameter under the whole working condition, and determining the current working condition of the power amplifier equipment based on the driving information; the sound wave signal represents a sound source signal of active sound waves, and the warning sound signal represents a sound source signal of warning sounds; processing the sound wave signal and/or the warning sound signal based on the parameter value of the sound channel parameter of the sound channel related to the current working condition in the power amplifier equipment to obtain the sound to be played; the sound to be played includes at least one of a sound wave to be played and a warning sound to be played, and the parameter value of the sound channel parameter is obtained based on the power amplifier debugging method of the first aspect.
In order to solve the above technical problem, a third aspect of the present application provides a power amplifier debugging device, including: the system comprises a sound source acquisition module and a parameter debugging module, wherein the sound source acquisition module is used for acquiring a first signal and a second signal based on driving information currently transmitted by a vehicle bus and parameter values of sound source parameters under all working conditions; the first signal represents a sound source signal of active sound waves, and the second signal represents a sound source signal of warning sounds; the parameter debugging module is used for obtaining parameter values of sound channel parameters of each sound channel of the power amplifier device under a plurality of working conditions through debugging based on the playing effect of the loudspeaker inside the vehicle for playing the first sound and/or the playing effect of the loudspeaker outside the vehicle for playing the second sound; the first sound is obtained by processing a first signal through a first sound channel, the second sound is obtained by processing a second signal through a second sound channel, and the plurality of working conditions comprise at least one of warning sound working conditions and non-warning sound working conditions.
In order to solve the above technical problem, a fourth aspect of the present application provides a sound generation apparatus comprising: the system comprises a signal acquisition module, a working condition determination module and a signal processing module, wherein the signal acquisition module is used for acquiring a sound wave signal and a warning sound signal based on the driving information currently transmitted by a vehicle bus and the parameter values of sound source parameters under all working conditions; the working condition determining module is used for determining the current working condition of the power amplifier equipment based on the driving information; the sound wave signal represents a sound source signal of active sound waves, and the warning sound signal represents a sound source signal of warning sounds; the signal processing module is used for processing the sound wave signal and/or the warning sound signal based on the parameter value of the sound channel parameter of the sound channel related to the current working condition in the power amplifier equipment to obtain the sound to be played; the sound to be played includes at least one of a sound wave to be played and a warning sound to be played, and the parameter value of the sound channel parameter is obtained based on the power amplifier debugging device of the third aspect.
In order to solve the above technical problem, a fifth aspect of the present application provides a power amplifier device, including a memory and a processor, which are coupled to each other, where the memory stores program instructions, and the processor is configured to execute the program instructions to implement the power amplifier debugging method of the first aspect, or to implement the sound generating method of the second aspect.
In order to solve the above technical problem, a sixth aspect of the present application provides a computer-readable storage medium, which stores program instructions executable by a processor, where the program instructions are used to implement the power amplifier debugging method of the first aspect or the sound generating method of the second aspect.
In the scheme, a first signal and a second signal are obtained based on the driving information and the parameter values of the sound source parameter transmitted by a vehicle bus at present under the full working condition, the first signal represents the sound source signal of active sound waves, the second signal represents the sound source signal of warning sound, and then the parameter values of the sound channel parameters of each sound channel of the power amplifier device under a plurality of working conditions are obtained by debugging based on the playing effect of the loudspeaker in the vehicle for playing the first sound and/or the playing effect of the loudspeaker outside the vehicle for playing the second sound, the first sound is obtained by processing the first signal through the first sound channel, the second sound is obtained by processing the second signal through the second sound channel, the plurality of working conditions comprise at least one of the working conditions of warning sound and the working condition of non-warning sound, on one hand, the sound source signal representing the active sound waves and the sound source signal representing the warning sound are obtained based on the parameter values of the driving information and the sound source parameter under the full working condition, the event compares in both and obtains saying based on different parameter generation, is favorable to reducing the debugging degree of difficulty and promotes debugging efficiency, and is favorable to making in the car and inside and outside acoustics performance more unified, and on the other hand, the parameter value under a plurality of operating modes respectively is debugged through the broadcast effect that the speaker plays first sound, second sound respectively outside the car to the sound channel parameter of each sound channel of power amplifier equipment, can debug power amplifier equipment as far as comprehensively. Therefore, the power amplifier can be debugged under the condition that the vehicle is simultaneously provided with the pedestrian warning sound system and the active sound wave system.
Drawings
Fig. 1 is a schematic flowchart of an embodiment of a power amplifier debugging method according to the present application;
FIG. 2 is a schematic flow chart diagram of an embodiment of the sound generation method of the present application;
fig. 3 is a schematic route diagram of an embodiment of a power amplifier debugging method according to the present application;
fig. 4 is a schematic diagram of a framework of an embodiment of a power amplifier debugging device according to the present application;
FIG. 5 is a block diagram of an embodiment of the sound generation apparatus of the present application;
fig. 6 is a schematic diagram of a framework of an embodiment of a power amplifier device of the present application;
fig. 7 is a block diagram of an embodiment of the multimedia system of the present application;
FIG. 8 is a block diagram of an embodiment of a computer-readable storage medium of the present application.
Detailed Description
The following describes in detail the embodiments of the present application with reference to the drawings attached hereto.
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular system structures, interfaces, techniques, etc. in order to provide a thorough understanding of the present application.
The terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship. Further, the term "plurality" herein means two or more than two.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an embodiment of a power amplifier debugging method according to the present application. Specifically, the method may include the steps of:
step S11: and obtaining a first signal and a second signal based on the driving information currently transmitted by the vehicle bus and the parameter value of the sound source parameter under the full working condition.
In one implementation scenario, the driving information may include specific information such as vehicle speed, rotation speed, accelerator pedal travel, torque, and the like, which is not limited herein. The driving information may be driving state information transmitted by a CAN bus (Controller Area Network), or driving information may also be driving state information transmitted by a CAN FD (CAN with Flexible Data-Rate), the acquired driving information may be acquired periodically, for example, the period may be preset to 20 milliseconds, that is, in the driving process of the vehicle, the driving information of the vehicle needs to be acquired every 20 milliseconds, if the driving information is in an urban road, because the environment is relatively complex, more changes may occur, and further, related information needs to be acquired frequently. The specific driving information obtaining manner and time may be selected according to actual conditions, and are not limited specifically herein.
In an implementation scenario, the sound source parameters include parameters related to a sound source signal of the active sound wave, and in order to obtain the first signal and the second signal based on the driving information currently transmitted by the vehicle bus and the parameter values of the sound source parameter under the full operating condition, the parameter values of the sound source parameters related to the sound source signal of the active sound wave under the full operating condition need to be obtained by debugging based on the sound quality condition that the in-vehicle speaker plays the active sound wave. The full working condition is that the vehicle is in each running stage of starting, idling and continuous acceleration. The active sound wave algorithm can be an active sound wave algorithm for simulating engine order noise or an active sound wave algorithm for particle synthesis, and if the active sound wave algorithm for simulating engine order noise is adopted, the sound source parameters can be orders, amplitude values of the orders along with the rotating speed and the like; in the case of the active sound wave algorithm of particle synthesis, the sound source parameters may be the length, the rate of change value, the amplitude, etc. of each sound particle. No matter which active sound wave algorithm is adopted, sound source parameters need to be calibrated according to CAN signals of the electric automobile. In the debugging process, the in-vehicle speakers are turned on and the out-vehicle speakers are turned off in a full-working-condition environment, for example, the channel parameters of each channel of the in-vehicle speakers may be set to default values, for example, the gain is all unit 1, the delay is all set to 0 millisecond, and the filters all adopt a band-pass mode. At this time, the debugging parameters may be orders, rotation amplitudes, and the like, the tone quality of the active sound wave sound played by the loudspeaker in the vehicle is adjusted by adjusting the parameters, when the parameter value is adjusted to a certain parameter value, the sound is in a preset destination state, the preset destination state may be set to have acceleration feeling, dynamic feeling, and the like of a sports car, the preset destination state may also be set to have booming sound, gearbox pause and the like of a gasoline car, and the preset destination state may be selected according to actual conditions, which is not specifically limited herein. It should be noted that if the active sound wave algorithm of particle synthesis is adopted, it is also necessary to subjectively evaluate whether the switching of each sound particle is smooth or not. According to the mode, the parameter values of the sound source parameters under all working conditions are obtained through debugging, and the experience feeling in the driving process is promoted.
In a specific implementation scene, the active sound wave system can compensate and enhance the primary order sound of the engine, so that a driver can experience powerful sound feedback through the active sound wave system, and the active sound wave system can be used in a vehicle or outside the vehicle. The active sound wave system also has a unique sound synthesis algorithm which can correlate information such as an accelerator, a vehicle speed, a rotating speed, gears and the like, so that the sound is more continuous and real, and various types of engine sound can be synthesized without changing any original vehicle data. The user can enhance various different sounds according to the preference, and further the vehicle control feeling and the experience feeling are more scientific and technical.
In an implementation scenario, after obtaining the parameter values of the sound source parameters of the active sound waves under the full operating condition, the original sound wave signals can be generated and obtained based on the driving information currently transmitted by the vehicle bus and the parameter values of the sound source parameters under the full operating condition, and in order to obtain the first signals and the second signals, the parameter values of the sound source parameters under the full operating condition and the currently transmitted driving information; and then branching is carried out based on the original sound wave signal to obtain a first signal and a second signal, wherein the first signal represents the sound source signal of the active sound wave, and the second signal represents the sound source signal of the warning sound. It should be noted that, when designing sound, the active sound wave algorithm needs to be designed according to the in-vehicle NVH (Noise, Vibration, Harshness: Noise, Vibration, and Harshness) characteristics of the original electric vehicle, so as to achieve the purpose of improving the quality of the sound source, and therefore, the active sound wave effects of different vehicle types are different and have certain uniqueness. However, if the pedestrian warning sound is designed by means of the active sound wave algorithm, the characteristic is inherited, so that the acoustic performance of the electric automobile inside and outside the automobile is more uniform, and the differentiation of products is better highlighted. In the mode, the first signal and the second signal are derived from the same original sound wave signal, so that in the acquisition process, the energy is not required to be put on the problem of designing the warning sound of the pedestrian, more attention is paid to whether the warning sound outside the vehicle meets the relevant standard or not and whether the active sound wave sound in the vehicle reaches the expected design target or not when the loudspeaker outside the vehicle and the loudspeaker in the vehicle play sound simultaneously under the working condition of the warning sound of the pedestrian.
Step S12: based on the playing effect of the loudspeaker inside the vehicle playing the first sound and/or the playing effect of the loudspeaker outside the vehicle playing the second sound, parameter values of the sound channel parameters of each sound channel of the power amplifier device under a plurality of working conditions are obtained through debugging.
In the embodiment of the disclosure, first sound is obtained through the processing of first sound channel by first signal, the second sound is obtained through the processing of second sound channel by the second signal, a plurality of operating modes include at least one of warning sound operating mode, non-warning sound operating mode, wherein, the warning sound operating mode can be pedestrian warning sound operating mode, the broadcast effect of the corresponding sound of speaker broadcast in the interior and the outside of the car that need to debug under the pedestrian warning sound operating mode, the broadcast effect of the first sound of speaker broadcast in the non-warning sound operating mode need to debug the car.
In an implementation scene, the sound channel parameters comprise a signal-to-noise ratio parameter, a distortion factor parameter and a sound channel separation factor parameter, under the condition of a warning sound working condition, the sound channel parameters are debugged to obtain the parameter values of the sound channel parameters of each sound channel of the power amplifier under a plurality of working conditions respectively based on the playing effect of playing a first sound by a loudspeaker inside the vehicle and/or the playing effect of playing a second sound by a loudspeaker outside the vehicle, firstly, the signal-to-noise ratio parameter, the distortion factor parameter and the sound channel separation factor parameter of the second sound channel under the condition of the warning sound working condition are debugged to obtain the parameter values of the sound channel parameters of the second sound channel under the plurality of working conditions; based on the broadcast effect of speaker broadcast sound simultaneously outside car and the car in the car, when speaker broadcast sound simultaneously outside car and the car in the car, the first sound of speaker broadcast in the car, and the third sound of speaker broadcast outside the car is debugged and is obtained the parameter value of signal to noise ratio parameter, distortion factor parameter and sound channel separation degree parameter of first sound channel under the condition of warning sound operating mode. The signal-to-noise ratio is a ratio of a signal to noise, and since the power amplifier itself generates noise, the smaller the noise is, the better the noise is, that is, the higher the signal-to-noise ratio parameter is, the better the noise is. The distortion degree is the distortion generated by the power amplifier in amplifying signals, and the smaller the distortion degree parameter is, the better the distortion degree parameter is. The channel separation degree refers to the separation degree between channels in a multi-channel power amplifier, and the low channel separation degree parameter can cause crosstalk between the channels, so the higher the channel separation degree parameter is, the better the channel separation degree parameter is.
In an implementation scene, the sound channel parameters include a gain parameter, a delay parameter and a bandwidth parameter, under the condition of a warning sound working condition, based on a playing effect of a loudspeaker inside a vehicle playing a first sound and/or a playing effect of a loudspeaker outside the vehicle playing a second sound, in order to obtain parameter values of the sound channel parameters of each sound channel of the power amplifier under a plurality of working conditions through debugging, firstly, based on the playing effect of the loudspeaker outside the vehicle playing the second sound, the parameter values of the gain parameter and the bandwidth parameter of the second sound channel under the condition of the warning sound working condition are obtained through debugging; obtaining a third sound based on the second signal and the parameter values of the gain parameter and the bandwidth parameter obtained by debugging the second channel; based on the broadcast effect of speaker broadcast sound simultaneously outside car and the car in the car, when speaker broadcast sound simultaneously outside car and the car in the car, the first sound of speaker broadcast in the car, the third sound of speaker broadcast outside the car, debug and obtain the gain parameter of first sound channel under the condition of warning sound operating mode, the parameter value of delay parameter and bandwidth parameter, and the parameter value of the delay parameter of second sound channel under the condition of warning sound operating mode, the size of sound can be influenced in the gain, the richness of sound frequency can be reflected to the bandwidth. In the mode, the corresponding parameters are debugged through the sound playing effect, so that the interference of the outside of the vehicle to the inside of the vehicle during the running of the vehicle is reduced as much as possible.
In a specific implementation scenario, parameter values of a gain parameter and a bandwidth parameter of the second channel under the condition of the warning sound working condition can be obtained through debugging based on the playing effect of the loudspeaker outside the vehicle to play the second sound. As described above, the driving information and the parameter value of the sound source parameter transmitted by the vehicle bus at present under the full operating condition are determined, and the playing sound quality of the second sound played by the external speaker can be regarded as determined, in the process, the internal speaker of the vehicle is turned off, the external speaker of the vehicle is turned on, and the parameter values of the gain parameter and the bandwidth parameter of the second channel under the condition of the warning sound operating condition can be obtained through debugging through various testing requirements in the setting standard, so that the interference of the external sound to the internal sound of the vehicle is reduced as much as possible, and the direction sense of the sound wave can be transmitted based on an ideal direction, for example, the direction sense of the sound wave can be transmitted from the engine compartment, the specific direction is not limited here, and can be set according to the actual situation.
Further, a third sound is obtained based on the second signal and the parameter values of the gain parameter and the bandwidth parameter obtained by debugging the second channel, and the third sound is a sound obtained by debugging the gain parameter and the bandwidth parameter and not debugging the delay parameter. In the process, because the delay can influence the feeling in the vehicle, the cooperative adjustment between the interior of the vehicle and the exterior of the vehicle is needed, the parameter values of the gain parameter and the bandwidth parameter of the second channel under the condition of the warning sound working condition are obtained through debugging, and the debugging effect of the warning sound outside the vehicle can be further improved.
In one implementation scenario, the playing effect of the external speaker playing the second sound includes: meeting the preset standard when the loudspeaker outside the vehicle plays the second sound; it should be noted that the preset standard can meet various requirements in the standard of GB/T37153-2018 "low speed warning sound of electric vehicle", that is, can achieve the effect of warning pedestrians, and can also meet the mandatory standard of noise during the driving of the vehicle, and the preset standard can be set according to the actual situation, and is not specifically limited herein. The broadcast effect that speaker and the outer speaker of car broadcast sound simultaneously in the car includes: the direction of sound waves when the speaker inside the car and the speaker outside the car play sound simultaneously, and whether there is third sound in the car when the speaker inside the car and the speaker outside the car play sound simultaneously. Specifically, the sound wave direction when speaker and the outer speaker of car broadcast sound simultaneously in the car can set up according to actual conditions, can simulate the pronunciation position of oil truck, and then makes driver and crew's experience feel stronger. Illustratively, the simulation of the active sound wave effect of the front engine enables the driver and passengers to listen to the sound by eyes in the vehicle by adjusting relevant parameters, and the sound can be subjectively sensed to be transmitted from the engine compartment instead of from the loudspeaker in the vehicle. Whether the third sound exists in the automobile can judge the influence of the sound outside the automobile on the driver and passengers in the automobile, and the third sound can be debugged according to actual conditions, so that the influence of the outside of the automobile on the inside of the automobile is as small as possible. In the mode, the playing effect of the sound corresponding to the loudspeaker is limited, so that the playing effect of the loudspeaker outside or inside the vehicle is better, and the interference of the outside of the vehicle to the inside of the vehicle during the running of the vehicle can be reduced as much as possible.
In an implementation scenario, under the condition of a non-warning sound working condition, parameter values of parameters of each sound channel of a first sound channel are obtained through debugging based on a playing effect of a loudspeaker in a vehicle playing first sound under the condition of the non-warning sound working condition. Specifically, in the process of parameter debugging, the loudspeaker outside the vehicle is closed, the loudspeaker inside the vehicle is opened, and only the parameters corresponding to the loudspeaker inside the vehicle are adjusted. By means of the method, the parameter values of the sound channel parameters under the condition of the non-warning sound working condition are debugged, and the experience feeling of drivers and passengers in the driving process of the vehicle is facilitated.
Further, the playing effect of the first sound played by the in-vehicle speaker may include a sound wave direction of the in-vehicle speaker when playing the first sound, and specifically, the sound wave direction of the in-vehicle speaker when playing the first sound may enable the experience effect of the driver and the crew to be better in the vehicle driving process.
In an implementation scene, the number of first sound channels contained in the power amplifier equipment is not less than that of loudspeakers in the vehicle; the number of the second channels contained by the power amplifier equipment is not less than that of the loudspeakers outside the vehicle. Exemplarily, the number of sound channels included in the power amplifier device is the same as the number of corresponding speakers, sound is played through a single sound channel during playing, the corresponding sound can clearly sense the volume and the tone, and the represented sound is distorted; the power amplifier equipment comprises the same number of sound channels as the corresponding loudspeakers, the sound played by the multiple sound channels can feel the source and the specific position of the sound, the sound can be controlled at different positions through the multiple sound channels, and signals are added to the sound at a certain angle, so that the sound has more stereoscopic impression and has more substituted feeling when being used. The number of channels and the number of corresponding speakers may be selected according to actual conditions, and are not particularly limited herein. According to the mode, the number of the sound channels contained by the power amplifier equipment is different, so that the playing effect of the loudspeaker playing is better, and the experience of drivers and passengers is stronger.
In the scheme, a first signal and a second signal are obtained based on the driving information and the parameter values of the sound source parameter transmitted by a vehicle bus at present under the full working condition, the first signal represents the sound source signal of active sound waves, the second signal represents the sound source signal of warning sound, and then the parameter values of the sound channel parameters of each sound channel of the power amplifier device under a plurality of working conditions are obtained by debugging based on the playing effect of the loudspeaker in the vehicle for playing the first sound and/or the playing effect of the loudspeaker outside the vehicle for playing the second sound, the first sound is obtained by processing the first signal through the first sound channel, the second sound is obtained by processing the second signal through the second sound channel, the plurality of working conditions comprise at least one of the working conditions of warning sound and the working condition of non-warning sound, on one hand, the sound source signal representing the active sound waves and the sound source signal representing the warning sound are obtained based on the parameter values of the driving information and the sound source parameter under the full working condition, the event compares in both and obtains saying based on different parameter generation, is favorable to reducing the debugging degree of difficulty and promotes debugging efficiency, and is favorable to making in the car and inside and outside acoustics performance more unified, and on the other hand, the parameter value under a plurality of operating modes respectively is debugged through the broadcast effect that the speaker plays first sound, second sound respectively outside the car to the sound channel parameter of each sound channel of power amplifier equipment, can debug power amplifier equipment as far as comprehensively. Therefore, the power amplifier can be debugged under the condition that the vehicle is simultaneously provided with the pedestrian warning sound system and the active sound wave system.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a sound generating method according to an embodiment of the present application. Specifically, the method may include the steps of:
step S21: and obtaining a sound wave signal and a warning sound signal based on the driving information currently transmitted by the vehicle bus and the parameter values of the sound source parameters under the full working condition.
Specifically, an original sound wave signal may be generated and obtained based on parameter values of each sound source parameter under all operating conditions and the currently transmitted driving information, and the original sound wave signal is split, where one path is used as a final sound wave signal and the other path is used as a warning sound signal, which may specifically refer to the relevant description about generating the first signal and the second signal in the foregoing power amplifier debugging method embodiment, and is not described herein again.
Step S22: and determining the current working condition of the power amplifier equipment based on the driving information.
In an implementation scenario, the driving information may include a vehicle speed, a rotation speed, a travel of an accelerator pedal, a torque, and the like, and exemplarily, the current operating condition of the power amplifier device is determined by the vehicle speed, if the vehicle speed is higher than 25km/h, the current operating condition of the power amplifier device is determined to be an inaudible tone operating condition, and if the vehicle speed is lower than 25km/h and higher than 0km/h, the current operating condition of the power amplifier device is determined to be an alarming tone operating condition. The current working condition of the power amplifier equipment can be judged according to the actual condition, and is not particularly limited.
Step S23: and processing the sound wave signal and/or the warning sound signal based on the parameter value of the sound channel parameter of the sound channel related to the current working condition in the power amplifier equipment to obtain the sound to be played.
In an implementation scenario, in response to that the current working condition is a warning sound working condition, a sound wave signal is processed based on a parameter value of a sound channel parameter of a first sound channel in the power amplifier device under the warning sound working condition to obtain a sound wave to be played, and a warning sound signal is processed based on a parameter value of a sound channel parameter of a second sound channel in the power amplifier device under the warning sound working condition to obtain a warning sound to be played. Illustratively, when the current working condition is a warning sound working condition, the playing sound comprises a to-be-played sound wave and a to-be-played warning sound, the to-be-played sound wave is played by a loudspeaker in the vehicle, and the to-be-played warning sound is played by a loudspeaker outside the vehicle. Referring to fig. 3, fig. 3 is a schematic route diagram of an embodiment of the power amplifier debugging method of the present application, as shown in fig. 3, in a driving process of a vehicle, the electric vehicle sends a CAN signal (mainly including a vehicle speed, a rotation speed, an accelerator pedal stroke, a torque, and the like) to the power amplifier device, it is to be noted that the driving signal includes the CAN signal, and a period of acquiring the CAN signal may be greater than or equal to 20 milliseconds, and a period of calculating the sound source signal corresponding to the active sound wave algorithm may be determined according to a sound playing speed, which may be 1/48000 seconds, 1/44100 seconds, or other fixed values, for example. Because the sounds of the pedestrian warning Sound System (AVAS) and the Active Sound wave System (ASD) originate from the same Sound source, the pedestrian warning Sound algorithm does not need to be additionally added, the Sound source signal calculated by the Active Sound wave algorithm can be directly utilized, the Sound source signal is divided into two parts, Active Sound wave processing and pedestrian warning Sound processing are respectively carried out, the processed Sound signals are respectively sent to corresponding Sound channels, and at the moment, each Sound channel is provided with an independent gain module, a delay module and a filtering module. The first signal represents a sound source signal of the active sound wave, the gain parameter, the delay parameter and the filtering parameter of the active sound wave are respectively debugged, the volume, the phase and the bandwidth played by different loudspeakers in the vehicle are adjusted, and finally, the final sound wave effect is sent out by the loudspeakers in the vehicle. The second signal represents the sound source signal of warning sound, is exclusively used in the processing of pedestrian warning sound outside the car, and through the gain parameter to this sound source signal, delay parameter and filtering parameter debug, volume size, phase place and the bandwidth of this sound source signal of different speakers broadcast outside the car are adjusted, are sent by the loudspeaker outside the car at last to remind the pedestrian. It should be noted that, under the working condition of warning sound, when the gain parameter and the filter parameter of the sound source signal of the warning sound are debugged, the active sound wave system is turned off, the pedestrian warning sound system is turned on, when the delay parameter of the sound source signal of the warning sound and the sound source signal parameter of the active sound wave are debugged, the active sound wave system is turned on, and the pedestrian warning sound system is turned on; under the working condition of non-warning sound, when the sound source signal parameters of the active sound waves are debugged, the active sound wave system is started, and at the moment, the pedestrian warning sound system does not participate in the debugging work. Under the warning sound operating mode, the speaker broadcast sound wave in the car, the speaker broadcast warning sound outside the car to sound is all broadcast from corresponding preset position, and the driver and crew hears the interference that the sound wave sound can not receive the warning sound outside the car when the warning sound satisfies preset standard outside the car. By means of the mode, the safety of the vehicle in the running process is improved and the experience of drivers and passengers is improved through playing sound under the current working condition.
In another implementation scenario, in response to that the current working condition is a non-warning sound working condition, the sound wave signal is processed based on the parameter value of the sound channel parameter of the first sound channel in the power amplifier device under the non-warning sound working condition, so as to obtain the sound wave to be played. Illustratively, when the current working condition is a non-warning sound working condition, the playing sound comprises the sound waves to be played, and the sound waves to be played are played by a loudspeaker in the vehicle. Referring to fig. 3, as shown in fig. 3, under the non-warning sound condition, the speaker in the vehicle plays the sound wave, and the sound wave sound is played from the preset position. By means of the mode, the safety of the vehicle in the running process is improved and the experience of drivers and passengers is improved through playing sound under the current working condition.
According to the scheme, based on the driving information and the parameter value of the sound source parameter transmitted by the vehicle bus at present under the full working condition, a sound wave signal and a warning sound signal are obtained, the sound wave signal represents the sound source signal of the active sound wave, the warning sound signal represents the sound source signal of the warning sound, meanwhile, based on the driving information, the current working condition of the power amplifier equipment is determined, based on the current working condition, the sound wave signal and/or the warning sound signal are processed based on the parameter value of the sound channel parameter of the sound channel related to the current working condition in the power amplifier equipment, the sound to be played is obtained, the sound to be played comprises at least one of the sound wave to be played and the warning sound to be played, the parameter value of the sound channel parameter is obtained based on the embodiment of the power amplifier debugging method, on one hand, because the sound source signal representing the active sound wave and the sound source signal representing the warning sound are obtained based on the driving information and the parameter value of the sound source parameter under the full working condition, compared with the two types of sound channel parameters generated based on different parameters, the sound channel parameters of the power amplifier equipment are obtained based on the power amplifier debugging method, so that the debugging difficulty is reduced, the debugging efficiency is improved, the acoustic performance inside and outside the vehicle is more uniform, and on the other hand, various problems such as mixed sound inside and outside the vehicle and the like generated when the active sound wave system and the pedestrian warning sound system are simultaneously integrated in the vehicle can be reduced as much as possible. Therefore, the sound playing effect can be improved under the condition that the vehicle is simultaneously provided with the pedestrian warning sound system and the active sound wave system.
Referring to fig. 4, fig. 4 is a schematic diagram of a framework of an embodiment of a power amplifier debugging device according to the present application. The power amplifier debugging device 40 includes: the system comprises a sound source obtaining module 41 and a parameter debugging module 42, wherein the sound source obtaining module 41 is used for obtaining a first signal and a second signal based on driving information currently transmitted by a vehicle bus and parameter values of sound source parameters under all working conditions; the first signal represents a sound source signal of active sound waves, and the second signal represents a sound source signal of warning sounds; the parameter debugging module 42 is configured to obtain, through debugging, parameter values of channel parameters of each channel of the power amplifier device under a plurality of working conditions based on a playing effect of the speaker inside the vehicle playing the first sound and/or a playing effect of the speaker outside the vehicle playing the second sound; the first sound is obtained by processing the first signal through a first sound channel, the second sound is obtained by processing the second signal through a second sound channel, and the plurality of working conditions comprise at least one of warning sound working conditions and non-warning sound working conditions.
Above-mentioned scheme, on the one hand because the sound source signal that represents the initiative sound wave and the sound source signal that represents warning sound all obtain based on the parameter value of driving information and sound source parameter under full operating mode, so compare in both and generate based on different parameters and obtain saying, be favorable to reducing the debugging degree of difficulty and promote debugging efficiency, and be favorable to making in the car and inside and outside acoustics performance more unified, on the other hand, through in the car, first sound is broadcast respectively to the loudspeaker outside the car, the play effect of second sound debugs the parameter value of each sound channel of power amplifier respectively under a plurality of operating modes, can debug power amplifier as far as possible comprehensively. Therefore, the power amplifier can be debugged under the condition that the vehicle is simultaneously provided with the pedestrian warning sound system and the active sound wave system.
In some disclosed embodiments, the sound channel parameters include a gain parameter, a delay parameter and a bandwidth parameter, and in the case of the warning sound condition, the parameter debugging module 42 includes a first debugging sub-module, where the first debugging sub-module is configured to obtain parameter values of the gain parameter and the bandwidth parameter of the second sound channel in the case of the warning sound condition through debugging based on a playing effect of the external speaker playing the second sound; the parameter debugging module 42 includes a determining sub-module, and the determining sub-module is configured to obtain a third sound based on the second signal and parameter values of the gain parameter and the bandwidth parameter obtained by debugging the second channel; the parameter debugging module 42 further includes a selection submodule, where the selection submodule is configured to, based on a playing effect that the in-vehicle speaker and the out-vehicle speaker simultaneously play sound, debug to obtain parameter values of a gain parameter, a delay parameter, and a bandwidth parameter of the first channel under the condition of the warning sound, and parameter values of a delay parameter of the second channel under the condition of the warning sound; and when the loudspeaker plays sound simultaneously outside car interior speaker and car, the first sound of speaker broadcast in the car, and the third sound of speaker broadcast outside the car.
Therefore, the corresponding parameters are debugged through the playing effect of the sound, and the power amplifier equipment is debugged as comprehensively as possible.
In some disclosed embodiments, the playback effect of the second sound played by the off-board speaker includes: meeting the preset standard when the loudspeaker outside the vehicle plays the second sound; and/or the playing effect that the loudspeaker inside the vehicle and the loudspeaker outside the vehicle simultaneously play the sound comprises the following steps: the direction of sound waves when the speaker inside the vehicle and the speaker outside the vehicle play sound simultaneously, and whether a third sound exists inside the vehicle when the speaker inside the vehicle and the speaker outside the vehicle play sound simultaneously.
Therefore, the playing effect of the sound corresponding to the loudspeaker is limited, so that the playing effect of the loudspeaker outside the vehicle or inside the vehicle is better, and the interference of the outside of the vehicle to the inside of the vehicle during the running of the vehicle can be reduced as much as possible.
In some disclosed embodiments, under the condition of the non-warning sound, the parameter debugging module 42 further includes a second debugging sub-module, where the second debugging sub-module is configured to obtain, through debugging, the parameter value of each channel parameter of the first channel under the condition of the non-warning sound based on the playing effect of the first sound played by the in-vehicle speaker.
Therefore, the experience of drivers and passengers in the driving process of the vehicle is facilitated by debugging the parameter values of the parameters of each sound channel under the working condition of the non-warning sound.
In some disclosed embodiments, the playback effect of the in-vehicle speaker playing the first sound includes: the direction of the sound wave when the speaker in the vehicle plays the first sound.
Therefore, the sound wave direction when the first sound is played through the loudspeaker in the vehicle can ensure that the experience effect of the driver and the passenger is better in the running process of the vehicle.
In some disclosed embodiments, the sound source parameters include various parameters related to a sound source signal of the active sound waves, and the power amplifier debugging device 40 further includes a first debugging module, where the first debugging module is configured to debug and obtain parameter values of the sound source parameters related to the sound source signal of the active sound waves under all operating conditions based on a sound quality condition of the active sound waves played by a speaker in the vehicle.
Therefore, the parameter values of the sound source parameters under all working conditions are obtained through debugging, and the experience feeling in the driving process is promoted.
In some disclosed embodiments, the sound source obtaining module 41 includes a generating sub-module, and the generating sub-module is configured to generate and obtain an original sound wave signal based on the parameter value and the driving information of each sound source parameter under the full working condition; the sound source obtaining module 41 further includes a splitting sub-module, and the splitting sub-module is configured to split based on the original sound wave signal to obtain a first signal and a second signal.
Therefore, the first signal and the second signal are derived from the same original sound wave signal, so that in the acquisition process, the energy is not required to be put on the problem of designing the pedestrian warning sound, more attention is paid to whether the external warning sound meets the relevant standard or not and whether the active sound wave sound in the vehicle reaches the expected design target or not when the external loudspeaker and the internal loudspeaker play sound simultaneously under the working condition of the pedestrian warning sound.
In some disclosed embodiments, the number of the first sound channels contained in the power amplifier device is not less than the number of the loudspeakers in the vehicle; and/or the number of the second channels contained in the power amplifier equipment is not less than that of the loudspeakers outside the vehicle.
Therefore, the number of the sound channels contained in the power amplifier equipment is different, so that the playing effect of the loudspeaker playing is better, and the experience of drivers and passengers is stronger.
Referring to fig. 5, fig. 5 is a schematic diagram of a frame of an embodiment of a sound generating apparatus according to the present application. The sound generation device 50 includes: the system comprises a signal acquisition module 51, a working condition determination module 52 and a signal processing module 53, wherein the signal acquisition module 51 is used for acquiring a sound wave signal and a warning sound signal based on the driving information currently transmitted by a vehicle bus and the parameter values of sound source parameters under all working conditions; the working condition determining module 52 is configured to determine a current working condition of the power amplifier device based on the driving information; the sound wave signal represents a sound source signal of active sound waves, and the warning sound signal represents a sound source signal of warning sounds; the signal processing module 53 is configured to process the sound wave signal and/or the warning sound signal based on the parameter value of the sound channel parameter of the sound channel related to the current working condition in the power amplifier device, so as to obtain a sound to be played.
According to the scheme, on one hand, the sound source signal representing the active sound waves and the sound source signal representing the warning sound are obtained based on the driving information and the parameter values of the sound source parameters under the full working condition, so that compared with the situation that the sound source signals and the sound source signals are generated based on different parameters, the debugging difficulty is favorably reduced, the debugging efficiency is favorably improved, the acoustic performance inside and outside the vehicle is favorably more uniform, on the other hand, the sound channel parameters of the power amplifier device are obtained based on the power amplifier debugging method embodiment, and various problems such as the mixed sound inside and outside the vehicle and the like generated when the active sound wave system and the pedestrian warning sound system are simultaneously integrated in the vehicle can be reduced as much as possible. Therefore, the sound playing effect can be improved under the condition that the vehicle is simultaneously provided with the pedestrian warning sound system and the active sound wave system.
In some disclosed embodiments, the signal processing module 53 includes a first determining sub-module, where the first determining sub-module is configured to, in response to that the current working condition is a warning sound working condition, process a sound wave signal based on a parameter value of a sound channel parameter of a first sound channel in the power amplifier device under the warning sound working condition to obtain a sound wave to be played, and process a warning sound signal based on a parameter value of a sound channel parameter of a second sound channel in the power amplifier device under the warning sound working condition to obtain a warning sound to be played; the signal processing module 53 further includes a second determining submodule, where the second determining submodule is configured to process a sound wave signal based on a parameter value of a sound channel parameter of a first sound channel in the power amplifier device under the non-warning sound condition in response to that the current working condition is the non-warning sound working condition, so as to obtain a sound wave to be played.
Therefore, the safety of the vehicle in the running process is improved and the experience of drivers and passengers is improved by playing the sound under the current working condition.
Referring to fig. 6, fig. 6 is a schematic diagram of a framework of an embodiment of a power amplifier device according to the present application. The power amplifier device 60 includes a memory 61 and a processor 62 coupled to each other, where the memory 61 stores program instructions, and the processor 62 is configured to execute the program instructions to implement any one of the power amplifier debugging methods or any one of the sound generating method embodiments described above.
Specifically, the processor 62 is configured to control itself and the memory 61 to implement the steps in any power amplifier debugging method or any sound generation method embodiment described above. The processor 62 may also be referred to as a CPU (Central Processing Unit). The processor 62 may be an integrated circuit chip having signal processing capabilities. The Processor 62 may also be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor 62 may be collectively implemented by an integrated circuit chip.
Above-mentioned scheme, on the one hand because the sound source signal that represents the initiative sound wave and the sound source signal that represents warning sound all obtain based on the parameter value of driving information and sound source parameter under full operating mode, so compare in both and generate based on different parameters and obtain saying, be favorable to reducing the debugging degree of difficulty and promote debugging efficiency, and be favorable to making in the car and inside and outside acoustics performance more unified, on the other hand, through in the car, first sound is broadcast respectively to the loudspeaker outside the car, the play effect of second sound debugs the parameter value of each sound channel of power amplifier respectively under a plurality of operating modes, can debug power amplifier as far as possible comprehensively. Therefore, the power amplifier can be debugged under the condition that the vehicle is simultaneously provided with the pedestrian warning sound system and the active sound wave system.
Referring to fig. 7, fig. 7 is a block diagram of an embodiment of a multimedia system of the present application. The multimedia system 70 comprises an in-car speaker 71, an out-car speaker 72 and the power amplifier device 60 in the aforementioned embodiments of the power amplifier device. The speaker 71 inside the vehicle is used for playing active sound waves, the speaker 72 outside the vehicle is used for playing warning sounds, and the speaker 71 inside the vehicle and the speaker 72 outside the vehicle are both connected with the power amplifier 60. In addition, multimedia systems may also include, but are not limited to: a display (not shown), a camera (not shown), a microphone (not shown), and the like, but are not limited thereto.
Above-mentioned scheme, on the one hand because the sound source signal that represents the initiative sound wave and the sound source signal that represents warning sound all obtain based on the parameter value of driving information and sound source parameter under full operating mode, so compare in both and generate based on different parameters and obtain saying, be favorable to reducing the debugging degree of difficulty and promote debugging efficiency, and be favorable to making in the car and inside and outside acoustics performance more unified, on the other hand, through in the car, first sound is broadcast respectively to the loudspeaker outside the car, the play effect of second sound debugs the parameter value of each sound channel of power amplifier respectively under a plurality of operating modes, can debug power amplifier as far as possible comprehensively. Therefore, the power amplifier can be debugged under the condition that the vehicle is simultaneously provided with the pedestrian warning sound system and the active sound wave system.
Referring to fig. 8, fig. 8 is a block diagram illustrating an embodiment of a computer readable storage medium 80 according to the present application. The computer readable storage medium 80 stores program instructions 81 capable of being executed by the processor, and the program instructions 81 are used for implementing steps in any one of the above power amplifier debugging methods or any one of the sound generation method embodiments.
Above-mentioned scheme, on the one hand because the sound source signal that represents the initiative sound wave and the sound source signal that represents warning sound all obtain based on the parameter value of driving information and sound source parameter under full operating mode, so compare in both and generate based on different parameters and obtain saying, be favorable to reducing the debugging degree of difficulty and promote debugging efficiency, and be favorable to making in the car and inside and outside acoustics performance more unified, on the other hand, through in the car, first sound is broadcast respectively to the loudspeaker outside the car, the play effect of second sound debugs the parameter value of each sound channel of power amplifier respectively under a plurality of operating modes, can debug power amplifier as far as possible comprehensively. Therefore, the power amplifier can be debugged under the condition that the vehicle is simultaneously provided with the pedestrian warning sound system and the active sound wave system.
In some embodiments, functions of or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and specific implementation thereof may refer to the description of the above method embodiments, and for brevity, will not be described again here.
The foregoing description of the various embodiments is intended to highlight various differences between the embodiments, and the same or similar parts may be referred to each other, and for brevity, will not be described again herein.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some interfaces, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (9)

1. A power amplifier debugging method is characterized by comprising the following steps:
obtaining a first signal and a second signal based on the driving information currently transmitted by the vehicle bus and the parameter values of the sound source parameters under the full working condition; wherein the first signal represents a source signal of an active sound wave and the second signal represents a source signal of a warning sound;
based on the playing effect of the loudspeaker inside the vehicle for playing the first sound and/or the playing effect of the loudspeaker outside the vehicle for playing the second sound, parameter values of sound channel parameters of each sound channel of the power amplifier device under a plurality of working conditions are obtained through debugging; the first sound is obtained by processing the first signal through a first sound channel, the second sound is obtained by processing the second signal through a second sound channel, and the plurality of working conditions comprise at least one of warning sound working conditions and non-warning sound working conditions;
wherein, the sound channel parameter includes gain parameter, delay parameter and bandwidth parameter warning sound condition's under, based on the broadcast effect of the first sound of speaker broadcast in the car and/or the broadcast effect of the second sound of speaker broadcast outside the car, the debugging obtains the parameter value under a plurality of kinds of operating mode respectively of the sound channel parameter of each sound channel of power amplifier equipment, includes:
based on the playing effect of the loudspeaker outside the vehicle for playing the second sound, parameter values of a gain parameter and a bandwidth parameter of the second channel under the condition of the warning sound working condition are obtained through debugging;
obtaining a third sound based on the second signal and parameter values of a gain parameter and a bandwidth parameter obtained by debugging the second channel;
based on the playing effect that the loudspeaker inside the vehicle and the loudspeaker outside the vehicle simultaneously play sound, parameter values of a gain parameter, a delay parameter and a bandwidth parameter of the first sound channel under the condition of the warning sound working condition and parameter values of a delay parameter of the second sound channel under the condition of the warning sound working condition are obtained through debugging; when the loudspeaker in the vehicle and the loudspeaker outside the vehicle play sound at the same time, the loudspeaker in the vehicle plays the first sound, and the loudspeaker outside the vehicle plays the third sound.
2. The method according to claim 1, wherein in the case of the non-warning sound condition, the parameter value of each channel parameter of the first channel in the case of the non-warning sound condition is obtained by debugging based on the playing effect of the in-vehicle speaker playing the first sound.
3. The method of claim 1, wherein the sound source parameters comprise parameters related to the sound source signal of the active sound wave, and before the obtaining of the first signal and the second signal based on the driving information currently transmitted by the vehicle bus and the parameter values of the sound source parameter under the full operating condition, the method further comprises:
and debugging and obtaining the parameter values of each sound source parameter related to the sound source signal of the active sound waves under the full working condition based on the sound quality condition of the active sound waves played by the loudspeaker in the vehicle.
4. The method of claim 1, wherein obtaining the first signal and the second signal based on the driving information currently transmitted by the vehicle bus and the parameter values of the sound source parameters under all operating conditions comprises:
generating and obtaining original sound wave signals based on the parameter values of the sound source parameters under the full working conditions and the driving information;
and branching based on the original sound wave signal to obtain the first signal and the second signal.
5. A sound generation method, comprising:
obtaining a sound wave signal and a warning sound signal based on the driving information currently transmitted by the vehicle bus and the parameter value of the sound source parameter under the full working condition, and determining the current working condition of the power amplifier device based on the driving information; the sound wave signal represents a sound source signal of active sound waves, and the warning sound signal represents a sound source signal of warning sounds;
processing the sound wave signal and/or the warning sound signal based on the parameter value of the sound channel parameter of the sound channel related to the current working condition in the power amplifier equipment to obtain the sound to be played;
the sound to be played comprises at least one of sound waves to be played and warning sounds to be played, and the parameter value of the sound channel parameter is obtained based on the power amplifier debugging method of any one of claims 1 to 4.
6. A power amplifier debugging device is characterized by comprising:
the sound source acquisition module is used for obtaining a first signal and a second signal based on the driving information currently transmitted by the vehicle bus and the parameter values of the sound source parameters under all working conditions; wherein the first signal represents a source signal of an active sound wave and the second signal represents a source signal of a warning sound;
the parameter debugging module is used for obtaining parameter values of sound channel parameters of each sound channel of the power amplifier device under a plurality of working conditions through debugging based on the playing effect of the loudspeaker inside the vehicle for playing the first sound and/or the playing effect of the loudspeaker outside the vehicle for playing the second sound; the first sound is obtained by processing the first signal through a first sound channel, the second sound is obtained by processing the second signal through a second sound channel, and the plurality of working conditions comprise at least one of warning sound working conditions and non-warning sound working conditions;
the parameter debugging module comprises a first debugging submodule under the condition of the warning sound working condition, and the first debugging submodule is used for debugging to obtain the parameter values of the gain parameter and the bandwidth parameter of the second channel under the condition of the warning sound working condition on the basis of the playing effect of the loudspeaker outside the vehicle for playing the second sound; the parameter debugging module comprises a determining submodule, and the determining submodule is used for obtaining a third sound based on the second signal and the parameter values of the gain parameter and the bandwidth parameter which are obtained by debugging the second channel; the parameter debugging module further comprises a selection submodule, wherein the selection submodule is used for debugging and obtaining parameter values of a gain parameter, a delay parameter and a bandwidth parameter of a first sound channel under the condition of the warning sound working condition and parameter values of a delay parameter of a second sound channel under the condition of the warning sound working condition based on the playing effect that the loudspeaker inside the vehicle and the loudspeaker outside the vehicle play sound simultaneously; when the loudspeaker in the vehicle and the loudspeaker outside the vehicle play sound at the same time, the loudspeaker in the vehicle plays first sound, and the loudspeaker outside the vehicle plays third sound.
7. A sound generation device, comprising:
the signal acquisition module is used for acquiring a sound wave signal and a warning sound signal based on the driving information currently transmitted by the vehicle bus and the parameter values of the sound source parameters under the full working condition;
the working condition determining module is used for determining the current working condition of the power amplifier equipment based on the driving information; the sound wave signal represents a sound source signal of active sound waves, and the warning sound signal represents a sound source signal of warning sounds;
the signal processing module is used for processing the sound wave signal and/or the warning sound signal based on the parameter value of the sound channel parameter of the sound channel related to the current working condition in the power amplifier equipment to obtain sound to be played;
the sound to be played includes at least one of a sound wave to be played and a warning sound to be played, and the parameter value of the sound channel parameter is obtained based on the power amplifier debugging device of claim 6.
8. A power amplifier device, comprising a memory and a processor, which are coupled to each other, wherein the memory stores program instructions, and the processor is configured to execute the program instructions to implement the power amplifier debugging method according to any one of claims 1 to 4, or to implement the sound generating method according to claim 5.
9. A computer-readable storage medium storing program instructions executable by a processor to implement the power amplifier debugging method according to any one of claims 1 to 4 or to implement the sound generation method according to claim 5.
CN202210481800.4A 2022-05-05 2022-05-05 Power amplifier debugging method, sound generation method, device, equipment and medium Active CN114584911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210481800.4A CN114584911B (en) 2022-05-05 2022-05-05 Power amplifier debugging method, sound generation method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210481800.4A CN114584911B (en) 2022-05-05 2022-05-05 Power amplifier debugging method, sound generation method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN114584911A CN114584911A (en) 2022-06-03
CN114584911B true CN114584911B (en) 2022-09-20

Family

ID=81779281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210481800.4A Active CN114584911B (en) 2022-05-05 2022-05-05 Power amplifier debugging method, sound generation method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114584911B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5635903A (en) * 1993-12-21 1997-06-03 Honda Giken Kogyo Kabushiki Kaisha Simulated sound generator for electric vehicles
CN109131064A (en) * 2017-06-16 2019-01-04 比亚迪股份有限公司 Electric car sound alarming device and method
CN110691299A (en) * 2019-08-29 2020-01-14 科大讯飞(苏州)科技有限公司 Audio processing system, method, apparatus, device and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012016722A2 (en) * 2010-08-04 2012-02-09 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Apparatus for generating a drive dependent sound and engine driven vehicle
JP6371328B2 (en) * 2016-05-11 2018-08-08 本田技研工業株式会社 Active sound effect generator
JP7272131B2 (en) * 2019-06-20 2023-05-12 トヨタ自動車株式会社 Vehicle notification sound generation system
CN110703645A (en) * 2019-09-30 2020-01-17 惠州市德赛西威汽车电子股份有限公司 Online debugging system and method for automobile low-speed prompt tone device
CN110996218A (en) * 2019-12-24 2020-04-10 无锡吉兴汽车声学部件科技有限公司 Method and device for enhancing active sound effect in vehicle
CN112298030A (en) * 2020-10-16 2021-02-02 中国第一汽车股份有限公司 Frequency response test system and method for low-speed prompt tone device of electric automobile
CN114103850B (en) * 2021-11-30 2024-01-12 重庆长安汽车股份有限公司 System for realizing active sound enhancement of automobile

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5635903A (en) * 1993-12-21 1997-06-03 Honda Giken Kogyo Kabushiki Kaisha Simulated sound generator for electric vehicles
CN109131064A (en) * 2017-06-16 2019-01-04 比亚迪股份有限公司 Electric car sound alarming device and method
CN110691299A (en) * 2019-08-29 2020-01-14 科大讯飞(苏州)科技有限公司 Audio processing system, method, apparatus, device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
汽车引擎声音模拟系统设计;贾炎秋;《中国优秀硕士学位论文全文数据库(电子期刊)》;20200415;全文 *

Also Published As

Publication number Publication date
CN114584911A (en) 2022-06-03

Similar Documents

Publication Publication Date Title
JP7324005B2 (en) System and method for vehicle noise masking
CN104380763B (en) For the apparatus and method for the loudspeaker for driving the sound system in vehicle
JP4508008B2 (en) Vehicle interior sound field control device
KR102126668B1 (en) Apparatus and method for controlling virtual engine sound in responding to autocruise speed settings
US11545129B2 (en) Multiple sound localizations for improved internal sound synthesis
Genuit et al. A virtual car: Prediction of sound and vibration in an interactive simulation environment
CN114584911B (en) Power amplifier debugging method, sound generation method, device, equipment and medium
JP2008120320A (en) Fuel consumption notifying device
WO2022061709A1 (en) Electric vehicle sound effect simulation method, device, and system, and automobile
CN112292872A (en) Sound signal processing device, mobile device, method, and program
CN116074728A (en) Method for audio processing
Sottek et al. Tools and methods for product sound design of vehicles
CN114954286A (en) Vehicle-mounted sound effect system and vehicle-mounted sound effect processing method
CN114973846A (en) Driving somatosensory and sound wave simulation system
Maunder Experiences Tuning an Augmented Power Unit Sound System for Both Interior and Exterior of an Electric Car
CN110065434B (en) Pedestrian warning method and system for electric automobile
CN107172539A (en) A kind of vehicle-mounted sound mixing method and its device
MacDonald et al. Comprehensive Automotive Active Sound Design
Maunder et al. System for augmenting the in-cabin sound of electric vehicles
US20220014865A1 (en) Apparatus And Method To Provide Situational Awareness Using Positional Sensors And Virtual Acoustic Modeling
CN111312205A (en) Pre-modulation active noise reduction method and system
CN116424216A (en) Vehicle external sounding control system and method
US11282494B2 (en) Method for generating an audio signal, in particular for active control of the sound of the engine of a land vehicle, and corresponding apparatus
CN116564264A (en) Pedestrian warning method, system, equipment and medium with noise reduction function
CN116137688A (en) Method and system for reproducing sound field in vehicle based on earphone

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant