Skip to content
View epccs's full-sized avatar
Block or Report

Block or report epccs

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
epccs/README.md

epccs

Hi, I am Ron. I am an electrical engineer working with LEDs, drivers, and related controls. Not so much microcontrolers at the moment (maybe a little.)

LEDs

When an electron passes through a P-N_junction, it releases energy, some turns into heat and some light. The amount of energy released is related to the semiconductor band-gap energy. Different semiconductors have different band gaps, so when a photon is emitted, its color can be roughly correlated with the band-gap energy of the P-N junction material. A trick some LEDs use is phosphor-down conversion to make a broader spectrum of light. Luminous efficacy continues improving; in other words, the ratio of photons to heat continues to improve.

Electromagnetic interference

I am no expert at EMI, but I have been fighting with several designs for about a year. The LED drivers are Buck, Boost, and Buck-Boost. In each case, there are parts of the circuit where the current flow path changes abruptly, usually involving switches like MOSFETs but also sometimes diodes. The abrupt change is nearly a discontinuity, but a ramp can be seen looking close. A magnetic H field flairs around the path, experiencing the sudden current flow. The edge of everything metal near that will block the hi frequency H field by developing current eddies. The superposition theorem tells us that the net result of the induced current ends up on the outermost edge. A relation between frequency and skin depth is also at play, but let's keep it simple and ignore thin traces. So, we are concerned with how those edge currents can reach out along the edges of planes and induce currents elsewhere. We need to do the circuit board planes so they enclose the discontinuous paths, and those enclosing edges don't cross areas where they can induce knock-on effect current flow. That will minimize emissions, but putting a cage over the compartment where switching occurs is better. A Near-Field Probe might help chase things down but drawing the switching paths and thinking about them is what I did.

Electromagnetic compatibility

Immunity testing is another aspect of these darn LED drivers. Some of the specifications use a technique called Bulk Current Injection (BCI, like ISO 11452-4). I found a culprit for the parts not getting through this test after getting some BCI test equipment. I removed the structures that could act like a loop-gap resonator.

Once the resonance grows large enough, the lights do some bizarre things. On the next iteration, it became clear that our microcontroller input had negligible immunity, but it worked fine on the bench. It is important if you don't want to burn cash to get some in-house BCI capability.

Conducted Emissions

Conducted Emission has to do with measuring voltage and current on the wires to the unit and has taken the longest to understand. The wires are long, nearly 2 meters for some tests; the idea is to represent the wiring harness. The main thing that I needed to understand was that the floating wires (to toggle switch and ilk) are resonators with 1uH per meter and 10pF out at the floating end. They build up and store energy, so you have to figure out how to dampen it. Here are some links Tacoma Narrows, Wave Behavior. The long wires with floating ends were also causing high E-field emissions because the entire 2-meter harness was placed on the table.

Thanks for visiting

That is it for now. I hope to find some time for my own projects (they are more fun).

Popular repositories

  1. RPUno RPUno Public

    ATmega328p general purpose controller board

    C 3 1

  2. RPUlux RPUlux Public

    ATmega328p controller board with PWM pins to six constant current LED drivers

    C 3

  3. Irrigate7 Irrigate7 Public

    Open-source Hardware & Software for Irrigation, ATmega1284p and seven latching solenoid drivers and flow sensor input

    C 2 1

  4. RPUadpt RPUadpt Public

    Shield with manager for serial MDB, I2C, and SPI

    C 2 1

  5. xboot xboot Public

    Forked from alexforencich/xboot

    XBoot Extensible Bootloader

    C 1

  6. RPUpi RPUpi Public

    Shield with a serial manager to switch between P2P and P2MP modes from an R-Pi host

    C 1 2