Total noob with power supply noise

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
I built a portable class D amp with a TPA3118 and a preamp. It's powered by 8 AA nimh rechargeable batteries, but I added a power jack so I could recharge them without having to take them out. I know it's not the best way, but my plan was to recharge them with a 12v adapter.


Now, the amp works great on batteries, but gets awfully noisy when I connect the 12v adapter. I thought the voltage difference between the batteries and the adapter might be the culprit, so I took out the batteries: the noise persists. Then I tried my laptop's adapter: still the same, if not noisier.

So I figured this must be a common problem for amps, and there must be a generic way of filtering out this noise. But as a noob, I have no idea.
 
Moderator
Joined 2011
Use power supply filtering, with a series L or R, and a shunt C, for each supply leg.
The filter corners would have to be well below 10Hz to do much good.

Series voltage regulators could also reduce the noise, if properly implemented.
I'd still filter the input voltage to the regulators, though.
 
Last edited:
You didnt mention what your line level audio "souce" is, when the noise occurs. Another plugged-in to AC device perhaps? If so, could be a ground loop that only happens when the "charger" PSU is connected.


Not sure I understand - what would be causing the ground loop?



Use power supply filtering, with a series L or R, and a shunt C, for each supply leg.
The filter corners would have to be well below 10Hz to do much good.


Thanks! So then something like a second order low pass filter? What values would you recommend? I was thinking about going for two 25 ohm resistors, so that way I could charge the batteries at C/10 rate.
 
I'm worried about the long-term health of your NiMH cells. A generic 12V adapter is not a proper charging method.

The 25 ohm resistors won't give C/10 charge rate, even with the amp turned off. At the top of their charge curve, 8 NiMH cells in series will measure about 11.4 volts. 0.6V across 25 ohms produces a 24mA current -- about C/100. For 50 ohms, half that.

All of the 'modern' battery technologies are somewhat particular about charging specifications. Gone are the lead-acid car battery days when you could just set the voltage to 14.5V and pound in whatever current was available.

Noise is only one problem with charging while operating. The batteries prefer constant current charging(*), while the amplifier's current demands vary with the music. While it is possible to design a circuit that properly adjusts the current demands on the adapter, it is not a trivial undertaking.

The batteries will last a lot longer if you just turn the amp off to charge them.

Cheers

* during the initial 80%, 'bulk' interval
 
Last edited:
Member
Joined 2011
Paid Member
None of the constant current sources on Rod Elliott's page operate correctly with only 0.6V across the CCS circuit. To achieve that you'd need to heavily modify the circuit in Figure 5.2.1, plus you'd need to carefully choose just the right active components. Plenty of plausible looking parts will poop out and give a non-constant current, well above 0.6V across the CCS circuit.
 
Of the 3 issues the OP is facing, the 0.6V minimum seems to be the easier to overcome -- a 14 or 19V adapter solves it in a snap.

The noise problem would probably readily surrender to Mark Johnson's recent contribution -- thanks for piping in here, MJ -- my 1/4-a$$ed *search* for it came up dry, though. Maybe he'll direct us to it.

It may be a smaller deal here than it has been on some of my projects, but I think the circuit to add the operating amp's current drain to the desired battery charge current, just might be beyond the OP's skill set. (Sorry if I'm wrong, but the bit about a 'couple 25 ohm resistors for C/10' strikes me as a pretty strong hint ..;))

Also wondering how long battery operation (per charge) is expected.

Regards
 
Last edited:
Member
Joined 2011
Paid Member
Here is a constant current source made with silicon devices (BC337, LM358) whose output current remains a constant 2mA, all the way down to 0.15 volts.

_
 

Attachments

  • protoboard_implementation.JPG
    protoboard_implementation.JPG
    248.6 KB · Views: 172
  • Current_vs_Voltage_on_CurveTracer.PNG
    Current_vs_Voltage_on_CurveTracer.PNG
    33.4 KB · Views: 175
Rayma's suggestion's worked pretty well in reducing the noise to a bearable level. Thanks!


Yes, I know this is very crude way to recharge batteries, but I couldn't bother with anything more complicated at this time. I've seen some ICs for this job, maybe next time I'll try them.



It may be a smaller deal here than it has been on some of my projects, but I think the circuit to add the operating amp's current drain to the desired battery charge current, just might be beyond the OP's skill set. (Sorry if I'm wrong, but the bit about a 'couple 25 ohm resistors for C/10' strikes me as a pretty strong hint ..;))


Well, the title says "Total noob with power supply noise"...
 
Last edited:
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.