A host device for use with a removable peripheral apparatus having a microphone, and to the biasing circuitry for said microphone. The host device may have a device connector for forming a mating connection with a respective peripheral connector. A source of bias is arranged to supply an electrical bias to a device microphone contact of the device connector via a biasing path. A capacitor is connected between a reference voltage node and a capacitor node of the biasing path. A first switch is located between the capacitor node and the device microphone contact. detection circuitry detects disconnection of the peripheral connector and device connector; and control circuitry controls the switch to disable the biasing path.
|
18. A circuit for biasing a microphone, comprising:
a microphone connector node for, in use, connecting to a microphone contact,
a bias source for generating an electrical bias for biasing said microphone;
a biasing path for, in use, supplying said electric bias to said microphone connector node,
a first switch located in the biasing path;
control circuitry, wherein said control circuitry is configured to control the first switch in use to disconnect the microphone connector node from the biasing path and to disable the bias source in response to a detection that a microphone contact is disconnected from said microphone connector node.
20. An audio circuit for operating a microphone of a peripheral apparatus that may be removably connected to a host device comprising the audio circuit, wherein the audio circuit comprises:
a bias source for generating, in use, an electrical bias for biasing said microphone;
a microphone node for outputting said electrical bias;
input circuitry for receiving an input microphone signal from said microphone via the microphone node;
a first switch located in a biasing path between said bias source and said microphone node; and
control circuitry configured to control the first switch in use to disconnect the microphone connector node from the biasing path and to disable at least one of the bias source and the input circuitry in response to a detection that a microphone of the removable peripheral apparatus is disconnected from said microphone contact.
1. A host device for use with a removable peripheral apparatus having a microphone, the host device comprising:
a device connector capable of forming a mating connection with a respective peripheral connector of the removable peripheral device, the device connector having a device microphone contact;
a bias source configured to generate an electrical bias suitable for biasing said microphone;
a biasing path for supplying said electrical bias from the bias source to said device microphone contact;
a capacitor connected between a reference voltage node and a capacitor node of said biasing path;
a first switch located in the biasing path between the capacitor node and the device microphone contact, said switch being operable to disable the biasing path;
detection circuitry for detecting disconnection of the peripheral connector and device connector; and
a controller for controlling said first switch to disable the biasing path in response to detection of disconnection of the peripheral connector and device connector;
wherein said controller is further configured to disable said bias source in response to said detection of disconnection.
2. A host device as claimed in
4. A host device as claimed in
5. A host device as claimed in
6. A host device as claimed in
7. A host device as claimed in
8. A host device as claimed in
9. A host device as claimed in
10. A host device as claimed in
11. A host device as claimed in
12. A host device as claimed in
13. A host device as claimed in
14. A host device as claimed in
15. A host device as claimed in
16. A host device as claimed in
17. A host device as claimed in
19. A circuit for biasing a microphone as claimed in
|
The present disclosure claims priority as a continuation of U.S. patent application Ser. No. 14/864,619 filed Sep. 24, 2015, issuing Nov. 8, 2016 as U.S. Pat. No. 9,490,765, which is a continuation of U.S. patent application Ser. No. 14/244,075 filed Apr. 3, 2014, issued as U.S. Pat. No. 9,148,722 on Sep. 29, 2015, which claims priority to United Kingdom Patent Application Serial No. 1306633.7, filed April 11, 2013, all of which are incorporated by reference herein in their entirety.
1. Field of the Invention
This invention relates to microphone biasing circuitry and methods for reducing or removing unwanted bias on a microphone contact of a connector (for connecting to an external microphone) as a removable peripheral apparatus is removed.
2. Description of the Related Art
Many contemporary electronic devices have the facility to connect with peripheral audio devices. For instance, mobile telephones, tablets, laptop computers and the like are examples of electronic devices that are operable with peripheral audio devices such as a headset, for example, that is external to and distinct from the electronic device. Headsets typically comprise mono or stereo speakers for audio playback and a microphone for voice communication.
Such external peripheral audio devices are often connected via a mating connector such as a plug and socket arrangement. For instance, many headsets have a 3.5 mm jack plug for connection to a suitable jack socket on the host electronic device. A well-known arrangement for a jack plug and its associated socket is TRRS (Tip-Ring-Ring-Sleeve), which has four contacts for left audio, right audio, microphone, and ground. In one known arrangement, the tip (T) and first ring (R1) are used for left (L) and right (R) audio, for example left and right loudspeakers, with the second ring (R2) and sleeve (S) used for the microphone (M) and ground (G) respectively. It will be appreciated that different arrangements for the left and right audio, microphone, and ground contacts are also possible.
In use a microphone bias is supplied by the host device to the microphone (M) contact of the socket so that when a plug (which is connected to a headset with an external microphone) is plugged into the compatible socket the external microphone is suitably biased and is ready for use.
Using the well-known arrangement described above as an example for illustrating the problem, as the plug is removed from a socket some of the contacts (T, R1, R2, S) on the plug will be moved past and make contact with other various and different contacts (T, R1, R2, S) of the socket. This can lead to undesired effects if there is still a voltage present on a socket contact. For example, when the plug is removed from the socket the tip contact T and first ring contact R1 of the plug, which are connected to the speakers (L, R) of the peripheral apparatus, will make contact with the socket contact R2 contact used to provide bias for the external microphone. If there is still a bias present at this socket contact R2 then this unwanted bias causes the speakers to operate in an undesirable fashion, e.g. to output an audible artifact such as a pop or click sound.
The socket may also comprise some circuitry, for instance a normally-open switch 111 which is closed when the jack plug is fully inserted, to allow generation of a jack-insert detection signal, for instance by means of an external pull-up resistor connected to one pole of the switch, to indicate whether there is a plug fully inserted into the socket or not.
Furthermore when the jack plug is pulled out further the plug T contact 112 connected to first speaker L will (at least briefly) make contact with socket R2 contact 117 connected to the microphone bias, and the plug R1 contact 114 connected to second speaker R will make contact with socket R2 contact 117 connected to the microphone bias. Thus it can be seen that removing the plug will result in the microphone bias being temporarily applied to both the left (L) and right (R) audio speaker contacts (T, S1) on the plug which will result in current passing through both speakers via their common connection, which may result in an unwanted sound, i.e. an unwanted audio artifact.
In both
Shown in
The microphone biasing circuitry 102, generating the bias for the external microphone, connects to the microphone (M) socket contact 117 (R2) via two series connected resistors 222 and 223. Between the two resistors 222, 223 there is a capacitor node to which the first plate of a capacitor 225 connects. The other plate of the capacitor 225 connects to a reference voltage node, in this case a ground node. This capacitor 225 serves as a low pass filter to remove any noise which could be picked up on the microphone bias relative to this ground node and would otherwise appear as a spurious component of the input signal. In mobile telephones for example, a significant source of noise is due to the GSM RF power amplifiers, which creates TDMA noise (time division multiple access noise) due to supply current modulation appearing on the ground return paths for example at a frequency of 217 Hz. In order to prevent this noise being picked up by the microphone circuitry the capacitor 225 has to be large enough to significantly attenuate signals of a frequency of 217 Hz. This means that during operation the capacitor will store an appropriate amount of charge which will eventually have to be discharged at some point in time.
In order to at least reduce the unwanted bias at the microphone socket contact the microphone biasing circuitry 102 may be disabled, for example by removing supply power to the amplifier, as the jack plug is removed from the socket. However, the large capacitor 225 will take time to discharge, and meanwhile the charge present on the capacitor 225 will still create an unwanted bias at the microphone socket contact. This unwanted bias from capacitor 225 will then operate the first and second speakers connected to the jack plug in an undesired fashion as described above.
Embodiments of the present invention are aimed at reducing the bias at the microphone contact of the connector of the host device in response to a removable peripheral apparatus being removed from a socket.
Thus according to the present invention there is provided a host device for use with a removable peripheral apparatus having a microphone, the host device comprising: a device connector capable of forming a mating connection with a respective peripheral connector of the removable peripheral device, the device connector having a device microphone contact; a biasing path for supplying an electrical bias to said device microphone contact; a capacitor connected between a reference voltage node and a capacitor node of said biasing path; a first switch located in the biasing path between the capacitor node and the device microphone contact, said switch being operable to disable the biasing path; detection circuitry for detecting disconnection of the peripheral connector and device connector; and control circuitry for controlling said first switch to disable the biasing path in response to detection of disconnection of the peripheral connector and device connector.
The device may further comprise biasing circuitry operable to supply said electrical bias to the biasing path via a bias node.
Preferably said control circuitry is configured to operate said first switch to disable the biasing path within 100 μs of said detection of disconnection.
In some embodiments the first switch may be closed only when a microphone contact of the peripheral connector is detected to be connected to said device microphone contact.
The device may further comprise a second switch operable to connect the device microphone contact to a second reference voltage, which may substantially the same voltage as the reference voltage node. The second switch may be operable to connect the device microphone contact to the reference voltage node. In use, the voltage at the reference voltage node may be a ground voltage. The second switch may be controlled by said control circuitry, and operates to connect said device microphone contact to ground in response to the detection of disconnection.
When biasing circuitry is present the control circuitry may be configured to disable the biasing circuitry in response to said detection of disconnection.
There may additionally be input circuitry for receiving an input signal from said device microphone contact. The control circuitry may be configured to disable the input circuitry in response to said detection of disconnection. A DC blocking capacitor may be situated between the device microphone contact and the input circuitry. In some embodiments there may an input switch located between the DC blocking capacitor and the input circuitry, which operates in response to said detection of disconnection. The input switch may be located between a resistor and the input circuitry. There may additionally be electrostatic discharge protection circuitry connected to an ESD node located between the DC blocking capacitor and the input circuitry, said electrostatic discharge protection circuitry comprising a plurality of diodes connected in series.
The biasing circuitry, second switch and input circuitry may, together with the first switch, form at least part of an integrated circuit.
In some embodiments there may be one or more resistors connected in said biasing path, such as two or more two or more resistors connected in series. The capacitor node may be located between two resistors connected in series. The first switch may be located between two of said two or more resistors connected in series or may be located between the resistors and the device microphone contact.
In some embodiments there may be a third switch in parallel with the capacitor for connecting said capacitor node to said reference voltage node. The third switch may be controlled by the control circuitry, and operated to connect the capacitor node to the reference voltage node in response to said detection of disconnection.
The biasing circuitry may generate bias at the bias node with respect to the voltage at a ground contact of said device connector. The reference voltage node may be connected to said ground contact of said device connector.
The device connector may comprise a socket for receiving a jack plug peripheral connector and the detection circuitry may comprise a jack plug detection circuitry for detecting when a jack plug is fully connected into said socket. The detection circuitry may be configured to monitor the electrical properties of at least one contact of the device connector to detect said disconnection, for example the electrical properties of the device microphone contact. In some embodiments the detection circuitry may comprise a mechanical detection switch for detecting whether the removable peripheral apparatus is fully connected.
The host device may further comprise: an alternative bias path for supplying an electrical bias to an alternative device contact of said device connector; and a microphone detect circuit for detecting, on connection of the device connector and the peripheral connector whether an external microphone is connected to said device microphone contact or said alternative device contact; wherein the host device is operable so that, in use, said biasing path or said alternative bias path can be selectively enabled. The biasing path may comprise a first path section and a second path section wherein said first path section is shared with the alternative bias path and the second path section is not shared with the alternative bias path wherein said first switch is located in the second path section and is operated to disable the biasing path when the alternative bias path is selectively enabled. When the alternative bias path is selectively enabled the device microphone contact may be connected to ground. The alternative bias path may comprise a fourth switch for disabling the alternative bias path and the control circuitry may be configured to control the fourth switch to disable the alternative bias path in response to detection of disconnection of the peripheral connector and device connector.
The device connector may be a socket for receiving a jack plug peripheral connector, such as a 3.5 mm jack plug peripheral connector. The device connector may be configured to receive a peripheral connector having at least three poles arranged in a tip-ring-sleeve (TRS) arrangement or at least four poles arranged in a tip-ring-ring-sleeve (TRRS) arrangement.
The host device may be at least one of: a portable computing device; a laptop computer; a personal data assistant; a personal media player; an mp3 player; a portable television; a mobile communications device; a mobile telephone; a navigation aid; a GPS device; a game console; a tablet computer. The host device may be operable with a removable peripheral apparatus which comprises a headset.
In another aspect of the invention there is provided a method of operating a host device connected to a removable peripheral apparatus having a microphone via a device connector forming a mating connection with a respective peripheral connector of the removable peripheral device, the method comprising: supplying bias to a device microphone contact of the device connector via a biasing path, wherein a capacitor is connected between a capacitor node of the biasing path and a reference voltage; detecting disconnection of the peripheral connector and the device connector; and operating a first switch to disable the biasing path in response to said detection of disconnections; wherein said first switch is located in the biasing path between the capacitor node and the device microphone contact.
The method may be implemented in any of the embodiments described above with reference to the first aspect of the invention. In particular the method may further comprise: operating a second switch to connect said device microphone contact to the reference voltage node, in response to said detection of disconnection.
Embodiments of the present invention also relate to the biasing arrangement itself. Thus in another aspect of the invention there is provided a circuit for biasing a microphone, comprising: a microphone connector node for, in use, connecting to a microphone contact, a biasing path for, in use, supplying an electric bias to said microphone connector node, a first switch located in the biasing path; control circuitry, wherein said control circuitry is configured to control the first switch in use to disconnect the microphone connector node from the biasing path in response to a detection that a microphone contact is disconnected from said microphone connector node.
As mentioned the first switch may form part of an integrated circuit with the biasing circuitry. Thus in a further aspect of the invention there is provided an integrated circuit comprising: microphone biasing circuitry for outputting a biasing signal at a first terminal; a second terminal, for, in use, receiving said biasing signal via an external RC network, a third terminal, for, in use, outputting said biasing signal to a external microphone contact, a switch operable to connect said second terminal to said third terminal, switch control circuitry for operating said switch to disconnect said second and third terminals in response to a detection that a microphone contact is electrically disconnected from said third terminal.
In general embodiments of the invention provide a bias reducing circuit, comprising, a connector for connecting an external microphone, said connector having a device microphone contact; and switching circuitry for isolating the device microphone contact from any source of bias, wherein said switching circuitry operates in response to said external microphone being electrically disconnected from said microphone contact.
The bias reducing circuit may further comprising detection circuitry for detecting whether an external microphone is electrically connected to said microphone contact.
The invention will now be described by way of example only with respect to the following drawings, of which:
As mentioned above, a host device for use with a removable peripheral apparatus may have a device connector capable of forming a mating connection with a respective peripheral connector of the removable peripheral apparatus, for instance a plug and socket connector arrangement, and when the device connector and peripheral connector are fully connected a device microphone contact (of the device connector) may be electrically connected to a corresponding microphone contact of the peripheral connector. An electrical bias is supplied to the device microphone contact of such a device connector and, upon separation of the connectors, the microphone bias may be applied to the speakers of the peripheral apparatus during disconnection, leading to undesired audio effects.
In embodiments of the present invention a switch is used to disable the biasing path to the device microphone contact upon detection that the peripheral connector is in the process of being disconnected from the device connector, e.g. the plug is being removed from the socket. In embodiments of the invention a biasing path is arranged to supply an electrical bias, by means of a current source or voltage source, to the device microphone contact, i.e. the device contact to which a peripheral microphone contact of a removable peripheral apparatus may be electrically connected in use, and a first switch is located in this biasing path. A capacitor is coupled between a capacitor node (which is located in the biasing path) and a reference voltage. The first switch is located between the capacitor node and the device microphone contact and control circuitry operates the first switch to disable the biasing path in response to detection of disconnection of the peripheral connector and device connector. The circuitry may therefore comprise means for detecting disconnection of the peripheral connector and device connector, such as a jack detect or the like.
The first switch therefore operates to disconnect, i.e. isolate, the device microphone (M) contact (R2) from the source of bias and the charged capacitor (coupled to the capacitor node), thus removing the bias created by those two components from the device microphone contact (R2). Upon the detection of disconnection of the peripheral connector and device connector by any suitable detection circuitry, the first switch is operated, so that the biasing components are disconnected, i.e. isolated, before any other contacts of the peripheral connector of the removable peripheral apparatus make electrical connection with the device microphone contact. In other words the detection circuitry (the means for detecting disconnection of the device and peripheral connectors) detects the onset of disconnection, e.g. partial separation of the device and peripheral connectors, and the first switch is operated at this stage to disable the biasing path before the other contacts of the peripheral connector make any contact with the device microphone contact. Therefore, no unwanted bias from the biasing path will affect the left and right speakers, for example, when jack plug contacts (T, R1) pass over a microphone socket contact (R2), as discussed above in relation to
Embodiments of the present invention will be described in relation to a jack plug connector of a removable peripheral apparatus and a corresponding jack socket connector of a host device. However other arrangements of connector are possible as will be understood by one skilled in the art and the problems described above may apply to any type of connector where at least some contacts of the peripheral connector and device connector that do not electrically connect in normal operation may make at least a transient connection during separation of the connectors. The terms ‘jack plug’, ‘jack socket’, ‘plug’, and ‘socket’ should therefore not be seen as limiting the scope of the present invention and the terms have been used as an example of a device and peripheral connectors throughout this entire document. The embodiments will be described principally in relation to a plug and socket arrangement having four contacts (e.g. for left and right audio, microphone and ground) but in some arrangements a jack plug or socket may comprise more than four, for example nine, contacts. In some embodiments with mono audio there may be only three contacts. Some rings on the plug may comprise separate regions, for example two semi-circular parts. A plug may comprise multiple fingers and a socket multiple apertures. The components referred to as a plug or a socket may each be either a male or female connector.
The example shown in
In the example of
As described above in relation to
The embodiment shown in
In use when a jack plug is removed from the socket, which contains microphone socket contact 117, switch 301 is turned off, i.e. opened, thereby disconnecting the capacitor node 304 and thus capacitor 225 from the microphone socket contact 117. In other words the biasing path to the microphone socket contact is disabled i.e. the path from NC to NM is open circuit. Therefore the charge on capacitor 225 is prevented from flowing to the microphone socket contact 117 and creating an unwanted bias and thus audio artifact on removal of the headset.
The switch is controlled by control circuitry, not shown in
Such a jack detect arrangement will therefore provide an indication of disconnection as soon as the jack plug is partially removed from the socket. Detecting disconnection of the device and peripheral connectors therefore refers to detecting the onset of separation of the connectors (rather than detecting that the jack plug has been completely removed from the socket). This jack detect signal may be generated as soon as the tip portion of the plug moves from position—which may be before at least some contacts on the plug have been completely disconnected from the relevant contact of the socket.
The skilled person will, of course, appreciate that there are various ways that one could additionally or alternatively detect the onset of removal of the plug from the socket and that the microphone plug contact has been, or is in the process of being, disconnected from the microphone socket contact. Such detection could be optical, mechanical, electrical (inductive, resistive, capacitive) or even magnetic for example. For example microphone detection circuitry may be arranged to monitor the microphone connector node to detect, from the electrical properties of said node, for instance the presented impedance to ground, whether or not the microphone plug contact is electrically connected to the microphone socket contact and thus whether the jack has been partially de-inserted. In other words the electrical disconnection of the microphone socket contact from the microphone plug contact may be directly detected. The electrical properties of other device connector contacts could additionally or alternatively be monitored to detect disconnection.
The first switch is thus operated, following such detection, such that the biasing path is disabled before another plug contact, e.g. one of the speaker contacts on the plug, makes a connection with the microphone socket contact. In other words the bias is removed from the microphone socket contact before the next contact on the plug comes into contact with it. Tests have shown that a period of about 100 μs between detection of disconnection and the first switch being operated is sufficient in most cases. Thus in some embodiments the circuit may be configured so that the time between detecting disconnection of the external microphone and operation of the first switch is of the order of 100 μs or less.
The switch 301 can be thought of as isolating the microphone socket contact 117 from capacitor 225 acting as a source of bias, and thereby not allowing the capacitor to discharge via the microphone socket contact 117 and create an unwanted bias.
The first switch 301 may be any form of switch which is able to disable the biasing path when required without significant impact on the microphone bias when the biasing path is enabled (although clearly the bias supplied to the bias node NB may be supplied taking the presence of the first switch into account to ensure the correct bias at the microphone connector node). In some embodiments the switch could be implemented by more than one switch element. A transmission gate, i.e. a pair of complementary MOS transistors, is one particularly useful switch implementation.
Typically the biasing circuitry 102 and input circuitry 103 are implemented as integrated circuits, and often as part of the same integrated circuit (IC). The capacitor 225 and resistors 222 and 223 are often external to the integrated circuit(s) and coupled thereto. The switch 301 may conveniently be implemented as part of an integrated circuit which includes the biasing circuitry 102 and/or input circuitry 103, but in some embodiments the switch 301 could be implemented as an external component connected in a suitable biasing path between an integrated circuit comprising the biasing circuitry 102 and the microphone socket contact 117.
The circuit 300 also has input circuitry 103, which via an input path including DC blocking capacitor 124, senses the a.c. signal produced by the external microphone at the microphone connector node. It can be seen that in this embodiment the first switch does not form part of the input path and thus might not be expected to have any effect on the a.c. input signal. However the output impedance of the microphone may be of the order of 100Ω, and the value of resistor 223 may be of the order of 1kΩ, and the on-resistance of switch 301 may be of the order of 100Ω. To first order, the microphone output impedance and the extra switch resistance would only give a constant gain error. However, the switch 301 may for example comprise MOS transistors, with gates driven from signal-independent voltages, for example a supply (1.8v), i.e. logic 1, and a ground (0v), i.e. logic 0, while the source and drain voltages may be modulated by the a.c. signal. Thus their gate-source voltages, and hence their on-resistances, will vary with the signal modulation. The consequent variation of the gain modulation will thus introduce distortion. Also these non-linear impedance effects may render the input sensitive to modulated RF signals, which may be demodulated by these non-linearities and produce audio-band interference. Also the switch 301 is directly connected to the microphone socket contact, and may thus suffer ESD events, and thus require either extra area to make adequately rugged or even extra external ESD protection components.
As an alternative switch 301 could be positioned so that it forms part of the biasing path and also part of the input path, as will be described in more detail later in relation to
The second switch 501 prevents the voltage of the microphone socket contact 117 from floating, and by providing a defined reference voltage (i.e. ground) will ultimately stabilise the bias of the microphone socket contact 117 at the defined reference voltage. Given the first switch 301 disconnects the biasing circuitry 102 and the relatively large capacitor 225 from the microphone socket contact 117, the voltage at this node can be rapidly driven to ground.
Thus the second switch 501 may prevent any leakage currents appearing on the microphone socket contact and passing though say a speaker during jack disconnect, and may also discharge any parasitic capacitance coupled to the microphone socket contact through itself rather than through a speaker. More importantly it may also suitably discharge the DC blocking capacitor 124 in implementations such as shown in
It will therefore be clear that the second and third switches may both be present in addition to the first switch but in some embodiments the second switch may be present but not the third switch or the third switch may be present without the second switch. Note that if the biasing circuitry 102 was disabled and the second and third switches could together quickly discharge the capacitor 225 and clamp the microphone connector node to ground the first switch may not be required. However as mentioned this would practically require a very robust and low resistance second switch and so the presence of the first switch to disable the biasing path is preferred in most applications.
While the jack is being disconnected, even after switch 301 isolates the bias source and capacitor 225 from the microphone socket contact, capacitor CB remains connected to the microphone socket contact. The right hand side of CB will still be pulled to VBR via Ri by the op amp feedback, so the left hand side will initially be at VM. In the absence of second switch 501, this node may be discharged to ground by paths through the speakers as described above as the jack contacts slide past the socket contacts. If switch 501 is present and is activated during jack de-insert, switch 501 will take most of the discharge current and mitigate this effect.
However, even with switch 501, there are still two issues. Firstly, since the op amp end of Ri is held at VBR, say 1V, and the switch 501 will have a non-zero on resistance R501, say 10Ω versus a value of say 1kΩ for Ri, then there will still be a voltage of about VBR*R501/(R501+Ri)=10 mV appearing across switch 501 and hence between the microphone socket contact and ground.
Also, some microphones are designed to operate with a bias voltage of say 2.5V. With VBR=1V this implies a voltage of 1.5V across CB. If the left hand side of CB is suddenly pulled down to 0V by switch 501, the right hand side will attempt to jump down to −1.5V. However the ESD diode DN will then forward bias, and will actually clamp the right-hand side of CB to about −0.6V. Thus the current will be limited only by the resistance of switch 501 and the low resistance of the ESD diode, giving a much larger voltage spike on the microphone socket contact until switch 501 discharges CB to at least the level necessary to substantially turn off the ESD diode.
Switch SW1 is added into the path between the blocking capacitor CB 124 and the source of bias presented by the amplifier, in this case the inverting op amp input (−) or virtual earth. If this switch SW1 is opened during jack withdrawal, and switch 501 is activated, then switch 501 no longer discharges CB in series with R1. Neglecting any parasitic capacitances or leakage paths, it will essentially drive into an open circuit and will pull down the left hand plate of CB immediately.
Note SW1 is shown on the right hand side of R1. If on the left hand side as illustrated in
Depending on the architecture of the input amplifier, any switch isolating the non-microphone plate of blocking capacitor CB 124 from a source of bias may be in a different position in the circuit in question.
Also the single ESD diode DN to ground may be replaced by a plurality of diodes (D1-D3) in series as shown in
To save power, the input amplifier may be powered-down when there is no microphone attached. This may be by means of a control signal applied to a control input of the amplifier as illustrated in
This control signal may be generated by a command on the user interface and/or by action by some master controller or applications processor in the device hosting this circuitry. Preferably the control signal may be derived from or be identical to the control signal which controls switches 301 and/or 510. These control signals may be generated by straightforward logic or buffering from the jack-detect signal, or may be modified by software-driven or hard-wired processing in the same integrated circuit as the input amplifier and/or microphone bias, or in another integrated circuit in the host device, for example an applications processor or similar.
Microphone biasing circuitry 102, input circuitry 103 and switch 301 are all thus enabled in normal use with a microphone connected and are disabled upon detection of disconnection of the device and peripheral connectors. The same control signal, which may for example be a 1-bit control signal, may therefore be supplied to all these components. Switch 501 has the opposite operation and thus is only enabled when the onset of removal of the jack plug is detected. Inverter 603 may be included to invert the 1-bit digital signal for switch 501.
The discussion above of the various embodiments has assumed for simplicity that the various components connected to ground nodes will all be the same voltage. However in practice the socket, i.e. the device connector, may be some distance away from at least some of the other circuitry, e.g. the biasing amplifier 102. Thus there may be a non-negligible impedance between a ground node near the socket and a ground node near or inside an integrated circuit comprising some of the circuitry. Any ground return current flowing across the board, for example as a result of the pulsed supply current for TDMA RF circuitry, or return current from the speakers, may introduce a d.c. offset and a.c. ripple in the voltage at one ground relative to another.
Consider ground node 905 to be the true ground for the system. This true ground node 905 is connected via an IC terminal pad to the on-chip ground GNDC (assuming for now there is little resistance or current in this connection). Ground node 905 is also connected via some parasitic ground plane resistance Rp to a ground node GNDS close to the socket. Any ground return current, for example the current IGSM illustrated, perhaps the 217 Hz pulsed ground return current from a TDMA RF amplifier, flowing to the ground node 905 will induce a voltage drop across Rp, and hence on node GNDS.
To avoid voltage ripple on the socket ground node GNDS from corrupting the microphone output signal, the microphone input amplifier 904 may be modified to be differential or pseudo differential as illustrated. The voltage at the socket ground node GNDS may also be brought on-chip without passing through a blocking capacitor to allow microphone impedance measurement functions 903.
Also this on-chip connection to the socket ground node GNDS may be used to correct any voltage appearing at this node which is due to the return through this ground node of current driven through the speakers by speaker drive amplifier 901 (the speaker contacts are omitted in
This arrangement has two particular advantages. First, when closed switch 501 connects to the socket ground node GNDS rather than local on chip ground node GNDC, to avoid a voltage difference between the clamped microphone socket contact and the locally grounded ground socket contact. Second, as illustrated, the microphone bias may be generated by bias generation circuitry 902 with respect to the socket ground node GNDS, rather than the on chip ground node GNDC. (In this example, a bias reference voltage Vref, defined with respect to the on-chip ground GNDC, generates a current through resistor R1 equal to Vref/R1, which is then mirrored and passed though resistor R2 to generate a voltage equal to R2. (Vref/R1), which is then buffered onto node NB). This avoids capacitor 225 having to fight against a GNDC-referenced microphone bias via resistor 222 in normal operation. A reduced size of capacitor 225 may thus be possible.
Note as illustrated, switch 301 may be off-chip and the control signal BDIS for switch 301 may be generated on chip and transmitted via a suitable contact, or generated elsewhere, e.g. by an apps processor of the host device based on jack detect signal as described above or as generated elsewhere.
In the example illustrated in
Microphone detect circuitry (not shown) can determine, on insertion of a jack plug, which of jack plug contacts 116 and 118 is connected to the microphone. The control circuitry will then control switches 701, 702, 703 and 704 to connect the correct jack socket contacts to the biasing circuitry and to ground accordingly. If the external microphone is connected to plug R2 contact 116 then switch 702 will turn on, i.e. close, and jack R2 contact 116 will be connected via socket R2 contact 117 to the microphone biasing circuitry. This would mean that the ground contact (G) of the jack plug is the S (sleeve) contact 118 and switch 703 would be turned on, i.e. closed, in order to connect the S contact 118 to ground. Both switches 701 and 704 would be held off, i.e. open.
If the external microphone was connected to jack S contact 118 the switch 701 would turn on, i.e. close, and connect the S contact 118 to the microphone biasing circuitry and switch 704 would turn on, i.e. close and connect R2 contact 116 to ground. Both switches 702 and 703 would be held off, i.e. open.
On insertion of a jack plug the detection circuitry thus determines the configuration of the microphone and ground plug contacts and configures the biasing circuit 700 accordingly. Detection circuitry then continues to monitor whether the jack plug remains inserted as described above and, on detection of the onset of removal of the jack plug the relevant one of either switches 701 and 702 (i.e. whichever was closed) is opened to disable to biasing path. At the same time the relevant one of switches 703 and 704 (i.e. whichever was open) may be closed to connect the relevant socket contact to ground. In effect, on detection of removal of the jack plug, both switches 701 and 702 will be open and both switches 703 and 704 will be closed.
In this embodiment the switches 701 and 702 are thus provided not only to enable a desired biasing path when required, but also to disable said path on detection that the jack plug is not fully inserted in the socket.
It will be noted that in the embodiment shown in
It will be noted that in this configuration, the switch used to disable the biasing path (whichever biasing path is established) is located between the microphone socket contact 117 and a branch/tap point for the input circuitry. Thus operation of the switch will not only disable the biasing path but also isolate the microphone socket contact from the DC blocking capacitor 124 and thus input circuitry 103. This does however mean that the switch forms part of the input path in normal operation, which may not be desirable in some instances. This arrangement may suffer from RF distortion, and ESD sensitivity issues discussed above, however it may still provide the most appropriate solution in some applications, as in the embodiment shown in
As mentioned above, the biasing circuitry 102 and input circuitry 103 may typically be implemented as an integrated circuit with capacitor 225 and resistors 222 and 223 as external components. As also mentioned it may be beneficial to implement switch 301 as part of the integrated circuit.
The microphone biasing circuitry 102 and the input circuitry 103 are located ‘on chip’, these are connected to terminals 801 and 802, respectively. Detection and control circuitry 803 which controls the enable/disable function of the microphone biasing circuitry 102 and the input circuitry 103 is also located ‘on chip’.
The first switch 301 is, as mentioned, also located on chip between terminals 804 and 805. The first switch 301 in this example is shown as a transmission gate, which is constructed from parallel connected NMOS and PMOS transistors, with an transmission gate inverter INV 1 inverting the gate drive input to the gate of the NMOS. For the transmission gate switch 301 to turn off/close in response to the jack plug being removed from the jack socket a control signal (from the detection/control circuitry 803) will be inverted by the transmission gate inverter INV 1 which will in turn stop current flowing from the source to drain of the NMOS transistor. Similarly the control signal will inhibit the flow of current through the PMOS transistor and as a result the transmission gate 301 will prevent the flow of current from the terminal 804 to terminal 805.
The embodiment shown in
Microphone socket contact 117 is also connected to terminal 806, which is connected on chip via second switch 501 to a ground terminal 807.
In this embodiment of the present invention second switch 501 is represented by an NMOS transistor 501 which is controlled directly by a control signal from the detection/control circuit 803. When a jack plug is removed from the jack socket the NMOS transistor 501 will permit current to flow from its drain terminal (806) to its source terminal (807). Therefore if there is any residual current, which could create an unwanted bias, remaining at the microphone socket contact and/or in the surrounding circuitry then it will be directed to ground via the NMOS transistor 501.
Embodiments of the invention may be arranged as part of an audio and/or signal processing circuit, for instance an audio circuit which may be provided in a host device.
A circuit according to an embodiment of the present invention may be implemented as an integrated circuit and may be implemented in a host device. The term host device is used in this specification to refer to any electronic or electrical device which is removably connectable to an external peripheral apparatus having a microphone where the biasing for such external microphone is generated in the host device. The host device may especially be a portable and/or battery powered host device such as a mobile telephone, an audio player, a video player, a PDA, a mobile computing platform such as a laptop computer or tablet and/or a games device for example. A removable peripheral apparatus is any apparatus which may be connected to and used with a host device and, as used in this application, refers to apparatus having a microphone where a bias for the microphone is supplied by the external device when connected. The peripheral apparatus may for instance be a headset, e.g. a set of headphones, earbuds or the like including a microphone.
It will be appreciated that a jack plug is one example of a removable peripheral device which could suffer from the cross connection of non-corresponding contacts. Any removable peripheral apparatus where the plug contacts are arranged along the direction of insertion and removal has the possibility of being effected by unwanted biases at certain socket contacts and therefore the circuit described above will be useful to mitigate any undesired effects. Furthermore any removable peripheral apparatus where the plug contacts may make contacts with any other socket contact, whether they are arranged in a linear fashion or not, may come under the scope of the present invention. Similarly for the jack socket, any other removable peripheral apparatus socket can be used in conjunction with the present invention.
The term node may be taken to mean any point along an electrical path and does not necessarily imply a terminal, connection point or contact of a connector (although clearly a terminal, connection point or contact may be a node).
The embodiments above have been described in relation to the removal of unwanted bias from microphone circuits. However some other analogue and digital circuits may require the removal of unwanted bias from a contact of a connector to prevent undesired effects on removal of a removable peripheral apparatus, i.e. there may be other applications where a bias on a contact of a device connector making contact with other contacts of a peripheral connector may be undesirable. The principles of the present invention may be readily applied to such other applications.
The skilled person will recognise that at least some aspects of the above-described apparatus and methods may be embodied as processor control code, for example on a non-transitory storage or carrier medium such as a disk, CD- or DVD-ROM, programmed memory such as read only memory (Firmware), or on a data carrier such as an optical or electrical signal carrier. For some applications embodiments of the invention will be implemented on a DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit) or FPGA (Field Programmable Gate Array). Thus the code may comprise conventional programme code or microcode or, for example code for setting up or controlling an ASIC or FPGA. The code may also comprise code for dynamically configuring re-configurable apparatus such as re-programmable logic gate arrays. Similarly the code may comprise code for a hardware description language such as Verilog™ or VHDL (Very high speed integrated circuit Hardware Description Language). As the skilled person will appreciate, the code may be distributed between a plurality of coupled components in communication with one another. Where appropriate, the embodiments may also be implemented using code running on a field-(re)programmable analogue array or similar device in order to configure analogue hardware.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. The word “comprising” does not exclude the presence of elements or steps other than those listed in a claim, “a” or “an” does not exclude a plurality, and a single feature or other unit may fulfil the functions of several units recited in the claims. Any reference numerals or labels in the claims shall not be construed so as to limit their scope.
Mackay, Graeme Gordon, Howlett, Andrew James, MacFarlane, Douglas James Wallace
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
8861765, | Feb 02 2009 | Robert Bosch GmbH | Microphone component and method for operating same |
20080219483, | |||
20120201401, | |||
20120308041, | |||
EP2704450, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Apr 03 2014 | HOWLETT, ANDREW JAMES | Wolfson Microelectronics plc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 040211 | /0049 | |
Apr 03 2014 | MACKAY, GRAEME GORDON | Wolfson Microelectronics plc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 040211 | /0049 | |
Apr 03 2014 | MACFARLANE, DOUGLAS JAMES WALLACE | Wolfson Microelectronics plc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 040211 | /0049 | |
Aug 21 2014 | Wolfson Microelectronics plc | WOLFSON MICROELECTRONICS LTD | CHANGE OF NAME SEE DOCUMENT FOR DETAILS | 040614 | /0822 | |
Nov 27 2014 | WOLFSON MICROELECTRONICS LTD | CIRRUS LOGIC INTERNATIONAL UK LTD | CHANGE OF NAME SEE DOCUMENT FOR DETAILS | 040738 | /0119 | |
Mar 29 2015 | CIRRUS LOGIC INTERNATIONAL UK LTD | CIRRUS LOGIC INTERNATIONAL SEMICONDUCTOR LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 041193 | /0265 | |
Mar 29 2015 | CIRRUS LOGIC INTERNATIONAL SEMICONDUCTOR LTD | Cirrus Logic, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 041538 | /0479 | |
Nov 03 2016 | Cirrus Logic, Inc. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Nov 23 2020 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Nov 25 2024 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
May 23 2020 | 4 years fee payment window open |
Nov 23 2020 | 6 months grace period start (w surcharge) |
May 23 2021 | patent expiry (for year 4) |
May 23 2023 | 2 years to revive unintentionally abandoned end. (for year 4) |
May 23 2024 | 8 years fee payment window open |
Nov 23 2024 | 6 months grace period start (w surcharge) |
May 23 2025 | patent expiry (for year 8) |
May 23 2027 | 2 years to revive unintentionally abandoned end. (for year 8) |
May 23 2028 | 12 years fee payment window open |
Nov 23 2028 | 6 months grace period start (w surcharge) |
May 23 2029 | patent expiry (for year 12) |
May 23 2031 | 2 years to revive unintentionally abandoned end. (for year 12) |