Anda di halaman 1dari 64

May

Must reads
Internet of Things in the Grid
Intelligence from the Data Center to the Edge
Sponsored by
Must reads
Internet of Things in the Grid
27 Reducing Cost and Complexity with Industrial
System Consolidation
By Intel

Intelligence from the Data Center to the Edge

INSIDE 39 Narrowband Powerline Communication


Applications and Challenges Part I
By Bogdan Baraboi, Ariane Controls Inc

3 Product How-to: Making Sense of electrical power


smart grid data
By Steve Taranovich, EDN
48 Narrowband Powerline Communication
Applications and Challenges Part II
By Bogdan Baraboi, Ariane Controls Inc

9 Smart meters can be fully customizable


By Ludek Holoubek, STMicroelectronics
54 An overview of ZigBees Smart Energy Profile
2.0 standard
By Srinath Balaraman and Anil Khanna, Mentor Graphics

19 The balance of power:


Developing a smart meter
By Khurram Waheed, Freescale Semiconductor
59 Closing the Industrial Communications GAP
With a Secure, Virtualized Solution
By Intel

2 Sponsored by
Product How-to:
Making Sense of electrical
power SMART GRID
data
By Steve Taranovich, EDN

S
ince I lived many years on Long Island, fore the Smart Grid appeared on the scene.
NY, I remember in the 80s, when I was In their older system, SMUD used a paper wall
invited to visit the Long Island Lighting map that monitoring crews could access via a
Company (Lilco) Hicksville central control center ladder. File cabinets full of blueprints and assorted
for all of Long Island. There were multiple walls documents rounded out the monitoring system.
of huge color displays with discrete lights every- As we progress in the 21st century, the Smart
where to signal operators of a fault or problem Grid is becoming a wonderful asset to power
at one of the many, many substations. To me companies as well as to power users to allow
that was information overload similar to an air levels of power efficiency through smart systems.
traffic controller had at that time. That was be- However, that same Smart Grid presents orders of

3 Sponsored by
magnitude larger volumes of data with infor- An organization like SMUD now has to ample is data such as widely distributed
mation coming into the utility control center deal with these massive volumes of data generation sources that present a new
in virtually real time. The human brain can- that present new challenges to control challenge to monitor and analyze each
not possibly process this fast enough. center monitoring personnel. One ex- one of these sources. The data was in
a legacy data format not conducive to
real-time analysis. With the Smart Grid,
changes in some part of the grid, even
in a remote area, could affect assets one
might not expect intuitively. Furthermore,
adding new assets to the system pose
another tough challenge to integrate into
the control and monitoring system.
Enter Space-Time Insights software
solution to help with SMUDs new Situ-
ational Awareness and Visualization In-
telligence (SAVI) initiative. Now SMUD
would be able to analyze and correlate
huge volumes of data from the many field
resources in their region. SMUDs efforts
implementing a Wide Area Situational
Awareness1 (WASA) system allowed them
to now handle microsecond measure-
Figure 1a: Situation intelligence overview (Courtesy of Space-Time Insight) ments recorded by synchrophasors (de-

4 Sponsored by
Figure 1b: Situational Intelligence architecture (Courtesy of Space-Time Insight) Figure 2: A modern control center in Folsom, California
21st century high-tech control centers (Courtesy of California ISO) (Courtesy of Space-Time Insight)

vices used in the measurement of quality Situational Intelligence (SI) These types of video display systems
and state of their power system). The Steve Ehrlich, SVP, Marketing of Space- allow utility control center operators to
highly developed and intuitive software Time Insight, wrote an insightful tutorial on process large volumes of information at
by Space-Time Insight enables control SI entitled Situational Intelligence melds a glance with smart visual displays en-
center operators to easily and quickly IT, OT and XT to improve decision mak- hanced by software:
access real-time information they need ing. See Figure 1a and 1b. Advanced features include enhanced
to make quick decisions to keep the grid High-tech visual displays in Folsom, visualization capabilities, high-tech work
stable and continuously available to their California are ubiquitous in 21st century consoles, a modern computerized en-
customers. control centers. (See Figure 2) ergy management system and synchro-

5 Sponsored by
phasor technology that takes the pulse serve a crucial need as the ISO in- ticipate consumer demand on the grid.
of the power grid in tens of milliseconds tegrates thousands of megawatts of
rather than using the former industry green power onto the grid. The en- The WASA framework
standard of every four seconds. hanced visibility improves wind and The WASA framework is composed of
High-tech tools focus on the fast pace solar performance forecasting as well two phases as can be seen in Figure 3.
of power plant start-ups, voltage stabil- as advance weather prediction to an- First is the setup and commissioning that
ity, renewable forecasting, congestion
management and reliability. Computer
systems provide this information with
pictures rather than thousands of indi-
vidual data points.
The Energy Management System (EMS)
is the most advanced in the industry,
providing the latest application software
on the newest server hardware. This
increases performance, capacity and
automation functions.
Ten visualization screens display infor-
mation from Google Earth and other
applications spanning across an 80
wide x 6.5 high video wall at the Fol-
Figure 3: WASA framework is based upon context awareness and hybrid perspective
som headquarters. These screens (Image courtesy of Reference 1)

6 Sponsored by
Figure 4: A weather monitoring system display shows local conditions such as storms or Figure 5: Smart meters enable the utility to meter status and conditions through Space-
wind that can affect power utility delivery to customers. Asset risk levels are also evaluated Time Insights software (Courtesy of Space-Time Insight)
and available to the central power monitoring crew. (Courtesy of Space-Time Insight)

initializes the context and configures the SMUDs new Distributions Operation trol center video wall as well as on their
entire system design. Second is the de- Center desktops. Their real-time and historical
velopment phase which is based upon Michael Greenhaigh told us that 55 data from the smart grid, distribution, out-
the high-level services that the utility screens are used in their system and tied age, fire and weather systems. See Fig-
needs to be active throughout the sys- into Google Earth. SMUD personnel now ures 4, 5 and 6 for examples of a smarter
tems life cycle. have interactive visual access on the con- grid making smarter decisions.

7 Sponsored by
brought to operators attention. Green
usually indicates normal conditions, yellow
can indicate some trend that is occurring
to which preventive maintenance can re-
spond and red is usually a fault of failure.
Going forward, there should be less and
less information overload to operators and
more and more system reliability with
smarter systems.
Please let us know what experiences you
have in this area.

References
1
Wide-Area Situational Awareness for Critical Infra-
structure Protection, Alcaraz and Lopez, University of
Malaga, Spain, 2013
Figure 6: Field service crews and their details can be located in real time for effective management of such utility field
assets for customer priorities when problems crop up (Courtesy of Space-Time Insight)

One of the best examples regarding tively respond to storms, wind, fire and
Situational Intelligence is the Northeast more to prevent unnecessary outages.
blackout of 2013. With a good SI system, With the color-coding in geospatial dis-
utilities will be far better able to proac- plays, problem areas are immediately

8 Sponsored by
Smart meters can be fully customizable
By Ludek Holoubek , STMicroelectronics

N
ew European regulations and the estab- G1, G3, and PRIME.
lishment of the SmartGrid have trans- The old mechanical disc meters (Ferraris) are
formed the electricity distribution market. no longer effective and digital e-meters are tak-
EU regulations demands AMR (automated meter ing their place. This change not only brings
reading) that allows any user to see his energy easier integration and more communication
consumption every 15 minutes over the entire possibilities but also more intelligence. What are
day, while the SmartGrid allows us to achieve the benefits of a digital e-meter made using a
this using PLM (power line modem) communica- microcontroller?
tion over various protocols, for example, Linky Functions can be changed and extended by

9 Sponsored by
simple firmware upgrades d) A general purpose microcontroller with precision of 1.5% is prescribed for a range
Microcontrollers can drive switches external ADC from IMIN = 250 mA to ITR = 500 mA, and
and/or other devices e) A general purpose microcontroller with a precision of 1% for range from ITR = 500
Tamper detection can be implemented embedded ADC mA to IMAX. Below IMIN no precision is
to compare currents in phase and the Since the EN 50470-1:2006 standard prescribed, but an e-meter must detect
neutral line prescribes the maximum allowed errors at zero current (no load) conditions.
Tamper date, a time log, and a real time every point of the entire meter current and In order to achieve this precision, the
clock with a calendar can be set up voltage range, reaching the limits is not a AFE contains 16/24 bit sigma delta ADCs,
Tariffs can be managed via connection very easy task. That is why there are so as well as advanced decimation, filtering
into the SmartGrid many AFEs on the market that are tested and computational algorithms that reject
Prepaid e-meters can be introduced and fully compliant to EN 50470-1:2006, all kinds of possible noise and errors.
and managed more efficiently which prescribes ISTART, IMIN, ITR, IREF, Since many AFEs are external, or if prop-
The designer of a fully digital e-meter will IMAX [ITR = IREF/2 (alternatively called erly designed when embedded are isolat-
have to choose from these possibilities: INOM), IMIN=ITR/2, ISTART = 20 mA]. ed from the noise of the microcontroller,
a) A dedicated chip for energy measure- they can reach the necessary precision.
ment - AFE (Analog Front End) that Class B power meters The cost we pay when using AFEs in
drives mechanical register and pulse Lets evaluate an example of the construc- combination with a microcontroller is sim-
LED tion of a power meter in Class B, with ply a two-chip solution price (although,
b) A dedicated AFE connected to a micro- maximum current of 100 A. For such a as well see, it can be up to a seven-chip
controller high maximum current, the typical request solution price).
c) A microcontroller with integrated AFE for nominal current is 5 A. In this case, a Wouldnt it be better to use one chip

10 Sponsored by
need to add additional circuitry in front
of the ADC inputs (signal conditioning) in
order to handle the current range, filtering,
and noise. These additional components
will add cost to the overall solution.
In a highly competitive market, adding
cost for additional functionality (algorithm
control) is not acceptable. In order to take
advantage of the MCU solution, a good
quality ADC (external or embedded) is
necessary to build a cost effective e-meter.
Using a high quality and higher resolution
external ADC has an advantage, allowing
the designer to control how injected noise
is handled with the conversion. This exter-
Figure 1: The latest AFE for e-meters from STM nal ADC is still a two-chip solution.
The embedded ADC allows a single
without the embedded dedicated AFE? example, an e-meter could be constructed chip solution, knowing that the injected
Designing an e-meter without these using a simple 8 or 10 bit ADC that is typi- noise management is mostly handled by
AFE chips is possible; however, there are cal among MCUs on the market today. the chip manufacturer. The embedded
tradeoffs that need to be considered. For This is not a single chip solution. You will ADC solution does add risk to the design,

11 Sponsored by
which needs to be managed. On the other from customer to customer. The required Some customers want to be able to con-
hand, this is a very cost effective solution. values are not only RMS voltage, RMS trol the computation in case they need to
Again, a trade off arises - noise manage- current and active power, but also reactive change the computation algorithm quickly.
ment versus a single chip solution with power, total harmonic distortion, distortion Moreover, when using current transform-
the ability of the designer to modify the power, power factor, phase shift, harmonic ers as current sensors, because of the
algorithm. Depending on the application, analysis, coverage of certain harmonics. galvanic isolation, the one-chip solution for
some customers do favor the single chip For example, the reactive power could be three phase meters could be very efficient
solution. computed more than one way: from the point of view of PCB design, as-
Some customers prefer a solution in It could be computed from a vector sembly, reliability, and overall cost. In the
which they can use their own computa- triangle of the apparent and the real US market, where the meters are often in
tional algorithms rather than an AFE chip power a circular housing using complete metal
with an already proven hardwired algo- It could be computed as real power shielding, any noise the lines coming from
rithm. Why would that be? from the signal, where all the harmonics sensors to the chip will be decidedly re-
They simply want to control the compu- of the current were shifted by 90 degree jected. Using the shunts for three phase
tation process. They do not want to rely It could be computed from Fourier measurements makes the use of a multi-
on an algorithm and the expertise of an computation as an imaginary part of the chip solution a must because of the insula-
AFE supplier. They prefer to use their own power spectra tion implementation.
expertise. Moreover, some AFEs have It could be computed by the very sim- A powerful general-purpose microcon-
limitations. They do not perform all the ple but popular method of shifting the troller, such as that introduced by STMi-
computations the customer wants, or the current waveform by 90 degrees of the croelectronics, has been used for our ex-
definition of the computation could differ fundamental harmonic ample: the STM32F373 Cortex-M4F core

12 Sponsored by
running on 72 MHz with three embedded reduces only2 the differential non-linearity are able to manage the overall in-system
50 ksps 16-bit sigma-delta ADCs (SDADC) (DNL) of an ADC is the main presumption to noise3, we could get an increased number
and one 1 Msps 12-bit fast successive be able to build a precise metering system. of effective bits from the ADC.
approximation register ADC. The very suc- Although some ADC precision correc- Although single values coming from the
cessful value, performance and connectiv- tion is possible by software, it could cause ADC contain some noise, the situation is
ity line series from STM32 family, which difficulties in the manufacturing, certifica- different if we speak about the RMS value
includes the value-, performance- and tion and calibration processes. Since for computed from the aforementioned values.
connectivity-line series, continues with the non-sigma-delta ADC the hardware (or The noise drops with the number of the
Analog line series. The embedded analog software) linearity enhancement is needed, values used for all computation. To sum-
part makes this microcontroller suitable for when higher precision is expected, sigma- marize, attention must be paid to the over-
a 3-phase e-meter implementation giving delta ADC are naturally very linear. If we all system linearity, in-system correlated
the computational flexibility mentioned in
previous paragraphs. STM32F2 at STM32F4 at
FFT Data
Prior to the STM32F373 announcement, 120 MHz 168 MHz Gain
Algorithm format
ST had already introduced a success- units in (s) units in (s)
ful design1 of a one-phase e-meter using
Q15 (16-bit) 63.4 22.1 x2.9
a general-purpose microcontroller, the
STM32F100 with 12-bit ADC. A lot of the 64-points Q31 (32-bit) 69.6 40.6 x1.7
expertise learned through the STM32F100
Floating 443.5 30.9 x14.3
design was used in the STM32F373. For
example, the knowledge that oversampling Figure 2: Floating-point performance

13 Sponsored by
noise, and the overall system performance. ues, tariff specification and load profiles world, half of them preferred the oppo-
The STM32F373 brings this performance, Embedded RTC, internal oscillators, and site: chip on glass approach. Why?
and furthermore, it brings features that communication peripherals make this The chip on glass always contains a volt-
make it possible to build not only a cost chip easy to use standalone but also age booster that allows using less-ex-
effective e-meter, but one with a harmonic interconnect with other devices like IR pensive LCDs in order to cover the entire
analyzer. Since the STM32F373 delivers ports, PLM, MEMs, among others operational temperature range7 and still
these features, an e-meter implementation Although the most important output of the offer a quality, easy to read, display.
can be relatively simple and effective: e-meter used for certification and calibra- The chip on glass uses only SPI: it is
The standard, widely used Cortex-M4F tion purposes is the LED output, an LCD easier to maintain EMC for just three
32-bit core with floating point, changing display is an integral part of the e-meter. wires.
the bothering with fixed-point precision In the EU, ARM systems are still mostly Because only three wires for an LCD
to the pleasure of working in floating in pilots, and customers demand meters are used, this leaves many pins free
point4 with a display in order to control their for other uses, saving the cost of GPIO
An available DSP library using the DSP hour-to-hour or day-to-day consumption. expanders or extra solutions to extend
functions of the Cortex-M4F core makes The design of an e-meter display rightly functionality of the microcontroller.
an implementation of the all the math, receives a lot of attention since that is PCB layout is faster and easier.
filtering, and FFT, for example, very the primary consumer interface. Even When using a software LCD driver in
simple and easy 5
though the directly driven LCD segment microcontroller rather than a hardware
The STM32F373 on-chip flash can be display was thought to be the least LCD driver, using chip on glass reduces
used as an EEPROM for calibration
6
expensive and most popular solution, the microcontroller load and makes the
constants, tamper data, measured val- when we question customers over the software shorter and simpler.

14 Sponsored by
With the huge number of STM32F373 different if we speak about the RMS value core makes an implementation of the
GPIO pins (for the 100-pin package, there computed from the aforementioned values. all the math, filtering, and FFT, for ex-
are 84 GPIO pins), the SW LCD driver The noise drops with the number of the ample, very simple and easy5
could directly drive a large segment LCD8 values used for all computation. To sum- The STM32F373 on-chip flash can be
in case this option is needed. The e-meter marize, attention must be paid to the over- used as an EEPROM6 for calibration
reference design makes it possible to drive all system linearity, in-system correlated constants, tamper data, measured val-
LCDs from 4 x 14 segments to 4 x 31 or to noise, and the overall system performance. ues, tariff specification and load profiles
connect SPI B&W and color display. The STM32F373 brings this performance, Embedded RTC, internal oscillators,
Although some ADC precision correc- and furthermore, it brings features that and communication peripherals make
tion is possible by software, it could cause make it possible to build not only a cost this chip easy to use standalone but
difficulties in the manufacturing, certifica- effective e-meter, but one with a harmonic also interconnect with other devices like
tion and calibration processes. Since for analyzer. Since the STM32F373 delivers IR ports, PLM, MEMs, among others
non-sigma-delta ADC the hardware (or these features, an e-meter implementation Although the most important output of
software) linearity enhancement is needed, can be relatively simple and effective: the e-meter used for certification and cali-
when higher precision is expected, sigma- The standard, widely used Cortex- bration purposes is the LED output, an
delta ADC are naturally very linear. If we M4F 32-bit core with floating point, LCD display is an integral part of the e-me-
are able to manage the overall in-system changing the bothering with fixed- ter. In the EU, ARM systems are still mostly
noise[3], we could get an increased num- point precision to the pleasure of in pilots, and customers demand meters
ber of effective bits from the ADC. working in floating point[4] with a display in order to control their hour-
Although single values coming from the An available DSP library using the to-hour or day-to-day consumption.
ADC contain some noise, the situation is DSP functions of the Cortex-M4F The design of an e-meter display rightly

15 Sponsored by
USB-Stink LCD ZigBee

LED
optoisolated Segment LDC
SPI Color of b&w

Joystick Crypto
AUKEY

PLM STM32
ST75xx connector (1SAR+3SD) MEMS

SMPS
Dual
Eeprom
CT CT CT CT powerless
reading
product in box
rogowski rogowski rogowski rogowski SHUNT customisation

Figure 3: STEVAL-IPE022V1 e-meter reference design

receives a lot of attention since that is the customers over the world, half of them pensive LCDs in order to cover the entire
primary consumer interface. Even though preferred the opposite: chip on glass ap- operational temperature range7 and still
the directly driven LCD segment display proach. Why? offer a quality, easy to read, display.
was thought to be the least expensive and The chip on glass always contains a volt- The chip on glass uses only SPI: it is eas-
most popular solution, when we question age booster that allows using less-ex- ier to maintain EMC for just three wires.

16 Sponsored by
Because only three wires for an LCD suitable algorithm for power computa- when just RMS values and active
are used, this leaves many pins free tion should be implemented. Two ways of power are needed.
for other uses, saving the cost of GPIO power computation could be used - com- When additional data like the power
expanders or extra solutions to extend putation in a time domain or in a frequency factor, reactive power, THD, higher
functionality of the microcontroller. domain. Both approaches have their ad- harmonic content, and cosines phi
PCB layout is faster and easier. vantages and disadvantages: are needed, the computation become
When using a software LCD driver in Time domain computation very complex.
microcontroller rather than a hardware Very easy implementation for sys- Frequency domain computation
LCD driver, using chip on glass reduces tems where the phase shift (U vs. I) All the computation is done in one shot,
the microcontroller load and makes the can be easily compensated (by data where FFT delivers all the information
software shorter and simpler. shift) before the data are given to the about the signals: amplitudes and an-
With the huge number of STM32F373 computation algorithm. Otherwise, it gles of all harmonics.
GPIO pins (for the 100-pin package, there is not so easy to perform this com- Since 6 x 64-floating-point FFT on 72
are 84 GPIO pins), the SW LCD driver pensation: not trivial computation for MHz Cortex-M4F core takes 1 ms in total
could directly drive a large segment LCD8 fundamental frequency and nearly (3 voltages and 3 currents), we can even
in case this option is needed. The e-meter impossible (advanced filtering) for implement a frequency analyzer easily.
reference design makes it possible to drive higher frequencies. Selective phase More computational power is taken by
LCDs from 4 x 14 segments to 4 x 31 or to compensation of the higher harmon- the goniometric functions used further for
connect SPI B&W and color display. ics is nearly impossible. active and reactive power, PF, THD, com-
Once the sensors, the display, and the The computational load of the micro- putation: tan-1, sin and cos. The compu-
microcontroller with ADC, are chosen, the controller is very low for this approach tation load can be reduced by a strong

17 Sponsored by
cy domain computation. See AN3322.

focus on the important harmonics - for (isolation can be bridged and the 2
That brings better resolution, but does not affect precision
represented by integral non-linearity (INL).
example, on the first 10, and a weak focus board could be powered from a USB 3
White noise or noise not correlated with mains and system
on the rest of the harmonics in the signal. when debugging is needed) processes if not required by algorighms.

E-meter evaluation kits for STM32F373, Segment or color SPI graphic display, 4
Due to the core implementation, the 32-bit floating-point
computation is faster than 32-bit fixed-point, see figure 1.
the STEVAL-IPE022V1, present a very joystick, user configuration jumpers 5
Standard CMSIS libraries are available with a number of
scalable power metering system designed Demonstration software optimized demontration
examples.
to measure electric energy in a 3-phase for readability: structured variables, 6
ST provides C code that implement virtual EEPROM, tak-
network for the maximum current of 100 A modularity ing care of flash rewrite cycle optimization.
per phase while IREF is kept low at 5A us- The STEVAL-IPE022V1 board works ac- 7
In contrast to the directly driven LCD by microcontroller
using only VCC = 3.3V.
ing current transformer as a current sensor. cording to requirements specified in EN 8
SW for microcontrollers without HW LCD driver are sup-
The board features the following: 50470-1:2006 with a current transformer plied by ST.
Reaching Class B - EN 50470-3:2006 or as a current sensor and is available to 9
ST-link connected and powered from USB since the JTAG
signals are opto-isolated.
Class 1 - IEC 62053-21:2003 accuracy customers. There is also an experimental
Ready for industrial case, 16 x 16 cm option on the board that allows designers
PCB including 3-phase SMPS power to interconnect one shunt or four Rogowski
supply from ST coils directly or through an external opera-
Peripheral on board or to interconnect: tional amplifier.
MEMS, PLM, ZigBee, Crypto, RFID,
Opto-head References
High number of debugging possibilities: 1
One phase measurement with a shunt introducing very low
phase shift and moderate requirements (no THD, ...) allowed
Opto-isolated JTAG tool on board[9] for time domain computation to be used instead of frequen-

18 Sponsored by
balance of power
The

Developing a smart meter


By Khurram Waheed, Freescale Semiconductor

E
lectric utilities face the challenging task of matching highly
variable demand to fixed supply. Peak demand can be a multiple
of average demand, making it hard to get full value from highly
capital intensive power generation plants. Offering consumers a
time-based incentivized tariff, or having the capability to remotely
manage the schedules of high consumption equipment, is a more
efficient and controllable way of balancing power supply and demand.
To offer a time-based tariff, the utility must know when the user is
consuming power, which means there must be a communication path
from the utility to the consumers meter.

19 Sponsored by
Obviously, wireless standards are can- mass deployment. The biggest drawback sands more electricity meters than dis-
didates for utility-meter communication, with wireless is the need to use scarce and tribution units and this approach doesnt
but they have problems. Zigbee-based 2.4 valuable spectrum, which might not be scale well for utility-meter links.
GHz technologies have been proposed, cheaply and/or readily available. To communicate with meters, there is
but in practice they suffer from a short The obvious communications path is the need for a higher data rate and a technol-
range of 20-50m which doesnt provide a powerline itself. Why not piggyback a sig- ogy that supports multiple users in a semi-
cost-efficient connectivity path back to the nal along the electricity supply? autonomous and agile communication net-
utility. Adding mesh networking can extend For a vey long time, utilities have been work. The G3-PLC narrowband orthogonal
the range of a Zigbee network, however using powerlines to communicate with frequency-division multiplex (OFDM) pow-
large intra-meter distances in rural and generation equipment and provide voice erline communication standard has been
suburban settings, and intervening build- communication between sub-stations. designed for this purpose and provides
ing structures, present a challenging en- This involves adding a signal to high- the ability to overcome unique powerline
vironment for wireless communication in tension lines. These signals typically use communication challenges. The standard
the ISM 2.4GHz band. As an example, a amplitude modulation or Frequency Shift borrows many technologies from wire-
crowded multi-story apartment complex Keying and work at a modest data rate less, for example OFDM communication,
presents intricate coverage and connectiv- of 1 kb/s or less, the low data rate allow- forward error correction mechanisms such
ity issues that can quickly make a wireless ing the signal to propagate over long dis- as Reed-Solomon, Viterbi convolutional
network expensive to install and maintain. tances. This technology is used to switch decoding, and time and frequency domain
The new IEEE 802.15.4g Smart Utility in and out distribution units, to check the interleaving to name just a few.
Networks (SUN) standard is designed to integrity of the grid, and to provide basic The powerline itself is a very challenging
address these challenges using various voice communication to remote generation environment, which in many ways is noisier
frequency bands, but its not ready for and sub-stations. However, there are thou- than wireless channels. The noise on a

20 Sponsored by
powerline is highly non-stationary and has ther narrowband or wideband -emanat- powerline channel is complex and noisy.
a Gaussian component (similar to wireless) ing from other devices on the network or Figure 1 and Figure 2 show an example of
and a non-Gaussian, impulsive noise com- other communication networks. For ex- typical powerline noise in time and time-
ponent (very different from wireless) that can ample, induction motors introduce a lot of frequency domain that a G3-PLC modem
be either periodic or aperiodic (Figure 1). cyclostationary noise and are common; has to endure.
Interferers on a powerline can be ei- theyre present in industrial machinery, At Freescale, our group develops tech-
washing machines, refrigerators nologies for smart metering in particular,
etc. Switched mode power sup- powerline communications. Our communi-
plies also introduce noise, and cation network is built using powerline mo-
given their popularity for phone dems (PLM) comprising a microcontroller
and laptop chargers, their use is with embedded digital and analog signal
widespread. Because they are a processing, an analog front-end, and a line
physical medium, powerlines suf- coupler (see Figure 3).
fer from branching; the impedance The modem implements the PHY from
at one point in the network can be the G3-PLC standard, plus proprietary
quite different from the impedance signal processing that we developed to
elsewhere, even in the same house. improve the performance of our PLM. The
Turning on and off equipment can analog front-end converts the digital out-
instantaneously change the im- put of the modem signal processor to an
pedance at a point in the network. analog voltage that meets regulations for
Figure 1: Time domain capture of typical powerline noise in an Typically, powerline impedances signals added to powerlines. However,
industrial building (a) raw power line noise samples, (b) Cenelec-A
band powerline noise range from 0.1-200 . All told, the the output of the analog front end is a low

21 Sponsored by
our system problems in simulation before
building hardware. So the starting point
for our work is our extensive end-to-end
system-level model that weve written in
MATLAB and Simulink (see Figure 4).
We begin by simulating the digital parts of
the system. Like most standards, G3-PLC
specifies the transmission algorithms, see
Figure 4, but has less detail on the receive
side. Before our received signal even gets
(a) (b)
to the G3-PLC specified physical layer, we
Figure 2: Time-Frequency spectrograph of (a) Raw powerline noise showing the complex structure of powerline noise. need to be sure the algorithms weve writ-
Notice the various cyclostationary noise components and their spectral content; (b) Powerline noise within Cenelec-A
band as seen by a G3-PLC modem. Notice 50dB stronger 120/240Hz noise components in the frequency range of 62
ten for signal recovery are good enough
to 72 kHz. to extract the signal from the noise and
voltage signal that needs to be amplified support multiple users and will perform reflections on the line. We model those
by a line driver and added to the power- well under time-varying and harsh channel algorithms in MATLAB and use our system
line using the third element; the line cou- conditions all at the lowest cost. modeling to dynamically verify algorithm
pler. The powerline impedance can vary Obviously, building hardware is very ex- performance under a wide range of condi-
dramatically, so the line driver is typically pensive and our goal is to be foolproof in tions before deployment on actual hard-
configured to drive signals to a powerline our component choice and achieve first- ware. We also use the simulation as a tool
with a time-variant impedance. Our over- pass success. In turn, this means simula- to study the trade-offs involved in integra-
all challenge is to build a system that will tion is extremely important we want to fix tion of performance enhancement features

22 Sponsored by
Figure 3: Simulation/Modeling Strategy for PowerLine Model Specification and Figure 4: G3-PLC Transmit Model realized in Matlab/Simulink.
Performance Evaluation.

into the front-end of the modem and reduce specifications for the front-end compo- can severely impact system performance
the overall system bill of material and cost. nents external to the powerline modem so we need to examine IP2, IP3, P1dB,
In addition to digital simulation, we need and examine their effect on system per- and spectral regrowth (see Figure 5).
to model the analog signal processing formance. A system comprises of multiple Some component choices can impede
embedded in the modem chip as well as analog, mixed-signal and digital compo- the system performance in undesirable
components for our external analog front- nents and we need to model and simulate ways. If we cant change the component,
end. Each analog component has a differ- their interactions. Each system component then we may have to correct for its non-
ent performance and price. Simulink simu- has a specific linearity, signal bandwidth linearities somewhere in the system. At the
lations can be used to identify the critical and frequency response. Non-linearities system-level, were interested in the perfor-

23 Sponsored by
(a) (b)

Figure 5: Linearity Analysis of the Transmit Line Pre-Driver Stage (a) IP3 requirements, (b) IP2 requirements

mance of our gain control algorithms and running a large number of simulations, mak- the computational cost.
we want to evaluate BER and receiver sen- ing speed of simulation crucial. We use an We use a similar process to specify com-
sitivity under real powerline conditions. Of extensive end-to-end mixed-signal bit error ponents for the line coupler. Depending on
course, our goal is to achieve our require- rate (BER) simulation in Simulink using a the type of powerline communications we
ments at the lowest price, which means simple Gaussian noise channel model to cut want, this could couple to a low voltage

24 Sponsored by
110V or 220V powerline or even a medium impulsive noise, frequency selective noise, less noise, and D8PSK when the channel
voltage powerline at 6kV or 22kV. Within Gaussian noise, and other effects. has very little noise. Our system has to be
the line coupler, there are a number of pos- The model is a great deal more sophisti- able to switch between different possible
sible trade-offs and we use simulation to cated and detailed than our simple Gauss- modulation schemes dynamically depend-
model and investigate their performance ian channel model, but the cost is the add- ing on the powerline noise level, so we test
impact. We also have an output constraint ed computational power needed. Because this behavior as part of our system-wide
imposed by regulation. CENELEC (the the more detailed channel model takes lon- evaluations (see Figure 6).
European electrical engineering standard- ger to run, we reserve its use for the more Our simulation needs vary through the
ization body) states that the maximum detailed system modeling that takes place development process, so the sophistica-
signal we can add to a 220V powerline is towards the end of system development. tion of our models evolves too. At the
134dBV over the entire bandwidth. Part We run this model under a range of condi- beginning, we need to simulate a direct
of our component selection procedure is to tions to check that our system stays within connection between the transmit and re-
check that we remain within this limit and the bounds of our requirements. In prac- ceive physical layers, then we need to add
meet the inband and out-of-band spectral tice, this means we run parameter sweeps in front-end models, channel models, line
requirements. of our models using a MATLAB script. coupler models etc. To make life easier,
Once we have our candidate analog com- Channel conditions determine the modu- we have created a configurable MATLAB
ponents, we need to understand how robust lation scheme. The G3-PLC standard in- model that enables us to build the model
our system will be under a range of operat- cludes different modulation types that can for the simulation architecture we need.
ing condition. This means we need a more be adaptively chosen based on the signal In the tool, we specify which components
sophisticated channel model than our simple to noise ratio of the received signal. For we want to model and how to connect
Gaussian model. Weve developed an exten- example ROBO or DBPSK is chosen when them. For example, we might specify that
sive powerline channel model that includes theres a lot of noise, DQPSK when there is we want the transmit physical layer model

25 Sponsored by
comes to an end and its ogy for the near future, but the mix of ana-
time to finalize components log, digital, and powerline systems creates
and build the real hardware. unique challenges. We have to get the bal-
Once built, the hardware has ance of power right between these compo-
to be tested, so we use our nents and speed of simulation is critical
simulation environment again to building our system in a timely way.
to help verify the behavior Smart meters using G3-PLC communica-
of the hardware. We use our tion technology are currently being evaluat-
model to generate test vec- ed in pilot projects. Our goal is to contrib-
tors for a wide range of op- ute to this technology for mass adoption.
erating conditions. We also In a few years time, this technology will be
do a step-by-step compari- coming to a home near you.
son of our hardware and our
MATLAB physical layer mod- References
els and their performance in G3-PLC Alliance Homepage; Website:
Figure 6: Frame Error Rate of a G3-PLC narrowband OFDM powerline http://www.g3-plc.com/
communication system on an isolated clean powerline. the presence of noise. Our
MATLAB model is designed Cyclic Spectral Analysis of Power Line Noise in the
3-200 kHz Band, Karl Nieman, Jing Lin, Marcel Nassar,
(written in MATLAB) connected to an ana- to be bit-exact, so our model and hard- Khurram Waheed, and Brian L. Evans; IEEE International
Symposium on Power Line Communications and its Ap-
log front end (written in Simulink) including ware should give the same answer at plications, 2013.
the line coupler model. Our tool makes all each stage in the processing chain and G3-PLC Specification for Powerline Communication:
Overview, System Simulation and Field Trial Results,
the necessary connections. for all data input. Kaveh Razazian, Maher Umari, Amir Kamalizad, Victor
Loginov, Michael Navid; IEEE International Symposium on
Eventually of course, design works Smart meters are an important technol- Power Line Communications and its Applications, 2010.

26 Sponsored by
SPONSORED CONTENT

Reducing Cost and


Complexity with Industrial
System Consolidation

V
irtualization on multi-core Intel Core duction throughput and employee safety. For
vPro processors helps lower overall manufacturers, this includes finding new ways
solution cost and reduce factory footprint to lower operating expenses, a large part of
and integration effort through hardware consoli- which are the purchase and support of indus-
dation. trial systems. A significant cost stems from the
inefficiencies created by the growing numbers
Summary and varieties of systems on the factory floor.
In todays highly competitive manufactur- For instance, system proliferation is consum-
ing environment, success requires a constant ing precious space and straining IT resources,
focus on cost cutting while maintaining pro- especially when systems have unique support

27 Sponsored by
SPONSORED CONTENT

requirements for configuration, backups, trol, programmable logic control (PLC), devices), so each VM runs as if it had its
spares and software patching. human machine interface (HMI), machine own machine.
Efficiency can be improved when multi- vision, data acquisition, functional safety As a result, applications run on their na-
ple factory functions are consolidated onto and so forth. This approach can help man- tive OSes (referred to as guest OSes in
a single hardware platform, thus decreas- ufacturers reduce cost and complexity on virtualization parlance), allowing them to
ing operating expense, factory footprint, the factory floor. easily migrate to a new system often with
energy consumption, and integration and only minor or no changes. To illustrate this
support effort. This can be done using ad- Virtualization Basics capability, Figure 1 shows that four ap-
vanced multi-core processors along with In traditional industrial automation sys- plications running on their own OSes and
proven virtualization technology, which has tems, application software, the operating boards can be consolidated onto a single
been around since the 1960s1 and is most system (OS) and the physical hardware are board with a multi-core processor and a
notably used in data centers where many tightly coupled. Virtualization breaks this hypervisor. The hypervisor manages the
applications are consolidated onto a single link and provides the ability to run multiple execution of guest OSes in much the same
server. Still, virtualization tools and meth- OSes and their associated applications on way an OS manages the execution of the
ods used in the server environment are the same physical board. This is achieved applications it hosts.
different from what is appropriate for the by executing software in individual parti-
embedded environment. tions, called virtual machines (VMs), that Virtualization in Industrial Automation
This white paper describes how virtual- are managed by a new software layer, Some industrial control systems are de-
ization technology running on multi-core known as the hypervisor or virtual machine signed with multiple boards because they
Intel Core vPro processors can be monitor (VMM). The hypervisor abstracts run applications like PLC, motion control,
used in industrial automation to consoli- the boards underlying hardware resources and HMI with different sets of require-
date computing devices for motion con- (e.g., processor cores, memory and I/O ments. PLC and motion control are time-

28 Sponsored by
SPONSORED CONTENT

time tasks that would otherwise compete


for CPU resources.

Benefits from Consolidation


By consolidating devices using virtualiza-
tion technology, original equipment manu-
Hypervisor
facturers (OEMs) developing industrial au-
tomation solutions can provide substantial
benefits to their customers, such as:
Single-Board Multi-core Processor

Multiple Single-Processor Boards Lower overall solution cost: Although


a consolidated device may cost more
Figure 1. General Virtualization Example
than any of the individual subsystems,
critical applications, which are best served virtualization technology can address all it should cost less to manufacture than
by a real-time operating system (RTOS) these requirements, as well as others dis- the combined subsystems because it
that delivers deterministic performance. In cussed later. Multi-core processors with has a smaller bill of materials (BOM). In
contrast, developers of HMI applications virtualization technology allow systems to addition, virtualization makes it easier
may prefer a general-purpose operating simultaneously run RTOSes and GPOSes, for OEMs to add new functionality to a
system (GPOS) supported by tools that each on dedicated processor cores. This system and expand their offerings.
ease the development of touch screen dis- configuration can increase the determin-
plays, rich graphics and multimedia. ism of time-critical applications, because Smaller factory footprint: Consoli-
Figure 2 shows how a single board with they operate unencumbered by non-real- dated equipment takes up less factory

29 Sponsored by
SPONSORED CONTENT

floor space than the individual systems require security software and may elimi- Virtual Machine 1 Virtual Machine 2 Virtual Machine 3

it replaces. nate some varieties of security solutions Soft PLC Data Acquisition
Other applications
(e.g., HMI)
the factory must support. In addition,
Real-time General-purpose General-purpose
Reduced overall energy there are fewer devices for hackers to operating system operation system operation system

consumption: The power efficiency of attempt to infiltrate, thus reducing the


Intel Core vPro processors, combined attack surface of the factory floor. Hypervisor

with system consolidation, can yield a


solution that consumes less power than Easier system management: Intel Core vPro Processor with Intel Virtualization Technology

the individual systems combined. When subsystems are consolidated,


Figure 2. Industrial System Consolidation Example
factory IT personnel have a smaller
Reduced integration cost: number of devices to install, provision
By consolidating subsystems, OEMs and manage. Also, a consolidated sys- failures (MTBF) than the combination of
effectively eliminate many integration tem is likely to have more capable hard- subsystems it replaces. Furthermore,
tasks for their customers. For instance, ware and software than the subsystems there are fewer spares for factories to
the networking, cabling, shielding and it replaces, allowing for additional man- carry, and maintenance and repair proce-
configuration that connect multiple ageability options and capabilities. dures are simpler all ultimately leading
subsystems together are handled with- to shorter downtimes.
in the system. Higher reliability:
The greater the number of systems, the Consolidating Systems on Multi-Core
Simpler to secure: larger the number of devices that can fail. Processors
The consolidated approach decreases Consequently, a consolidated system Multi-core architectures, such as Intel
the number of computing devices that should have a better mean time between Core vPro processors, provide the com-

30 Sponsored by
SPONSORED CONTENT

puting power needed to consolidate in- Hardware-Assisted Virtualization hardware to prevent the software running
dustrial systems and deliver real-time, Technologies in one VM from interfering with the soft-
deterministic performance. Multi-core Although virtualization is generally viewed ware running in another VM. Along these
processor architecture allows OEMs to as a software technology, hardware fea- lines, virtualization helps avoid unintended
dedicate hardware-level computing re- tures have been added to processors to interactions between applications by pre-
sources to specific VMs, thereby enabling improve the performance and security venting one from accessing anothers
an RTOS to behave deterministically re- of virtualization. For instance, Intel has memory space. Some of the key benefits
gardless of the applications running in the enhanced the capabilities of virtualiza- of virtualization in industrial automation
other VMs. In addition, developers can tion technology with a complementary and other embedded applications are
more easily reallocate system resources hardware-assist technology called Intel listed in Table 1.
across cores as system needs change. Virtualization Technology (Intel VT), an
2
With respect to performance, Intel has
One of the key benefits of consolidation ingredient of Intel vPro technology. developed three different, yet comple-
is improved resource efficiency, which is It performs various virtualization tasks in mentary, virtualization acceleration tech-
achieved through a multi-core architec- hardware, like memory address translation, nologies that span multiple platform com-
ture-based platform. An industrial solution which reduces the overhead and footprint ponents, including the processor, chipset
that combines multiple subsystems on of virtualization software, and improves and NICs:
one platform requires just one comput- its performance. For instance, VM to VM Intel Virtualization Technology
ing system and power supply, which re- switching time is significantly faster when (Intel VT) for IA-32, Intel 64 and
sults in a smaller footprint, higher density, memory address translation is performed Intel Architecture (Intel VT-x) speeds
lower power consumption and a simpler in hardware instead of by software. up the transfer of platform control be-
design compared to multiple subsystems In addition, Intel VT increases the robust- tween the guest OSes and the hypervisor.
with their own hardware. ness of virtualized environments by using In Intel processors, it reduces virtualiza-

31 Sponsored by
SPONSORED CONTENT

Intel Virtualization Technology


Capabilities Benefits
(Intel VT) for Connectivity (Intel
Increases system reliability and stability VT-c) performs PCI-SIG* Single Root I/O
Isolates applications in secure partitions Virtualization (SR-IOV) functions that al-
Eases software migration and consolidtaion
low the partitioning of a single Intel
Runs RTOS on a dedicated processor core Decreases loop jitter Ethernet Server Adapter port into multiple
Improves determinism
virtual functions. These virtual functions
Decreases hypervisor load on the processor may be allocated to VMs, each with their
Performs virtualization tasks in hardware
Reduces VM to VM switching time own bandwidth allocation. They offer a
Table 1. Intel Virtualization Technology Capabilities and Benefits high-performance, low-latency path for
data packets to get into the VM. Intel
tion overhead by eliminating the need for sign I/O devices to specific guest OSes. VT-c, integrated in Intel Ethernet NICs,
the hypervisor to listen, trap and execute Each device is given a dedicated area enables improved networking throughput
certain instructions on behalf of each in system memory so data can travel with lower CPU utilization and reduced
guest OS. When hypervisor interventions directly and without hypervisor involve- system latency.
are required, it provides hardware support ment. I/O traffic flows more quickly, with
so handoffs between the hypervisor and more processor cycles available to run Improving Virtualization Performance
guest OSes are faster and more secure. applications. Security and availability are Its possible to ensure the real-time per-
Intel Virtualization Technology also improved, since I/O data intended for formance necessary for consolidated
(Intel VT) for Directed I/O (Intel VT-d) a specific device or guest OS cannot be factory automation solutions using Intel
accelerates data movement by enabling accessed by any other hardware or guest VT and an RTOS when several main is-
the hypervisor to directly and securely as- software component. sues are addressed. Foremost, its neces-

32 Sponsored by
SPONSORED CONTENT

sary to minimize the interrupt latency and with time-critical control applications virtualized environment, some of which are
the overhead associated with general- because of the resulting degradation in described in the following:
purpose processors. A major source of performance, latency and determinism.
performance loss is from VM enters and Intel has worked together with operating Intel Virtualization Technology
exits, which typically occur when the hy- system vendors to reduce the typical inter- FlexPriority: When a processor is per-
pervisor must service an interrupt or han- rupt latency from between 300 and 700 uS forming a control task, it often receives
dle a special event. These transitions are to sub 20 uS,3,4 achieving near-native per- interrupts from other devices or appli-
expensive operations because execution formance (i.e., similar to non-virtualized) in cations. To minimize the impact on per-
contexts must be saved and retrieved, a virtualized environment. This is possible formance, a special register, called the
and during this time the guest is stalled. through the implementation of hardware APIC Task Priority Register (TPR), in the
Figure 3 depicts the VM/Host enters and software Exitmechanisms that mini- processor monitors the priority of tasks
and exits that could result from an exter- mize the interrupt overhead inherent in a to prevent the interruption of one task
nal interrupt. In this case, the guest OS
runs until an external interrupt arrives.
Subsequently, there are a total of eight Guest Running Running Running

exits and enters before the guest OS is Vm Exit VM Enter Vm Exit VM Enter

allowed to restart its stalled process. This


Host Enter Host Exit Host Enter Host Exit
overhead can become substantial since
Host Running Running
its not uncommon for I/O-intensive ap-
plications to have hundreds or thousands
Interrupt
of interrupts arriving in a second. These
constant disruptions cannot be tolerated Figure 3. Interrupt Impact

33 Sponsored by
SPONSORED CONTENT

by another with lower priority. Intel Vir- priority registers and thereby provides a ture had to be flushed out of the transi-
tualization Technology FlexPriority (Fig- major performance improvement. tion look-aside buffers (TLB) associated
ure 4) creates a virtual copy of the TPR with the CPU caches. As a result, there
that can be read, and in some cases Virtual Processor IDs (VPID): Previ- was performance loss on all VM exits
changed, by guest OSes without hyper- ously, every time the hypervisor per- because the hypervisor did not know
visor intervention. This eliminates most formed content switching between which cache line was associated with
VM exits due to guests accessing task VMs, the active VM and its data struc- any particular VM.
With Virtual Processor IDs (VPID),
the virtual machine control structure
Without Intel Virtualizatoin Technology FlexPriority With Intel Virtualizatoin Technology FlexPriority
(VMCS) contains a VM ID tag that as-
Virtual Machine (VM) Virtual Machine (VM) sociates cache lines with each actively
Guest Guest running VM on the CPU. This permits
Operating System Operating System
VM
No VM
the CPU to flush only the cache lines
Exits
Exits
associated with a particular VM when
APIC-TPR access in
hardware it is flushed from the CPU, avoiding the
need to reload cache lines for a VM that
APIC-TPR access in
software
configure
was not migrated and resulting in lower
Virtual Machine Monitor (VMM) Virtual Machine Monitor (VMM) overhead.
Fetch/decode instruction Instruction executes directly
Emulate APIC-TPR behavior Hardware emulates APIC-TPR access Guest Preemption Timer: Program-
Thousands of cycles per exit No VM exits
mable by hypervisor, this timer pro-
Figure 4. Depiction of Intel Virtualization Technology FlexPriority vides a mechanism to enable a hy-

34 Sponsored by
SPONSORED CONTENT

pervisor to preempt (i.e., halt) the control, it can schedule another VM. pervisor previously had to maintain
execution of a guest OS by causing a Spin locks are often used in control a virtual APIC model in software for
VM exit when the timer expires. This applications for inter-process synchro- handling interrupts. This functionality
feature makes it easier to switch tasks, nization. is now implemented with microcode,
fulfill real-time control requirements called the vAPCI, which the guest can
or allocate a certain amount of CPU Virtual Advanced Programmable access without triggering a VM exit, as
cycles to a task. Interrupt Controller (vAPIC): The hy- shown in Figure 5.

Descriptor Table Exiting: This feature


Without Virtual APIC (vAPIC) With Virtual APIC (vAPIC)
enables a hypervisor to protect a guest
OS from internal attack by preventing Virtual Machine (VM) Virtual Machine (VM)

the relocation of key system data struc- Guest


Operating System
Guest
Operating System
tures. This mechanism helps to better VM
No VM
Exits
Exits
protect safety-critical applications.
vAPIC in CPU
(hardware microcode)

Pause-Loop Exiting: Spin-locking


vAPIC model
code typically uses PAUSE instruc- in software
configure
tions in a loop. This feature detects Virtual Machine Monitor (VMM) Virtual Machine Monitor (VMM)

when the duration of a loop is longer Fetch/decode instruction Instruction executes directly
than normal (a sign of lock-holder Emulate APIC behavior
Approximately 15,000 cycle per exit
Hardware and microcode emulate APIC
No VM exits
preemption) and forces an exit into the
hypervisor. After the hypervisor takes Figure 5. The vAPIC Implemented in Hardware

35 Sponsored by
SPONSORED CONTENT

Single-Root I/O Virtualization


(SR-IOV): The PCI Special Interest
Group (PCI-SIG) specification, SR-IOV
allows one NIC to service multiple
VMs, as shown in Figure 6. The
specification provides a standard
mechanism for devices to advertise
their ability to be simultaneously
shared among multiple virtual
machines. It also allows for the par-
titioning of a PCI function into many
virtual interfaces for the purpose of
sharing the resources of a PCI Express*
device in a virtual environment.
Figure 6. Technologies for Improving Virtualized I/O

Each virtual function can support a


unique and separate data path for I/O-re- machines, or guests, via a standard inter- Deploying Intel Virtualization
lated functions within the PCI Express hi- face. This resource sharing can increase Technology
erarchy. Use of SR-IOV in factory automa- the total utilization of any given resource Intel Virtualization Technology is enabled
tion, for example, allows the bandwidth of presented on an SR-IOV-capable PCI by a number of hardware and software
a NIC to be partitioned into smaller slices Express device, potentially reducing the components, including Intel VT-enabled
that may be allocated to specific virtual cost of a virtual system. Intel processors and chipsets, which are

36 Sponsored by
SPONSORED CONTENT

tegration effort, security complexity and


Platform Components Required Capability system support. This is achievable with
virtualization technology, a powerful capa-
Intel Core vPro Processor Intel Virtualization Technology (Intel VT)-enabled
bility in Intel Core vPro processor-based
platforms that allows OEMs to com-
bine multiple devices found in todays
Intel Chipset Intel VT-enabled
manufacturing environment into a single
system. The path to lower cost and com-
Available from software vendors such as Green Hills*,
plexity is being blazed by Intels continual
Virtual Machine Monitor Software LynuxWorks*, TenAsys*, Real-Time Systerms* and
Wind River* innovations in multi-core computing and
virtualization technologies that help OEMs
deliver higher performing and more robust
BIOS Intel VT-enabled, available from AMI*, Phoenix* and
Insyde* industrial systems.
Table 2. Required Intel Virtualization Technology Components visit
For more information about Intel
solutions for industrial automation, visit
listed in Table 2. Intel VT requires virtual equipment plays a critical role in creating www.intel.com/industrial
machine monitor software and Intel VT- a competitive advantage with respect to
enabled BIOS software. manufacturing precision, throughput and
References
cost. On the cost side, industrial system
1
Source: http://www.ibm.com/developerworks/
The Path to Industrial System consolidation can have a large impact library/l-linuxvirt/
Consolidation in reducing overall equipment cost, fac- 2
Intel Virtualization Technology (Intel VT) requires
For product manufacturers, factory floor tory footprint, energy consumption, in- a computer system with an enabled Intel processor,

37 Sponsored by
SPONSORED CONTENT

BIOS, virtual machine monitor (VMM) and, for some


uses, certain platform software enabled for it. Func-
Industrial System Consolidation
tionality, performance, or other benefits will vary Reduce complexity and improve factory efficiency through real-time virtualization
depending on hardware and software configurations
and may require a BIOS update. Software applica-
tions may not be compatible with all operating sys-
tems. Please check with your application vendor.
3
Performance estimates are based on internal Intel
analysis and are provided for informational purpos-
es only.
4
Performance tests and ratings are measured using
specific computer systems and/or components and
reflect the approximate performance of Intel prod-
ucts as measured by those tests. Any difference in
system hardware or software design or configura-
tion may affect actual performance. Buyers should
consult other sources of information to evaluate the
performance of systems or components they are
considering purchasing. For more information on
performance tests and on the performance of Intel
products, visit http://www.intel.com/performance/
resources/limits.htm.

38 Sponsored by
Narrowband Powerline
Communication
Applications and Challenges Part I
By Bogdan Baraboi, Ariane Controls Inc

T
ransmitting data between remote devices and home multimedia networking. For narrow-
has a long history and is becoming sine band PLC, there is today a potentially vast mar-
qua non in the modern world. Thanks to ket of command and control applications.
technological evolution and new emerging mar- This article intends to give an overview of the
kets, powerline communication (PLC) is today a state of the art and trends in narrowband PLC.
viable technology for both low speed and high The topics include basic modulation principles,
speed networking. Broadband PLC represents characteristics of power lines, applicable regu-
an interesting alternative to cable, DSL or Wi-Fi lations, typical applications and implementa-
as a last-mile solution for Internet distribution tion challenges. Also, market perspectives and

39 Sponsored by
promising opportunities are discussed to developments date from end of the 19th ciations. The emerging PLC technologies
assess the viability of the narrowband PLC century. In the beginning of the 20th cen- became promising for both consumers
in the Smart Energy world. tury, carrier frequency systems began to and energy providers.
operate over high-voltage lines, then over
No new wires medium and low voltage distribution sys- Broad vs. Narrow
The key advantage of PLC is the use of tems for telemetry purposes. We distinguish today between two classes
existing electrical lines as communication The term Power Line Carriers emerged of PLC systems: narrowband and broad-
medium, which provides the major benefit in the 1940s. In the 1970s and 1980s band. Usually, narrowband PLC (NB-PLC)
of eliminating considerable costs of install- home-control PLC devices became com- refers to low bandwidth communication,
ing networking infrastructure, like dedicat- mercially available, and at the same time utilizing the frequency band below 500kHz
ed cables or antennas. the first standards were developed. The and providing data rates of tens of kpbs.
Data is sent on the power lines by super- interest increased during the 1990s, with Broadband PLC (BPL) utilizes a much
posing a modulated high-frequency carrier popular technologies like X-10, CEBus wider frequency band, typically between
signal on the line voltage, being high, me- and LonWorks. The drive was to produce 2MHz and 30MHz, and allows for data
dium or low, AC or DC. The carrier signal a reliable system which is cheap enough rates of hundreds of Mbps.
is then decoupled and demodulated at the to be widely installed and able to com- BPL technologies are used today for
receiving end to recover the information. pete cost effectively with wireless solu- high-speed data transfer applications like
tions. Over the last 20 years, research Internet, HDTV, and audio. The optimism in
Once upon a time in PLC has intensified; new modulation this market is reflected by a number of so-
Powerline communications have a long and error control coding techniques were lutions from companies like Atheros, Max-
history; actually, it is almost as old as the proposed, as well as new standards from im, Sigma, all in the Home Area Network-
power grid itself. The first research and industry alliances and professional asso- ing. The NB-PLC finds many applications

40 Sponsored by
Narrowband PLC Broadband PLC
based on single-carrier modulation, while
broadband technologies use multi-carrier
Data rate Up to 200kbps Over 1Mbps
techniques. Lets look at the features of
Frequency Up to 500kHz Over 2MHz the main types of modulation used in nar-
rowband PLC systems.
Modulation FSK, S-FSK, BPSK, SS, OFDM OFDM

Building Automation
Renewable Energy Internet Single-carrier modulation
Advanced Metering HDTV
Applications
Street Lighting Audio Single-carrier modulations, like Ampli-
Electric Vehicle Gaming tude-Shift Keying (ASK), Frequency-Shift
Smart Grid
Keying (FSK) and Phase-Shift Keying
Ariane Controls
Atheros
Cyrpress
Broadcom (PSK), use a number of distinct signals
Echelon
Lantiq to represent digital data. With these
Providers Maxim
Marvell
ST Microelectronics
Texas Instruments
Maxim schemes, data is transmitted by chang-
Sigma
Yitran
ing, or modulating, a characteristic of a
reference signal, for example the ampli-
in the command, control and monitoring ing Echelon, Maxim, ST Microelectronics, tude, the frequency or the phase. In the
markets, like smart building automation, Texas Instruments and Ariane Controls. simplest form of these modulations, two
renewable energy generation, advanced discrete values of these parameters are
metering, street lighting, plug-in electric ve- Modulation schemes used to represent binary data. For ex-
hicles, etc. Consequently, the narrowband Different modulation schemes are used ample, Binary Frequency-Shift Keying
PLC market is seeing healthy competition, by the two categories of PLC technolo- (BFSK) uses a pair of discrete frequen-
with a large number of suppliers, includ- gies. Narrowband systems are mostly cies to transmit the 1 (called the mark

41 Sponsored by
frequency) and the 0 (called the space can be increased by error detection and cor- Multi-carrier modulation
frequency). rection mechanisms, which combined with While mainly used in broadband PLC sys-
The performance of single-carrier PLC message repetition can be very efficient. tems, multi-carrier modulation schemes
technologies has been proven in many have been recently applied in narrowband
implementations. X-10 is based on On-Off Spread-spectrum modulation PLC. One of the most popular multi-carrier
Keying modulation, the simplest form of Another modulation scheme used in NB- modulation techniques is OFDM (Orthogo-
ASK that represents data as the presence PLC systems is spread-spectrum (SS). nal Frequency-Division Multiplexing). Sev-
or absence of a carrier wave, synchronized This technique operates by spreading the eral OFDM-based NB-PLC solutions that
with the zero-crossing of the power line original narrowband information over a address mainly the smart grid market have
voltage. Echelons transceivers use BPSK, wider band of frequencies. Consequently, been proposed by industrial alliances like
STs ST7537 to ST7540 transceivers are the transmitted signal occupies a band- PRIME and G3-PLC.
based on BFSK, as well as Arianes PLM-1 width much greater than the minimum With OFDM, data is split into sub-carri-
modem. These solutions have the advan- necessary to send the information. In this ers of different frequencies, modulated in
tage of providing reliable communication way, SS modulation allows overcoming parallel with conventional techniques, like
at reduced power consumption and low frequency-selective perturbations and BPSK, QPSK or QAM. Hence, a low bit
cost. The low data rate, typically limited to burst noises from the power lines. How- rate transmission is converted into a high
10kbps, makes these solutions appropri- ever, the redundancy in data transmission bit rate transmission by transmitting dif-
ate for command and control, metering also makes the spectral efficiency low. ferent parts of the data on many different
and monitoring applications. There are few implementations of SS sub-carriers.
The main drawback of single-carrier PLC techniques in PLC systems, the most suc- The main advantage of multi-carrier
systems is their sensitivity to narrowband cessful being Yitrans DCSK (Differential modulation over single-carrier schemes
noise and signal distortion. The robustness Code Shift Keying) modems. is its robustness to narrowband interfer-

42 Sponsored by
ence and frequency-selective perturba- The power grid electrical substations located near demand
tions. Also, multi-carrier systems allow Lets take a look at the power grid and its centers. Medium voltage lines (typically
higher data rates than single-carrier and characteristics as communication channel. below 50kV) and low voltage lines (less
SS modulation schemes. An important Electrical power lines are usually classified than 1kV) form the distribution network,
feature of OFDM is its adaptability to the into high, medium and low voltage lines. which carries electricity from the transmis-
channel conditions; sub-carriers within the High voltage lines form the transmission sion system and delivers it to consumers.
OFDM waveform can be selected in order network that transports energy at over Various wiring topologies exist and differ
to avoid transmitting at frequencies where 100kV from generating power plants to from country to country, and also within
the signal-to-noise ratio is too low.
However, these features come at a price. Transmission Grid
OFDM-based systems are more complex,
High Voltage Lines
meaning higher cost and increased power
vvv
consumption compared to single-carrier
vvv
Medium Voltage Lines
solutions. Also, because of their large fre-
quency bandwidth, the maximum effective
data rate is considerably limited by the re-
Distribution Grid vvv
vvv vvv
vvv vvv
vvv vvv
vvv Substations
strictions in narrowband frequency bands
- to about 30kbps in European CENEL- Low Voltage Lines
EC bands (frequencies up to 148.5kHz)
and about 128kbps at frequencies up to
500kHz. Solar Wind Large Small Commercial MDU Homes
Farms Farms Industry Industy Buildings

43 Sponsored by
each country, for example radial and inter- lenging environment for communication. for example) can also cause extremely
connected distribution networks, delta and The transmission grid and even more the low impedance values. The impedance
wye three-phase services, single-phase distribution grid have the characteristics of is highly varying with frequency, but also
and split-phase low-voltage services, dif- a very complicated wired network, which changing in time, as devices are contin-
ferent earthing systems. vary with time, location and are frequency- uously plugged in or out, and switched
Powerline communications have been dependent. High signal attenuation and on or off
used at all levels of the power grid; on high considerable noise are the main factors Multiple phases - In residential split-
voltage lines for telemetry, protection and that affect the communication perfor- phase power lines and commercial or
control by utility companies; on medium mance. Also, severe electromagnetic com- industrial three-phase systems, PLC
voltage for advanced metering and grid patibility restrictions impose non-negligible transceivers can be connected on dif-
optimization by electricity providers, but challenges to PLC systems. ferent phases. The PLC signals that
also for high-speed Internet distribution; are typically transmitted between one
finally, the vast majority of PLC applica- Signal attenuation phase and neutral have to travel from
tions are on low voltage lines, both indoorThere are many sources of attenuation one phase to the other through the
and outdoor (between transformers and and distortion of PLC signals on the power distribution transformer or some phase-
buildings), for both low-speed command lines. Here is a summary of the most com- to-phase loads, and are generally highly
and control applications and high-speed mon factors: attenuated.
networking. Impedance of loads connected to low Transformers - Power distribution trans-
voltage power line - In most frequency formers cause high signal attenuation
PLC challenges ranges, the load impedance shows when PLC devices are located on pri-
The power lines were not designed for data inductive or capacitive behavior, but mary and secondary sides, for example
transmission and they constitute a chal- resistive loads (like heating elements, in communication between meters on

44 Sponsored by
the low voltage line and a concentrator or more. While the attenuation depends is particularly challenging for narrowband
connected on medium voltage side. on the network topology, location of PLC PLC operating below 150kHz.
Line losses - The characteristic imped- transceivers and connected loads, it is also As one would expect, there are many
ance of the wiring between transmit and time- and frequency-dependent. Attenua- sources of noise on the power lines. They
receive locations can also add signifi- tion variations of 20dBs over time are not can be roughly classified in several classes:
cant signal attenuation, particularly in unusual. Also, it has been observed that Narrowband noise, that is mainly due to
outdoor long power lines (for example signal attenuation tends to increase with amplitude modulated signals (for exam-
in street lighting networks or metering frequency, although the increase is not ple from broadcast stations).
systems). always monotonic. Continuous background noise, which
Multipath propagation - Signal propaga- can be:
tion on multiple paths and signal reflec- Noise Time-invariant, having constant en-
tion due to impedance mismatches in When the PLC signals are severely attenu- velope for a long period (for example,
branching points can generate attenua- ated, the noise becomes a significant con- thermal noise generated by internal
tion distortion of PLC signals. This phe- cern for data reception. Generally, channel circuitry).
nomenon is less observed at low com- noise is generated by electrical loads and Time-variant, whose envelope changes
munication frequencies (below 150kHz), varies with time of day, location and fre- with line voltage (for example, noise
since the signal wavelength is quite long quency. The noise power level at a certain from inverter-drive fluorescent lamps).
(over 1km). location is the sum of noise waveforms Impulsive noise, consisting of abrupt
Measurements carried out in indoor and from different sources and depends on the impulses with short duration and high
outdoor environments reported in the distance to noise sources. Also, noise has amplitude. There are at least three cat-
literature have shown that the signal at- greater power in the lower frequency range egories of impulsive noise:
tenuation can range from 15dBs to 60dB and decreases at higher frequency, which Impulses synchronous with AC line volt-

45 Sponsored by
age, at the same frequency or double ered. SMPS may couple significant noise These normative specifications are gen-
(for example, noise generated by light at the switching frequency or its harmon- erally produced by regulatory agencies,
dimmers or brush motors). ics back onto the mains power line. Also, independent or governmental, and apply
Impulses asynchronous to AC line volt- a SMPS or a DC/DC switching regulator for specific geographical areas. For exam-
age, whose frequency is much higher with improperly filtered output can pro- ple, Federal Communications Commission
than that of mains voltage (for example, duce noise and ripple on the transceiver (FCC) in US, Industry Canada, European
noise from switching regulators). DC supply voltages. Committee for Electrotechnical Standard-
Single-event impulses, that occur at ran- ization (CENELEC) in the European Union,
dom times, less frequently, and that are EMC regulations Association of Radio Industries and Busi-
typically caused by switching operations Besides the harsh channel conditions, nesses (ARIB) in Japan.
(for example, wall switches or capacitor another challenge for PLC is the compli- The above diagram summarizes the allo-
banks for power factor correction). ance with the standards and regulations for cation of frequency bands for narrowband
While noise is mostly generated by the electromagnetic compatibility. These stan- PLC by the main international standards.
devices connected to the power line, one dards do not define particular modulation We can observe that while US FCC Part
possible source of noise that can disturb methods, but typically specifies: 15, Industry Canada ICES-006 and Ja-
the reception of low communication sig- Frequency bands allocated for differ- pan ARIB provide larger frequency range,
nals is PLC transceivers circuitry, mainly ent applications the European CENELEC standard is more
its power supply. Switching-mode power Limits for the transmitted signals in the restrictive, with a frequency band from
supplies (SMPS) and regulators can be operating bands 3kHz to 95kHz reserved for utility applica-
particularly problematic and their switch- Limits for electromagnetic emissions tions and only from 95kHz to 148.5kHz for
ing frequency should be carefully consid- (conducted and radiated). consumer applications. Also, the maximum

46 Sponsored by
signal levels and electromagnetic emis-
sions accepted by CENELEC are tighter.

About the Author


Bogdan Baraboi is an Application Engineer
at Ariane Controls, a leading developer
of narrowband powerline communica-
tion solutions. He has a Master degree in
Electrical Engineering from Universit La-
val (Qubec, Canada) and over 10 years
of experience in electronics, analog signal
processing, power systems and powerline
communications. He can be reached at:
bbaraboi@arianecontrols.com. Allocation of frequency bands for narrowband PLC

47 Sponsored by
Narrowband Powerline
Communication
Applications and Challenges Part II
By Bogdan Baraboi, Ariane Controls Inc

PLC Transceivers cal and Data Link layers, according to the OSI
Whatever the type of modulation used, a PLC model. Modulation-demodulation, error correc-
transceiver includes a few basic blocks. Differ- tion, media access control are among the major
ent solutions use various levels of integration functions performed at this level. A processing
of these components, from full-digital modems unit is responsible for networking, protocol, and
with external discrete components to highly in- application-specific functions. At the other side,
tegrated systems-on-chip. transmitted and received signals are processed,
The core of each transceiver is the modem in digital and analog form; the main operations
itself, which usually implements the Physi- include filtering and amplification. The interface

48 Sponsored by
tion with low signal-to-noise ratio. Media
Signal
MCU Modem Processing Coupling Circuit access control and adjustable communica-
Protocol PHY DAC/ADC Capacitive/Inductive Power Line tion frequency allow sharing the medium
Networking MAC Filtering Proctection AC/DC
Application Amplification Isolation and adapting to channel conditions.

Narrowband PLC: Where and how


NB-PLC finds applications wherever there
Power Supply
is electrical wiring, from utility power grid
Linear/ Switched-mode/ Capacitive
and distributed renewable energy systems
to homes and buildings, public lighting,
Figure 1: Typical block-diagram of PLC transceiver
and plug-in electric vehicles. There is also a
large variety of custom applications involv-
with the power lines is made via a capaci- with the channel electrical impairments ing AC, DC or un-powered lines, like fire-
tive or inductive coupling circuit, which and must meet the regional regulations for works control, emergency lighting, dive data
also provides galvanic isolation and pro- EMC. In most power line installations, high management, submersible water pumps
tection against line voltage disturbances. transmission power is required so that the to mention just a few. Each implementation
The design of the analog front-end is re- transmitter be able to drive an adequate has its own challenges that mainly depend
lated to the channel characteristics, such amount of signal into low impedance loads. on the channel characteristics and market
as amplitude and frequency of line voltage, Excellent receiving sensitivity is necessary requirements. Well review the main areas
wiring style, location, potential disturbanc- in order to receive highly attenuated signals. of application for NB-PLC and well discuss
es, applicable regulations, etc. High noise immunity, error detection and typical implementation challenges and spe-
PLC transceivers must be able to cope correction mechanisms enable data recep- cific solutions to consider.

49 Sponsored by
Home and building automation ple, High Pressure Discharge lighting, tion losses, improving security of supply,
Home and building automation is one of fluorescent light electronic ballasts, lowering pollution, and cutting customer
the primaries markets for narrowband PLC. refrigerators, computers, etc.). electric bills. Data transfer between energy
By eliminating the need to install new wir- Phase-couplers. Connected near the production devices (like solar panels or
ing, PLC transceivers allow easily creating breaker panel, they are usually used wind turbines), inverters and gateways is
smart automation systems in homes, ho- to allow PLC signals travel between required for the management of distributed
tels, offices, commercial and institutional phases. generation systems and for reliable inte-
buildings. Energy savings, greater comfort Repeaters. Typically associated with gration to the power grid.
and safety are only a few benefits. Typical phase-couplers, these devices are There are two approaches for managing
implementations include lighting control, helpful in large locations. A coupler- solar or wind energy today:
load shedding, heating and cooling sys- repeater detects data signals upon 1. Using large single inverters that convert
tems, energy monitoring, fire detection, etc. one phase and repeats them on all the DC voltage from several PV solar
The main PLC challenges in home and phases of the power line system. panels or wind turbines into AC energy.
building environment are the high density 2. Using small micro-inverters that per-
of loads, which produce both signal attenu- Clean energy management form the DC to AC conversion at each
ation and noise, and split-phase or three- A more recent market for NB-PLC is in the individual source.
phase wiring topology, which results in addi- distributed renewable energy systems. In single inverter topologies, the PLC
tional signal loss. Typical solutions include: Generating electricity from many small signals are sent on the DC line between
Line filters. Built into PLC devices or energy sources is a modern alternative to individual sources and inverter. The main
as stand-alone equipment, they help traditional large generation plants. The use challenge here is typical high attenuation
preventing noise and signal attenua- of renewable distributed energy is grow- from inverters input capacitors. A possible
tion from critical appliances (for exam- ing rapidly, as it allows reducing distribu- solution is the use of inductive coupling

50 Sponsored by
instead of capacitive coupling. Inductive cerned to manage their public lighting and these challenges include increasing the
couplers are based on specialized current are looking for solutions to save energy, PLC transmitting power and using signal
transformers that are connected in series reduce maintenance costs, while providing repeaters at specific intervals.
on the communication channel. They allow more reliable and safer lighting. By add-
injecting a PLC current signal instead of a ing intelligent control of each individual Advanced metering
voltage on the line, and avoiding the signal lamp, the street lights can be turned off or Powerline communication has long been
attenuation caused by low parallel imped- dimmed as optimally as possible depend- a favorite for utilities since it requires less
ance of the inverters capacitors. ing on time, traffic or weather. Lamps that new infrastructure than other technologies.
In micro-inverter topologies, the com- reach the end of their life cycle can be Using NB-PLC, electricity providers can
munication is performed on the AC line replaced before they fail. The energy con- remotely monitor and control energy usage
between each micro-inverter and in-home sumption can be measured and optimized at the customer site. Smart meters can be
gateways or displays. The challenges here by accommodating new types of lamps. linked to concentrators on low or medium
are typical to indoor power lines, i.e. mul- NB-PLC offers an efficient solution for voltage grid, allowing suppliers to have re-
tiple phases and possible high density of remote management of street lighting, mote access to each individual customer,
loads. Consequently, similar techniques to tunnel lighting, parking lot lighting and for transmitting information such as rates,
those find in home and building automa- traffic light controllers. The main PLC pre-paid amounts, current and cumula-
tion applications can be applied, includ- challenge are the long power lines (usu- tive counts, etc. Utilities can also develop
ing line filters, phase couplers, and signal ally several kilometers) and particularly Demand-Response mechanisms to man-
repeaters in larger locations. low access impedance (mainly due to the age customer consumption of electricity in
large capacitors that are typically used for response to supply conditions. Operational
Public lighting power factor correction inside the street parameters can be monitored, including
Municipalities are more and more con- lamps). Typical techniques to cope with tamper or power factor.

51 Sponsored by
Obviously, the challenges for PLC are devices and utilities. Benefits associated scale renewable energy systems.
proportional to the system complexity: with the emerging Smart Grid include The omnipresence of the power lines
long power lines, distribution transformers, more efficient energy infrastructure, more renders NB-PLC a preferred solution for
low access impedance, split- and 3-phase reliable supply of electricity, reduced vul- data communication in many applications
power line topologies. This means severe nerability to natural disasters or attacks, in this market. However, considering the
signal attenuation and calls for appropri- easy integration of large-scale and low- system complexity and diversity of devic-
ate improving techniques, including phase
couplers, signal repeaters, increased trans- Renewable
Energy
mitting power, transformer bypass, etc.
Power Plants
Industrial
Market trends: Smart Grid Microgrids
The advanced metering needs to be re-
Distributed Distributed
garded today as part of the broader con- Automation Generation
Connected
cept of Smart Grid. Todays AC power Cities Energy
Management
grid is mostly based on centralized en-
Vehicle-to-Grid
ergy generation in large remote power
plants and unidirectional flow of energy Smart Metering
to the consumer. The Smart Grid repre- Vehicle-to-Home

sents an opportunity for modernization of


generation, distribution and utilization of Plug-in
Electric Vehicles
electrical energy based on bidirectional
Intelligent
communication between consumers, Homes

Smart Grid building blocks


52 Sponsored by
es, the Smart Grid requires a mix of tech- Inter-operability, meaning that devices munications over low voltage line. Also,
nologies operating together in a meshed using various technologies can ex- companies forming industrial alliances
network, including PLC, Ethernet, Wi-Fi, change information directly. The Smart develop specifications that aim to promote
ZigBee, GPRS, etc. The specific commu- Energy Profile 2.0 is an emerging stan- different PLC technologies for the same
nications media over which they exchange dard that is being developed to create markets (e.g., PRIME, G3-PLC, Home-
information is less important, as long as it an interoperable protocol that con- Plug Green PHY, Netricity PLC ). While this
fulfills the conditions specific to each utili- nects devices to the Smart Grid. The standardization activity proves the increas-
zation, such as reliability, throughput, elec- standard itself is designed to run over ing interest in NB-PLC, it remains to be
tromagnetic emissions, security, etc. the Internet protocol (TCP/IP) and is seen how these solutions will be able to
A fundamental challenge in the Smart media access control (MAC) and phys- deal with co-existence and inter-operabili-
Grid is to ensure balance of generation ical layer (PHY) agnostic. ty in the Smart Grid market. p
and demand while integrating a large vari- At the same time, one can observe a
ety of technologies. This is based on two lively activity in the development of nar-
requirements for all wired and wireless rowband PLC standards that propose
communications: various physical layer and medium access
Coexistence, implying that different solutions. International organizations like
communication services share the me- IEEE and ITU-T create formal standards
dium without affecting each others op- (IEEE 1901.2, ITU-T G.hn) that try to as-
eration. Coexistence is accomplished sure efficient use of the power line chan-
by assigning specific frequency range, nel defining detailed mechanisms for
associated bandwidth and output pow- coexistence between different NB-PLC
er for the data to be transmitted. technologies for indoor and outdoor com-

53 Sponsored by
An overview of
ZigBees Smart Energy
Profile 2.0 standard
By Srinath Balaraman and Anil Khanna, Mentor Graphics

T
he number of devices defined as part of begin to connect to each other, a bigger and far
the Internet of Things continues to grow more comprehensive picture emerges on how
quickly as individuals and industries alike to make smarter energy consumption decisions.
find innovative ways to utilize connected devic- Connecting devices in the home and local Inter-
es and networks. Enabling machine-to-machine net networks to a smart grid enables two-way
(M2M) communication has endless possibili- communication between homeowner and the
ties, and is one of the more prominent technol- power company and is becoming more of a real-
ogy areas in the emergence of smart energy. As ity with each passing day.
home meters, personal devices and appliances This article provides an overview of the Smart

54 Sponsored by
Energy Profile 2.0 (SEP), an emerging stan- and intelligence which leads us towards the
dard in the smart energy market, being vision of a smart networked world.
developed by the ZigBee Alliance. With One of the applications of this set of tech-
the basic understanding of SEP 2.0, soft- nologies is to improve energy consumption,
ware developers will be better prepared to also termed smart energy. The concept be-
select embedded software suited for the hind smart energy is controlling energy use
development of smart energy applications. internally, within the home, and externally
from the home to outside connected devic-
A new frontier with the Internet of Things es, networks, and the smart grid itselfall Figure 1: Energy providers, the development of a nationwide smart
The Internet of Things is a popular buzz with the goal of optimizing energy produc- grid and energy-conscious consumers will usher in a new era of
smart energy use
phrase and one that conjures up exciting tion, distribution, and usage. Bi-directional
visions of the future a future where your communication between home networks 2). There are several products (smart ther-
refrigerator self-checks its contents and and the power grid opens up possibilitwies mostats, smart switches, smart refrigerator,
emails you a grocery shopping list just as for improved reliability and sustainability. and more), which are available today that
you are about to leave work (not that gro- Smart grids and smart homes (smart ap- offer some level of intelligence and wireless
cery shopping is a terribly exciting experi- pliances, gateways etc.) and smart meters connectivity. Some of the more advanced
ence), your house gets ready for your arrival (electricity, gas, water) are key elements of appliances include built-in Web servers to
by adjusting the temperature to an optimum the smart energy ecosystem. Smart home interact with other devices in the connected
level, and the oven can pre-heat for dinner. appliances are typically those devices home. Smart meters are the gateways
The rapid proliferation of devices embed- consumers interact with daily. By enabling into these homes (and offices) and collect
ded with a combination of powerful mi- these devices to talk to each other and be and measure resource usage before shar-
croprocessors, sensors, and wireless con- controllable by the consumer, a whole new ing some or all of this information with the
nectivity has resulted in more functionality dimension of convenience is added (Figure smart grid. The grid, in turn, acts upon this

55 Sponsored by
information by taking necessary steps such providers to improve planning and improve
as load adjustment, peak curtailment, and energy distribution.
even demand-side management.
Smart energy devices, apart from per- Standardizing smart energy design
forming their standard functions, must be As multiple manufacturers design smart
able to communicate with other smart en- energy systems, it is becoming increas-
ergy devices within the local network and ingly clear that all devices interoperate in
be able to send and receive relevant in- a network. The ZigBee Alliance is working
formation (pricing, usage, alerts, etc.). The on a specification called the Smart En-
exchange of data not only improves the ergy Profile 2.0 (SEP 2.0) to help formalize Figure 2: In a typical smart home, devices such as a washing
overall efficiency and fault tolerance but op- the requirements for many aspects of the machine, an in-home display, and a power meter all work
together in tandem to make the home and grid smarter
timizes the consumption of energy. Smart smart energy ecosystem including device
meters collect and transmit usage data to communication, connectivity and informa- tion set. Devices like smart meters imple-
the energy providers and allow consumers tion sharing requirements. ment one or more function sets to provide
the ability to monitor and manage their own SEP 2.0 provides the guidelines in which value-added services such as usage sta-
energy consumption. In other words, usage the devices should communicate with one tistics and trends. These pricing statistics
data flows from the consumer to the energy another. It defines various device properties and trends can then be used by either the
provider and, at the same time, pricing data that can be manipulated. These properties energy provider or the consumer to further
flows from the energy provider to the con- (also known as resources) work together manage services or usage, respectively.
sumer. This bi-directional flow of informa- in logical groups to implement SEP 2.0 Function sets and their resources on a
tion allows consumers to make decisions functionalities (called the function sets). device are accessed through HTTP URLs.
to manage consumption. This two-way, A metering system, or pricing system, is an These devices dynamically discover rel-
real-time communication enables energy example of an application-specific func- evant services on the network using

56 Sponsored by
technologies like mDNS and DNS-SD expensive hardware upgrades, resulting beginning. The differentiator in this equa-
and register themselves to further access in an increased bill of materials and cost. tion is the software choice.
resources to implement SEP 2.0 function- Manufacturers must balance the benefits of The software technology requirements
ality. To provide for a truly interoperable delivering smart energy-enabled appliances laid out by the SEP 2.0 specifications
ecosystem of interconnected smart energy with the additional cost. include: a rich TCP/IP stack with UDP
devices, use of TCP/UDP and IP-based Moving forward, appliance manufactur- support; IPv6 services with dynamic ser-
networking is necessary. Support for se- ers have more options to find cost effec- vice discovery capabilities like mDNS
curity features within a device is critical tive solutions to design home appliances and DNS-SD; and a HTTP implementa-
because of vulnerabilities from exposure to that are smart energy enabled. The choice tion with support for primitives like GET,
a broader network, and more importantly, of SoC hardware for these home appli- PUT, POST, and DELETE. SEP 2.0 also
the access a device provides to the energy ance devices should be made by striking mandates support for security implemen-
grid. Since many smart devices serve up the right balance between functionality, tations like SSL/TLS and several modern
continuous, reliable, and real-time data, form factor, software support, and cost. day Internet technologies like the REST-
they must be Always-ON and Connect- 32-bit microcontrollers (MCUs) provide ful architecture, XML, and EXI encoding
ed which necessitates that all smart ener- a unique blend of processing power, schemes etc. Such extensive support
gy devices be power efficient themselves. memory, and connectivity to make them a for software technologies is readily avail-
Lastly, they must also support both wired strong candidate. The current generation able in Linux, but unfortunately, the use
and wireless networking capabilities. of microcontrollers, such as Freescale of microcontrollers with RAM sizes in the
A majority of existing home appliance de- Kinetis, STMicroelectronics STM32, or range of 96K to 128K eliminates Linux as
vices are not built to support the advanced the TI Stellaris (ARM Cortex-M core), offer an option. Developing such technologies
features of the emerging M2M wave, so tremendous amounts of features and ca- in-house is expensive and time consum-
incorporating many different capabilities pabilities at a very compelling price point. ing, which leads to the possible imple-
into a single device means significant and Selecting the right hardware is only the mentation of a real-time operating system

57 Sponsored by
(RTOS) for these devices. the bill of materials minimized will become
RTOSes are not only fast, efficient and a major challenge for manufacturers. To
robust, they typically include an extensive create a device compliant with the SEP 2.0
networking stack, a solid support for secu- specification, a homegrown software de-
rity using SSL or TLS, and most certainly sign is likely not an option due to the high
meet the heavily constrained footprint and number of functional requirements and the
other memory requirements these devices expensive in-house development efforts. On
require. The Nucleus RTOS provided by the other extreme, using a general purpose
Mentor Graphics is an example of one operating system will result in unaccept-
such solution (Figure 3). Nucleus is a wide- able cost increases because of the need for
ly deployed and scalable RTOS that meets significantly upgraded hardware resources.
all smart grid device requirements. It has Device manufacturers need to find the right
both hard, real-time performance and inte- balance when choosing both the software
grated power management services. Such design and hardware platform. The use of
an RTOS can fit in a memory-constrained a scalable, power-efficient, real-time op-
MCU, yet still provide the large set of func- erating system with extensive networking
tionality required by a connected, smart support (wired and wireless) along with
grid device. one of the 32-bit MCUs now available in
the marketis the closest to meeting all of
Conclusion these requirements. Following this design
With the projected rapid growth in the paradigm, designers will significantly reduce Figure 3: An example of a hardware design that can support a
adoption of smart grid technologies, de- their time-to-market and still realize all of wide range of peripherals, powered by a real-time operating
system such as Nucleus RTOS, which offers all the services
signing fully compliant devices that keep their smart grid application goals.p required by SEP 2.0

58 Sponsored by
SPONSORED CONTENT

Closing the Industrial


Communications GAP With
a Secure, Virtualized Solution

S
hanghai Baosight Software Co., Ltd. is one Challenge
of the largest system integrators serving the Traditional GAP products for industrial commu-
industrial automation marketplace in the nication are typically designed with two sets of
Peoples Republic of China. Founded in 2001, Bao- hardware systems, each with its own CPU and
sight provides software solutions for Chinas metal- operating system to execute a single task. One
lurgy, chemical, equipment manufacturing, mining, system generally handles data acquisition from
and energy industries, with an expanding presence an internal industrial network, while the second
in new areas such as the Internet of Things (IoT), system handles data transfer to an external net-
smart transportation, railways, and finance. work. This model has two drawbacks:

59 Sponsored by
SPONSORED CONTENT

Security risk. Data communication tween the two systems with secure ed gateway solution and form the rationale
between the systems is via the TCP/ inter-core communication to elimi- behind Intels recent introduction of the
IP networking protocol, which has nate this potential point of risk and Intel Industrial Solutions System Consoli-
the potential to expose an unguarded help thwart cyber-attacks. dation Series.
network to cyber-attacks that could Implement the Intel Industrial Solutions The three trends are as follows:
corrupt the systems. System Consolidation Series, which Growing pressure for efficiency and
Cost, complexity, and footprint. Sys- simplifies the task of using virtualization productivity requires manufacturers and
tem proliferation in an industrial envi- technology to combine multiple dis- IT departments to streamline, simplify,
ronment imposes a financial burden in crete workloads on a single computing and consolidate their complex array of
terms of hardware purchasing, system device. Intels solution integrates key systems to increase output while using
support, and maintenance expense, software and hardware components to fewer resources.
while also introducing layers of com- streamline the development of consoli- As factories streamline, traditionally iso-
plexity in terms of cabling, shielding, dated, virtualized solutions. lated industrial networks and systems
and networking. are evolving into connected, intelligent,
Introduction Internet-enabled devices capable of
Solution Three trends are converging in the industri- analyzing and harnessing data for busi-
Develop a secure gateway product al segment, transforming the factory floor ness valuethe Internet of Things
that can: from a system of isolated, single-purpose (IoT). (See related sidebar.) Manage-
Consolidate the workloads of the devices into an interconnected network ment is pushing for greater connectivity
two tasks into one CPU, and of intelligent, efficient, multi-purpose ma- as this phenomenon transforms facto-
Replace the conventional, less- chines. These trends suggest opportunity ries and plants worldwide.
secure TCP/IP communication be- for Baosights new virtualized, consolidat- As these sensitive industrial environ-

60 Sponsored by
SPONSORED CONTENT

ments become connected to the cloud


and the Internet, the threat of cyber-
An Integrated Device-to-Internet Solution for Securing the IoT
attacks is rising. The discovery of
Stuxnet, a computer worm designed Baosight developed its iCentroGate-GAP* (ICG- rity problem for the emerging IoT by minimizing
specifically to disrupt industrial pro- GAP) product as one of a series of comprehen- vulnerability to sensitive internal networks. By lay-
cesses, has raised security concerns sive solutions oriented to the Internet of Things ering its application on top of the integrated Intel
and created demand for solutions that (IoT) and the smart city concept. Industrial Solutions System Consolidation Series
can achieve both the connectivity that base platform, Baosight is enabling companies
management requires and the protec- The IoT is erupting as the new reality in the to securely draw data out of a manufacturing
tion needed for these formerly isolated business world, ushering in the potential for environment and onto other private and public
networks. hundreds of billions of smart devices ultimately networks. This level of security is not possible in
Baosight Software identified the conver- coming to life in an Internet-connected cos- traditional settings where factory operations have
gence of these three trends as a business mosfrom cars to refrigerators and from stop- long run in isolation on unprotected networks.
opportunity. Company managers under- lights to factory robots. As companies imagine
stand that the need to keep industrial and create intelligent devices that revolve and The ability to plug into the Internet securely and
infrastructure protected has never been communicate in this cosmos, the need to pro- extract data, and along with it, the ability to
greater, and that the cost and complexity tect valuable business systems and sensitive make that data useful and actionable with mini-
of doing so is escalating. To minimize the data will only grow more pressing. mal risk, offers a compelling solution for indus-
risk of cyber-attacks on industrial systems trial companies that recognize the transforma-
in a cost-effective and simplified way, Baosights gateway solution addresses the secu- tive business advantages of the IoT.
Baosight harnessed Intels new virtual-
ized platform to develop a consolidated

61 Sponsored by
SPONSORED CONTENT

industrial network isolation solution with transfer to an external network to be instru- tem communication with inter-core com-
advanced levels of security. mented in two separate operating systems munication also delivers advantages in
running on two cores of a single Intel terms of system stability and performance
Advancing Secure GAP With Core i7 processor. The solution relies on by means of strong computing capabil-
Intel Technology secure partitions in the virtualized environ- ity and greater communication bandwidth
Baosights iCentroGate-GAP* (ICG-GAP) ment and is supported by the Wind River between an intranet and the Internet.
product is designed to provide advanced Hypervisor and Intel vPro technology.
security and a stable, integrated, and Consolidating two workloads on a single Workload Consolidation
simplified system solution for industrial processor differentiates Baosights solu- Through Virtualization
applications in Chinas steel, metallurgy, tion from GAP products currently in the Using virtualization technology to combine
petro-chemical, manufacturing, and marketplace and offers users the benefits previously separate workloads on a single
transportation industries. This secure of saved hardware resources and their multi-core hardware platform is a growing
gateway solution is ideally suited to in- related operating and maintenance costs. trend in industrial automation today as an
dustrial scenarios focused on data acqui- Moreover, by providing a one-way data effective way to cut costs and sharpen ef-
sition, data processing, and intranet-to- communication path from an internal net- ficiency. The Intel Industrial Solutions Sys-
Internet data transfer where high security work to an external network and replac- tem Consolidation Series, with its proven
is a crucial requirement. ing conventional TCP/IP communication virtualization technologies, facilitates this
Baosight implemented the Intel Industrial with secure inter-core communication, effort by pre-integrating, validating, and
Solutions System Consolidation Series in Baosights solution ensures task isola- testing key software and hardware com-
its ICG-GAP solution, enabling the task of tion to help users avoid cyber-attacks and ponents. For solution developers, this can
data acquisition from a companys inter- achieve highly secure and accurate data mean significantly less upfront engineering
nal industrial network and the task of data transmission. Replacing TCP/IP inter-sys- cost, shorter product development cycles,

62 Sponsored by
SPONSORED CONTENT

and faster time to market. Intels integrated solution should trans- Consolidation Series at the heart of Bao-
According to Baosight, the savings late to less cost and complexity because sights new ICG-GAP product contains an
achieved by starting with Intels base multiple functions are consolidated, re- industrial computer with a power-efficient,
solution are significant. Dong Wensheng, sulting in decreased operating expense, quad-core Intel Core i7 processor with In-
general manager of Baosights R&D Divi- system footprint, energy consumption and tel Virtualization Technology (Intel VT)2
sion, says: Using the Intel Industrial integration and support effort.1 Baosight and supports common I/O interfaces for
Solutions System Consolidation Series notes that by consolidating two tasks on industrial applications.
product saved us an estimated 60 per- one CPU, total hardware system costs are It integrates a production-ready virtu-
cent of development time and 50 percent reduced by as much as half. In addition, a alization software stack with three pre-
of development cost compared to the consolidated system helps improve over- configured virtual machines (VMs), or
typical time and cost of developing a two- all solution efficiency because customers partitions, running a combination of real-
system GAP solution. In other words, need less energy and cooling power to run time and embedded operating systems
according to Baosight, a consolidated it. Plus, a consolidated system often has a on dedicated processor cores. Solution
system that typically costs $1 million USD better mean time between failures (MTBF) designers can use the two instances of
to develop over a one-year design cycle than the combination of subsystems it the Wind River VxWorks* RTOS to run
could be completed within six months for replaces because it has fewer components discrete applications with real-time per-
a cost of approximately $500,000 USD, that could potentially fail. formance requirements, while simultane-
considering all cost savings from devel- ously running embedded and/or gener-
opment, facilities, software, and engineer- Powerful Software Meets al-purpose applications on Wind River
ing resources. Proven Hardware Linux* 5.0. Using a single multi-core plat-
For end customers, systems based on The Intel Industrial Solutions System form to run multiple applications results in

63 Sponsored by
SPONSORED CONTENT

a compact footprint and decreases hard- Collaboration Is Key mainstream customers, which gives Bao-
ware size, weight, power, and cost. Engineers from Intel, Baosight, and a third sight a huge technology advantage, Wen-
Secure partitioning of the system is en- collaboration partnerShanghai SymTech sheng says. We have integrated our ap-
abled by the Wind River Hypervisor, an IT Co., Ltd., a,,vendor that contributed plications on top of an Intel-based solution
embedded virtual machine manager that various hardware and software compo- that provides integrated and fully validated
controls multiple applications and operat- nentsworked together to define,the hardware and a full stack of software. By
ing systems on a single multi-core plat- Baosight iCentroGate-GAP product. Intel starting with the Intel solution, our devel-
form to ensure low latency, determinism also provided technical support across all opment cost and time have been reduced
and real-time performance. hardware,and software levels to integrate significantly, which puts Baosight and our
The virtualization software stack in the Baosights GAP application with the Intel customers in a unique and favorable mar-
Intel Industrial Solutions System Consoli- Industrial Solutions,System Consolidation ket and business position.
dation Series allows users to have multiple Series. Learn more at www.intel.com/industrial
tasks implemented in parallel in different The result, Baosight says, is a hardware consolidation
operating systems in one CPU, Wensh- device thats simpler in design, much more 1
Results have been estimated based on internal Intel
analysis and are provided for informational purposes
eng says. Intel integrated this solution in integrated, and,more compact than exist-
only. Any difference in system hardware or software
such a way that those partitions are secure ing products, and one that provides the design or configuration may affect actual results.
and the workloads can execute in a very highest possible level of security. These 2
Intel Virtualization Technology requires a computer
stable, protected, virtualized environment. advances empower the company and its system with an enabled Intel processor, BIOS and
virtual machine monitor (VMM). Functionality, per-
Our ability to deliver uni-directional data products to be more competitive. formance or other benefits will vary depending on
communication for sensitive data flows The Intel Industrial Solutions System hardware and software configurations. Software ap-
plications may not be compatible with all operating
makes Intels solution the right choice for Consolidation Series is helping us provide systems. Consult your PC manufacturer. For more
our secure GAP product. a unique and innovative solution to our information, visit http://www.intel.com/go/virtualization

64 Sponsored by

Anda mungkin juga menyukai