Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #569087
| Newsgroups | sci.electronics.design |
|---|---|
| Date | 2019-12-11 09:19 -0800 |
| References | <h51q2nFau6dU1@mid.individual.net> |
| Message-ID | <b78cfc96-e837-423b-8df4-b180dcab084c@googlegroups.com> (permalink) |
| Subject | Re: Fairy Lights PWM Part 2 |
| From | bloggs.fredbloggs.fred@gmail.com |
On Saturday, December 7, 2019 at 9:08:28 AM UTC-5, Tim Watts wrote: > Follow up from the thread Oct 2019 > Minimising EM noise from PWM switched fairly lights? > > Hi folks, > > Recap - this is an educational project for my son to drive some existing > garden LED fairy lights from a Raspberry Pi ZeroW > > The only problem, as fully expected, is they are chucking out more EMI > than I'd like and I don't want to be causing problems for others. So - > yes, it's a crappy control method but we are where we are (see below) > This is a case of trying to do a little more with a non ideal starting > point and I'd be super grateful for any pointers on that basis :) > > > The noise I have is showing up on an AM radio as a clear buzz at the > base PWM frequency (100Hz), audible across the MW range. This becomes > undetectable about 5 - 10 yards from my property boundary depending on > direction. The locals have been warned and no one's complained yet. > However it's a lot noisier than the supplied controller and without a > scope I can't see what the manufacturer did - but that leads us to Q1: > > > Q1) Would I understand this better with a £99 PicoScope, basic 10Mhz > model, simple few turnes of wire antenna and looking at the spectrum (I > think spectrum software comes bundled with the Picoscope)? > > Q2) I've read about frequency dithering of PWM to spread the noise out > from narrow to broadband. That's something I could do in software > easily. No quite sure how far to dither - 100-200Hz, 100-1000Hz? Anyone > heard of that? > > Q3) Low pass LC filter to attentuate some of the higher harmonics: > https://imgur.com/a/8UeNy2f - analogue isn't my thing, not quite sure > where to start with L and C values. Happy to buy a few values and suck > it and see, if Q1 gives me a sensible method of measuring the effect. > > > > > On the plus side, I am really pleased with the software :) Pity my > electonics skills suck which is why I'm reduced to using pre built > HBridge L298 modules from ebay. But I'm keen to try to learn a little > more and this is as educational for me as the lad - any help gratefully > received :) > > > If starting from nothing, I wouldn't do it like this - I'd go straight > to NeoPixels and have all the lamp control localised to each lamp. I > might indeed order some strngs from China next year - but for this year, > I do have these existing lights wrapped around trees already - and PWM > is an instructive project in its own right. I am just mindful that I > have the responsibility to not wreck havoc on my neighbours :) > > > Cheers and all the best, > > Tim > > > > ============Lights spec ============= > > This is the equivalent circuit: The LEDS are wired in alternate-reversed > configuration so that lamp 1,3,5... are driven on a forward current, > lamp 2,4,6... are driven on reverse current. > > Drive voltage 30V, about 140mA for all 150 lamps in 3 strings. > > https://imgur.com/a/K9iGr2J > > That's what it is - they're wrired like that as bought based on 4 > wires. Not certain of the exact configuration - might be 5, 6 or more in > series depending on the exact Vf of the LED. > ===================================== LED strings are not driven by voltage sources or pulses, they are driven by current sources. The LED current is exponentially related to the impressed voltage which makes for a great fast harmonic generator, whereas the LED voltage resulting from a current drive has a logarithmic relation which is more less a smoothing function. Radiated energy at any frequency is proportional to the square of the ratio of string length to the wavelength of the frequency. If you bandlimit the current drive to something like 20kHz, the far field radiation is attenuated by a factor of a million or more, which means there won't be any radiation. You can easily bandlimit with a differential C-L-C differential filter, which is 2x L's and 2x C's, for which you can use almost anything in the way of off-the-shelf components because your signal is relatively low power. If you use an AM radio as a "sniffer" then it's important to make the distinction between far field and near field. Putting the receiver right up to the string is a worthless measurement for interference because you're just picking up close-in coupling which tells you nothing. You want to use the receiver in the far field which is displaced multiple wavelengths away from the string.
Back to sci.electronics.design | Previous | Next — Previous in thread | Find similar | Unroll thread
Fairy Lights PWM Part 2 Tim Watts <tw@example.com> - 2019-12-07 14:08 +0000
Re: Fairy Lights PWM Part 2 Rick C <gnuarm.deletethisbit@gmail.com> - 2019-12-07 10:50 -0800
Re: Fairy Lights PWM Part 2 Tim Watts <tw@example.com> - 2019-12-07 19:50 +0000
Re: Fairy Lights PWM Part 2 Rick C <gnuarm.deletethisbit@gmail.com> - 2019-12-07 12:22 -0800
Re: Fairy Lights PWM Part 2 Tim Watts <tw@example.com> - 2019-12-07 20:04 +0000
Re: Fairy Lights PWM Part 2 Jasen Betts <jasen@xnet.co.nz> - 2019-12-07 20:18 +0000
Re: Fairy Lights PWM Part 2 Tim Watts <tw@example.com> - 2019-12-08 18:10 +0000
Re: Fairy Lights PWM Part 2 Rick C <gnuarm.deletethisbit@gmail.com> - 2019-12-08 12:22 -0800
Re: Fairy Lights PWM Part 2 Tim Watts <tw@example.com> - 2019-12-08 18:16 +0000
Re: Fairy Lights PWM Part 2 tabbypurr@gmail.com - 2019-12-07 20:29 -0800
Re: Fairy Lights PWM Part 2 Klaus Kragelund <klauskvik@hotmail.com> - 2019-12-08 09:42 -0800
Re: Fairy Lights PWM Part 2 Tim Watts <tw@example.com> - 2019-12-08 18:06 +0000
Re: Fairy Lights PWM Part 2 Jasen Betts <jasen@xnet.co.nz> - 2019-12-08 18:57 +0000
Re: Fairy Lights PWM Part 2 klaus.kragelund@gmail.com - 2019-12-08 11:07 -0800
Re: Fairy Lights PWM Part 2 antispam@math.uni.wroc.pl - 2019-12-09 13:40 +0000
Re: Fairy Lights PWM Part 2 bloggs.fredbloggs.fred@gmail.com - 2019-12-11 09:19 -0800
csiph-web