CN113242503A - Self-checking method for loudspeaker - Google Patents

Self-checking method for loudspeaker Download PDF

Info

Publication number
CN113242503A
CN113242503A CN202110452558.3A CN202110452558A CN113242503A CN 113242503 A CN113242503 A CN 113242503A CN 202110452558 A CN202110452558 A CN 202110452558A CN 113242503 A CN113242503 A CN 113242503A
Authority
CN
China
Prior art keywords
loudspeaker
self
vibration signal
acceleration sensor
sound
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
CN202110452558.3A
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.)
Maoqi Intelligent Technology Shanghai Co Ltd
Original Assignee
Maoqi Intelligent Technology Shanghai 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 Maoqi Intelligent Technology Shanghai Co Ltd filed Critical Maoqi Intelligent Technology Shanghai Co Ltd
Priority to CN202110452558.3A priority Critical patent/CN113242503A/en
Publication of CN113242503A publication Critical patent/CN113242503A/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

Abstract

The invention discloses a loudspeaker self-checking method, which comprises the following steps: arranging an acceleration sensor and a loudspeaker on a device; under the static state of the equipment, enabling the loudspeaker to emit first sound, simultaneously detecting a first vibration signal by the acceleration sensor during the playing period of the first sound, and recording and storing the first vibration signal; when the loudspeaker is subjected to self-checking, the loudspeaker emits a first sound, and meanwhile, the acceleration sensor detects a second vibration signal during the playing period of the first sound and records and stores the second vibration signal; comparing the first vibration signal with the second vibration signal, if the similarity is greater than or equal to a first threshold value, determining that the loudspeaker is normal, and passing self-checking; if the similarity is smaller than the first threshold value, the loudspeaker is judged to be abnormal, and the self-test is not passed. The invention has the advantages of simple structure, low complexity of calculation mode, relatively small calculation pressure, high self-checking accuracy and difficult interference by external factors.

Description

Self-checking method for loudspeaker
Technical Field
The invention relates to the field of loudspeakers, in particular to a loudspeaker self-checking method.
Background
A speaker, also called a "horn", is a very common electroacoustic transducer, which is found in electronic and electrical devices for generating sound. The loudspeaker is a transducer for converting an electric signal into an acoustic signal, and the quality of the loudspeaker has great influence on the sound quality. The loudspeaker is the weakest component in the audio equipment, and is the most important component for the audio effect. Therefore, it becomes an important self-test item to detect whether the speaker can work normally.
The conventional way of performing self-checking on the speaker is to monitor the sound emitted by the speaker through a microphone, or to add a hardware detection circuit to perform self-checking, and to perform self-checking through the microphone is easily interfered by external noise, and to perform self-checking through the detection circuit increases the circuit cost.
Disclosure of Invention
In order to solve the above technical problem, the present invention provides a speaker self-checking method, including:
arranging an acceleration sensor and a loudspeaker on a device;
under the static state of the equipment, enabling the loudspeaker to emit first sound, simultaneously detecting a first vibration signal by the acceleration sensor during the playing period of the first sound, and recording and storing the first vibration signal;
when the loudspeaker is subjected to self-checking, the loudspeaker emits a first sound, and meanwhile, the acceleration sensor detects a second vibration signal during the playing period of the first sound and records and stores the second vibration signal;
comparing the first vibration signal with the second vibration signal, if the similarity is greater than or equal to a first threshold value, determining that the loudspeaker is normal, and passing self-checking; if the similarity is smaller than the first threshold value, the loudspeaker is judged to be abnormal, and the self-test is not passed.
Further, in the speaker self-test method, in the step of comparing the first vibration signal with the second vibration signal:
the first vibration signal is divided into pieces according to 10ms, and the amplitude of each piece is averaged to obtain a first average amplitude;
the second vibration signal is sliced according to 10ms, and amplitude of each slice is averaged to obtain a second average amplitude;
summing the absolute values of the differences of the subtraction of the first average amplitude and the second average amplitude, to give M0;
the absolute values of the first average amplitudes are summed, which is taken as M1.
Further, in the speaker self-test method, the similarity is equal to (M1-M0)/M1.
Further, in the speaker self-test method, the similarity is set to 80%.
Further, in the loudspeaker self-checking method, the acceleration sensor and the loudspeaker are arranged on the same circuit board or in the same cavity.
Further, in the speaker self-test method, during speaker self-test, the method further includes the steps of: and judging whether the equipment is in a non-acceleration state or not through an acceleration sensor.
Further, in the speaker self-test method, the no-acceleration state includes: uniform motion or static state.
The invention does not need to increase the cost for the equipment with the acceleration sensor, and the cost for adding the acceleration sensor to the equipment without the acceleration sensor is not high. The invention has the advantages of simple structure, low complexity of calculation mode, relatively small calculation pressure, high self-checking accuracy and difficult interference by external factors.
Drawings
Fig. 1 is a flow chart of the self-checking method of the loudspeaker of the invention.
Detailed Description
The loudspeaker self-test method of the present invention will now be described in more detail with reference to the schematic drawings, in which preferred embodiments of the invention are shown, it being understood that a person skilled in the art may modify the invention described herein while still achieving the advantageous effects of the invention. Accordingly, the following description should be construed as broadly as possible to those skilled in the art and not as limiting the invention.
The invention is described in more detail in the following paragraphs by way of example with reference to the accompanying drawings. Advantages and features of the present invention will become apparent from the following description and from the claims. It is to be noted that the drawings are in a very simplified form and are not to precise scale, which is merely for the purpose of facilitating and distinctly claiming the embodiments of the present invention.
Because the loudspeaker pronounces sound by self vibration, when the acceleration sensor and the loudspeaker are positioned on the same circuit board or in the same cavity, the acceleration sensor can clearly detect the vibration in the sound frequency range, and according to the characteristic, the acceleration sensor can be used for detecting whether the loudspeaker works normally.
As shown in fig. 1, the present invention provides a speaker self-testing method, including:
s1: arranging an acceleration sensor and a loudspeaker on a device, and arranging the acceleration sensor and the loudspeaker on the same circuit board or in the same cavity;
s2: under the static state of the equipment, enabling the loudspeaker to emit first sound, simultaneously detecting a first vibration signal by the acceleration sensor during the playing period of the first sound, and recording and storing the first vibration signal;
s3: when the loudspeaker is subjected to self-detection, whether the equipment is in an acceleration-free state or not is judged through an acceleration sensor, wherein the acceleration-free state comprises the following steps: uniform motion or static state; if the loudspeaker is in a non-acceleration state, the loudspeaker emits a first sound, and meanwhile, the acceleration sensor detects a second vibration signal during the playing period of the first sound and records and stores the second vibration signal;
s4: comparing the first vibration signal with the second vibration signal, if the similarity is greater than or equal to a first threshold value, determining that the loudspeaker is normal, and passing self-checking; if the similarity is smaller than the first threshold value, the loudspeaker is judged to be abnormal, and the self-test is not passed.
Specifically, in this step:
s4-1: the first vibration signal is divided into pieces according to 10ms, and the amplitude of each piece is averaged to obtain a first average amplitude;
s4-2: the second vibration signal is sliced according to 10ms, and amplitude of each slice is averaged to obtain a second average amplitude;
s4-3: summing the absolute values of the differences of the subtraction of the first average amplitude and the second average amplitude, to give M0;
s4-4: the absolute values of the first average amplitudes are summed, which is taken as M1.
S4-5: calculating the similarity to be equal to (M1-M0)/M1, in this embodiment, setting the similarity to be 80%, that is, if the similarity is greater than or equal to 80%, determining that the speaker is normal, and passing the self-test; and if the similarity is less than 80%, the loudspeaker is judged to be abnormal, and the self-test is not passed.
In summary, the present invention does not require a cost increase for the device having the acceleration sensor, and the cost is not high for the device having no acceleration sensor. The invention has the advantages of simple structure, low complexity of calculation mode, relatively small calculation pressure, high self-checking accuracy and difficult interference by external factors.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (7)

1. A loudspeaker self-test method, comprising:
arranging an acceleration sensor and a loudspeaker on a device;
under the static state of the equipment, enabling the loudspeaker to emit first sound, simultaneously detecting a first vibration signal by the acceleration sensor during the playing period of the first sound, and recording and storing the first vibration signal;
when the loudspeaker is subjected to self-checking, the loudspeaker emits a first sound, and meanwhile, the acceleration sensor detects a second vibration signal during the playing period of the first sound and records and stores the second vibration signal;
comparing the first vibration signal with the second vibration signal, if the similarity is greater than or equal to a first threshold value, determining that the loudspeaker is normal, and passing self-checking; if the similarity is smaller than the first threshold value, the loudspeaker is judged to be abnormal, and the self-test is not passed.
2. The loudspeaker self-test method of claim 1, wherein in the step of comparing the first vibration signal and the second vibration signal:
the first vibration signal is divided into pieces according to 10ms, and the amplitude of each piece is averaged to obtain a first average amplitude;
the second vibration signal is sliced according to 10ms, and amplitude of each slice is averaged to obtain a second average amplitude;
summing the absolute values of the differences of the subtraction of the first average amplitude and the second average amplitude, to give M0;
the absolute values of the first average amplitudes are summed, which is taken as M1.
3. The loudspeaker self-test method of claim 2, wherein the similarity is equal to (M1-M0)/M1.
4. The loudspeaker self-test method of claim 1, wherein the similarity is set to 80%.
5. The loudspeaker self-test method of claim 1, wherein the acceleration sensor and the loudspeaker are disposed on the same circuit board or within the same cavity.
6. The loudspeaker self-checking method of claim 1, characterized in that, in the loudspeaker self-checking, it further comprises the steps of: and judging whether the equipment is in a non-acceleration state or not through an acceleration sensor.
7. The loudspeaker self-test method of claim 5, wherein the no acceleration state comprises: uniform motion or static state.
CN202110452558.3A 2021-04-26 2021-04-26 Self-checking method for loudspeaker Pending CN113242503A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110452558.3A CN113242503A (en) 2021-04-26 2021-04-26 Self-checking method for loudspeaker

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110452558.3A CN113242503A (en) 2021-04-26 2021-04-26 Self-checking method for loudspeaker

Publications (1)

Publication Number Publication Date
CN113242503A true CN113242503A (en) 2021-08-10

Family

ID=77129416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110452558.3A Pending CN113242503A (en) 2021-04-26 2021-04-26 Self-checking method for loudspeaker

Country Status (1)

Country Link
CN (1) CN113242503A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486470A (en) * 2014-12-31 2015-04-01 山东共达电声股份有限公司 Self-inspection method and system of acoustical device in terminal equipment
CN106154158A (en) * 2015-04-10 2016-11-23 小米科技有限责任公司 Terminal motor detecting method and device
CN106817470A (en) * 2017-01-20 2017-06-09 上海卓易科技股份有限公司 A kind of detecting system and system based on mobile terminal motor
WO2018081927A1 (en) * 2016-11-01 2018-05-11 华为技术有限公司 Volume adjustment method and apparatus, and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486470A (en) * 2014-12-31 2015-04-01 山东共达电声股份有限公司 Self-inspection method and system of acoustical device in terminal equipment
CN106154158A (en) * 2015-04-10 2016-11-23 小米科技有限责任公司 Terminal motor detecting method and device
WO2018081927A1 (en) * 2016-11-01 2018-05-11 华为技术有限公司 Volume adjustment method and apparatus, and electronic device
CN106817470A (en) * 2017-01-20 2017-06-09 上海卓易科技股份有限公司 A kind of detecting system and system based on mobile terminal motor

Similar Documents

Publication Publication Date Title
US8045721B2 (en) Dynamic distortion elimination for output audio
US8340323B2 (en) Sound outputting apparatus, sound outputting method, sound outputting system and sound output processing program
CN102318325B (en) Controlling an adaptation of a behavior of an audio device to a current acoustic environmental condition
US11534100B2 (en) On-ear detection
US8447041B2 (en) Audio output apparatus, audio output method, audio output system, and program for audio output processing
JP5278219B2 (en) Howling canceller
US11032631B2 (en) Headphone off-ear detection
WO2018157688A1 (en) Electronic device and loudness-based detection method
JP2014519624A5 (en)
JP2010016429A (en) Howling detector and howling detection method
US9686608B2 (en) Sensor
US9992592B1 (en) Vacuum testing of audio devices
US20180288523A1 (en) Apparatus and methods for monitoring a microphone
US11516604B2 (en) System and method for evaluating an ear seal using external stimulus
CN113242503A (en) Self-checking method for loudspeaker
US20210400410A1 (en) System and method for evaluating an ear seal using normalization
JP3097376B2 (en) Howling suppression device
WO2022042862A1 (en) Earphone device and method for earphone device
JP2007221511A (en) Receiver with function of obtaining reproduced sound, voice reproducing device with function of recording obtained reproduced voice, and voice signal processor for analyzing contents of recorded sound
US20230114896A1 (en) Noise detection device and method thereof
US20180314618A1 (en) Replicating contours of soundscapes within computing enclosures
US20230131165A1 (en) Laser measurements for loudspeaker vibration reduction
US20230314263A1 (en) Air Leak Detection Device, Air Leak Detection Method and System Thereof
CN113938806A (en) Noise detection device and method thereof
EP4084503A1 (en) Audio playback system fault detection method and apparatus

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210810

WD01 Invention patent application deemed withdrawn after publication