[From nobody Sat Aug 16 21:14:28 2008
Return-Path: &lt;wolfgang@openmoko.com&gt;
X-Flags: 1001
Delivered-To: GMX delivery to joerg.twinklephone@gmx.de
Received: (qmail invoked by alias); 30 Mar 2008 04:16:47 -0000
Received: from aakash.openmoko.org (EHLO aakash.openmoko.org) [124.219.5.209]
	by mx0.gmx.net (mx080) with SMTP; 30 Mar 2008 06:16:47 +0200
Received: from [222.35.181.223] (helo=[192.168.1.2])
	by aakash.openmoko.org with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.63) (envelope-from &lt;wolfgang@openmoko.com&gt;)
	id 1Jfoy8-0003Ue-8r; Sun, 30 Mar 2008 12:16:42 +0800
Cc: joerg &lt;joerg.twinklephone@gmx.de&gt;
Message-Id: &lt;E9817EC7-FA65-4C9E-80F7-9F918988638E@openmoko.com&gt;
From: Wolfgang Spraul &lt;wolfgang@openmoko.com&gt;
To: &quot;Teenie [?????]&quot; &lt;teenie_hung@fic.com.tw&gt;,
 Tim Lee &lt;tim_lee@fic.com.tw&gt;
Content-Type: multipart/alternative;
  boundary=Apple-Mail-3-910137442
Mime-Version: 1.0 (Apple Message framework v919.2)
Date: Sun, 30 Mar 2008 12:16:43 +0800
References: &lt;200803300446.05576.joerg.twinklephone@gmx.de&gt;
X-Mailer: Apple Mail (2.919.2)
X-SA-Exim-Connect-IP: 222.35.181.223
X-SA-Exim-Mail-From: wolfgang@openmoko.com
X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on 
	aakash.openmoko.org
X-Spam-Status: No, score=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,
	HTML_40_50,HTML_MESSAGE autolearn=ham version=3.1.7-deb
Subject: Fwd: GTA02A5: bug in Headset Amp circuitry,
	max output power to headset
X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
X-SA-Exim-Scanned: Yes (on aakash.openmoko.org)
X-GMX-Antivirus: -1 (not scanned, may not use virus scanner)
X-GMX-Htest: 0.46,0.47
X-GMX-Antispam: 0 (Mail was not recognized as spam)
X-GMX-UID: Byzac6t/Rkke+L95UGRq7nRmdWkvKJPI


--Apple-Mail-3-910137442
Content-Type: text/plain;
	charset=UTF-8;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: quoted-printable

Teenie, Tim Lee -
same as before, please look into this.
Thanks,
Wolfgang

Begin forwarded message:

&gt; From: joerg &lt;joerg.twinklephone@gmx.de&gt;
&gt; Date: March 30, 2008 10:45:59 AM GMT+08:00
&gt; To: openmoko-kernel@lists.openmoko.org
&gt; Cc: Andy Green &lt;andy@openmoko.com&gt;, Wolfgang Spraul =
&lt;wolfgang@openmoko.com=20
&gt; &gt;
&gt; Subject: GTA02A5: bug in Headset Amp circuitry, max output power to =20=

&gt; headset
&gt;
&gt; To make things worse and this a real bug, we have 1kR R4116,R4117 as
&gt; additional load after the Cs, in parallel to the speakers of headset.
&gt; (No, these Rs are ok, they just make things worse wrt small =20
&gt; capacitors)
&gt;
&gt;&gt; =46rom datasheet, p5:
&gt;&gt;&gt; Output coupling capacitor which blocks the DC voltage at the =20
&gt;&gt;&gt; amplifier=E2=80=99s
&gt;&gt;&gt; output. Forms a high pass filter(!!!) with the single-ended load =20
&gt;&gt;&gt; RL at
&gt;&gt;&gt; fO =3D 1/(2=CF=80 RLCO).
&gt;&gt; With e.g. *typical* (-&gt;ds, p.12) 32R-headphones, RL =3D 65 Ohm! Could =
=20
&gt;&gt; anybody
&gt;&gt; check the Z for OM-headset?
&gt;&gt; Please calculate f0 for this value!!!!!!
&gt;
&gt; So even with some headset with &quot;infinite&quot; Z, my result for above =20
&gt; equation is
&gt; f0=3D~160Hz still, which is not acceptable for high quality sound =20
&gt; (IMHO not for
&gt; music playback at all!). This means you can't even connect your home =20=

&gt; stereo
&gt; to the earphone outlet to get usable sound, it also will drop =20
&gt; -3dB@250HZ.
&gt; This much for frequency response. Now for volume:
&gt; With 3.3V power for amp, we won't even get as few as around 1mW(!) =20
&gt; Po(max) to
&gt; the headset speakers for Z(speaker) =3D 1kR, single ended amp. No =
matter
&gt; whether there is a 33R series resistor, this limits *maximum* volume =20=

&gt; to
&gt; possibly &lt;80 dB Sound Pressure Level, depending on sensitivity of =20
&gt; headset.
&gt; This also isn't acceptable for high quality sound. A headset amp =20
&gt; should be
&gt; able to power any headset with at least 10~20mW.
&gt; By choosing a headset with even higher Z loudness decreases, with =20
&gt; lower Z low
&gt; cutoff frequency increases (-3db@300Hz for 1kR =20
&gt; headset!!!!!!!!!!!!!!!!!!!).
&gt; Ergo: this design is definitely broken. There is simply *no* headset =20=

&gt; that
&gt; yields _good_ sound quality with NEO. The vast majority of
&gt; headsets/headphones will probably not work at all. In fact the =20
&gt; headset outlet
&gt; itself cuts frequencies below 160Hz, this gets worse when you connect
&gt; anything.
&gt;
&gt; Fix:
&gt; O=3D=3D Components we MUST have
&gt; 6.8uF C minimum for 1kR internal + highZ(&gt;&gt;1k) external load, like =20
&gt; amp input /
&gt; active speakers, so we at least have one chance to get good audio =20
&gt; signal
&gt; directly out of Freerunner by any means.
&gt; O=3D=3D ...We SHOULD have
&gt; For -3dB@50Hz with a load of 65R (internal 33R + std low impedance =20
&gt; headset) we
&gt; need 47uF.
&gt; For tradeoff power against low cutoff frequency, we should keep the =20=

&gt; 33R series
&gt; resistors, thus shifting f0 from 100Hz to 50Hz for the usual 32R-=20
&gt; headphone,
&gt; and still having a comfortable 20mW for high sensitive earphones =20
&gt; with &gt;80dB
&gt; SPL / mW.
&gt; O=3D=3D ...nice to have
&gt; If we can have C &gt;=3D 100uF, we should use 0R series (1R gets =20
&gt; hot(0.5W) on
&gt; short), thus allowing to connect to common passive stereo computer =20
&gt; satelite
&gt; speakers, with option active subwoofer, and drive them with a nice =20
&gt; 300mW.
&gt; With 32R-HP we really get HiFi with C&gt;100uF.
&gt;
&gt;
&gt;
&gt; For a future design i suggest to insert a similar highpass (plus =20
&gt; f0=3D1Hz
&gt; lowpass, to compensate offset) to R4112/R4115 feedback path, to =20
&gt; compensate
&gt; frequency response. Or switch from U-amp design to I-amp (feedback =20
&gt; current,
&gt; not voltage)
&gt;
&gt; cheers
&gt; jOERG


--Apple-Mail-3-910137442
Content-Type: text/html;
	charset=UTF-8
Content-Transfer-Encoding: quoted-printable

&lt;html&gt;&lt;body style=3D&quot;word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; &quot;&gt;Teenie, Tim Lee -&lt;div&gt;same as =
before, please look into =
this.&lt;/div&gt;&lt;div&gt;Thanks,&lt;/div&gt;&lt;div&gt;Wolfgang&lt;br&gt;&lt;div&gt;&lt;br&gt;&lt;html&gt;Begin =
forwarded message:&lt;/html&gt;&lt;br =
class=3D&quot;Apple-interchange-newline&quot;&gt;&lt;blockquote type=3D&quot;cite&quot;&gt;&lt;div&gt;&lt;div =
style=3D&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; &quot;&gt;&lt;font face=3D&quot;Helvetica&quot; size=3D&quot;3&quot; color=3D&quot;#000000&quot; =
style=3D&quot;font: 12.0px Helvetica; color: #000000&quot;&gt;&lt;b&gt;From: =
&lt;/b&gt;&lt;/font&gt;&lt;font face=3D&quot;Helvetica&quot; size=3D&quot;3&quot; style=3D&quot;font: 12.0px =
Helvetica&quot;&gt;joerg &amp;lt;&lt;a =
href=3D&quot;mailto:joerg.twinklephone@gmx.de&quot;&gt;joerg.twinklephone@gmx.de&lt;/a&gt;&gt;&lt;/=
font&gt;&lt;/div&gt;&lt;div style=3D&quot;margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;font face=3D&quot;Helvetica&quot; =
size=3D&quot;3&quot; color=3D&quot;#000000&quot; style=3D&quot;font: 12.0px Helvetica; color: =
#000000&quot;&gt;&lt;b&gt;Date: &lt;/b&gt;&lt;/font&gt;&lt;font face=3D&quot;Helvetica&quot; size=3D&quot;3&quot; =
style=3D&quot;font: 12.0px Helvetica&quot;&gt;March 30, 2008 10:45:59 AM =
GMT+08:00&lt;/font&gt;&lt;/div&gt;&lt;div style=3D&quot;margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;font face=3D&quot;Helvetica&quot; =
size=3D&quot;3&quot; color=3D&quot;#000000&quot; style=3D&quot;font: 12.0px Helvetica; color: =
#000000&quot;&gt;&lt;b&gt;To: &lt;/b&gt;&lt;/font&gt;&lt;font face=3D&quot;Helvetica&quot; size=3D&quot;3&quot; =
style=3D&quot;font: 12.0px Helvetica&quot;&gt;&lt;a =
href=3D&quot;mailto:openmoko-kernel@lists.openmoko.org&quot;&gt;openmoko-kernel@lists.o=
penmoko.org&lt;/a&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style=3D&quot;margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;font face=3D&quot;Helvetica&quot; =
size=3D&quot;3&quot; color=3D&quot;#000000&quot; style=3D&quot;font: 12.0px Helvetica; color: =
#000000&quot;&gt;&lt;b&gt;Cc: &lt;/b&gt;&lt;/font&gt;&lt;font face=3D&quot;Helvetica&quot; size=3D&quot;3&quot; =
style=3D&quot;font: 12.0px Helvetica&quot;&gt;Andy Green &amp;lt;&lt;a =
href=3D&quot;mailto:andy@openmoko.com&quot;&gt;andy@openmoko.com&lt;/a&gt;&gt;, Wolfgang =
Spraul &amp;lt;&lt;a =
href=3D&quot;mailto:wolfgang@openmoko.com&quot;&gt;wolfgang@openmoko.com&lt;/a&gt;&gt;&lt;/font&gt;&lt;/d=
iv&gt;&lt;div style=3D&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; &quot;&gt;&lt;font face=3D&quot;Helvetica&quot; size=3D&quot;3&quot; color=3D&quot;#000000&quot; =
style=3D&quot;font: 12.0px Helvetica; color: #000000&quot;&gt;&lt;b&gt;Subject: =
&lt;/b&gt;&lt;/font&gt;&lt;font face=3D&quot;Helvetica&quot; size=3D&quot;3&quot; style=3D&quot;font: 12.0px =
Helvetica&quot;&gt;&lt;b&gt;GTA02A5: bug in Headset Amp circuitry, max output power to =
headset&lt;/b&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style=3D&quot;margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
&quot;&gt;&lt;br&gt;&lt;/div&gt; &lt;/div&gt;To make things worse and this a real bug, we have 1kR =
R4116,R4117 as &lt;br&gt;additional load after the Cs, in parallel to the =
speakers of headset.&lt;br&gt;(No, these Rs are ok, they just make things =
worse wrt small capacitors)&lt;br&gt;&lt;br&gt;&lt;blockquote type=3D&quot;cite&quot;&gt;=46rom =
datasheet, p5:&lt;br&gt;&lt;/blockquote&gt;&lt;blockquote type=3D&quot;cite&quot;&gt;&lt;blockquote =
type=3D&quot;cite&quot;&gt;Output coupling capacitor which blocks the DC voltage at =
the amplifier=E2=80=99s&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote =
type=3D&quot;cite&quot;&gt;&lt;blockquote type=3D&quot;cite&quot;&gt;output. Forms a high pass =
filter(!!!) with the single-ended load RL at =
&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=3D&quot;cite&quot;&gt;&lt;blockquote =
type=3D&quot;cite&quot;&gt;fO =3D 1/(2=CF=80 =
RLCO).&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=3D&quot;cite&quot;&gt;With e.g. =
*typical* (-&gt;ds, p.12) 32R-headphones, RL =3D 65 Ohm! Could anybody =
&lt;br&gt;&lt;/blockquote&gt;&lt;blockquote type=3D&quot;cite&quot;&gt;check the Z for OM-headset? =
&lt;br&gt;&lt;/blockquote&gt;&lt;blockquote type=3D&quot;cite&quot;&gt;Please calculate f0 for this =
value!!!!!! &lt;br&gt;&lt;/blockquote&gt;&lt;br&gt;So even with some headset with =
&quot;infinite&quot; Z, my result for above equation is &lt;br&gt;f0=3D~160Hz still, =
which is not acceptable for high quality sound (IMHO not for &lt;br&gt;music =
playback at all!). This means you can't even connect your home stereo =
&lt;br&gt;to the earphone outlet to get usable sound, it also will drop =
-3dB@250HZ.&lt;br&gt;This much for frequency response. Now for volume:&lt;br&gt;With =
3.3V power for amp, we won't even get as few as around 1mW(!) Po(max) to =
&lt;br&gt;the headset speakers for Z(speaker) =3D 1kR, single ended amp. No =
matter &lt;br&gt;whether there is a 33R series resistor, this limits *maximum* =
volume to &lt;br&gt;possibly &amp;lt;80 dB Sound Pressure Level, depending on =
sensitivity of headset. &lt;br&gt;This also isn't acceptable for high quality =
sound. A headset amp should be &lt;br&gt;able to power any headset with at =
least 10~20mW.&lt;br&gt;By choosing a headset with even higher Z loudness =
decreases, with lower Z low &lt;br&gt;cutoff frequency increases (-3db@300Hz =
for 1kR headset!!!!!!!!!!!!!!!!!!!).&lt;br&gt;Ergo: this design is definitely =
broken. There is simply *no* headset that &lt;br&gt;yields _good_ sound =
quality with NEO. The vast majority of &lt;br&gt;headsets/headphones will =
probably not work at all. In fact the headset outlet &lt;br&gt;itself cuts =
frequencies below 160Hz, this gets worse when you connect =
&lt;br&gt;anything.&lt;br&gt;&lt;br&gt;Fix:&lt;br&gt;O=3D=3D Components we MUST have&lt;br&gt;6.8uF C =
minimum for 1kR internal + highZ(&gt;&gt;1k) external load, like amp input / =
&lt;br&gt;active speakers, so we at least have one chance to get good audio =
signal &lt;br&gt;directly out of Freerunner by any means.&lt;br&gt;O=3D=3D ...We =
SHOULD have&lt;br&gt;For -3dB@50Hz with a load of 65R (internal 33R + std low =
impedance headset) we &lt;br&gt;need 47uF.&lt;br&gt;For tradeoff power against low =
cutoff frequency, we should keep the 33R series &lt;br&gt;resistors, thus =
shifting f0 from 100Hz to 50Hz for the usual 32R-headphone, &lt;br&gt;and =
still having a comfortable 20mW for high sensitive earphones with &gt;80dB =
&lt;br&gt;SPL / mW.&lt;br&gt;O=3D=3D ...nice to have&lt;br&gt;If we can have C &gt;=3D 100uF, =
we should use 0R series (1R gets hot(0.5W) on &lt;br&gt;short), thus allowing =
to connect to common passive stereo computer satelite &lt;br&gt;speakers, with =
option active subwoofer, and drive them with a nice 300mW.&lt;br&gt;With =
32R-HP we really get HiFi with C&gt;100uF.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;For a future =
design i suggest to insert a similar highpass (plus f0=3D1Hz =
&lt;br&gt;lowpass, to compensate offset) to R4112/R4115 feedback path, to =
compensate &lt;br&gt;frequency response. Or switch from U-amp design to I-amp =
(feedback current, &lt;br&gt;not =
voltage)&lt;br&gt;&lt;br&gt;cheers&lt;br&gt;jOERG&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/body&gt;&lt;/h=
tml&gt;=

--Apple-Mail-3-910137442--
]