CN113766407B - Audio phase detection system based on singlechip - Google Patents

Audio phase detection system based on singlechip Download PDF

Info

Publication number
CN113766407B
CN113766407B CN202110903705.4A CN202110903705A CN113766407B CN 113766407 B CN113766407 B CN 113766407B CN 202110903705 A CN202110903705 A CN 202110903705A CN 113766407 B CN113766407 B CN 113766407B
Authority
CN
China
Prior art keywords
singlechip
audio
chip microcomputer
detection system
phase detection
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
CN202110903705.4A
Other languages
Chinese (zh)
Other versions
CN113766407A (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.)
Anhui Konka Electronics Co Ltd
Original Assignee
Anhui Konka Electronics 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 Anhui Konka Electronics Co Ltd filed Critical Anhui Konka Electronics Co Ltd
Priority to CN202110903705.4A priority Critical patent/CN113766407B/en
Publication of CN113766407A publication Critical patent/CN113766407A/en
Application granted granted Critical
Publication of CN113766407B publication Critical patent/CN113766407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

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

Abstract

The invention relates to the field of audio detection, in particular to an audio phase detection system and method based on a single chip microcomputer. The system comprises a singlechip, a power amplifier, a filter and a waveform shaper; the left speaker and the right speaker are connected with corresponding pins of the singlechip through corresponding power amplifiers, filters and waveform shapers in sequence, wherein the corresponding pins of the singlechip are connected with a production line control system. The invention has the beneficial effects that: the invention can be used for realizing the operations of sound collection, filtering, shaping, conversion, judgment and output of the left and right speakers under the detection scene of most double speakers, realizing the detection of the same phase of the double speakers, being linked with an automatic production line, realizing the accurate and rapid audio phase detection function, retaining the manual release function, replacing the original manual position detection, and improving the detection accuracy and the production efficiency.

Description

Audio phase detection system based on singlechip
Technical Field
The invention relates to the field of audio detection, in particular to an audio phase detection system and method based on a single chip microcomputer.
Background
The loudspeaker is driven by amplifying sound signals through a power amplification chip and then driving the loudspeaker to work, a group of loudspeakers generally consists of L and R loudspeakers, the driving signals L_OUT+, L_OUT-, R_OUT+ and R_OUT-are composed of four paths of signals, the positive electrode and the negative electrode of a single loudspeaker are strictly distinguished, if the positive electrode and the negative electrode of one of the L or R loudspeakers are connected reversely, the loudspeaker is actually in reverse phase, when only one of the L and R loudspeakers is in reverse phase, abnormal phenomena such as noise, sound weakness and the like can occur, the sound quality is influenced, and the hidden quality hidden trouble is difficult to check.
In actual production, in order to prevent the occurrence of the inversion of a single loudspeaker, the loudspeaker wire harness is subjected to foolproof treatment to prevent the reverse connection of a production line, but the situation that the wire harness is wrongly processed cannot be avoided by the measure, and if the wire harness is subjected to the inversion during processing, the abnormal sound can be caused.
In the past, the inspection mode of single anti-phase fault of an L/R loudspeaker is that white noise with fixed frequency is played when a product passes through an inspection position through manual inspection of a production line, sound emitted by a left loudspeaker and a right loudspeaker is collected through a microphone, amplified by a power amplifier and output to two channels CH1/CH2 of an oscilloscope, and the waveform phase of an audio signal collected by the oscilloscope is compared and confirmed by the phase of the manual visual inspection oscilloscope.
Disclosure of Invention
In order to solve the problem of insufficient manual detection precision and complex operation in the background technology, the invention provides an audio phase detection system and method based on a singlechip, and the specific scheme is as follows:
an audio phase detection system based on a singlechip comprises the singlechip, a power amplifier, a filter and a waveform shaper; the left speaker and the right speaker are connected with corresponding pins of the singlechip through corresponding power amplifiers, filters and waveform shapers in sequence, wherein the corresponding pins of the singlechip are connected with a production line control system.
Specifically, the filter includes a band-pass filter.
Specifically, the waveform shaper includes a schmitt trigger.
Specifically, the device also comprises an indicator lamp connected with the corresponding pin of the singlechip.
Specifically, the device also comprises a buzzer connected with the corresponding pin of the singlechip.
Specifically, the device also comprises a manual release button connected with the pin corresponding to the singlechip.
A method for the above system, comprising the steps of:
s1, acquiring audio signals of a left speaker and a right speaker by a singlechip;
s2, selecting any loudspeaker, starting from the low level to the high level of the audio signal of the loudspeaker, and sampling the audio signal of the other loudspeaker in a set period;
and S3, if all three continuous sampling are high level, judging that the sample is qualified, otherwise judging that the sample is unqualified.
The invention has the beneficial effects that:
(1) The invention can be used for realizing the operations of sound collection, filtering, shaping, conversion, judgment and output of the left and right speakers under the detection scene of most double speakers, realizing the detection of the same phase of the double speakers, being linked with an automatic production line, realizing the accurate and rapid audio phase detection function, retaining an oscilloscope interface and a manual release function, being capable of replacing the original manual detection, and improving the detection accuracy and the production efficiency.
(2) The Schmitt trigger can accurately convert the audio signal into the square wave signal, and the square wave assignment meets the level requirement of GPIO, so that the analog-to-digital conversion process can be replaced with low cost.
(3) Through setting up artifical release button, can guarantee the stability of system when the system breaks down.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of the structure of the present invention;
FIG. 2 is a flow chart of the method of the present invention;
FIG. 3 is a schematic diagram of an embodiment;
fig. 4 is a simulation waveform diagram of an embodiment.
The specific identification in the figure is as follows:
1. a single chip microcomputer; 2. a power amplifier, 3, a filter; 4. a waveform shaper; 5. a production line control system; 6. an indicator light; 7. a buzzer; 8. and manually releasing the keys.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of 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, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention discloses an audio phase detection system and method based on a singlechip, comprising the following steps:
as shown in fig. 1, an audio phase detection system based on a single chip microcomputer comprises a single chip microcomputer 1, a power amplifier 2, a filter 3 and a waveform shaper 4; the left speaker and the right speaker are connected with corresponding pins of the singlechip 1 sequentially through the corresponding power amplifier 2, the filter 3 and the waveform shaper 4, wherein the corresponding pins of the singlechip 1 are connected with the production line control system 5.
The filter 3 comprises a band pass filter.
The waveform shaper 4 comprises a schmitt trigger.
The system also comprises an indicator lamp 6 connected with the corresponding pin of the singlechip 1.
The system also comprises a buzzer 7 connected with the corresponding pin of the singlechip 1.
The system also comprises a manual release button 8 connected with the corresponding pin of the singlechip 1.
As shown in fig. 2, the method for the above system includes the steps of:
s1, acquiring audio signals of a left speaker and a right speaker by a singlechip 1;
s2, selecting any loudspeaker, starting from the low level to the high level of the audio signal of the loudspeaker, and sampling the audio signal of the other loudspeaker in a set period;
and S3, if all three continuous sampling are high level, judging that the sample is qualified, otherwise judging that the sample is unqualified.
As shown in fig. 3 and 4, the high-low level state of the R audio input is respectively sampled for 50ms, 100ms and 150ms from the low level to the high level of the left speaker audio input, if the three samples are all high level, the judgment is qualified, otherwise, the judgment is unqualified. For the condition that the station is free of products, the schmitt trigger continuously outputs low level, and the single chip microcomputer 1 can not continuously keep the fail output in the state of receiving effective high level.
Although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (6)

1. An audio phase detection system based on a singlechip is characterized by comprising the singlechip (1), a power amplifier (2), a filter (3) and a waveform shaper (4); the left speaker and the right speaker are connected with corresponding pins of the singlechip (1) sequentially through the corresponding power amplifier (2), the filter (3) and the waveform shaper (4), wherein the corresponding pins of the singlechip (1) are connected with the production line control system (5);
the method steps of the detection system comprise:
s1, acquiring audio signals of a left speaker and a right speaker by a singlechip (1);
s2, selecting any loudspeaker, starting from the low level to the high level of the audio signal of the loudspeaker, and sampling the audio signal of the other loudspeaker in a set period;
and S3, if all three continuous sampling are high level, judging that the sample is qualified, otherwise judging that the sample is unqualified.
2. An audio phase detection system based on a single chip microcomputer according to claim 1, characterized in that the filter (3) comprises a band pass filter.
3. The audio phase detection system based on a single chip microcomputer according to claim 1, characterized in that the waveform shaper (4) comprises a schmitt trigger.
4. The audio phase detection system based on the single-chip microcomputer according to claim 1, further comprising an indicator lamp (6) connected with a corresponding pin of the single-chip microcomputer (1).
5. The audio phase detection system based on the single-chip microcomputer according to claim 1, further comprising a buzzer (7) connected with a corresponding pin of the single-chip microcomputer (1).
6. The audio phase detection system based on the single-chip microcomputer according to claim 1, further comprising a manual release button (8) connected with a pin corresponding to the single-chip microcomputer (1).
CN202110903705.4A 2021-08-06 2021-08-06 Audio phase detection system based on singlechip Active CN113766407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110903705.4A CN113766407B (en) 2021-08-06 2021-08-06 Audio phase detection system based on singlechip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110903705.4A CN113766407B (en) 2021-08-06 2021-08-06 Audio phase detection system based on singlechip

Publications (2)

Publication Number Publication Date
CN113766407A CN113766407A (en) 2021-12-07
CN113766407B true CN113766407B (en) 2024-03-08

Family

ID=78788663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110903705.4A Active CN113766407B (en) 2021-08-06 2021-08-06 Audio phase detection system based on singlechip

Country Status (1)

Country Link
CN (1) CN113766407B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5319714A (en) * 1992-09-23 1994-06-07 Mctaggart James E Audio phase polarity test system
JPH06311578A (en) * 1993-04-19 1994-11-04 Clarion Co Ltd Speaker polarity deciding method in audio system
JP2000102089A (en) * 1998-09-22 2000-04-07 Yamaha Corp Polarity discrimination circuit for speaker, audio circuit provided with polarity discrimination function of speaker and audio circuit provided with polarity discrimination and polarity changeover function of speaker
JP2004297368A (en) * 2003-03-26 2004-10-21 Yamaha Corp Array speaker inspection apparatus, array speaker device, and method for determining wiring of device
JP2006279753A (en) * 2005-03-30 2006-10-12 Yamaha Corp Speaker inspection method, speaker inspection apparatus and sound reproducing apparatus
JP2012160913A (en) * 2011-01-31 2012-08-23 Toshiba Corp Digital broadcast receiver and control method of audio output signal
WO2015118643A1 (en) * 2014-02-06 2015-08-13 三菱電機株式会社 Audio device
CN108900835A (en) * 2018-09-21 2018-11-27 南京创维平面显示科技有限公司 A kind of television audio phase test device and test method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090232318A1 (en) * 2006-07-03 2009-09-17 Pioneer Corporation Output correcting device and method, and loudspeaker output correcting device and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5319714A (en) * 1992-09-23 1994-06-07 Mctaggart James E Audio phase polarity test system
JPH06311578A (en) * 1993-04-19 1994-11-04 Clarion Co Ltd Speaker polarity deciding method in audio system
JP2000102089A (en) * 1998-09-22 2000-04-07 Yamaha Corp Polarity discrimination circuit for speaker, audio circuit provided with polarity discrimination function of speaker and audio circuit provided with polarity discrimination and polarity changeover function of speaker
US6681019B1 (en) * 1998-09-22 2004-01-20 Yamaha Corporation Polarity determining circuit for loudspeakers, an audio circuit having a function of determining polarities of loudspeakers, and an audio circuit having functions of determining polarities of loudspeakers and switching the polarities
JP2004297368A (en) * 2003-03-26 2004-10-21 Yamaha Corp Array speaker inspection apparatus, array speaker device, and method for determining wiring of device
JP2006279753A (en) * 2005-03-30 2006-10-12 Yamaha Corp Speaker inspection method, speaker inspection apparatus and sound reproducing apparatus
JP2012160913A (en) * 2011-01-31 2012-08-23 Toshiba Corp Digital broadcast receiver and control method of audio output signal
WO2015118643A1 (en) * 2014-02-06 2015-08-13 三菱電機株式会社 Audio device
CN108900835A (en) * 2018-09-21 2018-11-27 南京创维平面显示科技有限公司 A kind of television audio phase test device and test method

Also Published As

Publication number Publication date
CN113766407A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
US9191753B2 (en) Hearing aid and a method of enhancing speech reproduction
US4542525A (en) Method and apparatus for classifying audio signals
CN102970646B (en) Loudspeaker abnormal sound detection circuit device and detection method based on constant current source power amplification
WO2007063880A1 (en) Position detection system, audio device and terminal device used in the position detection system
CN111866690A (en) Microphone testing method and device
CN113766407B (en) Audio phase detection system based on singlechip
CN103796136A (en) Equipment and method for ensuring output loudness and tone quality of different sound effect modes
CN107438221A (en) A kind of online loudspeaker acoustic pressure detector and detection method
JP2007049413A (en) Method for inspecting listening position, listening position inspection system and loudspeaker apparatus to be used for the system
US20060050891A1 (en) Method for automatic loudspeaker polarity determination through loudspeaker-room acoustic responses
CN112822624A (en) Linear array loudspeaker detection method and system based on FFT
CN107465987A (en) A kind of method of testing and its test system of interactive voice audio amplifier finished product pickup system
CN108900835A (en) A kind of television audio phase test device and test method
CN210016636U (en) Loudspeaker abnormal sound test system
CN114566185A (en) Abnormal sound automatic detection method and equipment and computer readable storage medium
JPS55163453A (en) Quality discriminating method of cast metal
CN109510624B (en) High-voltage digital-to-analog conversion and inspection device for airborne equipment
CN111833894A (en) Far-field pickup method and system based on far-field pickup model
CN106507263B (en) Loudspeaker exception sound detecting circuit device and detection method based on adaptive-filtering
CN107017006B (en) Method and system for detecting simulated subsonic tail based on infinite impulse response filter
CN112822623A (en) Wireless earphone abnormity detection method and structure
CN104469621A (en) Anti-interference circuit and method of voice remote controller
CN110220593A (en) A kind of sound abnormality detecting system based on deep learning
CN220440674U (en) Active two-frequency-division audio amplifying circuit
CN212364611U (en) Gold detection machine capable of inhibiting product effect and demodulation circuit thereof

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
GR01 Patent grant
GR01 Patent grant