CN112995880A - Automatic testing system and method for audio module - Google Patents

Automatic testing system and method for audio module Download PDF

Info

Publication number
CN112995880A
CN112995880A CN202110063573.9A CN202110063573A CN112995880A CN 112995880 A CN112995880 A CN 112995880A CN 202110063573 A CN202110063573 A CN 202110063573A CN 112995880 A CN112995880 A CN 112995880A
Authority
CN
China
Prior art keywords
module
audio
analog
digital
data processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110063573.9A
Other languages
Chinese (zh)
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.)
Xunzhi Microelectronics Hefei Co ltd
Original Assignee
Xunzhi Microelectronics Hefei 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 Xunzhi Microelectronics Hefei Co ltd filed Critical Xunzhi Microelectronics Hefei Co ltd
Priority to CN202110063573.9A priority Critical patent/CN112995880A/en
Publication of CN112995880A publication Critical patent/CN112995880A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R21/00Arrangements for measuring electric power or power factor
    • G01R21/06Arrangements for measuring electric power or power factor by measuring current and voltage

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses an automatic testing system and method for an audio module, wherein a data processing module is connected with a parallel control module, the parallel control module is connected with a digital-to-analog conversion module, an analog-to-digital conversion module and a power consumption measuring module, the audio module is connected to the data processing module through a Type-C interface, the data processing module judges whether THD + N and SNR are within a preset range or not by performing FFT analysis and calculation on THD + N and SNR parameters and the like, and therefore performance detection of the audio module is achieved. Through integrated consumption measurement module, can monitor the consumption parameter of audio frequency module for its stability of analysis need not set up the instrument of extra instrument and carry out the consumption measurement.

Description

Automatic testing system and method for audio module
Technical Field
The invention relates to the technical field of audio testing, in particular to an automatic testing system and method for an audio module.
Background
With the popularization of the Type-C interface, the application of the Type-C interface in mobile equipment such as computers and mobile phones is very wide. Type-C earphones are gradually becoming standard fittings, and the testing of Type-C audio frequency module is the important means of detecting its performance. Currently, most audio test systems on the market are large in size, expensive and inconvenient to test. The automatic testing effect and the testing efficiency of the testing items such as audio parameter testing, performance testing, function testing, data analysis, data storage, curve drawing, failure analysis and the like are low.
Disclosure of Invention
In order to solve the technical problems in the background art, the invention provides an automatic testing system and method for an audio module.
The invention provides an automatic testing system of an audio module, which comprises: the device comprises a data processing module, a parallel control module, a digital-to-analog conversion module and an analog-to-digital conversion module; the data processing module is connected with the parallel control module, and the parallel control module is connected with the digital-to-analog conversion module and the analog-to-digital conversion module;
the data processing module is used for being connected with the audio module through a Type-C interface; the digital-to-analog conversion module is used for being connected with a microphone module of the audio module, and the analog-to-digital conversion module is used for being connected with a power amplification module of the audio module;
in a first working state, the data processing module is used for transmitting a standard audio file to the parallel control module, the parallel control module is used for transmitting the standard audio file to the digital-to-analog conversion module, and the digital-to-analog conversion module performs digital-to-analog conversion and outputs an audio analog signal; the data processing module is used for carrying out FFT analysis according to the audio analog signal collected by the microphone module of the audio module, calculating THD + N and SNR parameters and judging whether the THD + N and the SNR are within a preset range or not;
in a second working state, the data processing module is used for playing a standard audio file through the audio module, the analog-to-digital conversion module is used for collecting audio analog signals output by the power amplification module of the audio module, performing analog-to-digital conversion and outputting audio digital signals, the parallel control module is used for transmitting the audio digital signals to the data processing module, the data processing module is used for performing FFT analysis on the audio digital signals, calculating THD + N and SNR parameters, and judging whether THD + N and SNR are within a preset range.
Preferably, the audio module further comprises a power consumption measuring module, which is connected with the parallel control module and is used for detecting the power consumption of the audio module in the working state and the non-working state.
Preferably, the data processing module adopts a Mini computer and can be connected with the audio module through a Type-C interface;
preferably, the digital-to-analog conversion module DAC is AK 4497; preferably, the analog-to-digital conversion module ADC is AK 5397; preferably, the parallel control module adopts an Artix 7 series programmable logic gate array FPGA of Xilinx; preferably, the power consumption measuring module is a power consumption monitoring chip INA 226.
The invention also provides an automatic testing method of the audio module, which comprises the following steps:
starting the test;
the data processing module transmits a standard audio file to the parallel control module;
the parallel control module transmits the standard audio file to the digital-to-analog conversion module,
the digital-to-analog conversion module performs digital-to-analog conversion and outputs an audio analog signal;
the data processing module carries out FFT analysis according to the audio analog signal collected by the microphone module of the audio module and calculates THD + N and SNR parameters;
the data processing module judges whether the THD + N and the SNR are within a preset range;
and when the judgment result is negative, the test is finished.
Preferably, when the judgment result is yes, the method further comprises:
the data processing module plays a standard audio file through the audio module;
the analog-to-digital conversion module collects audio analog signals output by a power amplification module of the audio module, performs analog-to-digital conversion and outputs audio digital signals;
the parallel control module transmits the audio digital signal to the data processing module;
the data processing module is used for carrying out FFT analysis on the audio digital signal and calculating THD + N and SNR parameters;
the data processing module judges whether the THD + N and the SNR are within a preset range;
recording and storing;
and (5) finishing the test.
Preferably, when the data processing module transmits the standard audio file to the parallel control module, the method further comprises: the power consumption measuring module is used for measuring the power consumption of the audio module and detecting the voltage and the current of the audio module when the audio module does not work.
Preferably, when the microphone module of the audio module collects the audio analog signal, the method further includes: the power consumption measuring module is used for measuring the power consumption of the audio module and detecting the voltage and the current of the microphone module of the audio module when the microphone module is not operated.
Preferably, when the power amplifier module of the audio module outputs the audio analog signal, the method further includes: the power consumption measuring module is used for measuring the power consumption of the audio module and detecting the voltage and the current of the power amplifier module of the audio module when the power amplifier module does not work.
In the system and the method for automatically testing the audio module, the data processing module is connected with the parallel control module, the parallel control module is connected with the digital-to-analog conversion module, the analog-to-digital conversion module and the power consumption measurement module, the audio module is connected to the data processing module through the Type-C interface, the data processing module judges whether THD + N and SNR are within a preset range or not by performing FFT analysis and calculation on THD + N and SNR parameters and the like, and therefore performance detection of the audio module is achieved.
Through integrated consumption measurement module, can monitor the consumption parameter of audio frequency module for its stability of analysis need not set up the instrument of extra instrument and carry out the consumption measurement.
Drawings
Fig. 1 is a schematic structural diagram of an audio module automatic test system according to the present invention.
Detailed Description
Fig. 1 is a schematic structural diagram of an audio module automatic test system according to an embodiment of the present invention.
Referring to fig. 1, an audio module automatic testing system provided by the embodiment of the present invention includes: the device comprises a data processing module, a parallel control module, a digital-to-analog conversion module, an analog-to-digital conversion module and a power consumption measuring module;
the data processing module is connected with the parallel control module, and the parallel control module is connected with the digital-to-analog conversion module, the analog-to-digital conversion module and the power consumption measuring module.
The data processing module is communicated with the parallel control module FPGA and used for sending test instructions, processing, analyzing, storing data and the like. The data processing module adopts a Mini computer and can be connected with the audio module through a Type-C interface.
And the parallel control module FPGA performs parallel work of the audio data output module, the audio data acquisition module and the power consumption measurement module. The parallel control module adopts an Artix 7 series programmable logic gate array FPGA of Xilinx;
the digital-to-analog conversion module DAC is controlled by the parallel control module FPGA and used for outputting audio signals. The digital-to-analog conversion module DAC adopts AK 4497.
The analog-to-digital conversion module ADC is used for collecting analog signals output by the audio module, converting the analog signals into digital signals and outputting the digital signals to the parallel control module. The analog-to-digital conversion module ADC adopts AK 5397;
the power consumption measuring module is used for measuring the power consumption of the audio module during working and non-working. The power consumption measurement module employs a power consumption monitoring chip INA 226.
When the Type-C audio module is subjected to performance test, the audio module is connected to the data processing module through the Type-C interface, and the audio module is identified as a computer sound card and can play an audio file; the digital-to-analog conversion module DAC is connected with the microphone module MIC of the audio module, and the analog-to-digital conversion module ADC is connected with the power amplification module AMP of the audio module. And the power line Vbus is separately wired into the power consumption measurement module on the circuit.
In a first working state, the data processing module starts a test, and the audio module is identified as a computer sound card.
The data processing module transmits a standard audio file to the parallel control module and stores the standard audio file in a cache DDR of the parallel control module; the power consumption measuring module synchronously measures the power consumption of the audio module when the audio module is not in operation.
The parallel control module transmits the standard audio file to the digital-to-analog conversion module, and the digital-to-analog conversion module performs digital-to-analog conversion and outputs an audio analog signal.
A microphone module of the audio module collects audio analog signals and transmits the audio analog signals to the data processing module; the power consumption measuring module synchronously measures the power consumption of the microphone module of the audio module during working.
The data processing module carries out FFT (Fast Fourier Transform) analysis according to an audio analog SIGNAL collected by a microphone module of the audio module, calculates THD + N (Total Harmonic Distortion + Noise, Total Harmonic Distortion plus Noise) and SNR (Signal Noise RATIO) parameters and the like, and judges whether the THD + N and the SNR are within a preset range;
and in a second working state, the data processing module plays the standard audio file through the audio module.
The power amplification module AMP of the audio module outputs an analog audio signal and transmits the analog audio signal to the analog-to-digital conversion module; the power consumption measuring module synchronously measures the power consumption of the power amplifier module of the audio module during working.
The analog-to-digital conversion module collects audio analog signals output by a power amplification module of the audio module, performs analog-to-digital conversion and outputs audio digital signals.
The parallel control module is used for transmitting the audio digital signals to the data processing module.
The data processing module carries out FFT analysis on the audio digital signal, calculates THD + N and SNR parameters, and judges whether THD + N and SNR are within a preset range.
In the automatic testing system for the audio module, the data processing module is connected with the parallel control module, the parallel control module is connected with the digital-to-analog conversion module, the analog-to-digital conversion module and the power consumption measuring module, the audio module is connected to the data processing module through the Type-C interface, the data processing module judges whether THD + N and SNR are within a preset range or not by performing FFT analysis and calculating THD + N and SNR parameters and the like, and therefore performance detection of the audio module is achieved. Through integrated consumption measurement module, can monitor the consumption parameter of audio frequency module for its stability of analysis need not set up the instrument of extra instrument and carry out the consumption measurement.
The embodiment of the invention also provides an automatic testing method of the audio module, which comprises the following steps:
s11, starting the test;
s12, the data processing module transmits a standard audio file to the parallel control module and stores the standard audio file in a cache DDR of the parallel control module;
s13, the parallel control module transmits the standard audio file to the digital-to-analog conversion module;
s14, the digital-to-analog conversion module performs digital-to-analog conversion and outputs an audio analog signal;
s15, a microphone module of the audio module collects audio analog signals and transmits the audio analog signals to the data processing module;
s16, the data processing module performs FFT analysis according to the audio analog signal collected by the microphone module of the audio module and calculates THD + N and SNR parameters;
s17, the data processing module judges whether THD + N and SNR are within a preset range;
and S18, if the judgment result is negative, ending the test.
S21, when the judgment result is yes, the data processing module plays the standard audio file through the audio module;
s22, outputting an analog audio signal by an AMP (amplifier) of the audio module and transmitting the analog audio signal to the analog-to-digital conversion module;
s23, the analog-to-digital conversion module collects the audio analog signal output by the power amplification module of the audio module, performs analog-to-digital conversion and outputs an audio digital signal;
s24, the parallel control module transmits the audio digital signal to the data processing module;
s25, the data processing module performs FFT analysis on the audio digital signal and calculates THD + N and SNR parameters;
s26, the data processing module judges whether THD + N and SNR are within a preset range;
s27, recording and storing;
and S28, ending the test.
And S12, when the data processing module transmits the standard audio file to the parallel control module, the power consumption measuring module measures the power consumption of the audio module and detects the voltage and the current of the audio module when the audio module is not in operation.
When the microphone module of S15 audio frequency module gathered audio frequency analog signal, the power consumption measurement module carried out the power consumption measurement to the audio frequency module, detected the voltage and the electric current of the microphone module busy hour of audio frequency module.
When the power amplifier module of S22 audio frequency module exports audio frequency analog signal, still include: the power consumption measuring module is used for measuring the power consumption of the audio module and detecting the voltage and the current of the power amplifier module of the audio module during busy hours.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.

Claims (8)

1. An automated audio module testing system, comprising: the device comprises a data processing module, a parallel control module, a digital-to-analog conversion module and an analog-to-digital conversion module; the data processing module is connected with the parallel control module, and the parallel control module is connected with the digital-to-analog conversion module and the analog-to-digital conversion module;
the data processing module is used for being connected with the audio module through a Type-C interface; the digital-to-analog conversion module is used for being connected with a microphone module of the audio module, and the analog-to-digital conversion module is used for being connected with a power amplification module of the audio module;
in a first working state, the data processing module is used for transmitting a standard audio file to the parallel control module, the parallel control module is used for transmitting the standard audio file to the digital-to-analog conversion module, and the digital-to-analog conversion module performs digital-to-analog conversion and outputs an audio analog signal; the data processing module is used for carrying out FFT analysis according to the audio analog signal collected by the microphone module of the audio module, calculating THD + N and SNR parameters and judging whether the THD + N and the SNR are within a preset range or not;
in a second working state, the data processing module is used for playing a standard audio file through the audio module, the analog-to-digital conversion module is used for collecting audio analog signals output by the power amplification module of the audio module, performing analog-to-digital conversion and outputting audio digital signals, the parallel control module is used for transmitting the audio digital signals to the data processing module, the data processing module is used for performing FFT analysis on the audio digital signals, calculating THD + N and SNR parameters, and judging whether THD + N and SNR are within a preset range.
2. The system for automatically testing the audio module according to claim 1, further comprising a power consumption measuring module connected to the parallel control module for detecting the power consumption of the audio module in the working state and the non-working state.
3. The automatic testing system of the audio module according to claim 1 or 2, wherein the data processing module is a Mini computer and can be connected to the audio module through a Type-C interface;
preferably, the digital-to-analog conversion module DAC is AK 4497; preferably, the analog-to-digital conversion module ADC is AK 5397; preferably, the parallel control module adopts an Artix 7 series programmable logic gate array FPGA of Xilinx; preferably, the power consumption measuring module is a power consumption monitoring chip INA 226.
4. An automated testing method for an audio module, comprising:
starting the test;
the data processing module transmits a standard audio file to the parallel control module;
the parallel control module transmits the standard audio file to the digital-to-analog conversion module;
the digital-to-analog conversion module performs digital-to-analog conversion and outputs an audio analog signal;
the data processing module carries out FFT analysis according to the audio analog signal collected by the microphone module of the audio module and calculates THD + N and SNR parameters;
the data processing module judges whether the THD + N and the SNR are within a preset range;
and when the judgment result is negative, the test is finished.
5. The method for automatically testing the audio module according to claim 4, wherein when the determination result is yes, the method further comprises:
the data processing module plays a standard audio file through the audio module;
the analog-to-digital conversion module collects audio analog signals output by a power amplification module of the audio module, performs analog-to-digital conversion and outputs audio digital signals;
the parallel control module transmits the audio digital signal to the data processing module;
the data processing module is used for carrying out FFT analysis on the audio digital signal and calculating THD + N and SNR parameters;
the data processing module judges whether the THD + N and the SNR are within a preset range;
recording and storing;
and (5) finishing the test.
6. The method for automatically testing the audio module according to claim 4 or 5, wherein when the data processing module transmits the standard audio file to the parallel control module, the method further comprises: the power consumption measuring module is used for measuring the power consumption of the audio module and detecting the voltage and the current of the audio module when the audio module does not work.
7. The method for automatically testing the audio module according to claim 4 or 5, wherein when the microphone module of the audio module collects the audio analog signal, the method further comprises: the power consumption measuring module is used for measuring the power consumption of the audio module and detecting the voltage and the current of the microphone module of the audio module when the microphone module is not operated.
8. The automatic testing method of the audio module according to claim 4 or 5, wherein when the power amplifier module of the audio module outputs the audio analog signal, the method further comprises: the power consumption measuring module is used for measuring the power consumption of the audio module and detecting the voltage and the current of the power amplifier module of the audio module when the power amplifier module does not work.
CN202110063573.9A 2021-01-18 2021-01-18 Automatic testing system and method for audio module Pending CN112995880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110063573.9A CN112995880A (en) 2021-01-18 2021-01-18 Automatic testing system and method for audio module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110063573.9A CN112995880A (en) 2021-01-18 2021-01-18 Automatic testing system and method for audio module

Publications (1)

Publication Number Publication Date
CN112995880A true CN112995880A (en) 2021-06-18

Family

ID=76344421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110063573.9A Pending CN112995880A (en) 2021-01-18 2021-01-18 Automatic testing system and method for audio module

Country Status (1)

Country Link
CN (1) CN112995880A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090052678A1 (en) * 2007-08-24 2009-02-26 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd Audio test apparatus and test method thereof
CN102967817A (en) * 2011-09-01 2013-03-13 安凯(广州)微电子技术有限公司 Testing system and testing method for chip audio module
CN204964620U (en) * 2015-07-29 2016-01-13 北京华峰测控技术有限公司 Test equipment of total harmonic distortion and SNR parameter
CN106658328A (en) * 2016-11-22 2017-05-10 歌尔股份有限公司 Earphone testing circuit
CN107222268A (en) * 2017-07-31 2017-09-29 武汉虹信通信技术有限责任公司 A kind of power amplifier module intermodulation is debugged and test system and method automatically
CN109362016A (en) * 2018-09-18 2019-02-19 北京小鸟听听科技有限公司 Audio-frequence player device and its test method and test device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090052678A1 (en) * 2007-08-24 2009-02-26 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd Audio test apparatus and test method thereof
CN102967817A (en) * 2011-09-01 2013-03-13 安凯(广州)微电子技术有限公司 Testing system and testing method for chip audio module
CN204964620U (en) * 2015-07-29 2016-01-13 北京华峰测控技术有限公司 Test equipment of total harmonic distortion and SNR parameter
CN106658328A (en) * 2016-11-22 2017-05-10 歌尔股份有限公司 Earphone testing circuit
CN107222268A (en) * 2017-07-31 2017-09-29 武汉虹信通信技术有限责任公司 A kind of power amplifier module intermodulation is debugged and test system and method automatically
CN109362016A (en) * 2018-09-18 2019-02-19 北京小鸟听听科技有限公司 Audio-frequence player device and its test method and test device

Similar Documents

Publication Publication Date Title
CN101577922A (en) Device and method for testing sound system of mobile phone sound
CN101729969A (en) Method and system for testing microphone of electronic device
CN104244162B (en) The noise detection method and device of a kind of loudspeaker
CN103179495A (en) Audio test method and system for earphone microphone and receiver of mobile terminal
CN101374374A (en) Audio test device and method
CN101448180A (en) Test system of mobile telephone speaker
CN113259832B (en) Microphone array detection method and device, electronic equipment and storage medium
CN102547526B (en) Real-time monitoring method and system of microphone working state
CN112118525A (en) Automatic change intelligent TWS bluetooth headset test system
CN101867863A (en) Audio test system
CN108615536B (en) Time-frequency joint characteristic musical instrument tone quality evaluation system and method based on microphone array
CN103179496A (en) Audio test method and system for earphone microphone and receiver of mobile terminal
CN204669592U (en) Automobile instrument voice signal detects and harvester
CN201755235U (en) Heart sound signal collecting and analyzing device based on sound card
CN112995880A (en) Automatic testing system and method for audio module
CN205336536U (en) Measurement device for short -wave radio set speaker
CN206235390U (en) A kind of hand-held vibration noise measuring instrument with writing function
CN110460949B (en) Earphone production and detection method
CN201464308U (en) Digital display voice rebound tester
CN203719760U (en) Intelligent grinding sound frequency spectrum analyzer
CN219876131U (en) Audio frequency measuring device
CN209149808U (en) A kind of portable voice signal analysis device
CN101545805B (en) POP noise test system and method
CN113325214A (en) Oscilloscope supporting sound analysis and triggering
CN203376865U (en) Wireless external synchronous sound wave collecting front end device

Legal Events

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