CN116645941A - Buzzer volume control method and device, electric automobile, equipment and medium - Google Patents
Buzzer volume control method and device, electric automobile, equipment and medium Download PDFInfo
- Publication number
- CN116645941A CN116645941A CN202310529087.0A CN202310529087A CN116645941A CN 116645941 A CN116645941 A CN 116645941A CN 202310529087 A CN202310529087 A CN 202310529087A CN 116645941 A CN116645941 A CN 116645941A
- Authority
- CN
- China
- Prior art keywords
- noise
- buzzer
- vehicle
- volume
- value
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000001914 filtration Methods 0.000 claims abstract description 89
- 230000001052 transient effect Effects 0.000 claims description 28
- 238000004590 computer program Methods 0.000 claims description 25
- 238000001514 detection method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000007423 decrease Effects 0.000 description 2
- 230000003595 spectral effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10K—SOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
- G10K9/00—Devices in which sound is produced by vibrating a diaphragm or analogous element, e.g. fog horns, vehicle hooters or buzzers
- G10K9/12—Devices in which sound is produced by vibrating a diaphragm or analogous element, e.g. fog horns, vehicle hooters or buzzers electrically operated
- G10K9/122—Devices in which sound is produced by vibrating a diaphragm or analogous element, e.g. fog horns, vehicle hooters or buzzers electrically operated using piezoelectric driving means
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0208—Noise filtering
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Computational Linguistics (AREA)
- Quality & Reliability (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The application relates to a buzzer volume control method and device, an electric automobile, equipment and a medium. The method comprises the following steps: detecting the noise outside the vehicle, and acquiring the volume value of the noise outside the vehicle in real time; filtering the volume of the noise outside the vehicle, and filtering the instantaneous noise to obtain stable noise outside the vehicle; and adjusting the sound volume value of the buzzer in real time according to the noise volume value outside the vehicle after the filtering treatment. By adopting the method, the volume of the buzzer can be adjusted in real time according to the external noise of the vehicle, so that pedestrians around the vehicle can still perceive that the vehicle passes under the noisy external environment of the vehicle.
Description
Technical Field
The application relates to the technical field of electric automobiles, in particular to a buzzer volume control method and device, an electric automobile, equipment and medium.
Background
Because the electric vehicle has no engine noise when running, is difficult to be perceived by pedestrians when running at low speed and has potential safety hazards, the electric vehicle is provided with a buzzer, and continuously sounds when working to remind the pedestrians of passing vehicles. The buzzer is generally only in two states of a switch, and is turned on during low-speed running and turned off during high-speed running. The sound of the buzzer is a fixed value, and is difficult to identify under the noisy condition of the outside environment of the automobile.
Disclosure of Invention
Accordingly, it is necessary to provide a method, a device, an electric vehicle, a device and a medium for controlling the volume of a buzzer, so as to solve the technical problem that the current buzzer of the electric vehicle has a fixed sound and is difficult to be identified under the noisy environment outside the vehicle.
In one aspect, a buzzer volume control method is provided, the method including:
detecting the noise outside the vehicle, and acquiring the volume value of the noise outside the vehicle in real time;
filtering the volume of the noise outside the vehicle, and filtering the instantaneous noise to obtain stable noise outside the vehicle;
and adjusting the sound volume value of the buzzer in real time according to the noise volume value outside the vehicle after the filtering treatment.
In one embodiment, the step of filtering the noise volume outside the vehicle to obtain a stable noise volume includes:
converting the volume of noise outside the vehicle into an input signal;
filtering the input signal by adopting first-order filtering to remove transient noise in the input signal so as to reduce the change rate of the input signal and enable the input signal to be more stable;
and outputting the filtered input signal as the filtered noise outside the vehicle.
In one embodiment, the step of removing transient noise from the input signal to reduce the rate of change of the input signal comprises:
identifying transient noise in an input signal, the transient noise comprising a horn;
the instantaneous noise in the input signal is removed and replaced by the average off-board noise volume or the instantaneous noise removed input signals are spliced.
In one embodiment, the step of adjusting the volume value of the buzzer in real time according to the filtered volume value of the noise outside the vehicle includes:
setting a sound volume gain judgment threshold value for judging whether to increase the sound volume value of the buzzer;
setting the lowest sound volume value of the buzzer;
and acquiring the noise value outside the vehicle after the filtering processing, and taking the lowest sound value of the buzzer as the sound value output by the buzzer when the noise value outside the vehicle after the filtering processing is smaller than or equal to the sound volume gain judgment threshold value.
In one embodiment, the step of adjusting the volume value of the buzzer in real time according to the filtered volume value of the noise outside the vehicle further includes:
setting a fixed calibration value for increasing the sound volume value of the buzzer;
when the value of the noise outside the vehicle after the filtering processing is larger than the volume gain judgment threshold value, a fixed calibration value is added on the basis of the value of the noise outside the vehicle after the filtering processing to serve as the volume value output by the buzzer.
In one embodiment, the step of adjusting the volume value of the buzzer in real time according to the filtered volume value of the noise outside the vehicle further includes:
setting the highest sound volume value of the buzzer;
and when the sum of a fixed calibration value added on the basis of the noise value outside the vehicle after the filtering treatment is larger than the highest sound value of the buzzer, taking the highest sound value of the buzzer as the sound value output by the buzzer.
In another aspect, there is provided a buzzer volume control apparatus, the apparatus comprising:
the vehicle external noise detection module is used for detecting the vehicle external noise and acquiring the vehicle external noise volume value in real time;
the filtering processing module is used for performing filtering processing on the volume of the noise outside the vehicle and filtering the instantaneous noise to obtain stable noise outside the vehicle;
and the buzzer volume control module is used for adjusting the buzzer volume value in real time according to the filtered noise volume value outside the vehicle.
In still another aspect, an electric automobile is provided, which includes the buzzer volume control device and the buzzer, where the volume of the buzzer is controlled in real time by the buzzer volume control device.
In yet another aspect, a computer device is provided comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of:
detecting the noise outside the vehicle, and acquiring the volume value of the noise outside the vehicle in real time;
filtering the volume of the noise outside the vehicle, and filtering the instantaneous noise to obtain stable noise outside the vehicle;
and adjusting the sound volume value of the buzzer in real time according to the noise volume value outside the vehicle after the filtering treatment.
In yet another aspect, a computer readable storage medium is provided, having stored thereon a computer program which when executed by a processor performs the steps of:
detecting the noise outside the vehicle, and acquiring the volume value of the noise outside the vehicle in real time;
filtering the volume of the noise outside the vehicle, and filtering the instantaneous noise to obtain stable noise outside the vehicle;
and adjusting the sound volume value of the buzzer in real time according to the noise volume value outside the vehicle after the filtering treatment.
According to the buzzer volume control method, the device, the electric automobile, the equipment and the medium, through adjusting the buzzer volume in real time according to the external noise of the automobile, pedestrians around the automobile can still perceive that the automobile passes under the noisy external environment of the automobile.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a buzzer volume control method according to an embodiment;
FIG. 2 is a schematic diagram of a buzzer volume control method in one embodiment;
FIG. 3 is a flowchart of a step of filtering the noise volume outside the vehicle to obtain a stable noise volume;
FIG. 4 is a flowchart illustrating a step of adjusting the volume value of the buzzer in real time according to the filtered noise volume value outside the vehicle according to an embodiment;
FIG. 5 is a block diagram showing a structure of a buzzer volume control apparatus in one embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
As described in the background art, the current buzzer of an electric automobile has a fixed sound, is difficult to identify under the noisy environment outside the automobile, is difficult to be perceived by pedestrians, and has potential safety hazards.
In order to solve the above problems, as shown in fig. 1, an embodiment of the present application provides a buzzer volume control method, which includes the following steps:
step S1, detecting noise outside the vehicle, and acquiring the volume value of the noise outside the vehicle in real time;
step S2, filtering the volume of the noise outside the vehicle, and filtering the instantaneous noise to obtain stable noise outside the vehicle;
and S3, adjusting the sound volume value of the buzzer in real time according to the noise volume value outside the vehicle after the filtering treatment.
Specifically, the principle of the buzzer volume control method is shown in fig. 2.
As shown in fig. 3, in this embodiment, the step of filtering the instantaneous noise to obtain a stable noise volume includes:
step S21, converting the volume of noise outside the vehicle into an input signal;
step S22, filtering the input signal by adopting first-order filtering, and removing transient noise in the input signal to reduce the change rate of the input signal, so that the input signal is more stable;
in step S23, the filtered input signal is output as filtered noise outside the vehicle.
In this embodiment, the step of removing transient noise in the input signal to reduce the rate of change of the input signal includes:
identifying transient noise in an input signal, the transient noise comprising a horn;
the instantaneous noise in the input signal is removed and replaced by the average off-board noise volume or the instantaneous noise removed input signals are spliced.
The transient noise is noise in which the intensity of a noise signal suddenly increases or decreases in a short time. Transient noise is typically caused by sudden events or sudden changes in the signal source, and therefore its power spectral density and associated properties may change dramatically.
As shown in fig. 4, in this embodiment, the step of adjusting the volume value of the buzzer in real time according to the filtered noise volume value outside the vehicle includes:
step S31, setting a sound volume gain judgment threshold value for judging whether to increase the sound volume value of the buzzer;
step S32, setting the lowest sound volume value of the buzzer;
and S33, acquiring the noise value outside the vehicle after the filtering processing, and taking the lowest sound value of the buzzer as the sound volume value output by the buzzer when the noise value outside the vehicle after the filtering processing is smaller than or equal to the sound volume gain judgment threshold value.
As shown in fig. 4, in this embodiment, the step of adjusting the volume value of the buzzer in real time according to the filtered noise volume value outside the vehicle further includes:
step S34, setting a fixed calibration value for increasing the sound volume value of the buzzer;
and step S35, when the filtered off-vehicle noise sound value is larger than the volume gain judgment threshold, adding a fixed calibration value as the volume value output by the buzzer on the basis of the filtered off-vehicle noise sound value.
As shown in fig. 4, in this embodiment, the step of adjusting the volume value of the buzzer in real time according to the filtered noise volume value outside the vehicle further includes:
step S36, setting the highest sound volume value of the buzzer;
and S37, when the sum of a fixed calibration value added on the basis of the noise value outside the vehicle after the filtering processing is larger than the highest sound value of the buzzer, taking the highest sound value of the buzzer as the sound value output by the buzzer.
According to the buzzer volume control method, the volume of the buzzer is adjusted in real time according to the external noise of the vehicle, so that pedestrians around the vehicle can still perceive that the vehicle passes under the noisy vehicle external environment.
It should be understood that, although the steps in the flowcharts of fig. 1-4 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 1-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur in sequence, but may be performed alternately or alternately with at least a portion of the other steps or sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a buzzer volume control device 10, comprising: the device comprises an off-vehicle noise detection module 1, a filtering processing module 2 and a buzzer volume control module 3.
The noise detection module 1 outside the vehicle is used for detecting noise outside the vehicle and acquiring the volume value of the noise outside the vehicle in real time.
The filtering processing module 2 is used for filtering the volume of the noise outside the vehicle, and filtering the instantaneous noise to obtain stable noise outside the vehicle.
The buzzer volume control module 3 is used for adjusting the buzzer volume value in real time according to the filtered noise volume value outside the vehicle.
In this embodiment, the step of filtering the instantaneous noise to obtain the stable noise volume includes:
converting the volume of noise outside the vehicle into an input signal;
filtering the input signal by adopting first-order filtering to remove transient noise in the input signal so as to reduce the change rate of the input signal and enable the input signal to be more stable;
and outputting the filtered input signal as the filtered noise outside the vehicle.
In this embodiment, the step of removing transient noise in the input signal to reduce the rate of change of the input signal includes:
identifying transient noise in an input signal, the transient noise comprising a horn;
the instantaneous noise in the input signal is removed and replaced by the average off-board noise volume or the instantaneous noise removed input signals are spliced.
The transient noise is noise in which the intensity of a noise signal suddenly increases or decreases in a short time. Transient noise is typically caused by sudden events or sudden changes in the signal source, and therefore its power spectral density and associated properties may change dramatically.
In this embodiment, the step of adjusting the volume value of the buzzer in real time according to the filtered volume value of the noise outside the vehicle includes:
setting a sound volume gain judgment threshold value for judging whether to increase the sound volume value of the buzzer;
setting the lowest sound volume value of the buzzer;
and acquiring the noise value outside the vehicle after the filtering processing, and taking the lowest sound value of the buzzer as the sound value output by the buzzer when the noise value outside the vehicle after the filtering processing is smaller than or equal to the sound volume gain judgment threshold value.
In this embodiment, the step of adjusting the volume value of the buzzer in real time according to the filtered volume value of the noise outside the vehicle further includes:
setting a fixed calibration value for increasing the sound volume value of the buzzer;
when the value of the noise outside the vehicle after the filtering processing is larger than the volume gain judgment threshold value, a fixed calibration value is added on the basis of the value of the noise outside the vehicle after the filtering processing to serve as the volume value output by the buzzer.
In this embodiment, the step of adjusting the volume value of the buzzer in real time according to the filtered volume value of the noise outside the vehicle further includes:
setting the highest sound volume value of the buzzer;
and when the sum of a fixed calibration value added on the basis of the noise value outside the vehicle after the filtering treatment is larger than the highest sound value of the buzzer, taking the highest sound value of the buzzer as the sound value output by the buzzer.
In the buzzer volume control device, the volume of the buzzer is adjusted in real time according to the external noise of the vehicle, so that pedestrians around the vehicle can still perceive that the vehicle passes under the noisy vehicle external environment.
For specific limitations of the buzzer volume control apparatus, reference may be made to the above limitations of the buzzer volume control method, and no further description is given here. The above-mentioned respective modules in the buzzer volume control apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing buzzer volume control data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a buzzer volume control method.
It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of when executing the computer program:
detecting the noise outside the vehicle, and acquiring the volume value of the noise outside the vehicle in real time;
filtering the volume of the noise outside the vehicle, and filtering the instantaneous noise to obtain stable noise outside the vehicle;
and adjusting the sound volume value of the buzzer in real time according to the noise volume value outside the vehicle after the filtering treatment.
In one embodiment, the processor when executing the computer program further performs the steps of:
the step of filtering the noise volume outside the vehicle to obtain stable noise volume by filtering the instantaneous noise comprises the following steps:
converting the volume of noise outside the vehicle into an input signal;
filtering the input signal by adopting first-order filtering to remove transient noise in the input signal so as to reduce the change rate of the input signal and enable the input signal to be more stable;
and outputting the filtered input signal as the filtered noise outside the vehicle.
In one embodiment, the processor when executing the computer program further performs the steps of:
the step of removing transient noise in the input signal to reduce the rate of change of the input signal comprises:
identifying transient noise in an input signal, the transient noise comprising a horn;
the instantaneous noise in the input signal is removed and replaced by the average off-board noise volume or the instantaneous noise removed input signals are spliced.
In one embodiment, the processor when executing the computer program further performs the steps of:
the step of adjusting the volume value of the buzzer in real time according to the noise volume value outside the vehicle after the filtering treatment comprises the following steps:
setting a sound volume gain judgment threshold value for judging whether to increase the sound volume value of the buzzer;
setting the lowest sound volume value of the buzzer;
and acquiring the noise value outside the vehicle after the filtering processing, and taking the lowest sound value of the buzzer as the sound value output by the buzzer when the noise value outside the vehicle after the filtering processing is smaller than or equal to the sound volume gain judgment threshold value.
In one embodiment, the processor when executing the computer program further performs the steps of:
the step of adjusting the volume value of the buzzer in real time according to the noise volume value outside the vehicle after the filtering treatment further comprises the following steps:
setting a fixed calibration value for increasing the sound volume value of the buzzer;
when the value of the noise outside the vehicle after the filtering processing is larger than the volume gain judgment threshold value, a fixed calibration value is added on the basis of the value of the noise outside the vehicle after the filtering processing to serve as the volume value output by the buzzer.
In one embodiment, the processor when executing the computer program further performs the steps of:
the step of adjusting the volume value of the buzzer in real time according to the noise volume value outside the vehicle after the filtering treatment further comprises the following steps:
setting the highest sound volume value of the buzzer;
and when the sum of a fixed calibration value added on the basis of the noise value outside the vehicle after the filtering treatment is larger than the highest sound value of the buzzer, taking the highest sound value of the buzzer as the sound value output by the buzzer.
For specific limitations regarding implementation steps when the processor executes the computer program, reference may be made to the above limitation of the method for controlling the volume of the buzzer, which is not described in detail herein.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
detecting the noise outside the vehicle, and acquiring the volume value of the noise outside the vehicle in real time;
filtering the volume of the noise outside the vehicle, and filtering the instantaneous noise to obtain stable noise outside the vehicle;
and adjusting the sound volume value of the buzzer in real time according to the noise volume value outside the vehicle after the filtering treatment.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the step of filtering the noise volume outside the vehicle to obtain stable noise volume by filtering the instantaneous noise comprises the following steps:
converting the volume of noise outside the vehicle into an input signal;
filtering the input signal by adopting first-order filtering to remove transient noise in the input signal so as to reduce the change rate of the input signal and enable the input signal to be more stable;
and outputting the filtered input signal as the filtered noise outside the vehicle.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the step of removing transient noise in the input signal to reduce the rate of change of the input signal comprises:
identifying transient noise in an input signal, the transient noise comprising a horn;
the instantaneous noise in the input signal is removed and replaced by the average off-board noise volume or the instantaneous noise removed input signals are spliced.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the step of adjusting the volume value of the buzzer in real time according to the noise volume value outside the vehicle after the filtering treatment comprises the following steps:
setting a sound volume gain judgment threshold value for judging whether to increase the sound volume value of the buzzer;
setting the lowest sound volume value of the buzzer;
and acquiring the noise value outside the vehicle after the filtering processing, and taking the lowest sound value of the buzzer as the sound value output by the buzzer when the noise value outside the vehicle after the filtering processing is smaller than or equal to the sound volume gain judgment threshold value.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the step of adjusting the volume value of the buzzer in real time according to the noise volume value outside the vehicle after the filtering treatment further comprises the following steps:
setting a fixed calibration value for increasing the sound volume value of the buzzer;
when the value of the noise outside the vehicle after the filtering processing is larger than the volume gain judgment threshold value, a fixed calibration value is added on the basis of the value of the noise outside the vehicle after the filtering processing to serve as the volume value output by the buzzer.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the step of adjusting the volume value of the buzzer in real time according to the noise volume value outside the vehicle after the filtering treatment further comprises the following steps:
setting the highest sound volume value of the buzzer;
and when the sum of a fixed calibration value added on the basis of the noise value outside the vehicle after the filtering treatment is larger than the highest sound value of the buzzer, taking the highest sound value of the buzzer as the sound value output by the buzzer.
For specific limitations on the implementation steps of the computer program when executed by the processor, reference may be made to the above limitations on the method of buzzer volume control, which are not described in detail herein.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.
Claims (10)
1. A buzzer volume control method, comprising:
detecting the noise outside the vehicle, and acquiring the volume value of the noise outside the vehicle in real time;
filtering the volume of the noise outside the vehicle, and filtering the instantaneous noise to obtain stable noise outside the vehicle;
and adjusting the sound volume value of the buzzer in real time according to the noise volume value outside the vehicle after the filtering treatment.
2. The buzzer volume control method of claim 1, wherein the step of filtering the instantaneous noise to obtain a stationary noise volume includes:
converting the volume of noise outside the vehicle into an input signal;
filtering the input signal by adopting first-order filtering to remove transient noise in the input signal so as to reduce the change rate of the input signal and enable the input signal to be more stable;
and outputting the filtered input signal as the filtered noise outside the vehicle.
3. The buzzer volume control method of claim 2, wherein the step of removing transient noise from the input signal to reduce the rate of change of the input signal includes:
identifying transient noise in an input signal, the transient noise comprising a horn;
the instantaneous noise in the input signal is removed and replaced by the average off-board noise volume or the instantaneous noise removed input signals are spliced.
4. The buzzer volume control method of claim 1, wherein the step of adjusting the buzzer volume value in real time according to the filtered off-vehicle noise volume value comprises:
setting a sound volume gain judgment threshold value for judging whether to increase the sound volume value of the buzzer;
setting the lowest sound volume value of the buzzer;
and acquiring the noise value outside the vehicle after the filtering processing, and taking the lowest sound value of the buzzer as the sound value output by the buzzer when the noise value outside the vehicle after the filtering processing is smaller than or equal to the sound volume gain judgment threshold value.
5. The method for controlling the volume of a buzzer according to claim 4, wherein the step of adjusting the volume of the buzzer in real time according to the filtered volume of the noise outside the vehicle further comprises:
setting a fixed calibration value for increasing the sound volume value of the buzzer;
when the value of the noise outside the vehicle after the filtering processing is larger than the volume gain judgment threshold value, a fixed calibration value is added on the basis of the value of the noise outside the vehicle after the filtering processing to serve as the volume value output by the buzzer.
6. The buzzer volume control method of claim 5, wherein the step of adjusting the buzzer volume value in real time according to the filtered off-board noise volume value further comprises:
setting the highest sound volume value of the buzzer;
and when the sum of a fixed calibration value added on the basis of the noise value outside the vehicle after the filtering treatment is larger than the highest sound value of the buzzer, taking the highest sound value of the buzzer as the sound value output by the buzzer.
7. A buzzer volume control apparatus, the apparatus comprising:
the vehicle external noise detection module is used for detecting the vehicle external noise and acquiring the vehicle external noise volume value in real time;
the filtering processing module is used for performing filtering processing on the volume of the noise outside the vehicle and filtering the instantaneous noise to obtain stable noise outside the vehicle;
and the buzzer volume control module is used for adjusting the buzzer volume value in real time according to the filtered noise volume value outside the vehicle.
8. An electric automobile is characterized by comprising the buzzer volume control device and the buzzer, wherein the volume of the buzzer is controlled in real time through the buzzer volume control device.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 6 when the computer program is executed by the processor.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310529087.0A CN116645941A (en) | 2023-05-11 | 2023-05-11 | Buzzer volume control method and device, electric automobile, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310529087.0A CN116645941A (en) | 2023-05-11 | 2023-05-11 | Buzzer volume control method and device, electric automobile, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116645941A true CN116645941A (en) | 2023-08-25 |
Family
ID=87623938
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310529087.0A Pending CN116645941A (en) | 2023-05-11 | 2023-05-11 | Buzzer volume control method and device, electric automobile, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116645941A (en) |
-
2023
- 2023-05-11 CN CN202310529087.0A patent/CN116645941A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113815424B (en) | Vehicle braking force control method, device and computer readable storage medium | |
CN111310804B (en) | Method, device, equipment and medium for processing vehicle fault problem based on decision tree | |
CN116645941A (en) | Buzzer volume control method and device, electric automobile, equipment and medium | |
CN110096233B (en) | Method and device for dynamically adapting back-end parameters based on solid state disk | |
US9671769B2 (en) | ECU monitoring system and monitoring method | |
US20150333624A1 (en) | Method and apparatus for controlling output voltage | |
CN111024410B (en) | Power overrun fault detection method and device for vehicle, vehicle and storage medium | |
US11828784B2 (en) | Method for checking an output stage for controlling a load | |
CN113833577A (en) | Vehicle engine control method, device and storage medium | |
US20210001770A1 (en) | Vehicle and method of controlling the same | |
CN114987212A (en) | Method and device for controlling high-voltage down-voltage of electric automobile and computer equipment | |
US7123021B2 (en) | Method and device for diagnosis of a sensor | |
CN111216710A (en) | Method, apparatus and computer-readable storage medium for controlling vehicle operating state | |
CN113868052A (en) | IOPS test method, device and storage medium based on PID algorithm | |
CN115257578B (en) | Range extender control method and device, computer equipment and storage medium | |
CN108241578B (en) | Method and device for checking software compatibility of automobile electric control unit | |
CN110715807B (en) | Method, system, vehicle and storage medium for identifying dynamometer mode | |
CN111208754A (en) | Method and device for controlling normal operation of engine | |
CN115100757B (en) | Method and device for storing automobile data, vehicle and storage medium | |
CN116935838A (en) | Vehicle and control method of vehicle | |
CN113778859A (en) | Data conversion correctness testing method and device for vehicle navigation data | |
CN116620102A (en) | New energy automobile automatic power-on method and device, computer equipment and storage medium | |
CN117765956A (en) | Pedestrian warning tone calibration method, device, computer equipment and storage medium | |
CN116032524A (en) | Abnormal short message behavior monitoring and finding method based on internet account registration and deblocking | |
CN117592970A (en) | Non-return device life cycle management method and device and non-return device |
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 |