CN105142072A - Audio apparatus with externally connected player and audio playing method thereof - Google Patents

Audio apparatus with externally connected player and audio playing method thereof Download PDF

Info

Publication number
CN105142072A
CN105142072A CN201510635799.6A CN201510635799A CN105142072A CN 105142072 A CN105142072 A CN 105142072A CN 201510635799 A CN201510635799 A CN 201510635799A CN 105142072 A CN105142072 A CN 105142072A
Authority
CN
China
Prior art keywords
audio
earphone
module
interface module
player
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.)
Granted
Application number
CN201510635799.6A
Other languages
Chinese (zh)
Other versions
CN105142072B (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201510635799.6A priority Critical patent/CN105142072B/en
Publication of CN105142072A publication Critical patent/CN105142072A/en
Application granted granted Critical
Publication of CN105142072B publication Critical patent/CN105142072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Stereophonic Arrangements (AREA)

Abstract

The invention discloses an audio apparatus with an externally connected player and an audio playing method thereof. The audio apparatus is composed of a loudspeaker, an interface module, and an amplifying module. The interface module detects whether an inserted external device is an earphone or player; when the external device is detected to be an earphone, an earphone interruption signal is outputted to the audio module and the audio module turns off the amplifying module based on the earphone interruption signal and outputs an audio signal to the interface module to drive the earphone; and when the external device is detected to be a player, the interface module is disconnected with the loudspeaker, the audio module outputs an audio signal and the signal is amplified by the amplifying module and then is outputted by the interface module, thereby driving the player to carry out playing. Therefore, whether an earphone or a small loudspeaker box is inserted can be distinguished automatically without the need to arrange an external detection module and the external small loudspeaker box can be driven directly to carry out playing. Moreover, the circuit structure is simple; the apparatus and the method can be implemented easily; and the cost is low.

Description

A kind of audio devices of external player and audio frequency playing method
Technical field
The present invention relates to technical field of mobile terminals, in particular a kind of audio devices of external player and audio frequency playing method.
Background technology
Existing mobile terminal, adopts three kinds of schemes often as mobile phone carries out audio external play: one is by plugged earphone, by earphone audio plays; But only have band earphone user can acoustic.Two is by built-in sound horn, but its volume is limited.By in conjunction with above-mentioned two situations, increasing user adopts external player, as little audio amplifier carrys out audio plays now.Everybody can acoustic and volume can be adjusted to larger like this.
But, during the external player of existing mobile terminal, because player and earphone are all the modes adopting plug to insert mobile terminal, needing to arrange external detection module to what identify insertion is earphone or player, thus adds circuit structure and the cost of external detection module.
Thus prior art need to improve.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide a kind of audio devices and audio frequency playing method of external player, need to arrange to solve existing mobile terminal the problem that external detection module causes cost to increase.
The technical scheme that technical solution problem of the present invention adopts is as follows:
An audio devices for external player, comprises loud speaker, and it also comprises interface module, audio-frequency module and amplification module;
Described interface module detects the plug state of peripheral hardware, and the peripheral hardware inserted is earphone or player, detect and outer export earphone interrupt signal to audio-frequency module when being set to earphone, described audio-frequency module close amplification module according to earphone interrupt signal and output audio signal to interface module to drive earphone;
When detection peripheral hardware is player, interface module disconnects the connection with loud speaker, and audio-frequency module output audio signal is exported by interface module, to drive player sounding after amplification module amplifies.
In the audio devices of described external player, described interface module detects when not inserting peripheral hardware and exports Mike's interrupt signal to audio-frequency module, and audio-frequency module output audio signal amplifies rear drive loud speaker sounding through amplification module.
In the audio devices of described external player, described audio-frequency module comprises BB chip, arranges a pull-up resistor and be connected with interface module in BB chip; Amplification module comprises AB class audio amplifier.
In the audio devices of described external player, described interface module comprises earphone base, resistance and diode; 1st pin of described earphone base connects the earpiece audio output of AB class audio amplifier and BB chip, 2nd pin of earphone base connects one end of loud speaker, 3rd pin of earphone base connects the negative pole of diode, the positive pole of described diode connects one end of pull-up resistor in BB chip, and the other end of pull-up resistor connects power end; 4th pin of earphone base connect BB chip earphone Mike input, also by grounding through resistance, the 5th pin ground connection of earphone base; 6th pin of earphone base connects the earpiece audio output of the other end of loud speaker, AB class audio amplifier and BB chip, and described AB class audio amplifier connects the audio output of BB chip.
In the audio devices of described external player, the resistance of described resistance is 1/100 with the ratio of the resistance of pull-up resistor.
Adopt an audio frequency playing method for the audio devices of described external player, it comprises:
A, interface module detect the plug state of peripheral hardware, and the peripheral hardware inserted is earphone or player, and being that earphone then performs step B, is that player then performs step C;
B, interface module export earphone interrupt signal to audio-frequency module, audio-frequency module close amplification module according to earphone interrupt signal and output audio signal to interface module to drive earphone;
C, interface module disconnect the connection with loud speaker, and audio-frequency module output audio signal is exported by interface module, to drive player sounding after amplification module amplifies.
In described audio frequency playing method, in described steps A, interface module detects when not inserting peripheral hardware and exports Mike's interrupt signal to audio-frequency module, and audio-frequency module output audio signal amplifies rear drive loud speaker sounding through amplification module.
Compared to prior art, the audio devices of external player provided by the invention and audio frequency playing method, the plug state of peripheral hardware is detected by interface module, and the peripheral hardware inserted is earphone or player, detect and outer export earphone interrupt signal to audio-frequency module when being set to earphone, described audio-frequency module close amplification module according to earphone interrupt signal and output audio signal to interface module to drive earphone; When detection peripheral hardware is player, interface module disconnects the connection with loud speaker, and audio-frequency module output audio signal is exported by interface module, to drive player sounding after amplification module amplifies; Without the need to separately establishing external detection module just can automatic distinguishing inserts is earphone or little audio amplifier, also can play the little audio amplifier of Direct driver outside, its circuit structure be simple, easy to implement and cost is lower.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of the audio devices of external player provided by the invention.
Fig. 2 is the schematic diagram of the audio devices Application Example of external player provided by the invention.
Fig. 3 is the schematic diagram of existing headset plug.
Fig. 4 is the plug schematic diagram of existing little audio amplifier.
Fig. 5 is the audio frequency playing method flow chart of the audio devices of external player provided by the invention.
Embodiment
The invention provides a kind of audio devices and audio frequency playing method of external player, be mainly applicable to mobile terminal, being also applicable to other can the equipment of external player (as little audio amplifier); Without the need to separately establishing external detection module (as external subwoofer detection module) just can automatic distinguishing inserts is earphone or little audio amplifier, the little audio amplifier of the power amplifier Direct driver outside in mobile terminal also can be made to play, and its circuit structure be simple, easy to implement and cost is lower.For making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Please refer to Fig. 1 and Fig. 2, the audio devices of external player provided by the invention is arranged in the terminal, and it comprises interface module 10, audio-frequency module 20, amplification module 30 and loud speaker 40.Described interface module 10 detects the plug state of peripheral hardware, and the peripheral hardware inserted is earphone or player.
When interface module 10 detect do not insert peripheral hardware time, export Mike interrupt signal to audio-frequency module, audio-frequency module 20 output audio signal amplifies rear drive loud speaker 40 sounding through amplification module 30.
When interface module 10 detect outer be set to earphone time export earphone interrupt signal to audio-frequency module 20, described audio-frequency module 20 close amplification module 30 according to described earphone interrupt signal and output audio signal to interface module 10 to drive earphone.Because now amplification module 30 is closed, loud speaker 40 without driving not sounding, thus achieves the function of only earphone sounding when earphone inserts.
When to detect peripheral hardware be player to interface module 10, disconnect the connection with loud speaker 40, audio-frequency module 20 output audio signal is exported by interface module 10, to drive player sounding after amplification module 30 amplifies.Player in the present embodiment is little audio amplifier.
In the present embodiment, described audio-frequency module 20 adopts BB chip U1, as BB four high guaily unit audio chip.Described amplification module 30 adopts AB class audio amplifier.Described interface module 10 comprises earphone base T1, resistance R1 and diode D1; 1st pin of described earphone base T1 connects the earpiece audio output of AB class audio amplifier and BB chip, 2nd pin of earphone base T1 connects one end of loud speaker 40,3rd pin of earphone base T1 connects the negative pole of diode D1, and the positive pole of described diode D1 connects BB chip; 4th pin of earphone base T1 connect BB chip earphone Mike input, also by resistance R1 ground connection, the 5th pin ground connection of earphone base T1; 6th pin of earphone base T1 connects the earpiece audio output of the other end of loud speaker 40, AB class audio amplifier and BB chip, and described AB class audio amplifier connects the audio output of BB chip.It is to be appreciated that BB built-in chip type has a pull-up resistor, the positive pole of shown diode D1 connects one end of this pull-up resistor, and the other end of pull-up resistor connects power end.Wherein, the resistance of resistance R is 1/100 with the ratio of the resistance of pull-up resistor.Such as, when the resistance of resistance R is 1K, the resistance of described pull-up resistor is 100K.Such setting is to judge whether that peripheral hardware accesses.Be specially:
When not inserting peripheral hardware (as earphone or little audio amplifier), the 1st pin of earphone base T1 is connected by contact flat spring (triangle on the 2nd pin) with the 2nd pin, and the 3rd pin is in like manner connected with the 4th pin.Now pull-up resistor and resistance R1 dividing potential drop, because the resistance value ratio pull-up resistor of resistance R1 is much little, being equivalent to after dividing potential drop on resistance R1 is low level, and namely the 4th pin output low level is to the earphone Mike input of BB chip.BB chip detection earphone Mike input is low level, shows do not have peripheral hardware to insert, and the audio signal that its audio output exports amplifies rear drive loud speaker 40 sounding through AB class audio amplifier, and namely sound is play by the loud speaker 40 of mobile terminal.
When insert peripheral hardware time, because earphone is different with the plug of little audio amplifier, headset plug 100 is as shown in Figure 3 four-part form, be from left to right followed successively by (GND), L channel (Left), R channel (Right), Mike (Mic).The plug 200 of the little audio amplifier shown in Fig. 4 is syllogic, be from left to right followed successively by (GND), L channel (Left), R channel (Right).The plug 200 of little audio amplifier is shorter than headset plug 100.
If headset plug 100 plugged earphone seat T1, R channel (Right) section of headset plug 100 can make the connection between the 1st pin in earphone base T1 and the 2nd pin disconnect, Mike (Mic) section makes the connection between the 3rd pin in earphone base T1 and the 4th pin disconnect, the positive pole of diode D1 is drawn as high level by the pull-up resistor of BB chip internal, and the positive pole being equivalent to diode D1 exports the effective earphone interrupt signal HEADSET_INT of high level to BB chip.BB chip receives the output that namely this earphone interrupt signal HEADSET_INT closes AB class audio amplifier, simultaneously from earpiece audio output output audio signal, to drive earphone.
When little audio amplifier inserts the earphone base T1 of mobile terminal, R channel (Right) section of the plug 200 of little audio amplifier makes the connection in earphone base T1 between the 1st pin and the 2nd pin disconnect, and the loud speaker path in mobile terminal is disconnected (even if one end of loud speaker 40 is unsettled).Because little audio amplifier adopts the plug of syllogic shorter than common headset plug one section.In earphone base T1, the 3rd pin keeps being connected with the 4th pin, so the mistake that can not produce earphone insertion when inserting little audio amplifier is interrupted.The audio signal that now BB chip exports exports after class ab ammplifier amplifies, by the 1st pin of interface module 10 and the 6th pin, the little audio amplifier sounding of Direct driver.
Based on the audio devices of above-mentioned external player, the present invention also provides a kind of audio frequency playing method of audio devices of external player, sees also Fig. 2, and described audio frequency playing method comprises:
S100, interface module detect the plug state of peripheral hardware, and the peripheral hardware inserted is earphone or player, and being that earphone then performs step S200, is that player then performs step S300;
S200, interface module export earphone interrupt signal to audio-frequency module, audio-frequency module close amplification module according to earphone interrupt signal and output audio signal to interface module to drive earphone;
S300, interface module disconnect the connection with loud speaker, and audio-frequency module output audio signal is exported by interface module, to drive player sounding after amplification module amplifies.
In described step S100, interface module detects when not inserting peripheral hardware and exports Mike's interrupt signal to audio-frequency module, and audio-frequency module output audio signal amplifies rear drive loud speaker sounding through amplification module.Specifically refer to above-described embodiment.
In sum, the audio devices of external player of the present invention and audio frequency playing method, the type of the plug state of peripheral hardware the peripheral hardware of identification insertion is directly detected by interface module, the break-make of corresponding control loudspeaker path, and the audio frequency of control BB chip exports, can realize loud speaker to play, earphone is play and little audio amplifier playing function; Without the need to separately establishing external detection module just can automatic distinguishing inserts is earphone or little audio amplifier, also can play the little audio amplifier of Direct driver outside, its circuit structure be simple, easy to implement and cost is lower.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.

Claims (7)

1. an audio devices for external player, comprises loud speaker, it is characterized in that, also comprises interface module, audio-frequency module and amplification module;
Described interface module detects the plug state of peripheral hardware, and the peripheral hardware inserted is earphone or player,
When detect outer be set to earphone time, export earphone interrupt signal to audio-frequency module, described audio-frequency module close amplification module according to earphone interrupt signal and output audio signal to interface module to drive earphone;
When detection peripheral hardware is player, interface module disconnects the connection with loud speaker, and audio-frequency module output audio signal is exported by interface module, to drive player sounding after amplification module amplifies.
2. the audio devices of external player according to claim 1, it is characterized in that, described interface module detects when not inserting peripheral hardware and exports Mike's interrupt signal to audio-frequency module, and audio-frequency module output audio signal amplifies rear drive loud speaker sounding through amplification module.
3. the audio devices of external player according to claim 1, is characterized in that, described audio-frequency module comprises BB chip, arranges a pull-up resistor and be connected with interface module in BB chip; Amplification module comprises AB class audio amplifier.
4. the audio devices of external player according to claim 3, is characterized in that, described interface module comprises earphone base, resistance and diode; 1st pin of described earphone base connects the earpiece audio output of AB class audio amplifier and BB chip, 2nd pin of earphone base connects one end of loud speaker, 3rd pin of earphone base connects the negative pole of diode, the positive pole of described diode connects one end of pull-up resistor in BB chip, and the other end of pull-up resistor connects power end; 4th pin of earphone base connect BB chip earphone Mike input, also by grounding through resistance, the 5th pin ground connection of earphone base; 6th pin of earphone base connects the earpiece audio output of the other end of loud speaker, AB class audio amplifier and BB chip, and described AB class audio amplifier connects the audio output of BB chip.
5. the audio devices of external player according to claim 4, is characterized in that, the resistance of described resistance is 1/100 with the ratio of the resistance of pull-up resistor.
6. adopt an audio frequency playing method for the audio devices of external player according to claim 1, it is characterized in that, comprising:
A, interface module detect the plug state of peripheral hardware, and the peripheral hardware inserted is earphone or player, and being that earphone then performs step B, is that player then performs step C;
B, interface module export earphone interrupt signal to audio-frequency module, audio-frequency module close amplification module according to earphone interrupt signal and output audio signal to interface module to drive earphone;
C, interface module disconnect the connection with loud speaker, and audio-frequency module output audio signal is exported by interface module, to drive player sounding after amplification module amplifies.
7. audio frequency playing method according to claim 6, it is characterized in that, in described steps A, interface module detects when not inserting peripheral hardware and exports Mike's interrupt signal to audio-frequency module, and audio-frequency module output audio signal amplifies rear drive loud speaker sounding through amplification module.
CN201510635799.6A 2015-09-30 2015-09-30 A kind of audio devices and audio frequency playing method of external player Active CN105142072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510635799.6A CN105142072B (en) 2015-09-30 2015-09-30 A kind of audio devices and audio frequency playing method of external player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510635799.6A CN105142072B (en) 2015-09-30 2015-09-30 A kind of audio devices and audio frequency playing method of external player

Publications (2)

Publication Number Publication Date
CN105142072A true CN105142072A (en) 2015-12-09
CN105142072B CN105142072B (en) 2018-12-07

Family

ID=54727255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510635799.6A Active CN105142072B (en) 2015-09-30 2015-09-30 A kind of audio devices and audio frequency playing method of external player

Country Status (1)

Country Link
CN (1) CN105142072B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106778361A (en) * 2016-11-28 2017-05-31 陈丹丹 A kind of information safety computer control structure, a kind of computer, a kind of secure network
CN107786741A (en) * 2017-10-20 2018-03-09 惠州Tcl移动通信有限公司 A kind of HAC systems and its implementation based on mobile terminal
CN113316064A (en) * 2021-04-28 2021-08-27 杭州小派智能科技有限公司 Method, system, head-mounted display device and storage medium for earphone and loudspeaker recognition
CN113448531A (en) * 2021-06-10 2021-09-28 杭州小派智能科技有限公司 Loudspeaker and earphone interface self-adaption method and system and virtual reality equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6748085B1 (en) * 1998-05-06 2004-06-08 Samsung Electronics Co., Ltd. Computer system with a common audio input for its audio circuitry
CN201898602U (en) * 2010-12-27 2011-07-13 浙江安迪信信息技术有限公司 Passive sound box interface of mobile phone
CN102355518A (en) * 2011-09-28 2012-02-15 惠州Tcl移动通信有限公司 Mobile phone and audio processing method thereof
CN204090123U (en) * 2014-06-13 2015-01-07 深圳Tcl新技术有限公司 Audio output control circuit and audio-frequence player device
US20150098579A1 (en) * 2013-10-07 2015-04-09 Nuvoton Technolgoy Corporation Method and apparatus for an integrated headset switch with reduced crosstalk noise

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6748085B1 (en) * 1998-05-06 2004-06-08 Samsung Electronics Co., Ltd. Computer system with a common audio input for its audio circuitry
CN201898602U (en) * 2010-12-27 2011-07-13 浙江安迪信信息技术有限公司 Passive sound box interface of mobile phone
CN102355518A (en) * 2011-09-28 2012-02-15 惠州Tcl移动通信有限公司 Mobile phone and audio processing method thereof
US20150098579A1 (en) * 2013-10-07 2015-04-09 Nuvoton Technolgoy Corporation Method and apparatus for an integrated headset switch with reduced crosstalk noise
CN204090123U (en) * 2014-06-13 2015-01-07 深圳Tcl新技术有限公司 Audio output control circuit and audio-frequence player device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106778361A (en) * 2016-11-28 2017-05-31 陈丹丹 A kind of information safety computer control structure, a kind of computer, a kind of secure network
CN107786741A (en) * 2017-10-20 2018-03-09 惠州Tcl移动通信有限公司 A kind of HAC systems and its implementation based on mobile terminal
CN113316064A (en) * 2021-04-28 2021-08-27 杭州小派智能科技有限公司 Method, system, head-mounted display device and storage medium for earphone and loudspeaker recognition
CN113448531A (en) * 2021-06-10 2021-09-28 杭州小派智能科技有限公司 Loudspeaker and earphone interface self-adaption method and system and virtual reality equipment

Also Published As

Publication number Publication date
CN105142072B (en) 2018-12-07

Similar Documents

Publication Publication Date Title
TWI539830B (en) Electronic device and audio output control method
CN103686534A (en) Method and apparatus for detecting insertion of external audio outputting device in electronic device
CN102325216A (en) Mobile communication equipment and volume control method thereof
CN101630802A (en) Headphone jack structure
CN105142072A (en) Audio apparatus with externally connected player and audio playing method thereof
CN203632832U (en) Active noise-reduction-type wireless earphone
CN107786741A (en) A kind of HAC systems and its implementation based on mobile terminal
CN105120390A (en) Headphone socket, headphone plug and electronic device
CN104254040A (en) Audio switching system of mobile communication terminal
CN201898602U (en) Passive sound box interface of mobile phone
GB2502983A (en) Electronic host device with flexible interface for accessory connection
CN111031435A (en) Audio circuit, head-mounted display equipment and head-mounted display system
CN204968070U (en) Earphone socket, Headphone plug and electronic equipment
CN102355518A (en) Mobile phone and audio processing method thereof
WO2019062717A1 (en) Playback device, and plaback method based on playback device
US8660273B2 (en) Interface circuit and electronic device using the same
CN104093104A (en) Circuit and method for eliminating POP sound of earphone
CN107800853B (en) Memory, mobile phone, audio circuit thereof and method for externally playing audio file
TW202019191A (en) Headset
CN103825995B (en) Mobile electronic device and method for controlling volume thereof
CN202713580U (en) Earphone compatible interface circuit for terminal device
CN211378222U (en) Audio circuit, head-mounted display equipment and head-mounted display system
CN204046788U (en) High-fidelity portable loudspeaker box
CN103974169B (en) Apparatus for processing audio and audio-frequency processing method
CN203027365U (en) Audio output control circuit and TV set

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant