[go: up one dir, main page]

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 equipment

Info

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
Application number
CN202210865608.5A
Other languages
Chinese (zh)
Other versions
CN115278466A (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.)
Deep Blue Perception Hangzhou Iot Technology Co ltd
Original Assignee
Deep Blue Perception Hangzhou Iot 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 Deep Blue Perception Hangzhou Iot Technology Co ltd filed Critical Deep Blue Perception Hangzhou Iot Technology Co ltd
Priority to CN202210865608.5A priority Critical patent/CN115278466B/en
Publication of CN115278466A publication Critical patent/CN115278466A/en
Application granted granted Critical
Publication of CN115278466B publication Critical patent/CN115278466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/04Circuits for transducers, loudspeakers or microphones for correcting frequency response
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P15/00Measuring acceleration; Measuring deceleration; Measuring shock, i.e. sudden change of acceleration
    • G01P15/18Measuring acceleration; Measuring deceleration; Measuring shock, i.e. sudden change of acceleration in two or more dimensions
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech 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/02Speech 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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech 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/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0316Speech 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

Automatic calibration system and method for sound of microphone and loudspeaker of recorder equipment
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)

1.一种记录仪设备的麦克风与扬声器声音自动校准系统,其特征在于,包含:记录仪充电检测模块、记录仪静置检测模块、记录仪麦克风校对模块、采集站充电通信模块、采集站多频校准音生成模块、采集站扬声器模块、记录仪麦克风模块、记录仪多频分离模块、记录仪扬声器校对模块、记录仪多频校准音生成模块和记录仪扬声器模块;1. A microphone and speaker sound automatic calibration system for a recorder device, characterized in that it comprises: a recorder charging detection module, a recorder static detection module, a recorder microphone calibration module, a collection station charging communication module, a collection station multi-frequency calibration sound generation module, a collection station speaker module, a recorder microphone module, a recorder multi-frequency separation module, a recorder speaker calibration module, a recorder multi-frequency calibration sound generation module and a recorder speaker module; 记录仪充电检测模块在检测到记录仪已连接至采集站时向记录仪静置检测模块发送通知信息;The recorder charging detection module sends a notification message to the recorder static detection module when detecting that the recorder has been connected to the collection station; 记录仪静置检测模块进行静置检测并在检测到记录仪处于静置状态时向记录仪麦克风校对模块发送通知信息;The recorder static detection module performs static detection and sends a notification message to the recorder microphone calibration module when detecting that the recorder is in a static state; 记录仪麦克风校对模块通过随机算法分别从1100HZ~1800HZ和500HZ~900HZ中随机选择一个高频频率和低频频率,并将高频频率和低频频率发送至记录仪充电检测模块和记录仪扬声器校对模块;The recorder microphone calibration module randomly selects a high frequency and a low frequency from 1100HZ to 1800HZ and 500HZ to 900HZ respectively through a random algorithm, and sends the high frequency and the low frequency to the recorder charging detection module and the recorder speaker calibration module; 记录仪充电检测模块将该高频频率和低频频率发送至采集站充电通信模块;The recorder charging detection module sends the high frequency and low frequency to the collection station charging communication module; 采集站充电通信模块接收到该高频频率和低频频率后将其发送至采集站多频校准音生成模块;After receiving the high frequency and the low frequency, the charging communication module of the collection station sends them to the multi-frequency calibration tone generation module of the collection station; 采集站多频校准音生成模块接收到该高频频率和低频频率后生成高频频率的PCM音频数据和低频频率的PCM音频数据,把高频频率的PCM音频数据和低频频率的PCM音频数据按照采样点进行加法合并生成多频校准音发送至采集站扬声器模块;After receiving the high frequency and the low frequency, the multi-frequency calibration sound generation module of the collection station generates high-frequency PCM audio data and low-frequency PCM audio data, adds and combines the high-frequency PCM audio data and the low-frequency PCM audio data according to the sampling points to generate the multi-frequency calibration sound and sends it to the collection station speaker module; 采集站扬声器模块接收多频校准音后对其进行数模转换并播放多频校准音的声音;The speaker module of the acquisition station receives the multi-frequency calibration sound, performs digital-to-analog conversion on it, and plays the sound of the multi-frequency calibration sound; 记录仪麦克风模块接收采集站扬声器模块播放的声音,并使用麦克风增益基准值对其进行模数转换,得到麦克风的多频校准音的PCM数据并发送至记录仪多频分离模块;The recorder microphone module receives the sound played by the collection station speaker module, and uses the microphone gain reference value to perform analog-to-digital conversion, obtains the PCM data of the microphone's multi-frequency calibration sound and sends it to the recorder multi-frequency separation module; 记录仪多频分离模块接收记录仪麦克风模块的麦克风的多频校准音的PCM数据,进行分片后再进行FFT傅里叶变换得到分片的各个频率的能量值,并持续发送至记录仪麦克风校对模块;The recorder multi-frequency separation module receives the PCM data of the multi-frequency calibration sound of the microphone of the recorder microphone module, slices it, and then performs FFT Fourier transform to obtain the energy value of each frequency of the slice, and continuously sends it to the recorder microphone calibration module; 记录仪麦克风校对模块持续接收记录仪多频分离模块的分片的各个频率的能量值,记录仪麦克风校对模块判断分片的高频频率的能量值与低频频率的能量值是否大于预设阀值B,如果大于则把高频频率的能量值减去低频频率的能量值得到能量平衡差,记录仪麦克风校对模块对能量平衡差进行卡尔曼滤波,得到能量平衡差的预报值,如果能量平衡差的预报值小于预设阀值C,则认为麦克风有效,进行声音校对,记录仪麦克风校对模块使用高频频率的能量值与预设的高频能量值进行相除得调节倍数并发送至记录仪麦克风模块;The recorder microphone calibration module continuously receives the energy value of each frequency of the slice of the recorder multi-frequency separation module. The recorder microphone calibration module determines whether the energy value of the high-frequency frequency and the energy value of the low-frequency frequency of the slice are greater than the preset threshold value B. If greater than, the energy value of the high-frequency frequency is subtracted from the energy value of the low-frequency frequency to obtain the energy balance difference. The recorder microphone calibration module performs Kalman filtering on the energy balance difference to obtain a predicted value of the energy balance difference. If the predicted value of the energy balance difference is less than the preset threshold value C, the microphone is considered to be effective and sound calibration is performed. The recorder microphone calibration module uses the energy value of the high-frequency frequency to divide the preset high-frequency energy value to obtain an adjustment multiple and sends it to the recorder microphone module; 记录仪麦克风模块接收记录仪麦克风校对模块的调节倍数,把麦克风增益基准值乘以调节倍数得到麦克风增益校准值,完成麦克风的校准;The recorder microphone module receives the adjustment multiple of the recorder microphone calibration module, multiplies the microphone gain reference value by the adjustment multiple to obtain the microphone gain calibration value, and completes the calibration of the microphone; 记录仪扬声器校对模块将该高频频率和低频频率发送至记录仪多频校准音生成模块;The recorder speaker calibration module sends the high frequency and the low frequency to the recorder multi-frequency calibration sound generation module; 记录仪多频校准音生成模块接收到该高频频率和低频频率后生成高频频率的PCM音频数据和低频频率的PCM音频数据,把高频频率的PCM音频数据和低频频率的PCM音频数据按照采样点进行加法合并生成多频校准音发送至记录仪扬声器模块;After receiving the high frequency and the low frequency, the multi-frequency calibration sound generation module of the recorder generates the PCM audio data of the high frequency and the PCM audio data of the low frequency, adds and combines the PCM audio data of the high frequency and the PCM audio data of the low frequency according to the sampling points to generate the multi-frequency calibration sound and sends it to the recorder speaker module; 记录仪扬声器模块接收多频校准音后对其进行数模转换并播放多频校准音的声音;The recorder speaker module receives the multi-frequency calibration sound, performs digital-to-analog conversion on it, and plays the sound of the multi-frequency calibration sound; 记录仪麦克风模块接收记录仪扬声器模块播放的声音,并使用麦克风增益校准值对其进行模数转换,得到扬声器的多频校准音的PCM数据并发送至记录仪多频分离模块;The recorder microphone module receives the sound played by the recorder speaker module, and uses the microphone gain calibration value to perform analog-to-digital conversion on it, obtains the PCM data of the multi-frequency calibration sound of the speaker and sends it to the recorder multi-frequency separation module; 记录仪多频分离模块接收记录仪扬声器模块的扬声器的多频校准音的PCM数据,进行分片后再进行FFT傅里叶变换得到分片的各个频率的能量值,并持续发送至记录仪扬声器校对模块;The recorder multi-frequency separation module receives the PCM data of the multi-frequency calibration sound of the speaker of the recorder speaker module, slices it, and then performs FFT Fourier transform to obtain the energy value of each frequency of the slice, and continuously sends it to the recorder speaker calibration module; 记录仪扬声器校对模块持续接收记录仪多频分离模块的分片的各个频率的能量值,记录仪扬声器校对模块判断分片的高频频率的能量值与低频频率的能量值是否大于预设阀值B,如果大于则把高频频率的能量值减去低频频率的能量值得到能量平衡差,记录仪扬声器校对模块对能量平衡差进行卡尔曼滤波,得到能量平衡差的预报值,如果能量平衡差的预报值小于预设阀值C,则认为扬声器有效,进行声音校对,记录仪扬声器校对模块使用高频频率的能量值与预设的高频能量值进行相除得到调节倍数并发送至记录仪扬声器模块;The recorder speaker calibration module continuously receives the energy value of each frequency of the slice of the recorder multi-frequency separation module. The recorder speaker calibration module determines whether the energy value of the high-frequency frequency and the energy value of the low-frequency frequency of the slice are greater than the preset threshold value B. If greater than, the energy value of the high-frequency frequency is subtracted from the energy value of the low-frequency frequency to obtain the energy balance difference. The recorder speaker calibration module performs Kalman filtering on the energy balance difference to obtain a predicted value of the energy balance difference. If the predicted value of the energy balance difference is less than the preset threshold value C, it is considered that the speaker is effective and sound calibration is performed. The recorder speaker calibration module uses the energy value of the high-frequency frequency to divide the preset high-frequency energy value to obtain an adjustment multiple and sends it to the recorder speaker module; 记录仪扬声器模块接收记录仪扬声器校对模块发送的调节倍数,把扬声器增益基准值乘以调节倍数,得到扬声器增益校准值,完成扬声器校准。The recorder speaker module receives the adjustment multiple sent by the recorder speaker calibration module, multiplies the speaker gain reference value by the adjustment multiple, obtains the speaker gain calibration value, and completes the speaker calibration. 2.根据权利要求1所述的一种记录仪设备的麦克风与扬声器声音自动校准系统,其特征在于,2. The automatic sound calibration system for microphone and speaker of a recorder device according to claim 1, characterized in that: 记录仪静置检测模块获取加速度传感器的三个方向加速度值,计算加速度传感器的加速度的矢量的模,对加速度的矢量的模进行卡尔曼滤波得到加速度的矢量的模的预报值,判断加速度的矢量的模的预报值是否小与预设阀值A,若小于预设阀值A则判定处于静置状态。The recorder static detection module obtains the acceleration values of the acceleration sensor in three directions, calculates the modulus of the acceleration vector of the acceleration sensor, performs Kalman filtering on the modulus of the acceleration vector to obtain a predicted value of the modulus of the acceleration vector, and determines whether the predicted value of the modulus of the acceleration vector is less than a preset threshold A. If it is less than the preset threshold A, it is determined to be in a static state. 3.根据权利要求1所述的一种记录仪设备的麦克风与扬声器声音自动校准系统,其特征在于,3. The automatic sound calibration system for microphone and speaker of a recorder device according to claim 1, characterized in that: 采集站多频校准音生成模块接收到该高频频率和低频频率后生成200毫秒的固定能量值大小的高频频率的PCM音频数据和低频频率的PCM音频数据;After receiving the high frequency and the low frequency, the multi-frequency calibration tone generation module of the acquisition station generates high frequency PCM audio data and low frequency PCM audio data with a fixed energy value of 200 milliseconds; 记录仪多频校准音生成模块接收到该高频频率和低频频率后生成200毫秒的固定能量值大小的高频频率的PCM音频数据和低频频率的PCM音频数据。After receiving the high frequency and the low frequency, the multi-frequency calibration sound generating module of the recorder generates high frequency PCM audio data and low frequency PCM audio data with a fixed energy value of 200 milliseconds. 4.根据权利要求1所述的一种记录仪设备的麦克风与扬声器声音自动校准系统,其特征在于,4. The automatic sound calibration system for microphone and speaker of a recorder device according to claim 1, characterized in that: 记录仪多频分离模块接收记录仪麦克风模块的麦克风的多频校准音的PCM数据后以8毫秒进行分片;The recorder multi-frequency separation module receives the PCM data of the multi-frequency calibration sound of the microphone of the recorder microphone module and then segments it into 8 milliseconds; 记录仪多频分离模块接收记录仪扬声器模块的扬声器的多频校准音的PCM数据后以8毫秒进行分片。The recorder multi-frequency separation module receives the PCM data of the multi-frequency calibration sound of the speaker of the recorder speaker module and segments it into 8 milliseconds. 5.一种记录仪设备的麦克风与扬声器声音自动校准方法,其特征在于,包含以下步骤:5. A method for automatic sound calibration of a microphone and a speaker of a recording device, characterized in that it comprises the following steps: 记录仪充电检测模块在检测到记录仪已连接至采集站时向记录仪静置检测模块发送通知信息;The recorder charging detection module sends a notification message to the recorder static detection module when detecting that the recorder has been connected to the collection station; 记录仪静置检测模块进行静置检测并在检测到记录仪处于静置状态时向记录仪麦克风校对模块发送通知信息;The recorder static detection module performs static detection and sends a notification message to the recorder microphone calibration module when detecting that the recorder is in a static state; 记录仪麦克风校对模块通过随机算法分别从1100HZ~1800HZ和500HZ~900HZ中随机选择一个高频频率和低频频率,并将高频频率和低频频率发送至记录仪充电检测模块和记录仪扬声器校对模块;The recorder microphone calibration module randomly selects a high frequency and a low frequency from 1100HZ to 1800HZ and 500HZ to 900HZ respectively through a random algorithm, and sends the high frequency and the low frequency to the recorder charging detection module and the recorder speaker calibration module; 记录仪充电检测模块将该高频频率和低频频率发送至采集站充电通信模块;The recorder charging detection module sends the high frequency and the low frequency to the collection station charging communication module; 采集站充电通信模块接收到该高频频率和低频频率后将其发送至采集站多频校准音生成模块;After receiving the high frequency and the low frequency, the charging communication module of the collection station sends them to the multi-frequency calibration tone generation module of the collection station; 采集站多频校准音生成模块接收到该高频频率和低频频率后生成高频频率的PCM音频数据和低频频率的PCM音频数据,把高频频率的PCM音频数据和低频频率的PCM音频数据按照采样点进行加法合并生成多频校准音发送至采集站扬声器模块;After receiving the high frequency and the low frequency, the multi-frequency calibration sound generation module of the collection station generates high-frequency PCM audio data and low-frequency PCM audio data, adds and combines the high-frequency PCM audio data and the low-frequency PCM audio data according to the sampling points to generate the multi-frequency calibration sound and sends it to the collection station speaker module; 采集站扬声器模块接收多频校准音后对其进行数模转换并播放多频校准音的声音;The speaker module of the acquisition station receives the multi-frequency calibration sound, performs digital-to-analog conversion on it, and plays the sound of the multi-frequency calibration sound; 记录仪麦克风模块接收采集站扬声器模块播放的声音,并使用麦克风增益基准值对其进行模数转换,得到麦克风的多频校准音的PCM数据并发送至记录仪多频分离模块;The recorder microphone module receives the sound played by the collection station speaker module, and uses the microphone gain reference value to perform analog-to-digital conversion, obtains the PCM data of the microphone's multi-frequency calibration sound and sends it to the recorder multi-frequency separation module; 记录仪多频分离模块接收记录仪麦克风模块的麦克风的多频校准音的PCM数据,进行分片后再进行FFT傅里叶变换得到分片的各个频率的能量值,并持续发送至记录仪麦克风校对模块;The recorder multi-frequency separation module receives the PCM data of the multi-frequency calibration sound of the microphone of the recorder microphone module, slices it, and then performs FFT Fourier transform to obtain the energy value of each frequency of the slice, and continuously sends it to the recorder microphone calibration module; 记录仪麦克风校对模块持续接收记录仪多频分离模块的分片的各个频率的能量值,记录仪麦克风校对模块判断分片的高频频率的能量值与低频频率的能量值是否大于预设阀值B,如果大于则把高频频率的能量值减去低频频率的能量值得到能量平衡差,记录仪麦克风校对模块对能量平衡差进行卡尔曼滤波,得到能量平衡差的预报值,如果能量平衡差的预报值小于预设阀值C,则认为麦克风有效,进行声音校对,记录仪麦克风校对模块使用高频频率的能量值与预设的高频能量值进行相除得调节倍数并发送至记录仪麦克风模块;The recorder microphone calibration module continuously receives the energy value of each frequency of the slice of the recorder multi-frequency separation module. The recorder microphone calibration module determines whether the energy value of the high-frequency frequency and the energy value of the low-frequency frequency of the slice are greater than the preset threshold value B. If greater than, the energy value of the high-frequency frequency is subtracted from the energy value of the low-frequency frequency to obtain the energy balance difference. The recorder microphone calibration module performs Kalman filtering on the energy balance difference to obtain a predicted value of the energy balance difference. If the predicted value of the energy balance difference is less than the preset threshold value C, the microphone is considered to be effective and sound calibration is performed. The recorder microphone calibration module uses the energy value of the high-frequency frequency to divide the preset high-frequency energy value to obtain an adjustment multiple and sends it to the recorder microphone module; 记录仪麦克风模块接收记录仪麦克风校对模块的调节倍数,把麦克风增益基准值乘以调节倍数得到麦克风增益校准值,完成麦克风的校准;The recorder microphone module receives the adjustment multiple of the recorder microphone calibration module, multiplies the microphone gain reference value by the adjustment multiple to obtain the microphone gain calibration value, and completes the calibration of the microphone; 记录仪扬声器校对模块将该高频频率和低频频率发送至记录仪多频校准音生成模块;The recorder speaker calibration module sends the high frequency and the low frequency to the recorder multi-frequency calibration sound generation module; 记录仪多频校准音生成模块接收到该高频频率和低频频率后生成高频频率的PCM音频数据和低频频率的PCM音频数据,把高频频率的PCM音频数据和低频频率的PCM音频数据按照采样点进行加法合并生成多频校准音发送至记录仪扬声器模块;After receiving the high frequency and the low frequency, the multi-frequency calibration sound generation module of the recorder generates the PCM audio data of the high frequency and the PCM audio data of the low frequency, adds and combines the PCM audio data of the high frequency and the PCM audio data of the low frequency according to the sampling points to generate the multi-frequency calibration sound and sends it to the recorder speaker module; 记录仪扬声器模块接收多频校准音后对其进行数模转换并播放多频校准音的声音;The recorder speaker module receives the multi-frequency calibration sound, performs digital-to-analog conversion on it, and plays the sound of the multi-frequency calibration sound; 记录仪麦克风模块接收记录仪扬声器模块播放的声音,并使用麦克风增益校准值对其进行模数转换,得到扬声器的多频校准音的PCM数据并发送至记录仪多频分离模块;The recorder microphone module receives the sound played by the recorder speaker module, and uses the microphone gain calibration value to perform analog-to-digital conversion on it, obtains the PCM data of the multi-frequency calibration sound of the speaker and sends it to the recorder multi-frequency separation module; 记录仪多频分离模块接收记录仪扬声器模块的扬声器的多频校准音的PCM数据,进行分片后再进行FFT傅里叶变换得到分片的各个频率的能量值,并持续发送至记录仪扬声器校对模块;The recorder multi-frequency separation module receives the PCM data of the multi-frequency calibration sound of the speaker of the recorder speaker module, slices it, and then performs FFT Fourier transform to obtain the energy value of each frequency of the slice, and continuously sends it to the recorder speaker calibration module; 记录仪扬声器校对模块持续接收记录仪多频分离模块的分片的各个频率的能量值,记录仪扬声器校对模块判断分片的高频频率的能量值与低频频率的能量值是否大于预设阀值B,如果大于则把高频频率的能量值减去低频频率的能量值得到能量平衡差,记录仪扬声器校对模块对能量平衡差进行卡尔曼滤波,得到能量平衡差的预报值,如果能量平衡差的预报值小于预设阀值C,则认为扬声器有效,进行声音校对,记录仪扬声器校对模块使用高频频率的能量值与预设的高频能量值进行相除得到调节倍数并发送至记录仪扬声器模块;The recorder speaker calibration module continuously receives the energy value of each frequency of the slice of the recorder multi-frequency separation module. The recorder speaker calibration module determines whether the energy value of the high-frequency frequency and the energy value of the low-frequency frequency of the slice are greater than the preset threshold value B. If greater than, the energy value of the high-frequency frequency is subtracted from the energy value of the low-frequency frequency to obtain the energy balance difference. The recorder speaker calibration module performs Kalman filtering on the energy balance difference to obtain a predicted value of the energy balance difference. If the predicted value of the energy balance difference is less than the preset threshold value C, it is considered that the speaker is effective and sound calibration is performed. The recorder speaker calibration module uses the energy value of the high-frequency frequency to divide the preset high-frequency energy value to obtain an adjustment multiple and sends it to the recorder speaker module; 记录仪扬声器模块接收记录仪扬声器校对模块发送的调节倍数,把扬声器增益基准值乘以调节倍数,得到扬声器增益校准值,完成扬声器校准。The recorder speaker module receives the adjustment multiple sent by the recorder speaker calibration module, multiplies the speaker gain reference value by the adjustment multiple, obtains the speaker gain calibration value, and completes the speaker calibration. 6.根据权利要求5所述的一种记录仪设备的麦克风与扬声器声音自动校准方法,其特征在于,6. The method for automatic sound calibration of a microphone and a speaker of a recording device according to claim 5, characterized in that: 记录仪静置检测模块进行静置检测的具体方法为:The specific method of the recorder static detection module to perform static detection is: 记录仪静置检测模块获取加速度传感器的三个方向加速度值,计算加速度传感器的加速度的矢量的模,对加速度的矢量的模进行卡尔曼滤波得到加速度的矢量的模的预报值,判断加速度的矢量的模的预报值是否小与预设阀值A,若小于预设阀值A则判定处于静置状态。The recorder static detection module obtains the acceleration values of the acceleration sensor in three directions, calculates the modulus of the acceleration vector of the acceleration sensor, performs Kalman filtering on the modulus of the acceleration vector to obtain a predicted value of the modulus of the acceleration vector, and determines whether the predicted value of the modulus of the acceleration vector is less than a preset threshold A. If it is less than the preset threshold A, it is determined to be in a static state. 7.根据权利要求5所述的一种记录仪设备的麦克风与扬声器声音自动校准方法,其特征在于,7. The method for automatic sound calibration of a microphone and a speaker of a recording device according to claim 5, characterized in that: 采集站多频校准音生成模块生成高频频率的PCM音频数据和低频频率的PCM音频数据的具体方法为:The specific method for the multi-frequency calibration tone generation module of the acquisition station to generate high-frequency PCM audio data and low-frequency PCM audio data is as follows: 采集站多频校准音生成模块接收到该高频频率和低频频率后生成200毫秒的固定能量值大小的高频频率的PCM音频数据和低频频率的PCM音频数据;After receiving the high frequency and the low frequency, the multi-frequency calibration tone generation module of the acquisition station generates high frequency PCM audio data and low frequency PCM audio data with a fixed energy value of 200 milliseconds; 记录仪多频校准音生成模块生成高频频率的PCM音频数据和低频频率的PCM音频数据的具体方法为:The specific method for the recorder multi-frequency calibration tone generation module to generate high-frequency PCM audio data and low-frequency PCM audio data is as follows: 记录仪多频校准音生成模块接收到该高频频率和低频频率后生成200毫秒的固定能量值大小的高频频率的PCM音频数据和低频频率的PCM音频数据。After receiving the high frequency and the low frequency, the multi-frequency calibration sound generating module of the recorder generates high frequency PCM audio data and low frequency PCM audio data with a fixed energy value of 200 milliseconds. 8.根据权利要求5所述的一种记录仪设备的麦克风与扬声器声音自动校准方法,其特征在于,8. The method for automatic sound calibration of a microphone and a speaker of a recording device according to claim 5, characterized in that: 记录仪多频分离模块进行分片的具体方法为:The specific method of slicing the recorder multi-frequency separation module is as follows: 记录仪多频分离模块接收记录仪麦克风模块的麦克风的多频校准音的PCM数据后以8毫秒进行分片;The recorder multi-frequency separation module receives the PCM data of the multi-frequency calibration sound of the microphone of the recorder microphone module and then segments it into 8 milliseconds; 记录仪多频分离模块接收记录仪扬声器模块的扬声器的多频校准音的PCM数据后以8毫秒进行分片。The recorder multi-frequency separation module receives the PCM data of the multi-frequency calibration sound of the speaker of the recorder speaker module and segments it into 8 milliseconds.
CN202210865608.5A 2022-07-21 2022-07-21 Automatic calibration system and method for sound of microphone and loudspeaker of recorder equipment Active CN115278466B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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