Electronic devices such as computers, media players, and cellular telephones typically contain audio jacks. Accessories such as headsets have mating plugs. A user who desires to use a headset with an electronic device may connect the headset to the electronic device by inserting the headset plug into the mating audio jack on the electronic device. Miniature size (3.5 mm) phone jacks and plugs are commonly used IN electronic devices such as notebook computers and media players, because audio connectors such as these are relatively compact.
Audio connectors that are commonly used for handling stereo audio have a tip connector, a ring connector, and a sleeve connector and are sometimes referred to as three-contact connectors or TRS connectors. In devices such as cellular telephones, it is often necessary to convey microphone signals from the headset to the cellular telephone. In arrangements in which it is desired to handle both stereo audio signals and microphone signals, an audio connector typically contains an additional ring terminal. Audio connectors such as these have a tip, two rings, and a sleeve and are therefore sometimes referred to as four-contact connectors or TRRS connectors.
In a typical microphone-enabled headset, a bias voltage is applied to the microphone from the electronic device over the microphone line. The microphone in the headset generates a microphone signal when sound is received from the user (i.e., when a user speaks during a telephone call). Microphone amplifier circuitry and analog-to-digital converter circuitry in the cellular telephone can convert microphone signals from the headset into digital signals for subsequent processing.
Some users may wish to operate their cellular telephones or other electronic devices remotely. To accommodate this need, some modern microphone-enabled headsets feature a button. When the button is pressed by the user, the microphone line is shorted to ground. Monitoring circuitry in a cellular telephone to which the headset is connected can detect the momentary grounding of the microphone line and can take appropriate action. In a typical scenario, a button press might be used be used to answer an incoming telephone or might be used skip tracks during playback of a media file.
In conventional arrangements, it can be difficult or impossible to convey desired signals over an audio jack and plug. For example, it may not be possible to route signals from microphones in a headset to an audio circuit in an electronic device to implement noise cancellation functions. As another example, it may not be possible to convey desired signals from an electronic device to an accessory. Problems such as these can arise at least in part because conventional arrangements for coupling cellular telephones to headsets tend to be inflexible.
Electronic devices and external equipment such as headsets and other accessories may operate in a variety of operating modes. Noise cancellation microphones and ambient noise reduction circuitry may be provided in the external equipment to reduce speaker noise and microphone noise.
Circuitry in the electronic device and external equipment may include one or more pairs of hybrid circuits associated with a wired link between the electronic device and external equipment. Each hybrid circuit may include a summing amplifier and a transconductance amplifier (e.g., a current source). When unidirectional operation is desired, to support operations such as the playback of right or left channel audio, the hybrid circuits can be bypassed. When bidirectional operation is desired, the hybrid circuit pairs may be switched into use. When a path is configured for bidirectional operation, analog output signals may be conveyed in one direction while analog input signals may be conveyed in the opposite direction.
The analog output signals that are conveyed over a bidirectional path may include analog right and left channel audio signals. The analog input signals may include microphone signals. The microphone signals may include voice microphone signals and ambient noise signals from one or more noise cancelling microphones for reducing voice microphone noise or speaker noise.
The wired link may include one or more ground paths between the electronic device and external equipment. With one suitable arrangement, the wired link may include two or more ground paths from the external equipment that converge into a single ground path near a connector that couples to the electronic device. The electronic device may include an amplifier coupled to a ground noise sensing line that is connected to the ground path. The electronic device may have circuitry that receives amplified ground noise signals from the amplifier. The circuitry may use the amplified ground noise signals to reduce noise over the wired link between the electronic device and external equipment. With one suitable arrangement, the electronic device may have an audio jack and the ground noise sensing line may be directly connected to a ground connector in the audio jack in the electronic device.
Further features of the invention, its nature and various advantages will be more apparent from the accompanying drawings and the following detailed description of the preferred embodiments.
Electronic components such as electronic devices and other equipment may be interconnected using wired and wireless paths. For example, a wireless path may be used to connect a cellular telephone with a wireless base station. Wired paths may be used to connect electronic devices to equipment such as computer peripherals and audio accessories. As an example, a user may use a wired path to connect a portable music player to a headset.
Electronic devices that may be connected to external equipment using wired paths include desktop computers and portable electronic devices. The portable electronic devices may include laptop computers, tablet computers, and small portable computers of the type that are sometimes referred to as ultraportables. The portable electronic devices may also include somewhat smaller portable electronic devices such as wrist-watch devices, pendant devices, and other wearable and miniature devices.
The electronic devices that are connected to external equipment using wired paths may also be handheld electronic devices such as cellular telephones, media players with wireless communications capabilities, handheld computers (also sometimes called personal digital assistants), remote controllers, global positioning system (GPS) devices, and handheld gaming devices. The electronic devices may be multifunction devices. For example, an electronic device may perform the functions of a cellular telephone and a music player while running additional applications such as email applications, web browser applications, games, etc. These are merely illustrative examples.
An example of external equipment that may be connected to such electronic devices by a wired path is an accessory such as a headset. A headset typically includes a pair of speakers that a user can use to play audio from the electronic device. The accessory may have a user control interface such as one or more buttons. When a user supplies input, the input may be conveyed to the electronic device. As an example, when the user presses a button on the accessory, a corresponding signal may be provided to the electronic device to direct the electronic device to take an appropriate action. Because the button is located on the headset rather than on the electronic device, a user may place the electronic device at a remote location such as on a table or in a pocket, while controlling the device using conveniently located headset buttons.
The external equipment that is connected by the wired path may also include equipment such as a tape adapter. A tape adapter may have an audio plug on one end and a cassette at the other end that slides into a tape deck such as an automobile tape deck. Equipment such as a tape adapter may be used to play music or other audio over the speakers associated with the tape deck. Audio equipment such as the stereo system in a user's home or automobile may also be connected to an electronic device using a wired path. As an example, a user may connect a music player to an automobile sound system using a cable with a three-pin or four-pin audio connector (e.g., TRS or TRRS connectors).
In a typical scenario, the electronic device that is connected to the external equipment with the wired path may produce audio signals. These audio signals may be transmitted to the external equipment in the form of analog audio (as an example). The external equipment may include a microphone. Microphone signals (e.g., analog audio signals corresponding to a user's voice or other sounds) may be conveyed to the electronic device using the wired path. The wired path may also be used to convey other signals such as power signals and control signals. Digital data may be conveyed if desired. The digital data may include, for example, control signals, audio, display information, etc.
If the electronic device is a media player and is in the process of playing a song or other media file for the user, the electronic device may be directed to pause the currently playing media file when the user presses a button associated with attached external equipment. As another example, if the electronic device is a cellular telephone with media player capabilities and the user is listening to a song when an incoming telephone call is received, actuation of a button on an accessory or other external equipment by the user may direct the electronic device to answer the incoming telephone call. Actions such as these may be taken, for example, while the media player or cellular telephone is stowed within a user's pocket.
Accessories such as headsets are typically connected to electronic devices using audio plugs (male audio connectors) and mating audio jacks (female audio connectors). Audio connectors such as these may be provided in a variety of form factors. Most commonly, audio connectors take the form of 3.5 mm (⅛″) miniature plugs and jacks. Other sizes are also sometimes used such as 2.5 mm subminiature connectors and ¼ inch connectors. In the context of accessories such as headsets, these audio connectors and their associated cables are generally used to carry analog signals such as audio signals for speakers and microphone signals. Digital connectors such as universal serial bus (USB) and Firewire® (IEEE 1394) connectors may also be used by electronic devices to connect to external equipment such as headsets, but it is often preferred to connect headsets to electronic devices using standard audio connectors such as the 3.5 mm audio connector. Digital connectors such as USB connectors and IEEE 1394 connectors can be of use where large volumes of digital data need to be transferred with external equipment such as when connecting to a peripheral device such as a printer. Optical connectors, which may be integrated with digital and analog connectors, may be used to convey data between an electronic device and an associated accessory, particularly in environments that carry high bandwidth traffic such as video traffic. If desired, audio connectors may include optical communications structures to support this type of traffic.
The audio connectors that may be used in connecting an electrical device to external equipment may have a number of contacts. Stereo audio connectors typically have three contacts. The outermost end of an audio plug is typically referred to as the tip. The innermost portion of the plug is typically referred to as the sleeve. A ring contact lies between the tip and the sleeve. When using this terminology, stereo audio connectors such as these are sometimes referred to as tip-ring-sleeve (TRS) connectors. The sleeve can serve as ground. The tip contact can be used in conjunction with the sleeve to handle a left audio channel and the ring contact can be used in conjunction with the sleeve to handle the right channel of audio (as an example). In four-contact audio connectors an additional ring contact is provided to form a connector of the type that is sometimes referred to as a tip-ring-ring-sleeve (TRRS) connector. Four-contact audio connectors may be used to handle a microphone signal, left and right audio channels, and ground (as an example).
Electrical devices and external equipment may be connected in various ways. For example, a user may connect either a pair of stereo headphones or a headset that contains stereo headphones and a microphone to a cellular telephone audio jack. Electrical devices and external equipment may also be operated in various modes. For example, a cellular telephone may be used in a music player mode to play back stereo audio to a user. When operated in telephone mode, the same cellular telephone may be used to play telephone call left and right audio signals to the user while simultaneously processing telephone call microphone signals from the user. Some headsets may have noise cancellation functionality. When operated in noise cancellation mode, ambient noise signals that are gathered by the headset may be processed locally or may be routed to the electronic device to implement noise reduction.
Electronic devices and external equipment may be provided with path configuration circuitry that allows the electronic devices and external equipment to be operated in a variety of different operating modes in a variety of different combinations. When, for example, a user connects one type of accessory to an electronic device, the path configuration circuitry may be adjusted to form several unidirectional paths between the electronic device and the accessory. When the user connects a different type of accessory to the electronic device or desires to operate the device and accessory in a different mode, the path configuration circuitry may be adjusted to form one or more bidirectional paths in place of one or more of the unidirectional paths. The path configuration circuitry may also be used to configure the wired path between an electronic device and attached external equipment to convey power signals or digital data in place of analog signals such as audio. Combinations of these arrangements may also be used.
An illustrative system in which an electronic device and external equipment with path configuration circuitry may communicate over a wired path is shown in
A path such as path 16 may be used to connect electronic device 12 and accessory 14. In a typical arrangement, path 16 includes one or more audio connectors such as 3.5 mm plugs and jacks or audio connectors of other suitable sizes. Conductive lines in path 16 may be used to convey signals over path 16. There may, in general, be any suitable number of lines in path 16. For example, there may be two, three, four, five, or more than five separate lines. These lines may be part of one or more cables. Cables may include solid wire, stranded wire, shielding, single ground structures, multi-ground structures, twisted pair structures, or any other suitable cabling structures. Extension cord and adapter arrangements may be used as part of path 16 if desired. In an adapter arrangement, some of the features of accessory 14 such as user interface and communications functions may be provided in the form of an adapter accessory with which an auxiliary accessory such as a headset may be connected to device 12.
Accessory 14 may be any suitable equipment or device that works in conjunction with electronic device 12. Examples of accessories include audio devices such as audio devices that contain or work with one or more speakers. Speakers in accessory 14 may be provided as earbuds or as part of a headset or may be provided as a set of stand-alone powered or unpowered speakers (e.g., desktop speakers). Accessory 14 may, if desired, include audio-visual (AV) equipment such as a receiver, amplifier, television or other display, etc. Devices such as these may use path 16 to receive audio signals from device 12. The audio signals may, for example, be provided in the form of analog audio signals that need only be amplified or passed to speakers to be heard by the user of device 12. One or more optional microphones in accessory 14 may pass analog microphone signals to device 12. For example, one microphone may be used to gather voice signals from a user, while one, two, or more than two additional microphones may be used to gather ambient noise signals to implement noise cancellation functions. Buttons or other user interface devices may be used to gather user input for device 12. The use of these and other suitable accessories in system 10 is merely illustrative. In general, any suitable external equipment may be used in system 10 if desired.
Electronic device 12 may be a desktop or notebook computer, a portable electronic device such as a tablet computer or handheld electronic device that has wireless capabilities, equipment such as a television or audio receiver, or any other suitable electronic equipment. Electronic device 12 may be provided in the form of stand-alone equipment (e.g., a handheld device that is carried in the pocket of a user) or may be provided as an embedded system. Examples of systems in which device 12 may be embedded include automobiles, boats, airplanes, homes, security systems, media distribution systems for commercial and home applications, display equipment (e.g., computer monitors and televisions), etc.
In a typical scenario, device 12 may be, as an example, a handheld device that has media player and cellular telephone capabilities. Accessory 14 may be a headset with one or more microphones and a user input interface such as a button-based interface for gathering user input. Path 16 may be a four or five conductor audio cable that is connected to devices 12 and 14 using 3.5 mm audio jacks and plugs (as an example).
While paths such as path 16 may be based on commonly available digital connectors such as USB or IEEE 1394 connectors, it may be advantageous to use standard audio connectors such as a 3.5 mm audio connector to connect device 12 to accessory 14. Connectors such as these are in wide use for handling audio signals. As a result, many users have a collection of headsets and other accessories that use 3.5 mm audio connectors. The use of audio connectors such as these may therefore be helpful to users who would like to connect their existing audio equipment to device 12. Consider, as an example, a user of a media player device. Media players are well known devices for playing media files such as audio files and video files that contain an audio track. Many owners of media players own one or more headsets that have audio plugs that are compatible with standard audio jacks. It would therefore be helpful to users such as these to provide device 12 with such a compatible audio jack, notwithstanding the potential availability of additional ports such as USB and IEEE 1394 high speed digital data ports for communicating with external devices.
To accommodate different types of headsets and different types of operation, the circuitry in device 12 and accessory 14 may be configurable. For example, electronic device 12 and accessory 14 may include adjustable path configuration circuitry that can be configured to selectively connect different circuit components to the various contacts in the audio connectors as needed.
The path configuration circuitry may be adjusted to support different modes of operation. These different modes of operation may result from different combinations of accessories and electronic devices, scenarios in which different device applications are active, etc. With one suitable configuration, the path configuration circuitry may include hybrid circuits that can be selectively switched into use. When the hybrid circuits are not actively used, the communications line to which they are connected may be used primarily or exclusively for unidirectional analog signal communications (e.g., audio communications). When the hybrid circuits are switched into active use, the same communications line may be used to support bidirectional audio signals or other analog signals (e.g., an outgoing left or right audio channel in one direction and an incoming microphone signal in the opposite direction).
Because unidirectional paths may be selectively converted into bidirectional paths, it is possible to accommodate additional signals over the wired path between electronic device 12 and accessory 14. These additional signals may include power signals (e.g., a power supply voltage that the external equipment provides to electronic device 12 to charge a battery in device 12 or a power supply voltage that device 12 supplies to external equipment 14 to power circuitry such as noise cancellation circuitry), data signals (e.g., analog or digital audio signals or signals for display or control functions), user input signals (e.g., signals from button presses or other user input activity), sensor signals, or other suitable signals.
A generalized diagram of an illustrative electronic device 12 and accessory 14 is shown in
Device 12 may be, for example, a computer or handheld electronic device that supports cellular telephone and data functions, global positioning system capabilities, and local wireless communications capabilities (e.g., IEEE 802.11 and Bluetooth®) and that supports handheld computing device functions such as internet browsing, email and calendar functions, games, music player functionality, etc. Accessory 14 may be, for example, a headset with or without one or more microphones, a set of stand-alone speakers, audio-visual equipment, an adapter, an external controller (e.g., a keypad), a sound system such as an automobile stereo system, or any other suitable external equipment that may be connected to device 12.
As shown in
If desired, power circuitry 172 may supply power to device 12 over path 16 (e.g., to recharge a battery in device 12.). Power circuitry 172 may, for example, be provided as part of the stereo system and other electronic equipment in an automobile. An audio cable may be used to connect device 12 to the automobile stereo system (e.g., using the audio cable to form path 16). When a user plugs device 12 into the automobile's electronics in this way, power circuitry 172 in the automobile may be used to deliver direct current (DC) power to power circuitry 170 in device (e.g., to recharge a battery in device 12 through one of the conductive lines in path 16).
In other arrangements, power may be delivered from device 12 to accessory 14 over one of the lines in path 16. For example, a handheld electronic device battery in circuitry 170 of device 12 may supply power to circuitry 172 and to amplifier circuitry and other circuitry in an accessory 14 such as a headset.
By using path configuration circuitry, one or more of the lines in path 16 can be converted to power delivery lines in some situations (e.g., during certain modes of operation and when certain types of components are used) and may be converted to analog audio lines, digital data lines, or other types of lines in other situations. If desired, lines in path 16 may be used to deliver power (e.g., a relatively small amount of microphone bias power or a relatively larger amount of power for operating noise cancellation circuitry or other circuitry) while simultaneously conveying analog or digital signals (e.g., analog audio signals such as voice microphone signals or noise cancellation signals). For example, power may be delivered in one direction while analog or digital signals are conveyed in the opposite direction.
Device 12 and accessory 14 may include storage 126 and 144. Storage 126 and 144 may include one or more different types of storage such as hard disk drive storage, nonvolatile memory (e.g., flash memory or other electrically-programmable-read-only memory), volatile memory (e.g., static or dynamic random-access-memory), etc.
Processing circuitry 128 and 146 may be used with storage 126 and 144 to control the operation of device 12 and accessory 14. Processing circuitry 128 and 146 may be based on processors such as microprocessors and other suitable integrated circuits. These circuits may include application-specific integrated circuits, audio codecs, video codecs, amplifiers, communications interfaces, power management units, power supply circuits, circuits that control the operation of wireless circuitry, radio-frequency amplifiers, digital signal processors, analog-to-digital converters, digital-to-analog converters, or any other suitable circuitry.
With one suitable arrangement, processing circuitry 128 and 146 and storage 126 and 144 are used to run software on device 12 and accessory 14. The complexity of the applications that are implemented depends on the needs of the designer of system 10. For example, the software may support complex functionality such as internet browsing applications, voice-over-internet-protocol (VOIP) telephone call applications, email applications, media playback applications, operating system functions, and less complex functionality such as the functionality involved in encoding button presses as ultrasonic tones.
To support communications over path 16 and to support communications with external equipment, processing circuitry 128 and 146 and storage 126 and 144 may be used in implementing suitable communications protocols. Communications protocols that may be implemented using processing circuitry 128 and 146 and storage 126 and 144 include internet protocols, wireless local area network protocols (e.g., IEEE 802.11 protocols—sometimes referred to as Wi-Fi®), protocols for other short-range wireless communications links such as the Bluetooth® protocol, protocols for handling 3 G communications services (e.g., using wide band code division multiple access techniques), 2G cellular telephone communications protocols, serial and parallel bus protocols, etc. In a typical arrangement, more complex functions such as wireless functions are implemented exclusively or primarily on device 12 rather than accessory 14, but accessory 14 may also be provided with some or all of these capabilities if desired.
Input-output devices 130 and 148 may be used to allow data to be supplied to device 12 and accessory 14 and may be used to allow data to be provided from device 12 and accessory 14 to external destinations. Input-output devices 130 and 148 can include devices such as non-touch displays and touch displays (e.g., based on capacitive touch or resistive touch technologies as examples). Visual information may also be displayed using light-emitting diodes and other lights. Input-output devices 130 and 148 may include one or more buttons. Buttons and button-like devices may include keys, keypads, momentary switches, sliding actuators, rocker switches, click wheels, scrolling controllers, knobs, joysticks, D-pads (direction pads), touch pads, touch sliders, touch buttons, and other suitable user-actuated control interfaces. Input-output devices 130 and 148 may also include microphones, speakers, digital and analog input-output port connectors and associated circuits, cameras, etc. Wireless circuitry in input-output devices 130 and 148 may be used to receive and/or transmit wireless signals.
As shown schematically in
As indicated in
The antenna structures and wireless communications devices of devices 12 and accessory 14 may support communications over any suitable wireless communications bands. For example, wireless communications circuitry 136 and 154 may be used to cover communications frequency bands such as cellular telephone voice and data bands at 850 MHz, 900 MHz, 1800 MHz, 1900 MHz, and 2100 MHz (as examples). Wireless communications circuitry 136 and 154 may also be used to handle the Wi-Fi® (IEEE 802.11) bands at 2.4 GHz and 5.0 GHz (also sometimes referred to as wireless local area network or WLAN bands), the Bluetooth® band at 2.4 GHz, and the global positioning system (GPS) band at 1575 MHz.
Although both device 12 and accessory 14 are depicted as containing wireless communications circuitry in the
Transceiver circuitry 120 and 138 may be used to support communications between electronic device 12 and accessory 14 over path 16. In general, both device 12 and accessory 14 may include transmitters and receivers. For example, device 12 may include a transmitter that produces signal information that is received by receiver 142 in accessory 14. Similarly, accessory 14 may have a transmitter 140 that produces data that is received by receiver 124 in device 12. If desired, transmitters 122 and 140 may include similar circuitry. For example, both transmitter 122 and transmitter 140 may include ultrasonic tone generation circuitry (as an example). Receivers 124 and 142 may each have corresponding tone detection circuitry. Transmitters 122 and 140 may also each have DC power supply circuitry for creating various bias voltages (which may be constant or which may be varied occasionally to convey information or to serve as a control signals), digital communications circuitry for transmitting digital data, analog signal transmission circuitry, or other suitable transmitter circuitry, whereas receivers 124 and 142 may have corresponding receiver circuitry such as voltage detector circuitry, analog components or receiver circuitry, digital receivers, etc. Symmetric configurations such as these may allow comparable amounts of information to be passed in both directions over link 16, which may be useful when accessory 14 needs to present extensive information to the user through input-output devices 148 or when extensive handshaking operations are desired (e.g., to support advanced security functionality).
It is not, however, generally necessary for both device 12 and accessory 14 to have identical transmitter and receiver circuitry. Device 12 may, for example, be larger than accessory 14 and may have available on-board power in the form of a rechargeable battery, whereas accessory 14 may be unpowered (and receiving power only from device 12) or may have only a small battery (for use alone or in combination with power received from device 12). As another example, accessory 14 may be part of a relatively complex system, whereas device 12 may be formed in a small housing that limits the amount of circuitry that may be used in device 12. In situations such as these, it may be desirable to provide device 12 and accessory 14 with different communications circuitry.
As an example, transmitter 122 in device 12 may include adjustable DC power supply circuitry. By placing different DC voltages on the lines of path 16 at different times, device 12 can communicate relatively modest amounts of data to accessory 14. This data may include, for example, data that instructs accessory 14 to power its microphone (if available) or that instructs accessory 14 to respond with an acknowledgement signal. A voltage detector and associated circuitry in receiver 138 of accessory 14 may process the DC bias voltages that are received from device 12. In this type of scenario, transmitter 140 in accessory 14 may include an ultrasonic tone generator that supplies acknowledgement signals and user input data (e.g., button press data) to device 12. A tone detector in receiver 124 may decode the tone signals for device 12. To support higher data rate transmissions between device 12 and accessory 14, device 12 may include an ultrasonic tone generator in transmitter 122 that transmits ultrasonic tones to a corresponding ultrasonic tone receiver in receiver 142 of accessory 14. If desired, patterns of tones may be transmitted by ultrasonic tone generators in transmitters 122 and 140 (e.g., patterns corresponding to particular commands or other information). These are merely illustrative examples. Device 12 and accessory 14 may include any suitable transceiver circuitry for communicating data using any suitable communications protocol if desired.
Applications running on the processing circuitry of device 12 may use decoded user input data as control signals. As an example, a cellular telephone application may interpret user input as commands to answer or hang up a cellular telephone call, a media playback application may interpret user input as commands to skip a track, to pause, play, fast-forward, or rewind a media file, etc. Still other applications may interpret user button-press data or other user input as commands for making menu selections, etc.
One illustrative circuit that may be used for one or more of the lines in path 16 is the circuitry of
When configured as shown in
Circuitry 216 may include circuits 184 and 186 (sometimes referred to as “hybrids”). Circuit 184 has input port 188 and output port 190. Common port 220 serves as both an input and an output for circuit 184. Current source 196 is connected between line 194 and power supply 208 and is modulated by the input signal on input 188. Circuit 186 has input port 212 and output port 214. Common port 222 serves as both an input and an output for circuit 186. Modulated current source 204 is connected between line 224 and power supply 210 and is controlled by the magnitude of the input signal on input 212.
In the example of
Circuit 184 has a summing circuit such as difference amplifier 192 with a negative input (−) and a positive input (+). This type of circuit may also be referred to as a summer, a differential amplifier circuit, a mixer, etc. The positive input of amplifier 192 receives the signal A from input 188 (e.g., from attenuator 176) while the negative input receives the common signal A+B from common input 220. The resulting output of amplifier 192 is proportional to signal B and is provided to output 190. In circuitry 186, the negative input of amplifier 206 receives the common signal A+B from common input 222 while the positive input of amplifier 206 receives the signal B from input 212 (e.g., via attenuator 178). A corresponding output proportional to signal A is produced by amplifier 206 and is routed to output 214, as shown in
Optionally, circuit 184 may have an attenuator circuit such as circuit 176 and circuitry 186 may have an attenuator circuitry such as circuit 178. With this type of arrangement, the gains of current sources 196 and 204 and the resistance of summing resistor 200 may be selected to match the attenuator circuits 176 and 178. As one example, circuit 176 may reduce the voltage of signal A received by amplifier 192 by one-fourth and circuit 178 may reduce the voltage of signal B received by amplifier 206 by one-fourth. The gain (gm) of current source 196 may be approximately equal to the gain (gm) of current source 204 (e.g., the amount of current the current source produces as a function of the input voltage). In addition, the gain (gm) of current sources 196 and 204 and the resistance (R) of resistor 200 may be configured such that the product of the gain (gm) and the resistance (R) of resistor 200 is approximately equal to 0.25 (e.g., gm*R=¼). In this example, the common signal A+B on line 218 may be approximately equal to A/4+B/4 and the signals A and B on outputs 214 and 190 may be approximately equal to A/4 and B/4, respectively.
Device 12 and accessory 14 may, if desired, include path configuration circuitry such as switches and other configurable circuitry. The path configuration circuitry may be configured to selectively switch circuitry such as circuitry 216 of
Circuitry 216 supports bidirectional (full duplex) communications. Device 12 may supply signal A to accessory 14 while accessory 14 simultaneously supplies signal B to device 12. Signal A may sometimes be referred to herein as an output (OUT) signal as signal A is output by device 12 to accessory 14 and signal B may sometimes be referred to herein as an input (IN) signal as signal B is received by device 12 from accessory 14. The signals that are transmitted in this way may be, for example, analog audio signals (e.g., analog signals in the audible frequency range of 20 Hz to 20 kHz), ultrasonic tones (e.g., tones at frequencies above 20 kHz that may be used alone or in patterns to represent control data or other signals), digital data, etc. The voltage that is supplied to power supply 210 may be conveyed over a separate power line in path 16. If desired, the power line may also be used to bias a microphone in accessory 14 and to provide power to circuitry in accessory 14.
Circuit pairs such as the pair of circuits of
The bidirectional paths formed by the first and second hybrid pairs can be used to convey any suitable signals between device 12 and accessory 14. In the
Device 12 may have one or more circuits such as circuit 226. Circuit 226 may include storage and processing circuitry and may be implemented using one or more integrated circuits and other suitable circuit components. With one suitable arrangement, which is sometimes described as an example, circuit 226 may include an audio integrated circuit (sometimes referred to as a codec). Circuit 226 may generate right channel audio output (R_OUT) on right channel audio output 232 and can generate left channel audio output (L_OUT) on left channel audio output 244.
Audio input can be received at audio inputs 238 and 240. Analog-to-digital converter circuitry in circuit 226 can be used to digitize incoming audio signals. These signals can then be processed by the other storage and processing circuitry in device 12. Circuit 226 may include active noise reduction circuits that use noise cancellation signals received using audio inputs 238 and 240 to remove noise from the left and right channel audio outputs (L_OUT and R_OUT). If desired, the active noise reduction circuits may include one or more differential amplifiers that can subtract the noise cancellation signals received using audio input 238 from the right channel audio output (R_OUT) and can subtract the noise cancellation signals received using audio input 240 from the left channel audio output (L_OUT).
The incoming audio signals on inputs 238 and 240 may correspond to microphone signals. Accessory 14 may have microphones such as microphones M1 and M2. Accessory 14 may also have a right-channel speaker such as speaker SR and a left-channel speaker such as speaker SL. Microphones M1 and M2 may be mounted in the vicinity of speakers SL and SR, respectively. In this type of configuration, microphones M1 and M2 may pick up ambient noise in the vicinity of speakers SL and SR and may therefore serve as noise cancelling microphones for speakers SL and SR, respectively. As another example, microphone M1 may be used to monitor the user's voice and microphone M2 may be used to pick up ambient noise in the vicinity of microphone M1, so that the microphone signals from microphone M2 can be used to reduce noise for microphone M1.
Noise cancellation operations can, in general, be implemented locally in accessory 14 or remotely in device 12. In the
When noise cancellation functions are implemented remotely in device 12, circuit 226 can implement noise cancellation functions (e.g., subtraction functions in which ambient noise is removed from the voice microphone) using the relatively extensive processing capabilities available in circuit 226 and device 12, thereby reducing the processing burden on the circuitry of accessory 14.
While microphone signals from M1 and M2 are being conveyed from accessory 14 to device 12, audio signals may be routed over the right and left channel audio lines to speakers SR and SL. The audio signals may be separate left and right channel audio signals or may be a mono signal that has been replicated on both channels. The audio signals may correspond to any suitable content such as a voice in a voice telephone call or a media file in a media playback operation.
The operation of the transconductance amplifiers and summers in the hybrids consumes power. Power can be conserved and high-quality audio playback can be obtained by bypassing the hybrid circuits when bidirectionality is not required. As an example, the hybrids may be bypassed when microphones M1 and M2 are not being used (e.g., when noise cancellation functions are disabled), but audio playback is still desired. With another example, the hybrids may be bypassed when supporting legacy accessories (i.e., accessories without extensive noise cancellation functions or other capabilities that draw larger amounts of power). Lower-power modes can also be used when it is desired to conserve battery power. In this type of example, the power (PWR) line in path 16 may provide a relatively high-impedance power supply voltage that can be used as a microphone bias signal.
The power (PWR) and ground (GND) lines in the path 16 may convey power supply signals between device 12 and accessory 14. Accessory 14 may use the power supply signals on the power (PWR) and ground (GND) lines in path 16 to generate microphone bias signals and other power supply voltages in accessory 14. The power supply signals from the power (PWR) and ground (GND) lines may be used to power left and right audio amplifiers (e.g., to amplify the L_OUT and R_OUT signals for the left and right speakers SL and SR), hybrid circuits, audio processing circuits, displays, and other circuits and components in accessory 14 (as examples).
With one suitable arrangement, the ground line (GND) in path 16 may include two or more separate ground lines that converge near the ground audio connector 46 as illustrated in the example of
If desired, the power ground line (PGND) may serve as the ground line for relatively high power components in accessory 14 such as differential amplifiers, audio amplifiers, processing circuits, displays, etc. The signal ground lines (SGND1 and SGND2) may serve as the ground lines for relatively low power components in accessory 14. In particular, the signal ground lines may serve as the ground lines for components that handle signals such as L_OUT, L_IN, R_OUT, and R_IN. This type of arrangement may help to reduce noise in components that use the signal ground lines. If desired, the first signal ground line (SGND1) may be used in components that handle the left audio channel signals (L_IN and L_OUT) and the second signal ground line (SGND2) may be used in components that handle the right audio channel signals (R_IN and R_OUT). This helps to reduce cross talk.
Device 12 may include circuitry that monitors ground signals on the ground audio connector 46 in device 12. As one example, a ground detect line (GND_DET) may be connected to the ground audio connector 46 in device 12 as shown in
Shared circuit 274 may generate one or more reference voltages such as reference voltage VB1 for circuits 276 and 280 (as examples). With one arrangement, circuit 274 may receive a power supply voltage VDD1 from device 12 and may generate the reference voltage VB1. As one example, the power supply voltage VDD1 may be 3.0 volts.
Capacitors C3 and C4 in circuit 274 may help to reduce noise in circuit 274. In general, capacitors C3 and C4 may have any suitable capacitances. The capacitances of capacitors C3 and C4 need not be equal. As one example, capacitors C3 and C4 may each have a capacitance of 1.0 microfarads (1.0 μF).
Zener diode U4 may provide a reference voltage difference between VDD1 and a node between resistors R21 and R22. With one suitable arrangement, zener diode U4 may be configured to have a breakdown voltage of approximately 1.225 volts (e.g., to maintain the node between resistors R21 and R22 within 1.225 volts of the voltage VDD1).
Resistors R22 and R23 may form a voltage divider that provides the positive input to amplifier U3A in circuit 274. In general, resistors R22 and R23 may have any suitable resistances. As one example, resistors R22 and R23 may have resistances of approximately 75.0 kilohms and 118.0 kilohms, respectively. Resistor R21 may have a resistance of approximately 22.1 kilohms (as an example). With this type of arrangement, the voltage divider formed by resistors R22 and R23 may generate a voltage at VDD1−0.75 volts and may provide the voltage to the positive input of amplifier U3A.
Amplifier U3A may receive the voltage at VDD1−0.75 volts and may be configured as a voltage follower that generates an output at VDD1−0.75 volts (e.g., the negative input of the amplifier may be coupled to the output of the amplifier). The output of amplifier U3A may be fed into a voltage divider formed by resistors R24 and R25. The output of the voltage divider may be a shared reference voltage VB1 that is used by both circuits 276 and 280. In general, resistors R24 and R25 may have any suitable resistances. Resistor R24 may have a resistance that is half the resistance of resistor R25. As one example, resistors R24 and R25 may have resistances of 22.1 kilohms and 44.2 kilohms, respectively. With this type of arrangement, the output of the voltage divider formed by resistors R24 and R25 may be two-thirds of its input (e.g., ⅔*(VDD1−0.75) volts).
Circuit 276 may be a part of hybrid circuit 236. In operation, circuit 276 may function as a current source (such as current source 196 of
Differential amplifier U1B may have a positive input that receives the reference voltage VB1 from circuit 274 and a negative input connected to a node between resistors R2 and R3. With this type of arrangement, when the voltage on output 244 (i.e., L_OUT) is zero, the output of amplifier U1B may be at (VDD1−0.75−VBE(Q1)) volts and the output current of transistor Q1 may be determined by dividing 0.75 volts by the resistance of resistor R1. VBE(Q1) may represent the voltage drop across the base and emitter terminals of transistor Q1. When the voltage on output 244 is nonzero, the output of amplifier U1B may be reduced by a given factor equal to the voltage of output 244 multiplied by the resistance of R2 divided by the resistance of R3. The output current of transistor Q1 in this arrangement may be reduced by the given factor divided by the resistance of resistor R1. The output of circuit 276 (i.e., the current added to left channel audio line L in path 16) may therefore be proportional to the voltage of output 244 with an additional constant (DC) bias current (e.g., the current of transistor Q1 when the voltage on output 244 is zero.
Circuit 278 may be another part of hybrid circuit 226. In operation, circuit 278 may receive signals from the left channel audio line L in path 16 and from the output 244 of circuit 226 and may generate left audio channel input signals (L_IN) for input 240 of circuit 226. Resistors R5, R6, and R7 may form an attenuator (see, e.g., attenuator circuit 176 of
Circuit 278 may include amplifier U1C coupled to the left audio path (L) in path 16. Amplifier U1C may be configured as a voltage follower (e.g., amplifier U1C may have its negative input connected to its output). If desired, there may be a resistor such as resistor R4 located between the left audio path (L) (e.g., the tip connector 45 in device 12) and the amplifier U1C. Resistor R4 may provide electrostatic discharge (ESD) protection to device 12. Resistor R4 may have any suitable resistance and, as one example, may have a resistance of 4.7 kilohms.
Amplifier U1D may be configured as a differential amplifier that uses the difference between the voltage on the left audio path (L) and the (attenuated) voltage from the left audio output 244 to generate the input 240 for codec 226 (e.g., to receive the incoming analog signals from accessory 14 conveyed on the bidirectional path L). The differential amplifier U1D may have associated resistors R8, R9, and R10. The resistors R8, R9, and R10 may have any suitable resistances and, as one example, these resistors may have resistances of 44.2 kilohms, 22.1 kilohms, and 44.2 kilohms, respectively.
Circuits 280 and 282 may handle signals carried on the right channel audio path (R) in path 16. For example, circuits 280 and 282 may handle signals output from the right channel output (R_OUT) 232 and may generate the right channel input (R_IN) for input 238. With one suitable arrangement (as illustrated in the
If desired, device 12 may include power supply circuitry such as circuitry 284. With one suitable arrangement, circuitry 284 may convert an internal power supply voltage V to the power supply voltage VDD1 used in the circuitry of
Circuitry 284 may include capacitors C10 and C11, resistors R38 and R39, and amplifiers U6 and U7. As examples, the capacitor C10 may have a capacitance of approximately 10.0 microfarads, the capacitor C11 may have a capacitance of approximately 1.0 microfarads, and the resistors R38 and R39 may each have a resistance of approximately 14.0 kilohms. Resistor R60 is a schematic representation of the resistance between circuitry 284 and the circuits in
The illustrative circuit configuration of
Circuit 286 may include an amplifier U3B with a positive input connected directly to the ground contact (GND) in the female connector 45 of device 12 that couples with the male ground connector 47 of accessory 14. Schematically, circuit 286 may also include resistors R26 and R27. Resistors R26 and R27 may represent the resistance between the negative input of amplifier U3B and the output of the amplifier and the ground in device 12, respectively. With one suitable arrangement, resistor R27 may have a resistance of approximately 1.0 ohms and resistor 26 may have a resistance of approximately 30 milliohms. With another suitable arrangement, resistor R27 may have any suitable resistance and resistor R26 may have a resistance that is approximately three-hundredths the resistance of resistor R27. In general, resistors R27 and R26 may have any suitable resistances.
Resistors R29 and R30 may schematically represent the resistance between the female connectors 45 of device 12 and the circuitry in device 12 connected to those connectors. As one example, resistors R29 and R30 may each have a resistance of approximately 1.0 ohms due to parasitic resistances, printed circuit board resistances, and other sources of resistance. Resistors R29 and R30 are generally not actual resistors and are shown in
Shared circuit 300 may generate one or more reference voltages such as reference voltage VB2 for circuits 302 and 306 (as examples). Circuit 300 may receive a power supply voltage PWR from device 12 over path 16 and may generate the reference voltage VB2. With one suitable arrangement, amplifier U10A may produce a signal at its output that is approximately equal to the voltage of the power line PWR−0.75 volts (as one example).
Circuit 300 may include capacitors such as capacitors C28, C16, C17, and C18. With one arrangement, capacitor C28 may help to reduce noise in circuit 300. In general, capacitors C28, C16, C17, and C18 may have any suitable capacitances. The capacitances of these capacitors need not be equal. As one example, capacitors C28, C16, C17, and C18 may each have a capacitance of 1.0 microfarads.
Zener diodes U11 and U12 may provide reference voltage differences in circuit 300. With one suitable arrangement, zener diodes U11 and U12 may be configured to have a breakdown voltage of approximately 1.225 volts.
Circuit 300 may include resistors R61, R62, R63, R64, R65, R66, R67, and R68. In general, the resistors in circuit 300 may have any suitable resistances and each of the resistors may have a different resistance. As one example, the resistors R61, R62, R63, R64, R65, R66, R67, and R68 may have resistances of approximately 118.0 kilohms, 75.0 kilohms, 6.2 kilohms, 44.2 kilohms, 44.2 kilohms, 44.2 kilohms, 13.3 kilohms, and 59.0 kilohms, respectively.
Circuit 300 may also include amplifiers U10A and U10B. Amplifier U10A may be configured as a voltage follower (e.g., the output of amplifier U10A may be connected to its negative input) that produces a voltage approximately equal to the voltage of PWR−0.75 volts. In addition, circuit 300 may include multiple ground points. With one suitable arrangement, circuit 300 may include connections to a signal ground SGND1 in accessory 14 and connections to a power ground PGND in accessory 14. The signal ground SGND1 and the power ground PGND may be connected to signal and power ground lines in path 16 that converge into a single ground line (see, e.g., the
Circuit 302 may be a part of hybrid circuit 264. In operation, circuit 302 may function as a current source (such as current source 204 of
Amplifier U8B may be configured as a differential amplifier with a positive input that receives the reference voltage VB2 from circuit 300 and a negative input connected to a node between resistors R43 and R44. With this type of arrangement, when the voltage L_IN from circuit 310 is zero, the output of amplifier U8B may be at (PWR−0.075−VBE(Q3)) volts and the output current of transistor Q3 may be determined by dividing 0.75 volts by the resistance of resistor R42. When the voltage on L_IN from circuit 310 is nonzero, the output of amplifier U8B may be reduced by a given factor equal to the voltage of L_IN multiplied by the resistance of R44 divided by the resistance of R43. The output current of transistor Q3 in this arrangement may be reduced by subtracting the given factor divided by the resistance of resistor R42. The output of circuit 302 (i.e., the current added to left channel audio line L in path 16) may therefore be proportional to the voltage of L_IN with an additional constant (DC) bias current.
Circuit 304 may be another part of hybrid circuit 264. In operation, circuit 304 may receive signals from the left channel audio line L in path 16 and from the output (L_IN) of circuit 310 and may generate left audio channel signals (L_OUT) for the left channel speaker 312. If desired, the left and right channel speakers 312 and 314 may include amplifier circuitry. Resistors R45 and R46 may form an attenuator circuit similar in operation to the attenuator circuit 178 of
Circuit 304 may include amplifier U8C coupled to the left audio path (L) in path 16. Amplifier U8C may be configured as a voltage follower (e.g., may have its negative input connected to its output). If desired, there may be a resistor such as resistor R47 located between the left audio path (L) (e.g., the tip connector 45 in accessory 14) and the amplifier U8C. Resistor R47 may provide electrostatic discharge (ESD) protection to device 12. Resistor R47 may have any suitable resistance and, as one example, may have a resistance of 4.7 kilohms.
Amplifier U8D may be configured as a differential amplifier that uses the difference between the voltage on the left audio path (L) and the (attenuated) voltage from the left microphone amplifier in circuit 300 to generate the left audio channel signals L_OUT for the left speaker 312 (e.g., to receive the incoming analog signals from device 12 conveyed on the bidirectional path L). The differential amplifier U8D may have associated resistors R48 and R49. The resistors R48 and R49 may have any suitable resistances and, as one example, resistors R48 and R49 may have resistances of 22.1 kilohms and 44.2 kilohms, respectively.
Circuits 306 and 308 may handle signals carried on the right channel audio path (R) in path 16. For example, circuits 306 and 306 may handle signals (R_IN) output from the right channel microphone amplifier in circuit 310 and may generate the right channel speaker signals (R_OUT) for the right channel speaker 314. With one suitable arrangement (as illustrated in the
If desired, accessory 14 may include microphone amplifier circuitry 310. Microphone amplifier circuitry 310 may generate microphone signals that are sent to device 12 using hybrid circuits. Microphone circuitry 310 can include a first microphone M1 and a second microphone M2. With one suitable arrangement, microphone M1 can be located near the left speaker SL and microphone M2 can be located near the right speaker SR to detect ambient noise near the speakers as part of a noise cancellation operation. With another suitable arrangement, microphone M1 can be used to detect a user's voice and microphone M2 can be used to detect ambient noise around microphone M2 as part of a microphone noise cancellation operation.
Circuitry 310 may include circuitry for generating a left microphone signal such as amplifier U10C, resistors R69 and R70, capacitor C19, and transistors D1 coupled to microphone M1. Microphone M1 may be coupled between a first signal ground SGND1 and resistor R70. Resistor R70 may be coupled to the microphone bias line from circuit 300. As an example, resistors R69 and R70 may have resistances of approximately 68.0 kilohms and 2.2 kilohms, respectively. Capacitor C19 may have a capacitance of approximately 1.0 microfarad.
Circuitry 310 may also include circuitry for generating a left microphone signal such as amplifier U10D, resistors R68 and R72, capacitor C20, and transistors D2 coupled to microphone M2. Microphone M2 may be coupled between a second signal ground SGND2 and resistor R72. Resistor R72 may be coupled to the microphone bias line from circuit 300. As an example, resistors R68 and R72 may have resistances of approximately 68.0 kilohms and 2.2 kilohms, respectively. Capacitor C20 may have a capacitance of approximately 1.0 microfarad.
The foregoing is merely illustrative of the principles of this invention and various modifications can be made by those skilled in the art without departing from the scope and spirit of the invention.
Number | Name | Date | Kind |
---|---|---|---|
3648249 | Goldsberry | Mar 1972 | A |
3746991 | Gautney | Jul 1973 | A |
4338846 | Pogoda | Jul 1982 | A |
5345510 | Singhi | Sep 1994 | A |
5388496 | Miller | Feb 1995 | A |
RE35536 | Irissou et al. | Jun 1997 | E |
6069960 | Mizukami et al. | May 2000 | A |
6745014 | Seibert et al. | Jun 2004 | B1 |
6988905 | Corey et al. | Jan 2006 | B2 |
7006643 | Anderson | Feb 2006 | B2 |
7023983 | King | Apr 2006 | B2 |
7110799 | Willins et al. | Sep 2006 | B1 |
7349546 | Ganton | Mar 2008 | B2 |
20010050993 | Douglas | Dec 2001 | A1 |
20010053228 | Jones | Dec 2001 | A1 |
20020032047 | Ingbir | Mar 2002 | A1 |
20050190306 | Lee | Sep 2005 | A1 |
20050201568 | Goyal | Sep 2005 | A1 |
20060009868 | Park | Jan 2006 | A1 |
20060223581 | Jacobs | Oct 2006 | A1 |
20070004472 | Gitzinger | Jan 2007 | A1 |
20070177741 | Williamson | Aug 2007 | A1 |
20070178947 | Kim | Aug 2007 | A1 |
20070225049 | Andrada | Sep 2007 | A1 |
20080019546 | Delano et al. | Jan 2008 | A1 |
20080032753 | Nho | Feb 2008 | A1 |
20080039072 | Bloebaum | Feb 2008 | A1 |
20080164994 | Johnson et al. | Jul 2008 | A1 |
20080175402 | Abe et al. | Jul 2008 | A1 |
Number | Date | Country |
---|---|---|
1 976 246 | Oct 2008 | EP |
9957937 | Nov 1999 | WO |
03056790 | Jul 2003 | WO |
2008085929 | Jul 2008 | WO |