Git Product home page Git Product logo

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

Ron Sutherland's Projects

atmega_dfp icon atmega_dfp

for AVR ATmega builds, it is from http://packs.download.atmel.com/

avr-dx_dfp icon avr-dx_dfp

for AVR Dx builds, it is from http://packs.download.atmel.com/

avrdude icon avrdude

mainline avrdude imported from svn://svn.savannah.nongnu.org/avrdude/trunk

driver icon driver

Collection of Driver circuit boards

dxcore icon dxcore

Arduino core for AVR DA-series parts - now released!

eagle icon eagle

Printed circuit boards done in Eagle

gravimetric icon gravimetric

ATmega324pb controller board for gravimetric method flow meter and prover calibration

irrigate7 icon irrigate7

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

jtag2updi icon jtag2updi

UPDI programmer software for Arduino (targets ATtiny 417 / 814 / 816 / 817 / 1614 / 1616 / 1617 and similar MCUs)

loopsensor icon loopsensor

Collection of current loop sensor circuit boards

macgyver icon macgyver

Board that connects an R-Pi to AVR128DA28

punica icon punica

ATmega1284 controller board with general purpose IO and ADC

pyupdi icon pyupdi

Python UPDI driver for programming "new" tinyAVR and megaAVR devices

rpuadpt icon rpuadpt

Shield with manager for serial MDB, I2C, and SPI

rpulux icon rpulux

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

rpuno icon rpuno

ATmega328p general purpose controller board

rpupi icon rpupi

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

rpuusb icon rpuusb

USB to UART bridge for a host to operate the 40 pin R-Pi header e.g., in place of an R-Pi.

wireviz icon wireviz

Easily document cables and wiring harnesses

xboot icon xboot

XBoot Extensible Bootloader

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.