Thank you to the guys at HEGE supporting Badcaps [ HEGE ] [ HEGE DEX Chart ]

Announcement

Collapse
No announcement yet.

Building a Portable Headphone Amplifier Based on the AN5272 Chip

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Building a Portable Headphone Amplifier Based on the AN5272 Chip

    Since I listen to music quite a lot using my headphones, I figured a project like this was in order. Up until this point, I have been using the audio amp on a pair of Saturn SP632-A speakers to drive my headphones. The sound from that amp doesn't sound that great (lots of hiss and hum noise), but the only reason I still use it is because onboard audio simply doesn't provide enough volume for me (and those motherboards that can often distort badly on full volume). Moreover, I often find that the bass from onboard audio to be seriously lacking. And this is the second reason why I kept using the amp on my Saturn speakers – bass and treble tone controls.

    Now I'm sure I could probably modify and improve the amp in those Saturn speakers, but a while back I found a broken (literally) Panasonic TV on the road and snatched the boards from it since it was already busted open in pieces. Among other useful “goodies” on the main board was an AN5272 amplifier. Now, I really wouldn't have thought about this project at all if it wasn't for Th3_uN1Qu3's thread below, which really inspired me (thanks man )

    https://www.badcaps.net/forum/showthread.php?t=16299

    So here it goes, I'll be building me a headphone amplifier soon.
    Now, I've read up quite a bit on amplifier theory since the last time I posted on that thread above. However, I still feel somewhat inexperienced when it comes to amplifiers, so I would like to know if there are any improvements that I can make to my circuit below. It's basically an almost identical copy to the application circuit in the AN5272 data sheet. The only changes I have made so far is lower the gain, Gv, from 30 dB (Av = 20 V/V) to ~16.58 dB (Av = 4.255 V/V) and add tone controls (those LPF and HPF boxes found on the inputs).

    The circuit actually works – I already tested it on a breadboard. It sounds okay too, and a huge portion of the hiss that I mentioned here is now gone – all thanks to the much lower gain. Believe it or not, the circuit on the TV board had an even higher gain than the suggested one in the data sheet – it was set to 33.4 dB (29.4 V/V). No wonder it was picking up all sorts of random signals .

    Overall, I'm satisfied with the way it sounds, though. However, there are still a few things that bother me…

    1) The bass is still not as good as that from my Saturn speakers. I have only a few explanations for this: at the time I was thoroughly testing the amp, I was using a pair of 330uF caps for the outputs. With my Sony MDR-023 headphones (measured about 28 Ohms impedance), that gives me a low cut-off frequency of about 17.2 Hz according to this calculator:
    http://sim.okawa-denshi.jp/en/CRtool.php
    Originally, I was planning on using the original 16V 1000uF caps that came with the TV audio circuit. However, would there be an audible difference if I used 16V 1500uF caps? With those, the -3 dB point is shifted to ~3.8 Hz (vs. 5.7 Hz for the 1000uF caps).

    Also, I just noticed some of the changes that Th3_uN1Qu3 has made to his amplifier from the original LM1877 suggested circuit. One of them is the feedback caps – they have been changed from 10uF to 100uF. Does this play a role in making the amplifier attenuate the low frequencies less? The suggested feedback caps from the AN5272 data sheet (C9 and C10 on my circuit) are also 10uF. Should I bump them to 100uF too?
    The suggested input coupling caps (C3 and C4 on my circuit) also seem tiny – put the 10uF caps in there maybe?

    2) There's still some very slight hissing from the amp, despite lowering the gain so much. I wonder if there is a way to reduce it even further. The power supply I was using for the testing (and plan to use for the finished amplifier) is a 19.5V 3.16A genuine HP power adapter that probably belonged to a laptop. Should I use something else?
    Also, would a linear regulator help reduce the hissing? I have 24M12 and 78M15 regulators available.

    Lastly, are there any improvements I can make to the Low Pass and High Pass Filter tone controls (perhaps any way to make the LPF boost the low frequencies even further)? I pretty much took the design for those from my Saturn speakers. The only thing I changed is that I didn't put a 470 Ohm resistor between the LPF and the output like my Saturn speakers did – but I simply did that because I forgot to. With the tone controls, it seems that the output audio level drops quite a bit - any way to improve that? Or is it pretty much a given trade-off?

    Overall, I'm not expecting miracles from the sound of this amp. As was pointed out to me by the Th3_uN1Qu3, the distortion of this amp is quite “lousy”. Then again, my Saturn speakers employ a KIA6283A amplifier IC, which has very similar specs to the AN5272 in terms of distortion. And TBH, I really don't mind how the amp in those speakers sound. Of course if there is a way to improve my amp, let me know.

    Sorry for all of the noob questions. I don't really expect anyone to answer all of them unless they would like to. Most likely I will just experiment some more with the amp to see if I can answer some of those questions myself. However, if anyone doesn't mind answering a few of them, I would be very grateful. I would actually like to finalize and build the amp in a few days if possible. I have all of the parts ready and a case as well. Won't give too many details away, but the case has some see-through plastic, so I'm thinking of putting some LEDs in there too .

    Thanks for reading everyone.
    Attached Files

    #2
    Re: Building a Portable Headphone Amplifier Based on the AN5272 Chip

    Did you check out this site:
    http://sound.westhost.com/

    You should have Buffer amp in front of the Bass/treble control to provide low source impedance for the tone circuit, may be have a little gain to compensate for the signal loss due to the filters.
    Never stop learning
    Basic LCD TV and Monitor troubleshooting guides.
    http://www.badcaps.net/forum/showthr...956#post305956

    Voltage Regulator (LDO) testing:
    http://www.badcaps.net/forum/showthr...999#post300999

    Inverter testing using old CFL:
    http://www.badcaps.net/forum/showthr...er+testing+cfl

    Tear down pictures : Hit the ">" Show Albums and stories" on the left side
    http://s807.photobucket.com/user/budm/library/

    TV Factory reset codes listing:
    http://www.badcaps.net/forum/showthread.php?t=24809

    Comment


      #3
      Re: Building a Portable Headphone Amplifier Based on the AN5272 Chip

      I don't mean to be negative about the project but to go to all this effort you really out to use a better performing IC than AN5272, and you don't need 4W for most cans including yours. Generally speaking, the higher the output power capability of an audio amp IC, the less detailed the sound will be, especially the treble.

      The topic is quite broad for a single forum thread but there are great resources for building headamps at audio enthusiast site forums in addition to the westhost site budm linked, especially http://www.head-fi.org/f/6/diy-do-it...lf-discussions

      So far as the output caps go, the ideal would be a split rail linear regulated power supply (with a different IC) which can do away with the need for output coupling caps but otherwise, yes you should go with something other than the laptop switching PSU. For your < 32 ohm cans you don't need much voltage nor do you need anywhere close to the 3A the laptop PSU is capable of.

      A basic 12V DC, > 200mA wall wart (unregulated type) with a typical datasheet provided circuit after it with an LM7812 or LM317 regulator set to 12V should suffice. For high impedance cans you might want more voltage, it'd be a more versatile amp if you picked a 24V wall wart and regulate down to somewhere between 18V and 24V, depending on the max voltage the amp IC can tolerate.

      You can get away with regulating down to the same voltage the wart is spec'd to output because a headamp is such a small load that a typical size unregulated wall wart will be floating at a higher voltage than the forward drop across the regulator IC.
      Last edited by 999999999; 06-13-2012, 01:20 PM.

      Comment


        #4
        Re: Building a Portable Headphone Amplifier Based on the AN5272 Chip

        Well, I did some experimentation with some of the caps and resistors, and this is what I found:

        - The feedback caps (C9 and C10 on my schematic) should not be changed. I tried 100uF and 47uF, and both make the amp produce an awfully loud popping noise when it is turned on (highly annoying IMO). So I'll be leaving them alone at 10uF, as per the data sheet.
        - Changing the output caps (C5 and C6) from 1000uF to 1500uF didn't seem to make much of an audible difference (at least I couldn't hear it).
        - Changing the ripple filter cap (C2) from 100uF to 220uF didn't seem to do anything.
        - Changing the input coupling caps (C3 and C4) from 1uF to 47uF didn't seem to make much of a difference in the audio either. (I guess you can call me tin-eared now ).
        - I also played around with the gain resistors (R3 and R4). Sure the noise is much lower with the 4.7 kOhm resistors in there, but so is the gain. And with the LPF and HPF filters active, I have to turn up the volume knob almost all the way up to get to that loud-enough level that I'm normally used to. At that point, the output becomes too distorted IMO. So I decided to increase the gain back up a bit. Both 3 kOhm and 2.2 kOhm resistors give me enough gain without increasing the noise too much..
        - Another thing I tried is swapping the 20 kOhm feedback resistors (R1 and R2) with 10 kOhm ones. The data sheet says not to do that, but I did it anyways. (Also swapped the gain resistors to 1 kOhm each to keep the overall gain more or less the same) Result: I *think* noise decreased a bit but I'm not 100% sure. So I'll probably end up leaving it at 20 kOhms.

        Originally posted by 999999999
        I don't mean to be negative about the project but to go to all this effort you really out to use a better performing IC than AN5272
        Yeah I know, but I already had these parts laying around.

        Since I had nothing better to do on Sunday, I decided to build the headphone amp. Pictures attached. There are still a few things that need to be done to it, like add a ON/OFF switch, re-wire the DC power jack (I only put this one temporarily), put the whole thing in a case (I have it already), and make a knob for that volume pot.

        Note that I didn’t add the bass and treble tone controls. Decided I’ll play a bit more with them on the breadboard before implementing them. So far, the headphone amp sounds okay. Yes, I know I won’t win any Hi-Fi contests with it, but it more or less does what I need it to: amplify sound from my computer. Like I mentioned, most computer audio cards just don’t have enough power to drive my headphones loud enough for me. If I need less distorted but more quiet sound, I can just plug my headphones back to my computer again (or actually, now that I had that thought, I can wire a switch on the headphone amp that just bypasses it).

        At least the parts are of high quality . The IC itself is made by Panasonic, the caps are Panasonic, and even the DC jack came from a Panasonic Toughbook . The heat sink is copper and also of high quality (any guesses where it might be from? ).

        Most parts were all reclaims too (take that, Energy Star!). RoHS-compliant as well! (ugh . I only used Lead-free solder since someone gave me a really big spool of it long time ago – hence the cloudy joints in case you were wondering why. It didn’t help that I only have a 35W unregulated Radio Shack iron.)

        As far as what I used in the final design:
        C9 and C10 --> 10uF 50V
        C5 and C6 --> 1000uF 16V
        C2 --> 100uF 25V
        C3 and C4 --> 10uF 50V
        R3 and R4 --> 3.3 KOhm SMD resistors
        R1 and R2 --> 2 pairs of 10 KOhm SMD resistors in series (for a total of 20 KOhm)
        VR1 --> 5 KOhm potentiometer since that’s all I had (works fine)

        Originally posted by budm View Post
        Did you check out this site:
        http://sound.westhost.com/
        Thanks for the input. Yeah, I found that site a few months ago. Very good stuff on there.
        At one point, I was actually ready to scrap this project and try to build a class-A headphone amp similar to the one shown there, but I decided against that since I didn’t feel like I have enough knowledge yet. Perhaps the next one.
        ...
        But first, finish this one. Case coming soon.
        Attached Files

        Comment


          #5
          Re: Building a Portable Headphone Amplifier Based on the AN5272 Chip

          Seems like there isn't a whole lot of interest in this thread, but here's the update regardless:

          I've been using that headphone amp with my computer for the last few weeks. Surprisingly, it sounds a lot better than I though it would.

          At first, I had it hooked just straight to my computer without the analog tone controls. But after listening to music for a few hours, I found the bass and treble to be a bit on the lacking side at low volume levels so I had to keep the volume high (which gets a bit annoying after a few ours of music). So then I hooked the tone controls (which are still on my breadboard, btw ). Since then, I haven't really looked back to not using them. I can now turn the volume low and there is still a good amount of bass, even with my “cans”. (They actually sound a lot better than what most people would think. I have several pairs of other similarly sized headphones, and these other pairs do indeed all sound like cans. Still way way, waayy much better than ear buds, though).

          Anyways, I think setting the gain to ~6 V/V (~19.56 dB with volume stage) (via R3 and R4 = 3.3 KOhm) was a good move rather than having it at ~4.26 V/V (~16.58 dB with volume stage) the way I had it in the hand-drawn schematic with the original 4.7 kOhm resistors. Noise is actually much quieter than from my Saturn speakers. I can actually hear my computer's fans run again – and this is with the volume knob turned about halfway. As far as sound level goes – it's almost equally loud as that from my Saturn speakers when the volume knob is turned about halfway. All of this without changing any of the internal volume settings in Windows. So all in all the volume is the same, but the noise is much less (due to lower gain). Also, that copper heat sink really is doing its job well – it gets warm after a few hours of use, but no less than the IC itself. Funny, cause I actually (re)used thermal compound from whatever was leftover on a Pentium 4 CPU . The copper heat sink is also a re-used item – it came from a dead Sony PS3 GPU (now you don't have to guess anymore ).

          So, everything is almost done now - even the case for the amp. Normally I'm modest, but IMHO I think I did a really good job this time - the case looks quite cool. I figured, if it can't sound (as) good, at least it will sound so in style . Pictures are coming very soon, I promise. I just need to finish the knob for the volume control – yes, it's all handmade. I actually had to make a custom tool to make it . It was worth it, though. Made a few other knobs as well. Just can't decide which one to use.

          All that's left to do now is integrate the bass and treble controls inside the case (there's still some space on the PCB). But I want to play around with them a bit more. I actually have figured out how they work now (or at least I think I do, based on my experiments so far). Will add that in my next post in case anyone is building an amp and wants to implement these in their design. In any case, I'll probably post pictures before I integrate the tone controls.

          Comment


            #6
            Almost Done - Headphone Amplifier Based on the AN5272 Chip

            Time for pictures! (finally)

            Lots of blue colors in this one
            https://www.badcaps.net/forum/attach...1&d=1343539304

            What is that blue object? Let's see it from a little closer...
            https://www.badcaps.net/forum/attach...1&d=1343539304

            There we go, turned on the lights...
            https://www.badcaps.net/forum/attach...1&d=1343539304
            https://www.badcaps.net/forum/attach...1&d=1343539304

            Turned off:
            https://www.badcaps.net/forum/attach...1&d=1343539304
            https://www.badcaps.net/forum/attach...1&d=1343539304

            The back:
            https://www.badcaps.net/forum/attach...1&d=1343539304

            Just a note, the color of the LED in the amp is a lot more cyan-ish than it appears. I guess my camera couldn't pick up all of the colors. It is one of those opaque blue LEDs.
            I'm thinking about using a different color LED, but haven't got to trying it yet. I have several I want to try actually. Red and orange may look fine, but I probably won't use them since it gives me a feeling as if something inside my amp was on fire.

            More pictures coming in a moment...
            Attached Files
            Last edited by momaka; 07-28-2012, 11:26 PM.

            Comment


              #7
              Almost Done - Headphone Amplifier Based on the AN5272 Chip

              The top side:
              https://www.badcaps.net/forum/attach...1&d=1343540760

              And here's the case all empty:
              https://www.badcaps.net/forum/attach...1&d=1343540760

              As you can see, the construction is quite simple. There actually aren't any screws or anything like that to hold the white piece to the clear piece. It is simply held by some small friction contacts in the clear piece. I don't think I can make it more simple than that. As for the case, this is what it's from:
              https://www.badcaps.net/forum/attach...1&d=1343540760

              When I saw it several years ago, I knew I could use it for something.
              Here's a few more shots, this time with a different volume knob:
              https://www.badcaps.net/forum/attach...1&d=1343540760
              https://www.badcaps.net/forum/attach...1&d=1343540760
              https://www.badcaps.net/forum/attach...1&d=1343540760

              This was the first knob I made for it. I ended up making more, though, because I just thought it was too big. I don't know, what do you think? I can easily swap them since they are held by a screw to the pot shaft. The small one was supposed to have an acrylic piece like the medium one, but I didn't feel like cutting one for it.

              Speaking of which, this is the tool I had to make to cut those round acrylic and wood wheels:
              https://www.badcaps.net/forum/attach...1&d=1343540760

              Yes, it looks ghetto but it works fine. I got the idea from way back in engineering class in high school. Back then, my friend and I made a custom RC car as one of the projects for that class. It looked cool, so we decided to make a custom turntable for it too. Decided we were going to use acrylic for the rotating base of the turntable.
              We had a professional configurable wheel cutter for our drill press, but it was too small for our purpose. It could only do about 6 inch diameter and we needed a 10" diameter circle. So we made our own and used the cutting blade from the professional one. It worked but it looked scary - having a rotating object that swings about 1/2 a foot each way at several hundred RPM on the drill press isn't something that looks exactly safe.

              This one is much smaller and it's well balance, so it's quite safe. My corded drill had no problems with it whatsoever. I would NOT recommend a battery drill, though - especially if it's low RPM.
              --------------

              So any thoughts/suggestions about the amp?

              I still haven't put the tone controls, but I will be doing that next. This means there are going to be more switches and knobs added to the amp - actually only 1 more knob and 2 switches.

              The reason for having only 1 knob is that I'm thinking about setting the bass boost to max and thus eliminating the knob for it. The treble I will leave, though. Also, the 2 switches I'll have will do the following: one will select between direct input (i.e. no tone controls) and filtered output (tone controls enabled), while the other switch will select between bigger bass/treble boost but quieter sound output and louder sound output but with slightly less bass/treble (but again, I'll explain how those filters work in another post here another time).
              Attached Files
              Last edited by momaka; 07-29-2012, 12:04 AM.

              Comment


                #8
                Re: Building a Portable Headphone Amplifier Based on the AN5272 Chip

                EDIT: I have no idea how, but i only read the first post. I guess most of the design decisions have been taken by now, congrats on a job well done!

                Originally posted by momaka View Post
                Originally, I was planning on using the original 16V 1000uF caps that came with the TV audio circuit. However, would there be an audible difference if I used 16V 1500uF caps? With those, the -3 dB point is shifted to ~3.8 Hz (vs. 5.7 Hz for the 1000uF caps).

                Also, I just noticed some of the changes that Th3_uN1Qu3 has made to his amplifier from the original LM1877 suggested circuit. One of them is the feedback caps – they have been changed from 10uF to 100uF. Does this play a role in making the amplifier attenuate the low frequencies less? The suggested feedback caps from the AN5272 data sheet (C9 and C10 on my circuit) are also 10uF. Should I bump them to 100uF too?
                The suggested input coupling caps (C3 and C4 on my circuit) also seem tiny – put the 10uF caps in there maybe?
                I'd use the 1500uF caps for the output. In an amplifier with capacitor coupled output you have three highpass filters: Input capacitor with input impedance, feedback capacitor with feedback resistor to GND, output capacitor with load impedance. If all three solve to the same frequency you're going to get a 18dB/octave cut from there, if they're on different frequencies you're gonna get different slopes. It's a good idea to move all of them as low as practical, unless you're using the amplifier to listen to vinyl records, and need to eliminate turntable rumble.

                10uF/1k that you have on the feedback is a -3dB point of 15Hz. Using a larger cap will help. As for the input caps, i don't see any mention of input impedance in the AN5272 datasheet. With the amplifier off and unplugged, measure resistance from pin 2 to ground and pin 5 to ground. Report your findings.

                Originally posted by momaka View Post
                2) There’s still some very slight hissing from the amp, despite lowering the gain so much. I wonder if there is a way to reduce it even further. The power supply I was using for the testing (and plan to use for the finished amplifier) is a 19.5V 3.16A genuine HP power adapter that probably belonged to a laptop. Should I use something else?
                Also, would a linear regulator help reduce the hissing? I have 24M12 and 78M15 regulators available.
                Some amps don't like SMPS supplies - try a battery first. If it still hisses on the battery there's nothing you can do with it, leave it alone. If it does not hiss on the battery, try a pi filter on the power input.

                Originally posted by momaka View Post
                Lastly, are there any improvements I can make to the Low Pass and High Pass Filter tone controls (perhaps any way to make the LPF boost the low frequencies even further)? I pretty much took the design for those from my Saturn speakers. The only thing I changed is that I didn’t put a 470 Ohm resistor between the LPF and the output like my Saturn speakers did – but I simply did that because I forgot to. With the tone controls, it seems that the output audio level drops quite a bit - any way to improve that? Or is it pretty much a given trade-off?.
                I gotta go right now, so i'll only answer the last question - given that the tone controls are passive and pretty high impedance as far as i see, yes it is normal that the output level drops - because the input level drops. You would need more gain to make that up. If you make the filters active, then you get rid of that level loss, but you complicate the circuit because you'll need a couple opamps to do the job.

                Depending on what the source can drive, lowering the input impedance of the filters will also lower the loss, you may find that an acceptable compromise since pretty much everything these days can drive headphones.
                Last edited by Th3_uN1Qu3; 07-29-2012, 06:28 AM.
                Originally posted by PeteS in CA
                Remember that by the time consequences of a short-sighted decision are experienced, the idiot who made the bad decision may have already been promoted or moved on to a better job at another company.
                A working TV? How boring!

                Comment


                  #9
                  Re: Building a Portable Headphone Amplifier Based on the AN5272 Chip

                  Originally posted by Th3_uN1Qu3 View Post
                  I guess most of the design decisions have been taken by now, congrats on a job well done!
                  Thanks.

                  Yeah I remember what you said in your headphone amp thread about this AN IC being not very good, but I decided to build it anyways. Just FYI, I do have another square case exactly like this one, so if I do run into a better IC or maybe build a class A headphone amp like the one shown at sound.westhost.com, I'll be making another one of these.

                  Originally posted by Th3_uN1Qu3 View Post
                  I'd use the 1500uF caps for the output. In an amplifier with capacitor coupled output you have three highpass filters: Input capacitor with input impedance, feedback capacitor with feedback resistor to GND, output capacitor with load impedance.
                  Well, I do have some used but nice 1500uF Panasonic FLs that could do the job (also got Rubycon MCZ and Nichicon HN) - all pulled from Xbox 360s. If I do change them, I think I'll probably use the Pannys though, just so all of the caps match .

                  Originally posted by Th3_uN1Qu3 View Post
                  10uF/1k that you have on the feedback is a -3dB point of 15Hz. Using a larger cap will help. As for the input caps, i don't see any mention of input impedance in the AN5272 datasheet. With the amplifier off and unplugged, measure resistance from pin 2 to ground and pin 5 to ground. Report your findings.
                  The data sheet suggests to use a 10 uF/1 kOhm on the feedback, but I ended up using 10 uF/ 3.3 kOhm. According to [urlhttp://sim.okawa-denshi.jp/en/CRtool.php]this[/url] calculator, the -3 dB is moved to just slightly under 5 Hz. I tried bigger caps (both 47 uF and 100 uF) as mentioned in post #4, but I get a really loud popping noise when I turn on the amp so I decided not to use those.

                  With my multimeter (-) probe on ground and the (+) to either pin 2 or pin 5 of the AN5272, I get nothing. My multimeter goes up to 40 MOhms. If I reverse the (+) and (-), I get about 29 MOhm and 31 MOhm for the inputs.

                  Originally posted by Th3_uN1Qu3 View Post
                  Some amps don't like SMPS supplies - try a battery first. If it still hisses on the battery there's nothing you can do with it, leave it alone. If it does not hiss on the battery, try a pi filter on the power input.
                  Tried 6V (4x AA in series) - still hisses. I know that voltage is less than the suggested in the data sheet, but I don't think that's the problem. It's probably just the design of the IC itself.
                  With the SMPS brick, there is only very slight wind-like noise that's present on top of the hiss. It's barely audible, however. This hiss drowns it out. The overall noise is still not all that bad, though. Compared to my Saturn speakers, this is much better. Those have hiss + lots of line hum. SMPS removes the line hum on that one but adds a square wave hum that's about 200 to 300 Hz which is much worse.
                  So I guess the AN5272 doesn't mind SMPSs that much.


                  Originally posted by Th3_uN1Qu3 View Post
                  given that the tone controls are passive and pretty high impedance as far as i see, yes it is normal that the output level drops - because the input level drops.
                  Yes, that's what I figured too with my experiments. Don't know how I didn't see that before but now it totally makes sense.

                  Those passive tone controls don't really "boost" the bass and treble, but rather attenuate the mid tones so that the bass and treble stand out more. So if I want more bass and treble "boost", I will have to loose more mid tones. It's basically a trade-off.

                  What I figured from my experiments is this: the high-pass and the low-pass filters work together to allow you to attenuate any or all (low, mid, and high) tones you like. R8 in the low-pass filter controls the signal strength going through the filter and to the rest of the IC. R9 in conjunction with C14 attenuate the mid and high tones. Lowering the resistance of R8 allows more of the original signal to pass through the filter and lowering the resistance of R9 further attenuates the mid and high tones.

                  How the low-pass filter works:
                  As potentiometer VR3 is turned away from R8, the input impedance for the low tones increases but not much for the mid and high tones, which pass through C13. Meanwhile, this also lowers the impedance for the low tones across C14.
                  This makes the low-pass less effective. Doing the reverse with VR3 (i.e. moving it towards C13) "increases" the bass.

                  The principle of the high-pass filter is very simple: as VR2 is moved towards C11, the impedance for the high tones between the input and the output of the high-pass filter decreases, therefore more high tones pass through the high-pass filter. As VR2 is moved further away from C11 and towards C12, the impedance for the high tones between input and output increases while the input impedance for the high tones that have already passed to the output is lowered. In this second case, the high-pass actually attenuates the high tones since the output of the high-pass filter is connected to the output of the low-pass filter and the high-pass filter can further "sink" any high tones that may have passed from the low-pass filter.

                  Originally posted by Th3_uN1Qu3 View Post
                  If you make the filters active, then you get rid of that level loss, but you complicate the circuit because you'll need a couple opamps to do the job.
                  That's exactly why I didn't want to use op-amps. Moreover, if I used something common as the LM386, that would further add distortion to my already lousy-ly rated AN7272 IC.


                  Originally posted by Th3_uN1Qu3 View Post
                  Depending on what the source can drive, lowering the input impedance of the filters will also lower the loss, you may find that an acceptable compromise since pretty much everything these days can drive headphones.
                  I may try that. Most of my computers can handle headphones fine, but I do have 2 that distort quite a lot at full volume.

                  Comment


                    #10
                    Re: Building a Portable Headphone Amplifier Based on the AN5272 Chip

                    Originally posted by momaka View Post
                    That's exactly why I didn't want to use op-amps. Moreover, if I used something common as the LM386, that would further add distortion to my already lousy-ly rated AN5272 IC.
                    LM386 isn't an opamp, it's a cheap n dirty audio amplifier. Even common and cheap opamps like TL072 or NE5532 are going to be plenty for your application. Heck, a lot of stuff nowadays still comes with 4558s, which are #!&%, and they sound just fine for most people.
                    Originally posted by PeteS in CA
                    Remember that by the time consequences of a short-sighted decision are experienced, the idiot who made the bad decision may have already been promoted or moved on to a better job at another company.
                    A working TV? How boring!

                    Comment


                      #11
                      Re: Building a Portable Headphone Amplifier Based on the AN5272 Chip

                      "With my multimeter (-) probe on ground and the (+) to either pin 2 or pin 5 of the AN5272, I get nothing. My multimeter goes up to 40 MOhms. If I reverse the (+) and (-), I get about 29 MOhm and 31 MOhm for the inputs."
                      Since you are trying to measure AC input impedance not DC resistance of your amplifer which is not pure DC resistance. You can use an audio oscillator (1Kz), feed a 50K (or higher) pot on end of the terminal, the viper teminal goes to the input of the amplifier, set the pot to 0 Ohm, put an DMM (10M input impedance) set to AC and monitor the input voltage (set the Oscillator for 1V) of the amplifier, turn up the pot unitl the AC reading is at 0.5V, disconnect the pot and measure its resistance, that will be your input imedance of your amplifier.
                      Last edited by budm; 07-30-2012, 02:11 PM.
                      Never stop learning
                      Basic LCD TV and Monitor troubleshooting guides.
                      http://www.badcaps.net/forum/showthr...956#post305956

                      Voltage Regulator (LDO) testing:
                      http://www.badcaps.net/forum/showthr...999#post300999

                      Inverter testing using old CFL:
                      http://www.badcaps.net/forum/showthr...er+testing+cfl

                      Tear down pictures : Hit the ">" Show Albums and stories" on the left side
                      http://s807.photobucket.com/user/budm/library/

                      TV Factory reset codes listing:
                      http://www.badcaps.net/forum/showthread.php?t=24809

                      Comment


                        #12
                        Re: Building a Portable Headphone Amplifier Based on the AN5272 Chip

                        Most of the time, amplifiers have their input "impedance" well defined, by using a simple resistor to ground from the input, hence no AC measurement needed. I'm surprised there's no DC resistance on the input of this amplifier - then, what are the input coupling caps doing there really?
                        Originally posted by PeteS in CA
                        Remember that by the time consequences of a short-sighted decision are experienced, the idiot who made the bad decision may have already been promoted or moved on to a better job at another company.
                        A working TV? How boring!

                        Comment


                          #13
                          Re: Building a Portable Headphone Amplifier Based on the AN5272 Chip

                          Google "how to measure amplifier input impedance"
                          I.E.
                          http://www.zen22142.zen.co.uk/Theory/inzoz.htm

                          http://www.diyaudio.com/forums/solid...amplifier.html
                          Never stop learning
                          Basic LCD TV and Monitor troubleshooting guides.
                          http://www.badcaps.net/forum/showthr...956#post305956

                          Voltage Regulator (LDO) testing:
                          http://www.badcaps.net/forum/showthr...999#post300999

                          Inverter testing using old CFL:
                          http://www.badcaps.net/forum/showthr...er+testing+cfl

                          Tear down pictures : Hit the ">" Show Albums and stories" on the left side
                          http://s807.photobucket.com/user/budm/library/

                          TV Factory reset codes listing:
                          http://www.badcaps.net/forum/showthread.php?t=24809

                          Comment


                            #14
                            Re: Building a Portable Headphone Amplifier Based on the AN5272 Chip

                            http://en.wikipedia.org/wiki/Input_impedance

                            http://en.wikipedia.org/wiki/Electrical_impedance
                            Never stop learning
                            Basic LCD TV and Monitor troubleshooting guides.
                            http://www.badcaps.net/forum/showthr...956#post305956

                            Voltage Regulator (LDO) testing:
                            http://www.badcaps.net/forum/showthr...999#post300999

                            Inverter testing using old CFL:
                            http://www.badcaps.net/forum/showthr...er+testing+cfl

                            Tear down pictures : Hit the ">" Show Albums and stories" on the left side
                            http://s807.photobucket.com/user/budm/library/

                            TV Factory reset codes listing:
                            http://www.badcaps.net/forum/showthread.php?t=24809

                            Comment


                              #15
                              Re: Building a Portable Headphone Amplifier Based on the AN5272 Chip

                              It's been a while since I last updated this thread. Aside from a few very small additions, this amp is still pretty much the same. Originally, I intended to integrate the passive tone controls in the amp, but I've been using this amp on a daily basis ever since I built it last spring (which was more than a year ago now!), so I've been hesitating to take it "out of service" for anything major. I also didn't want to drill new holes in the case because I really like the way it looks now. Therefore, I decided not to integrate the tone controls in the amp and instead to keep them on an external board (last picture in attachments shows the prototype). That way, I can attach them to any other amplifier I want. Most likely, I'll build a separate case for the tone controls (when I get some time, that is). I'm thinking all stained wood with matching acrylic front, but will see. Will also likely add more than 1 input on that in order to have the option to switch easily between different sources.

                              So basically, the only changes are the addition of a new LED. Now the amp glows purple! (Just like I wanted originally.) This color fits it much better IMO. However, I also wanted to keep the blue LED as well just because that's how I built it originally. The solution: added a set of jumpers on the board. These select which LED turns on (can also turn on both at the same time, but this doesn't look good). For those interested, the LED is a Kighbright 3.5 x 2.8 mm SMD violet LED (P/N: AA3528VRVFS/A). Got it from Mouser. A bit pricey but definitely worth the price IMO.
                              ...
                              Anyways, I think the pictures below show pretty much the final version of the amp now. As usual, I put some matching Avatar background as well .

                              The new look:


                              With my 21" Sony CRT monitor :


                              Amp upclose:



                              Finished PCB from top:


                              Another shot. You can see the Kighbright SMD LED standing in the air with leads that I soldered onto it. A little ghetto, but it works great.


                              Underside (sorry for the blurry picture. My camera just refused to focus on it)

                              (I know the soldering isn't the best, but that's all I could do with a RS 35W iron at the time and lead-free solder)

                              Tone controls prototype board (note the lovely wooden audio "jacks" . They work quite alright too. Have never gotten a loose connection through them so far.):


                              Just FYI though, the purple color of the amp is actually not exactly as the pictures show it - with blue on the edges and pink in the middle. Rather, the purple light from the LED is much more uniform and saturated than that and there is no blue. I tried to do some color correcting on these pictures, but I still cound't get the color to match.

                              So yeah, it's done now! And I am happy with this because this is a rare case where I actually finish a project (hence all the excitement in this post). Perhaps I may build another one . I do have a second identical green acrylic case like this, after all. Actually, I already sort of started on the "guts" of that, but I'll save it for another thread...

                              Time for
                              Attached Files
                              Last edited by momaka; 08-08-2013, 10:26 PM.

                              Comment


                                #16
                                Re: Building a Portable Headphone Amplifier Based on the AN5272 Chip

                                Nice! I am going to do something for my audio soon. I just picked up a Focusrite 6i6 and I think I want to modify it a bit. Not to worried about the preamps yet, more interested in upgrading the headphone amp, and possibly building something like this to go alongside it... don't know yet, need to learn more.

                                Comment

                                Working...
                                X