The present disclosure relates to an electronic device, an earphone, and an electronic device system.
An apparatus which can identify which of a plurality of types of plugs has been inserted in an earphone jack has been known.
For example, a portable telephone including an earphone jack for five electrodes commonly used for a four-electrode plug and a five-electrode plug has been known. The four-electrode plug transmits a microphone signal, a left audio signal, a right audio signal, and a ground voltage, and the five-electrode plug transmits a PTT switch signal, a microphone signal, a left audio signal, a right audio signal, and a ground voltage.
When a plug is inserted, a tone signal is output from a third jack terminal. When a four-electrode plug is inserted here, the tone signal is output from a first jack terminal through a four-electrode earphone as a leakage signal, which is input to a control circuit after it is amplified. When a five-electrode plug is inserted, no leakage signal is output. According to such a configuration, which of the four-electrode plug and the five-electrode plug has been inserted into the plug can be identified.
A five-electrode plug earphone in one embodiment includes a first differential amplifier configured to include a first input terminal, a second input terminal, a power supply terminal, and a ground terminal and to amplify a difference between a voltage of the first input terminal and a voltage of the second input terminal, a second differential amplifier configured to include a first input terminal, a second input terminal, a power supply terminal, and a ground terminal and to amplify a difference between a voltage of the first input terminal and a voltage of the second input terminal, a first piezoelectric element configured to receive a voltage amplified by the first differential amplifier, a second piezoelectric element configured to receive a voltage amplified by the second differential amplifier, a microphone including an output terminal and a ground terminal, and a five-electrode plug including a first terminal, a second terminal, a third terminal, a fourth terminal, and a fifth terminal sequentially from a tip end. The first terminal is configured to be connected to the first input terminal of the first differential amplifier. The second terminal is configured to be connected to the first input terminal of the second differential amplifier. The third terminal is configured to be connected to the power supply terminal of the first differential amplifier and the power supply terminal of the second differential amplifier. The fourth terminal is configured to be connected to the ground terminal of the first differential amplifier, the ground terminal of the second differential amplifier, and the ground terminal of the microphone and further configured to be connected to the second input terminal of the first differential amplifier and the second input terminal of the second differential amplifier. The fifth terminal is configured to be connected to the output terminal of the microphone.
An electronic device in another embodiment includes an earphone jack which can be connected to a five-electrode plug earphone. The earphone jack includes a first terminal, a second terminal, a third terminal, a fourth terminal, a fifth terminal, and a sixth terminal in the order of proximity to an insertion port. The electronic device further includes a microphone audio processing unit configured to be connected to the first terminal of the earphone jack, a ground power supply configured to be connected to the second terminal of the earphone jack, an electric power supply unit configured to be connected to the third terminal of the earphone jack, a first audio output unit configured to be connected to the fourth terminal of the earphone jack, a second audio output unit configured to be connected to the fifth terminal of the earphone jack, and a processor configured to be connected to the sixth terminal of the earphone jack and configured to determine insertion of a plug into the earphone jack.
The foregoing and other objects, features, aspects and advantages of the present disclosure will become more apparent from the following detailed description of the present disclosure when taken in conjunction with the accompanying drawings.
An embodiment will be described below with reference to the drawings.
When a speaker in an earphone is configured with a piezoelectric element, in order to operate the piezoelectric element, a voltage should be supplied to the piezoelectric element. A five-electrode earphone jack of a portable telephone described in the background art, however, cannot supply a voltage to the earphone. Such a problem can be solved by the disclosure below.
An electronic device according to an embodiment allows connection of a new five-electrode plug earphone in addition to a three-electrode plug earphone and a four-electrode plug earphone described in the background art, and performs a function to determine which plug is connected.
Description will be given below with reference to a portable terminal such as a smartphone as one form of an electronic device.
(Configuration of Portable Terminal)
Referring to
Earphone jack 12 can be connected to a three-electrode plug earphone 91, a four-electrode plug earphone 92, and a five-electrode plug earphone 93.
Voltage setting unit 154 identifies a state of insertion and removal of earphone 91, 92, or 93 into and from earphone jack 12 and a type of the inserted earphone (three-electrode, four-electrode, or five-electrode), details of which will be described later.
Processor 2 is responsible for overall control. In accordance with various embodiments, processor 2 may be implemented as a single integrated circuit (IC) or as multiple communicatively coupled IC's and/or discrete circuits. Processor 2 can be implemented in accordance with various known technologies. In one embodiment, processor 2 includes one or more circuits or units configurable to perform one or more data computing procedures or processes, for example, by executing instructions stored in an associated memory. In another embodiment, processor 2 may be firmware (such as discrete logic components) configured to perform one or more data computing procedures or processes.
In accordance with various embodiments, processor 2 may include one or more processors, controllers, microprocessors, microcontrollers, application specific integrated circuits (ASICs), digital signal processors, programmable logic devices, field programmable gate arrays, or any combination of these devices or structures, or other known devices and structures, to perform the functions described below.
Antenna 61 can transmit and receive a radio signal to and from a radio base station.
Key input unit 64 can accept an input from a user. In various embodiments, key input unit 64 may be implemented using any input technology or device known in the art such as, for example, a QWERTY keyboard, a pointing device (e.g., a mouse), a joy stick, a stylus, a touch screen display panel, a key pad, one or more buttons, etc., or any combination of these technologies.
Display 65 can show an image sent from processor 2.
Memory 66 can store various types of data.
When an earphone is not inserted in earphone jack 12, audio processing unit 3 can output an audio signal to speaker 63 and can receive an audio signal from microphone 62. When three-electrode plug earphone 91 is inserted in earphone jack 12, audio processing unit 3 can output an audio signal to three-electrode plug earphone 91. When four-electrode plug earphone 92 is inserted in earphone jack 12, audio processing unit 3 can output an audio signal to four-electrode plug earphone 92 and can receive an audio signal from four-electrode plug earphone 92. When five-electrode plug earphone 93 is inserted in earphone jack 12, audio processing unit 3 can output an audio signal to five-electrode plug earphone 93 and can receive an audio signal from five-electrode plug earphone 93.
Microphone 62 can output an input audio signal to audio processing unit 3.
Speaker 63 can reproduce an audio signal sent from audio processing unit 3.
Secondary battery 10 can supply electric power to constituent elements in portable terminal 1.
LDO 29 can prevent a current not lower than a rated current from flowing from secondary battery 10 to earphone 91, 92, or 93.
Secondary battery 10 can supply electric power to five-electrode plug earphone 93 when five-electrode plug earphone 93 is inserted in earphone jack 12.
(Configuration of Earphone)
Three-electrode plug earphone 91 includes a three-electrode plug 51, a silicone cap 13a, a housing 16a, and a speaker 17a for the left ear, and a silicone cap 13b, a housing 16b, and a speaker 17b for the right ear.
Four-electrode plug earphone 92 includes a four-electrode plug 52, a microphone 28, a silicone cap 23a, a housing 26a, and a speaker 27a for the left ear, and a silicone cap 23b, a housing 26b, and a speaker 27b for the right ear.
Five-electrode plug earphone 93 includes a five-electrode plug 53, a microphone 39, a silicone cap 33a, a differential amplifier 38a, and a piezoelectric element 37a for the left ear, and a silicone cap 33b, a differential amplifier 38b, and a piezoelectric element 37b for the right ear.
(Connection Relation Among Constituent Elements in Earphone)
Three-electrode plug 51 is a plug in conformity with Electronic Industries Association of Japan (EIAJ) standards. Three-electrode plug 51 has a diameter of 3.5 mm. Three-electrode plug 51 includes a left audio terminal (L) (a first terminal), a right audio terminal (R) (a second terminal), and a ground terminal (GND) (a third terminal) sequentially from a tip end. A portion shown with black in
Speaker 17a includes an input terminal 95a and a ground voltage input terminal (a ground terminal) 96a. Speaker 17b includes an input terminal 95b and a ground voltage input terminal (a ground terminal) 96b.
The left audio terminal (L) can be connected to input terminal 95a of speaker 17a. The right audio terminal (R) can be connected to input terminal 95b of speaker 17b. The ground terminal (GND) can be connected to ground terminal 96a of speaker 17a and ground terminal 96b of speaker 17b.
Four-electrode plug 52 is a plug in conformity with the EIAJ standards. Four-electrode plug 52 has a diameter of 3.5 mm. A signal sequence of four-electrode plug 52 is in conformity with Cellular Telephone Industry Association (CTIA). Four-electrode plug 52 includes a left audio terminal (L) (a first terminal), a right audio terminal (R) (a second terminal), a ground terminal (GND) (a third terminal), and a microphone terminal (M) (a fourth terminal) sequentially from a tip end.
Speaker 27a includes an input terminal 71a and a ground voltage input terminal (a ground terminal) 72a. Speaker 27b includes an input terminal 71b and a ground voltage input terminal (a ground terminal) 72b. Microphone 28 includes an output terminal 74 and a ground voltage input terminal (a ground terminal) 73.
The left audio terminal (L) can be connected to input terminal 71a of speaker 27a. The right audio terminal (R) can be connected to input terminal 71b of speaker 27b. The ground terminal (GND) can be connected to ground terminal 72a of speaker 27a, ground terminal 72b of speaker 27b, and ground terminal 73 of microphone 28. The microphone terminal (M) can be connected to output terminal 74 of microphone 28.
Five-electrode plug 53 includes a left audio terminal (L) (a first terminal), a right audio terminal (R) (a second terminal), a power supply terminal (V) (a third terminal), a ground terminal (GND) (a fourth terminal), and a microphone terminal (M) (a fifth terminal) sequentially from a tip end.
Differential amplifier 38a includes a positive-side input terminal 82a, a negative-side input terminal 83a, a power supply voltage input terminal (a power supply terminal) 81a, and a ground voltage input terminal (a ground terminal) 84a. Differential amplifier 38b includes a positive-side input terminal 82b, a negative-side input terminal 83b, a power supply voltage input terminal (a power supply terminal) 81b, and a ground voltage input terminal (a ground terminal) 84b. Microphone 39 includes an output terminal 86 and a ground voltage input terminal (a ground terminal) 85.
The left audio terminal (L) can be connected to positive-side input terminal 82a of differential amplifier 38a with a capacitor C1+ (=0.1 μF) being interposed. The right audio terminal (R) can be connected to positive-side input terminal 82b of differential amplifier 38b with a capacitor C2+ (=0.1 μF) being interposed. The power supply terminal (V) can be connected to power supply terminal 81a of differential amplifier 38a and power supply terminal 81b of differential amplifier 38b. The ground terminal (GND) can be connected to negative-side input terminal 83a of differential amplifier 38a with a capacitor C1− (=0.1 μF) being interposed. The ground terminal (GND) can further be connected to ground terminal 84a of differential amplifier 38a. The ground terminal (GND) can be connected to negative-side input terminal 83b of differential amplifier 38b with capacitor C2− (=0.1 μF) being interposed. The ground terminal (GND) can further be connected to ground terminal 84b of differential amplifier 38b. The ground terminal (GND) can further be connected to ground terminal 85 of microphone 39. The microphone terminal (M) can be connected to output terminal 86 of microphone 39.
Differential amplifier 38a can amplify a difference between a voltage of positive-side input terminal 82a and a voltage of negative-side input terminal 83a and supply a voltage (L+, L−) to piezoelectric element 37a. Piezoelectric element 37a oscillates in accordance with magnitude of the supplied voltage. Differential amplifier 38b amplifies a difference between a voltage of positive-side input terminal 82b and a voltage of negative-side input terminal 83b and supply a voltage (R+, R−) to piezoelectric element 37b. Piezoelectric element 37b can oscillate in accordance with magnitude of the supplied voltage. To differential amplifiers 38a and 38b, 5 to 30 Vpp (that is, a difference in potential between a maximum value and a minimum value of an alternating-current voltage waveform being from 5 to 30 V) is applied, and therefore an efficient class D or class H amplifier can be used.
The reason why differential amplifiers 38a and 38b are necessary is that piezoelectric elements 37a and 37b are driven by an input signal at a high voltage.
If differential amplifiers 38a and 38b are located on a side of portable terminal 1, in order to supply a voltage output from differential amplifiers 38a and 38b to piezoelectric elements 37a and 37b, a plug requires four terminals for outputting voltages (L+, L−, R+, R−). Consequently, the plug is a six-electrode plug with the ground terminal (GND) and the microphone terminal (M) being added, and an earphone jack which can adapt to the six-electrode plug is required also on the side of the portable terminal.
A configuration allowing connection of all of the three-electrode plug, the four-electrode plug, and the six-electrode plug with an earphone jack which can adapt to the six-electrode plug is complicated or difficult. Therefore, in an embodiment, an earphone including a five-electrode plug is employed and differential amplifiers 38a and 38b are located on a side of the earphone.
(Positional Relation Between Terminals of Earphone Jack and Terminals in Three-Electrode, Four-Electrode, and Five-Electrode Plugs)
Earphone jack 54 includes a terminal A (MIC) (a first terminal), a terminal B (GND) (a second terminal), a terminal C (VDD) (a third terminal), a terminal D (Rch) (a fourth terminal), a terminal E (Lch) (a fifth terminal), and a terminal F (DET) (a sixth terminal) in the order of proximity to an insertion port.
The terminal A (MIC) (the first terminal), the terminal C (VDD) (the third terminal), and the terminal E (Lch) (the fifth terminal) can be arranged along a first line L1 in parallel to a direction of insertion over a cylindrical inner wall of earphone jack 54.
The terminal B (GND) (the second terminal), the terminal D (Rch) (the fourth terminal), and the terminal F (DET) (the sixth terminal) can be arranged along a second line L2 in parallel to the direction of insertion over the cylindrical inner wall of earphone jack 54 and opposed to first line L1.
Five-electrode plug 53 can be connected to earphone jack 54 as below when it is completely inserted into earphone jack 54.
The left audio terminal (L) can be connected to the terminal E (Lch) and the terminal F (DET). The right audio terminal (R) is connected to the terminal D (Rch). The power supply terminal (V) can be connected to the terminal C (VDD). The ground terminal (G) is connected to the terminal B (GND). The microphone terminal (M) can be connected to the terminal A (MIC).
Four-electrode plug 52 can be connected to earphone jack 54 as below when it is completely inserted into earphone jack 54.
The left audio terminal (L) can be connected to the terminal E (Lch) and the terminal F (DET). The right audio terminal (R) can be connected to the terminal D (Rch). The ground terminal (G) can be connected to the terminal B (GND) and the terminal C (VDD). The microphone terminal (M) can be connected to the terminal A (MIC).
Three-electrode plug 51 can be connected to earphone jack 54 as below when it is completely inserted into earphone jack 54.
The left audio terminal (L) can be connected to the terminal E (Lch) and the terminal F (DET). The right audio terminal (R) can be connected to the terminal D (Rch). The ground terminal (G) can be connected to the terminal A (MIC), the terminal B (GND), and the terminal C (VDD).
(Configuration for Transmission and Reception of Signal to and from Earphone)
Audio processing unit 3 includes a microphone audio processing unit 151, an audio output unit 152, and an audio output unit 153.
Microphone audio processing unit 151 includes an amplifier 5 and an AD converter 4. Amplifier 5 can be connected to the terminal A (MIC) of earphone jack 54. Amplifier 5 can amplify an audio signal output from the terminal A (MIC). AD converter 4 can convert an audio signal output from amplifier 5 into a digital signal.
Audio output unit 152 includes a DA converter 6 and an amplifier 7. DA converter 6 can convert a digital audio signal for the left ear into an analog audio signal. Amplifier 7 can amplify or attenuate an audio signal output from DA converter 6. Amplifier 7 can be connected to the terminal E (Lch) of earphone jack 54.
Audio output unit 153 includes a DA converter 8 and an amplifier 9. DA converter 8 can convert a digital audio signal for the right ear into an analog audio signal. Amplifier 9 can amplify or attenuate an audio signal output from DA converter 8. Amplifier 9 can be connected to the terminal D (Rch) of earphone jack 54.
Voltage setting unit 154 includes a pull-up resistor R1, a pull-down resistor R2, a pull-up resistor R3, an inverter IV, and a ground 155.
Pull-up resistor R1 can be connected between a node ND1 on a line between the terminal F (DET) of earphone jack 54 and processor 2 and a power supply voltage VDD for pull-up.
Pull-down resistor R2 can be connected between a node ND2 on a line between the terminal E (Lch) of earphone jack 54 and audio output unit 152 and ground 155.
Pull-up resistor R3 can be connected between a node ND3 on a line between the terminal A (MIC) of earphone jack 54 and microphone audio processing unit 151 and a bias voltage MICBIAS for pull-up.
Inverter IV can invert a voltage of node ND3.
Ground 155 can be connected to the terminal B (GND) of earphone jack 54.
Processor 2 includes a general purpose input/output (GPIO) interface 11.
GPIO interface 11 includes terminals GPIO_0, GPIO_1, and GPIO_2. GPIO interface 11 can switch an input terminal among terminals GPIO_0, GPIO_1, and GPIO_2 and can switch an output terminal among terminals GPIO_0, GPIO_1, and GPIO_2. At the time of input, in the terminal, pull-up (PU) at several hundred kΩ to the power supply, pull-down (PD) at several hundred Ω to the ground, or neither of pull-up and pull-down (NP) can be set.
Terminal GPIO_0 can be connected to node ND1. Processor 2 can control pull-up of an output from terminal GPIO_0. Processor 2 can receive a detection signal DET input to terminal GPIO_0.
Terminal GPIO_1 can be connected to an output of inverter IV. Processor 2 can control pull-up of an output from terminal GPIO_1. Processor 2 can receive a signal MIC_SW input to terminal GPIO_1.
Terminal GPIO_2 can be connected to a node ND4 on a line between the terminal D (Rch) of earphone jack 54 and audio output unit 153. Processor 2 controls pull-up of an output from terminal GPIO_2. Processor 2 can receive a mode signal Mode input to terminal GPIO_2.
LDO 29 can be connected to the terminal C (VDD) of earphone jack 54.
Speaker 17a connected between the left audio terminal (L) and the ground terminal (G) of three-electrode plug 51 can be expressed as a resistor RX (=8Ω) when expressed as an equalization circuit. Speaker 17b connected between the right audio terminal (R) and the ground terminal (G) of three-electrode plug 51 can be expressed as a resistor RY (=8Ω) when expressed as an equalization circuit.
Speaker 27a connected between the left audio terminal (L) and the ground terminal (G) of four-electrode plug 52 can be expressed as resistor RX (=8Ω) when expressed as an equalization circuit. Speaker 27b connected between the right audio terminal (R) and the ground terminal (G) of four-electrode plug 52 can be expressed as resistor RY (=8Ω) when expressed as an equalization circuit.
The left audio terminal (L) of five-electrode plug 53 can be connected to positive-side input terminal 82a of differential amplifier 38a with capacitor C1+ being interposed. The right audio terminal (R) of five-electrode plug 53 can be connected to positive-side input terminal 82b of differential amplifier 38b with capacitor C2+ being interposed. Therefore, the left audio terminal (L) and the right audio terminal (R) of five-electrode plug 53 can be isolated in a direct-current state.
(Determination of Insertion and Removal of Plug and Identification of Type of Plug)
Referring to
As shown in
As shown in
As shown in
In step S102, processor 2 determines that the plug has been inserted in earphone jack 54 when detection signal DET is at the low level (L), and the process proceeds to step S103.
As shown in
As shown in
In step S103, processor 2 allows the process to proceed to step S104 when signal Mic_SW is at the high level (H) and allows the process to proceed to step S105 when signal Mic_SW is at the low level (L).
In step S104, processor 2 determines that the inserted plug is three-electrode plug 51.
As shown in
As shown in
In step S105, processor 2 allows the process to proceed to step S106 when mode signal Mode is at the low level (L) and allows the process to proceed to step S107 when mode signal Mode is at the high level (H).
In step S106, processor 2 can determine that the inserted plug is four-electrode plug 52.
In step S107, processor 2 can determine that the inserted plug is five-electrode plug 53.
In step S108, processor 2 can start supply of power supply voltage VDD from secondary battery 10 through LDO 29 to earphone jack 54.
In step S109, processor 2 can cancel pull-up of GPIO_2 (NP). Thus, for use as terminal RCH, the right audio terminal (R) and the terminal Decan be used for transmission of an audio signal for the right ear.
(Process of Insertion of Plug into Earphone Jack)
Connection between terminals in a process of insertion of five-electrode plug 53 into earphone jack 54 will now be described.
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As the left audio terminal (L) of five-electrode plug 53 is connected to the terminal E (Lch) and the terminal F (DET) of earphone jack 54, determination as YES is made in step S102 in the flowchart in
In contrast, in
Referring again to
In this state, as the left audio terminal (L) of five-electrode plug 53 is connected to the terminal E (Lch) and the terminal F (DET) of earphone jack 54, determination as five-electrode plug 53 being inserted in earphone jack 54 can be made. When determination as being inserted is made and identification as five-electrode plug 53 is further made, power supply voltage VDD can be supplied. In this state, since the power supply terminal (V) of five-electrode plug 53 supplied with power supply voltage VDD is not connected to the terminal B (GND) of earphone jack 54, short-circuiting does not occur.
As shown in
As set forth above, according to the portable terminal and the five-electrode plug earphone in an embodiment, the earphone jack side of the portable terminal and the plug side of the five-electrode plug earphone include terminals for the power supply voltage, so that the power supply voltage can be supplied to the piezoelectric element in the five-electrode plug earphone.
With the terminals of the five-electrode plug being aligned sequentially in the order of the left audio terminal (L), the right audio terminal (R), the power supply terminal (V), the ground terminal (GND), and the microphone terminal (M) from the tip end, the portable terminal including an earphone jack for five electrodes can also be connected to the three-electrode plug earphone and the four-electrode plug earphone described in the background art.
In an embodiment, a difference in impedance between the speaker included in the three-electrode plug earphone and the four-electrode plug earphone and the differential amplifier included in the five-electrode plug earphone is made use of, so that whether an earphone inserted in the earphone jack is the five-electrode plug earphone, the three-electrode plug earphone, or the four-electrode plug earphone can be identified.
In an embodiment, after the inserted earphone has been identified as the five-electrode plug earphone, the power supply voltage is supplied from the portable terminal to the five-electrode plug. When the power supply terminal (V) of the five-electrode plug is connected to the terminal B (GND) of the earphone jack, the left audio terminal (L) of the five-electrode plug is not connected to the terminal F (DET) of the earphone jack and hence short-circuiting can be prevented from occurring.
Though a portable terminal is described by way of example of an electronic device in an embodiment described above, the electronic device in the present disclosure is not limited to the portable terminal but devices such as personal computers or tablets are also encompassed.
In an embodiment, though resistor RX which is an equalization circuit of speaker 17a and resistor RY which is an equalization circuit of speaker 17b have a value of 8Ω, limitation thereto is not intended. Even when resistors RX and RY have a value of 16Ω or 32Ω, determination of insertion and removal of the plug and identification of a type of the plug described in an embodiment are applicable.
Though a voltage is supplied to a piezoelectric element in an earphone in an embodiment, a component supplied with a voltage is not limited to a piezoelectric element and other components may be supplied with a voltage. For example, a light emitting element and a light reception element for sensing beats may be applicable.
It should be understood that an embodiment disclosed herein is illustrative and non-restrictive in every respect. The scope of the present disclosure is defined by the terms of the claims rather than the description above and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
Number | Date | Country | Kind |
---|---|---|---|
2014-110606 | May 2014 | JP | national |
The present application is a continuation based on PCT Application No. PCT/JP2015/065265 filed on May 27, 2015, which claims the benefit of Japanese Application No. 2014-110606, filed on May 28, 2014. PCT Application No. PCT/JP2015/065265 is entitled “Electronic Device, Earphone, and Electronic Device System,” and Japanese Application No. 2014-110606 is entitled “Electronic Device, Earphone, and Electronic Device System.” The content of which is incorporated by reference herein in the entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2015/065265 | May 2015 | US |
Child | 15359228 | US |