DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: Marcos - Munky on January 31, 2019, 12:17:56 PM

Title: reducing noise in a preamp powered with dc step up module
Post by: Marcos - Munky on January 31, 2019, 12:17:56 PM
I built a preamp for a friend's bass, and sinde I have a few 18650 batteries, we had the idea on powering it using one of those and have a "usb rechargeable bass". I tested the preamp powered with a 9V battery and it's dead quiet. Then I installed the 18650 battery along with a charge module and a MT3608 based step up module to get 9v out of the 18650 battery.

Now I'm hearing a noise, which is probably caused by the step up module. Based on the MT3608 datasheet (link below), the switching frequency is 1.2MHz, which is above the audible range, but I'm still hearing some noise. Any suggestions on how I can get rid of it?

https://prom-electric.ru/media/MT3608.pdf
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on January 31, 2019, 05:02:59 PM
Did you use a shielded inductor?

One test is to move the converter board away from the preamp, guitar pickups, guitar wiring, by connecting the power between the two with some long twisted wires.   If you still get the noise then the problem is on the power rail.    If the noise goes away then the noise is being coupled electromagnetically.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Marcos - Munky on January 31, 2019, 09:09:06 PM
Quote from: Rob Strand on January 31, 2019, 05:02:59 PM
Did you use a shielded inductor?
No, it's a regular smd inductor. This is the module: http://www.icstation.com/icstation-mt3608-step-converter-module-boost-converter-power-supply-module-icsa004a-p-3448.html (http://www.icstation.com/icstation-mt3608-step-converter-module-boost-converter-power-supply-module-icsa004a-p-3448.html)

Quote from: Rob Strand on January 31, 2019, 05:02:59 PM
One test is to move the converter board away from the preamp, guitar pickups, guitar wiring, by connecting the power between the two with some long twisted wires.
I'll do the test tomorrow. How long should be the wires? "as long as possible" is a good answer :icon_lol: but I mean, should 50cm be enough? 1m? Also, why twisted wires since the current is DC?
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on February 01, 2019, 12:24:50 AM
QuoteNo, it's a regular smd inductor.
That inductor does limit the amount of field getting out.     There's only a small gap between the inside and outside.
At least it isn't  bobbin (which wouldn't be good for efficiency at 1.2MHz anyway).

If you pack that board right next to the preamp you might get issues.   It can depend on which way the boards are facing and how far apart.

QuoteI'll do the test tomorrow. How long should be the wires? "as long as possible" is a good answer :icon_lol: but I mean, should 50cm be enough? 1m? Also, why twisted wires since the current is DC?
If you cut to 1m then twist it will be fine.    The main aim is to see if the noise drops at all.  With the wires present you can experiment by pointing the PSU board in different directions and placing it at different distances.   Try not touching the board with your fingers. It should give you an idea where you stand.

Twisting the wires is just a precaution. You don't want current pulses in the wires generating magnetic fields.  When debugging stuff like this it's best be heavy handed on precautions.  It's easy to untwist them later to see if it makes the problem worse.     If possible twist the input wires as well.

If you can't see any change with the position and orientation then that means you might need to investigate filtering the output and/or input power rails.

These tests are more about trying to work out the cause.   Once you know the cause you can play around with solutions.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Marcos - Munky on February 01, 2019, 11:14:57 AM
So, I did the test. Changing the step up module position compared to the pickups and preamp board had an effect. For example, if the module board was in a 90 degree angle with the pickups, the noise is dropped (but not gone). The distance didn't had too much noticeable effect, so it'll be need some filtering on the power rails.

Also, turning down the treble pot of the preamp reduced the noise to almost zero.

Should I try a "eletrolytic + ceramic cap to ground" filter?
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: rankot on February 01, 2019, 02:37:30 PM
You may also try some kind of small inductor with large cap to filter out AC from DC.

I don't know about that particular IC, but all those power boost chips are very sensitive to PCB layout, grounding etc.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on February 01, 2019, 06:24:59 PM
QuoteSo, I did the test. Changing the step up module position compared to the pickups and preamp board had an effect. For example, if the module board was in a 90 degree angle with the pickups, the noise is dropped (but not gone). The distance didn't had too much noticeable effect, so it'll be need some filtering on the power rails.

That a weird result.   If it depends on then angle then that means there's junk radiating off the board.  However, if there's junk radiating off you would expect  the noise to drop when you moved the board away.

Maybe there junk radiating off the power cable?   Can you see if putting the input side cable near the preamp and then try output side cable near the preamp and see if you can get a cause an effect.   The idea is to find the thing which make the noise the worst when it is located near the preamp.

You might also want to try the pickups.   Maybe noise is getting through the pickups and not the preamp.    Is the tone control located before the preamp?  If that is the case, then the fact the noise goes down with the tone control confirms the noise is getting in through the pickups.


Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on February 02, 2019, 04:25:37 PM
One thing that might be possible is to wrap the converter board in an aluminum shield.  Since the switch frequency is so high it might be enough to stop any field getting out.   Basically the stray field off the inductor and board will get shorted out by the shield due to eddy currents in the shield.   

As a test I'd put the board in a plastic bag.  As is it's probably not final solution as I'd be *very* concerned getting shorts with the Li-Ion battery.  A better solution could be to sandwich the converter PCB between two un-etched PCB's with some spacers.

Title: Re: reducing noise in a preamp powered with dc step up module
Post by: amptramp on February 02, 2019, 04:38:42 PM
It looks like the converter could get a separate enclosure like a 1590A.  Maybe the output cable could be shielded twisted pair or coax.  Then you have the problem of what to ground it to.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: R.G. on February 02, 2019, 07:12:28 PM
As a systems kind of approach, noise can be conducted or radiated.

Radiated noise is affected by shielding and orientation (that is, rearrangement of the antennas, or parts that are acting like antennas). Note that wires can be picking up radiated noise and then conducting it into the circuit.

Conducted noise can be noise conducted down any wire, but with this setup, it's probably power and/or ground. conducted noise is attacked by
(1) reducing the noise at the source; in this case, maybe better filtering on or right next to the up-converter
(2) filtering between the noise source and circuit
(3) making the circuit relatively immune to the frequency spectrum of the noise.

As noted, the fact that mechanical re-orientation of the pieces changes the noise points to it being at least partially radiated. Shielding the circuit or power module, or both might reduce this.

If that doesn't work, or doesn't reduce it enough, you will probably need to look into filtering. Filtering gets complicated when high frequencies are involved, as the noise can actually be made worse by using the wrong filter, missing the frequencies of the noise, or actually tuning in the noise with L and C parts that are accidentally resonant at part of the noise frequencies.

One really frustrating thing is when you have high frequency noise - 1.2MHz qualifies - and it's coupled into the circuit, "detected" in the radio sense by the semiconductors, converting it down into audio, then amplified. It might help to try to make the circuit more immune to the noise by trying to cut its high frequency response. This can often be done by inserting a resistance in series with the input leads, and a small capacitor from the input to ground. Using an inductor instead of a resistor can actually tune RF. The resistor eats the radio energy.

Your prospective input filter could start rolling off at the top of audio, say, 25kHz. Just picking 100pF for the cap, that makes the series R be 6.4k or so if I didn't miss a decimal point. Try 1K and 100pF.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: amptramp on February 03, 2019, 08:25:09 PM
R.G. is right to bring up one thing - a circuit with only L and C and no R is likely to trade response at one frequency with response at another frequency and you end up playing whack-a-mole with the filter response.  You cut out a resonance at one frequency only to have it reappear at another.  Resistance is one method of limiting this effect because the frequencies are going to be damped.

You may need a filter at the input to the converter and one thing to understand here is that a regulated feedback converter is a negative resistance.  If you have an inverter that puts out 12 volts at 2 amps, the regulation will look like a negative resistance at the input.  If you have an input of 9 volts, the current (minus any losses) is 2.666  amps to get the 24 watt output.  If the battery drops to 6 volts , the current rises to 4 amps.  As the voltage drops, the current increases, so the converter looks like a negative resistance.  The impedance of an input L-C filter looks like sqrt (L/C).  The magnitude of the filter positive resistance has to be lower than the negative resistance of the converter.  If the input is 12 volts at 2 amps, the resistance is 6 ohms.  If the input is 6 volts at 4 amps, the resistance is 1.5 ohms.  If the negative resistance of the converter is less than the positive resistance of the filter, you have a negative resistance oscillator.  If the negative resistance of the oscillator is in the stable region but close to it, the transient response will suffer.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on February 03, 2019, 09:33:10 PM
IMHO, we haven't identified the cause enough to propose a solution.   By the same token you often have to try things which could be solutions in order to identify the cause!

We don't know if the problems are cause by 1.2MHz or the harmonics.   Like RG mentioned the semiconductors can act like detectors.   You have the option of removing the problem at the source (a filter on the PSU or shield) or on the circuit (add filters to the ckt or a shield).

QuoteR.G. is right to bring up one thing - a circuit with only L and C and no R is likely to trade response at one frequency with response at another frequency and you end up playing whack-a-mole with the filter response.  You cut out a resonance at one frequency only to have it reappear at another.  Resistance is one method of limiting this effect because the frequencies are going to be damped.
All is not lost.

This is FYI to others (not nit-picking):

For frequencies say above 30MHz you often choose the ferrite material so the inductor acts a resistor instead of an inductor - that might twist some people's minds but it's true.   

At 1.2MHz it's more likely we end-up in the wack-a-mole region.   Some damping come from the cap ESR and some from the inductor loss.    For converters in the 1.2MHz the caps are likely to be ceramics which have low ESR.  One trick is to add ESR.   Another trick is to add a parallel cap with a high ESR or an added ESR.   Even a parallel load resistor can help.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Marcos - Munky on February 04, 2019, 07:04:27 AM
Sorry for the delay on the reply, I was out of home for the weekend.

Quote from: Rob Strand on February 01, 2019, 06:24:59 PM
That a weird result.   If it depends on then angle then that means there's junk radiating off the board.  However, if there's junk radiating off you would expect  the noise to drop when you moved the board away.

You might also want to try the pickups.   Maybe noise is getting through the pickups and not the preamp.    Is the tone control located before the preamp?  If that is the case, then the fact the noise goes down with the tone control confirms the noise is getting in through the pickups.
The noise is always there, but it gets worse if the step up module is closer to the pickups, based on the angle. So it's probably being both radiated and conducted. The tone control is part of the preamp. I'm using Baja's bass preamp from the other forum, which is basically a 2N5457+BC557 stage, tone control and another 2N5457+BC557 stage.

Quote from: Rob Strand on February 02, 2019, 04:25:37 PM
One thing that might be possible is to wrap the converter board in an aluminum shield.
I'll try this tonight. To avoid shortings with the li-ion, I'll wrap everything on duct tape.

Quote from: R.G. on February 02, 2019, 07:12:28 PM
Your prospective input filter could start rolling off at the top of audio, say, 25kHz. Just picking 100pF for the cap, that makes the series R be 6.4k or so if I didn't miss a decimal point. Try 1K and 100pF.
I'll give a try tonight.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on February 04, 2019, 04:24:41 PM
QuoteThe noise is always there, but it gets worse if the step up module is closer to the pickups, based on the angle. So it's probably being both radiated and conducted. The tone control is part of the preamp. I'm using Baja's bass preamp from the other forum, which is basically a 2N5457+BC557 stage, tone control and another 2N5457+BC557 stage.
Ah, OK.  So basically turning the tone knob down is just attenuating the noise wherever it comes from.

From what you are saying here it seems like a lot is getting straight into the pickups.  We don't know if it's audio band or RF band (getting demodulated by the preamp ckt).
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Marcos - Munky on February 04, 2019, 08:00:13 PM
Ok, so I tried both approaches (ground shielding around the board and 1K + 100pF filter at the input), and the noise is still there. Well, I tried them one at a time, not both at the same time.

Maybe it'll help if I describe better my setup. It's a P/J bass, with the pickups in parallel. First thing on the signal is a "balance" pot (one pickup to each end, output on wiper), then a single volume pot. Wiper of the volume pot is going to this preamp:
(https://i.postimg.cc/CnN0B52z/Bajaman-Discrete-Active-Bass-Preamp.png) (https://postimg.cc/CnN0B52z)
Then it goes to the output jack. No noise at all with a 9V battery, noise with the step up module, and no noise at all if I roll down the treble pot.

I tried the filter right after the volume pot. If I got it right, it's a 1K resistor from wiper of the volume pot to the input of the preamp, and the 100pF cap goes from the input of the preamp to ground. Should I try other values, or try to put it somewhere else?

Or maybe I should just forget about it and go with a 9V alkaline battery?
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on February 04, 2019, 08:12:28 PM
QuoteWell, I tried them one at a time, not both at the same time.
If you couldn't tell the difference then neither of those might be the cause.

QuoteMaybe it'll help if I describe better my setup.
OK very helpful.

The main thing I see is the high-impedances throughout the circuit.   This can promote capacitive coupling.  the other thing is no supply filter.   So maybe the next thing to try is a supply filter, say 1k in series with the power and 10uF or even 100uF across the preamp side power.  It's something to try even to see if it has an effect.

Another thing you could try is to simply wire the volume control to the output jack *but* leave the preamp in place and running.   That may tell you if the junk is getting into the pickup/balance/volume part of the circuit before the preamp.

Quotetried the filter right after the volume pot. If I got it right, it's a 1K resistor from wiper of the volume pot to the input of the preamp, and the 100pF cap goes from the input of the preamp to ground. Should I try other values, or try to put it somewhere else?
That would be a good place.  Notice the next stage kind of has that built-in as well.

QuoteOr maybe I should just forget about it and go with a 9V alkaline battery?

What about,

https://duckduckgo.com/?q=rechargeable+lithium+ion+9V&ia=products

No guarantee these will be noise free and I suspect you will get vast variations across different brands.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Marcos - Munky on February 05, 2019, 10:18:08 PM
Quote from: Rob Strand on February 04, 2019, 08:12:28 PM
So maybe the next thing to try is a supply filter, say 1k in series with the power and 10uF or even 100uF across the preamp side power.  It's something to try even to see if it has an effect.
So, if I got this right, both the resistor and cap should be put between the power module and the preamp, correct? Should I put the filter right at the module output or as close as possible to the preamp?

Quote from: Rob Strand on February 04, 2019, 08:12:28 PM
Another thing you could try is to simply wire the volume control to the output jack *but* leave the preamp in place and running.   That may tell you if the junk is getting into the pickup/balance/volume part of the circuit before the preamp.
Great idea. I'll try it tomorrow.

On the rechargable batteries, the idea even crossed my mind. Actually, for this circuit, I'm not worried on using an alkaline battery - they're usually rated from 400mAh to 600mAh and this preamp is described to draw around 80uA (yep, that low), so a battery would last too long to worry about. I'm mostly checking how hard is to fix the noise so I can try to use the 18650 + step up module setup in other audio sittuations like powering pedals or a little amp.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on February 05, 2019, 10:56:52 PM
QuoteSo, if I got this right, both the resistor and cap should be put between the power module and the preamp, correct? Should I put the filter right at the module output or as close as possible to the preamp?
Yes.  I'd try it at the power module first.    The best end  depends on what junk is on the wires.  If it doesn't work try the other end.

QuoteI'm mostly checking how hard is to fix the noise so I can try to use the 18650 + step up module setup in other audio sittuations like powering pedals or a little amp.
Nothing wrong with trying to get it to go.   If you use a different converter later you might find you get a different set of problems.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Marcos - Munky on February 06, 2019, 05:07:05 PM
Ok, so I tried the filter (1K + 100uF) right after the step up module, and it did reduced the noise. I still had that long twisted pair of wires connecting the module to the preamp. Then I tried the filter (this time with a 220uF cap) right on the preamp board, and it reduced even more the noise, to a level it's still there but maybe it's acceptable. Then I connected the short wires back, put everything inside the bass and closed the lid...

Now, the noise is back :icon_eek:. So I opened it again to play with the module position compared to the pickups, and found a place where there was low noise. But then I found out there's another source of noise that is position-based: the 18650 battery itself! When I changed it's position, the noise changed. And even at the same exact spot but rotated 180 degrees (just swapping which way the polarities were facing), I got different amounts of noise.

Maybe now the best idea is to just use a 9V battery.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on February 06, 2019, 05:32:56 PM
QuoteOk, so I tried the filter (1K + 100uF) right after the step up module, and it did reduced the noise. I still had that long twisted pair of wires connecting the module to the preamp. Then I tried the filter (this time with a 220uF cap) right on the preamp board, and it reduced even more the noise, to a level it's still there but maybe it's acceptable.
OK, to me that means there is ripple on the output of the converter.  Probably a lot.   I fact I'm even thinking the output cap on the converter board isn't doing its job.   Do you have an oscilloscope to look at the ripple at the output of the converter?
You might get a small improvement putting another 1k between the 100uF and the 220uF.

QuoteThen I connected the short wires back, put everything inside the bass and closed the lid...

Now, the noise is back :icon_eek:. So I opened it again to play with the module position compared to the pickups, and found a place where there was low noise. But then I found out there's another source of noise that is position-based: the 18650 battery itself! When I changed it's position, the noise changed. And even at the same exact spot but rotated 180 degrees (just swapping which way the polarities were facing), I got different amounts of noise.
OK that's annoying but what is says to me is there are strong current pulses at the input of the converter.  That is normal for a converter but it is also normal to try to stop them getting out by using a cap or filter.   Problems occur when the cap across the input terminals is too small, or the layout is bad ; the layout for a 1.2MHz switcher is *very* critical.     The current pulses also go through the battery and that can make the battery appear like a noise source.  Twisted battery wires can help but you can't twist the battery :icon_mrgreen:.

A full blown input filter looks like this.   If you *need* a large L you can get into trouble with all the stuff amptramp mentioned.
https://www.digikey.com/en/articles/techzone/2012/jun/~/media/Images/Article%20Library/TechZone%20Articles/2012/June/Managing%20Converter%20In-Rush%20Current/article-2012june-managing-converter-in-rush-fig1.jpg

So I'd probably try putting a large smd ceramic cap across the input terminals of the converter, located right at the input terminals.    If that doesn't work you might need a small inductor then a second cap like in that picture.

It crossed my mind that perhaps the biggest source of problems is the fact that converter board is rated at very high currents.    The current pulses on the input (and through the output caps) usually scale-up roughly proportional to the converter rating.  You are running at tiny currents so the current pulse are astonomical compared to your operating current.   It's probably the wrong converter for the job.

At such low load currents, and such a large rating, and with the high switch frequency, the efficiency of the converter is going to be very low.   So you shouldn't think the switcher is giving you high efficiency.

Some options are:
- find a lower power converter
- use a charge pump.   Even if it is lossy the efficiency will probably be better than you switcher.
- Redesign the switcher for lower currents.   You might be able to reduce the noise but the efficiency
  could still be bad because the switcher has a large MOSFET and the losses will be large compared your load current.

I'd look at the charge pump!
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Marcos - Munky on February 10, 2019, 03:04:45 PM
I just tested putting a 100n ceramic cap right at the input terminals of the converter. Now I got zero noise! Well, I'm still getting a very low volume noise sometimes, but I found out it has something to do with the jack. If I pull the cable just a little bit, the noise stops. Guess it's time to put in a new jack.

Thanks again for your help!
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: rankot on February 10, 2019, 03:11:48 PM
This must be bad grounding connection with a cable.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on February 10, 2019, 03:19:24 PM
QuoteI just tested putting a 100n ceramic cap right at the input terminals of the converter. Now I got zero noise! Well, I'm still getting a very low volume noise sometimes, but I found out it has something to do with the jack. If I pull the cable just a little bit, the noise stops. Guess it's time to put in a new jack.

Thanks again for your help!
That's a good result.  Maybe try 1uF or 10uF ceramic or at least 2x100nF in parallel.

I'm beginning to understand the details of your problem.   If you are connecting the Li-ion battery via the jack, then *any* current pulses on the input of the converter will appear as noise across the jack "switch" connection and this get added onto any audio at the jack.   The jack will always have some contact resistance so it is unavoidable some noise will creep in.   

One solution is the input cap on the converter board like you have done as it keeps the current pulse on the board not down the converter ground wire.     An LC input filter could help as well.

A much better solution is to use the input caps but use the jack connection to turn on a MOSFET switch.  The MOSFET switch would then switches the power from the battery ground to the converter 0V input.  The wiring for Battery -ve  -> MOSFET -> converter ground can be kept short.  That way the high current pulses don't go through the ground at the jack.

Title: Re: reducing noise in a preamp powered with dc step up module
Post by: amptramp on February 10, 2019, 06:59:44 PM
Nice to see a problem get solved!

Were there any application notes (or links to app notes on the net) for this device?  If the cure was that simple, maybe there is some guidance somewhere that tells you how to use it, much like linear regulators have app notes telling you what capacitance to put to ground at the input and output.  Somebody somewhere knows this for this unit!
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on February 10, 2019, 07:06:21 PM
QuoteWere there any application notes (or links to app notes on the net) for this device?
It's a module, see link in Reply #3.  IMHO, the module probably has a skimped input cap (or long tracks to the cap).
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Marcos - Munky on February 10, 2019, 07:46:54 PM
Yeah, I'm using the jack to connect the battery to the step up module. It's probably related to the contact resistance of the jack, because I can get rid of the noise by pulling the cable just a little bit, and that probably changes the plug position and the resistance enough to affect the noise.

Altough I don't really know how to use a mosfet as a switch, I agree that's a better solution. I found a simple 2N7000 switch that probably would do the job. Simple enough to quickly test it. Tomorrow I'll try to add another ceramic cap to the input of the module because that's easier than the mosfet switch :icon_lol:, and if I still get noise, I'll try the switch.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on February 10, 2019, 08:10:13 PM
QuoteAltough I don't really know how to use a mosfet as a switch, I agree that's a better solution. I found a simple 2N7000 switch that probably would do the job. Simple enough to quickly test it. Tomorrow I'll try to add another ceramic cap to the input of the module because that's easier than the mosfet switch :icon_lol:, and if I still get noise, I'll try the switch.

RG has already done it,
http://www.geofex.com/Article_Folders/mosswitch/mosswitch.htm

I'm not sure about magnitude of the current or what current waveform looks like going into your module.   If it's high it could take-out the MOSFET.    Adding a cap to the MOSFET to make it "soft start" may help but it won't help if the module currents are high.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Marcos - Munky on February 13, 2019, 07:12:31 PM
So, I finally tested the mosfet switch. The noise is still there, but it's more stable now. I mean, with the negative supply switched by the jack, a little cable movement was responsable for the noise to appear or disappear. Now I can move the cable a little bit more, but sometimes the noise is still there. Guess it's time to change the jack for a new one.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on February 14, 2019, 07:11:53 PM
QuoteSo, I finally tested the mosfet switch. The noise is still there, but it's more stable now. I mean, with the negative supply switched by the jack, a little cable movement was responsable for the noise to appear or disappear. Now I can move the cable a little bit more, but sometimes the noise is still there. Guess it's time to change the jack for a new one.
Something must still be quite noisy for that to happen.  Maybe try increasing the size of the input cap on the converter, the place where you added the cap.

Unless you can see the problems with measurements, the next best alternative is to simply keep bashing away at the problem.  Eventually you will have a containment field around all the leaks.    Unfortunately these problems end-up being caused by specific things.  At the start the list of possible culprits is long and you just have to work through them until you get to the cause(s).
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Marcos - Munky on February 16, 2019, 01:38:22 PM
I added more 2 100n caps in parallel on the input of the module, so now I have 300n. The preamp is dead quiet almost all the time, but I'm still having that issue with the jack/cable, when I move the cable a little bit the noise is back. I'll try to put in another jack.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on February 16, 2019, 04:39:45 PM
QuoteI added more 2 100n caps in parallel on the input of the module, so now I have 300n. The preamp is dead quiet almost all the time, but I'm still having that issue with the jack/cable, when I move the cable a little bit the noise is back. I'll try to put in another jack.
See how you go.   IMHO, the input jack shouldn't have an effect unless there's something still not 100%.   Clearly the input caps improve things.  You might need a large value like 10uF there.   The input current pulses could be very high and you need to keep them local to the converter board.  Another thing would be to increase the output filter caps and add LC filters.  I suspect you might be sick of this by now.  ;D

Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Marcos - Munky on February 17, 2019, 08:05:54 PM
Yeah, I'm thinking it'll be way easier to just use a 9V battery :icon_lol:. I can't find ceramics bigger than 100n here, so I can't try a bigger cap value. Well, I can use a lot of them in parallel, but I will need a hundred to make a 10u cap :icon_lol:
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on February 18, 2019, 04:45:56 PM
QuoteYeah, I'm thinking it'll be way easier to just use a 9V battery :icon_lol:. I can't find ceramics bigger than 100n here, so I can't try a bigger cap value. Well, I can use a lot of them in parallel, but I will need a hundred to make a 10u cap :icon_lol:
If you leave the 3x100nF at the board like you have you might be able to use a normal cap 10uF to 100uF.

While the converter is 1.2MHz, when you run with virtually no load the switch frequency can drop.   Modern converters change from operating at constant frequency to constant on time and variable frequency (or perhaps in bursts).   If the load is light, like in your case, the switch frequency might be so low it is actually in the audio band.

Check-out figure 2:
http://file.scirp.org/pdf/ENG_2013011608512789.pdf

With that thinking, you can see why a 10uF to 100uF at the input might work.  Also, it probably explains why the RC filters you added at the converter output helped.   

Yet another thing to try is to add a small load to the output.  That might cause the switch frequency to shift up higher.    I wouldn't worry too much about battery drain since the converter efficiency is going to be poor anyway.   You could just decrease the load resistor until the noise moves out of the audio band.   After that measure the battery current with and without the load.   If the battery drain hasn't significantly increase then just leave the load in place.

QuoteYeah, I'm thinking it'll be way easier to just use a 9V battery
Yes, it's far easier.    I think maybe that converter board isn't suited for the light load you have.  Ideally you want something where you can guarantee the switch frequency is outside of the audio band.  That why I was thinking a charge pump might be better for the light load case.
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Marcos - Munky on March 06, 2019, 01:54:46 PM
Tried a 10uF eletrolytic cap today, the noise is still there. I'll just go the easiest way: remove everything and use a common 9V battery :icon_lol:
Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Rob Strand on March 06, 2019, 03:48:31 PM
QuoteTried a 10uF eletrolytic cap today, the noise is still there. I'll just go the easiest way: remove everything and use a common 9V battery :icon_lol:
Yes, it seems like too much of a hard slog getting that switcher to run quietly.
IMHO a charge pump might be less trouble.  It won't run efficient from 3.6V but the switcher's not that efficient at low currents so you aren't losing anything anyway.   The good thing about the charge pump is you can set the switch frequency above audio.

Title: Re: reducing noise in a preamp powered with dc step up module
Post by: Marcos - Munky on March 06, 2019, 05:41:42 PM
Yeah, a charge pump probably will do a better job. ICL7660 works with voltages down to 1.5 V, so I'll probably give it a try when I get some free time. I have a voltage doubler board laying around somewhere here, that'll make 7.4 V with a 18600 cell. Probably enough for a quick test.