CN105282653B - Audio is inserted into automatic waking device and audio is inserted into automatic awakening method - Google Patents
Audio is inserted into automatic waking device and audio is inserted into automatic awakening method Download PDFInfo
- Publication number
- CN105282653B CN105282653B CN201410330837.2A CN201410330837A CN105282653B CN 105282653 B CN105282653 B CN 105282653B CN 201410330837 A CN201410330837 A CN 201410330837A CN 105282653 B CN105282653 B CN 105282653B
- Authority
- CN
- China
- Prior art keywords
- pin
- audio
- circuit
- detection circuit
- terminal
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
Abstract
The invention discloses a kind of audios to be inserted into automatic waking device comprising: audio interface, detection circuit and control circuit.Two input terminals of detection circuit are separately connected third pin and the 4th pin in audio interface, when audio insertion automatic waking device is connect with voice frequency terminal equipment, wake-up signal is exported after handling the electric signal of two input terminals to control circuit, grounding pin is connected to the ground by detection circuit automatically, the wake-up signal that two output ends of control circuit connection detection circuit are exported with receiving test circuit is so that system enters normal operating conditions, and the whichever in identification third pin and the 4th pin is detected as microphone pin, whichever is as grounding pin.The invention also discloses a kind of audios to be inserted into automatic awakening method, by the above-mentioned means, the present invention can be realized identification microphone pin and grounding pin, automatically wakes up audio insertion automatic waking device and realize voice frequency terminal equipment and audio insertion automatic waking device altogether.
Description
Technical field
The present invention relates to electronic fields, are inserted into automatic waking device more particularly to a kind of audio and audio is inserted into automatically
Awakening method.
Background technique
With advances in technology with the rapid emergence of internet, the miniaturizations such as mobile phone, tablet computer and palm PC move
Dynamic terminal is increasingly becoming market mainstream consumer products because of its convenience.Currently, the too busy to get away intelligent hand of daily life
The mobile terminals such as machine, tablet computer, such mobile terminal are often the voice frequency terminal equipment with audio interface, past between them
Carry out data transmission, interact toward needs, however, these mobile terminals generally only include two interfaces of USB interface and audio interface,
And the USB interface of mobile terminal belongs to from equipment interface, using being limited, therefore, how to be carried out data transmission using audio interface
Become research hotspot with interaction.
The audio interface of existing mobile terminal, generally four-part form audio interface, including left channel pin, right channel draw
Four part of foot, MIC pin and GND pin, wherein left channel pin, the right channel pin order of connection are fixed, and MIC pin and
The order of connection of GND pin is not fixed, there are two types of the universal standard, MIC pin and the GND pin order of connection in two kinds of universal standards
Just on the contrary, in this way, to have led to audio interface MIC pin and GND pin uncertain.And existing terminal is connect using audio
Mouth can not automatically wake up when being connected with each other, and be unfavorable for the saving of the energy.In addition, existing terminal is mutually being interconnected using audio interface
Cannot achieve when connecing active between the two totally.
Accordingly, it is desirable to provide a kind of audio insertion automatic waking device and audio are inserted into automatic awakening method, to solve
The above problem.
Summary of the invention
The invention mainly solves the technical problem of providing a kind of audio insertion automatic waking devices and audio to be inserted from
Dynamic awakening method is able to solve when communicating in the prior art using audio interface the system after detecting voice frequency terminal equipment insertion
Can not automatic identification voice frequency terminal equipment MIC pin and GND pin the order of connection, cannot automatically wake up, cannot be automatically real
Now altogether the technical issues of.
In order to solve the above technical problems, one technical scheme adopted by the invention is that: a kind of insertion of audio is provided and is called out automatically
Awake device, for being connect with voice frequency terminal equipment and carrying out data interaction or transmission comprising: audio interface, detection circuit
And control circuit.Audio interface is used to be attached with the audio interface of voice frequency terminal equipment, wherein audio interface includes the
One pin, second pin, third pin and the 4th pin, the first pin and second pin are respectively as left channel pin and right sound
Road pin, and one of third pin and the 4th pin are used as microphone pin (MIC pin), and another one is as grounding lead
Foot (GND pin);Detection circuit includes two input terminals and two output ends, wherein two input terminals of detection circuit are distinguished
The third pin and the 4th pin in audio interface are connected, to connect in audio insertion automatic waking device with voice frequency terminal equipment
When, output wake-up signal is to control circuit after detection circuit handles the electric signal of two input terminal, and detection circuit
Automatically grounding pin is connected to the ground to realize voice frequency terminal equipment and audio insertion automatic waking device altogether;Control circuit connects
The wake-up signal that two output ends of detection circuit are exported with receiving test circuit is connect so that system enters normal operating conditions,
And the whichever in identification third pin and the 4th pin is detected as microphone pin, whichever controls electricity as grounding pin
Road connects the first pin and the second pin of audio interface further to handle received audio signal.
Wherein, audio insertion automatic waking device further comprise power supply circuit, the power supply circuit connection detection circuit with
Control circuit, to be powered for detection circuit and control circuit.
Wherein, detection circuit includes common-base circuit and voltage comparator circuit, and common-base circuit is defeated by two of detection circuit
Enter end and in audio interface third pin and the 4th pin be connected, in audio insertion automatic waking device and voice frequency terminal
When connection, it will be connected to the ground automatically as the third pin of grounding pin or the 4th pin;Voltage comparator circuit setting is being examined
Between two input terminals and two output ends of slowdown monitoring circuit, with audio insertion automatic waking device connect with voice frequency terminal when,
Wake-up signal is exported after handling the electric signal of two input terminals of detection circuit to control circuit with wake-up control circuit
So that system enters normal operating conditions.
Wherein, common-base circuit includes first switching element and second switch element, and first switching element includes control terminal,
One path terminal and alternate path end, wherein the control terminal of first switching element is connected to the second input terminal of detection circuit, and first
First path terminal of switch element is connected to the first input end of detection circuit, and the alternate path of first switching element terminates
Ground;Second switch element includes control terminal, the first path terminal and alternate path end, wherein the control terminal of second switch element connects
It is connected to the first input end of detection circuit, the first path terminal of second switch element is connected to the second input terminal of detection circuit,
And the alternate path end ground connection of second switch element;Wherein, first switching element and second switch element are the crystal of same type
Pipe.
Wherein, first switching element and second switch element are NMOS transistor.
Wherein, voltage comparator circuit includes: first voltage comparator and second voltage comparator, first voltage comparator packet
Include normal phase input end, inverting input terminal and output end, wherein the normal phase input end connection detection circuit of first voltage comparator
First input end, the inverting input terminal of first voltage comparator connects reference voltage, and the output end of first voltage comparator is made
For the first output end of detection circuit;Second voltage comparator includes normal phase input end, inverting input terminal and output end, wherein
Second input terminal of the normal phase input end connection detection circuit of second voltage comparator, the inverting input terminal of second voltage comparator
Connection reference voltage, and second output terminal of the output end of second voltage comparator as detection circuit.
Wherein, control circuit includes filter circuit, analog switching circuit, gain amplifying circuit and MCU governor circuit, filter
Wave circuit connects the first pin and second pin of audio interface, to be inserted into automatic waking device and voice frequency terminal equipment in audio
When being attached, the audio signal of voice frequency terminal equipment output is received simultaneously by the first pin and second pin of audio interface
Audio signal is filtered;Analog switching circuit connects filter circuit, with whole in audio insertion automatic waking device and audio
When end equipment is attached, voice frequency terminal is received by the first pin and second pin timesharing of filter circuit and audio interface
The left channel pin and right channel pin of equipment and the audio signal exported;Gain amplifying circuit connects analog switching circuit, with
Processing is amplified to received audio signal;MCU governor circuit connection gain amplifying circuit, analog switching circuit and audio connect
The third pin and the 4th pin of mouth, wherein MCU governor circuit is used to detect the whichever in identification third pin and the 4th pin
As microphone pin, whichever is as grounding pin, and after being handled by the third pin of audio interface and the 4th pin
Audio signal transmission to voice frequency terminal equipment.
In order to solve the above technical problems, another technical solution used in the present invention is: it is automatic to provide a kind of audio insertion
Awakening method comprising: the audio interface of voice frequency terminal equipment is connect with the audio interface of audio insertion automatic waking device;
The detection circuit of audio insertion automatic waking device exports wake-up signal after handling the electric signal of two input terminal, and
Grounding pin is connected to the ground automatically using detection circuit to realize that voice frequency terminal equipment and audio insertion automatic waking device are total to
Ground;Wake-up signal is received so that system enters normal work shape using the control circuit of audio insertion automatic waking device
State, and the whichever in the third pin and the 4th pin that identify audio interface is detected as microphone pin, whichever is as ground connection
Pin, and handled using first pin and second pin received audio signal of the control circuit to audio interface.
Wherein, after being handled using electric signal of the voltage comparator circuit of detection circuit to two input terminals of detection circuit
Wake-up signal is exported to control circuit.
Wherein, the wake-up signal exported using two output ends of control circuit connection detection circuit with receiving test circuit
So that system enters normal operating conditions, and the whichever detected in identification third pin and the 4th pin is drawn as microphone
Foot, whichever is as grounding pin.
Wherein, grounding pin is connected to the ground automatically using the common-base circuit of detection circuit with realize voice frequency terminal equipment and
Audio is inserted into automatic waking device altogether.
The beneficial effects of the present invention are: being in contrast to the prior art, two inputs that the present invention passes through detection circuit
The third pin and the 4th pin being separately connected in audio interface are held, is inserted into automatic waking device and voice frequency terminal equipment in audio
When connection, detection circuit exports wake-up signal after handling the electric signal of two input terminal, and detection circuit automatically will
Grounding pin is connected to the ground to realize voice frequency terminal equipment and audio insertion automatic waking device altogether, and control circuit is according to detection
Whichever in the electrical signal detection identification third pin of two output ends of circuit and the 4th pin is as microphone pin, whichever
As grounding pin, dress is automatically waken up so as to realize identification microphone pin and grounding pin, automatically wake up audio insertion
Set and realize voice frequency terminal equipment and audio insertion automatic waking device altogether.
Detailed description of the invention
Fig. 1 is the module diagram of audio insertion automatic waking device of the present invention;
Fig. 2 is the electrical block diagram of detection circuit in Fig. 1;
Fig. 3 is the module diagram of control circuit in Fig. 1;
Fig. 4 is the flow chart that audio of the present invention is inserted into automatic awakening method.
Specific embodiment
The present invention will be described in detail with reference to the accompanying drawings and examples.
Also referring to Fig. 1, Fig. 2 and Fig. 3, wherein Fig. 1 is that the module of audio insertion automatic waking device of the present invention is shown
It is intended to, Fig. 2 is the electrical block diagram of detection circuit in Fig. 1, and Fig. 3 is the module diagram of control circuit in Fig. 1.In this reality
It applies in example, audio insertion automatic waking device with voice frequency terminal equipment for connecting and carrying out data interaction or transmission, audio
Being inserted into automatic waking device includes: power supply circuit 10, audio interface 11, detection circuit 12 and control circuit 13.In this implementation
In example, it can be audio KEY that audio, which is inserted into automatic waking device, and entrance guard device etc., in other embodiments, audio insertion are automatic
Rouser may be other devices.In the present embodiment, voice frequency terminal equipment can for smart phone, tablet computer etc.,
In other embodiments, it is also possible to other terminal devices for having audio interface.
10 connection detection circuit 12 of power supply circuit and control circuit 13, to be supplied for detection circuit 12 and control circuit 13
Electricity.
Audio interface 11 is used to be attached with the audio interface of voice frequency terminal equipment, wherein audio interface 11 includes the
One pin 111, second pin 112, third pin 113 and the 4th pin 114, the first pin 111 and second pin 112 are made respectively
For left channel pin and right channel pin, and one of third pin 113 and the 4th pin 114 are used as microphone pin (MIC
Pin), and another one is as grounding pin (GND pin).It will be appreciated by persons skilled in the art that when audio insertion is automatic
When Rouser is attached using audio interface 11 and voice frequency terminal equipment, then 111 He of the first pin in audio interface 11
Second pin 112 can be connected with each other with the left channel pin of voice frequency terminal equipment and right channel pin respectively, but regardless of audio
How MIC pin and GND pin in terminal device are arranged, and are the audio interface respectively with audio insertion automatic waking device
Third pin 113 and the 4th pin 114 in 11 form connection.
Detection circuit 12 includes two input terminals 121,122 and two output ends 123,124, wherein the two of detection circuit
A input terminal 121,122 is separately connected third pin 113 and the 4th pin 114 in audio interface 11.
Preferably, detection circuit 12 includes common-base circuit 20, voltage comparator circuit 21 and voltage input circuit 22.
Two input terminals 121,122 of the common-base circuit 20 by detection circuit 12 and the third pin in audio interface 11
113 are connected with the 4th pin 114, will be used as ground connection automatically when audio insertion automatic waking device is connect with voice frequency terminal
The third pin 113 or the 4th pin 114 of pin are connected to the ground.
Specifically, common-base circuit 20 includes first switching element N1 and second switch element N2, first switching element N1 packet
Include control terminal 2011, the first path terminal 2012 and alternate path end 2013.Wherein, the control terminal 2011 of first switching element N1 connects
It is connected to the second input terminal 122 of detection circuit 12, the first path terminal 2012 of first switching element N1 is connected to detection circuit 12
First input end 121, it is preferable that the first path terminal 2012 of first switching element N1 passes through the third of voltage input circuit 22
Resistance R3 is connect with first input end 121, and the alternate path end 2013 of first switching element N1 is grounded.Second switch element N2
Including control terminal 2021, the first path terminal 2022 and alternate path end 2023.Wherein, the control terminal 2021 of second switch element N2
It is connected to the first input end 121 of detection circuit 12, the first path terminal 2022 of second switch element N2 is connected to detection circuit
12 the second input terminal 122, it is preferable that the first path terminal 2022 of second switch element N2 pass through voltage input circuit 22 the
Five resistance R5 are connect with the second input terminal 122, and the alternate path end 2023 of second switch element N2 is grounded.Preferably, first
Switch element N1 and second switch element N2 is the transistor of same type.It is highly preferred that first switching element N1 and second switch
Element N2 is NMOS transistor, and the first path terminal 2012 of first switching element N1 is the grid of NMOS transistor, alternate path
End 2013 is source electrode, and control terminal 2014 is drain electrode, and the first path terminal 2022 of second switch element N2 is the grid of NMOS transistor
Pole, alternate path end 2023 are source electrode, and control terminal 2024 is drain electrode.Grounding pin is connected to the ground automatically with reality by common-base circuit 20
Existing voice frequency terminal equipment and audio insertion automatic waking device are altogether.
The working principle of common-base circuit is described below: when the connection of first input end 121 of detection circuit 12 is grounding lead
It is connected when foot and its second input terminal 122 when being microphone pin, the first path terminal 2012 of first switching element N1 and
The conducting of two path terminals 2013, the first path terminal 2022 and the alternate path end 2023 of second switch element N2 is ended, to realize
Grounding pin ground connection, similarly, when the connection of first input end 121 of detection circuit 12 is microphone pin and its second input
It being connected when holding 122 when being grounding pin, the first path terminal 2022 and the alternate path end 2023 of second switch element N2 is connected,
The first path terminal 2012 of first switching element N1 and alternate path end 2013 are ended, to be grounded pin ground connection, therefore
The common-base circuit 20 of the present embodiment, which realizes, is automatically connected to the ground grounding pin.
Two input terminals 121,122 and two output ends 123,124 of detection circuit 12 are arranged in voltage comparator circuit 21
Between, with audio insertion automatic waking device connect with voice frequency terminal when, to two input terminals 121,122 of detection circuit 12
Electric signal handled after output wake-up signal to control circuit 13, with wake-up control circuit 13, so that system enters
Normal operating conditions.
Preferably, voltage comparator circuit 21 includes first voltage comparator A, second voltage comparator B, reference voltage circuit
211, the 4th resistance R4 and the 6th resistance R6.First voltage comparator A includes normal phase input end, inverting input terminal and output
End, wherein the first input end 121 of the normal phase input end connection detection circuit 12 of first voltage comparator A, it is preferable that first
The normal phase input end of voltage comparator A is connect by the 3rd resistor R3 of voltage input circuit 22 with first input end 121.First
The inverting input terminal of voltage comparator A connects reference voltage, and the output end of first voltage comparator A is as detection circuit 12
First output end 123.Second voltage comparator B includes normal phase input end, inverting input terminal and output end, wherein second voltage
Second input terminal 122 of the normal phase input end connection detection circuit 12 of comparator B, it is preferable that the positive of second voltage comparator B
Input terminal is connect by the 5th resistance R5 of voltage input circuit 22 with the second input terminal 122, the reverse phase of second voltage comparator B
Input terminal connection reference voltage, and second output terminal 124 of the output end of second voltage comparator B as detection circuit 12.Ginseng
The input terminal connection power supply circuit 10 of potential circuit 211 is examined, the output end of reference voltage circuit 211 connects first voltage comparator
The inverting input terminal of A and second voltage comparator B, to provide reference voltage.In the present embodiment, the first of detection circuit 12 is defeated
Enter the third pin 113 of 121 connection audio interface 11 of end, the second input terminal 122 connection audio interface 11 of detection circuit 12
4th pin 114.
Preferably, reference voltage circuit 211 includes first resistor R1 and second resistance R2, and the first end of first resistor R1 is made
Power supply circuit 10 is connected for the input terminal of reference voltage circuit 211, the of the second end connection second resistance R2 of first resistor R2
One end, the second end ground connection of second resistance R2, the output end of the first end of second resistance R2 circuit 211 as the reference voltage.
Preferably, the 4th resistance R4 is connected with the normal phase input end of first voltage comparator A, and the 4th resistance R4 is drop-down electricity
Resistance.Wherein, the first end of the 4th resistance R4 is connect with normal phase input end, the 4th resistance R4 second end ground connection.
Preferably, the 6th resistance R6 is connected with the normal phase input end of second voltage comparator B, and the 6th resistance R6 is drop-down electricity
Resistance.Wherein, the first end of the 6th resistance R6 is connect with normal phase input end, the 6th resistance R6 second end ground connection.
Voltage input circuit 22 includes first input end 121, the second input terminal 122,3rd resistor R3 of detection circuit 12
And the 5th resistance R5.First input end 121 of the first end 121 of 3rd resistor R3 as detection circuit 12, and the 5th resistance
Second input terminal 122 of the first end 122 of R5 as detection circuit 12.
Preferably, 3rd resistor R3 second end is connect with the normal phase input end of first voltage comparator A.
Preferably, the 5th resistance R5 second end is connect with the normal phase input end of second voltage comparator B.
It is worth noting that, in other embodiments, it can be according to actual needs to the electricity of first voltage comparator A and second
The resistance and its connection type for pressing the periphery comparator B are changed, and which is not limited by the present invention, such as voltage input circuit 22
And reference voltage circuit 211 may be other structures.
Control circuit 13 includes filter circuit 30, analog switching circuit 31, gain amplifying circuit 32 and MCU governor circuit
33.Control circuit 13 further connects the first pin 111 and second pin 112 of audio interface 11.
Specifically, filter circuit 30 connects the first pin 111 and second pin 112 of audio interface 11, to insert in audio
Enter automatic waking device and when voice frequency terminal equipment is attached, passes through the first pin 111 and second pin of audio interface 11
112 and receive voice frequency terminal equipment output audio signal and audio signal is filtered.
Analog switching circuit 31 connects filter circuit 30, with audio be inserted into automatic waking device and voice frequency terminal equipment into
When row connection, it is whole that audio is received by the first pin 111 and 112 timesharing of second pin of filter circuit 30 and audio interface 11
The left channel pin and right channel pin of end equipment and the audio signal exported.
Gain amplifying circuit 32 connects analog switching circuit 31, to amplify processing to received audio signal.
MCU governor circuit 33 connects the third pin of gain amplifying circuit 32, analog switching circuit 31 and audio interface 11
113 and the 4th pin 114, wherein MCU governor circuit 33 be used to detect in identification third pin 113 and the 4th pin 114 how
For person as microphone pin, whichever passes through the third pin 113 and the 4th pin 114 of audio interface 11 as grounding pin
And will treated audio signal transmission to voice frequency terminal equipment.Preferably, MCU governor circuit 33 can be believed by address choice
Number access selection control is carried out to analog switching circuit 31, MCU governor circuit 33 can carry out number to gain amplifying circuit 32
Its amplification factor of programming Control.
The working principle of the audio insertion automatic waking device of the present embodiment is described below.
Since the microphone pin of the audio interface of different voice frequency terminal equipments and the order of connection of grounding pin is not true
It is fixed, therefore when voice frequency terminal equipment is inserted into automatic waking device with audio and is connect by audio interface, third pin 113 and the
One of four pins 114 are used as microphone pin (MIC pin), and another one is as grounding pin (GND pin), but not
The whichever in the third pin 113 and the 4th pin 114 in audio interface 11 is determined as microphone pin, whichever is as ground connection
Pin.When voice frequency terminal equipment is connect with audio insertion automatic waking device by audio interface, audio insertion is automatically waken up
Common-base circuit 20 in the detection circuit 12 of device, which is realized, is automatically connected to the ground (its principle is as previously described) for grounding pin.Its
Secondary, control circuit 13 is according to the electric signals of two output ends 123,124 of detection circuit 12, advantageously according to two output ends
123, as microphone pin, whichever is used as and connects the whichever in 124 voltage signal detection identification third pin and the 4th pin
Ground pin, if the first output end 123 of detection circuit 12 is the second defeated of high voltage signal or pulse signal and detection circuit 12
Outlet 124 is always low voltage signal, then control circuit 13 identifies that third pin 113 is microphone pin, and the 4th pin 114 is
Grounding pin, if otherwise the first output end 123 of detection circuit 12 is always the second defeated of low voltage signal and detection circuit 12
Entering end 124 is that then control circuit 13 identifies that third pin 113 is grounding pin, the 4th pin for high voltage signal or pulse signal
114 be microphone pin.
Detection circuit 12 exports wake-up signal after handling the electric signal of two input terminals 121,122, it is preferable that calls out
The pulse signal or high electricity that signal of waking up exports for above-mentioned first output end 123 or second output terminal 124 of detection circuit 12
Ordinary mail number.Therefore, in the present embodiment, pulse signal or high level signal draw as detection third pin 113 and the 4th
Signal of the whichever as microphone pin whichever as grounding pin in foot 114, is also used as wake-up signal, and control circuit 13 connects
It connects the wake-up signal that two output ends 123,124 of detection circuit 12 are exported with receiving test circuit 12 and control circuit 13 is connecing
It is waken up after receiving wake-up signal, so that system enters normal operating conditions, control circuit 13 is not receiving wake-up letter
Number when control enter low power consumpting state so that system enters low power consumpting state, last control circuit 13 comes to received
First pin 111 and 112 audio signal of second pin are handled.In the present embodiment, system refers to that audio insertion automatically wakes up
Device whole system or audio insertion automatic waking device and voice frequency terminal equipment constitute system, the present embodiment to this not
It limits.
Referring to Fig. 4, Fig. 4 is the flow chart that audio of the present invention is inserted into automatic awakening method.In the present embodiment, audio is inserted
Enter to automatically wake up method the following steps are included:
Step S11: the audio interface of voice frequency terminal equipment is connect with the audio interface of audio insertion automatic waking device.
Step S12: the detection circuit of audio insertion automatic waking device handles the electric signal of two input terminal
Go out wake-up signal afterwards, and is automatically connected to the ground grounding pin using detection circuit to realize voice frequency terminal equipment and audio insertion
Automatic waking device is altogether.
In step s 12, for example, the voltage comparator circuit 21 using detection circuit 12 inputs two of detection circuit 12
The electric signal at end exports wake-up signal after being handled, and is automatically connected grounding pin using the common-base circuit 20 of detection circuit 12
To ground to realize voice frequency terminal equipment and audio insertion automatic waking device altogether.
Step S13: wake-up signal is received so that system enters using the control circuit of audio insertion automatic waking device
Normal operating conditions, and detect the whichever in the third pin and the 4th pin of identification audio interface as microphone pin, how
Person is carried out as grounding pin, and using the received audio signal of the first pin and second pin of the control circuit to audio interface
Processing.
In the present embodiment, the above method can be inserted into automatic waking device by aforementioned audio and realize that details are not described herein again.
It is in contrast to the prior art, the present invention is separately connected in audio interface by two input terminals of detection circuit
Third pin and the 4th pin, audio insertion automatic waking device connect with voice frequency terminal equipment when, detection circuit is to it
The electric signal of two input terminals exports wake-up signal after being handled, and grounding pin is connected to the ground automatically with reality by detection circuit
Altogether, control circuit is according to the electricity of two output ends of detection circuit for existing voice frequency terminal equipment and audio insertion automatic waking device
Signal detection identify the whichever in third pin and the 4th pin as microphone pin, whichever as grounding pin, so as to
It is enough to realize identification microphone pin and grounding pin, automatically wake up audio insertion automatic waking device and realization voice frequency terminal is set
Standby and audio insertion automatic waking device is altogether.
Mode the above is only the implementation of the present invention is not intended to limit the scope of the invention, all to utilize this
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is relevant to be applied directly or indirectly in other
Technical field is included within the scope of the present invention.
Claims (6)
1. a kind of audio is inserted into automatic waking device, for data interaction or transmission to be connect and carried out with voice frequency terminal equipment,
It is characterized in that, the audio insertion automatic waking device includes: audio interface, detection circuit and control circuit, the sound
Frequency interface is used to be attached with the audio interface of the voice frequency terminal equipment, wherein the audio interface include the first pin,
Second pin, third pin and the 4th pin, first pin and the second pin are respectively as left channel pin and the right side
Sound channel pin, and one of the third pin and the 4th pin are used as microphone pin (MIC pin), and another one
As grounding pin (GND pin);The detection circuit includes two input terminals and two output ends, wherein the detection electricity
Two input terminals on road are separately connected the third pin and the 4th pin in the audio interface, in the audio
It is defeated after handling the electric signal of described two input terminals when insertion automatic waking device is connect with the voice frequency terminal equipment
Wake-up signal is to the control circuit out, and the grounding pin is connected to the ground automatically to realize the sound by the detection circuit
Frequency terminal equipment and audio insertion automatic waking device are altogether;The control circuit connect the detection circuit two are defeated
Outlet makes system enter normal operating conditions with the wake-up signal for receiving the detection circuit output, and detects identification institute
Whichever in third pin and the 4th pin is stated as microphone pin, whichever is as the grounding pin, and the control
Circuit processed further connect the audio interface first pin and the second pin with to received audio signal into
Row processing;
Wherein, the detection circuit includes:
Common-base circuit passes through two input terminals of the detection circuit and the third pin in the audio interface and
Four pins are connected, will be connect as described automatically when audio insertion automatic waking device is connect with the voice frequency terminal
The third pin or the 4th pin of ground pin are connected to the ground;
Voltage comparator circuit is arranged between two input terminals of the detection circuit and two output ends, in the audio
When insertion automatic waking device is connect with the voice frequency terminal, output is called out after handling the electric signal of described two input terminals
Signal of waking up wakes up the control circuit to the control circuit so that the system enters normal operating conditions;
Wherein, the common-base circuit includes:
First switching element comprising control terminal, the first path terminal and alternate path end, wherein the first switching element
Control terminal is connected to the second input terminal of the detection circuit, and the first path terminal of the first switching element is connected to the inspection
The first input end of slowdown monitoring circuit, and the alternate path end of the first switching element is grounded;
Second switch element comprising control terminal, the first path terminal and alternate path end, wherein the second switch element
Control terminal is connected to the first input end of the detection circuit, and the first path terminal of the second switch element is connected to the inspection
Second input terminal of slowdown monitoring circuit, and the alternate path end of the second switch element is grounded;
Wherein, the first switching element and the second switch element are the transistor of same type.
2. audio according to claim 1 is inserted into automatic waking device, which is characterized in that further comprise:
Power supply circuit connects the detection circuit and the control circuit, with for the detection circuit and the control circuit into
Row power supply.
3. audio according to claim 1 is inserted into automatic waking device, which is characterized in that the first switching element and institute
Stating second switch element is NMOS transistor.
4. audio according to claim 1 is inserted into automatic waking device, which is characterized in that the voltage comparator circuit packet
It includes:
First voltage comparator comprising normal phase input end, inverting input terminal and output end, wherein the first voltage compares
The normal phase input end of device connects the first input end of the detection circuit, the inverting input terminal connection of the first voltage comparator
Reference voltage, and first output end of the output end of the first voltage comparator as the detection circuit;
Second voltage comparator comprising normal phase input end, inverting input terminal and output end, wherein the second voltage compares
The normal phase input end of device connects the second input terminal of the detection circuit, the inverting input terminal connection of the second voltage comparator
The reference voltage, and second output terminal of the output end of the second voltage comparator as the detection circuit.
5. audio according to claim 1 is inserted into automatic waking device, which is characterized in that the control circuit includes:
Filter circuit, connect the audio interface first pin and the second pin, to be inserted from the audio
When dynamic Rouser and the voice frequency terminal equipment are attached, pass through first pin of the audio interface and described the
Two pins and receive the audio signal of voice frequency terminal equipment output and the audio signal be filtered;
Analog switching circuit connects the filter circuit, in audio insertion automatic waking device and the voice frequency terminal
When equipment is attached, pass through first pin and the second pin point of the filter circuit and the audio interface
When receive the left channel pin and right channel pin and the audio signal that exports of the voice frequency terminal equipment;
Gain amplifying circuit connects the analog switching circuit, to amplify processing to the received audio signal;
MCU governor circuit connects the third of the gain amplifying circuit, the analog switching circuit and the audio interface
Pin and the 4th pin, wherein the MCU governor circuit identifies the third pin and the 4th pin for detecting
In whichever as microphone pin, whichever as the grounding pin and by the third pin of the audio interface and
4th pin and will treated the audio signal transmission to the voice frequency terminal equipment.
6. a kind of audio is inserted into automatic awakening method, it is applied to audio described in claim 1 and is inserted into automatic waking device, it is described
Device includes:
Audio interface, detection circuit and control circuit, the audio interface are used to connect with the audio of the voice frequency terminal equipment
It mouthful being attached, wherein the audio interface includes the first pin, second pin, third pin and the 4th pin, and described first
Pin and the second pin are respectively as left channel pin and right channel pin, and the third pin and the 4th pin
One of be used as microphone pin (MIC pin), and another one is as grounding pin (GND pin);The detection circuit packet
Include two input terminals and two output ends, wherein two input terminals of the detection circuit are separately connected in the audio interface
The third pin and the 4th pin, with the audio insertion automatic waking device and the voice frequency terminal equipment connect
Wake-up signal is exported when connecing, after handling the electric signal of described two input terminals to the control circuit, and the detection
The grounding pin is connected to the ground automatically to realize that the voice frequency terminal equipment and audio insertion automatically wake up dress by circuit
It sets totally;The control circuit connects two output ends of the detection circuit and is called out described in the detection circuit output with receiving
Awake signal makes system enter normal operating conditions, and detects the whichever identified in the third pin and the 4th pin and make
For microphone pin, whichever is as the grounding pin, and the control circuit further connects the described of the audio interface
First pin and the second pin are to handle received audio signal;
Wherein, the detection circuit includes:
Common-base circuit passes through two input terminals of the detection circuit and the third pin in the audio interface and
Four pins are connected, will be connect as described automatically when audio insertion automatic waking device is connect with the voice frequency terminal
The third pin or the 4th pin of ground pin are connected to the ground;
Voltage comparator circuit is arranged between two input terminals of the detection circuit and two output ends, in the audio
When insertion automatic waking device is connect with the voice frequency terminal, output is called out after handling the electric signal of described two input terminals
Signal of waking up wakes up the control circuit to the control circuit so that the system enters normal operating conditions;
Wherein, the common-base circuit includes:
First switching element comprising control terminal, the first path terminal and alternate path end, wherein the first switching element
Control terminal is connected to the second input terminal of the detection circuit, and the first path terminal of the first switching element is connected to the inspection
The first input end of slowdown monitoring circuit, and the alternate path end of the first switching element is grounded;
Second switch element comprising control terminal, the first path terminal and alternate path end, wherein the second switch element
Control terminal is connected to the first input end of the detection circuit, and the first path terminal of the second switch element is connected to the inspection
Second input terminal of slowdown monitoring circuit, and the alternate path end of the second switch element is grounded;
Wherein, the first switching element and the second switch element are the transistor of same type;
It is characterized in that, which comprises
By the audio interface of the audio interface of the voice frequency terminal equipment and audio insertion automatic waking device
Connection;
The voltage comparator circuit using the detection circuit of audio insertion automatic waking device is electric to the detection
Output wake-up signal is to the control circuit to wake up the control circuit after the electric signal of two input terminals on road is handled
So that the system enters normal operating conditions;
And grounding pin is connected to the ground automatically using the common-base circuit of the detection circuit to realize the voice frequency terminal
Equipment and audio insertion automatic waking device are altogether;
Receiving the wake-up signal using the control circuit of audio insertion automatic waking device enters system just
Normal working condition, and the whichever in the third pin and the 4th pin that identify the audio interface is detected as Mike
Wind pin, whichever is as grounding pin, and using the control circuit to first pin of the audio interface and described
The received audio signal of second pin is handled.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410330837.2A CN105282653B (en) | 2014-07-11 | 2014-07-11 | Audio is inserted into automatic waking device and audio is inserted into automatic awakening method |
PCT/CN2015/083784 WO2016004897A1 (en) | 2014-07-11 | 2015-07-10 | Audio insert automatic wake-up device and audio insert automatic wake-up method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410330837.2A CN105282653B (en) | 2014-07-11 | 2014-07-11 | Audio is inserted into automatic waking device and audio is inserted into automatic awakening method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105282653A CN105282653A (en) | 2016-01-27 |
CN105282653B true CN105282653B (en) | 2019-04-05 |
Family
ID=55063604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410330837.2A Active CN105282653B (en) | 2014-07-11 | 2014-07-11 | Audio is inserted into automatic waking device and audio is inserted into automatic awakening method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105282653B (en) |
WO (1) | WO2016004897A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110058830A (en) * | 2018-01-19 | 2019-07-26 | 杭州海康威视数字技术股份有限公司 | Signal deteching circuit and method, audio processing equipment |
CN112820303B (en) * | 2020-12-31 | 2022-10-25 | 北京握奇数据股份有限公司 | Audio interface authentication device |
CN114924639A (en) * | 2022-05-12 | 2022-08-19 | 芯海科技(深圳)股份有限公司 | Electronic device and method for waking up micro control unit |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103376876A (en) * | 2012-04-26 | 2013-10-30 | 国民技术股份有限公司 | Audio interface device and power management method thereof |
CN103442317A (en) * | 2013-08-26 | 2013-12-11 | 深圳市文鼎创数据科技有限公司 | Audio port identification circuit, audio port identification method and communication device |
CN103533181A (en) * | 2012-07-02 | 2014-01-22 | 北京鼎合远传技术有限公司 | Device and method for awakening external equipment of mobile terminal |
CN103607680A (en) * | 2013-11-13 | 2014-02-26 | 北京旋极信息技术股份有限公司 | An audio frequency apparatus |
WO2014146509A1 (en) * | 2013-03-19 | 2014-09-25 | 福建联迪商用设备有限公司 | Startup wakeup method for external terminal of audio device |
-
2014
- 2014-07-11 CN CN201410330837.2A patent/CN105282653B/en active Active
-
2015
- 2015-07-10 WO PCT/CN2015/083784 patent/WO2016004897A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103376876A (en) * | 2012-04-26 | 2013-10-30 | 国民技术股份有限公司 | Audio interface device and power management method thereof |
CN103533181A (en) * | 2012-07-02 | 2014-01-22 | 北京鼎合远传技术有限公司 | Device and method for awakening external equipment of mobile terminal |
WO2014146509A1 (en) * | 2013-03-19 | 2014-09-25 | 福建联迪商用设备有限公司 | Startup wakeup method for external terminal of audio device |
CN103442317A (en) * | 2013-08-26 | 2013-12-11 | 深圳市文鼎创数据科技有限公司 | Audio port identification circuit, audio port identification method and communication device |
CN103607680A (en) * | 2013-11-13 | 2014-02-26 | 北京旋极信息技术股份有限公司 | An audio frequency apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN105282653A (en) | 2016-01-27 |
WO2016004897A1 (en) | 2016-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3185521B1 (en) | Voice wake-up method and device | |
JP2015518323A5 (en) | ||
CN105282653B (en) | Audio is inserted into automatic waking device and audio is inserted into automatic awakening method | |
CN201734713U (en) | Skin resistance real-time monitoring and feedback device | |
CN103634723B (en) | Audio input circuit and the electronic equipment with audio input | |
CN105451137A (en) | User equipment wake-up method and device | |
CN110956968A (en) | Voice wake-up and voice wake-up function triggering method and device, and terminal equipment | |
CN103868827A (en) | Mobile terminal-based air quality detection device and method | |
CN202750222U (en) | Audio frequency input circuit and electronic equipment with audio frequency input | |
CN205209626U (en) | Sensor based on discernment of characteristic audio frequency | |
CN207910992U (en) | A kind of sound Rouser for standby system | |
CN204013995U (en) | A kind of earphone interactive system and a kind of earphone | |
CN103347104B (en) | The mobile device that can externally charge | |
CN203466962U (en) | Audio port identification circuit and communication device | |
CN206865728U (en) | A kind of noise canceller circuit and audio frequency apparatus | |
CN205211412U (en) | Intelligence speech recognition authentication machine | |
CN204578743U (en) | A kind of multiband high sensitivity brain wave induction bluetooth earphone | |
CN204203393U (en) | Electric wire breaking point detection circuit | |
CN204598279U (en) | A kind of induction of the high sensitivity brain wave based on NFC bluetooth earphone | |
CN208336689U (en) | A kind of Type-C hub with voice prompting function | |
CN203122391U (en) | Electrocardiographic lead wire with electrocardiographic signal processing module and mobile terminal | |
CN202721728U (en) | Mobile phone and audio amplification output circuit thereof | |
CN103220592B (en) | A kind of earphone and key control method thereof | |
CN201904906U (en) | Conversion interface circuit of audio frequency equipment | |
CN204049635U (en) | The humidity of skin checkout gear system of electronic equipment analysis, display can be coordinated |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |