CN115278466B - Automatic calibration system and method for sound of microphone and loudspeaker of recorder equipment - Google Patents
Automatic calibration system and method for sound of microphone and loudspeaker of recorder equipmentInfo
- Publication number
- CN115278466B CN115278466B CN202210865608.5A CN202210865608A CN115278466B CN 115278466 B CN115278466 B CN 115278466B CN 202210865608 A CN202210865608 A CN 202210865608A CN 115278466 B CN115278466 B CN 115278466B
- Authority
- CN
- China
- Prior art keywords
- frequency
- recorder
- module
- calibration
- microphone
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
- H04R3/04—Circuits for transducers, loudspeakers or microphones for correcting frequency response
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01P—MEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
- G01P15/00—Measuring acceleration; Measuring deceleration; Measuring shock, i.e. sudden change of acceleration
- G01P15/18—Measuring acceleration; Measuring deceleration; Measuring shock, i.e. sudden change of acceleration in two or more dimensions
-
- 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
- G10L19/00—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
- G10L19/02—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using spectral analysis, e.g. transform vocoders or subband vocoders
-
- 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/0316—Speech enhancement, e.g. noise reduction or echo cancellation by changing the amplitude
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Acoustics & Sound (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
Abstract
The invention discloses a system and a method for automatically calibrating sound of a microphone and a loudspeaker of recorder equipment, wherein the system comprises the following components: the system comprises a recorder charging detection module, a recorder standing detection module, a recorder microphone calibration module, an acquisition station charging communication module, an acquisition station multi-frequency calibration tone generation module, an acquisition station loudspeaker module, a recorder microphone module, a recorder multi-frequency separation module, a recorder loudspeaker calibration module, a recorder multi-frequency calibration tone generation module and a recorder loudspeaker module. According to the system and the method for automatically calibrating the sound of the microphone and the loudspeaker of the recorder equipment, the microphone of the recorder is calibrated by adopting the loudspeaker of the acquisition station matched with the recorder, the loudspeaker of the recorder is calibrated by using the calibrated microphone, the multi-frequency calibration sound is used for sound calibration, the anti-interference of the multi-frequency calibration sound to the external sound is improved, the calibration accuracy is improved, and the recorder is in a sound identification and playing working state meeting the requirements through calibration.
Description
Technical Field
The invention relates to a system and a method for automatically calibrating sound of a microphone and a loudspeaker of recorder equipment.
Background
The recorder equipment has requirements on the sound recognition sensitivity of the microphone and the loudness of the loudspeaker, and the recorder equipment can deviate in the actual condition that the equipment is aged and attenuated, so that the recorder can not be ensured to be always in the sound recognition and playing working state meeting the requirements.
Disclosure of Invention
The invention provides a system and a method for automatically calibrating sound of a microphone and a loudspeaker of recorder equipment, which solve the technical problems, and concretely adopts the following technical scheme:
The automatic calibration system for the sound of the microphone and the loudspeaker of the recorder equipment comprises a recorder charging detection module, a recorder standing detection module, a recorder microphone calibration module, an acquisition station charging communication module, an acquisition station multi-frequency calibration sound generation module, an acquisition station loudspeaker module, a recorder microphone module, a recorder multi-frequency separation module, a recorder loudspeaker calibration module, a recorder multi-frequency calibration sound generation module and a recorder loudspeaker module;
the recorder charging detection module sends notification information to the recorder standing detection module when detecting that the recorder is connected to the acquisition station;
the recorder standing detection module is used for carrying out standing detection and sending notification information to the recorder microphone calibration module when detecting that the recorder is in a standing state;
the recorder microphone calibration module randomly selects a high-frequency and a low-frequency, and sends the high-frequency and the low-frequency to the recorder charge detection module and the recorder loudspeaker calibration module;
the recorder charging detection module sends the high-frequency and the low-frequency to the acquisition station charging communication module;
the acquisition station charging communication module receives the high-frequency and the low-frequency and then sends the high-frequency and the low-frequency to the acquisition station multi-frequency calibration tone generation module;
The acquisition station multi-frequency calibration tone generating module receives the high-frequency and low-frequency PCM audio data and the low-frequency PCM audio data to generate the high-frequency PCM audio data and the low-frequency PCM audio data, and the high-frequency PCM audio data and the low-frequency PCM audio data are added and combined according to sampling points to generate multi-frequency calibration tones and then sent to the acquisition station loudspeaker module;
The acquisition station loudspeaker module receives the multi-frequency calibration sound, then carries out digital-to-analog conversion on the multi-frequency calibration sound and plays the sound of the multi-frequency calibration sound;
the recorder microphone module receives the sound played by the acquisition station loudspeaker module, and carries out analog-to-digital conversion on the sound by using a microphone gain reference value to obtain PCM data of the multi-frequency calibration sound of the microphone and sends the PCM data to the recorder multi-frequency separation module;
the recorder multi-frequency separation module receives PCM data of multi-frequency calibration tones of a microphone of the recorder microphone module, performs FFT Fourier transform after slicing to obtain energy values of each frequency of the slicing, and continuously sends the energy values to the recorder microphone calibration module;
The recorder microphone calibration module continuously receives the energy values of each frequency of the fragments of the recorder multi-frequency separation module, the recorder microphone calibration module judges whether the energy value of the high-frequency and the energy value of the low-frequency of the fragments are larger than a preset threshold B, if so, the energy value of the low-frequency is subtracted from the energy value of the high-frequency to obtain an energy balance difference, the recorder microphone calibration module carries out Kalman filtering on the energy balance difference to obtain a forecast value of the energy balance difference, if the forecast value of the energy balance difference is smaller than the preset threshold C, the microphone is considered to be effective, sound calibration is carried out, and the recorder microphone calibration module uses the energy value of the high-frequency to carry out division with the preset high-frequency energy value to obtain an adjustment multiple and sends the adjustment multiple to the recorder microphone module;
the recorder microphone module receives the adjustment times of the recorder microphone calibration module, multiplies the microphone gain reference value by the adjustment times to obtain a microphone gain calibration value, and completes the calibration of the microphone;
the recorder loudspeaker calibration module sends the high-frequency and the low-frequency to the recorder multi-frequency calibration tone generation module;
The recorder multi-frequency calibration tone generating module receives the high-frequency and low-frequency PCM audio data and generates high-frequency PCM audio data and low-frequency PCM audio data, and the high-frequency PCM audio data and the low-frequency PCM audio data are added and combined according to sampling points to generate multi-frequency calibration tones and are sent to the recorder loudspeaker module;
the recorder loudspeaker module receives the multi-frequency calibration sound, then carries out digital-to-analog conversion on the multi-frequency calibration sound and plays the sound of the multi-frequency calibration sound;
The recorder microphone module receives sound played by the recorder speaker module, and carries out analog-to-digital conversion on the sound by using a microphone gain calibration value to obtain PCM data of multi-frequency calibration sound of the speaker and sends the PCM data to the recorder multi-frequency separation module;
The recorder multi-frequency separation module receives PCM data of multi-frequency calibration tones of a loudspeaker of the recorder loudspeaker module, performs FFT Fourier transform after slicing to obtain energy values of each frequency of the slicing, and continuously sends the energy values to the recorder loudspeaker calibration module;
The recorder loudspeaker calibration module continuously receives the energy values of each frequency of the fragments of the recorder multi-frequency separation module, judges whether the energy value of the high frequency and the energy value of the low frequency of the fragments are larger than a preset threshold B, if so, the energy value of the low frequency is subtracted from the energy value of the high frequency to obtain an energy balance difference, the recorder loudspeaker calibration module carries out Kalman filtering on the energy balance difference to obtain a forecast value of the energy balance difference, if the forecast value of the energy balance difference is smaller than the preset threshold C, the loudspeaker is considered to be effective, sound calibration is carried out, and the recorder loudspeaker calibration module uses the energy value of the high frequency to carry out division with the preset high frequency energy value to obtain an adjustment multiple and sends the adjustment multiple to the recorder loudspeaker module;
The recorder speaker module receives the adjustment times sent by the recorder speaker calibration module, multiplies the speaker gain reference value by the adjustment times to obtain a speaker gain calibration value, and completes speaker calibration.
Further, the recorder standing detection module acquires acceleration values of the acceleration sensor in three directions, calculates a modulus of an acceleration vector of the acceleration sensor, carries out Kalman filtering on the modulus of the acceleration vector to obtain a predicted value of the modulus of the acceleration vector, judges whether the predicted value of the modulus of the acceleration vector is smaller than a preset threshold value A, and judges that the recorder is in a standing state if the predicted value of the modulus of the acceleration vector is smaller than the preset threshold value A.
Further, the recorder microphone calibration module selects one high frequency and one low frequency from 1100 HZ-630 HZ and 500 HZ-900 HZ respectively through a random algorithm.
Further, the acquisition station multi-frequency calibration tone generating module receives the high-frequency and the low-frequency and then generates high-frequency PCM audio data and low-frequency PCM audio data with fixed energy value of 200 milliseconds;
The recorder multifrequency calibration tone generating module receives the high frequency and the low frequency and generates high frequency PCM audio data and low frequency PCM audio data with fixed energy value of 200 ms.
Further, the recorder multifrequency separation module receives PCM data of multifrequency calibration tones of a microphone of the recorder microphone module and then performs slicing at 8 milliseconds;
the recorder multi-frequency separation module receives PCM data of multi-frequency calibration tones of a loudspeaker of the recorder loudspeaker module and then performs slicing at 8 milliseconds.
A method for automatically calibrating sound of a microphone and a speaker of a recorder device, comprising the steps of:
the recorder charging detection module sends notification information to the recorder standing detection module when detecting that the recorder is connected to the acquisition station;
the recorder standing detection module is used for carrying out standing detection and sending notification information to the recorder microphone calibration module when detecting that the recorder is in a standing state;
the recorder microphone calibration module randomly selects a high-frequency and a low-frequency, and sends the high-frequency and the low-frequency to the recorder charge detection module and the recorder loudspeaker calibration module;
the recorder charging detection module sends the high-frequency and the low-frequency to the acquisition station charging communication module;
the acquisition station charging communication module receives the high-frequency and the low-frequency and then sends the high-frequency and the low-frequency to the acquisition station multi-frequency calibration tone generation module;
The acquisition station multi-frequency calibration tone generating module receives the high-frequency and low-frequency PCM audio data and the low-frequency PCM audio data to generate the high-frequency PCM audio data and the low-frequency PCM audio data, and the high-frequency PCM audio data and the low-frequency PCM audio data are added and combined according to sampling points to generate multi-frequency calibration tones and then sent to the acquisition station loudspeaker module;
The acquisition station loudspeaker module receives the multi-frequency calibration sound, then carries out digital-to-analog conversion on the multi-frequency calibration sound and plays the sound of the multi-frequency calibration sound;
the recorder microphone module receives the sound played by the acquisition station loudspeaker module, and carries out analog-to-digital conversion on the sound by using a microphone gain reference value to obtain PCM data of the multi-frequency calibration sound of the microphone and sends the PCM data to the recorder multi-frequency separation module;
the recorder multi-frequency separation module receives PCM data of multi-frequency calibration tones of a microphone of the recorder microphone module, performs FFT Fourier transform after slicing to obtain energy values of each frequency of the slicing, and continuously sends the energy values to the recorder microphone calibration module;
The recorder microphone calibration module continuously receives the energy values of each frequency of the fragments of the recorder multi-frequency separation module, the recorder microphone calibration module judges whether the energy value of the high-frequency and the energy value of the low-frequency of the fragments are larger than a preset threshold B, if so, the energy value of the low-frequency is subtracted from the energy value of the high-frequency to obtain an energy balance difference, the recorder microphone calibration module carries out Kalman filtering on the energy balance difference to obtain a forecast value of the energy balance difference, if the forecast value of the energy balance difference is smaller than the preset threshold C, the microphone is considered to be effective, sound calibration is carried out, and the recorder microphone calibration module uses the energy value of the high-frequency to carry out division with the preset high-frequency energy value to obtain an adjustment multiple and sends the adjustment multiple to the recorder microphone module;
the recorder microphone module receives the adjustment times of the recorder microphone calibration module, multiplies the microphone gain reference value by the adjustment times to obtain a microphone gain calibration value, and completes the calibration of the microphone;
the recorder loudspeaker calibration module sends the high-frequency and the low-frequency to the recorder multi-frequency calibration tone generation module;
The recorder multi-frequency calibration tone generating module receives the high-frequency and low-frequency PCM audio data and generates high-frequency PCM audio data and low-frequency PCM audio data, and the high-frequency PCM audio data and the low-frequency PCM audio data are added and combined according to sampling points to generate multi-frequency calibration tones and are sent to the recorder loudspeaker module;
the recorder loudspeaker module receives the multi-frequency calibration sound, then carries out digital-to-analog conversion on the multi-frequency calibration sound and plays the sound of the multi-frequency calibration sound;
The recorder microphone module receives sound played by the recorder speaker module, and carries out analog-to-digital conversion on the sound by using a microphone gain calibration value to obtain PCM data of multi-frequency calibration sound of the speaker and sends the PCM data to the recorder multi-frequency separation module;
The recorder multi-frequency separation module receives PCM data of multi-frequency calibration tones of a loudspeaker of the recorder loudspeaker module, performs FFT Fourier transform after slicing to obtain energy values of each frequency of the slicing, and continuously sends the energy values to the recorder loudspeaker calibration module;
The recorder loudspeaker calibration module continuously receives the energy values of each frequency of the fragments of the recorder multi-frequency separation module, judges whether the energy value of the high frequency and the energy value of the low frequency of the fragments are larger than a preset threshold B, if so, the energy value of the low frequency is subtracted from the energy value of the high frequency to obtain an energy balance difference, the recorder loudspeaker calibration module carries out Kalman filtering on the energy balance difference to obtain a forecast value of the energy balance difference, if the forecast value of the energy balance difference is smaller than the preset threshold C, the loudspeaker is considered to be effective, sound calibration is carried out, and the recorder loudspeaker calibration module uses the energy value of the high frequency to carry out division with the preset high frequency energy value to obtain an adjustment multiple and sends the adjustment multiple to the recorder loudspeaker module;
The recorder speaker module receives the adjustment times sent by the recorder speaker calibration module, multiplies the speaker gain reference value by the adjustment times to obtain a speaker gain calibration value, and completes speaker calibration.
Further, the specific method for the static detection of the static detection module of the recorder comprises the following steps:
the recorder standing detection module acquires acceleration values of the acceleration sensor in three directions, calculates a module of an acceleration vector of the acceleration sensor, carries out Kalman filtering on the module of the acceleration vector to obtain a predicted value of the module of the acceleration vector, judges whether the predicted value of the module of the acceleration vector is smaller than a preset threshold value A, and judges that the recorder is in a standing state if the predicted value of the module of the acceleration vector is smaller than the preset threshold value A.
Further, the specific method for randomly selecting a high-frequency and a low-frequency by the recorder microphone calibration module is as follows:
The recorder microphone calibration module selects one high-frequency and one low-frequency from 1100 HZ-1800 HZ and 500 HZ-900 HZ respectively through a random algorithm.
Further, the specific method for generating the PCM audio data with high frequency and the PCM audio data with low frequency by the acquisition station multi-frequency calibration tone generation module is as follows:
The acquisition station multi-frequency calibration tone generating module receives the high-frequency and the low-frequency and generates high-frequency PCM audio data and low-frequency PCM audio data with fixed energy value of 200 milliseconds;
the specific method for generating the PCM audio data with high frequency and the PCM audio data with low frequency by the recorder multi-frequency calibration tone generation module comprises the following steps:
The recorder multifrequency calibration tone generating module receives the high frequency and the low frequency and generates high frequency PCM audio data and low frequency PCM audio data with fixed energy value of 200 ms.
Further, the specific method for slicing by the recorder multi-frequency separation module comprises the following steps:
the recorder multi-frequency separation module receives PCM data of multi-frequency calibration tones of a microphone of the recorder microphone module and then slices the PCM data in 8 milliseconds;
the recorder multi-frequency separation module receives PCM data of multi-frequency calibration tones of a loudspeaker of the recorder loudspeaker module and then performs slicing at 8 milliseconds.
The microphone and loudspeaker sound automatic calibration system and method of the recorder equipment have the advantages that the microphone of the recorder is calibrated by adopting the loudspeaker of the acquisition station matched with the recorder, the loudspeaker of the recorder is calibrated by using the calibrated microphone, the multi-frequency calibration sound is used for sound calibration, the anti-interference of the multi-frequency calibration sound to external sounds is improved, the calibration accuracy is improved, and the recorder is in a sound identification and playing working state meeting the requirements through calibration.
Drawings
Fig. 1 is a schematic diagram of an automatic microphone and speaker sound calibration system for a recorder device according to the present invention.
Detailed Description
The invention is described in detail below with reference to the drawings and the specific embodiments.
As shown in fig. 1, the microphone and speaker sound automatic calibration system of the recorder device of the present application uses a speaker of an acquisition station matched with a recorder to calibrate the microphone of the recorder, uses the calibrated microphone to calibrate the speaker of the recorder, uses multi-frequency calibration sound to perform sound calibration to improve the anti-interference of the multi-frequency calibration sound to external sounds, improves the accuracy of the calibration, and makes the recorder in a sound identification and playing working state meeting the requirements through the calibration. The automatic calibration system for the microphone and the loudspeaker of the recorder equipment comprises a recorder charging detection module 1, a recorder standing detection module 2, a recorder microphone calibration module 3, an acquisition station charging communication module 4, an acquisition station multi-frequency calibration tone generation module 5, an acquisition station loudspeaker module 6, a recorder microphone module 7, a recorder multi-frequency separation module 8, a recorder loudspeaker calibration module 9, a recorder multi-frequency calibration tone generation module 10 and a recorder loudspeaker module 11.
Wherein the recorder charge detection module 1 sends notification information to the recorder rest detection module 2 when detecting that the recorder has been connected to the acquisition station. The recorder charge detection module 1 is used for detecting a connection state, and when detecting that the recorder is connected to the acquisition station, the subsequent steps are triggered.
The recorder rest detection module 2 performs rest detection and sends notification information to the recorder microphone calibration module 3 when detecting that the recorder is in a rest state.
Specifically, in order to avoid the accuracy of correction of the sound influence of various collisions in which the recorder is put into the acquisition station, the recorder stationary detection module 2 starts stationary detection using the acceleration sensor after receiving the notification information. The recorder static detection module 2 obtains acceleration values (x, y, z) of the acceleration sensor in three directions, calculates a model of the vector of the acceleration sensorAnd carrying out Kalman filtering on the modulus of the vector of the acceleration to obtain a forecast value of the modulus of the vector of the acceleration, and filtering the jitter error of the acceleration sensor by using the Kalman filtering. Judging whether the predicted value of the modulus of the vector of the acceleration is smaller than a preset threshold value A, and judging that the model is in a standing state if the predicted value of the modulus of the vector of the acceleration is smaller than the preset threshold value A.
The recorder microphone calibration module 3 calibrates the recorder microphone. Specifically, the recorder microphone calibration module 3 randomly selects one of the high frequency and the low frequency, and transmits the high frequency and the low frequency to the recorder charge detection module 1 and the recorder speaker calibration module 9.
The recorder microphone calibration module 3 selects one high-frequency and one low-frequency from 1100 HZ-630 HZ and 500 HZ-900 HZ respectively through a random algorithm.
The recorder charge detection module 1 sends the high frequency and the low frequency to the acquisition station charge communication module 4.
The acquisition station charging communication module 4 receives the high frequency and the low frequency and then sends the high frequency and the low frequency to the acquisition station multi-frequency calibration tone generating module 5.
The acquisition station multi-frequency calibration tone generating module 5 receives the high-frequency and low-frequency signals to generate high-frequency PCM audio data and low-frequency PCM audio data, and adds and combines the high-frequency PCM audio data and the low-frequency PCM audio data according to sampling points to generate multi-frequency calibration tones, and sends the multi-frequency calibration tones to the acquisition station loudspeaker module 6.
Specifically, the acquisition station multi-frequency calibration tone generating module 5 receives the high-frequency and low-frequency signals and generates high-frequency PCM audio data and low-frequency PCM audio data having a fixed energy value of 200 ms.
The acquisition station speaker module 6 receives the multi-frequency calibration tone, digital-to-analog converts it and plays the sound of the multi-frequency calibration tone.
The recorder microphone module 7 receives the sound played by the acquisition station speaker module 6, and performs analog-to-digital conversion on the sound by using a microphone gain reference value, so as to obtain PCM data of the multi-frequency calibration tone of the microphone, and sends the PCM data to the recorder multi-frequency separation module 8.
The recorder multifrequency separation module 8 receives PCM data of multifrequency calibration tones of the microphone of the recorder microphone module 7, performs FFT fourier transform after slicing to obtain energy values of each frequency of the slicing, and continuously transmits the energy values to the recorder microphone calibration module 3. Specifically, the recorder multi-frequency separation module 8 receives PCM data of the multi-frequency calibration tone of the microphone of the recorder microphone module 7 and then performs slicing at 8 ms.
The recorder microphone calibration module 3 continuously receives the energy values of the various frequencies of the fragments of the recorder multi-frequency separation module 8, the recorder microphone calibration module 3 judges whether the energy value of the high frequency and the energy value of the low frequency of the fragments are larger than a preset threshold B, if so, the energy value of the high frequency is subtracted from the energy value of the low frequency to obtain an energy balance difference, the recorder microphone calibration module 3 carries out Kalman filtering on the energy balance difference to obtain a forecast value of the energy balance difference, if the forecast value of the energy balance difference is smaller than the preset threshold C, the microphone is considered to be effective for sound calibration, and the recorder microphone calibration module 3 uses the energy value of the high frequency to divide the preset high frequency energy value to obtain an adjustment multiple and sends the adjustment multiple to the recorder microphone module 7.
The recorder microphone module 7 receives the adjustment times of the recorder microphone calibration module 3, multiplies the microphone gain reference value by the adjustment times to obtain a microphone gain calibration value, and completes the calibration of the microphone.
The recorder speaker calibration module 9 sends the high and low frequencies to the recorder multi-frequency calibration tone generation module 10.
The recorder multi-frequency calibration tone generating module 10 receives the high-frequency and low-frequency PCM audio data and generates high-frequency PCM audio data and low-frequency PCM audio data, and adds and combines the high-frequency PCM audio data and the low-frequency PCM audio data according to sampling points to generate multi-frequency calibration tones, and sends the multi-frequency calibration tones to the recorder speaker module 11.
Specifically, the recorder multi-frequency calibration tone generating module 10 generates PCM audio data of a high frequency and PCM audio data of a low frequency with a fixed energy value of 200 ms after receiving the high frequency and the low frequency.
The recorder speaker module 11 receives the multi-frequency calibration tone, digital-to-analog converts it, and plays the sound of the multi-frequency calibration tone.
The recorder microphone module 7 receives the sound played by the recorder speaker module 11, and uses the microphone gain calibration value to perform analog-to-digital conversion on the sound, so as to obtain PCM data of the multi-frequency calibration sound of the speaker, and send the PCM data to the recorder multi-frequency separation module 8.
The recorder multi-frequency separation module 8 receives the PCM data of the multi-frequency calibration tone of the speaker of the recorder speaker module 11, performs the FFT fourier transform after the slicing to obtain the energy value of each frequency of the slicing, and continuously sends the energy value to the recorder speaker calibration module 9. Specifically, the recorder multi-frequency separation module 8 receives PCM data of the multi-frequency calibration tone of the speaker of the recorder speaker module 11 and then performs slicing at 8 ms.
The recorder speaker calibration module 9 continuously receives the energy values of the various frequencies of the fragments of the recorder multi-frequency separation module 8, the recorder speaker calibration module 9 judges whether the energy value of the high frequency and the energy value of the low frequency of the fragments are larger than a preset threshold B, if so, the energy value of the low frequency is subtracted from the energy value of the high frequency to obtain an energy balance difference, the recorder speaker calibration module 9 carries out Kalman filtering on the energy balance difference to obtain a forecast value of the energy balance difference, if the forecast value of the energy balance difference is smaller than the preset threshold C, the loudspeaker is considered to be effective, sound calibration is carried out, and the recorder speaker calibration module 9 uses the energy value of the high frequency to carry out division with the preset high frequency energy value to obtain an adjustment multiple and sends the adjustment multiple to the recorder speaker module 11.
The recorder speaker module 11 receives the adjustment times sent by the recorder speaker calibration module 9, multiplies the speaker gain reference value by the adjustment times to obtain a speaker gain calibration value, and completes speaker calibration.
The application also discloses a method for automatically calibrating the sound of the microphone and the loudspeaker of the recorder equipment, which is used for the system for automatically calibrating the sound of the microphone and the loudspeaker of the recorder equipment, and specifically comprises the following steps:
the recorder charge detection module 1 sends notification information to the recorder rest detection module 2 when detecting that the recorder has been connected to the acquisition station.
The recorder rest detection module 2 performs rest detection and sends notification information to the recorder microphone calibration module 3 when detecting that the recorder is in a rest state.
The recorder microphone calibration module 3 randomly selects one of the high frequency and the low frequency and transmits the high frequency and the low frequency to the recorder charge detection module 1 and the recorder speaker calibration module 9.
The recorder charge detection module 1 sends the high frequency and the low frequency to the acquisition station charge communication module 4.
The acquisition station charging communication module 4 receives the high frequency and the low frequency and then sends the high frequency and the low frequency to the acquisition station multi-frequency calibration tone generating module 5.
The acquisition station multi-frequency calibration tone generating module 5 receives the high-frequency and low-frequency signals to generate high-frequency PCM audio data and low-frequency PCM audio data, and adds and combines the high-frequency PCM audio data and the low-frequency PCM audio data according to sampling points to generate multi-frequency calibration tones, and sends the multi-frequency calibration tones to the acquisition station loudspeaker module 6.
The acquisition station speaker module 6 receives the multi-frequency calibration tone, digital-to-analog converts it and plays the sound of the multi-frequency calibration tone.
The recorder microphone module 7 receives the sound played by the acquisition station speaker module 6, and performs analog-to-digital conversion on the sound by using a microphone gain reference value, so as to obtain PCM data of the multi-frequency calibration tone of the microphone, and sends the PCM data to the recorder multi-frequency separation module 8.
The recorder multifrequency separation module 8 receives PCM data of multifrequency calibration tones of the microphone of the recorder microphone module 7, performs FFT fourier transform after slicing to obtain energy values of each frequency of the slicing, and continuously transmits the energy values to the recorder microphone calibration module 3.
The recorder microphone calibration module 3 continuously receives the energy values of the various frequencies of the fragments of the recorder multi-frequency separation module 8, the recorder microphone calibration module 3 judges whether the energy value of the high frequency and the energy value of the low frequency of the fragments are larger than a preset threshold B, if so, the energy value of the high frequency is subtracted from the energy value of the low frequency to obtain an energy balance difference, the recorder microphone calibration module 3 carries out Kalman filtering on the energy balance difference to obtain a forecast value of the energy balance difference, if the forecast value of the energy balance difference is smaller than the preset threshold C, the microphone is considered to be effective for sound calibration, and the recorder microphone calibration module 3 uses the energy value of the high frequency to divide the preset high frequency energy value to obtain an adjustment multiple and sends the adjustment multiple to the recorder microphone module 7.
The recorder microphone module 7 receives the adjustment times of the recorder microphone calibration module 3, multiplies the microphone gain reference value by the adjustment times to obtain a microphone gain calibration value, and completes the calibration of the microphone.
The recorder speaker calibration module 9 sends the high and low frequencies to the recorder multi-frequency calibration tone generation module 10.
The recorder multi-frequency calibration tone generating module 10 receives the high-frequency and low-frequency PCM audio data and generates high-frequency PCM audio data and low-frequency PCM audio data, and adds and combines the high-frequency PCM audio data and the low-frequency PCM audio data according to sampling points to generate multi-frequency calibration tones, and sends the multi-frequency calibration tones to the recorder speaker module 11.
The recorder speaker module 11 receives the multi-frequency calibration tone, digital-to-analog converts it, and plays the sound of the multi-frequency calibration tone.
The recorder microphone module 7 receives the sound played by the recorder speaker module 11, and uses the microphone gain calibration value to perform analog-to-digital conversion on the sound, so as to obtain PCM data of the multi-frequency calibration sound of the speaker, and send the PCM data to the recorder multi-frequency separation module 8.
The recorder multi-frequency separation module 8 receives the PCM data of the multi-frequency calibration tone of the speaker of the recorder speaker module 11, performs the FFT fourier transform after the slicing to obtain the energy value of each frequency of the slicing, and continuously sends the energy value to the recorder speaker calibration module 9.
The recorder speaker calibration module 9 continuously receives the energy values of the various frequencies of the fragments of the recorder multi-frequency separation module 8, the recorder speaker calibration module 9 judges whether the energy value of the high frequency and the energy value of the low frequency of the fragments are larger than a preset threshold B, if so, the energy value of the low frequency is subtracted from the energy value of the high frequency to obtain an energy balance difference, the recorder speaker calibration module 9 carries out Kalman filtering on the energy balance difference to obtain a forecast value of the energy balance difference, if the forecast value of the energy balance difference is smaller than the preset threshold C, the loudspeaker is considered to be effective, sound calibration is carried out, and the recorder speaker calibration module 9 uses the energy value of the high frequency to carry out division with the preset high frequency energy value to obtain an adjustment multiple and sends the adjustment multiple to the recorder speaker module 11.
The recorder speaker module 11 receives the adjustment times sent by the recorder speaker calibration module 9, multiplies the speaker gain reference value by the adjustment times to obtain a speaker gain calibration value, and completes speaker calibration.
As a preferred embodiment, the specific method for the recorder static detection module 2 to perform static detection is as follows:
the recorder standing detection module 2 acquires acceleration values of the acceleration sensor in three directions, calculates a modulus of an acceleration vector of the acceleration sensor, carries out Kalman filtering on the modulus of the acceleration vector to obtain a predicted value of the modulus of the acceleration vector, judges whether the predicted value of the modulus of the acceleration vector is smaller than a preset threshold value A, and judges that the recorder is in a standing state if the predicted value of the modulus of the acceleration vector is smaller than the preset threshold value A.
As a preferred embodiment, the specific method for randomly selecting a high-frequency and a low-frequency by the recorder microphone calibration module 3 is as follows:
the recorder microphone calibration module 3 selects one high frequency and one low frequency from 1100hz to 1800hz and 500hz to 900hz, respectively, by a random algorithm.
As a preferred embodiment, the specific method for generating the PCM audio data of the high frequency and the PCM audio data of the low frequency by the acquisition station multi-frequency calibration tone generating module 5 is that the acquisition station multi-frequency calibration tone generating module 5 generates the PCM audio data of the high frequency and the PCM audio data of the low frequency with the fixed energy value of 200 milliseconds after receiving the high frequency and the low frequency.
The specific method for generating the high-frequency PCM audio data and the low-frequency PCM audio data by the recorder multi-frequency calibration tone generating module 10 is that the recorder multi-frequency calibration tone generating module 10 generates the high-frequency PCM audio data and the low-frequency PCM audio data with fixed energy value of 200 milliseconds after receiving the high-frequency and the low-frequency PCM audio data.
As a preferred embodiment, the specific method for slicing the recorder multifrequency separation module 8 is as follows:
The recorder multi-frequency separation module 8 receives PCM data of the multi-frequency calibration tone of the microphone of the recorder microphone module 7 and then slices it at 8 ms. The recorder multi-frequency separation module 8 receives PCM data of the multi-frequency calibration tone of the speaker of the recorder speaker module 11 and then performs slicing at 8 ms.
The foregoing has shown and described the basic principles, principal features and advantages of the invention. It will be appreciated by persons skilled in the art that the above embodiments are not intended to limit the invention in any way, and that all technical solutions obtained by means of equivalent substitutions or equivalent transformations fall within the scope of the invention.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210865608.5A CN115278466B (en) | 2022-07-21 | 2022-07-21 | Automatic calibration system and method for sound of microphone and loudspeaker of recorder equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210865608.5A CN115278466B (en) | 2022-07-21 | 2022-07-21 | Automatic calibration system and method for sound of microphone and loudspeaker of recorder equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115278466A CN115278466A (en) | 2022-11-01 |
| CN115278466B true CN115278466B (en) | 2025-07-18 |
Family
ID=83768010
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210865608.5A Active CN115278466B (en) | 2022-07-21 | 2022-07-21 | Automatic calibration system and method for sound of microphone and loudspeaker of recorder equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115278466B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109309896A (en) * | 2018-09-29 | 2019-02-05 | 歌尔科技有限公司 | Microphone calibration method, apparatus, system and the readable storage medium storing program for executing of audio frequency apparatus |
| JP2020086852A (en) * | 2018-11-22 | 2020-06-04 | 株式会社デンソーテン | Recording device for vehicle, signal processing device, and signal recording method |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8577048B2 (en) * | 2005-09-02 | 2013-11-05 | Harman International Industries, Incorporated | Self-calibrating loudspeaker system |
| FI122089B (en) * | 2006-03-28 | 2011-08-15 | Genelec Oy | Calibration method and equipment for the audio system |
| CN111683331B (en) * | 2020-06-09 | 2021-12-14 | 美特科技(苏州)有限公司 | Audio calibration method and device |
-
2022
- 2022-07-21 CN CN202210865608.5A patent/CN115278466B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109309896A (en) * | 2018-09-29 | 2019-02-05 | 歌尔科技有限公司 | Microphone calibration method, apparatus, system and the readable storage medium storing program for executing of audio frequency apparatus |
| JP2020086852A (en) * | 2018-11-22 | 2020-06-04 | 株式会社デンソーテン | Recording device for vehicle, signal processing device, and signal recording method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115278466A (en) | 2022-11-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12135774B2 (en) | Methods, apparatus and systems for biometric processes | |
| US20250225983A1 (en) | Detection of replay attack | |
| US8792648B2 (en) | Apparatus and method for transmitting/receiving voice signal through headset | |
| CN102164203B (en) | Information processing device and method and program | |
| JP5313268B2 (en) | Speech enhancement using multiple microphones on multiple devices | |
| US9224395B2 (en) | Voice detection for automatic volume controls and voice sensors | |
| CN105580389B (en) | hearing aid with classifier | |
| TW201042634A (en) | Audio source proximity estimation using sensor array for noise reduction | |
| US20240331691A1 (en) | Method And Device For Voice Operated Control | |
| CN104519212A (en) | An echo cancellation method and apparatus | |
| CN107147795A (en) | A kind of reminding method and mobile terminal | |
| US20080228473A1 (en) | Method and apparatus for adjusting hearing intelligibility in mobile phones | |
| CN111526467B (en) | Acoustic listening area mapping and frequency correction | |
| JP2003057341A (en) | Detection of sound source position and method and device for adjusting operation characteristic of audio station | |
| EP4047956B1 (en) | A hearing aid comprising an open loop gain estimator | |
| WO2008128173A1 (en) | Method and device for voice operated control | |
| CN112017677B (en) | Audio signal processing method, terminal device and storage medium | |
| CN114339569B (en) | Method and system for obtaining vibration transfer function | |
| CN115334437A (en) | Vibration transfer function determining system | |
| CN1307613C (en) | Voice Activity Detector and Authenticator for Noisy Environments | |
| CN112017639A (en) | Voice signal detection method, terminal device and storage medium | |
| CN115278466B (en) | Automatic calibration system and method for sound of microphone and loudspeaker of recorder equipment | |
| JP2020201337A (en) | Speech processing device and speech processing method | |
| CN114979902B (en) | Noise reduction and pickup method based on improved variable-step DDCS adaptive algorithm | |
| CN112040386B (en) | Test system |
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 |