Emission Aware Programming


Emission Aware Programming

=Emission Sources=

Emission considerations require the evaluation of many details such as the clock frequencies and switching rates which are related to the oscillator. Rise/fall times and signal harmonics are related to the output driver. The data transfer rates can be dependent on hardware or can be controlled by software and often have to meet a certain protocol. Impedances, trace loading and the various circuit components are hardware related and must be considered from the beginning of the design.

Three basic actions for emission reduction can be defined:
*Avoidance of unnecessary RF-noise.:Only this action can be applied to software based emission control. Reduction of for instance the switching frequency or the number of switching circuits reduces the power consumption and therefore the emissions. For example this could be low voltage operation or the usage of power reduction modes.

*Keeping RF-energy insulated from antenna structures.:RF-energy is not a problem if the structures dealing with it are too small [In RF-Engineering the unit of measurement is the wave length λ. Geometrical measures are taken as a multiple of the wave length. The geometrical distance "d" between two points are quantified in "d"/λ. Thus terms like small or large are always related to wave length. Electromagnetically large structures accord to "d" >= 1 and small to "d" < 0.1 or "d" = λ/10. The range between electromagnetically small and large is the resonant frequency range.] for acting as effective antennas. A decoupling capacity keeps most of the RF-energy locally in a small loop between the device and the capacitor as shown in the figure.
*Transforming RF-energy into heat.:Any impedance formed by coils, capacitors, resistors, ferrites etc. can be used for this purpose.

In the following all components that can be influenced by the software design will be described.

The Oscillator

Microcontrollers require a clock source for the switching of the internal transistors. Almost all controllers require an external crystal or ceramic resonator. Since the ceramic resonator is potentially sensitive to spikes which can shorten clock periods typically a Pierce oscillator configuration is used. Harmonic frequencies of the clock cause unwanted emissions.
The circuit internal to the MC in simplified form is a NAND gate followed by an inverter. The external oscillator is not the only source of emissions. The system clock circuits consists of an internal RF divider followed by large amplifiers. These amplifiers drive long lines inside the components and might cause interferences.
The use of internal oscillators instead of external ones should be preferred. (An additional hardware measure is the use of spread spectrum oscillators.)

The Power Supply

The field strength is proportional to the current as a consequence the power supply, providing the current for the entire system, is a strong source of emissions. Physically, a reduction of the power consumption of the system and the minimising of circuit loops (by the usage of decoupling capacities) emitting the noise, improves the EME performance.A software based solution is to temporary disable peripheral devices when not needed and thereby reduce unnecessary power consumption.

The I/O Pins

If an MC uses external memory space or peripheral devices continuous transitions on several data/address bus lines are implied. The emission depends on the frequency of the transitions, their quantity, rise/fall time and duration. The quantity of transitions, of port traffic can be influenced by the use of interrupts instead of continuous polling of ports. The use of interrupts is software based as well.
For the IRQ or reset pins (input pins) the termination is more important than for general I/O ports. If noise causes these two pins to mis-trigger it will have a negative effect on the circuit behavior. A high current consumption is often observed, particularly in CMOS devices, when the input pins are unconnected due to leakage current internal to the IC. Terminating highimpedance input pins can therefore lead to a reduction in supply current and hence reduces emission.With most MC the internal pull-up resistors can be used to set unused pins to a defined voltage level.

Ringing

:To achieve fastest possible transmission rates the fastest possible switching rates are applied. The faster the switching rate the more likely over- and undershooting (ringing) will occur. Ringing of the output signal is mainly caused by parasitic elements of the output structure e.g. the capacitive components like the parasitic capacities and the load capacitances as well as the parasitic inductances that are built by the bond wire and the lead frame.
:In four techniques to reduce ringing are described:
:*Digital Control:*Increasing the On-Resistance:*Feedback Control:*Skewing of the Output Driver Switching

Ground Bounce

:Ground bounce is a voltage bounce caused by simultaneous switching of several outputs from one logic state to the other, for example from high to low. The voltage built up across the parasitic inductance of the IC ground return connection causes a transient voltage potential shift in the ground reference potential with respect to the system ground. Ground bounce is caused by CMOS crowbar current and the dynamic switching currents of capacitive loads.

Rise and Fall Time

One way of reducing the emissions of an MC System is to extend the rise and fall time (Slew Rate Control). Some controllers like the Motorola HCS08 offer the feature of software controlled slew rate output buffers enabling the user to extend the rise time from 3 ns to 30 ns for each pin separately.

Some microcontrollers offer current limiting, a way of limiting the maximum current driven by the output port (e.g. Motorola MCS12).

Emission Control: Power Saving

The most effective way of reducing emissions is to temporary shut down unused modules in the MC, thereby saving power. Most controller support several "sleep modes".

Conclusion

In order to reduce electromagnetic emissions on software basis the following measures should be considered::*Oscillator (kind and frequency):*Power (Saving Modes, low voltage operation and supply):*I/O Port switching frequency and power (if possible: Slew Rate control and skewing)

Most software implemented improvements on emission can only be detected using an Average-Detector!

Note

ee also

*EMC Aware Programming
*Immunity Aware Programming
*Electromagnetic compatibility
*List of EMC standards
* low-power


Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Immunity Aware Programming — When writing firmware for an embedded system, immunity aware programming is a set of programming techniques used in an attempt to tolerate transient errors in the program counter or other that would otherwise lead to failure.Immunity aware… …   Wikipedia

  • EMC Aware Programming — Electromagnetic compatibility (EMC) Aware Programming involves writing software which is resilient to errors induced by electromagnetic fields.MotivationMicrocontrollers have low immunity tolerance resulting in a very high rate of transient… …   Wikipedia

  • Worldview and working model of neuro-linguistic programming — The Worldview and working model of Neuro linguistic programming (NLP) covers the underlying philosophy of NLP, and how and why this philosophy is intended to be used in practice.Neuro linguistic programming is an approach to communication and… …   Wikipedia

  • Electromagnetic compatibility — (EMC) is the branch of electrical sciences which studies the unintentional generation, propagation and reception of electromagnetic energy with reference to the unwanted effects (Electromagnetic Interference, or EMI) that such energy may induce.… …   Wikipedia

  • United States — a republic in the N Western Hemisphere comprising 48 conterminous states, the District of Columbia, and Alaska in North America, and Hawaii in the N Pacific. 267,954,767; conterminous United States, 3,022,387 sq. mi. (7,827,982 sq. km); with… …   Universalium

  • computer — computerlike, adj. /keuhm pyooh teuhr/, n. 1. Also called processor. an electronic device designed to accept data, perform prescribed mathematical and logical operations at high speed, and display the results of these operations. Cf. analog… …   Universalium

  • Business and Industry Review — ▪ 1999 Introduction Overview        Annual Average Rates of Growth of Manufacturing Output, 1980 97, Table Pattern of Output, 1994 97, Table Index Numbers of Production, Employment, and Productivity in Manufacturing Industries, Table (For Annual… …   Universalium

  • Christianity — /kris chee an i tee/, n., pl. Christianities. 1. the Christian religion, including the Catholic, Protestant, and Eastern Orthodox churches. 2. Christian beliefs or practices; Christian quality or character: Christianity mixed with pagan elements; …   Universalium

  • nervous system, human — ▪ anatomy Introduction       system that conducts stimuli from sensory receptors to the brain and spinal cord and that conducts impulses back to other parts of the body. As with other higher vertebrates, the human nervous system has two main… …   Universalium

  • petroleum refining — Introduction  conversion of crude oil into useful products. History Distillation of kerosene and naphtha       The refining of crude petroleum owes its origin to the successful drilling of the first oil well in Titusville, Pa., in 1859. Prior to… …   Universalium