Movatterモバイル変換


[0]ホーム

URL:


CN107205204B - Earphone fault detection method and special earphone for examination - Google Patents

Earphone fault detection method and special earphone for examination
Download PDF

Info

Publication number
CN107205204B
CN107205204BCN201610150921.5ACN201610150921ACN107205204BCN 107205204 BCN107205204 BCN 107205204BCN 201610150921 ACN201610150921 ACN 201610150921ACN 107205204 BCN107205204 BCN 107205204B
Authority
CN
China
Prior art keywords
microphone
energy
loudspeaker
horn
sound guide
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
CN201610150921.5A
Other languages
Chinese (zh)
Other versions
CN107205204A (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.)
Qichen Guangzhou Electronic Technology Co ltd
Original Assignee
Qichen Guangzhou Electronic 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 Qichen Guangzhou Electronic Technology Co ltdfiledCriticalQichen Guangzhou Electronic Technology Co ltd
Priority to CN201610150921.5ApriorityCriticalpatent/CN107205204B/en
Publication of CN107205204ApublicationCriticalpatent/CN107205204A/en
Application grantedgrantedCritical
Publication of CN107205204BpublicationCriticalpatent/CN107205204B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses an earphone fault detection method and an examination special earphone, wherein the method comprises the following steps: when the loudspeaker is triggered to play voice when the microphone is in a non-recording state, first energy is collected at the position of the microphone; calculating N horn energy ratios in N time periods according to the first energy; when the N horn energy ratios are all smaller than a first threshold value, when the horn is in a non-playing state, collecting second energy at the position of the microphone, and calculating M horn energy ratios in M time periods according to the second energy; wherein M is more than or equal to 2; judging whether the difference values of the M horn energy ratios and a preset reference value are all smaller than a second threshold value; if yes, determining that the microphone has a fault; otherwise, determining that the loudspeaker is in fault. By adopting the embodiment of the invention, whether the earphone loudspeaker and the microphone have faults or not can be simultaneously detected, and the fairness of the examination is ensured.

Description

Earphone fault detection method and special earphone for examination
Technical Field
The invention relates to the technical field of fault detection, in particular to an earphone fault detection method and an examination special earphone.
Background
The existing listening and speaking examinations are configured to an examinee with a computer and an earphone. Examinees log in the examination system through the computer, voice playing and voice answering are carried out through the earphones, and the computer stores and uploads the information and the answers of the examinees to the relevant server for scoring. In order to ensure the fairness of the examination, each examination earphone needs to be ensured to have no fault in the examination process, otherwise, unnecessary disputes can be generated. If an examinee does not produce sound in the whole examination process in order to know the examination question type, the earphone is complained of the fault after the examination is finished, so that the chance of re-examination is obtained, and the fairness of the examination is seriously influenced.
The existing detection method is to add an additional sound generating device at the microphone of the earphone. When the students answer and record, the original voices and the additional sounds of the students are collected, and whether the microphones are damaged or not is judged through detecting the frequency and the energy of the additional sounds. Although the method can detect the microphone on the examination earphone in real time, the added sound can destroy the original voice of the examinee and bring influence to the evaluation of the score of the examinee. Even if the additional sound is removed during examination scoring, the removal cannot completely recover the original voice of the examinee, and the voice file which speaks the destructive processing is difficult to be used as strong evidence in a legal perspective. In addition, in the prior art, how to detect the failure of the earphone speaker is not mentioned, and if a speaker on one side of an examinee fails in an examination process, unnecessary influence is caused on the examinee, and the fairness of the examination is also contradicted.
Disclosure of Invention
The embodiment of the invention provides an earphone fault detection method and an earphone special for an examination, which can detect whether a loudspeaker and a microphone of the earphone have faults or not and ensure the fairness of the examination.
The embodiment of the invention provides a method for detecting earphone faults, which comprises the following steps:
judging whether the loudspeaker is triggered to play voice when the microphone is in a non-recording state;
if not, returning to continue judging;
if so, acquiring first energy at the position of the microphone; the first energy comprises: external sound energy received by the microphone and horn sound energy transmitted to the microphone by the horn through a sound guide tube; the loudspeaker is connected with the microphone through the sound guide pipe;
calculating N horn energy ratios in N time periods according to the first energy; wherein N is more than or equal to 2;
when the energy ratios of the N loudspeakers are all smaller than a first threshold value, acquiring second energy at the position of the microphone when the loudspeakers are in a non-playing state;
according to the second energy, M horn energy ratios in M time periods are calculated; wherein M is more than or equal to 2;
judging whether the difference values of the M horn energy ratios and a preset reference value are all smaller than a second threshold value;
if yes, determining that the microphone is in failure;
otherwise, determining that the horn is in fault.
Further, the earphone failure detection method further includes: when the N horn energy ratios are not all less than a first threshold, then it is determined that the microphone is not malfunctioning.
Further, the calculating, according to the first energy, N horn energy ratios in N time periods specifically includes:
calculating N horn energy ratios in N time periods by the following formula;
αi =10log10i0 );
wherein alpha isi Is the ith horn energy ratio; phi (i The first energy collected in the ith unit time; phi (0 Is the reference value.
Further, the loudspeaker is connected with the microphone through the sound guide tube, and specifically comprises:
one end of the sound guide pipe is connected to the sounding vibrating diaphragm of the loudspeaker, and the other end of the sound guide pipe is connected to the vibration sensor of the microphone.
Further, the reference value is the sum of the energies of the microphones in the interval 300Hz to 3400Hz in the unit time under the quiet environment.
Correspondingly, the embodiment of the invention also provides a special earphone for examinations, which comprises: the loudspeaker, the microphone, the sound guide tube and the controller;
wherein the loudspeaker is connected with the microphone through the sound guide pipe;
the controller is respectively connected with the loudspeaker and the microphone;
the controller is configured to perform the headset malfunction detection method of any one of claims 1 to 4.
Further, the loudspeaker is connected with the microphone through the sound guide pipe, and specifically comprises:
one end of the sound guide pipe is connected to the sounding vibrating diaphragm of the loudspeaker, and the other end of the sound guide pipe is connected to the vibration sensor of the microphone.
Further, the test-dedicated headset further includes: an indicator light;
the indicator light is connected with the controller and used for being started when the controller determines that the loudspeaker or the microphone has a fault so as to indicate a supervisor to replace faulty equipment.
Further, the microphone is a cardioid directional microphone.
The embodiment of the invention has the following beneficial effects:
according to the earphone fault detection method and the special earphone for the examination, the loudspeaker is connected with the microphone through the sound guide pipe and transmits sound, the controller collects first energy when the microphone is in a non-recording state and the loudspeaker is in a playing state, N loudspeaker energy ratios are calculated according to the first energy, finally when the N loudspeaker energy ratios are smaller than a first threshold value, the controller collects second energy when the loudspeaker is in the non-playing state, whether the difference value between the second energy and a reference value is smaller than a second threshold value or not is detected, if yes, the microphone is determined to be in fault, and if not, the loudspeaker is determined to be in fault. The invention connects the loudspeaker and the microphone through the sound guide pipe, and transmits the sound source played by the loudspeaker to the microphone through the sound guide pipe in the non-recording period, thereby realizing the simultaneous detection of the loudspeaker and the microphone and ensuring the fairness of the examination. In addition, the earphone does not need to be additionally provided with a sound production device like the prior art, so that devices are reduced, and the reliability of the earphone is improved.
Drawings
Fig. 1 is a schematic flow chart of an embodiment of a method for detecting a failure of an earphone according to the present invention;
fig. 2 is a schematic structural diagram of an embodiment of the test-dedicated headset provided in the present invention;
fig. 3 is a schematic structural diagram of another embodiment of the test-dedicated headset provided by the invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Referring to fig. 1, it is a schematic flow chart of an embodiment of the earphone failure detection method provided in the present invention, the method includessteps 101 to 109, specifically as follows:
step 101: judging whether the loudspeaker is triggered to play voice when the microphone is in a non-recording state; if not, returning to thestep 101; if yes, go tostep 102.
In this embodiment, the controller in the headset defines 4 status points at the same time, which are: a recording start point, a recording end point, a play start point, and a play end point. The recording starting point and the recording ending point aim at the working state of the microphone, and the playing starting point and the playing ending point aim at the working state of the loudspeaker. From the corresponding start and end points, the controller may determine that the microphone is in a recording state or a non-recording state, and that the speaker is in a playing state or a non-playing state.
Step 102: acquiring a first energy at the location of the microphone; the first energy comprises: external sound energy received by the microphone and horn sound energy transmitted to the microphone by the horn through the sound guide tube; the loudspeaker is connected with the microphone through the sound guide tube.
In this embodiment, the speaker is connected to the microphone through the sound guiding tube, specifically: one end of the sound guide tube is connected to the sounding vibrating diaphragm of the loudspeaker, and the other end of the sound guide tube is connected to the vibration sensor of the microphone. The sound guide tube may be, but not limited to, closely attached to the sound producing diaphragm or the vibration sensor, and may be spaced apart by a certain distance, such as 2 mm to 3 mm.
In this embodiment, the first energy includes: external sound energy received by the microphone and horn sound energy transmitted to the microphone by the horn through the sound guide tube.
Step 103: calculating N horn energy ratios in N time periods according to the first energy; wherein N is more than or equal to 2.
In this embodiment,step 103 specifically includes: calculating N horn energy ratios in N time periods by the following formula;
αi =10log10i0 );
wherein alpha isi The unit is in dB for the ith horn energy ratio. Phi (alpha)i Is the first energy collected in the ith unit time. Phi (0 The reference value is the sum of the energies of the microphones in the interval 300Hz to 3400Hz in the quiet environment in unit time. The reference value is influenced by a plurality of parameters such as white noise after the loudspeaker is electrified, the material of the sound guide pipe, the appearance of the sound guide pipe, the type of the microphone and the like, but the reference value is a fixed parameter for the same type of earphone and is obtained by detection in a sound deadening room before delivery,
step 104: and judging whether the N horn energy ratios are all smaller than a first threshold value, if so, executing astep 106, and otherwise, executing astep 105.
In this embodiment, taking N as 10 as an explanation, if 10 horn energy ratios in 10 consecutive unit times are all smaller than the first threshold, where the first threshold is preset to be 10dB, it can be determined that the horn is out of order.
Step 105: it is determined that the microphone is not malfunctioning.
In the present embodiment, if the N horn energy ratios are not all less than the first threshold value, it may be determined that the microphone is not malfunctioning, but it may not be determined whether the horn is malfunctioning. For example, when the loudspeaker is broken, the system collects the background sound with larger external decibel as the loudspeaker playing sound, and at this time, the energy ratios of the N loudspeakers are not all smaller than the first threshold value. The invention can not identify whether the loudspeaker has a fault under the condition, but compared with the prior art, the invention can still identify whether the loudspeaker has a fault under the normal condition, therefore, the invention has creativity and practicability.
Step 106: when the loudspeaker is in a non-playing state, acquiring second energy at the position of the microphone, and calculating M loudspeaker capacity ratios in M time periods according to the second energy; wherein M is more than or equal to 2.
Step 107: and judging that the difference values of the M horn energy ratios and the preset reference value are all smaller than a second threshold value, if not, executingstep 108, and if so, executingstep 109.
In this embodiment, the second threshold is an error value, which can be adjusted by a user according to different headphone parameters, and it is only necessary to detect that the energy ratios of the M speakers are all approximately equal to the reference value, which of the microphone and the speaker fails can be described.
Step 108: and determining that the horn is faulty.
Step 109: it is determined that the microphone is malfunctioning.
On the other hand, referring to fig. 2, fig. 2 is a schematic structural diagram of an embodiment of the test-dedicated headset provided in the present invention. As shown in fig. 2, the examination-dedicated headset includes: a loudspeaker 201, a microphone 203, a sound guide tube 202 and a controller 204.
Wherein, the loudspeaker 201 is connected with the microphone 203 through the sound guide tube 202. The controller 204 is connected to the speaker 201 and the microphone 203, respectively. The controller 204 is configured to perform the headset fault detection method described above.
In this embodiment, the speaker is connected to the microphone through the sound guiding tube, specifically: one end of the sound guide tube is connected to the sounding vibrating diaphragm of the loudspeaker, and the other end of the sound guide tube is connected to the vibration sensor of the microphone.
As an example of this embodiment, the examination dedicated headset further includes: and an indicator light. The indicator light is connected to the controller 204 for activation when the controller 204 determines that the speaker 201 or the microphone 203 is malfunctioning, to instruct the inspector to replace the malfunctioning device. In addition, the earphone can be further provided with a communication module, warning information is sent to a computer terminal connected with the earphone through the communication module, the warning information can be directly displayed on the computer terminal of the examinee, and can also be directly displayed on a control computer of the invigilator, and the supervision efficiency of the invigilator on the whole process of the examination is improved.
As an example of this embodiment, the microphone 203 may be, but is not limited to, a cardioid directional microphone, which is implemented to weaken the surrounding voice signal and improve the signal-to-noise ratio of the answer of the examinee and the background sound. The heart-shaped microphone enables the front side and the back side of the sound recognizer to form sound cavities with different sizes, and experiments prove that the effect that the ratio of the volume of the spare part of the front sound cavity to the volume of the spare part of the back sound cavity is 3:1 is the best. The test result of the anechoic darkroom indicates that the difference of the sensitivity of the front side and the sensitivity of the back side can exceed 25dB, thereby being beneficial to automatic voice recognition and eliminating background sound.
Referring to fig. 3 as an example of this embodiment, fig. 3 is a schematic structural diagram of another embodiment of the test-dedicated headset according to the present invention. As shown in fig. 3, the examination-dedicated headset includes: a left horn 301, a right horn 302, a first sound tube 303, a second sound tube 304, a microphone 305, and a controller 306. The special earphone for examination in this example is provided with the double sound guide tubes respectively connected with the left side loudspeaker 301 and the right side loudspeaker 302 of the earphone, and the left side loudspeaker 301 or the right side loudspeaker 302 can be further measured to be in fault when the left side loudspeaker 301 or the right side loudspeaker 302 sends out a fault through the control of the controller to control the left side loudspeaker and the right side loudspeaker to independently sound.
As can be seen from the above, according to the earphone failure detection method and the special earphone for examination provided by the embodiments of the present invention, the speaker is connected to the microphone through the sound guide tube and transmits sound, the controller collects the first energy when the microphone is in the non-recording state and the speaker is in the playing state, and calculates the N speaker energy ratios according to the first energy, and finally, when the N speaker energy ratios are all smaller than the first threshold, the controller collects the second energy when the speaker is in the non-playing state, and at this time, it is detected whether the difference between the second energy and the reference value is smaller than the second threshold, if yes, it is determined that the microphone has failed, otherwise, it is determined that the speaker has failed. Compared with the prior art that an additional sound source is added at the position of a microphone to cause original sound damage, and a loudspeaker detection method is not adopted, the loudspeaker and the microphone are connected through the sound guide pipe, and the sound source played by the loudspeaker is transmitted to the microphone through the sound guide pipe in a non-recording period, so that simultaneous detection of the loudspeaker and the microphone is realized, and fairness of an examination is guaranteed. In addition, the earphone does not need to be additionally provided with a sounding device like the prior art, so that devices are reduced, and the reliability of the earphone is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (9)

CN201610150921.5A2016-03-162016-03-16Earphone fault detection method and special earphone for examinationActiveCN107205204B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610150921.5ACN107205204B (en)2016-03-162016-03-16Earphone fault detection method and special earphone for examination

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610150921.5ACN107205204B (en)2016-03-162016-03-16Earphone fault detection method and special earphone for examination

Publications (2)

Publication NumberPublication Date
CN107205204A CN107205204A (en)2017-09-26
CN107205204Btrue CN107205204B (en)2022-09-13

Family

ID=59903923

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610150921.5AActiveCN107205204B (en)2016-03-162016-03-16Earphone fault detection method and special earphone for examination

Country Status (1)

CountryLink
CN (1)CN107205204B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109151697B (en)*2018-07-262020-03-27Oppo广东移动通信有限公司 Microphone plugging detection method and related products
CN112584293B (en)*2018-07-262022-04-08Oppo广东移动通信有限公司 Microphone plugging detection method and related products
CN108712709A (en)*2018-08-152018-10-26会听声学科技(北京)有限公司Noise cancelling headphone test device and system, its microphone trouble-shooter, system and method
CN110557712A (en)*2019-09-242019-12-10广东长虹电子有限公司 A loudspeaker fault detection device

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101419795A (en)*2008-12-032009-04-29李伟Audio signal detection method and device, and auxiliary oral language examination system
CN204291317U (en)*2014-12-192015-04-22广东讯飞启明科技发展有限公司USB headset is used in a kind of examination

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20150118959A1 (en)*2013-10-282015-04-30Nicolas Jean PetitPlatform framework for wireless media device simulation and design

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101419795A (en)*2008-12-032009-04-29李伟Audio signal detection method and device, and auxiliary oral language examination system
CN204291317U (en)*2014-12-192015-04-22广东讯飞启明科技发展有限公司USB headset is used in a kind of examination

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
广东高考英语人机对话考试系统的维护;梁坚东;《科技传播》;20130123(第02期);全文*

Also Published As

Publication numberPublication date
CN107205204A (en)2017-09-26

Similar Documents

PublicationPublication DateTitle
CN107205204B (en)Earphone fault detection method and special earphone for examination
KR101905234B1 (en)Method and apparatus for wind noise detection
US8311233B2 (en)Position sensing using loudspeakers as microphones
US20180227659A1 (en)Off-ear and on-ear headphone detection
KR20210038871A (en) Detection of replay attacks
CN103179495A (en) Audio testing method and system for earphone microphone and earpiece of mobile terminal
US20200305769A1 (en)Method for hearing test and hearing test system
US10932079B2 (en)Acoustical listening area mapping and frequency correction
CN103179496A (en) Audio testing system and method for earphone microphone and speaker of mobile terminal
CN104937955B (en) Automatic speaker polarity detection
US11484226B2 (en)Hearing test system and method for determining credibility of a hearing test
WO2021059497A1 (en)Audio signal processing device, audio signal processing method, and storage medium
US11206502B1 (en)System and method for evaluating an ear seal using normalization
CN107548009B (en) Computer readable storage medium and broadcaster and airtightness testing system using the same
CN107613446A (en)A kind of detection method for preventing microphone whistle, mobile terminal and storage medium
CN205545808U (en)Special earphone of taking an examination
CN117942069A (en)Hearing detection device and method
JP6443371B2 (en) Vehicle inspection method
CN107296613B (en)Binaural correlation hearing test method and system based on BIC
JP2011199795A (en)Sound emitting system and av system
JP3329224B2 (en) Acoustic characteristics measurement device
US20250113135A1 (en)Environment-aware signaling for wearable audio devices
Gaubitch et al.On The Role of Room Acoustics in Audio Presentation Attack Detection
CN116089867B (en)Terminal pickup function evaluation method and device and electronic equipment
US20220262389A1 (en)Method and apparatus for improving speech intelligibility in a room

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp