Microphone fault detection system, microphone fault detection method, electronic device and storage medium

文档序号:173016 发布日期:2021-10-29 浏览:26次 中文

阅读说明:本技术 麦克风故障检测系统及其检测方法、电子设备和存储介质 (Microphone fault detection system, microphone fault detection method, electronic device and storage medium ) 是由 吴志华 李婷婷 于 2021-08-03 设计创作,主要内容包括:本申请提供一种麦克风故障检测系统及其检测方法、电子设备和存储介质,麦克风故障检测系统包括:电压检测模块和处理器模块,电压检测模块与待检测麦克风的电源端连接,用于检测待检测麦克风电源端的电压;电压检测模块与处理器模块连接,处理器模块用于接收电压,基于电压进行数据分析,并输出麦克风的状态,其中,麦克风的状态包括正常状态、短路状态和开路状态。本申请克服了现有麦克风故障检测实时性和可操作性差的问题,进而达到了无需拆卸麦克风器件和仪器设备介入的情况下,完成麦克风的检测,适用于电子产品从研发、生产到售后的各个环节,提高了产品的开发和生产效率,提升了产品性能和服务品质。(The application provides a microphone fault detection system and a detection method thereof, an electronic device and a storage medium, wherein the microphone fault detection system comprises: the voltage detection module is connected with the power supply end of the microphone to be detected and used for detecting the voltage of the power supply end of the microphone to be detected; the voltage detection module is connected with the processor module, and the processor module is used for receiving voltage, carrying out data analysis based on the voltage and outputting the state of the microphone, wherein the state of the microphone comprises a normal state, a short circuit state and an open circuit state. The problem that current microphone fault detection real-time and maneuverability are poor is overcome to this application, and then has reached and need not to dismantle under the condition that microphone device and instrument and equipment intervene, accomplishes the detection of microphone, is applicable to each link of electronic product from research and development, production to after sale, has improved the development and the production efficiency of product, has promoted product property ability and service quality.)

1. A microphone fault detection system, comprising:

the voltage detection module is connected with the power supply end of the microphone to be detected and used for detecting the voltage of the power supply end of the microphone to be detected;

the processor module is used for receiving the voltage, carrying out data analysis based on the voltage and outputting the state of the microphone, wherein the state of the microphone comprises a normal state, a short-circuit state and an open-circuit state.

2. The system for detecting the microphone fault according to claim 1, wherein the processor module is provided with a voltage comparison unit and an output unit, the voltage comparison unit is provided with a first voltage interval, a second voltage interval and a third voltage interval, the voltage comparison unit is connected with the voltage detection module and used for analyzing the interval to which the voltage belongs and outputting an analysis result, and the output unit is connected with the voltage comparison unit and used for outputting the state of the microphone according to the analysis result;

when voltage comparison unit analysis the voltage falls into first voltage interval, output unit output the microphone is in the short circuit state, voltage comparison unit analysis when voltage falls into the second voltage interval, output unit output the microphone is in normal condition, voltage comparison unit analysis when voltage falls into the third voltage interval, output unit output the microphone is in the open circuit state.

3. The system of claim 2, wherein the microphone to be tested comprises an electrostatic protection circuit connected to the power supply terminal;

when the voltage falls into a first voltage interval, the output unit outputs that the microphone is in a short-circuit state and prompts that a diode of the electrostatic protection circuit is subjected to electrostatic breakdown.

4. A microphone malfunction detection system according to claim 2,

when the voltage falls into the third voltage interval, the output unit outputs that the microphone is in an open circuit state and prompts that the microphone pad is open.

5. A microphone fault detection system as claimed in claim 2, characterized in that: the first voltage interval is set to be [0, V ], the second voltage interval is set to be [ V1-V, V1+ V ], the third voltage interval is set to be [ V2-V, V2], wherein V1 is power supply end voltage when the microphone works normally, V2 is microphone power supply voltage, and V is a voltage deviation value.

6. The microphone system with fault detection as recited in claim 1, wherein the voltage is a bias voltage.

7. A fault detection method, comprising the steps of:

acquiring the voltage of a power supply end of a microphone;

and performing data analysis based on the voltage, and outputting the state of the microphone according to the data analysis result, wherein the state of the microphone comprises a normal state, a short-circuit state and an open-circuit state.

8. The method of claim 7, wherein the step of performing data analysis based on the voltage and outputting the state of the microphone according to the data analysis result comprises the steps of:

presetting a first voltage interval, a second voltage interval and a third voltage interval;

judging the interval of the voltage;

when the voltage falls into the first voltage interval, the microphone is in a short-circuit state, when the voltage falls into the second voltage interval, the microphone is in a normal state, and when the voltage falls into the third voltage interval, the microphone is in an open-circuit state.

9. An electronic device characterized by comprising a microphone malfunction detection system according to any one of claims 1 to 6.

10. A storage medium having stored thereon a computer program, characterized in that the computer program, when executed, implements the fault detection method according to claim 7 or 8.

Technical Field

The present application belongs to the field of microphone technology, and in particular, to a microphone fault detection system, a detection method, a device, and a storage medium thereof.

Background

The microphone is a sensor for converting sound into an electric signal, and is widely applied to electronic equipment such as mobile phones, flat panels, earphones, intelligent sound boxes and intelligent watches. The microphone generates faults in the using process, so that the voice communication and sound interaction functions of the electronic equipment are disabled. At present, microphone fault detection is carried out by an audio analyzer in a factory production line or a laboratory before leaving a factory, but if a fault occurs in the microphone using process, the fixedly installed microphone needs to be detached, and then fault cause detection is carried out by using a detection instrument, so that the real-time performance and the operability are poor.

Disclosure of Invention

The microphone fault detection system, the detection method thereof, the electronic device and the storage medium in the embodiment of the application solve the problem that the existing microphone fault detection is poor in real-time performance and operability.

In a first aspect, an embodiment of the present application provides a microphone fault detection system, including:

the voltage detection module is connected with the power supply end of the microphone to be detected and used for detecting the voltage of the power supply end of the microphone to be detected;

the processor module is used for receiving the voltage, carrying out data analysis based on the voltage and outputting the state of the microphone, wherein the state of the microphone comprises a normal state, a short-circuit state and an open-circuit state.

Optionally, the processor module is provided with a voltage comparison unit and an output unit, the voltage comparison unit is provided with a first voltage interval, a second voltage interval and a third voltage interval, the voltage comparison unit is connected to the voltage detection module and is configured to analyze an interval to which the voltage belongs and output an analysis result, and the output unit is connected to the voltage comparison unit and is configured to output a state of the microphone according to the analysis result;

when voltage comparison unit analysis the voltage falls into first voltage interval, output unit output the microphone is in the short circuit state, voltage comparison unit analysis when voltage falls into the second voltage interval, output unit output the microphone is in normal condition, voltage comparison unit analysis when voltage falls into the third voltage interval, output unit output the microphone is in the open circuit state.

Optionally, the microphone to be detected includes an electrostatic protection circuit connected to the power supply terminal;

when the voltage falls into a first voltage interval, the output unit outputs that the microphone is in a short-circuit state and prompts that a diode of the electrostatic protection circuit is subjected to electrostatic breakdown.

Optionally, when the voltage falls into the third voltage interval, the output unit outputs that the microphone is in an open circuit state, and prompts that the microphone pad is open.

Optionally, the first voltage interval is set to [0, V]The second voltage interval is set to [ V ]1-V,V1+V]And the third voltage interval is set to [ V ]2-V,V2]Wherein V is1For the voltage at the power supply terminal during normal operation of the microphone, V2And supplying power voltage to the microphone, wherein V is the voltage deviation value.

Optionally, the voltage is a bias voltage.

In a second aspect, an embodiment of the present application further provides a fault detection method, including the following steps:

acquiring the voltage of a power supply end of a microphone;

and performing data analysis based on the voltage, and outputting the state of the microphone according to the data analysis result, wherein the state of the microphone comprises a normal state, a short-circuit state and an open-circuit state.

Optionally, performing data analysis based on the voltage, and outputting the state of the microphone according to a data analysis result, including the following steps:

presetting a first voltage interval, a second voltage interval and a third voltage interval;

judging the interval of the voltage;

when the voltage falls into the first voltage interval, the microphone is in a short-circuit state, when the voltage falls into the second voltage interval, the microphone is in a normal state, and when the voltage falls into the third voltage interval, the microphone is in an open-circuit state.

In a third aspect, an embodiment of the present application further provides an electronic device, including any one of the microphone failure detection systems described above.

In a fourth aspect, an embodiment of the present application further provides a readable storage medium, on which a computer program is stored, and when the computer program is executed, the fault detection method described in any one of the above is implemented.

The microphone fault detection system and the detection method thereof, the electronic device and the storage medium provided by the embodiment of the application adopt the voltage detection module to detect the voltage of the power end of the microphone, the processor module performs data analysis on the voltage and outputs the state of the microphone, the problem of poor real-time performance and operability of the existing microphone fault detection is solved, further, the detection of the microphone is completed under the condition that the microphone device and the instrument device are not required to be detached for intervention, the microphone fault detection system is suitable for links of electronic products from research and development and production to after-sale, the development and production efficiency of products is improved, and the product performance and the service quality are improved.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the application, and that other drawings can be derived from these drawings without inventive effort for a person skilled in the art.

For a more complete understanding of the present application and its advantages, reference is now made to the following descriptions taken in conjunction with the accompanying drawings. Wherein like reference numerals refer to like parts in the following description.

Fig. 1 is a circuit diagram of a microphone to be detected according to an embodiment of the present application.

Fig. 2 is a system schematic block diagram of a microphone fault detection system provided in an embodiment of the present application.

Fig. 3 is a block diagram of a processor module in a microphone failure detection system according to an embodiment of the present disclosure.

Fig. 4 is a flowchart of a method for detecting a microphone fault according to an embodiment of the present disclosure.

Fig. 5 is a flowchart of a method of step S2 according to an embodiment of the present disclosure.

Fig. 6 is a schematic block diagram of an electronic device provided in an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The embodiment of the application provides a microphone fault detection system to solve the problem that the existing microphone fault detection is poor in real-time performance and operability. The following description will be made with reference to the accompanying drawings.

The microphone to be detected provided by the embodiment of the application can be a microphone applied to electronic equipment such as a mobile phone, a tablet, an earphone, a loudspeaker box, a smart watch and the like, and the microphone to be detected provided by the embodiment of the application is described by taking the microphone applied to the mobile phone as an example.

Fig. 1 is a circuit diagram of a microphone to be detected according to this embodiment.

Referring to fig. 1, the microphone to be detected includes a microphone device Mic21, a first electrostatic protection circuit, a second electrostatic protection circuit, a filtering circuit and a filter circuit, the first electrostatic protection circuit and the second electrostatic protection circuit, the microphone device Mic21 has three pins, which are a Power terminal Power, an Output terminal Output and a ground GND, respectively, the Power terminal Power is connected to a Power supply MICBIAS21, when the microphone is started, the Power supply Mic-BIAS21 supplies Power to the microphone device Mic21, the filter circuit is electrically connected to the Power terminal Power, the filter circuit is used for filtering Power supply ripples, the first electrostatic protection circuit is electrically connected to the Power terminal Power, the first electrostatic protection circuit provides electrostatic protection for the Power terminal Power of the microphone device Mic21, the second electrostatic protection circuit is electrically connected to the Output terminal Output, the second electrostatic protection circuit provides electrostatic protection for the Output terminal Output of the microphone device Mic21, the filtering circuit is connected to the Output terminal Output and the ground GND of the microphone device Mic21, the filtering circuit is used for interference of the microphone device Mic21 circuit.

Illustratively, the first esd protection circuit includes an esd protection diode T22, the esd protection diode T22 is connected to the Power terminal Power and the ground GND; the second electrostatic protection circuit comprises an electrostatic protection diode T22, and the electrostatic protection diode T21 is connected with the Output end Output and the ground GND; the filter circuit comprises an inductor C23, and a capacitor C23 is connected with a Power supply end Power and a ground GND; the filtering circuit comprises an inductor C22 for filtering high-frequency noise interference, an inductor C21 for filtering common-mode noise interference, a magnetic bead B21 and a magnetic bead B22 for filtering coupling interference, the inductor C22 is connected with an Output end Output and a ground GND, the inductor C21 is connected with an Output end Output and a ground GND, a magnetic bead B21 is connected with an Output end Output and a microphone Output end Mic21+, the magnetic bead B22 is connected with the ground GND and a microphone ground end Mic21-, when the microphone is started, the power supply MIC-BIAS21 supplies power to the microphone device Mic21, the microphone device Mic21 converts sound into an electric signal, and the electric signal is Output from a microphone Output end Mic21+ and a microphone ground end Mic21-, so that sound pickup is completed.

The microphone device Mic21 has a plurality of ports connected to the Power terminals Power, one of which is rotated to serve as the test port ADC21, and the voltage of the Power terminal Power of the microphone device Mic21 is tested through the test port ADC 21. The existing port can be utilized, a new port can be arranged, the structure is simple, and voltage detection is convenient.

Fig. 2 is a system schematic block diagram of a microphone fault detection system provided in an embodiment of the present application.

Referring to fig. 2, an embodiment of the present application provides a system for detecting a failure of a microphone 3, including: voltage detection module 1 and processor module 2, voltage detection module 1 is connected with the Power end Power of waiting to detect microphone 3 through detection port ADC21 for detect the voltage of waiting to detect microphone 3 Power end Power, voltage detection module 1 is connected with processor module 2, processor module 2 is used for receiving voltage, carries out data analysis based on voltage, and output microphone 3's state, wherein, microphone 3's state includes normal condition, short circuit state and open circuit state.

Fig. 3 is a block diagram of a processor module 2 in a system for detecting a failure of a microphone 3 according to an embodiment of the present disclosure.

In some embodiments, referring to fig. 3, the processor module 2 is provided with a voltage comparison unit and an output unit, the voltage comparison unit is provided with a first voltage interval, a second voltage interval and a third voltage interval, the voltage comparison unit is connected with the voltage detection module 1 and is used for analyzing the interval to which the voltage belongs and outputting an analysis result, and the output unit is connected with the voltage comparison unit and is used for outputting the state of the microphone 3 according to the analysis result; when the voltage comparison unit analyzes that the voltage falls into the first voltage interval, the output unit outputs the microphone 3 to be in a short-circuit state, when the voltage comparison unit analyzes that the voltage falls into the second voltage interval, the output unit outputs the microphone 3 to be in a normal state, and when the voltage comparison unit analyzes that the voltage falls into the third voltage interval, the output unit outputs the microphone 3 to be in an open-circuit state. It can be understood that three voltage intervals are set, the voltage interval where the voltage of the detection port ADC21 is analyzed, the working state of the microphone 3 device and its circuit can be automatically determined, the above modules can be implemented by software development, the microphone 3 can be completed without disassembling, the product development efficiency, the production quality and yield, and the after-sale service response speed and quality of the user terminal can be effectively prompted.

In some embodiments, the microphone 3 to be detected comprises an electrostatic protection circuit connected to a power supply terminal; when the voltage falls into the first voltage interval, the output unit outputs that the microphone 3 is in a short-circuit state, and prompts that the diode T22 of the electrostatic protection circuit is subjected to electrostatic breakdown. It can be understood that when the diode T22 is broken down by static electricity, the Power terminal Power of the device of the microphone 3 is conducted to the ground GND, and the output unit indicates that the microphone 3 is in a short-circuit state and the diode T22S is damaged.

In some embodiments, when the voltage falls within the third voltage interval, the output unit outputs that the microphone 3 is in an open state and prompts that the microphone 3 pad is open. It can be understood that when the microphone 3 is not soldered well or an external force acts, the pad of the microphone 3 is disconnected, and at this time, the circuit of the microphone 3 is in an open circuit state, and the output unit prompts that the microphone 3 is in the open circuit state and the pad of the microphone 3 is disconnected.

For workers in all links of research, development and after-sale, the fault diagnosis of the microphone 3 can be completed without dismantling the microphone 3, the function and the working state of the microphone 3 and the fault reason are automatically analyzed and identified, and the method is suitable for all links of electronic products from research, development and after-sale, the product development efficiency is effectively improved, and the after-sale service response speed and quality of the user side are effectively improved.

In some embodiments, the voltage is a bias voltage.

In some embodiments, the first voltage interval is set to [0, V]The second voltage interval is set to [ V ]1-V,V1+V]And the third voltage interval is set to [ V ]2-V,V2]Wherein V is1For the voltage at the power supply terminal during normal operation of the microphone, V2And supplying power voltage to the microphone, wherein V is the voltage deviation value.

For example, in a typical case, the Power supply MIC-BIAS21 is configured with a 2.1V output, and the microphone is normally operated such that the BIAS voltage of Power supply terminal Power of microphone device MIC21 is 1.4V; when the microphone is damaged by static electricity in the production or use process, the diode T22 is broken down and conducted, the Power end Power of the microphone device Mic21 is grounded and short-circuited, and the bias voltage of the Power end Power of the microphone device Mic21 is 0V; when the microphone pad is in poor welding or falls and impacts in the use process, and the microphone pad is in open circuit, the Power supply MICBIAS21 cannot normally Power the microphone, the bias voltage of the Power supply end Power of the microphone device Mic21 is 2.1V, and because a certain deviation value exists in the voltage detection process, based on the design, the first voltage interval is [0V,0.3V ], the second voltage interval is set to [1.2V,1.6V ], and the third voltage interval is set to [1.9V,2.1V ]. It can be understood that when the power supply MIC-BIAS21 has different configuration voltages, different first voltage intervals, second voltage intervals, and third voltage intervals may be correspondingly set.

It can be understood that the bias voltage of the microphone device Mic21 is acquired by the detection port ADC21, the working state of the microphone device Mic21 and the circuit thereof can be effectively judged by the magnitude of the bias voltage of the microphone, the detection process can be automatically executed, the detection process is not sensed by a user, and only when the microphone fault is detected, the user can know that the microphone is in fault only according to the prompt, so that the convenience of the microphone fault detection of the mobile terminal user is greatly improved.

Fig. 4 is a flowchart of a fault detection method according to an embodiment of the present application.

In some embodiments, referring to fig. 4, there is also provided a fault detection method, comprising the steps of:

s1, acquiring the voltage of the power end of the microphone;

and S2, performing data analysis based on the voltage, and outputting the state of the microphone according to the data analysis result, wherein the state of the microphone comprises a normal state, a short-circuit state and an open-circuit state.

Fig. 5 is a flowchart of step S2 provided in this embodiment of the present application.

In some embodiments, referring to fig. 5, S2 performs data analysis based on the voltage, and outputs the state of the microphone according to the data analysis result, including the following steps:

s20, presetting a first voltage interval, a second voltage interval and a third voltage interval;

s21, judging the section of the detected voltage;

and S22, when the voltage falls into the first voltage interval, the microphone is in a short-circuit state, when the voltage falls into the second voltage interval, the microphone is in a normal state, and when the voltage falls into the third voltage interval, the microphone is in an open-circuit state.

Exemplary, the decision logic of S21 is as follows: and judging whether the detected voltage falls into a second voltage interval, if so, entering next voltage detection judgment, if not, judging whether the detected voltage falls into a first voltage interval, if so, judging that the output microphone is in a short-circuit state, prompting that a diode T22 of the electrostatic protection circuit is subjected to electrostatic breakdown, if not, judging that the detected voltage falls into the second voltage interval, if so, judging that the output microphone is in an open-circuit state, prompting that a microphone pad is open-circuited, and if not, entering next voltage detection judgment. It can be understood that when the microphone is normal, the judgment is only needed once, and the program running speed is accelerated. In addition, the detection process can be automatically executed, the detection process is not sensed by a user, and only prompting is carried out when the microphone fault is detected, so that the user can know that the microphone is in fault only according to the prompting, and the convenience of microphone fault detection of a mobile terminal user is greatly improved.

Fig. 6 is a schematic block diagram of an electronic device provided in an embodiment of the present application.

Referring to fig. 6, the present embodiment provides an electronic device, including a voltage detection module 1, a processor module 2, a microphone 3, a power module 4, and a communication bus 5, where the voltage detection module 1, the processor module 2, the microphone 3, and the power module 4 complete mutual communication through the communication bus 5, the processor module 2 is configured to control the power module 4 to supply power to the microphone 3, the voltage detection module 1 is configured to detect a voltage at a power end of the microphone 3 in real time, and transmit the detected voltage to the processor module 2 through the communication bus 5, the processor module 2 is configured to receive the voltage, perform data analysis based on the voltage, and output a state of the microphone, where the state of the microphone includes a normal state, a short-circuit state, and an open-circuit state.

Furthermore, the electronic device comprises a memory 6, and the processor module 2 may invoke logical commands in the memory 6 to perform the following method: acquiring the voltage of a power supply end of a microphone; and performing data analysis based on the voltage, and outputting the state of the microphone according to the data analysis result, wherein the state of the microphone comprises a normal state, a short-circuit state and an open-circuit state. The logic commands in the memory 6 may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of commands for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Embodiments of the present invention further provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the method provided in the foregoing embodiments when executed by a processor, and the method includes: acquiring the voltage of a power supply end of a microphone; and performing data analysis based on the voltage, and outputting the state of the microphone according to the data analysis result.

The term "module" as used in this disclosure may refer to a module comprising, for example, one or a combination of hardware, software, and firmware. For example, the term "module" may be used interchangeably with other terms such as unit, logic block, component, or circuit. A "module" may be the smallest unit of a component that is integrally constructed, or a portion thereof. A "module" may be a minimal unit or a portion thereof for performing one or more functions. The "module" may be implemented mechanically or electronically. For example, in accordance with the present disclosure, a "module" may include at least one of an application specific integrated circuit chip (ASIC), a Field Programmable Gate Array (FPGA), and a programmable logic device that is known or later developed and that performs a particular function. According to various embodiments, at least a portion of an apparatus (e.g., a module or functionality thereof) or a method (e.g., operations) may be implemented to program a module to form instructions stored in a non-transitory computer-readable storage medium. When the instructions are executed by the processor, the processor may perform functions corresponding to the instructions. Non-transitory computer readable storage media may include magnetic media such as hard disks, floppy disks, and color tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as optical disks, and hardware devices specially configured to store and execute program instructions. In addition, the program instructions may include a high-level language code executed in a computer by using an interpreter, and may also include a machine code generated by a compiler. A module or programming module according to various embodiments may include or exclude at least one of the above components, or further include any other component. Operations performed by modules, programmed modules, or any other components according to various embodiments may be executed sequentially, in parallel, repeatedly, or through heuristics. In addition, some operations may be performed in a different order, omitted, or any other operations may be added.

In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.

The microphone fault detection system, the detection method, the device and the storage medium thereof provided by the embodiment of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:终端移动性的监测方法及设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!