The above Ad will no longer appear after you Sign Up for Free!

Control/Dimming Multiple PWM Settings

Discussion in 'Lighting and Electrics' started by Scott Lumley, May 30, 2019.

  1. Scott Lumley

    Scott Lumley Member

    Messages:
    16
    Likes Received:
    13
    Occupation:
    Production and Technical Manager
    Location:
    Sault Sainte Marie, MI
    I know pulse-width-modulation controls the on/off cycle of LED's, and lower Hz can be seen as flickering, but why not just use the highest setting? Not all lights let you change the PWM, but some do, like the Chauvet Professional Ovation B-2805FC. Is there a reason not to just use the highest setting? If not, why don't they just lock them into that setting? Is a setting in the middle better to use for some instances? Does a higher rate (or lower rate) effect how long the electrical components will last (or the LED itself)? Is there a magic number, that once passed is just overkill and unnecessary with modern cameras and the human eye?

    I haven't worked with any lights that allow the changing of PWM yet, but hopefully soon, I will have some. I'm just looking for a better understanding of it. Thank you!
     
    RonHebbard likes this.
  2. Harrison Hohnholt

    Harrison Hohnholt Active Member

    Messages:
    64
    Likes Received:
    46
    Occupation:
    Sales Manager
    Location:
    Carlstadt, NJ
    We work with PWM on our low voltage dimmers and LED tape.

    One of our dimmers ranges from 500Hz to 30KHz. At the lower rate, you get much better low-end dimming. Especially, on slow fades to zero. And as we know theatrical designers love the slow fade to zero.

    On the adjustable aspect, fastest might not always be best if it still flickers on camera. Being able to adjust fixes that problem. We have found being adjustable is better than just being able to be super fast.

    I am not sure about how the electrical components are affected by the rate.

    There is a magic number for the human eye, I am not sure what it is off the top of my head. For cameras, it depends since there are different max refresh rates and that setting can be adjustable.
     
    RonHebbard and Scott Lumley like this.
  3. Jay Ashworth

    Jay Ashworth Well-Known Member

    Messages:
    2,301
    Likes Received:
    840
    Location:
    St Pete FL USA
    RonHebbard and Scott Lumley like this.
  4. Scott Lumley

    Scott Lumley Member

    Messages:
    16
    Likes Received:
    13
    Occupation:
    Production and Technical Manager
    Location:
    Sault Sainte Marie, MI
    Thank you both for your quick responses! I think I understand it a bit better now. Above a certain point (120Hz maybe) the human eye can't see the flickering. Depending on the camera though, some may need a higher rate, whereas others may need a lower rate (but still above the human eye).

    So another question, sometimes when we do events that are recorded, the camera guy comes in last second (sometimes even when the event is suppose to start and we hold), and I might not have time to adjust the PWM or they might not even say anything to me about it, so is there a recommended setting that works for most cameras? If you had to pick just one PWM to go with, what would it be?
     
    RonHebbard likes this.
  5. Harrison Hohnholt

    Harrison Hohnholt Active Member

    Messages:
    64
    Likes Received:
    46
    Occupation:
    Sales Manager
    Location:
    Carlstadt, NJ
    That one is tough for two reasons. Fixtures PWM varies in specificity and how many options there are available. Some have 4 some have 20.

    The internet is saying 6KHz.
     
    RonHebbard likes this.
  6. Scott Lumley

    Scott Lumley Member

    Messages:
    16
    Likes Received:
    13
    Occupation:
    Production and Technical Manager
    Location:
    Sault Sainte Marie, MI
    I know one setting isn't always going to be the best choice, but I just want to know where I should start, and change if I notice or if someone else notices an issue. Thanks for helping me out with this, I really appreciate it!
     
    RonHebbard likes this.
  7. Harrison Hohnholt

    Harrison Hohnholt Active Member

    Messages:
    64
    Likes Received:
    46
    Occupation:
    Sales Manager
    Location:
    Carlstadt, NJ
    I almost forgot. One thing I like to do to test is put my phone in slo-mo mode and see if it flickers. It won't catch everything but is a good starting point. It is always good to experiment too. My pixel gets up to 240 fps I haven't tested when I start seeing flicker on it though.
     
    Scott Lumley and RonHebbard like this.
  8. Scott Lumley

    Scott Lumley Member

    Messages:
    16
    Likes Received:
    13
    Occupation:
    Production and Technical Manager
    Location:
    Sault Sainte Marie, MI
    I didn't even think about using my phone in slo-mo mode, I will have to give it a try and play around with the settings to see when my phone can start seeing the flickering and when it can't. I also just noticed that I have a setting I can turn on after taking a slow-motion video that supposedly stops flickering. I'll have to play around a bit with both the lights and my phone.
     
    RonHebbard likes this.
  9. Chris Pflieger

    Chris Pflieger Well-Known Member

    Messages:
    218
    Likes Received:
    129
    Location:
    Indiana
    120 Hz seems really slow... I'm sure it varies from person to person, but for me, Cadillac tail lamps really drive me nuts because of their low rate.

    At higher rates, the internal PWM resolution will be lower. Remember, the microprocessor is always running at a fixed rate, so if the PWM is 30 kHz, and the MCU clock is 72 MHz (mid-level ARM core), that's only 2400 steps available, or roughly 11 bit dimming. To get a full 16 bits, you would need to be ~1 kHz or lower.


    I wonder if power consumption, radiated RFI, audible noise, are a factor when moving up to very high PWM rates.
     
  10. Jay Ashworth

    Jay Ashworth Well-Known Member

    Messages:
    2,301
    Likes Received:
    840
    Location:
    St Pete FL USA
    The number I pull outta my butt is 400Hz. High enough for fusion, low enough not to eat up all your cycles.
     
    Scott Lumley and RonHebbard like this.
  11. Scott Lumley

    Scott Lumley Member

    Messages:
    16
    Likes Received:
    13
    Occupation:
    Production and Technical Manager
    Location:
    Sault Sainte Marie, MI
    In general, it sounds like the lower the PWM setting, the better the dimming because I will have more bits. The higher the PWM setting, the less likely it will show up on a camera as flickering. So I should be picking the lowest setting I can, but making sure it is just high enough to avoid flickering on a camera that may be recording. This would allow me to have more bits for dimming, making it smoother, but also keep the camera people happy. Is this all correct?

    If so, I think I finally understand why there are selectable PWM's and why the highest setting isn't always the best, it depends on the scenario and equipment being used to record. Thank you everyone that has helped me with this!
     
    Chris Pflieger and RonHebbard like this.
  12. Ford

    Ford Sr Product Manager, Chauvet Professional

    Messages:
    229
    Likes Received:
    148
    Occupation:
    Product guy
    Location:
    South FL
    Harrison hit the nail on the head with his description of his LED tape. The slower the refresh rate, the nicer looking the slow fades...but the more likely that it will flicker on camera.

    We have noticed (based on our limited sample of lighting designers and engineers) that the more sensitive among us can see the flicker at 300hz (especially out of the corner of your eye), and we have one guy who can see flicker up to 900hz... but he's not in the norm.
    Most cameras used to work at frame rates that are a multiple of 50 and 60 hz. Back in the olden days, when dinosaurs were just starting to use professional LED pars, All of our COLORados used to be 600hz.
    Then cameras got "higher tech." Now, most of our fixtures can go as low as 600hz, default at 1200hz, and have settings that hit various points (not always multiples of 50 and 60 anymore) all the way up to 25khz.
    We have found that 1200hz works for almost all of our customers (even the television studios), but there is always that one guy who is filming a slo-mo Kung-Fu battle and needs something more specialized... so... options.

    Also... The cameras (especially the ones on our cell phones) keep getting more and more advanced. Between Photo-Bursts, and the Slow Motion options that are becoming more and more prevalent, we want to include as many options as are practical.

    Even the manufacturers who thought that their gear was future proof have found that technology waits for no-LED. I think that the Color Kinetics (or was it Color Force?) fixtures used to be set to 7200hz, which they claimed worked with all cameras... then it didn't. But that was back in like 2012... practically a lifetime ago.

    I guess my point is that what used to be normal is now sub-standard. So, having options is the best way that we lighting manufacturers can keep ahead (or at least apace) with the dang cell phone manufacturers.
     
  13. Scott Lumley

    Scott Lumley Member

    Messages:
    16
    Likes Received:
    13
    Occupation:
    Production and Technical Manager
    Location:
    Sault Sainte Marie, MI
    That all makes sense, and now I know a good starting point to work with.
     
  14. RickR

    RickR Well-Known Member

    Messages:
    1,286
    Likes Received:
    470
    Occupation:
    Consultant
    Location:
    Spokane, WA the great "Inland Northwest"
    The architectural side has been getting serious about flicker for a few years. Google "flicker index" 120hz is very visible as much testing proves. https://www.lrc.rpi.edu/programs/solidstate/assist/pdf/LRC-Bierman-FlickerMetrics-2017-09-22.pdf and more at lrc.rpi.edu

    The other point about having options is avoiding harmonics of the cameras shutter speed. 1200hz is great until the camera runs at 600 or 400! That guy doing super slo-mo can take a tip from 3 phase systems, set fixtures to a variety of speeds and they'll never harmonize into a problem. Just like pointing lights at a variety of angles.
     
    RonHebbard and Scott Lumley like this.
  15. John Palmer

    John Palmer Active Member

    Messages:
    107
    Likes Received:
    47
    Location:
    Cerritos, CA
    To kinda piggy back on what Ford mentioned, I just worked with some fixtures designed for camera that had a very high pulse rate and were "flicker free". The problem was that to get them to be "flicker free" the fixture had NO low end dimming. At DMX value 1, they snapped on at what visually seemed at least 20%. I programmed all intensity and color changes to happen in bumps because you could not smoothly crossfade from blue to magenta.
    So just because a fixture is "flicker free" doesn't mean that it will work for a live event situation.
    BTW, I didn't spec the fixtures. "They are really bright," they said. After working with a demo fixture, I said, "But they aren't really dim, which is what we need." IMG_0402.JPG
    Take care,
    John
     
    Scott Lumley and RonHebbard like this.
  16. Chris Pflieger

    Chris Pflieger Well-Known Member

    Messages:
    218
    Likes Received:
    129
    Location:
    Indiana
    Spread spectrum dimming - now there's something I haven't heard of yet.

    Just thinking about writing the low level MCU driver code is giving me fantods.



    FYI: I just dug into my current project, for a simple indicator LED, I used 4 kHz as the rate - a number completely taken from my backside.
     
  17. sk8rsdad

    sk8rsdad Well-Known Member Premium Member Fight Leukemia

    Messages:
    2,399
    Likes Received:
    1,018
    Location:
    Ottawa
    There are also several options for managing duty cycle. Most people talk about PWM and assume a repeating on-off cycle at a particular frequency. One technique called BAM chops up the cycle by slicing a cycle into a fixed number of time slices then going bit-at-a-time turning on or off for however many time slices the bit represents; that is, given the bit pattern 1011 the LED would be on for 1 slice + 2 slices then off for 4 slices, then on again for 8 slices. Other Simple variants include mirroring successive packets so they bookend each other. It's easier to explain with pictures but I don't have the time. Google PWM vs BAM if interested.
     
    Chris Pflieger and RonHebbard like this.
  18. Chris Pflieger

    Chris Pflieger Well-Known Member

    Messages:
    218
    Likes Received:
    129
    Location:
    Indiana
    Also called "Binary Code Modulation"...


    interesting.
     
  19. Pie4Weebl

    Pie4Weebl Well-Known Member Fight Leukemia

    Messages:
    2,465
    Likes Received:
    362
    Location:
    New York City
    I was using some LEDs movers and there was high humm in the PA, I suspected it might be my lights causing it, so I changed the PWM to up above what a human can hear, low and behold the noise was gone!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice