An embodiment of the invention relates to an electronic audio device that determines whether speakers are matching or non-matching. Other embodiments are also described.
Relying upon multiple speaker vendors for the purchase of speaker components in the manufacturing of electronic audio devices would be helpful in that it would improve supply chain reliability and would drive down costs. However, one issue with relying upon multiple speaker vendors is that the response from each type of vendor speaker needs to be equalized by a software program of the electronic audio device. Each equalizer ‘EQ’ software program is typically designed for speakers from a particular vendor, so in order to maintain the best level of audio performance, a different EQ software program needs to be implemented by the electronic audio device, based upon the vendor speaker installed in the electronic audio device.
Another issue that may occur is that one speaker from one vendor may be installed on the electronic audio device as well as another speaker from another vendor, which results in a faulty speaker system. This may occur either by accident during manufacturing or during a re-work of the electronic audio device.
An embodiment of the invention is an electronic audio system that determines whether speakers are matching or non-matching speakers (i.e., whether the speakers are from a common speaker vendor or from different speaker vendors). For example, the electronic audio system may include: a first speaker; a second speaker; and a comparator circuit. The comparator circuit may be coupled to the first speaker and the second speaker and may receive an input signal from both the first and second speaker. The comparator circuit may be configured to determine if the first speaker and the second speaker are matching speakers or non-matching speakers based upon the received input signals. If the first and second speakers are matching speakers then they are from a common vendor. If the first and second speakers are not matching speakers, then they are from different vendors.
In one embodiment, if matching speakers from a common vendor are determined by the comparator circuit, an appropriate state signal is transmitted to and received by a processor such that the processor executes appropriate equalizing (‘EQ’) software for the particular vendor speaker. On the other hand, if the comparator circuit determines that the first and second speakers are non-matching speakers (i.e., they are different vendor speakers), then a particular state signal is transmitted to and received by the processor such that processor executes software to display that the speakers are from different vendors. In this way, a manufacturer or technician can be alerted that different vendor speakers have been installed and this error can be resolved.
The above summary does not include an exhaustive list of all aspects of the present invention. It is contemplated that the invention includes all systems and methods that can be practiced from all suitable combinations of the various aspects summarized above, as well as those disclosed in the Detailed Description below and particularly pointed out in the claims filed with the application. Such combinations have particular advantages not specifically recited in the above summary.
The embodiments of the invention are illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment of the invention in this disclosure are not necessarily to the same embodiment, and they mean at least one.
Several embodiments of the invention with reference to the appended drawings are now explained. While numerous details are set forth, it is understood that some embodiments of the invention may be practiced without these details. In other instances, well-known circuits, structures, and techniques have not been shown in detail so as not to obscure the understanding of this description.
Before addressing the aspects of how to determine whether speakers are matching or non-matching speakers (i.e., whether the speakers are from a common speaker vendor or from different speaker vendors), a combined block diagram and circuit schematic of relevant portions of a portable communications device as an example of the audio system 1 is presented in
Being a portable device, the audio system 1 depicted in
It should appreciated that the embodiments of the invention related to a comparator circuit in an electronic audio system to determine whether speakers are matching or non-matching speakers, as will be described, may be part of any portable or non-portable computing device. It should be appreciated that an audio system may be employed with any type of computing device: personal desktop computer, laptop computer, mobile computer, mobile device, etc.
The audio system 1 depicted in
The various functions of the audio system 1 may be managed by a data processor 8, which may be an applications processor, a central processing unit, or a system on a chip (SoC). The term “data processor” is used generically here to refer to any suitable combination of data processing circuitry. The data processor 8 is programmed by instructions stored in data storage 5, depicted here as applications or modules including an application 23 (e.g., a word processing application or an Internet browser application), and a media file player application 25 (to enable playback or streaming of digital audio and video files). The data storage 5 may be composed of non-volatile memory such as flash memory or a hard disk drive, in addition to random access memory. The data storage 5 may also have stored therein an audio mode switcher 24 which programs the processor 8 to select an audio output mode of operation, being one of line out mode and headphone mode. In so doing, the audio mode switcher 24 controls or configures an output conditioning circuit 3 in order to change output impedance that is presented at one or more signal pins of the accessory connector 7.
Audio output may be achieved through the accessory connector 7, which may be integrated within the housing (not shown) of the audio system 1 together with the hardware components depicted in
The pins of the accessory connector 7 are coupled to an audio codec 9. The codec 9 is an integrated circuit having a digital to analog converter (DAC), an analog to digital converter (ADC), and an audio power amplifier. The audio codec 9 may be a single integrated circuit die that is separately packaged by itself or in combination with other circuitry, as an audio IC package. It has, in this case, at least two analog audio output pins labeled “audio out” that are driven by their respective power amplifiers, through an output conditioning circuit 3, before passing through the corresponding signal pins of the accessory connector 7. The audio content is driven by the audio codec 9 relative to the ground/reference pin of the connector 7. The audio content that is output by the codec 9 may be produced or routed by the data processor 8 (e.g., while playing a digital audio file under control of the media file player app 25), or the baseband processor 10 which may be decoding and delivering a downlink speech signal during a call. Codec 9 also has several input pins, including an external mic line input and, in this case, at least two separate audio input pins. The external microphone line allows the audio codec 9 to receive input audio content from an external device, e.g., speech of a near-end user, through the mic pin of the accessory connector 7.
Comparator circuit 201 may be configured to determine if the first speaker 14 and the second speaker 15 are matching speakers (e.g., from common speaker vendors) or non-matching speakers (e.g., from different speaker vendors) based upon the received input signals 202 and 204. In particular, if the first and second speakers 14 and 15 are matching speakers then they are most probably from a common vendor. On the other hand, if the first and second speakers 14 and 15 are non-matching speakers, then they are most probably from different vendors.
It should be appreciated that the use of a first speaker 14 and second speaker 15 are merely examples of a pre-determined number of speakers (e.g., two speakers) and that any number of speakers up through speaker N 19 having corresponding input signals 205 may also be coupled to comparator circuit 201, in which, the comparator circuit 201 may determine whether the speakers 1-N are matching or non-matching speakers.
Further, comparator circuit 201 may be coupled to data processor 8 to provide a state signal 210 to data processor 8. Therefore, data processor 8 receives a state signal 210 from comparator circuit 201. The state signal 210 may indicate to data processor 8 whether the attached first and second speakers 14 and 15 are matching speakers or non-matching speakers.
As an example, in one embodiment, a first set of common vendor speakers 14 and 15 provide input signals 202 and 204 to comparator circuit 201 that causes comparator circuit 201 to output a low state signal 210 to data processor 8. The low state signal 210 is received by data processor 8 and data processor 8 executes equalizing software associated with the first set of common vendor speakers 14 and 15. Thus, if matching speakers 14 and 15 are from a common vendor, as determined by compactor circuit 201, an appropriate state signal 210 is transmitted to and received by data processor 8, and based upon the received state signal 210, data processor 8 executes appropriate equalizing (EQ) software for the particular vendor speaker.
In this particular example, the first and second speakers 14 and 15 are from a vendor A, and each speaker provides an input signal 202 and 204 to comparator circuit 201, that outputs a low state signal 210 to data processor 8. Data processor 8 based upon the low state signal 210 implements EQ software 220 that is particular for speaker vendor A. In this way, a proper level of audio performance is implemented for the first and second speakers 14 and 15 that are from vendor A.
Similarly, the first and second speakers 14 and 15 may be a second set of common vendor speakers associated with another vendor, such as, vendor B. In this example, the first and second speakers 14 and 15 provide an input signal 202 and 204 to comparator circuit 201 that causes comparator circuit 201 to output a state signal 210 to data processor 8. In this example, if matching first and second speakers 14 and 15 are from another common vendor (e.g., vendor B), as determined by compactor circuit 201, an appropriate high state signal 210 is transmitted to and received by data processor 8.
Based upon the received high state signal 210, data processor 8 executes appropriate EQ software for the particular vendor speaker (vendor B). In this example, data processor 8 executes equalizing software 222 for vendor B that is associated with the second set of common vendor speakers 14 and 15 from vendor B to provide optimal audio preference.
On the other hand, if the first and second speakers 14 and 15 provide input signals 202 and 204 to comparator circuit 201, such that, comparator circuit 201 determines that the first and second speakers 14 and 15 are non-matching speakers (e.g., they are different vendor speakers), then a state signal 210 indicating non-matching speakers is transmitted to and received by data processor 8. In this example, the state signal indicating non-matching speakers is an oscillation state signal 210. Based upon the receipt of the oscillation state signal 210, data processor 8 executes different vendor software 230 that displays (e.g., via display screen 13 or a sound device) that the first and second speakers 14 or 15 are from different vendors and that an error has occurred. Also, instead of display software and/or a display, a diagnostic tool may be used to determine if the first and second speakers 14 or 15 are from different vendors and that an error has occurred. In these ways, manufacturing personnel or a technician can be alerted that different vendor speakers have been incorrectly installed such that they can resolve this error. For example, they can remove and replaces the speakers to make sure that common vendor speakers are installed. As an example, speaker(s) 14 and/or 15 may be de-soldered and detached and new vendor replacement speakers may be hardwired and soldered and attached.
With additional reference to
As will be described, comparator circuit 201 may use the input signals 202 and 204 to determine the output state signal (Vout) 210 through an operational amplifier 310 as: a low state for one vendor (e.g., vendor A), a high state for another vendor (e.g., vendor B), or an error state (e.g., an oscillation signal—such as, a 50% duty cycle oscillation) for a miss-match of vendor speakers (e.g., vendor speakers A and B connected). The comparator circuit 201 may be a rail-to-rail, push-pull comparator powered by Vcc 312, as shown. It should be appreciated that
In this example,
As a first particular example, as shown in
With additional reference to
Noise on the inputs to the operational amplifier 310 could result in the output state signal (Vout) 210 going either low or high.
In the output low case, the positive input to the operational amplifier 310 is pulled low through the three parallel resistors 320. With additional reference to
In the output high case, with additional reference to
With additional reference to
In this example, at startup, the voltage of capacitor 315 (Vc) should be zero. The positive input of operational amplifier 310 should be pulled high through the parallel 2R-2R-R resistors 350. Therefore, the operational amplifier 310 output will remain positive. The capacitor 315 at the negative input of the operational amplifier 310 should charge to 0.7 Vcc; which is not high enough to turn the operational amplifier 310 output low. Because of this, the operational amplifier 310 output 201 Vout provides a high state signal to the data processor 8, as previously described. Thus, in this way, the outputted state signal 210 of comparator circuit 201 is a high state signal.
In another embodiment, with additional reference to
In this configuration, the comparator circuit 201 forms a modified relaxation oscillator. With additional reference to
With additional reference to
The capacitor 315 at the negative terminal of the operational amplifier 310 will then attempt to discharge to 0.1 Vcc, but when it reaches 0.2 Vcc, the output 210 of the operational amplifier 310 will go high, changing the voltage at the positive terminal of the operational amplifier 310 to approximately 0.6 Vcc. This process will continue so long as Vcc remains present resulting in a square wave at the output 210 of the operational amplifier 310. Thus, in this way, the outputted state signal 210 of comparator circuit 201 is an oscillation state signal (e.g., an oscillation signal—such as, a 50% duty cycle oscillation square wave).
It should be noted that because the Thevenin equivalent resistors are the same in both the charging and discharging case—the parallel combination of R, ⅓R, and ⅙R—and the delta between the trip and charge- to voltages is the same—0.1 V—the charging and discharging times will be the same, resulting in a 50% duty cycle square wave. Further, the frequency of oscillation may be tunable by appropriately setting the values of R and C.
Starting with the general capacitor charging/discharging equation:
The required time constant may be calculated to yield a particular charge time, given the charge-to-voltages and trip point voltages. The equation for the time constant is:
Where:
Plugging in RC for τ and solving for t, it can be found that:
R may be determined using the Thevenin equivalent value for the charging circuit. It should be appreciated that a table or spreadsheet may used to adjust values of R and C as they relate to oscillation frequency, including tolerance, in order to simplify the design.
With additional reference to
Thus, as previously described in detail, comparator circuit 201 by utilizing speaker vendor inputs from two speaker connectors, either of which may be floating or tied to ground, may generate a state signal 210 that is either: a logic level high, a logic level low, or a low speed oscillating square wave signal. By sampling the state signal over a short period of time, it may be determined which input is present (e.g., speakers from vendor A, speakers from vendor B, or miss-matched vendor A and vendor B speakers). In the case of the miss-matched speakers, the comparator circuit 201 can determine this by acting as a relaxation oscillator. The output state signal 210 (e.g., low, high, or oscillation) may be connected to data processor 8 of the electronic audio device that includes software programs to equalize vendor A speakers (EQ software speaker vendor A) 220; equalize vendor B speakers (EQ software speaker vendor B) 222, or to alert manufacturing or re-working personnel, utilizing different vendor software 230, through a displayed and/or sound-based cue, that miss-matched speakers have been assembled to the electronic audio device. Also, as previously described, instead of display software and/or a display, a diagnostic tool may be used to determine if the first and second speakers 14 or 15 are from different vendors and that an error has occurred. When this occurs, they can remove and replace the speakers to make sure that common vendor speakers are installed.
It should be appreciated that the use of first and second speakers 14 and 15 are merely examples of a pre-determined number of speakers (e.g., two speakers) and that any number of speakers (e.g., N speakers) having corresponding input signals may also be coupled to comparator circuit 201, in which, the comparator circuit may determine whether the speakers 1-N are matching or non-matching speakers. Further, it should be appreciated that the comparator circuit 201 may be designed to determine and identify any number (N) of different speaker vendor types with state signals that are transmitted to the data processor 8 and that the data processor may likewise provide EQ software for any number (N) of vendor speakers. Additionally, comparator circuit 201 may be designed to determine mismatches of any number (N) of different vendor speakers and the data processor 8 may likewise be designed to alert technical personnel of such different vendor speakers.
While certain embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of and not restrictive on the broad invention, and that the invention is not limited to the specific constructions and arrangements shown and described, since various other modifications may occur to those of ordinary skill in the art. For example, although the audio system depicted in the figures may be a smart phone, digital media player, or a tablet computer, the audio system may alternatively be a different portable device such as a laptop computer, or even a non-portable device such as a desktop computer or a home entertainment appliance (e.g., digital media receiver, media extender, media streamer, digital media hub, digital media adapter, or digital media renderer). The description is thus to be regarded as illustrative instead of limiting.
This application is based upon and claims the benefit of priority from U.S. Provisional Patent Application No. 61/657,533, filed on Jun. 8, 2012; the entire contents of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
4124786 | Kircher | Nov 1978 | A |
5815584 | Whitecar et al. | Sep 1998 | A |
6359987 | Tran et al. | Mar 2002 | B1 |
7099481 | Baker et al. | Aug 2006 | B2 |
7764797 | Yamamoto et al. | Jul 2010 | B2 |
8063698 | Howard | Nov 2011 | B2 |
20040081099 | Patterson et al. | Apr 2004 | A1 |
20050175195 | Cheney et al. | Aug 2005 | A1 |
20130251165 | Jorgensen et al. | Sep 2013 | A1 |
Number | Date | Country |
---|---|---|
102348148 | Feb 2012 | CN |
2003-018700 | Jan 2003 | JP |
Number | Date | Country | |
---|---|---|---|
20130329897 A1 | Dec 2013 | US |
Number | Date | Country | |
---|---|---|---|
61657533 | Jun 2012 | US |