Speaker Polarity Tester

By using a microphone and edge detection circuit combined with a filter, signal processing is simplified, and the problems of high laser ranging cost and noise interference in speaker polarity test are solved, achieving high accuracy and stability of speaker polarity test.

CN110460946BActive Publication Date: 2024-12-03NINGBO MIDE ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910670098.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-24
Publication Date
2024-12-03
Estimated Expiration
2039-07-24

AI Technical Summary

Technical Problem

In the existing speaker polarity testing methods, laser ranging costs are high, signal processing is complex, and susceptible to environmental noise interference. There is a time difference in sound vibration collected by the microphone, resulting in low measurement accuracy.

Method used

A microphone is used to receive the speaker vibration signal, separate the signal through the edge detection circuit and the filter, and use the MCU to judge the speaker polarity, and independently excite the speaker and the microphone, simplify the signal processing circuit, reduce the number of components, and reduce costs.

Benefits of technology

Improve the accuracy and stability of speaker polarity testing, avoid the high cost and complexity of laser sensors, reduce environmental noise interference, simplify signal processing circuits, and achieve low-cost and efficient measurements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110460946B_ABST
    Figure CN110460946B_ABST
Patent Text Reader

Abstract

The present invention provides a speaker polarity test device, comprising: an excitation source, a microphone, a filter, an edge detection circuit, and an MCU. The problem of high cost and high technical difficulty caused by using a laser sensor is avoided; by changing the vibration mode of the speaker and adding a filter and an edge detection circuit to the microphone rear stage, the accuracy and stability of the measurement are improved, the measurement is accurate and stable, and is not affected by environmental noise; the excitation speaker and the microphone detection work independently, and there is no need to compare the phase relationship between the two, no need for complex software algorithms, and only simple level detection is required; the signal processing circuit requires a small number of components, the circuit is simple, and the cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of loudspeaker testing equipment, and in particular relates to a loudspeaker polarity testing device. Background Art

[0002] The current method of testing the polarity of a speaker is to use an amplifier to drive the speaker to generate simple harmonic vibrations, use laser ranging or laser vibration measurement to measure the physical vibration of the speaker cone, and determine the polarity by comparing the phase of the excitation signal at the output of the amplifier and the displacement direction of the cone. Although the laser ranging method conforms to the definition of speaker polarity, that is, the cone pushes outwards in the positive half-cycle of the simple harmonic wave and retracts inwards in the negative half-cycle. However, the technical problems with this method are that the laser sensor is expensive, the signal processing circuit and software analysis process are complex, and a special fixture is required to fix the laser head to align with the speaker cone.

[0003] To solve the above technical problems, technicians in this field use an amplifier to drive a speaker to generate simple harmonic vibration, use a microphone to collect sound, and judge the polarity by comparing the phase of the excitation signal at the output of the amplifier with the phase of the sound collected by the microphone. The technical problem with this method is that because sound propagates in the air at a speed of 340 meters per second, there is a time difference between the sound collected by the microphone and the actual vibration of the paper cone, and the collected phase is delayed. Therefore, this method becomes unreliable as the distance between the microphone and the speaker increases. In addition, the microphone is easily interfered by environmental noise, making it difficult to ensure the accuracy of the measurement. Summary of the invention

[0004] In order to solve the above technical problem, the present invention provides a loudspeaker polarity testing device.

[0005] In order to have a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended to be a general review, nor is it intended to identify key / important components or to delineate the scope of protection of these embodiments. Its only purpose is to present some concepts in a simple form as a preface to the detailed description that follows.

[0006] The present invention adopts the following technical solution:

[0007] In some optional embodiments, a speaker polarity testing device is provided, comprising:

[0008] A microphone, used to receive the sound pressure of the vibration of the speaker to be tested and generate an excitation response signal;

[0009] An edge detection circuit, connected to the signal output terminal of the microphone, for separating the rising edge and the falling edge in the excitation response signal, comprising: a first output port that outputs a high level when the excitation response signal has a rising edge, and a second output port that outputs a high level when the excitation response signal has a falling edge;

[0010] An MCU is connected to the first output port and the second output port of the edge detection circuit, and determines the type of the first edge in the stimulus response signal according to the order in which the first output port and the second output port of the edge detection circuit output high levels to determine the polarity of the speaker to be tested;

[0011] The type of the first edge in the stimulus response signal is a rising edge or a falling edge.

[0012] In some optional embodiments, the speaker polarity testing device further includes: an excitation source for generating a pulse wave signal, and applying the pulse wave signal after amplifying the current to the two poles of the speaker to be tested to excite the speaker to be tested to vibrate intermittently in a single direction.

[0013] In some optional embodiments, the speaker polarity testing device further includes: a filter for filtering low-frequency interference signals in the excitation response signal, the signal input end of the filter being connected to the signal output end of the microphone, and the signal output end of the filter being connected to the signal input end of the edge detection circuit.

[0014] In some optional embodiments, the excitation source includes: a resistor R1, a resistor R2, a transistor Q1 and a transistor Q2; one end of the resistor R1 serves as a signal input end of the excitation source, and the other end is connected to the base of the transistor Q1 and one end of the resistor R2, and the other end of the resistor R2 is grounded; the collector of the transistor Q1 is connected to the collector of the transistor Q2; the emitter of the transistor Q1 is connected to the base of the transistor Q2; the emitter of the transistor Q2 serves as the first signal output end of the excitation source, and the second signal output end of the excitation source is grounded; the first signal output end of the excitation source and the second signal output end of the excitation source are respectively connected to the two poles of the speaker to be tested.

[0015] In some optional embodiments, the filter includes: a resistor R4 and a capacitor C1; one end of the capacitor C1 serves as a signal input end of the filter, and the other end is connected to one end of the resistor R4 and serves as a signal output end of the filter, and the other end of the resistor R4 is grounded.

[0016] In some optional embodiments, the edge detection circuit includes: transistor Q3, transistor Q4, transistor Q5, transistor Q6, capacitor C2, capacitor C3, capacitor C4, resistor R5, resistor R6, resistor R7, resistor R8, resistor R9, resistor R10, resistor R11, and resistor R12; the base of the transistor Q3 serves as the signal input end of the edge detection circuit; the collector of the transistor Q3 is connected to the first end of the resistor R5, the base of the transistor Q4, and the first end of the capacitor C2; the emitter of the transistor Q3 is connected to the first end of the resistor R7 and the emitter of the transistor Q5; the second end of the resistor R5 is connected to the first end of the resistor R6, the first end of the capacitor C4, the first end of the resistor R9, the first end of the capacitor C3, and the first end of the resistor R11 The first end is connected; the second end of the capacitor C2 is connected to the second end of the resistor R6, the collector of the transistor Q5, and the base of the transistor Q6; the base of the transistor Q5 is connected to the first end of the resistor R8, and the second end of the resistor R8 is grounded; the emitter of the transistor Q6 is connected to the second end of the capacitor C4 and the second end of the resistor R9; the collector of the transistor Q6 is connected to the first end of the resistor R10 and serves as the second output port of the edge detection circuit; the emitter of the transistor Q4 is connected to the second end of the capacitor C3 and the second end of the resistor R11; the collector of the transistor Q4 is connected to the first end of the resistor R12 and serves as the first output port of the edge detection circuit; the second end of the resistor R12 is connected to the second end of the resistor R7 and the second end of the resistor R10.

[0017] The beneficial effects brought by the present invention are as follows: avoiding the problems of high cost and great technical difficulty caused by using laser sensors; improving the accuracy and stability of measurement by changing the vibration mode of the loudspeaker and adding a filter and an edge detection circuit at the rear stage of the microphone, and achieving accurate and stable measurement without interference from environmental noise; the excitation loudspeaker and the microphone detection parts work independently, and there is no need to compare the phase relationship between the two parts, and no need for complex software algorithms, only simple level detection is required; the signal processing circuit requires a small number of components, the circuit is simple, and the cost is low. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a circuit schematic diagram of a loudspeaker polarity test device of the present invention;

[0019] Figure 2 It is a waveform diagram of the signal input end of the filter, the signal output end of the filter, the first output port of the edge detection circuit, and the second output port of the edge detection circuit displayed by the oscilloscope when the first edge in the stimulus response signal is a rising edge;

[0020] Figure 3It is a waveform diagram of the signal input end of the filter, the signal output end of the filter, the first output port of the edge detection circuit, and the second output port of the edge detection circuit displayed by the oscilloscope when the first edge in the excitation response signal is a falling edge. DETAILED DESCRIPTION

[0021] The following description and accompanying drawings fully demonstrate specific embodiments of the present invention so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent possible variations only. Unless clearly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments.

[0022] like Figure 1 As shown, in some illustrative embodiments, a speaker polarity test device is provided, including: an excitation source 1, a microphone 2, a filter 3, an edge detection circuit 4, and an MCU. The edge detection circuit 4 and the MCU constitute a signal processing circuit, which requires a small number of components, a simple circuit, and low cost.

[0023] The excitation source 1 comprises an excitation source signal input terminal 101 , an excitation source first signal output terminal 102 and an excitation source second signal output terminal 103 .

[0024] The excitation source 1 is used to generate a pulse wave signal, and apply the pulse wave signal after amplifying the current to the two poles of the speaker 5 to excite the speaker to vibrate intermittently in a single direction. The first signal output terminal 102 and the second signal output terminal 103 of the excitation source 1 are connected to the two poles of the speaker 5 to be tested.

[0025] Specifically, the excitation source 1 includes: a resistor R1, a resistor R2, a transistor Q1 and a transistor Q2. One end of the resistor R1 is used as an excitation source signal input terminal 101, and the other end is connected to the base of the transistor Q1 and one end of the resistor R2, and the other end of the resistor R2 is grounded; the collector of the transistor Q1 is connected to the collector of the transistor Q2; the emitter of the transistor Q1 is connected to the base of the transistor Q2; the emitter of the transistor Q2 is used as the first signal output terminal 102 of the excitation source, and the second signal output terminal 103 of the excitation source is grounded; the first signal output terminal 102 of the excitation source and the second signal output terminal 103 of the excitation source are respectively connected to the two poles of the speaker to be tested.

[0026] Excite the speaker to vibrate intermittently in a single direction: design a corresponding signal generating circuit, namely, excitation source 1. Excitation source 1 generates a pulse wave signal with a frequency of 15Hz and a duty cycle of 1%. After being divided by resistors R1 and R2 and amplified by transistors Q1 and Q2, the speaker to be tested will obtain an excitation signal with a corresponding frequency and duty cycle, and a high level of 20V and a low level of 0V, so that the speaker to be tested will vibrate intermittently in a single direction and make sound.

[0027] Microphone 2 is used to receive the sound pressure of the vibration of the speaker to be tested and generate an excitation response signal. Depending on the polarity of the speaker to be tested, the signal output end of microphone 2 will generate a positive pulse or a negative pulse, which will oscillate several times and then stop. Microphone 2 receives the sound pressure generated by the speaker to be tested and restores it to an electrical signal. This can be achieved by using any microphone of any structure in the prior art that can detect sound pressure and restore it to an electrical signal. The specific structure of the microphone will not be described in detail here.

[0028] The excitation speaker and microphone detection parts work independently. There is no need to compare the phase relationship between the two parts, and no need for complex software algorithms. Only simple level detection is required.

[0029] The filter 3 comprises: a filter signal input terminal 301 and a filter signal output terminal 302 .

[0030] The filter 3 is used to filter the low-frequency interference signal in the excitation response signal. The filter 3 only selects useful signals to pass through and filters the low-frequency interference signal. The filter signal input terminal 301 is connected to the signal output terminal of the microphone 2.

[0031] The filter 3 includes a resistor R4 and a capacitor C1. One end of the capacitor C1 is used as a filter signal input end 301, and the other end is connected to one end of the resistor R4 and used as a filter signal output end 302. The other end of the resistor R4 is grounded. The resistor R4 and the capacitor C1 form a high-pass filter, which only selects useful signals to pass through and filters low-frequency interference signals.

[0032] The edge detection circuit 4 comprises: an edge detection circuit signal input terminal 401 , an edge detection circuit first output terminal 402 and an edge detection circuit second output terminal 403 .

[0033] The edge detection circuit 4 is used to separate the rising edge and the falling edge in the excitation response signal. The edge detection circuit signal input terminal 401 is connected to the filter signal output terminal 302. The edge detection circuit first output port 402 and the edge detection circuit second output port 403 are connected to the data input terminal of the MCU. The edge detection circuit first output port 402 outputs a high level when the excitation response signal is at a rising edge, and the edge detection circuit second output port 403 outputs a high level when the excitation response signal is at a falling edge.

[0034] The edge detection circuit 4 includes: transistor Q3, transistor Q4, transistor Q5, transistor Q6, capacitor C2, capacitor C3, capacitor C4, resistor R5, resistor R6, resistor R7, resistor R8, resistor R9, resistor R10, resistor R11, and resistor R12. The resistor and capacitor each include two ports. In this paper, the two ports of the resistor are defined as the first end and the second end of the resistor, and the two ports of the capacitor are defined as the first end and the second end of the capacitor. The specific connection method of the components of the edge detection circuit 4 is as follows:

[0035] The base of transistor Q3 serves as the signal input terminal 401 of the edge detection circuit; the collector of transistor Q3 is connected to the first end of resistor R5, the base of transistor Q4, and the first end of capacitor C2; the emitter of transistor Q3 is connected to the first end of resistor R7 and the emitter of transistor Q5; the second end of resistor R5 is connected to the first end of resistor R6, the first end of capacitor C4, the first end of resistor R9, the first end of capacitor C3, and the first end of resistor R11; the second end of capacitor C2 is connected to the second end of resistor R6, the collector of transistor Q5, and the base of transistor Q6; the base of transistor Q5 ... collector of transistor Q5, and the base of transistor Q6; the base of transistor Q5 is connected to the first end of resistor R7 and the emitter of transistor Q5; the second end of resistor R5 is connected to the first end of resistor R6, the base of transistor Q6, and the emitter of transistor Q5; the emitter of transistor Q5 is connected to the first end of resistor R7 and the emitter of transistor Q5; the emitter of transistor Q5 is connected to the first end of resistor R7 and the emitter of transistor Q5; the emitter of transistor Q5 is connected to the first end of resistor R7 and the emitter of transistor Q5; the emitter of transistor Q5 is connected to the first end of resistor R7 and the emitter of transistor Q5; the emitter of transistor Q5 is connected to the first end of The emitter of transistor Q6 is connected to the first end of resistor R8, and the second end of resistor R8 is grounded; the emitter of transistor Q6 is connected to the second end of capacitor C4 and the second end of resistor R9; the collector of transistor Q6 is connected to the first end of resistor R10 and serves as the second output port 403 of the edge detection circuit; the emitter of transistor Q4 is connected to the second end of capacitor C3 and the second end of resistor R11; the collector of transistor Q4 is connected to the first end of resistor R12 and serves as the first output port 402 of the edge detection circuit; the second end of resistor R12 is connected to the second end of resistor R7 and the second end of resistor R10.

[0036] When the pulse wave rises, transistors Q3 and Q4 are turned on, capacitor C3 starts to charge, and the first output port 402 of the edge detection circuit outputs a high level. When capacitor C3 is fully charged, the first output port 402 of the edge detection circuit returns to a low level.

[0037] When the pulse wave falls, transistors Q5 and Q6 are turned on, capacitor C4 starts to charge, and the second output port 403 of the edge detection circuit in the figure outputs a high level; when capacitor C4 is fully charged, the second output port 403 of the edge detection circuit returns to a low level.

[0038] The MCU determines the type of the first edge in the stimulus response signal according to the sequence of the high level outputs of the first output port 402 and the second output port 403 of the edge detection circuit to determine the polarity of the speaker to be tested; the type of the first edge in the stimulus response signal is a rising edge or a falling edge. The edge detection circuit 4 separates the rising edge and the falling edge of the pulse wave, and then the MCU determines whether the first edge is a rising edge or a falling edge, so as to determine the polarity of the speaker.

[0039] The signals output from the first output port 402 of the edge detection circuit and the second output port 403 of the edge detection circuit are shaped by U1 and U2 and sent to the MCU. The MCU can determine whether the first edge in the excitation response signal is a rising edge or a falling edge according to the order in which the two signals arrive. If the first edge in the excitation response signal is a positive pulse, that is, the rising edge of the first edge, the high level of the first output port 402 of the edge detection circuit comes earlier than the second output port 403 of the edge detection circuit, and pin 1 of the speaker is "+" and pin 2 is "-". If the first edge in the excitation response signal is a negative pulse, that is, the falling edge of the first edge, the high level of the first output port 402 of the edge detection circuit comes later than the second output port 403 of the edge detection circuit, and pin 1 of the speaker is "-" and pin 2 is "+".

[0040] like Figure 2 and 3 As shown in the figure, the signal waveforms are the signal input end of the filter, the signal output end of the filter, the first output port of the edge detection circuit, and the second output port of the edge detection circuit from top to bottom. The excitation response generated by the actual microphone is not an ideal pulse signal, but will oscillate several times and then stop. The measurement is accurate and stable, and is not affected by environmental noise.

[0041] Those skilled in the art will also appreciate that the various illustrative logic blocks, modules, circuits, and algorithmic steps described in conjunction with the embodiments herein can all be implemented as electronic hardware, computer software, or a combination thereof. In order to clearly illustrate the interchangeability between hardware and software, various illustrative components, blocks, modules, circuits, and steps are generally described above around their functions. Whether such functions are implemented as hardware or software depends on specific applications and the design constraints imposed on the entire system. A skilled person can implement the described functions in an alternative manner for each specific application, but such implementation decisions should not be interpreted as departing from the scope of protection of the present disclosure.

Claims

1. Speaker polarity test device, It is characterized in that The excitation speaker and microphone detection parts work independently; include: A microphone, used to receive the sound pressure of the vibration of the speaker to be tested and generate an excitation response signal; an edge detection circuit, connected to the signal output terminal of the microphone, for separating the rising edge and the falling edge in the excitation response signal, comprising: a first output port that outputs a high level when the excitation response signal has a rising edge, and a second output port that outputs a high level when the excitation response signal has a falling edge; An MCU is connected to the first output port and the second output port of the edge detection circuit, and determines the type of the first edge in the stimulus response signal according to the order in which the first output port and the second output port of the edge detection circuit output high levels to determine the polarity of the speaker to be tested; The type of the first edge in the stimulus response signal is a rising edge or a falling edge; It also includes: an excitation source, which is used to generate a pulse wave signal, and apply the pulse wave signal after amplifying the current to the two poles of the speaker to be tested to excite the speaker to be tested to vibrate intermittently in a single direction; The edge detection circuit includes: transistor Q3, transistor Q4, transistor Q5, transistor Q6, capacitor C2, capacitor C3, capacitor C4, resistor R5, resistor R6, resistor R7, resistor R8, resistor R9, resistor R10, resistor R11, and resistor R12; the base of transistor Q3 serves as the signal input end of the edge detection circuit; the collector of transistor Q3 is connected to the first end of resistor R5, the base of transistor Q4, and the first end of capacitor C2; the emitter of transistor Q3 is connected to the first end of resistor R7 and the emitter of transistor Q5; the second end of resistor R5 is connected to the first end of resistor R6, the first end of capacitor C4, the first end of resistor R9, the first end of capacitor C3, and the first end of resistor R11 ; The second end of the capacitor C2 is connected to the second end of the resistor R6, the collector of the transistor Q5, and the base of the transistor Q6; the base of the transistor Q5 is connected to the first end of the resistor R8, and the second end of the resistor R8 is grounded; the emitter of the transistor Q6 is connected to the second end of the capacitor C4 and the second end of the resistor R9; the collector of the transistor Q6 is connected to the first end of the resistor R10 and serves as the second output port of the edge detection circuit; the emitter of the transistor Q4 is connected to the second end of the capacitor C3 and the second end of the resistor R11; the collector of the transistor Q4 is connected to the first end of the resistor R12 and serves as the first output port of the edge detection circuit; the second end of the resistor R12 is connected to the second end of the resistor R7 and the second end of the resistor R10.

2. The loudspeaker polarity test device according to claim 1, It is characterized in that Also includes: A filter is used to filter the low-frequency interference signal in the excitation response signal, wherein the signal input end of the filter is connected to the signal output end of the microphone, and the signal output end of the filter is connected to the signal input end of the edge detection circuit.

3. The loudspeaker polarity test device according to claim 2, It is characterized in that The excitation source includes: a resistor R1, a resistor R2, a transistor Q1 and a transistor Q2; one end of the resistor R1 serves as a signal input end of the excitation source, and the other end is connected to the base of the transistor Q1 and one end of the resistor R2, and the other end of the resistor R2 is grounded; the collector of the transistor Q1 is connected to the collector of the transistor Q2; the emitter of the transistor Q1 is connected to the base of the transistor Q2; the emitter of the transistor Q2 serves as a first signal output end of the excitation source, and the second signal output end of the excitation source is grounded; the first signal output end of the excitation source and the second signal output end of the excitation source are respectively connected to the two poles of the speaker to be tested.