Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #568643

Fairy Lights PWM Part 2

From Tim Watts <tw@example.com>
Newsgroups sci.electronics.design
Subject Fairy Lights PWM Part 2
Date 2019-12-07 14:08 +0000
Message-ID <h51q2nFau6dU1@mid.individual.net> (permalink)

Show all headers | View raw


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.
=====================================

Back to sci.electronics.design | Previous | Next — Next in thread | Find similar | Unroll thread


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