djulien wrote:Is it the devices themselves (LEDs vs. incandescent), or the dimming technique (PWM vs AC phase angle dimming) that is mostly responsible for the difference, or both?
This could be easily enough put to the test, noting the difference between ordinary incan and LED strings on an AC dimmer, versus dimming of DC powered LEDs. (We don't seem to do much dimming of DC incans here, but that could be tested too).
My guess however is that it's more about the incans luminosity vs average current curves. Light output of an incan is proportional to a fairly high exponent polynomial of the average current, which should produce a concave curve generially similar to a gamma curve.
On the other hand, the average current of a partial sine wave (eg: dimmed with triac) will have a roughly cosine shaped curve (a time integrated sine wave), with a concave then convex shape, which is not how a gamma curve looks.
Posted in worng place - sorry.
Zeph wrote:This could be easily enough put to the test, noting the difference between ordinary incan and LED strings on an AC dimmer, versus dimming of DC powered LEDs. (We don't seem to do much dimming of DC incans here, but that could be tested too).
Good point - by using the same type of dimming for both types of lights, that would provide a direct comparison of the lights themselves independent of the dimming technique.
Zeph wrote:My guess however is that it's more about the incans luminosity vs average current curves. Light output of an incan is proportional to a fairly high exponent polynomial of the average current, which should produce a concave curve generially similar to a gamma curve.
I've heard/read that incandescent brightness is related to the power, and since that is just voltage * current and voltage = resistance * current then that matches the description you gave as brightness being proportional to an expontential of average current, so that makes sense.
Zeph wrote:On the other hand, the average current of a partial sine wave (eg: dimmed with triac) will have a roughly cosine shaped curve (a time integrated sine wave), with a concave then convex shape, which is not how a gamma curve looks.
Does this mean that gamma correction would primarily just be needed at one end of the dimming range and not so much at the other end, or maybe I should not even try to compare the AC curve with the gamma correction curve at all?
don
djulien wrote:Is it the devices themselves (LEDs vs. incandescent), or the dimming technique (PWM vs AC phase angle dimming) that is mostly responsible for the difference, or both? I realize that incandescent filaments have a slower response time than LEDs and therefore smooth out the flicker, but it seems like the alternating sine wave voltage being near 0 at both ends of the dimming cycle (and therefore the incremental power associated with those timeslots being less) is really what makes the dimming curve itself non-linear, not the devices. (Sorry to back-track; just wanring clarification on the root cause).don
Incandescent bulbs increase in efficiency as they increase in intensity. LEDs tend to maintain the same efficiency. Yes, the technique used for dimming incandescents will have an impact on how they look, but in general it's the fact that the bulbs themselves are very non-linear that produces the effect.
@jstjohns - Is this currently implemented and available for APA102 and/or WS2812 pixels in the current v5 firmware?
Theturtle32 wrote:@jstjohns - Is this currently implemented and available for APA102 and/or WS2812 pixels in the current v5 firmware?
Not at present but on the to do list.
jstjohnz wrote:Not at present but on the to do list.
Sounds good. I can't wait! I've done some looking around and it seems like none of the other Pixel controllers on the market do this, offering gamma correction via temporal dithering. The FadeCandy controller does, and the FastLED library for Arduino does, and it makes a MASSIVE difference in the quality of the overall display. To the point that it opens up an entire world of effects that just look terrible with linear gamma. Much smoother fades and color gradations at lower ends of the brightness spectrum. I think it would be an absolutely killer feature, except it seems like nobody is really taking about it much. Is it that obscure of a concept? In my experience it's almost a game changer when it comes to the quality of LED pixel based displays.
Theturtle32 wrote:Sounds good. I can't wait! I've done some looking around and it seems like none of the other Pixel controllers on the market do this, offering gamma correction via temporal dithering. The FadeCandy controller does, and the FastLED library for Arduino does, and it makes a MASSIVE difference in the quality of the overall display. To the point that it opens up an entire world of effects that just look terrible with linear gamma. Much smoother fades and color gradations at lower ends of the brightness spectrum. I think it would be an absolutely killer feature, except it seems like nobody is really taking about it much. Is it that obscure of a concept? In my experience it's almost a game changer when it comes to the quality of LED pixel based displays.
Easy Lights 16 pixel controller handles gamma correction for APA102 and Ws 2812 .
If your looking for a game changer try 12 bit per color pixels and an Easy lights 16 pixel controller . 🙂
@jstjohnz - Any update on this? Is temporal dithering and gamma correction for 8-bit pixels coming to the SanDevices controllers any time soon?
Theturtle32 wrote:@jstjohnz - Any update on this? Is temporal dithering and gamma correction for 8-bit pixels coming to the SanDevices controllers any time soon?
This has been in the version 4 firmware for quite some time BUT (yes there is a catch), for pixel types like the 2811 and variants it is only usable for pixel strings up to about 55 pixels. The problem is that for longer pixel strings the dithering becomes visible.
You can test this by setting string length to 50 and playing with the gamma value, 2.0 is pretty good generally. I believe 8-bit pixels get expanded up to 10 effective bits and 5-bit pixels get expanded up to 8 effective bits.
