You are on page 1of 140

Nexte

Contents
Issu D Pri
nting
to
ls: 3
teria anels
• Ma r P als
Sola emic
d Ch
e ri a ls an ri ve s
t D
• Ma and
tors
• Mo

November 2016
Vol. 05 | no. 07
iSSn-2454-4426

Tech FoCuS Buyers’ Guide


21 70
Editor : ramesh Chopra
Biotech: Selecting Assembled
Editorial : Editorial Secretary The Healing PCB desktop
CorrESpondEnCE phone: 011-26810601; E-mail: editsec@efy.in effect: Generating Manufacturing
(technical queries: efylab@efy.in) Human Spares equipment

SubSCriptionS & : phone: 011-26810601 or 02 or 03


miSSing iSSuES E-mail: support@efy.in 17 Design 82 EFY Plus DVD
Implementing High-Security Remote Escape Into The Fascinating World Of Control
baCk iSSuES, : kits‘n’Spares, new delhi
bookS, Cds, phone: 011-26371661, 26371662 Control Systems Simulation And Design
pCbs etc. E-mail: info@kitsnspares.com
Biotech 86 eStyle
nEwSStand : ph: 011-40596600
Buyers’ Guide: Choosing Blood Sugar Monitors
diStribution E-mail: efycirc@efy.in
25 Augmented Reality: Revolutionising

Do-It-Yourself
advErtiSEmEntS
Medical Applications
nEw dElhi
(hEad offiCE)
: ph: 011-26810601 or 02 or 03
E-mail: efyenq@efy.in
28 Challenges Faced In Designing
‘Approved’ Medical Devices In India
mumbai : ph: 022-24950047, 24928520
E-mail: efymum@efy.in 34 Wireless
bEngaluru : ph: 080-25260394, 25260023 National Connectivity Via LoRaWAN In Just
E-mail: efyblr@efy.in Eight Months

punE : ph: 08800295610, 09870682995


E-mail: efypune@efy.in
38 Repair & Maintenance 88 Wireless Digital Thermometer For Multiple Sensors
Salvage Techniques For Wet Electronics 94 12V Battery Charger-Cum-Variable Power Supply
gujarat: : ph: 079-61344948 97 Simple Suitcase-Lift Alarm
E-mail: efyahd@efy.in Manufacture 98
99
LM386 Audio Amplifier
Digital Soil Moisture Meter
China : power pioneer group inc.
ph: (86 755) 83729797, (86) 13923802595
42 Analogue ASICs Made Simple 101 IoT Based Smartcamera Using Android
And Raspberry Pi
E-mail: powerpioneer@efy.in 48 Electromagnetic Compatibility: Cable 103 GPS Distance Meter
Selection And Routing (Part 5 of 5) 106 SMS Alert System
japan : tandem inc., ph: 81-3-3541-4166
E-mail: tandem@efy.in
54 Defence Electronics
SingaporE : publicitas Singapore pte ltd Directed Energy Weapons: More On High- eFY Plus DVD
ph: +65-6836 2272 Energy Laser Weapons (Part 8 of 8) PROTEUS For Electronic Design Automation .............I
E-mail: publicitas@efy.in
Gerbv: The Gerber Viewer .....................................IV
taiwan : j.k. media, ph: 886-2-87726780 ext. 10 60 Artificial Intelligence GEZEL: Your Open Source HDL Solution .............. VII
E-mail: jkmedia@efy.in Amazon Echo: Your Personal Assistant
Regulars
unitEd StatES : E & tech media
ph: +1 860 536 6677 61 Test & Measurement 06 Feedback
E-mail: veroniquelamarque@gmail.com Light-Weight Power Supplies Are Not Just 08 Q&A
Benchtop Anymore 10 Useful Websites
12 Tech News
printed, published and owned by ramesh Chopra. printed at international
print-o-pack ltd, C-4 to C-11, hosiery Complex, phase-ii Extension, noida-201305,
gautam budh nagar, uttar pradesh, on the first day of each month and published
64 Embedded 73
80
Make in India: Industry News
New Products
from d-87/1, okhla industrial area, phase-1, new delhi 110020. Copyright 2016. Selecting The Right Microcontroller For
all rights reserved throughout the world. reproduction of any material from Embedded Applications 84 First Look
this magazine in any manner without the written permission of the publisher is 111 Business Pages Ads
prohibited. although every effort is made to ensure accuracy, no responsibility
whatsoever is taken for any loss due to publishing errors. articles that cannot
be used are returned to the authors if accompanied by a self-addressed and
76 Make In India 125
128
Electronics Mart Ads
Product Categories Index + Attractions During 2016
sufficiently stamped envelope. but no responsibility is taken for any loss or delay in Market Survey: Catching The Pulse Of
returning the material. EfY will not be responsible for any wrong claims made by
Medical Electronics Market 129 Advertisers’ Index
an advertiser. disputes, if any, will be settled in a new delhi court only.

Interview
SUBSCRIPTION RATES
Period Newstand Price
Year
two
(`)
2400
You Pay
(`)
1800
Digital
(`)
750
Overseas
Digital Print
uS$ 15 —
63 TeleCoMMuniCATion:
“They Can Sell only if it Complies With SAR Test Requirements” — Benoit derat, Phd, chief executive
officer and president, ART-Fi, and Rahul Gautam, head - market development, electromagnetic compatibility,
one 1200 960 280 uS$ 5 uS$ 120 Rohde & Schwarz
please send payments only in favour of EFY Enterprises Pvt Ltd

4 November 2016 | electroNics For You plus www.eFYmag.com


Feedback
Your suggestions

Thanks! damage easily in case of sudden


From electronicsforu.com
I have been a fan of EFY for the last power failure.
35 years. The magazine has grown
from strength to strength. I thank all
Electronics Projects B. Chatterjee
teams for their efforts. Your company In ‘Infrared Sensor Based Power Saver’ Kolkata
interfaces with subscribers, and acts circuit published in March issue, can we
with lightning speed. use 9V supply for PIR sensor as given EFY. You may refer to ‘Mini UPS
in the circuit, or do we have to use a
I have been a visitor to EFY System’ DIY circuit at http://
7805, 5V regulator for it?
exhibitions in Mumbai and have one electronicsforu.com/electronics-
swathi
suggestion. Once someone visits and EFY. 7805 regulator is not required projects/mini-ups-system
you have their details, you should for the PIR sensor because its power
pre-register that person and send supply range is 5V -20V. More arTicles
him/her the badge. I have been reading EFY magazine
I have never had any problems In ‘Door Opening Alarm Using Hall for the last three years. EFY plus
with EFY and my copies always Sensor’ circuit published in August edition being an upgraded version
arrive by Indian Post without fail. 2015 issue, MH183 hall sensor is used. should contain more advanced
Once, EFY Annual Edition was Where can I find it online? topics, tutorials, circuit designs and
given free to all pre-registered Joe calculations. Kindly add tutorials
EFY. Please check www.rhydolabz.
visitors in Mumbai and I received or projects related to the following
com/magnetic-rpm-c-137_149/hall-
a copy by mail also. Your team topics in upcoming issues, including
effect-sensormh183-unipolar-p-391.html
replied the day after I alerted it, and RTOS, VLSI, high-power convert-
thanked me. This puts a face behind ers, control-loop designs for con-
the organisation. Corrections verters, motors (analogue/digital)
and protocol implementations in
Frederick Fernandes In ‘Voice-Controlled Home Automation embedded systems.
Through email System’ published in October issue, collec-
tor and emitter pins of transistor T1 got
interchanged in the component layout of Ratish Ganve
EFY. Thanks a lot for such a strong the PCB. Power electronics design engineer
pat on our backs! It has made the Tata Power SED
Samiuddhin
day for our entire team—edit as well
as support. In ‘Face Recoginition Using Raspberry Pi’ EFY. Thanks for the feedback and
Thanks for the tip about the DIY article published in October issue, cir- suggestions! We will try to cover
cuit diagram on page 104, the servo signal
badge! We have started that process these topics in the forthcoming issues.
line is connected to GPIO16, whereas in
where we send a self-printable badge config.py code in line 8, lock_servo_pin
to our registrants, which they can = 18 (servo signal line) points to GPIO18, solar charger
print at home/office and bring along which is wrong. It should be GPIO16. Solar energy systems is a hot topic
to the venue. There, we make the Arnav Bansal these days, so I request you to pub-
lanyards available, in which they can lish such topics. Please publish a
put the pre-printed badges and walk In ‘Controlling A Robotic Car Through simple solar charger circuit.
MATLAB GUI’ circuit published in October
straight in—no queues. We shall be issue, enable pins (EN1 and EN2) should
doing that also at India Electronics be connected to 5V instead of 9V. Labh Singh
Week 2017 and Open Source India Manish S.T. Through email
2017—both in Bengaluru.
EFY. Thanks for pointing out the mistakes!
EFY. You may refer to ‘Hybrid Solar
UPs Power sUPPly Charger’ DIY circuit at http://elec-
I request you to publish UPS power a microprocessor for powering tronicsforu.com/electronics-projects/
supply circuits with and without Raspberry Pi. Its microSD card gets hybrid-solar-charger

6 november 2016 | electronics For You www.eFYmag.com


Ques. How does a dLP
Q&A
Things You WanTed To KnoW!

benefit, especially when the display an analogue representation of various


sPin coLours and wHat is powered by a battery. Some of the intensities of light collected by diodes.
are tHe advantages of illumination in an LED display makes Current passes through an analogue-to-
oLed LigHts? through pixels that are supposed to be digital converter; the digital value is in
totally black, hurting an LED display’s decimal form. A microchip translates
g.s. srikanth contrast. OLED displays are also thin- the undulating voltages into a series
ner and have a wider viewing angle. of numbers.
ans. As an image-projection technol- OLED displays have been integrat- Another microchip uses those
ogy, digital light processing (DLP) is a ed into tablets and smartphones such numbers to work with a decimal image
revelation. It projects brighter, sharper as Samsung Galaxy, because mobile of whatever the coupled-charge device
images and has all but replaced film devices have smaller displays, which captured with its thousands of ‘eyes.’
projectors in movie theatres. It works means these cost less to produce than Light-detecting chips built on the
by shining a light through a spinning OLED displays on desktop monitors. coupled-charge device and CMOS
wheel that has red, blue and green OLED displays are lightweight, model turn up in a variety of computer
filters. The wheel spins fast enough thin and flexible, and we can expect peripherals, from digital cameras to
so that each colour is produced 60 these to appear in places where other scanners, copiers and fax machines to
times per second. types of displays are impractical such biometric identification devices that
The light strikes a panel having as clothing. A t-shirt can change the can visually identify people through
up to 1.3 million microscopic mirrors pattern or colour of the shirt on a their fingerprints, retina scans and
on the surface of the DLP chip. The whim, and it would not be much more facial characteristics.
mirrors reflect the light through a trouble to have it display in a movie
lens to an ordinary projection screen. or commercial. Q3. couLd you PLease Pro-
Electrodes are connected directly to vide tHe Links or e-books
an array of video memory bits so that Q2. How do eLectronic on interfacing rasPberry
each electrode can represent a one devices caPture LigHt? Pi witH MatLab/siMuLink?
or zero.
A colour pixel is turned on when deepak negi Pamarthi kanakaraja
a bit is written to the video memory.
An electrical charge is sent to the a2. Computer scanners and digital a3. We can make use of MATLAB
bus and one of the electrodes. Mir- cameras, which can see, store and ma- to communicate with Raspberry Pi
rors, functioning as pixels that are nipulate words and images, are the end board and its peripheral devices using
turned on, tilt one way to reflect light product of a technological evolution Simulink support package for hardware.
towards a screen. Mirrors tilted in the that began with a single cell, a photo- It means that the software code will be
opposite direction reflect light to a cell, also called a photodiode, photo- generated from Simulink model, which
surface that absorbs it; these repre- voltaic cell or photo site. The cell is one will run on Raspberry Pi board. For such
sent pixels that are turned off. of the thousands, often millions, etched type of projects, you need to first set up
Finally, hues of colours are cre- into the surface of a chip of silicon. MATLAB support package and Simulink
ated by how often the source light The cell is made by joining two support package for Raspberry Pi. You
is turned on and off while the three pieces of silicon crystal; only rarely is a may refer following links or e-books:
filters pass in front of it. The colour single photodiode used by itself. More http://in.mathworks.com/help/sup-
wheel and RGB data are synched so often, the diode is one of many in a portpkg/raspberrypiio/?requestedDomai
that the amount of time a mirror takes component called a coupled-charge n=in.mathworks.com
to reflect any one of the three primary device. Electrical charges built up by https://cdn-learn.adafruit.com/
colours is in proportion to the amount the light striking the photodiodes are downloads/pdf/how-to-use-matlab-and-
of time that that colour in the mixture passed from one diode to the other, simulink-with-raspberry-pi.pdf
is perceived by the human eye. like a bucket brigade.
Answers compiled by EFY senior application engineer,
Regarding advantages of OLED Charges move from the coupled- Nidhi Kathuria. Letters and questions for publication
lights, unlike LCDs, OLED displays charge device through an amplifier that may be addressed to Editor, Electronics For You,
D-87/1, Okhla Industrial Area, Phase 1, New Delhi
require no backlight. This means that converts the charges into an electrical 110020 (e-mail: editsec@efy.in) and should include
these draw less power. This is a huge current of varying voltages that are name and address of the sender

8 november 2016 | electronics For You www.eFYmag.com


UsefUl Websites Do-It-Yourself

This month we have for you a few websites that would help you try your hands on
different types of do-it-yourself projects
Compiled by nira j sahay

instructables.com
Instructables was officially spun
fixya.com
out of Squid Labs in the summer This site has solutions for
of 2006, and has gone on to grow
doityourself.com nearly everything. In 2005, too,
from a modest hundreds of projects DoItYourself.com, founded in many product manufacturers
to over 100,000. The community 1995, is a leading independent were neglecting post-purchase
that now calls the site its home is home improvement and repair customer support. Frustrated by
an amazing mix of wonders from website. It is mainly divided the lack of practical post-purchase
around the world. Instructables is a into three sections: How-Tos, information, entrepreneur Yaniv
website specialising in user-created Forums and Did It Myself. Did Bensadon set out to build a
and uploaded do-it-yourself projects, It Myself section has projects community resource capable of
which other users can comment on on various topics and includes providing relevant and up-to-date
and rate for quality. a dedicated section called troubleshooting data. Today, FixYa
Electrical & Electronics. You may continues to empower individuals
www.instructables.com/tag/type-id/ freely link to this site, and use it to repair and improve upon their
category-technology/
for non-commercial use, subject already-purchased possessions.
to terms and conditions of use. From fixing cars to cameras and
Today DoItYourself averages iPhones, FixYans are part of a
over five million unique do-it-yourself revolution that helps
visitors per month. empower techies, tinkerers and
hobbyists across the globe.
www.doityourself.com/did-it-myself/
electrical-and-electronics www.fixya.com

The site helps you with plans, tools


diy-electronic-projects.com builditsolar.com and information to help you build
The website has a good renewable energy and conservation
collection of do-it-yourself projects. The site has reference to
electronics projects. You can hundreds of projects, from changing
find many electronics projects a light bulb to building a solar home.
on this website, sorted in The best part is that the website
several categories. The site as does not have any thing for sale.
approximately 300+ projects to builditsolar.com also features a list of
try your hands on. renewable energy discussion forums,
www.builditsolar.com
where you can discuss your project-
www.diy-electronic-projects.com/ related issues.

10 november 2016 | electronics For You www.eFYmag.com


Tech News Technology UpdaTes

China starts operation on world’s largest


single-dish radio telescope
China has finalised the world’s biggest
radio telescope, whose 503m (1650-feet)-
wide dish will scan the heavens for signs
of intelligent alien life, among other tasks.
With a dish the size of 30 football
fields, Five-hundred-meter Aperture
Spherical radio Telescope (FAST) is by
far the largest single-aperture telescope
in the world (though arrays that link up
multiple radio dishes cover more ground).
The previous record holder in the field
is the 300m (1000-feet)-wide Arecibo
Observatory in Puerto Rico.
FAST was built in China’s Guizhou
Province, more than 2000 kilometres
southwest of Beijing. The US$180-million
facility should help scientists learn more
about the Universe’s early days, detect
low-frequency gravitational waves and
FAST will explore the Universe at radio frequencies, detecting emission from hydrogen gas in
the Milky Way and other distant galaxies, finding faint galactic and extragalactic pulsars, and hunt for signals that may have been
searching for potential radio signals from extraterrestrials (Image courtesy: http://fast.bao.ac.cn) produced by distant alien civilisations.

Computer that can solve problems traditional computers cannot


Processing power of standard computers is likely to reach idea is that it opens up a sub-field of research in the area of
its maximum in the next 10 to 25 years. Even at this maxi- non-traditional computing machines.”
mum power, traditional computers would not be able to
handle a particular class of problems that involve combin-
ing variables to come up with many possible answers,
and looking for the best solution. Combining optical and
electronic technology, Stanford researchers have made a
new type of computer that can solve problems that are a
challenge for traditional computers.
This new type of computer, which blends optical and
electrical processing, could get around this impending
processing constraint and solve those problems. If it can
be scaled up, this non-traditional computer could save
costs by finding more optimal solutions to problems that
have an incredibly high number of possible solutions.
Peter McMahon, post-doctoral scholar in applied
Post-doctoral scholar Peter McMahon (left) and visiting researcher Alireza
physics and co-author of the paper, says, “This is a Marandi (right) examine a prototype of the new type of light based computer
machine that is in a sense the first in its class, and the (Image courtesy: http://news.stanford.edu)

12 november 2016 | electronics For You www.eFYmag.com


Tech News

Ultra-low power transistors that could


function for years without a battery
A newly-developed form of transistor opens up a range of
new electronic applications including wearable or implant-
able devices by drastically reducing the amount of power
used. Devices based on this type of ultra-low power tran-
sistor, developed by engineers at University of Cambridge,
could function for months or even years without a battery,
by scavenging energy from its environment.
Using a principle similar to a computer in sleep mode,
this new transistor harnesses a tiny leakage of electrical
current, known as a near-off-state current, for its operations.
This leak, like water dripping from a faulty tap, is a
characteristic of all transistors. But this is the first time
that it has been effectively captured and used functionally.
The results open up new avenues for system design for the
Internet of Things, in which most things we interact with
every day are connected to the Internet.

Tiny robots roam around the body


Researchers from Massachusetts Institute of Technology
and Stanford University have developed miniature wearable
robots, Rovables, that can crawl down and around unmodi-
fied garments; you do not need to wear any special garment
to make these crawl on you.

Rovables come with low-power localisation systems that allow these to move
autonomously (Image courtesy: http://rb.ru)

With the help of magnetic gripping wheels on either


side of clothing, Rovables can scale garments. Sensors and
artificial intelligence help these to be partially autonomous.
A little bigger than a ring box, these tiny wearable robots
can house wireless communications, microcontrollers and a
battery that can stay charged for 45 minutes at full capacity
before needing to be charged again. However, researchers
say that battery life should extend for much longer if the
robots are not moving all the time.
These robots can be quite useful. For example, when
there is a new email, these can tap on your body, or roll up
your sleeve if your body temperature increases. Also, these
can form a light on your back during an evening bike ride
or assemble on your arm to create a display and play video.

14 november 2016 | electronics For You www.eFYmag.com


3D-printed acoustic holograms
move objects in midair
A team from Max Planck Institute for Intelligent Systems,
Germany, has described a new way of easily creating very
high-resolution acoustic holograms that work in air or
water. Rather than relying on a whole bunch of small trans-
ducers, these use just one giant transducer that sits under-
neath a special 3D-printed transmission hologram made out
of finely-contoured
plastic. The single
transducer emits one
type of sound wave,
which means that
you cannot use it to
create a sound field
that will do all that
much for you.
3D-printed plastic blocks can now be turned
The trick is to
into acoustic holograms that generate 3D use a 3D-printed
shapes made of sound, which could function piece of plastic. The
like sonic tractor beams (Image courtesy:
https://1news.in) block is attached to
the transducer, and
when it transduces, the sound wave has to propagate through
the block before it is emitted into Space. Since sound moves
slower through the block than it does through air or water,
by carefully printing the top of the block in a very specific
pattern to vary its thickness, you get the same effect as using
a transducer array made up of individual transducers that are
each as small as the resolution of your 3D printer. This allows
creation of acoustic holograms that are about 100 times as
detailed as anyone has been able to make before.

Advanced imaging technique for


cancer detection
Researchers from University of Cambridge are developing a
new imaging technique with the aim of detecting and char-
acterising early cancerous changes in the gastrointestinal
tract. The technique involves using a standard endoscopy
system with a novel set of camera filters, increasing the
number of colours that can be visualised during endoscopy,
and potentially improving the ability to detect abnormal
cells in the lining of the gut.
Dr Sarah Bohndiek from University of Cambridge,
UK, who is leading the development, explains the new
technique as, “In traditional endoscopy, we use white
light and detectors that replicate our eyes, which detect
light in red, green and blue colour channels. We are now
developing an approach called hyperspectral imaging,
which will increase the number of colour channels that can
be visualised from three to over 50.”

www.eFYmag.com electronics For You | november 2016 15


Tech News

“Since cell changes associated with the development tion of For and ORPHEUS (a bard in Greek mythology as
of cancer lead to colour changes in tissues, we believe a symbol of human creativity), representing OMRON’s at-
that hyperspectral imaging could help us to improve the titude of bringing out human creativity and possibility.
specificity of lesion identification because we can use these Robot FORPHEUS aims to improve your table tennis
colours to identify abnormal tissues,” adds Dr Bohndiek. skills while having fun at the same time by keeping a rally
going. In addition to the conventional function to control
Bendable battery to power future returning the ball according to the trajectory and strength of
the ball, the third-generation FORPHEUS is equipped with
wearable devices, smartphones new amazing technologies where you and machines grow
Panasonic is developing a new bendable lithium-ion battery together by using artificial intelligence (AI) technologies.
that can flex and twist to power wearable devices and one FORPHEUS can learn about characteristics of your
day be used to develop a flexible smartphone. Although it actions and the trajectory of the ball and keep a rally going,
is still in the early stages of development, the battery has which guides you to make more progress. Further, the
already been tested to withstand twists, bends and other degree of harmony between you and the machine has been
deformations while maintaining its ability to hold a charge. made visible through the rally.
In contrast, a regular
lithium-ion battery,
commonly used in
Levitating turntable that can play
smartphones and other records in the air
gadgets, can degrade A Kickstarter campaign has been launched to bring the first
when it is deformed, thus levitating turntable into production, the Vinyl Factory notes.
shortening the device’s Mag-Lev Audio, a Slovenian company, is hoping to raise US$
operating time. 300,000 to manufacture the machines, which are designed
The bendable battery is just 0.55mm
(0.02-inch) thick, and was able to Panasonic’s bendable for people who appreciate high quality sound and innova-
withstand being bent so that the curve of battery uses a newly- tive design.
the battery has a radius of 25mm, and
being twisted up to 25 degrees in tests developed laminated The turntables will use a magnetic platter to suspend
(Image courtesy: www.yahoo.com/tech) outer body and internal the vinyl record during playback. By pushing the frontier
structure that the company
says makes it difficult for the battery to leak or over-heat.
With this new casing and internal wiring, the battery is safer
and more reliable for wearable tech devices.

AI robot teaches humans ping pong


The name FORPHEUS comes from Future Omron Robot-
ics technology for Exploring Possibility of Harmonized
aUtomation with Sinic theoretics. A coined term embodying
OMRON’s robot technologies based on its unique future The turntable includes a cueing mechanism, speed select button, platter
feet and a pre-fitted cartridge and tonearm that lifts at the end of the record
prediction theory—SINIC theoretics. It is also a combina- (Image courtesy: www.kickstarter.com)

of audio technology, the makers were able to integrate the


uplifting experience of music into the turntable design itself,
bringing the feeling of zero gravity into the living room.
As for making that vinyl float, the Kickstarter page says,
“By using our innovative and patented technology, we were
able to achieve not only magnetic levitation, but we have
also been able to maintain the incredibly precise turning
of the platter with sensor regulating software. Air is the
smoothest medium with the least amount of friction, which
further elevates this project into a truly unique listening
FORPHEUS was recently named the world’s first robot table tennis tutor by experience.” The design also includes feet to support
Guinness World Records. It’s now been updated in order to return balls with the platter in off mode, and a safety system in case of
greater accuracy using artificial intelligence (Image courtesy: https://uk.news.
yahoo.com) unexpected power outage.

16 november 2016 | electronics For You www.eFYmag.com


design

Implementing High-Security
Remote ContRol SyStemS

I
n remote-control operated sys- application. For example, controlling
tems, security is always a concern. a light source or a fan does not really
The system must be designed to require encryption. But, when the system
prevent unauthorised access. Special is designed to allow (or not) access to a
software and encryption are used to valuable property, then there is the need
prevent eavesdropping. This is why to add a certain security level. However,
such systems are using encrypted com- this does not come for free.
munication. In a perfect scenario, only
the authorised receiving party is able Authentication versus privacy
Cristian Toma is
senior applications to decode and process the information. There is a wide range of encryption al-
engineer, MCU08 With an adequate level of encryption, gorithms that can be used. The choice is
Division, Microchip
Technology Inc. such criteria are generally met. Still, more system-specific. In general, there is a
there is the possibility of copying and split between authentication and security.
re-transmitting a valid data transmis- Authentication is used more when the en-
sion. Today, different methods are used crypted data does not carry any specific in-
to prevent this. However, none of these formation by itself such as commands and
are perfect. messages. It is used more to authenticate
This article describes the implemen- a device. A good example is a manufac-
tation of a highly-secure remote control turer choosing to authenticate replacement
system that makes the capture and reply parts, upon installation. The system first
attack useless. The data packet sent over authenticates these, and only if found valid
the air contains time-synchronisation in- does it start normal operation. Typically,
formation, which is valid only for a very such devices include printer cartridges,
narrow time frame. Any further capture toothbrush heads, mobile phone batteries
and reply attack is simply useless. Even or even electronic modules.
though a captured-and-replied message, Algorithms to secure your message.
in essence, contains (almost) correct in- These devices normally use hash algo-
formation, the message is discarded since rithms such as Secure Hash Algorithm-2
it has lost its valid time frame. The fol- (SHA-2) cryptographic hash functions.
lowing paragraphs describe the proposed These functions calculate a key from a
solution and the technical challenges longer message. For example, MD5 check-
faced while designing such a system. sum is used when downloading large files
The end application rules. General from the Internet. MD5 message digest
remote-control designs come in various algorithm will read the entire file and
implementations and security levels. Of then generate a key. This computed hash
course, in general, the price also increas- value is later used to verify the integrity
es along with the security level. How- (or authenticity) of the downloaded file,
ever, with smart firmware and by taking without providing any means to recover
advantage of the ever-increasing number the original data. In other words, simply
of peripherals a modern microcontroller having the key does not mean you can
has onboard, designing a remote-con- backwards generate the original data from
trolled system with very strong security which the key was generated. In general,
is more cost-effective, today. in these kinds of applications, authentica-
In general, the remote-control level tion is for securing business rather than
of security is tied directly with the end providing privacy.

www.efymag.com electronics for you | november 2016 17


design
A system that uses privacy ing your system and methods to level. This poses some special
will use encryption algorithms secure these. design challenges.
like Extended Tiny Encryption Brute force attack. The brute
Algorithm (XTEA) or Advanced force attack is a very basic crypta- A time-keeping source
Encryption Standard (AES). These nalytic attack that involves using To overcome some of today’s major
are industry-standard encryption all possible combinations until the security threats, we propose a
algorithms that are being used in a correct one is reached. Of course, system that features the concept of
wide variety of electronic devices this is more a theoretical approach limited time valid data packet. In
and are being considered secure rather than a real implementation, other words, every data packet that
enough for a large number of ap- and depending on the number of the transmitter/encoder is sending
plications. These algorithms can possible combinations, it can take over the air has time-limited valid-
be implemented either in hardware a long time to complete. With ity. Even though, in essence, the
or in software. There are different modern encryption techniques, data packet itself is perfectly valid
opinions (even among specialists) such an attack would take many in terms of proper encryption and
regarding which implementation, years to complete. data contained, it is valid only for a
whether hardware or software, is Capture and replay. This at- very limited time period. A cap-
the more secure one. tack is one in which valid data ture-and-reply attack would have
is fraudulently captured and very little success in attacking such
Adding higher encryption re-transmitted. There are several a system. This is because such an
adds to cost countermeasures to avoid such at- attack involves capturing a data
In general, a stronger security level tacks. One such measure is using packet and then re-transmitting it
will result in an increase in the session tokens. These tokens are at a later time; but the data packet
overall cost of the system. Both used as a part of the encryption is only valid for the time frame for
hardware and software implemen- system. Each token is valid only which it was transmitted.
tation will have an impact. Even for a particular session; the token To implement this, each data
a complete software implementa- (and the transmissions derived packet needs to include a time-
tion will add additional cost; this from that token) cannot be used stamp. Thus, the transmitter needs
is because the firmware also needs in another session. One-time pass- to have a time-keeping source.
to occupy more memory. The more words are very similar to session The easiest way to achieve this
memory is required, the bigger is tokens except that these are used is by using a crystal oscillator.
the additional cost. to authenticate individual transac- (A 32.768kHz crystal is a good
As mentioned earlier, some tions in a session. However, these choice.) Today’s microcontrollers
implementations use a hardware are difficult to be implemented in feature crystal-driven time-keeping
encryption module, while others use one-way systems. peripherals that can work even in
software implementations. But es- Check the integrity of your low-power states. Thus, the proces-
sentially, both implementations add data. The message authentication sor can keep track of time even
additional cost. Software implemen- code is a short piece of informa- in sleep mode. Any other time-
tations have bigger requirements on tion added to a data transaction keeping method can be used as
both program and data memory. On and used to authenticate a mes- well, provided that it features good
the other hand, hardware imple- sage to provide data integrity. Data stability over time and temperature.
mentation has bigger requirements integrity assures the detection of At the other end. On the de-
in terms of the size of the silicon accidental and intentional mes- coder side, a similar time-keeping
die. There are pros and cons to sage changes, while authenticity mechanism is used (if not the
both sides. The choice is up to the assures the message’s origin. This same). The first time an encoder
system designer. does not provide the privacy as- is paired with a decoder, the latter
But even if the designer is us- pect but more the authentication. stores information such as the se-
ing a very high level of security, Note the time. Time-stamping rial number and its timer value. It
this does not lock out attacks like is another way of preventing then stores a delta time value that
capture-and-replay or jamming and a capture-and-replay attack. represents the time difference be-
selectively replaying information. It involves sending periodic tween the encoder and the decoder
time-stamped messages. At the onboard timers. At this time, the
Typical security threats receiver end, the time-stamp is encoder is synchronised with the
This section introduces you to some compared to a local estimated decoder. At a later time, when a
of the modern threats to secur- one within a reasonable tolerance transmission from the encoder is

18 november 2016 | electronics for you www.efymag.com


design
being received, the decoder evalu- some frequency differences. Re-synchronisation
ates the time value that it expects Discrepancies in frequency. Since the system relies on the fact
(based on the decoder’s timer First, there is the initial crystal preci- that the timers on both ends are
and from the encoder’s last-saved sion. This is specified by the crystal in constant synchronisation, it is
time-stamp) with the time-stamp manufacturer and it is typically in very important that the timer’s
from the encoder. If the two values the range of 5ppm to 40ppm (parts operation is not interrupted. There
match, the decoder takes appropri- per million). The initial crystal are cases when synchronisation
ate action (that is, opens a door). precision is due to the manufactur- can be lost due to power failure
However, the receiver/decoder ing process. The crystal frequency (like a mains grid incident or
side needs to support not just cannot exactly be the specified battery replacement).
one but many more such encod- value, but a very close one. This is On the encoder side, this will
ers. So it needs to have different specific and constant over time for typically happen when the battery
time values for all encoders paired every crystal. gets exhausted and needs replace-
with the decoder. Obviously, the ment. This can be easily resolved
decoder cannot implement many by manually re-synchronising the
such timers. encoder. On the decoder side, a loss
The solution is to use a single of power is more serious, especially
timer on the decoder side and use since the decoder needs to keep
time delta values for each en- track of multiple encoders.
coder. These time delta values for Re-learning all encoders is feasi-
each encoder need to be saved in ble only when there is a relatively-
non-volatile memory. When a data low number of encoders. If the sys-
packet arrives from the encoder, MCS3142 high-security encoder from Microchip
tem has more than a few encoders,
the decoder would read the saved Technology manually synchronising all encoders
time delta value for that particu- is not a good option. In such cases,
lar encoder and use its current Second, crystals are sensitive it is recommended that the decoder
timer value to estimate the timer to temperature. The oscillating has a time-keeping back-up circuit
value sent by the encoder. The frequency is specified at 25°C. such as a real-time clock circuit with
decoder would, again, compare Between -20°C and 50°C, frequency a battery backup.
the two time values and if these can vary up to an additional 20ppm.
match (or there are acceptable Third, we must also take into Conclusion
small differences), it would take consideration crystal aging. This is Proper implementation can offer
appropriate action. less important, since it happens over a very high security level. System
a very large period of time. Taking attacks like capture-and-reply and
Synchronisation into account all the above tolerances radio frequency jamming become
The whole synchronisation mecha- will mean that timers on both the basically useless.
nism is built around free-running encoder and the decoder will never Another important advantage is
timers, both on the encoder and be in perfect synchronisation, except that such an encoder can be used
the decoder sides. Ideally, these at first pairing. The decoder will not with multiple decoders. This is be-
timers run synchronously and are be able to calculate an exact match cause the decoder only verifies time
in constant synchronisation. How- of the encoder’s real-time value. It synchronisation and the authentic-
ever, all time-keeping devices have will only be able to calculate an ap- ity of the encoder. Overall, this is
limited stability and precision. De- proximate value. a high-security and cost-effective
vices that feature high stability and The decoder can still be synchro- security solution.
precision can be very expensive. nised with all encoders by using an From the user standpoint, the so-
So choosing the right time-keeping acceptance window. For example, lution introduces no difference and
mechanism is more a design trade- once synchronised, timer error be- allows for ease of use. This technol-
off. A typical implementation will tween the encoder and the decoder ogy can easily be used in conjunc-
use the same time-keeping circuit will be at minimum. As time passes, tion with an authentication scheme
on both encoder and decoder time drift between the encoder and so it can also provide a good level of
sides. A cost-effective solution the decoder will increase. It is then OEM protection.
can be using a crystal oscillator. up to the decoder to decide the max-
However, even if the same crystal imum time difference for a packet to The technique described in this paper is
is used at both ends, there will be be accepted as a valid packet. patented by Microchip Technology Inc.

20 november 2016 | electronics for you www.efymag.com


tech focus

Biotech:

The healing effecT:


Generating Human Spares
W
ar veterans return home with all to the support system in a traditional
kinds of injuries—some physical, 3D printer.
others psychological. A missing In addition to outputting cells, most
limb, an ear blown off, scars of wars can be bio-printers also output a dissolvable gel
seen all over. Advances in technology that to support and protect the cells during
could fill out missing pieces sound good, do printing. Organovo’s bio-printing process
they not? centres around identification of architec-
Researchers at Wake Forest Institute for tural and compositional elements of a
Regenerative Medicine at Wake Forest Bap- target tissue, and creation of a design that
Saurabh Durgapal
is working as tist Medical Center, USA, have custom-de- can be utilised by a bio-printer to generate
technology signed a 3D printer and successfully printed that tissue in the laboratory environment.
journalist at EFY
ear, bone and muscle structures to take care Once a tissue design is established, the
of just that. The developed structures have first step is to develop the bioprocess pro-
been implanted in animals and matured into tocols required to generate multi-cellular
functional tissue, apart from developing a building blocks from cells that would be
system of blood vessels. Probably the future used to build the target tissue.
does hold an all-perfect world. Let us take a According to Organovo, the bio-print-
look at how they do it. ing process can be tailored to produce tis-
sues in a variety of formats. Ranging from
Printing body parts micro-scale tissues contained in standard
In a typical plastic modelling 3D printer, multi-well tissue culture plates to larger
basics would involve melting down the structures suitable for placement onto bio-
material and shaping it back in the form reactors for biomechanical conditioning.
of the required design. However, biological Complex organs are difficult to print.
tissue would not be suited to a similar setup “The simplest organ is skin, which is a flat
and could be easily destroyed. Additionally, structure. As organs move up the ladder of
a support system would be required in place complexity, from tubular structures such
for the biomaterial to hold onto—similar as blood vessels, hollow organs like the
bladder and stomach, and solid organs like
Fig. 1: A bio-printer the kidney and liver, these require multiple
in action
cell types and more oxygen because these
are dense with cells. Being able to meet
the oxygen requirements of solid organs
is a major challenge,” explained the bio-
printing team at Wake Forest Institute for
Regenerative Medicine.

Materials involved in casting


Scaffold materials involved in design-
ing have to be biocompatible, of suitable
strength and have shaping characteristics.
The materials being used currently are
selected either due to their compatibility
with cell growth and function or due to
their cross-linking or extrusion charac-

www.efymag.com electronics for you | november 2016 21


tech focus
teristics. Fibrin hydrogel materi-
als and alginate-like polymers are
mostly being used in printing. Other
naturally-derived polymers include
gelatin, collagen, fibrin, chitosan and
hyaluronic acid.
Some synthetic polymers include
polyethylene glycol, polycaprolactone,
polylactic acid, polyglycolic acid and
poly (lactic-co-glycolic) acid. A 3D Fig. 2: Bio-printing, CAD process at POSTECH
extracellular matrix helps in preserv-
ing the native tissue architecture. with clean environment. It works by (CAD) and manufacturing system
The machine that prints hu- depositing the hydrogel that contains for multiple-head 3D printing, and
mans. The typical system, known as cells, along with the scaffold material. have printed heterogeneous tissue
integrated tissue and organ printing The challenge here is to ensure models using two kinds of cell-
system (ITOP), was developed into the life of the tissue structure is long laden hydrogel.
the current 3D bio-printer we have enough for successful integration CATIA V5, a 3D CAD design
today over a period of ten years. The with the human body. This issue is software from Dassault Systemes,
technology used in the development of addressed by a lattice structure of is being used by researchers at
bio-printers is another interesting one. micro-channels that allow nutrients POSTECH in their design process.
The idea to heal the most difficult of and oxygen from the body to pass A paper published by Jin Woo Jung
wounds came from inkjet printers. into the graft until the tissue regener- and Jung-Seob Lee, researchers at
Experts from Wake Forest Insti- ates its own blood vessels. Department of Mechanical Engineer-
tute explain the schematics of the ing, POSTECH, explained the use of
machine. Multiple cartridges are Growth in systems CATIA V5 for designing the exterior
used to deliver and pattern multiple Dispensing based 3D printing has structure of heterogeneous tissues.
cell-laden composite hydrogels, sup- been suggested for direct 3D cell The resulting models had two main
porting thermoplastic polymer and a printing of cell-laden hydrogel con- tissue parts, plus a support part.
sacrificial removable hydrogel. End structs with a larger volume. Al- 3D free-form structures are
of each cartridge is connected to a though this system generally has low printed via vertical stacking of 2D
micro-scale nozzle, and the top is resolution for making a cell pattern, patterns generated from cross-sec-
connected to an air-pressure con- dispensing of hydrogel solution with tions of the designed 3D model. The
troller for precisely controlling the a high flow rate allows more rapid slicing algorithm involves calculat-
dispensing volume. printing of 3D cell-laden hydrogel ing contours of the cross-sections
A heating unit ensures that the constructs. Major developments in of successive planes. Printing path
melted polymer remains easily the ITOP system have been related to for the frame is defined based on
dispensable. A three-axis motorised nozzles and dispensing modules that cross-section contours of the two
stage system enables 3D patterning can print at a higher resolution. cell-laden hydrogel parts.
of multiple cells and bio-absorbable Researchers at Pohang Univer- Scaffold-free printing is here.
materials. sity of Science and Technology Scaffold-free printing is another
The system resides in a humidified (POSTECH) in South Korea have area that is catching up in recent
and temperature-controlled enclosure reported a computer aided design years. Dr Gabor Forgacs, founder
of Organovo and Modern Meadow,
The printing process with his academic partners, lever-
Once you have the required dimensions in order, a virtual frame for the organ is generated in a aged the understanding of mamma-
CAD program. The CAD design is then loaded to the bio-printer head pin, filled with hydrogel to lian cells, to come up with another
generate the organ structure. Then, stem cells come into the picture, depending on the organ. interesting system. They were able
Printing is done layer by layer. First, a layer of hydrogel is printed as a frame, followed by to demonstrate directed assembly
differentiated stem cells. Printing is done from the inside out, to leave cavities of a thickness
of 3D tissues without depend-
ten times lower than human hair.
Blood runs through these cavities bringing organs to life. The process of printing an organ ency on integrated scaffolding or
can be segmented and can take up to ten hours for a right knee cartilage and up to 48 hours biomaterial components.
for an oesophagus. Similar results have been pub-
Printed parts are then kept in a bioreactor where these are fed and cultivated to help their lished in a paper on scaffold-free
cells replicate in dozens of millions.
tubular tissues created by a bio-3D

22 november 2016 | electronics for you www.efymag.com


tech focus

Real-time damage control


Researchers at Wake Forest Institute for Regenerative Medicine are using modified inkjet
technology to build a variety of tissue and organ prototypes. This technology allows multiple
cell types and other tissue components to be arranged in predetermined locations with high
precision. In an early form of the technology, various cell types were placed in the wells of an
actual ink cartridge and a printer was programmed to arrange the cells in a predetermined order.
At present they are using an adapted version of inkjet printing technology to enable on-site
printing of skin for soldiers with life-threatening burns. In this proposed technology, skin cells
would be placed directly into a print cartridge, along with essential materials to support them,
and would be printed directly on the soldier’s wound at the site of the wound.
Researchers used 3D scans of test injuries inflicted on some mice and used this data to
control a bio-print head to spray skin cells, a coagulant and collagen onto the wounds. The
wound showed significantly healing over time.

Injection syringe
Z

HCE cells X
Temperature-controlling system
Y

Gelatin/alginate
Moving system

Collagen Controlling
system

3D model Forming
environment
Microstructure
Refrigeration after crosslinking Printing structure
Computer function

Fig. 3: Bio-printing process

printer, co-authored by K. Nakay- curing bio-ink and 3D-scanning


ama, co-founder Cyfuse Biomedi- technology to detect a wound region
cal. Cyfuse Biomedical K.K. is a would be a good place to start
Japanese corporation involved in though. Additionally, with features to
development, manufacturing and reverse-engineer medical images to
sale of 3D bio-printers. CAD models, we could very well see
some advances in in-situ printing.
There is always room The eventual long-term goal
for development for bio-printing is to produce full
Printing a tissue, at present, takes organs. At present an average-sized
about two months. Much of the six lever takes days to manufacture.
to eight weeks required to develop This is a very slow rate when we
a tissue or organ is dedicated to look at the number of people on the
expanding the patient’s cells in the transplant list.
laboratory. Only a small percentage How does healing wounds in
of the time is required for the print- real-time sound? Imagine going to
ing process. So a method to speed sleep with a battered body but wak-
up this process would be to print ing up physically healed. Sounds
these directly into the human body. like something straight out of Star
However, there is still some time Trek, does it not? A bit far-fetched,
before we reach that stage. Rapid- may be?

24 november 2016 | electronics for you www.efymag.com


biotech

Augmented ReAlity:
Revolutionising Medical Applications
V
irtual reality (VR) and
augmented reality (AR)
are regarded as highly-
complex combinations in the area
of computer science, VR hardware
and artistic vision. AR is regarded
as a variation of virtual environ-
ments or VR. It is regarded as
live direct or indirect view of the
Anand Nayyar is
assistant professor physical, real-world environment
in Department of whose elements are augmented
Computer Applications
& IT, KCL Institute by computer-generated sensory
of Management and inputs such as sound, video,
Technology, Jalandhar,
Punjab. He has graphics or GPS data. Fig. 1: Surgeons performing keyhole surgery using a head-mounted
chaired many national By contrast, VR replaces display
and international
conferences, and has the real world with a simulated
published more than one. With the aid of AR like addition of the last 50 years and has brought today’s
250 research papers.
He is life member of computer vision and object recognition, technology to modern landscape technol-
CSI-India, and senior information about the surrounding world ogy. It can be seen in various applica-
member of ACM
becomes more interactive and can be ma- tions in military, industrial, commercial,
nipulated digitally. entertainment and many more. But AR in
Some researchers define AR as a medical technology is growing by leaps
technology that requires the use of head- and bounds, and has revolutionised medi-
mounted displays (HMDs). Any system cal and healthcare industry by significant
can be regarded an AR system, provided it improvements and innovations. This is
has the following three features: not only making patients’ life safer but
1. It combines real and virtual environ- also making doctors more efficient in
ments. early detection of various diseases. It is
2. The system is highly interactive making medical treatment more efficient
Vikram Puri is while operating in real time. and accurate.
member (ACM), 3. It is used in a 3D environment. Let us discuss the various AR tech-
theIRED, International
Association of The main aim of AR is to simplify your nologies revolutionising the medical and
Engineers. He is life by combining virtual information to healthcare industry.
interested in embedded
systems, real-time immediate surroundings with an indirect Keyhole surgery. With the use of AR,
systems, robotics, view of the real-view environment such as various computer scientists have devel-
microcontrollers and
programming in C/C++ live video streaming. It plays a crucial role oped a highly-efficient computer-aided
in enhancing your perceptions and interac- visualisation and navigation system
tions with the real world. for taking care of patients. Using this
Gene Becker of Lightning Laboratories technology, a surgeon can wear an HMD
defines AR as a technology, an area of before starting an operation. With the aid
research, a vision of future computing, an of a screen and display, the surgeon can
emerging commercial industry and a new look inside the patient’s body, layer by
medium for creative expression. layer, looking through skins, muscles and
even bones. This technology can assist
AR in medical applications the surgeon to be more efficient while
AR has continued to develop every day in operating via the HMD, as the surgeon

www.efymag.com electronics for you | november 2016 25


biotech
patient’s presentation with unprec-
Emergence of augmented reality
edented visual fidelity.
The last 50 years have seen tremendous developments and advancements in the area of The software builds complex
AR, both in terms of technologies as well as applications. cases in minutes using its powerful
1962: Morton Heilig, a cinematographer designs a motorcycle simulator called
visual case building system, drags
Sensorama
1968: Ivan Sutherland creates AR system called The Sword of Damocles and drops events onto the field,
1975: Myron Krueger created Videoplace, the original pioneer of VR and interactive determines the environment, sets
art called AR System up patient data, uses SimX’s power-
1992: Tom Caudell and David Mizell of Boeing’s Computer Services Adaptive Neural ful case-monitoring and feedback
Systems Research and Development Project coin the term Augmented Reality system to see the case from each
1994: Julie Martin creates the first AR theatre production called Dancing in trainee’s perspective, and adjusts
Cyberspace
case parameters on-the-fly.
2001: Reitmayr and Schmalstieg create a mobile, multi-user AR system
2004: Mathias Mohring develops the first system for tracking 3D markers on mobile Technology of medical simula-
phones tion continues to rapidly evolve
2006: Nokia initiates Mobile Augmented Reality Applications (MARA) project with a new announcement from
2008: Mobilizy launches Wikitude World Browser with AR immersive wearable headset manu-
2009: ARToolkit brings AR to Web browsers facturer Meta that says, their new
2013: Volkswagen MARTA app provides detailed information for service technicians. Meta 1 AR glasses have started
Audi AR app uses iPhone camera to provide vehicle features to end users
being used in hospitals.
2016: Various VR and AR headsets are launched till date by IT and electronics tech
giants like Samsung, LG, HTC, Microsoft and Facebook Key features of Meta 1 AR de-
vice are:
True-scale holograms. Allows
can see exactly where the medical young, old, vomiting, missing limbs, you to see the physical and holo-
instruments are going—just like bleeding or expressing any number graphic worlds merge through 3D
having X-ray vision. The system of physical signs or symptoms, SimX stereoscopic display in real size,
shows a 3D picture of the patient’s software allows for reproduction of depth and parallax
inner body. Marker-less surface
EyeDecide AR app. This app is tracking. Lets you look
created by OrcaMD, and it provides around the room and
patient-engagement tools for health- watch as holographs stay
care providers. Using EyeDecide, de- anchored to physical
velopers use the camera to simulate tables, floors and walls,
the vision of a patient affected by a thanks to low-latency,
certain condition. Basic features of 360º tracking
this app are as follows: Natural user interface.
1. Leverage interactive ana- Allows you to grab, pinch
tomical models to enhance patient and touch 3D objects in
understanding the real world, and drive
2. Effectively educate patients a touch based holograph-
by comparing normal and abnormal ic user interface
images and using 3D animation vid- Fig. 2: EyeDecide AR app With SimX on Meta
eos of most common conditions 1, you can practice us-
3. Improve patient and surgical ing real instruments on
retention by helping patients make virtual patients of any
more informed decisions about gender, age or having
the care any medical issue. You
SimX. This is regarded as the can simulate with live
professional-grade AR medical action and in real time.
simulation software that replaces This could include any
physical simulation with a custom- clinical situation such
isable, high-definition, 3D virtual as birth, heart attack or
patient that can be projected onto stroke.
any empty hospital bed. Whether AccuVein. Accu-
the patient is obese, pregnant, Fig. 3: SimX offers AR medical simulations through Meta 1 AR device Vein digitally maps and

26 november 2016 | electronics for you www.efymag.com


Rechargeable battery. The
device does not need to be
plugged into an electrical
outlet.
Movement tolerant. Be-
cause the device shows veins
Fig. 4: AccuVein device in real time, when operated
properly, it can accommo-
date resident movement.
AccuVein is a break-
through medical imaging
device that is quickly becom-
ing an indispensable tool for
all healthcare professionals
who perform venepuncture
procedures. Small and port-
able, AccuVein allows them
to quickly find a patient’s
vein without undue hassle or
trauma to the patient. This
Fig. 5: Medical care using Google Glass platform can be particularly helpful
for those patients who have
displays the vasculature on the difficult venous access.
surface of the patient’s skin in real AR based patient care. AR
time, allowing doctors to verify is laying a deep foundation for
vein patency and avoid valves or surgeons to have proper patient
bifurcations. AccuVein is a hand- care by getting the right informa-
held scanner that projects over the tion at the right time and place
skin and shows various veins and for effective care. In Boston
their valves in the patient’s bodies, (USA), physicians at Beth Israel
which cannot be projected in case Deaconess Medical Center have
of cosmetic procedures. made use of secured Google Glass
Features of vein illumination to overlay helpful clinical data to
with AccuVein device are: examine patients. The goggles are
Easy to learn and use. No pre- triggered by a QR code outside
use calibration or adjustments are the patient’s room and can pull in
necessary; it can be used immedi- electronic health record informa-
ately. tion ranging from nurses’ notes to
Small size. The device fits lab results.
in your hand and weighs only European app maker Droiders
283.5gm (10-ounces). wants to bring AR into operat-
Hands-free option. In situa- ing rooms with Google Glass
tions that require hands-free use, platform called MedicAR. Us-
the device can be placed in a ing this, surgeons could direct
wheeled hands-free accessory or their goggles at a target on their
one that quickly attaches to a chair patient—typically a small tempo-
or bedrail. rary tattoo—and view a real-time
No patient contact. Because the AR display on their screens.
device has been designed to be To their eyes, they would see
non-contact, it may not have to be the procedure illustrated step-
sterilised after every use. by-step with CT/MRI images,
Works in light or dark. You can notes and diagnostic information
use the device in light or darkly-lit perfectly superimposed over the
environments. patient’s skin.

www.efymag.com electronics for you | november 2016 27


biotech

Challenges Faced In Designing


‘Approved’ MedicAl devices
In India

T
he medical device industry in trained to work together.
India is fairly new. According to The other problem is that, the medical
Infosys, around 75 per cent of the device market is highly regulated. No hos-
medical equipment is imported. And pital would purchase a medical product
the equipment is not always suitable for unless authorities approve it. Thus, the
Indian requirements. product has to meet all requirements of
Why are the medical devices not be- the regulatory authorities before it can
ing made sufficiently in India? There are enter the market.
some unique challenges to be addressed We do not have a regulation set-up in
Nitesh Kumar Jangir
is co-founder, Coeo here. Let us take a look. India yet for medical regulation bodies.
Labs Pvt Ltd. The A bill proposed to solve this is due in the
article has been
curated by Ahalya
Challenges involved in medical Parliament for approval. Central Drugs
Mandana, freelance device design Standard Control Organization (CDSCO)
writer for EFY
The first problem that medical device is responsible for some level of device
designers encounter is that, they need to regulation in India.
have interdisciplinary knowledge to be There is also a new amendment in
able to design good-quality products. It discussion with respect to existing rules,
is not sufficient to have a good medical for which a draft has been introduced
background, because every consumer for public comments. Known as Medical
medical product also has a substantial Device Rules, 2016, it suggests categorisa-
electronic component that needs to be tion of medical devices into four groups,
designed. Thus, there needs to be a depending on the risks associated with
collaboration between the doctors and the device.
engineers to ensure that the product
gives a good overall performance. This Dealing with the challenges
collaboration is challenging, because While designing a new medical device,
engineers and doctors are not usually it is important to do some research and
consult with multiple doctors. This is
Benefits of medical device innovation called the process of concept validation.
Information from doctors is very helpful.
One of the main advantages of designing a medical device is that returns on
investment are high. Another advantage is that the market is still quite new and, At this stage, they can provide feedback
so, chances of success are quite high, if the product is good. It is also a good regarding clinical issues that the concept
opportunity to help society on a larger scale, with improved medical devices. may have. The design can be improved to
overcome these issues.
After the doctors approve the concept,
Good funding is available the real design process begins, involving
Good funding is available for people interested in designing medical devices. multiple levels of prototypes that have to
Indian government is providing a lot of financial support in this area. Some grants be tested in various labs.
are given to those having just a concept in mind, such as Biotech Ignition Grant, Documentation stage is very important
which is awarded by Department of Biotechnology. There are also certain private for medical devices, and has to be done
organisations and NGOs that are funding medical device companies such as Bill
at every step of design control. One of
and Melinda Gates Foundation, Consortium for Affordable Medical Technologies
and Acumen. these documents is the market require-
ment document. It includes all the results

28 november 2016 | electronics For You www.eFYmag.com


biotech
ACTIVE DEVICES CE refers to European Conformity
standards for products, and MDD
Rule 10 Rule 11
Rule 9 Active device for diagnosis. Active devices to
Rule 12
(Medical Devices Directive) refers to
Active therapeutic devices If intended to supply energy, administer or remove
intended to administer or (for image purpose) monitor
vital physiological
medicines and other
substances to or
All other active
devices standards that are specifically meant
exchange energy processes from the body
for medical products. It deals with
or
IIA
or
IIA IIA I three classes of devices that have
or or

Administer or Intended to When used to


been classified depending on the
Special Rule
exchange
energy in
control and
monitor or
All devices
emitting ionising
monitor vital
processes where
If this is in a
potentially amount of risk that the device poses
potentially influence radiation and variations could hazardous way
hazardous directly a
class
related result in
immediate danger
to the patient.
way monitors in
llB active IIB
IIB
therapeutic
medical
procedure IIB
Class I refers to normal medi-
device

IIB
or cal products that can be disposed
IIB
SPECIAL RULE of, such as surgical dressings and
All devices
emitting ionising
radiation
stethoscopes.
and related
monitors in Class II is divided into two
medical
procedure categories, A and B. Class IIA con-
IIB
sists of medium-risk devices like
Fig. 1: mdd classification chart for active devices tracheal tubes. Class IIB consists of
higher-risk devices that are surgi-
of the initial discussions and research netic compatibility tests are also cally-invasive or implantable like
with doctors. performed at this stage. intraocular lenses.
Then, intellectual property (IP) Along with the design of the Class III devices are the highest-
strategy needs to be decided. And alpha prototype, there are certain risk implantable devices such as st-
if one is planning to branch out to regulatory and clinical considera- ents and radiology equipment. Based
different countries, IP strategy for tions that need to be kept in mind. on the results of the tests conducted
each of those countries needs to be There are 14 such notified devices, during the previous stage, the beta
planned as well. and Drug Controller General of India prototype is created, which is one
Programme plan for the product is (DCGI) needs to be informed about step closer to the market.
also important. The audience should any products related to those devices. The USA has certain Food and
chart out plans for their products Only after approval has been grant- Drug Administration regulations
around three years in advance. ed, clinical trials can be conducted. that involve a similar classification
Some of these devices are intraocular method as CE MDD. It has a cat-
The alpha and beta prototypes lenses, orthopaedic implants, heart egory known as 510(k). This is for
Once all relevant data has been col- valves and cardiac stents. products that have been developed
lected and analysed, prototypes are that are similar to existing devices.
created. The first is the alpha proto- Getting through regulations The products may have different
type. This is meant only for testing, Regulations vary from country engineering designs, but these have
and not for the market. Electromag- to country. In Europe, regarding the same clinical outcomes, so no
netic interference and electromag- medical devices, there is CE MDD. clinical trials and pre-market surveys
are needed.
Indian case studies Essentially, a company needs
There are many Indian companies that are now shipping medical to show that their device is similar
devices abroad such as Consure, Forus and Perfint. One of the to an existing device, along with
author’s first projects was a device that he designed as part of the lab test reports of the exist-
Stanford-India Biodesign Programme. ing product. Regulatory authorities
Funded by Department of Biotechnology, Ministry of Science Vapcare also provide a detailed framework
and Technology, government of India, the programme was centred (Image courtesy: of rules and regulations, and one
in New Delhi and administered as a collaboration between Stanford www.coeo.in)
University, USA, Indian Institute of Technology Delhi, All India Institute should follow the regulations that
of Medical Sciences (AIIMS) and Queensland University of Technology. Biotechnology are applicable to the product. Clini-
Consortium of India (BCIL) manages the IP from the programme. cal literature is also important.
The product is called Thorashield, and it is designed to remove fluid from the patient’s
lungs. It is targeted at tuberculosis and cancer patients. Other products that he has been Clinical engagement
involved in designing include Vapcare, which is designed to reduce the risk of pneumonia Another important factor that
in patients who are on the ventilator, and Saans, which a neonatal CPAP for resource-
has to be kept in mind is clinical
constrained settings.
engagement. This can be done in

30 november 2016 | electronics For You www.eFYmag.com


biotech
two ways, either with clinical trials NON-INVANSIVE DEVICES
or with clinical studies. Clinical
trials are large-scale, but in the Rule 3 Rule 4
Rule 1 Rule 2 Modify biological or chemical In contact with
case of clinical studies very few Either do not touch
patient or contact
Channelling or
storing for eventual
composition of blood,
body liquids
injured skin
(mechanical barrier-
people are involved. A clear-cut only intact skin administration other liquids intended
for infusion
absorb exudates)

plan is required for clinical engage-


ment, and the plan needs to be
Class I Class I Class IIB Class I
approved by the DCGI as well as
hospital committees. or or or or
For use with blood, May be connected to Only filtration, Intended for wounds that
Designing in India is different other body fluids,
organs, tissues
an active medical
device
centrifugation or
exchange of gas or heat
breach dermis and heal only
by secondary intent

Ultimately, it is important to keep in


mind that designing medical devices Class IIA Class IIA Class IIA Class IIB

in India is a completely different or

process compared to the rest of Intended to manage micro-


environment of wound
the world. In India, the market is and others

doctor-driven. Even though consum-


ers are the real users of all medi- Class IIA

cal devices, they are not the final


decision makers. Doctors are the Fig. 2: mdd classification chart for non-invasive devices
ones who decide which products are
going to be used. Last, the whole system is more ally more than the cost of prevention.
There is also the issue of varying oriented towards treatment rather Hopefully, we will see more
rules and regulations for each state than prevention. This is unfortunate, entrepreneurs taking the road to in-
in India. because the cost of treatment is usu- novate for the medical sector.

32 november 2016 | electronics For You www.eFYmag.com


wireless

NatioNal CoNNeCtivity Via


loRaWaN In Just Eight Months
G
oogle trends graph shows a rapid Commonly-used bands include 868MHz
increase in the search for Long Range for Europe, 915MHz for North America
Wide Area Network (LoRaWAN) and 433MHz band for the Asian subcon-
since April 2015. “Initial challenges have tinent. However, another classification
been in making the common person un- could be spread spectrum versus narrow-
derstand the use cases. Post that, public band system.
response has been overwhelming,” said
Rishabh Chauhan, global community man- Spread spectrum through the years
ager, The Things Network, in an earlier in- The secrets of spread spectrum were not
teraction with EFY. It seems to have turned unknown to the US military. Since spread
Saurabh Durgapal
is working as into a global phenomenon ranging over spectrum is below noise level, it is neither
technology some very interesting applications. decipherable nor it can be jammed, inten-
journalist at EFY
We were able to find one use case in tionally or unintentionally. Even though
the Indian subcontinent as well. Using the jamming noise can be introduced, lack
LoRaWAN, engineers solved the problem of of a key-set does not allow it to spread and
indication for chlorine gas leakage in power mix with the original signal, thereby jam-
plants. Chauhan says, “A lot of people are ming it without any effect. It is immune to
using the technology and trying to evaluate major atmospheric conditions as well.
which use case works for them, and eventu- Since World War II the US military
ally adopting the network.” Turns out, it have been deploying spread spectrum for
makes a lot of sense to implement LoRA in their torpedoes and missiles to hide them
real-life problems. from deciphering, only at great cost. The
However, Krupa Shukla, CEO, Yups Tech cost has reduced significantly and, in the
solutions, highlights some issues, “LoRA recent years, companies have released
is becoming popular because of its low hardware compatible with spread spec-
cost and low power consumption, but its trum signals at a very low cost.
communication architecture is still at an What spread spectrum lacks. In
evolving stage.” comparison, Narrowband IoT (NB-IoT)
has advantages of an already mature eco-
Developments in LoRaWAN system for mobile networks with support
Fig. 1: LoRa Using frequencies lower than 2.4GHz or from telecom equipment vendors. “Long
receiver used in
the chlorination 5.8GHz enables much better coverage, es- Term Evolution also has an advantage
plant project pecially when the here, as no time and cost has to be invest-
nodes are inside ed in the infrastructure, comparatively,”
buildings. Sub- adds Shukla.
1GHz frequen- NB-IoT technology standardised by
cies are normally 3GPP standards body is a narrow-band
used; however, radio technology specially designed for
the technology the IoT. With capabilities like indoor
is frequency ag- coverage, low cost, long battery life and
nostic. support for a large number of devices,
LoRa wireless this technology can be deployed in Global
system makes System for Mobile communication and
use of unlicensed Long Term Evolution spectrum. It uses
frequencies avail- licensed spectrum to provide secure and
able worldwide. stable services.

34 november 2016 | electronics For You www.eFYmag.com


wireless
LoRaWAN has the lead to the involvement of
advantage of being an open LoRaWAN.
platform to facilitate various
enterprises entering the IoT Nationwide LoRa
application market. “Earlier networks
we had Wi-Fi, Bluetooth Earlier this year, Neth-
and such systems, but we erlands became the first
could not connect every- country to implement
thing non-computer to the LoRaWAN, with the project
system. Here, we have a taking about eight months.
very simple sensor that “Last year we identified
can be attached and then an increasing demand
we can connect the hard- for low-power network
ware to the system,” added Fig. 2: LoRa transmitter used in the chlorination plant project technology for IoT applica-
Chauhan. “Once you get tions. We are responding to
through the initial phase of deploy- transceivers connected on serial this by choosing LoRa, so millions
ment, it gets easier to work with peripheral interface bus, Somnath of devices can be connected to the
the system.” Bera, additional general manager, Internet in a cost-effective man-
NTPC Ltd, solves a problem of ner,” said Joost Farwerck, chief
Interesting implementations indication in chemical plants. operations officer and member of
Some sensors, some connectivity Command files in the software, for the board of management, KPN, in a
and with proper embedded de- example, make working very easy press release.
velopment skills, you could have on LoRaWAN. Bera says, “In less SK Telecom has also announced
your own IoT system. Applications than ten lines one can make these the availability of a nation-wide
include interfaces, connected cars, radios up and running using avail- LoRa network in South Korea this
entertainment, residences and able headers.” year. The firm offers 100MB of data
smarthomes, wearable technology, He explains the problem, “The per month for US$ 1.75.
quantified self, connected health status of chlorination plant chlo- Another South Korean fixed-line
and smartretail. As for LoRaWAN, rine leakage along with chlorine telecom firm, KT, has plans to invest
areas of implementation focus on cylinder temperature was not avail- in NB-IoT network and offer free of
connectivity. IBM long-range signal- able at the control room of the new charge 100,000 modules to develop-
ling and control, or implementation chemical plant, which is situated ers. Might just be for the first year, it
by Tata Communications are just 3.5km away from the chlorination can certainly drive adoption.
the tip of the iceberg. With proper plant.” Since the control room of There are also proof-of-concept
implementation, the possibilities the new chemical plant is situated projects underway, which could
are endless. at some distance, reaching there implement LoRaWAN in the future.
With increased usage, avail- would take some time. Using Wi-Fi Baggage handling, facility services
ability of software is no more a at this range becomes meaning- and systems to monitor rail switches
concern. Software available on the less. Requirement of bi-directional are some real-life examples.
Internet makes life easy in handling transfer of data between the control
LoRa radios. Using HOPE LoRa system and the chlorination plant Security is just one issue
Ryan D’Costa, business development
What LoRaWAN is manager, inventrom, says, “You do
not want your data to fall into the
The IoT deals with connectivity and sensors for the most part. In order to get this
wrong hands.” Shukla says, “Since
connectivity, several networks are being tested. Due to limitations, the common wireless
technologies cannot be used efficiently. However, LoRaWAN is a system that allows range it is an open network, data security
requirements higher than the traditional Wi-Fi system. With LoRaWAN, the range extends is a big question.”
to kilometres. So a good solution to cover a city, maybe? Shukla adds, “It might look
According to Link Labs, “LoRaWAN is a media access control layer protocol designed lucrative with respect to cost and
for large-scale public networks with a single operator.” LoRa alliance, however, intends it power, but industries cannot take
for a much wider range of use. As per the company, “LoRaWAN is a low power wide area the risk of data hacks, so currently
network specification intended for wireless battery-operated things in regional, national
they use LTE based gateways and
or global networks.” LoRaWAN targets key requirements of the IoT, such as secure bi-
directional communication, mobility and localisation services. industrial-IoT (IIoT) solutions.”
Reports have highlighted some

36 november 2016 | electronics For You www.eFYmag.com


of the challenges and issues associ- rity, sanitising your inputs, ensuring systems are not geared for battery
ated with LoRaWAN implementa- the firmware is updated to the latest efficiency or moving little bits of
tion in a white paper published version and so on,” says D’Costa. data inexpensively. So a low power
recently. Areas demanding special Present LoRa systems use two static wide area network is required for
attention in IoT solutions are secu- keys that are stored in the device such applications. According to
rity, interoperability and manage- and in the gateway. It could be easy Digitimes research, “LoRA Alliance
ability of the solution. With such an to duplicate the key with a device in June 2015 released LoRaWAN 1.0
open network, security becomes a that is not under surveillance. Also, in competition with NB-IoT. As of
relevant factor. storing keys on a device in a secure end of March 2016, LoRaWAN had
A report from HP brings to light manner is quite complicated. Using been commercially deployed in 13
the state of current systems. It reads, a secure element hardware security countries and trialled in more than
systems at present allow passwords module looks to be an interesting 60 other countries.”
as simple as 123456. With upgraded solution, with an increase in com- In a more regional update,
security in the area, we can pos- plication and expense. Advanced “Shortly, we are going to deploy
sibly look to a future with open encryption standard-cipher based LoRa for some more areas in remote
networks becoming the primary message authentication code, or telemetry, though heavily interfer-
medium of communication. The AES-CMAC protocol, which includes ing atmosphere is a challenge, like
paper also reveals dependence on encryption and integrity, is used for bringing remote cooling tower or
out-of-the-box solutions. Twenty communication between the device individual cell temperature data to
nine per cent of companies look to and the gateway. the control room, remote ash slurry
IoT Cloud platforms to lead their line temperatures, etc,” says Bera.
development projects. Where LoRaWAN is headed He continues, “We will place the
“It is important to follow good Major IoT applications require receiver at the height of the boiler,
practices like using secure Internet only transmitting tiny bits of data where it will be in line-of-sight for
protocols like transport layer secu- to monitor remote devices. Mobile all respective senders.”

www.eFYmag.com electronics For You | november 2016 37


repair & maintenance

Salvage Techniques For


Wet electronics
T
hough we all know that we should So if we are able to dry our system
not drop electronic devices in water thoroughly, have a chance of clearing the
but wetting of electronic devices does shorts and possibly restoring functionality,
happen accidently. Dropping a cellphone or especially if the liquid is relatively free of
iPod into a pool, or spilling a glass of water salts. But salts, even if dried, can form con-
or coffee on a laptop is a sure way to render ductive crusts that may continue to short
the device useless. It also puts you in a jit- the circuits.
tery situation about the data stored in such Technically, it is not water that destroys
devices. But not many people know what to electronics, it is the small ions that are
Dr S.S. Verma
is a professor do when this inevitably happens. dissolved in water. These particles cause
at Department Damage due to liquids is unfortunately electricity to go places it is not supposed
of Physics, Sant
Longowal Institute not covered under basic warranties, and to—causing a short and ultimately causing
of Engineering and many companies use liquid sensors to your device to break down. Not all liquids
Technology, Sangrur,
Punjab determine if a device has been exposed to are the same, ion-wise. Some have more
water or other fluids. ions than others. For instance, distilled wa-
Water damage is one of the more com- ter has next to no ions, whereas sea water
mon threats to portable electronics, but has a ton of these.
sometimes if we dry these out properly, we This difference will determine exactly
can restore the device. This article presents how much damage the liquid has caused to
some techniques that can be applied to save the electronic gadget. An electronic device
such electronic devices. wet with distilled water will probably work
When liquids come in contact with cir- perfectly fine, but when it is wet with sea
cuits, currents can be inadvertently diverted water, there is not much you can do to
(shorted) to other system components, rescue it.
where there can be two possible routes: Unfortunately, liquids can very quickly
burnout or grounding. When a burnout be pulled into tight crevices and small
happens, a higher-current circuit (such as components of circuit boards, aided by
that from a power-handling circuit) is al- capillary action. Therefore even if a device
lowed to go through a more delicate circuit appears to be completely dry, there may
that was not designed for high currents, still be a small amount of liquid left over,
resulting in circuit components over-heating and if it shorts even one circuit, the device
and melting. may not operate properly.
When a grounding short happens, cur- Water evaporates when it comes in
rent from a circuit is merely diverted through contact with dry air. So to dry liquids fast,
the liquid to an alternate location that is able it is best to have as much of it exposed
to handle the load, such as the computer to air as possible. Plugs and connections,
chassis or one of many grounding circuits on and flat surfaces of components that are in
the motherboard and computer components. close contact with each other, prevent the
Shorts that directly ground a circuit have water’s surface area from contacting air,
less potential for harming the circuit since and thereby retain water between these,
grounding components are built to handle long after the rest of the device is dry.
higher current loads. Liquids have a chance One way to clear this liquid out is to
of doing either of these types of shorts, but open the device and remove major compo-
often when these penetrate a device, com- nents, and dry these off with air or absorp-
ponents are just grounded instead of being tive materials. However, this is not feasible
burned out. for many devices, given the complexity in-

38 november 2016 | electronics For You www.eFYmag.com


repair & maintenance
volved in their complete disassembly components and burned circuits canned or compressed air, heating
and subsequent reassembly. Therefore (memory circuits such as ROm and pad or other heat source and sealed
the other option for clearing out these RAm are fairly susceptible to dam- bag or airtight plastic container that is
liquids is to accelerate evaporation, age from over-heating). just large enough to hold your device.
which can be done by both drying Other absorbents like silica gel With these tools handy, remove
out the air around the device as much (kitty litter) and instant couscous are the battery, hard drive and option-
as possible and applying heat and known to work in some cases, be- ally RAm. Then, unscrew the bottom
then waiting. sides the plain old air and sunshine. cover and remove it so that the guts
However, a new scientific study on of the system are exposed. Use a few
Tips to save an electronic an emergency electronic device res- wads of toilet paper to wedge the
device from a water death cue service released recently shatters screen open. Blow canned air in and
The first and most important thing is the widespread myth that placing a around the device to rid it of as much
to turn off your gadget and, if possi- wet smartphone in a container of rice liquid as possible.
ble, remove the battery and any other is an effective way to dry it. After this is done, prepare the
parts that can be taken out (SIm card, The optimal window of oppor- plastic container by placing the desic-
memory card, headphones and the tunity to restore a wet electronic cant in the bottom and covering it
like), along with the phone case and device is less than 48 hours, and it with some paper towels. Place the
cover. If the power is off, there will be is always best to act as soon as pos- laptop and its removed components
no current to short the circuit. This in the container, propping these up
will improve the chances of recover- so air can flow around as much as
ing the device. possible. Seal the container to prevent
Remove all water. After the humid air from entering it.
power is switched off, try to remove The last step is to place the
as much water as possible from the container in a warm place, or on a
device, either by gently shaking it out, Thirsty Bag with iPhone (Image courtesy:
heating pad, and let it stay there for
wiping it or removing a few panels or eustore.ifixit.com) at least a few days. Ensure that the
parts to get these really dry. Grab a temperature does not exceed the
soft cloth (towel or t-shirt) and soak sible. The study not only proves that recommended storage temperature
up all excess moisture. Use a cotton rice is an ineffective drying agent, for your device (check your device’s
swab to get around the buttons and but that it is actually less effective specifications). Depending on the
headphone jack. than simply leaving the device out degree of fluid penetration, you might
Use Q-tips and alcohol. If water in the open to dry naturally on its need to keep the device in there for
is stuck in certain small parts of the own—but neither method will thor- up to a week to ensure it is fully dry.
device, dab a Q-tip into some alcohol oughly dry the device. If the device is still not working
(or vodka) and apply it to those parts Thirsty Bag. To help in dry- and is not covered by any warranty,
of the device. This will work well for ing out small devices like mobile you can rinse the device with pure
the internal parts of many gadgets that phones and wrist bands, engineers distilled water and dry it again. When
have circuit boards. Alcohol will help have come up with Thirsty Bag, liquids like soda or juice dry, these
speed up evaporation, which happens which is a sealed container that leave residual salts behind that can
when the device sits out in open air. contains molecular sieve desiccant. continue to short out a circuit.
Use desiccants. Unfortunately, Place a drenched phone, camera or Feel free to liberally dunk the
many a time people use methods for any other device in it; after a while device in copious amounts of pure
drying wet electronics that are either the liquid will get absorbed into the distilled water (ensure it is distilled
ineffective or may damage the device. desiccant and leave the device dry. and not mineral water) so it flows in
For instance, dried grains such as rice To help the process, heat the pack- and around it, followed by draining
can absorb liquids, so some people age a bit using an electric warming the device, opening it up and placing it
use this as desiccant to dry out a pad or similar device. But do not in the desiccant chamber again to dry.
device. However, rice is relatively in- use an oven, as it is very easy to Doing this should clear out residual
effective at absorbing liquid from the over-heat and damage an otherwise salt contaminants left behind from the
air and may not be of much help. restorable device. initial liquid, and potentially clear any
Additionally, since heat helps Thirsty Bag is useful, but is shorts these may be causing. But do
water evaporate, people have at meant for smaller devices. For dry- this as a last resort if an initial drying
times baked their devices in ovens or ing out laptops and other items that does not work, and if the device is not
with hair dryers, resulting in melted will not fit in the bag, you will need covered by any warranties.

40 november 2016 | electronics For You www.eFYmag.com


Manufacture

AnAlogue ASICs Made Simple

A
pplication-specific integrated cir- Analogue ASICs, or ‘big A, little D’
cuits, or ASICs, typically conjure ASICs, play a critical role in our lives.
up the notion of massively-complex Without these, none of the portable elec-
logic chips containing tens or hundreds of tronic devices we use in our daily lives
thousands (even millions) of transistors would exist. Imagine a world without
configured to solve a customer’s unique set mobile phones, MP3 players and naviga-
of problems. Unlike multifunction standard tion systems. Building these with standard
product ICs such as a microcontroller that products would make these prohibitively
Bob Frostholm
can find its way into a wide variety of appli- expensive and physically impossible to
is vice president cations, ASICs are designed for one specific carry in our purses or pockets.
of sales and application and generally for one specific Every automobile contains dozens of
marketing at
Analogue ASIC product or product family. ASIC chips for everything from climate
company, JVD Today, most ASIC companies offer some control to airbag deployment, suspension
Inc. (San Jose,
California, USA). degree of analogue functionality as a part of control to entertainment systems. ASICs
He has held their services. In many cases, the analogue also play important roles in applications for
sales, marketing
and chief functions are mimicked with digital design hospital medical equipment, e-meters, home
executive roles at techniques. In others, compromises to the appliances such as washers and dryers,
established and
startup analogue analogue functionality must be made to fa- scuba gear, hearing aids and much more.
semiconductor cilitate the use of standard library cells that The analogue ASIC market is huge. (See
companies for over
40 years are designed to yield well in the fab process- chart given in Table I from Summit Tech-
es developed for high-speed, high-density, nology Consulting Inc.) Summit reports
low-power digital designs. Often, these chips that almost 60 per cent of the nearly US$
are referred to as mixed-signal ASICs or as 42 billion of analogue ICs sold in 2014 were
‘big D, little A’ ASICs, meaning high digital ASICs. Yet very few mixed-signal ASIC
content and minimal analogue content. design houses fully understand the implica-
tions of custom analogue designs and its
applicability to analogue-centric ASICs.
Table I ASICs requiring high analogue content
analogue aSIC markeT should be directed to those fabless semi-
application-specific 2014 forecast Per cent of conductor companies that specialise in
analogue ICs ($m) market analogue circuit designs rather than those
Consumer 1696 6% who simply select analogue IP blocks from
Before ASIC a library. Analogue ASIC companies have
Integration Computer 2145 8%
large staffs of competent, well-experienced
Communications 13,002 50%
analogue engineers with expertise in a
Automotive 6703 26% wide range of analogue functions.
Asssembly Industrial/other 2715 10% Large, standard product analogue IC
Costs After ASIC
Integration Total 26,261 94% companies rarely engage in analogue ASICs
general purpose 2014 forecast Per cent of and, when they do, they set high bars
Assembly analogue ICs ($m) market regarding who can access this capability.
Costs
Amps and comparators 2729 16% They also impose high minimum order re-
quirements. If you have a specific analogue
Amortised Interface 1940 11%
Component Dev. Cost
need, you must rely on one of the many
Voltage regulators and 9831 58%
Costs
references
smaller companies that focus on low- to
Component
Costs medium-volume analogue ASICs. Even if
Data converters 2447 14%
your volumes are high, these smaller com-
Fig. 1: Difference in the total Total 16,947 100% panies will give you more direct attention
system cost before and after
ASIC integration Source: Summit Technology Consulting Inc. and service because you are a more signifi-

42 november 2016 | electronics For You www.eFYmag.com


Manufacture
cant customer to them. invention. Many of them
100%
There are many myths Specification
have spent decades at the
surrounding analogue ASICs Deficiency Using big analogue companies (like

Analogue Specification
Standard Cells
that prevent OEMs from National, LT, Maxim and TI),
exploring opportunities to learning from the industry
lower costs, reduce size and gurus.

Coverage
protect IP. Let us look at Be careful not to let a
some of these. mixed-signal design house
negotiate you away from
Myth #1. It is economical your ideal specification.
to integrate analogue func- Re-Spins Close is not good enough;
tions into an ASIC only if 6-9 Months ~10 Months analogue must be exact!
First
Tape-Out
analogue content is minimal.
FALSE. Actual manufac- Fig. 2: Graph showing typical inherent errors in achieving desired Myth #3. Only ultra-high-
turing cost of an analogue analogue specification when using standard mixed-signal cells volume applications can
ASIC chip can provide huge benefit from analogue ASICs.
savings when compared to the col- FALSE. The term mixed-signal FALSE. As noted earlier, many
lective costs of the ICs it replaces. implies a combination of analogue large semiconductor companies fo-
However, there are other costs as- and digital circuitry on a single chip. cus their ASIC efforts onto a handful
sociated with the ASIC that must be Companies than focus on mixed- of very large customers. All full-
considered and amortised over the signal typically use cell libraries service ASIC houses have their own
life of the product. for their analogue needs. On the business criteria regarding minimum
Non-recurring engineering costs, other hand, companies that make non-recurring engineering (NRE)
based on the complexity of the analogue ASICs do not use cell costs, tooling and, most importantly,
design as well as hard tooling costs libraries. Rather, they handcraft annual volume. Some ASIC houses
such as masks and test hardware, each design to exactly meet the avoid the issue by just offering
can add cost to the ASIC chip cost, required specifications. design services and leaving the issue
depending on complexity and There is a distinct difference in of manufacturing to the customer.
lifetime volume of the device. Some the engineering skill levels required This is a bad choice for you, unless
analogue ASIC companies offer to combine library cells on a silicon you have IC manufacturing experts
rebates to these fixed costs, making chip versus actually creating a on your team.
these even more cost effective. Be handcrafted analogue design that Throughout the world and in
sure to ask for a rebate when getting uniquely satisfies all requirements particular in Silicon Valley, Califor-
a quote. of the specification. For some simple nia, USA, there are numerous bou-
It is as important to know what applications, analogue library cells tique wafer fabs that specialise in
to incorporate into the ASIC as it offer sufficient performance to meet analogue processes and accept lower
is to know what should remain a the system requirements. volume business. Considered a well-
discrete component. However, increased sophistica- guarded secret by many, these fabs
Most analogue applications use tion of analogue applications neces- welcome low- and moderate-volume
a collection of passive elements and sitates designs that are truly applica- analogue business and offer pricing
discrete transistors in addition to the tion-specific and not a compilation quite competitive with the billion-
ICs involved. Integrating as many of of general-purpose analogue cell dollar fabs in Asia.
these components as possible to the blocks. When using cell blocks, de- There is a time and place where
ASIC often comes for free and can signers are forced to make compro- standard analogue cells are more
have a dramatic effect in lowering mises by picking the cell (whether than adequate. Experienced analogue
the end product’s total assembly amplifier, reference, PLL, etc) that ASIC design houses recognise this
cost as well as size and cost. It is most closely meets the application’s and offer full-custom analogue de-
this potential total system cost sav- need. Compromises accumulate and signs only when the need merits it.
ing that bolsters the justification to soon the end design is unable to
develop the analogue ASIC. meet its original specification. Myth #4. Using existing IP from
Like the big analogue IC com- analogue cell libraries lowers the
Myth #2. Mixed-signal ASIC panies, analogue ASIC companies chip cost.
means the same thing as analogue employ experienced analogue de- FALSE. Using predesigned, func-
ASIC. signers who are artisans at analogue tional cells such as amplifiers, con-

44 november 2016 | electronics For You www.eFYmag.com


Manufacture
verters and transceivers can create the differentia-
shorten development time tion required to break
Transceivers
and therefore has a ripple- cell Memory cell Transceivers Memory out of the pack with
through effect of lowering a superior-performing
the chip’s total development chip and, thus, a supe-
cost. However, even though Control Logic cell Control Logic
rior end product for the
design time is reduced, there D/A Converters D/A DSP Core customer. Additionally,
Converters
can be other tradeoffs that cell stepping back from the
must be considered. Stand- Hand-crafted: Much smaller chip
cell library approach
DSP Core
ard analogue library cells do cell opens up options for
not pack as densely as digital manufacturing, since
Wasted Die Area
cells. Using analogue library cell libraries are typi-
cells can result in blocks of Fig. 3: Benefits of handcrafted analogue cally developed for one
unused silicon on the die process at one fab.
that will needlessly lower the num- promises may be needed to accom- Broader-use libraries are available
ber of potential dies on a wafer. modate these limited choices. that specify a process, for example,
Additionally, since analogue Analogue-centric ASIC develop- 0.35µm CMOS, but have relaxed
circuitry of a mixed-signal ASIC is ment affords a perfect opportunity specifications such that these can
likely to be the input or output of to rise above your competition. As be instantiated in multiple fabs.
the circuit, or both, these cells must noted earlier, nearly 60 per cent of Handcrafted analogue creates
be oriented closer to the periphery the worldwide analogue IC market is an unlimited set of manufacturing
of the chip to facilitate easy access for ASICs. If you and your competi- options, especially through the use
to bonding pads. tors are basing your designs around of boutique foundries. Many of the
Handcrafting some or all the same mixed-signal cell libraries, boutique fabs differentiate them-
analogue functions allows you to both of you will have approximately selves by the variety of services they
accomplish several things. In a the same performance specifica- offer and their willingness to make
mixed-signal design, handcrafted tions, dictated by the specifications adjustments to their processes to
analogue circuits are laid out to fill of the library cells. accommodate optimisation of the
voids created when using standard True product differentiation chip’s performance.
cells, better optimising overall sili- comes from invention. It is derived
con area utilisation. by creating uniqueness to a product Conclusion
Moreover, handcrafting the ana- not readily available to the competi- The application will always deter-
logue portion allows you to deter- tion. Cell libraries fail to deliver the mine the appropriate combinations
mine precisely the performance pa- necessary uniqueness often needed of technologies that are best suited
rameters of the circuit rather than be in critical analogue applications. for the ASIC design. As our depend-
restricted to the fixed performances ence on cognitive prosthesis devices
of a limited number of standard Myth #6. Handcrafted analogue (smartphones, Wii controllers, tablet
cells available in the library. is too expensive, compared to stand- PCs, the IoT, etc) increases, cop-
ard cells. per tethers disappear and analogue
Myth #5. Cell based ASIC de- FALSE. NRE costs are a compila- increases its dominance in ASIC de-
signs ensure product differentiation. tion of several variables. These costs signs. MEMS advances have placed
FALSE. Designing the analogue must be amortised over the num- Star Trek style sensors in our daily
portion of a mixed-signal ASIC us- ber of chips produced during the lives. Medical imaging, sensing and
ing a cell library is tantamount to lifetime of the product to determine monitoring continues to improve
designing a system using standard, their effect on the unit cost of the our daily lives. All of these more
off-the-shelf, analogue ICs, with one ASIC. When executed properly, NRE increasingly rely upon better, faster,
key exception—limited selection. costs associated with handcraft- denser analogue circuits.
At the board level, there are tens of ing the analogue circuitry return a When considering a new ASIC
thousands of IC amplifiers, voltage disproportionately lower unit cost of design, carefully consider the role an-
references, converters and more to the final chip. The key to success is alogue will play in its deployment. To
choose from. In a cell library, you analogue design experience resident minimise risk, seek out an analogue
are limited to choosing from a few at the ASIC semiconductor company ASIC partner with the right analogue
dozen amplifiers, voltage references, doing the integration. design skills and experience to match
converters, etc. Performance com- Handcrafted analogue can the application.

46 november 2016 | electronics For You www.eFYmag.com


Manufacture

Part 5 of 5

Electromagnetic Compatibility:
Cable SeleCtion and Routing
I
t is frequently observed, and more stray capacitance formed between the
so with those who design and manu- two cables.
facture electronic control panels, that
the overall system often fails to pass Cable classes
electromagnetic compatibility (EMC) tests In order to properly segregate cables,
(particularly emissions), even though the these can be split into six classes, depend-
manufacturer has meticulously taken all ing upon their application, voltage or
precautions to ensure product compliance, current levels, frequency of signals these
just because they forgot one crucial aspect carry, types of signals these carry (like
Chetan Kathalay is
working as scientist of EMC design—cable routing and selec- analogue or digital), components these
in Electronics Test tion. And as the old saying goes, “All is connect to and so on. These classes are
and Development
Centre, Pune. He well that ends well,” proper cable selec- as follows:
is BE in electronics tion and routing is the last major design Class 1. These are cables that carry
from Nagpur
University consideration to make a system complaint highly-sensitive signals like low-level
to EMC norms. analogue signal (in mV) from transducers,
instrument lines, radio receiver antenna
Cable coupling mechanisms cables, and cables carrying high-frequency
Three mechanisms exist by which EMI digital signals such as Ethernet. Such
can be coupled on to cables. First, field- cables are highly susceptible to noise
to-cable common-mode coupling occurs and interference.
when wires or traces are routed away Class 2. These carry slightly-sensitive
from the ground, forming a loop that signals that are somewhat susceptible
acts as an antenna, causing common- such as ordinary analogue signals un-
mode EMI to be coupled into or out of der 1MHz and of the order of 1-10V and
the system. 4-20mA. These also include low-frequency
Second, field-to-cable differential- digital signals like RS232 or RS485
mode coupling occurs when forward and and digital inputs/outputs (I/Os) like
return wires (or traces) are routed at a those from limit switches, encoders and
large distance from each other, forming a control signals.
loop that acts as an antenna, causing dif- Class 3. These are cables carrying
ferential EMI to be coupled into or out of the noise source that is slightly interfer-
the system. ing such as low-voltage AC distribution
Third, cable-to-cable coupling (cross- less than 1kV or DC power, linear power
talk) is one where high-frequency signals cables, control cables for inductive loads
Fig. 27: on one cable can electrically couple (such as relay coils, motor brakes and
Cable classes
(dimensions in (or talk) to adjacent cable through contactors) where proper transient sup-
millimetres) pression techniques like RC snubbers have
been employed to control transients at
Class 1 150 Class 2 300 Class 3 150 Class 4 150 Class 5 150 Class 6
cables cables cables cables cables cables the load. These also include motor cables
from output of inverter drives but fitted
450
with output filters as per manufacturer’s
450 specifications.
Class 4. These are cables carrying
600 signals from strong noise sources that are
highly interfering. These include output
cables from frequency converters, inputs

48 november 2016 | electronics For You www.eFYmag.com


Manufacture
class 6 should be 150mm. proportional to the area of the loop.
Now, these distances This can be reduced by reduc-
are for a cable run of ing the area of the loop, that is, by
less than 30 metres. For routing send and return cables close
Ground loop (a) (b)
longer cables, separation to each other. Further reduction can
Fig. 28: Reducing common-mode coupling distance is multiplied by be achieved by twisting the cables
the length and divided around one another, whereby the
by 30. loop area is reduced dramatically.
When cables run
within a product, these Cable routing in electronic
must be physically control panel
(a) (b) (c) segregated depending Fig. 30 shows cable trunking for a
Fig. 29: Reducing differential-mode coupling upon their class at all control panel used for controlling
times, and long parallel a typical machine. All components
to and outputs from adjustable runs should be avoided. If that is not should be mounted on an unpainted
speed motor drives, inputs to and possible, these should be more than mounting plate for proper ground-
outputs from SMPS or DC-DC con- 150mm apart; cable classes—as far ing connections for the modules as
verters, cables associated with elec- as possible—must not cross. If at all well as their cables. The three-phase
trical welders or RF equipment (like these have to cross, these should do mains comes from a very hostile
induction welders, wood gluers, mi- so at right angles. And cables should environment, which is a characteris-
crowave equipment and diathermy run as close as possible to their local tic of shop floors, and carries signals
apparatus) and cables to DC motors, RF reference or to cables carrying that can be strongly interfering.
to RF transmitting antennae and to return signals. Cables of the same Such cables are therefore classified
unsuppressed inductive loads. class, when routed through the same as class 4.
Classes 5 and 6. Class 5 cables tray or duct, should not be twisted It is essential that these signals
are those that carry medium voltage, around one another. are filtered immediately after enter-
while class 6 are those that carry ing the cabinet, which is normally
high voltage. Reducing common-mode achieved by a suitable line filter. The
coupling filtered cable is classified as class 3,
Cable segregation When cables are routed away from which then goes to the SMPS and
During their run in a system, cables the ground plane or earth, a ground the drive. Output of the SMPS is
of different classes have to be loop is formed as shown in Fig. 28. again classified as class 4 since it
properly segregated, that is, sepa- This loop acts as an antenna for stray can carry strong interference. Filter
rated by certain minimum distance. fields causing common-mode EMI to at PLC I/P converts this into a class
This separation distance not only be coupled into the system. By the 3 cable, which then goes to the
depends on class but also on cable same token, the loop can also cause PLC. I/O lines of PLC carry control
length. Fig. 27 shows recommended radiated emission. signals that can be slightly sensitive
minimum segregation distance for Coupling or radiation is directly and, hence, are classified as class 2.
different classes of cables based proportional to the area of the loop. Some class 2 lines from PLC go as
upon a run of 30 metres, and as- In order to reduce it, area of the loop control cables to the drive.
suming that the cables run in close must be reduced. This is done by As a rule, shielded cables must
proximity to the protective earth routing the cable as close as possible be used for such lines with the
conductor that can be a wire, a to the ground reference, which, in shield exposed and bonded to the
metal tray or mounting plate that case of control panels, is the mount- mounting plate through 360-degree
forms a local RF reference. ing plate. saddle clamps. Moreover, proper dis-
Accordingly, class 1 and class tance has to be maintained between
2 cables must be separated by a Reducing differential-mode these and nearby class 3 and class
minimum distance of 150mm (ditto coupling 4 cables. In Fig. 30, this distance
for class 3 and class 4). While class This type of coupling occurs when is shown as 300mm and 450mm,
1 and class 3 and class 2 and class send and return cables are routed respectively; although it may be
4 should be separated by at least away from each other. As shown in less considering small cable lengths
450mm, and class 1 and class 4 by Fig. 29(a), a loop is formed between (remember the 300mm distance is
at least 600mm, separation between send and return paths, causing differ- for lines in excess of 30m).
class 4 and class 5 and class 5 and ential-mode coupling and radiation Some I/O cables of the PLC go to

50 november 2016 | electronics For You www.eFYmag.com


Manufacture
the relay and contactor Drive O/P to motor Drive control cable,
section, while some can Class 4 cable which is class 2, must be
also go to MMI usually Cable to MMI on separated from output ca-
Drive control >450mm
door, exiting at
mounted on panel doors. door bonding point ble (class 4) by a distance
These also must be PLC of more than 450mm and

Class 2 cable
preferably shielded, with from mains cable (class
Control cable Motor
the shield bonded to Line drive 3) by more than 300mm.
from PLC
filter
the mounting plate at a Class 2 The mains cable to the
point nearest to the PLC. >450mm drive should preferably
Area for relays,
For cables going to MMI, contactors, pneumatic, be a shielded cable with
hydraulics and the like >300mm
pigtails can be used for SMPS Line the shield bonded to the
filter
grounding, although sad- mounting plate by a sad-
dle clamps are better. Reactor dle clamp, and the power
Three-phase Class 3 cable
Such cables should mains cable MCB Line filter earth wire of the mains
be very close to RF refer- Class 4 cable should also be fas-
ence (that is, mounting tened under this clamp.
plate) as these cross Fig. 30: Cable routing in an electronics cabinet Analogue and digital sig-
over to the front-panel nals must have their own
door. This can be achieved only if must be invariably shielded. separate cables; there cannot be a
the crossover happens along the Drive manuals also discuss bigger blunder than running these
bonding point of the panel to the cable routing to be followed, how as wires through the same cable,
door, that is, along the bond straps cables are installed and how saddle even though these are of the same
that connect the panel to the door. clamps and pigtails are to be used to class (class 2).
If possible, bond straps should ground the shields. Some even go to
be mounted along these cables or the extent of suggesting how much Conclusion
additional bond straps should be tightening torque has to be applied Cable selection and routing is gener-
provided along these cables. Many a to the screws for proper bonding. ally a subject of system-level EMC
time, it is observed that these cables Machine manufacturers who casu- design, where a large number of
crossover along door hinges, which ally ignore these guidelines even- components are assembled to make
is not a good practice, since hinges tually face a daunting task while a system. It is generally observed
cannot be relied upon to provide a complying with EMC tests. that assembling all EMC-compliant
good bond. Now, output cables of motor components does not automatically
Motor drives are the most notori- drives can carry strongly-interfering result in a compliant system. This is
ous components as far as generation signals and therefore classified as because although the components
of conducted and radiated emission class 4. It is imperative that output that make up the system have been
is concerned, and are the main rea- and control cables of a drive are tested individually, their manufac-
sons for non compliances observed shielded with the shield bonded to turers do not know in what way
in control panels. Most drive manu- the mounting plate by a 360-degree their products would be assembled
facturers give fairly-detailed infor- connector or saddle clamp at a point in a system. It is the final system
mation regarding the type of cables nearest to the drive. The shield must assembler who has to ensure correct
to be used for input mains supply, also be grounded at the motor end, assembly of all components to make
drive output cable going to the mo- preferably through a 360-degree a compliant system. Cable selec-
tor, frequency input cable and I/O bulkhead connector at the motor tion and routing plays a vital part in
and control cables. All these cables terminal box. this endeavor.

Your favourite Magazine on


THE COMPLETE MAGAZINE ON OPEN SOURCE
Open Source is now on the Web, too.

OpenSourceForU.com
Follow us on Twitter@LinuxForYou

52 november 2016 | electronics For You www.eFYmag.com


Defence electronics

Part 8 of 8

DirecteD energy Weapons:


More On High-Energy Laser Weapons

I
n this concluding part of the article, wavelength-sensitive beam combiner such
let us wrap up by learning some more as diffraction grating and prisms. Optical
about high-energy laser weapons. components with wavelength-sensitive
transmission characteristics such as vol-
Beam combination of multiple lasers ume Bragg gratings and dichroic mirrors
Power scale-up to ten to hundreds of can also be used.
kilowatts in a single laser, maintaining the In the case of coherent beam com-
desired beam quality, has many a techno- bining, multiple lasers are combined to
logical challenges to overcome. Develop- generate higher output powers with more
Dr Anil Kumar Maini
is former director, ments in the field of beam-combination or less the same beam quality as that of
Laser Science and techniques have opened new avenues of individual lasers. Coherent combining also
Technology Centre,
a premier laser and building higher-power lasers than could preserves the spectral bandwidth.
optoelectronics be combined in a single laser. Combining In one method of incoherent beam
research and
development laser output from multiple fibre lasers is an combination, multiple laser beams are
laboratory of important area of relevance to high-power combined by overlapping individual laser
Defence Research
and Development directed energy laser weapon systems, as it beams on the target with a beam director
Organisation of allows achieving higher output power from consisting of independently-controlled
Ministry of Defence
relatively low-power individual lasers. steering mirrors. Adaptive optics may be
Direct diode lasers, bulk solid-state la- used to compensate for the distortions
sers and fibre lasers have been experiment- caused by atmospheric turbulence. This
ed with in recent years to generate higher technique is relatively much simpler than
powers by combining outputs of multiple other beam-combining techniques includ-
lasers of a given type. Power enhancement ing spectral and coherent beam combin-
and beam quality issues have been studied ing. It does not require phase locking or
over propagation distances in kilometre polarisation locking of individual lasers
range. Three common laser beam com- and its power can be readily scaled up for
bining techniques include spectral beam directed energy weapon applications.
combining, coherent beam combining and
incoherent beam combining. Representative directed energy
In the case of spectral beam combining, laser weapon systems
multiple laser beams with non-overlapping Presently, a large number of directed en-
optical spectra are combined by using a ergy laser weapon systems are reported to
be under development and upgradation.
Nose- Active
Some of these are experimental, some
Mounted Laser Crew Illuminator High-Energy technology demonstrators, while others
Turrel Ranger Safety Lasers Laser
are being upgraded and ruggedised to be-
come realistic battlefield weapon systems
in the near future.
Some of the more talked about laser
weapon systems include high-energy
Battle
Management laser system developed by Diehl and
Engines 747-400
Beam Deployment Freighter LFK of Germany, general-area defence
Control Storage
Fig. 10: System integrated anti-missile laser system from
Airborne laser TRW, mid infrared chemical laser from

54 november 2016 | electronics For You www.eFYmag.com


Defence electronics
chemical oxy-iodine laser modules
of 200 kilowatts each. It is config-
ured on Boeing 747-400 freighter
aircraft (Fig. 10).
Airborne laser is capable of de-
stroying a ballistic missile in boost
phase. In operation, the aircraft
patrols friendly air space. After an
enemy missile launch is detected by
a variety of sensors, this information
is relayed to the aircraft configured
as high-power laser system for fur-
ther action.
Advance tactical laser uses 80kW
chemical oxy-iodine laser and is
mounted on a modified Boeing
C-130H Hercules aircraft, with the
most obvious visual difference being
Fig. 11: Tactical high-energy laser a rotating turret protruding from
the aircraft’s underside through a
TRW, high-energy laser weapon CW deuterium-fluoride laser with hole. This chemical laser is similar
system from TRW, Boeing’s air- a maximum lasing duration of 70 to the one developed for Airborne
borne laser and advanced tactical seconds. It uses a 1.8-metre Sealite Laser programme with much lower
laser, tactical high-energy laser, pointing and tracking device. The output power.
mobile tactical high-energy laser, system was reported to carry out Advance tactical laser is envi-
Raytheon’s Laser Phalanx and laser trials against different types of sioned to offer mobility of a small
weapon system. targets at White Sands Missile aircraft, high-resolution imagery for
High-energy laser, jointly devel- Range in New Mexico. In one of target identification and the abil-
oped by two German companies the tests conducted in 1996, a ity to localise damage to a small
Diehl and LFK, is a short-range small fraction of laser power was area of less than 30.5cm (1-foot) in
tracked vehicle-mounted system for used to destroy a 122mm short- diameter from a range of eight to
use as an air-defence system against range artillery rocket in flight. The ten kilometres.
low-flying, high-performance laser beam was locked to the target Another well-known laser based
aircraft, missiles and attack heli- for 15 seconds. It is also reported DEW system is Northrop Grum-
copters. The system is configured to have been tested against sea- man’s tactical high-energy laser. The
around a gas dynamic CO2 laser skimming missiles. laser is built in two configurations:
emitting at 10.6 microns. It has Yet another recent system from baseline static high-energy laser and
associated target-acquisition and TRW is high-energy laser weapon relocateable mobile version mobile
tracking sensors. system, which is again a chemical tactical high-energy laser.
Another air-defence laser system laser using ethylene, hydrogen and Tactical high-energy laser
is TRW’s general-area defence fluorinated nitrogen as the active systems (Fig. 11) are point defence
integrated anti-missile laser system. medium. The system is based on weapon systems designed to en-
This system, too, is a short-range their earlier experience gained from gage and destroy artillery rockets,
complement to surface-to-air mis- building mid-infrared chemical artillery shells, mortar rounds and
sile defence designed to engage laser. The system has an integral low-flying aircraft. The system uses
discrete ballistic threats at longer electro-optic tracker. a deuterium fluoride laser operat-
ranges. The system generates a Another laser based directed ing at 3.8µm. Tactical high-energy
400kW laser beam, which is de- energy weapon system in serious laser demonstrator was successfully
livered through a 0.7-metre beam contention till recent past, particu- tested repeatedly between 2000
pointer/tracker. larly for operation from an aerial and 2004, destroying a number
One of the very early directed platform, is the famous airborne of 122mm and 160mm Katyusha
energy laser systems, a technology laser. It uses a 1.2-megawatt chemi- rockets, multiple artillery shells and
demonstrator, is TRW’s mid infra- cal oxy-iodine laser emitting at mortar rounds, including a salvo at-
red chemical laser. It is a 2.2MW 1.315 microns, generated by six tack by mortar.

56 november 2016 | electronics For You www.eFYmag.com


Defence electronics
Space based laser is the ul- the path of least resistance
timate objective of US-directed while travelling from cloud
energy laser programme. It to ground. Plasma channel
is proposed to be configured conducts electricity much
around 20MW hydrogen fluo- better than un-ionised air. If
ride laser operating at 2.7µm. the plasma channel comes
It is being designed to intercept near a high-voltage source,
intercontinental ballistic mis- electrical energy travels down
siles and other strategic and the ionised conduit. When a
tactical missiles. It is proposed laser-induced plasma channel
to deploy the system in 800km weapon is used on a target
to 1300km orbit. The expected such as a vehicular platform, a
target engagement range is person or unexploded ord-
4000km to 12,000km. Fig. 12: Laser Phalanx nance, high-voltage current
Several directed energy discharges through the path
laser systems based on solid- of least resistance to ground,
state and fibre lasers are being potentially disabling the ve-
developed and tested for hicle or person, and initiating
tactical mission needs ranging ordnance detonation.
from ordnance neutralisation Laser-induced plasma chan-
to anti-missile and anti-RAM nel weapon hardware mainly
applications. comprises a laser capable of
Raytheon has developed generating ultra-short pulses of
and successfully tested a the order of a few picoseconds
directed energy laser system and a power source to drive
called Laser Phalanx (Fig. 12) both laser and high-voltage
employing a 20kW industrial discharge. But there are many
fibre laser. The system has Fig. 13: Laser weapon system technological challenges to be
been successfully demonstrated overcome. These include syn-
against a static mortar from a dis- voltage current discharge travels chronising the laser with the high
tance of 0.5 kilometres. down the plasma channel and voltage, ruggedising the device to
Raytheon has also successfully then through the target to ground, survive under extreme environmen-
tested a ship-mounted solid-state thereby causing severe damage to tal conditions of an operational en-
laser weapon system (Fig. 13) to the target—similar to what would vironment, and powering the system
shoot four drones. have been caused had there been a for extended periods of time.
lightning strike. Laser-induced plasma chan-
Laser-induced plasma The concept behind formation nel devices can have a variety of
channel weapons of plasma channel is as follows: A applications. These can be used to
A laser-induced plasma channel pulsed laser of even a modest ener- kill or incapacitate human targets
weapon is conceptually different gy producing ultra-short laser pulses through electric shock. These can
from conventional high-energy laser is capable of generating gigantic also damage, disable and destroy
weapons. It makes use of an ultra- peak power of the order of tens of electronic devices.
short laser pulse to create a highly- gigawatts. The electromagnetic field Laser-induced plasma channels
conducting plasma channel between produced due to the intense laser may also be used for a variety of ex-
the laser and the intended target. It beam rips off electrons from the air periments, including study of light-
is designed to take out targets that molecules, thereby ionising the sur- ning discharges, forcing lightning
conduct electricity better than air or rounding air and creating plasma. discharges to occur at safe time and
ground surrounding these. For high-intensity laser pulses, air place during thunderstorms, induc-
This conducting plasma follows can act like a lens. The laser focuses ing thunderheads that deliver a pre-
the path of the laser and therefore on itself in air, confining light to a cise lightning strike on to a ground
can be directed to different targets small-diameter filament. target triggered by an airborne laser,
by steering the laser beam. When Laser-induced plasma channel and harvesting lightning energy for
the plasma comes in contact with weapons behave like a lightning power generation by directing it to a
a high-voltage source, a high- strike that always tries to follow terrestrial collection station.

58 november 2016 | electronics For You www.eFYmag.com


artificial intelligence

AmAzon Echo: Your Personal Assistant


W
henever we come across the a button, or remotely by uttering its wake-up
word personal assistant, the first command. Its voice recognition works on
thing that comes to mind is Siri. Amazon Web Services and Amazon common
Like Siri, Amazon Echo is a great innova- voice platform, and hence it requires an Inter-
tion in artificial intelligence (AI). It is a new net connection to connect to its server.
personal assistant that comes in the form of
a cylindrical speaker and an always-listening Echo versus Siri
assistant, Alexa. Till date Siri was considered to be the best
Amazon Echo is a speaker with an inbuilt virtual personal assistant, but here are some
Sachin Soni is an microphone, which is always listening. You features that make Echo better than Siri.
electronics hobbyist
interested in DIY can turn off this microphone with the help of Faster than Siri. Echo is faster at re-
projects and the a button. You can ask it about the weather, sponding as compared to Siri, which takes
Internet of Things
check news headlines, set an alarm, play some time in understanding the command.
your favourite singer’s song, shuffle your Echo does it all in a fraction of seconds. This
phone’s playlist, control home appliances, makes us feel like we are interacting with a
ask general questions and a lot more. Just live personal assistant.
say ‘Alexa,’ followed by your command. (Al- Incredibly accurate. Siri frequently misun-
exa is the wake-word used for Amazon Echo. derstands what you are trying to tell. Voice rec-
You can change this wake word to Amazon ognition on Amazon Echo is pretty accurate.
or Echo if you want.) Distance. With Siri you have to be close
Amazon Echo works on Texas Instruments to the device to interact with it—just a few
DM3725 ARM Cortex A8 processor, Samsung centimetres away. While with Echo, due to
LPDDR1 256MB RAM and storage space of the presence of a seven-array microphone,
4GB. It has two connectivity options—Wi-Fi you can interact with it from far; you can
802.11/a/b/g/n and Bluetooth 4.0. even be one room away!
In terms of multimedia, Echo consists of Improvements. Echo is added with a new
a woofer and a tweeter. For voice capturing, skill every Friday, and users get notifications
it has a seven-microphone array (six mics via emails about each new skill added that
arranged in a symmetrical manner on the week. It already has 500+ skills like check-
perimeter and one in the centre). There is a ing your bank balance, checking fuel in your
volume-control wheel on the top surrounded car and so on. While, in case of Siri, its fea-
with a blue LED ring. It also has a mute but- tures also get updated frequently but most
ton in case you do not want Echo to listen. users are unaware of the many features.
Amazon Echo runs on Amazon Web Ser-
vices. It can be manually woken up by pressing Amazon Echo series
Amazon Echo has three different products,
Light ring namely, Amazon Echo, Amazon Tap and Ama-
Volume ring
zon Echo Dot. Amazon Tap can be regarded as
Reflex port a handy version of Echo. It is a great product
Action button
enhances the woofer’s for people on-the-go as it is a portable device
output for deeper sounds
without distortion that can conserve up to nine hours of battery,
23.5cm while still providing access to Alexa.
7-microphone array
6.4cm (9.25-inch) Echo Dot is a sleeker and compact ver-
(2.5-inch) woofer Microphone off button
delivers deep bass response sion of Echo. Its dimensions are equal to the
5.1cm
size of a burger. It does not have the amaz-
Power adaptor
(2-inch) tweeter ing speaker of Echo; instead it comes with a
crisply hits the high notes
basic speaker at half the price of Echo. It has
Echo also includes a remote with a built-in microphone the option of connecting with an external
and music playback and volume controls.
8.3cm (3.27-inch) speaker via a cable or Bluetooth.

60 november 2016 | electronics For You www.eFYmag.com


test & measurement

Light-Weight PoWer SuPPLieS


Are Not Just Benchtop Anymore
I
n case of power supplies, the move location of the power supply system for
from a wall outlet to a benchtop might a product’s preliminary design, that is,
not be a significant development when power supply circuits and battery selec-
we have scientists working on wireless tion for client’s product analysis.
transmission of electricity. However, the Today, the power supply industry
move to portable power supplies has seen is at the beginning of a major focus
some interesting trends of its own. A lot shift that puts efficiency improvements
of focus is being laid on the supplies to be across the entire load range at the
operable in constant current, constant volt- forefront of customers’ performance
Saurabh Durgapal
is working as age, constant resistance, constant power requirements. “Newer supplies offer
technology and constant impedance modes. resolutions as low as 1mA and 1mV,”
journalist at EFY
Advances have also been in the fields adds Praveen Kumar Gupta, director,
of current measurement with nano-amp Avante Global Services Pvt Ltd. “Power
resolution, variable rise and fall times, supplies with the ability to measure
digital input-output, multiple PC inter- very low currents,” says Rao, when
faces, battery-simulating capabilities and asked about development areas.
kilovolt outputs. PPH-1503 from GW Instek provides
Raghunath Rao K., manager applica- 0.1mA (equivalent to 4⅘ digits) current
tion team, Tektronix India Pvt Ltd, says his resolution under 5A setting. “It is capable
company is focusing on minimising power of rise-time of 0.15 minutes and fall-time
consumption to increase battery life for of 0.65 minutes,” says Sharma.
battery simulators. He explains, “You need Multiple channel output. A common
a source measure unit with low current- trend has been to increase the number
measurement sensitivity to evaluate and of output channels. Though the most
qualify these devices for your design.” The common type of supply remains the two-
source measurement unit can test a device channel, we also have multiple channels
over the voltage range of the battery. coming in. MDL series from B&K Preci-
Sumit Sharma, marketing manager, sion is one such example. The series
Good Will Instrument Co. India, says, offers support for up to four modules or
“One particular requirement of power eight channels, with the number increas-
consumption for portable wireless commu- ing to up to eight modules or 16 channels
nications devices is pulse current.” Pulse with mainframe extension.
Fig. 1: A precision current measurement indicates transient Similar trends are seen in other
measurement current consumption, which helps in al- cases as well. The 382270 quad-output
DC supply
DC power supply from Extech has two
0 - 30V at 0 - 5A outputs plus two fixed
auxiliary outputs of 3V - 6.5V at 3A and
15V at 1A, taking the technical output
count to six channels.
Global Specialties has launched the
1415 dual-output DC power supply.
It features up to 30V at 3A with dual
independent outputs, wherein one fixed
output produces 5V at 3A. Load condi-
tion changes with automatic crossover
between constant current and constant

www.efymag.com electronics for you | november 2016 61


test & measurement
voltage modes. Separate three-digit
displays for voltage and current,
Trends at a glance
with individual control of voltage  Newer supplies offer resolution as low as 1mA and 1mV
and current, are some interesting  Simulate a battery so that performance can be verified
features in 1415.  Adjustable internal resistance, slew rate and inrush current
Programmable supply with  Multiple interfaces like LAN and RS232
USB connectivity. May be due to  Analogue control makes these useful for automated test setups as well
the Internet of Things (IoT) com-  Higher-end supplies can source as well as sink current
ing into the picture, or some other
reason, everybody wants to control quires moving the test setup to the high inrush currents as well as abil-
these devices from their computers. supply every time. However, Gupta ity to withstand sustained overloads,
The programmable feature allows says, “The devices are becoming without a detrimental impact on
remote control of their operation smaller and more energy-efficient.” overall performance. “Research labs
through an analogue input or digi- REOLINE range of portable power and test departments simply cannot
tal interface. “The latest versions supplies provides an adjustable operate effectively without variable
have various interfaces like LAN low-loss output voltage, in addition voltage,” says Steve Hughes, manag-
and RS232,” says Gupta. Applica- to being lightweight. The light- ing director, REO UK.
tions include automated equipment weight equipment are certainly Safety features in Genesys series
testing, crystal growth monitoring, more portable. These might not be from TDK Lambda include a safe
semiconductor fabrication and as portable as handheld equipment start, which returns the power
X-ray generation. 1350 DC power but the move has certainly begun. supply to its last setting configu-
supply from Global Specialties A case in point would be the ration post power interruption.
features programmable control via benchtop PSU 130 from Jameco Other features include over-voltage
USB interface and microprocessor- Electronics. This single-channel protection, under-voltage limit,
controlled circuits. supply is a compact little device fold-back protection and over-
National Instruments PXI-4110 is weighing about 500gm. With two temperature protection.
a programmable, triple-output pre- digital four-digit displays, it meas- Supplying the required power.
cision DC power supply in a single ures less than 15.2cm (6-inch). “Power supplies are going to stay
slot with three analogue channels It also features short-circuit and as tools for product design, testing,
in PXI module. It has 16-bit resolu- overload protection. QA, production as well as service
tion for programming the voltage Safety in equipment. One of the applications,” says Gupta. If recent
set point and current limit. sure-fire ways to damage a power advances are any indication, it
In case of the Z+ series from supply is to overload it. Excess seems all uphill from here.
TDK Lambda, connectivity op- current heats up the components, Rao says, “In the future, users
tions include built-in USB, RS232 which eventually fail. Components will require multiple-channel ver-
and RS485 interfaces, along with ranging from transistors and diodes sions of these supplies to address
LAN, GPIB and isolated analogue to resistors and capacitors could banks of batteries.” He adds, “Bat-
interfaces. Z+ is light as well; you easily burn out on overload. This tery simulators will incorporate
can move the power supply around calls for some safety features to be more sophisticated models to simu-
without hitting the gym. built into the device. late battery performance.”
Not a feather but still light. Among the various power sup- With computer connectivity
Benchtop equipment are generally plies in power supplies released through LAN and RS232, these
heavier than other types, which re- recently would be REOLINE range power supplies have made operation
of portable power easier as these save time and hassle.
supplies from According to Siglent, USB, LAN and
REO UK Ltd. It other interfaces will become stand-
features step- ard functions in power supplies.
less adjustment The circuit design of power supplies
of voltage from should be optimised to achieve bet-
absolute zero ter dynamic performance.
to maximum If innovations keep happening
output. Safety at this pace, we will probably have
features include some more interesting features in
Fig. 2: A system sourcemeter operation under the near future.

62 november 2016 | electronics for you www.efymag.com


IntervIew

Telecommunication:

They Can Sell Only If It


Benoit Derat
PhD, chief executive officer
Complies With SaR TeST
anD PresiDent, art-fi
RequiRemenTS
Telecommunication Engineering Centre and Department of Telecommunications
have strict rules on SAR measurements, and it is mandatory for any mobile phone
imported to India to be tested for SAR. Benoit Derat, PhD, chief executive officer and
president, ART-Fi, and Rahul Gautam, head - market development, electromagnetic
compatibility, Rohde & Schwarz, speaks with Sneha Ambastha, Electronics Bazaar,
to share their views about the market requirement for SAR testing and its benefits
rahul Gautam
heaD - market DeveloPment,
electromaGnetic comPatiBility,
rohDe & schwarz
take around four to five weeks, but electronically. These apply calcula-
with the machine we developed, it tion algorithms in a fast computer to
could be finished in one week. get the result delivered in seconds.
Q. what is sar?
A. Specific absorption rate (SAR) Q. how do newer sar testing Q. what is the international
is basically the amount of electro- devices work? situation on sar testing?
magnetic field produced by mobile A. Probes here are totally com- A. In Europe, people more or
phones. It is very important that we puterised and fixed, enclosed inside less ignore it, although there are
control it. Mobile manufacturers have the head or body of the mannequins obligations for displaying it. World
to measure and show this value on on the machine. The device itself Health Organization supports the
their device in compliance with expo- does not move but is placed against fact that there are some limits estab-
sure limits to human body. They can the mannequin to simulate various lished by some expert committees
only sell devices that comply with conditions of mobile phone usage. that should not exceed in order to
SAR test requirements. The device is fixed in one position make sure that human health and
and probes inside the mannequin are safety is not at risk. That is why it
Q. what is the difference between activated electronically to perform is very important that we continue
emc/emi testing and sar testing? a complete scan below the surface monitoring these types of values
A. Basic electromagnetic com- of the device. The scan captures the through equipment that can make
patibility (EMC) or electromagnetic energy that is transferred from the those measurements.
interference (EMI) testing is per- device into the biological tissue-sim-
formed for interference between ulating material. Then, algorithms Q. what is the critical sar value?
two machines. This is to ensure that are applied to obtain the field every- A. Compliance limit varies
radiation emitted by one machine where you wish to have it. across regions. India has chosen to
does not disturb other machines. But align to the USA limit, which is one
SAR testing only looks at the effect of Q. what are the specialties of this gram average SAR. This means SAR
radiation on human beings. new sar machine? average on one gram of tissue is lim-
A. The former technology would ited to 1.6W/kg. In other countries,
Q. how has sar testing evolved? measure only the magnitude of the limits are defined differently. For
A. Development of wireless electric field, but the new one meas- example, in Europe, ten grams SAR
technology using traditional and slow ures both magnitude and phase. You averaging is applied and the limit
methods has become difficult. This is can apply algorithms based on physi- is 2W/kg.
because, with development of tech- cal science to reconstruct the field in Scientists want to take a cautious
nologies like Long Term Evolution a complete volume from only a few approach by putting a very low limit
(LTE), the number of tests per device points using equations. This is not to make sure that we never get too
in order to perform SAR compliance possible with traditional systems. close to the edge of the cliff. As of
is extremely large. Traditional compli- Test time is also reduced due to now, the limits prove to be safe by a
ance testing of a smartphone would multiple probes that are connected large margin.

www.efymag.com electronics for you | november 2016 63


embedded

Selecting The
Right MicRocontRolleR
For eMbedded ApplicAtions

T
his article discusses the criteria for synchronous (PMSM) motor. Motor speed
selecting the right microcontroller is varied and controlled as per your input
(MCU) for different embedded appli- from the front-panel keypad.
cations. It also discusses the design chal- The MCU uses either internal or
lenges and system limitations of MCUs in external serial EEPROM (I2C/SPI based)
embedded applications. to store old data. It uses a real-time clock
for displaying accurate time. Temperature
Application in home appliance measurement is done using an onboard
industry resistance temperature detector, thermis-
Ronak Desai
is system The home appliance industry uses 8/16/32- tor or thermocouple based temperature-
engineering bit MCU based circuitry for motor control sensing device.
manager
at Cypress and TRIAC/LED/LCD drive applications. The MCU uses an external analogue-
Semiconductor, The MCU controls and manages all func- to-digital converter (ADC) and amplifiers
Bengaluru
tions and features of the home appliances. for different analogue inputs from sensors,
When you press Start button, inputs go to temperature sensors and battery. It uses
the MCU from the front-panel keyboard and external signal conditioning, comparators
the MCU starts the three-phase brushless and gate-driver circuitry for driving and
Fig. 1: Microcontrollers
in home appliance DC (BLDC) motor or the permanent magnet controlling the three-phase BLDC/PMSM
applications motor. The MCU receives remote
control inputs through an infrared
receiver (at 38kHz input).
Backlight LCD The MCU uses external buffer-
driver circuitry to drive 7-segment
Mechanical LED/LCD/graphical display. Typi-
Keypad
cally, a 7-segment LED/LCD/graphi-
Buffer
Optional cal display with backlight is used
EEPROM for showing the temperature, battery
Temperature
Sensor voltage, speed and error/warning
messages. The MCU also interfaces
Powers Supply IR Receiver with onboard peripherals like I2C/SPI
Input
and external peripherals like UART/
Analogue
Sensors
Buzzer USB for communication.
Amplifier +
ADC
Microcontroller
Signal Conditioning
Inputs Application in automotive
Signal Conditioning
and Comparators
industry
UART / The current automotive industry uses
USB
Gate Drivers
16- to 32-bit MCU based circuitry for
e-bikes. The circuitry controls and
Steam/
manages all functions and features
Motor
Suerheater
Control
Motor Power
of the automobiles. Once you use the
Relay/ TRIAC/
LED Controls
ignition key to start the automobile,
Fan
Control inputs go to the MCU. This starts the
three-phase brushless automotive mo-

64 november 2016 | electronics For You www.eFYmag.com


Temperature Reading
Speedometer
Backlight LCD Battery Status
Fuel Status
Distance
Mechanical
Keypad

Optional
EEPROM
Temperature
Sensor

Hall Effect Horn


Relay Drivers Brakelight/Headlight
Obstacle Directionals
Sensor

Amplifier + Signal Conditioning


Throttle Microcontroller Inputs
Inputs ADC
Signal Conditioning
Pedal and Comparators
Rotation Amplifier +
Inputs ADC Gate
Drivers

Fuel sensor
Motor Power
(From Battery)
Battery Input
Brake Input

DC/DC Battery Fuel Gauge Battery


Converter Charger Protection

Temperature
Sensor
Battery Management

Fig. 2: Microcontrollers in automotive e-bike applications

tor. The MCU receives vehicle input display. The MCU uses relay-driver
signal and the vehicle starts moving. circuitry for switching brakelight/
The MCU uses driver circuitry to drive headlight on or off and for blinking
the three-phase brushless automotive directional lights.
motor as per speed required by the The power supply section uses
user. Speed of the motor varies and is rechargeable lead-acid/lithium
controlled as per acceleration brake battery as the power source. It also
sensor input from the user. has provision for a battery charger.
The MCU uses either internal or Battery input is down-converted
external serial EEPROM (I2C/SPI to DC voltage to power the MCU
based) for storing data like distance and other circuitry. Ignition key
readings. It uses RTC for displaying of the e-bike enables and disables
accurate time on the display. Temper- onboard regulators.
ature measurement is done by using The power supply section incor-
an onboard RTD or thermistor based porates protection features for bat-
temperature-sensing device. tery, over-current, over-heating and
The e-bike solution in the au- start-up fail, which are controlled by
tomotive industry uses an obstacle the MCU. It also enables charging of
sensor to get information about external devices like mobile phones.
nearby vehicles while parking, a fuel
sensor to get information regard- Application in mobile phones
ing the amount of fuel in the tank, and tablets
while an MCU monitors battery Current mobile phone and tablet
voltage and shows it on the LCD designs use 8/16/32-bit MCUs as

www.eFYmag.com electronics For You | november 2016 65


embedded
driver circuitry to drive LCD or
Sensors,
Accelerometer, graphical displays. Typically, an LCD
Audio
USB Magnetic, ALS
CODECs or a graphical display with backlight
Power Supply and Interface Controller Proximity
Sensor for
is used in low-end mobile phone
Charging Controller
Face Detection applications. The MCU also controls
the backlight of LCD and graphical
LCD
Controller 3G/4G displays. It uses touchscreen control-
Modem lers for the touchscreen interface in
Baseband and Application
Memory Flash, high-end mobile phone applications.
Processors
RAM, External GPS The MCU uses a mechanical
keypad for your inputs in low-
GSM/ end mobile phone applications.
CDMA Bluetooth
It uses CapSense/touchscreen
based keypads in high-end mobile
CapSense Touchscreen Camera Interface
Wi-Fi phone applications.
Controller Controller Controller
The MCU monitors lithium-ion
Fig. 3: Mobile phone block diagram battery voltage and is also used for
battery-charging application. It is
a co-processor for different func- activate broadband and application also used for fault detection and data
tions. The MCU receives signals processor for face detection. recovery in mobile phones.
from analogue sensors (temperature The MCU enables face detection The MCU uses haptics (tactile
sensors like thermistors, resistance by detecting proximity of your face, feedback technology) in mobile
temperature detectors and humidity ear or head to eliminate false touches phones for replacing mechanical but-
sensors that receive analogue inputs of the touchscreen. This reduces tons that interface with you through
and provide digital voltage, which talktime power by powering down the sense of touch by applying force,
is applied to the MCU), 2/3-axis the touchscreen. It is implemented vibration or motion.
accelerometers (that measure 2/3- by using infrared proximity sensors. The MCU interfaces with broad-
axis movements and convert it to The MCU uses a proximity sensor band and application processor and
digital voltage, which is applied to for specific absorption rate (SAR) other onboard peripherals (like cam-
the MCU) and ambient light sensors regulation in tablet applications. era interface controller) through I2C
(ALSes) interface. SAR is the rate at which energy is and SPI interfaces. It interfaces with
Ambient light sensor enables absorbed by the human body when broadband and application proces-
automatic control of display back- exposed to radio-frequency elec- sor in host (master) and slave mode
light brightness over a wide range of tromagnetic waves. The proximity for data transfer. Broadband and
illumination conditions, from a dark sensor dynamically regulates radio application processor use onboard
environment to direct sunlight. With transmissions near human beings. USB 2.0/3.0 controller to transfer
ALS input, an MCU or baseband The MCU uses external buffer- data externally.
processor increases or decreases
display brightness, depending on Sensors,
Accelerometer,
the environment. The MCU also Magnetic, ALS
Audio
USB CODECs
receives magnetic sensor inputs Power Supply and Interface Controller Proximity
through external ADCs and buffer Charging Controller Sensor for
SAR Regulation
circuitry. Besides, it uses the acceler-
ometer and mechanical joystick for LCD
Controller 3G/4G
running gaming applications. Modem
The MCU uses proximity sensors Baseband and Application
Memory Flash,
for face detection and hand-move- Processors
RAM, External GPS
ment (grip detection) in mobile
phones. When you move the phone GSM/
near your face, the MCU switches CDMA Bluetooth

off the keypad, and when you move


CapSense Touchscreen Camera Interface
your hand near the keypad, it acti- Controller
Wi-Fi
Controller Controller
vates/switches on the keypad. The
MCU uses host interrupt feature to Fig. 4: Tablet block diagram

66 november 2016 | electronics For You www.eFYmag.com


Sensor Input, Analogue
Position Sensor, Input Audio
Audio Input Amplifier

ADC and
Comparator
DAC

Buzzer
SDA

EEPROM SCL
Buffer LCD/Graphical
Display

Wireless/
Mechanical Microcontroller Bluetooth
Keypad Interface

UART/
I2C/
Battery Inputs SPI

Power Supply MOSFT M


Section Drive
DC Motor
LED1 LED2 LED3 Control

Low Battery Charging User


LED LED LED

Fig. 5: Microcontrollers in toy applications

Application in electronic toys in high-end applications.


Current electronic toys use 8/16-bit The MCU uses a mechanical
MCUs for motor control, LED/LCD/ keypad for inputs in low-end ap-
graphical display drives, different plications. It uses CapSense/touch-
input and output interfaces, battery screen based keypads in high-end
sensing and audio output. An MCU applications. The MCU interfaces
in chip-scale package (CSP) is most with other onboard peripherals (like
commonly used in electronic toys. camera interface controller) through
The MCU receives signals from I2C, SPI and UART interfaces.
analogue sensors (that receive Toy applications use coin-cell or
analogue input and provide digital lithium-ion batteries for operation.
voltage, which is applied to the The MCU monitors the coin-cell
MCU) and 2/3-axis accelerometer or lithium-ion battery voltage, and
(that measure 2/3-axis movement even battery-charging. It is also used
and convert it to digital voltage, for fault-detection and data-recovery
which is applied to the MCU). It applications.
also uses the accelerometer and me- The MCU used in proprietary
chanical joystick for running gaming 2.4GHz technology is targeted for
applications. remote-controlled toy. Gaming con-
The MCU uses external buffer- trollers and remote-controlled toys
driver circuitry to drive LED, LCD are also witnessing customers shift-
or graphical displays. Typically, ing from infrared to radio frequency.
LCD or graphical displays with
backlight are used in low-end ap- System limitations and
plications. The MCU also controls use of PSoC
the backlight of LCD and graphical A programmable system on chip
displays. It uses a touchscreen con- (PSoC) is a combination of an MCU
troller for the touchscreen interface with programmable logic and high-

www.eFYmag.com electronics For You | november 2016 67


embedded
performance analogue-to-digital The tool also has a real-time SmartSense component, which auto-
converters and commonly-used clock component for real-time tunes the sensitivity of CapSense
fixed-function peripherals. The PSoC measurement. It has an internal buttons and slider (does not require
family is made up of 8-bit (PSoC1 system clock and so does not require manual tuning).
and PSoC3) and 32-bit MCUs external clock/oscillator circuitry. Its A PSoC supports the waterproof-
(PSoC4 and PSoC5). These have other components include a timer, ing application. It also supports
flash memories up to 256kB, SRAM buzzer, infrared and fan controller. proximity function for the front key-
up to 64kB and internal EEPROM PSoC Creator IDE tool enables pad; the front keypad gets activated
up to 2kB. (Flash can be used to you to make use of an entire tools when you place your hand near
emulate EEPROM.) PSoC works in ecosystem with integrated compiler the keypad.
ultra-low power mode. In this mode, tool chains, RTOS solutions and A PSoC can directly drive LED
it consumes less than 1µA current, production programmers. With this and LCD displays (segment LCDs,
which is useful for operating in tool, you can create and share user- graphic LCDs and character LCD
standby mode. defined custom peripherals using displays) for displaying channel and
Using PSoC Creator IDE tool, all hierarchical schematic designs. You volume information. It has an operat-
interface and logic can be designed. can automatically place and route ing range of 1.71V to 5.5V, so it can
This tool is a readily-available com- chosen components and integrate be easily interfaced with external
ponent block for designing interface simple glue logic, normally located peripherals for other applications.
and logic like SARADC and PGA for in discrete devices. A PSoC works in ultra-low
analogue sensors and other inputs. A PSoC supports CapSense power mode. In this mode it con-
PWM, CLK, MUX and comparator technology, which replaces mechani- sumes less than 1µA current, which
components are used for motor-drive cal buttons with a CapSense based is useful for low-power-battery
applications. Character LCD and seg- keypad. This reduces failure due to based applications.
ment LCD components directly (do mechanical buttons and provides A PSoC has internal PGA, com-
not require external buffers) drive better product reliability. PSoC parators and configurable delta-sigma
LCD/graphical LCDs. Creator IDE tool supports CapSense ADC with 8- to 20-bit resolution,

68 november 2016 | electronics For You www.eFYmag.com


with sample rates up to 192ksps. It is a design challenge for the system
is used to measure different ana- designer. The solution involves
logue and battery inputs. electromechanical construction and
Implementation of touchscreen designing a compact and cost-effec-
based design on the front panel tive electromechanical solution.
instead of an LCD display and key- Certifying this electromechanical
pad provides better user interface design with EMI/EMC standards is
and flexibility. another challenge for the designer.
External devices. PSoC can Using flexible printed circuits inter-
communicate with external devices face for displays, touch panels and
like iPod and iPhone through UART buttons is also a design challenge.
and USB protocol. You can control A PSoC supports CapSense
such devices. technology. Using PSoC in the
PSoC4 supports code security design, CapSense based button,
for home appliance solutions due slider and proximity can be im-
to programmable architecture. plemented for front-panel design.
A PSoC can connect to devices Meeting CapSense performance
like Bluetooth controllers, so that (signal-to-noise ratio) with nearby
you can create a network of LEDs (PWM based) on the front
automated devices. panel is also a challenge for the
In the world of cortex proces- system designer.
sors, operating range is up to 3.3V. Implementing auto-tuning with
PSoC4 supports an operating range variation in trace capacitance, vari-
of 1.71V to 5.5V. ation in CapSense button and slider
Failure analysis and returned sizes and shape are other design
materials. Increasing the number of challenges, along with implementing
internal and external interfaces on CapSense sensing with thicker glass
the board will increase the number material (display glass) and meeting
of ways that an intruder can create CapSense sensitivity with that type
havoc on the system. This is one of of materials.
the single-largest limitations of this Fault detection and recovery
embedded system, which can be mechanism is required in most ap-
solved by a single-chip solution. plication. Power supply design with
A PSoC has an internal RTC com- battery protection, over-current,
ponent for real-time measurement. over-heating, start-up fail condition
It does not require external clock/ is required for home appliance ap-
oscillator circuitry. plications. Implementing self-diag-
It supports USB 2.0 interface, nostics in home appliance applica-
allowing you to interface external tions is another design challenge for
memory (hard disk) through USB the system designer.
2.0. It also supports SD card inter- Last, but not the least, as final
face. A PSoC has an internal 8-bit solution is expected to work 24/7
digital-to-analogue converter (DAC), continuously, component selection
which can be used for controlling and reliability is a challenge.
speaker volume and for muting
the speaker. Conclusion
A PSoC is a combination of an
Design challenges MCU and ASIC. It provides ease-
An MCU with one-time programma- of-use environment. Using PSoC in
ble feature prevents reverse engi- above-discussed applications helps
neering of the firmware by competi- reduce product cost (by reducing
tors and hackers. Implementing pro- bills of materials cost) and project
tection against voltage fluctuations, cost (with PSoC Creator and PSoC
waterproofing and water-tolerance Designer implementation).

www.eFYmag.com electronics For You | november 2016 69


buyers’ guide

Selecting Assembled PCB Desktop


ManufaCturing EquiPMEnt
T
his buyers’ guide explains how desk- or stencil printer, pick-and-place machine,
top manufacturing equipment can be reflow oven, board DE-fluxing machine,
used for full product realisation and to stencil cleaning machine and automated
understand how production considerations optical inspection system. Steps involved
inevitably impact the design process. When in producing a PCB are:
designing a product the most important fac- 1. The screen printer applies solder
tor is defining a product’s success. However, paste to the PCB on pad locations.
with advancements in desktop manufactur- 2. The pick-and-place machine picks
ing, most parts can now be produced in- up, inspects and puts surface-mount tech-
Nidhi Kathuria
is a senior house, which saves a lot of time. nology (SMT) components in a particular
application Presented in this article are the differ- position on programmed locations.
engineer at EFY
Labs, New Delhi ent technologies and buying tips for the 3. Board DE-fluxing and stencil clean-
most popular types of desktop manufactur- ing machines are used for cleaning the
ing equipment. For a new product, the first PCB and stencil, respectively.
thing is the product realisation process, 4. Automated inspection equipment are
which encompasses the entire cycle of used for inspection of the assembled PCBs
production and mechanical design so that for detection of any wrong placement or
all components including assembled printed missing components.
circuit boards (PCBs), are designed to fit Electronics manufacturing using SMT is
into the mechanical design. a method in which electronic components
Then, if everything is okay, PCB designs are assembled with automated machines
are verified and finalised and their Gerber that place components on the surface of
files are sent for production of the PCBs to a board. The process involves making the
the PCB manufacturer. Sometimes, manu- PCB and assembling the components on
facturers may revise these files before they that PCB.
proceed further. Also, they may provide After checking availability of various
turn-key solutions, where they make PCBs, types of desktop manufacturing equip-
source components, make stencils and as- ment, you should consider the various
semble PCBs, all at one place to save time, types available and be familiar with the
in order to meet the pace of the market. associated pros and cons. All PCB proto-
typing work can be done in-house and
Key factors involved in time-to-market can be reduced.
PCB manufacture
Basic equipment for PCB production on the Selection criteria
basis of the board as input are the screen Stencil printers. The first stage of auto-
mated assembling of PCBs is stencil print-
Fig. 1: Desktop
stencil printer ing. For this we require stencil, solder
paste and printer. Components are either
leaded or SMT soldered to the board and
exposed areas of the board are tinned
or plated with solder. Stencil printers
are available in three configurations, as
given below:
Manual. Simple printing devices are
suitable where high-precision alignment
of a stencil-PCB is not critical. These are

70 november 2016 | electronics For You www.eFYmag.com


suitable for low volumes of up to 150 Distance between two adjacent
boards per day. leads; specified in millimetres
Semi-automatic. Loading and Range of components. Capability
unloading of PCBs is done manually of placing a variety of components
in this case. These as suitable for such as LEDs, ball-grid arrays, quad-
professional electronics products with flat packages and SMT connectors
medium volumes of up to 500 boards Picking modes. Capability of
per day. picking parts from tapes, tubes or
Fully-automatic. These are used Fig. 2: Benchtop model of pick-and-place machine trays and loose components
for precision and in-line high-volume Software. Windows based, user-
production of more than 500 boards friendly
per day. Reflow ovens. Reflow solder-
Nearly 85 per cent of the defects ing is a process in which solder
produced in an SMT production paste, which holds components
line result primarily from the print- temporarily to their contact pads
ing process. Careful selection of the on the PCB, melts and reflows
printer is therefore imperative. Major when subjected to controlled heat,
considerations for selection of stencil Fig. 3: Automatic desktop pick-and-place machine thereby permanently connecting
printers are explained below: the components to pads. There are
Maximum size. Maximum size two types of reflow ovens: infrared
of the PCB the printer can handle; (IR) and convection.
length and breadth expressed in In IR reflow ovens, heating is
millimetres achieved by using IR ceramic heat-
Minimum size. Minimum size ing elements. When assemblies are
of the PCB the printer can handle; moved in a specified direction con-
length and breadth expressed in stantly into the conveyors, radiating
millimetres elements heat the components and
PCB thickness. Lower and Fig. 4: SMT reflow oven heat is moved to the solder paste.
higher limits of the PCB; specified In convection reflow ovens, the
in millimetres at a high speed with a high degree PCB is transported through a con-
Stencil size. Maximum and mini- of precision. veyor system. It has multiple zones,
mum size of the stencil; length and Benchtop pick-and-place models which can be individually controlled
breadth specified in millimetres offer low-cost solutions for low- to for temperature.
Printing accuracy. Specified in medium-volume SMT placement Selection criteria for a desk-
millimetres and Sigma limits applications. Selection of the top model of the reflow oven are
Cycle time. Standard printing time machine is normally based on the given below:
under optimum condition specified following parameters: Welding requirement. Able to
in seconds Placement rate. Capacity of plac- satisfy all welding specifications of
Printing mode. Single- or double- ing a number of components in one 0201 resistance and capacitance,
side printing hour; specified as components per fine spacing QFP, SOP, PLCC, BGA
Cleaning system. Dry/wet/ hour (CPH) and CSP.
vacuum Placement accuracy. Accuracy of Size of oven. Able to consistently
Operation system. For the integral placing components at designated reflow product at required speed to
computer place on the PCB; specified in µm meet production needs
Automated SMD pick-and-place and Sigma limits Maximum board width. Maxi-
machines. SMT component place- Component size. Dimensions of mum size of PCB the machine
ment systems, commonly called length and breadth specified in can handle
pick-and-place machines, are used millimetres Heating supply. IR ray or hot-air
for placing surface-mount devices Minimum. Minimum size of convection
(SMDs) onto a PCB. These are also component that can be handled Temperature-control segments.
capable of placing of a broad range of Maximum. Maximum permissi- Maximum number of segments
electronic components like capaci- ble size of components the machine that can be set and controlled for
tors, resistors and integrated circuits can pick and place temperature; control can be manual
onto the PCBs from tapes and trays Minimum component lead pitch. or using a PC

www.eFYmag.com electronics For You | november 2016 71


buyers’ guide
to parameters of the board includ-
General selection criteria for each desktop manufacturing equipment is that the apparatus
must be able to produce real parts from real production materials. For example, a desktop ing size, complexity, components
CNC mill must be able to machine materials such as brass and aluminium, as well as wax. density and range of components
Also, plastics production machinery can be used to fabricate parts large enough to be to be mounted on the board; setup
used for a number of applications. Those who are familiar with computerised numerical for manufacturing of a motherboard
cutting know how great it can be for creating customised equipment and parts, hence, vastly differs from that of the con-
making it ideal for home offices.
trol card of an AC.
Volume of production. Manual-
Component. Position, condition, ly-operated machines are unsuitable
wrong polarity, alignment skewed, for high-volume production. On the
leads bent or lifted and wrong value other side, fully-automated ones are
Solder. Bridging, open, insuffi- expensive in terms of initial as well
cient or short solder balls as running costs.
Algorithms. Should be able to Quality of product. Machine and
scan components based on colour process should make the product
and barcode meet industry or military standards.
Programming skill level. Engi- Reliability. Once setup is
neer, technician or operator placed into service, it is critical
Operating system. Of integral that it remains operational. Equip-
computer ment in the setup therefore should
Assembled desktop 3D printer. withstand the rigors of production.
Fig. 5: Desktop AOI machine One area that remains largely Maintenance downtime should
unexplored is the use of additive not be overlooked. Maintenance
Welding time. Time taken for manufacturing for electronics. Due requirements should be com-
completion of welding of one board; to the complexity involved, develop- pared carefully before selecting
expressed in minutes ment of 3D printers in the electron- the equipment.
Compatibility. Lead and lead-free ics industry is still in its infancy. Life cycle. Machine should pro-
reflow applications Once convergence of electronics and vide seven to ten years of service.
Automatic or automated optical 3D printing matures, it will have Vendor credibility. Credibility of
inspection, or AOI. This is an essen- staggering implications on PCBs and manufacturer or vendor is of utmost
tial tool in an integrated electronics rapid prototyping. importance. Their experience, stand-
test strategy. It helps in fast and ac- While it is unlikely that 3D print- ing in the market, provision of train-
curate inspection of PCBs to ensure ers for electronics will replace all ing facilities, clause of maintenance
that the PCBs leaving the production traditional processes for in-house support, location of service centres,
line have been assembled correctly development of high-performance provision of field service and avail-
and without manufacturing faults. electronic device applications, ability of spares are some aspects
The AOI machine is normally placed these will be particularly useful in that must be considered.
into the production line just after rapid prototyping.
the soldering process, so that the Conclusion
defective card is removed from the Buying tips Manufacturing setups for assem-
assembly line at an early stage. The Facilities offered by a machine need bling PCBs are very expensive in
machine should be able to detect to be carefully analysed by matching terms of initial and running costs.
soldering and component defects. these against costs to ensure that These are available from highly-
Specifications for evaluation and the choice made is correct for the integrated as one setup to an
selection of an AOI are given below: particular production environment. ensemble of stand-alone machines.
Throughput. Area scanning General selection criteria and buying Once established, the facility must
capability per second; number of tips for selection, which are applica- remain operative for all times
components scanned per hour ble to all equipment and processes, except when under maintenance.
Maximum board size. Maximum are as under: It is therefore imperative that
dimension that can be scanned; Nature of business. Whether evaluation of machines is done on
specified in length x breadth you want to be an original equip- the basis of the nature of busi-
in millimetres ment manufacturer or contract/cus- ness, volume of production, profile
False calls. Percentage of false tom manufacturer, or both. of product and dependability of
detection (<0.05% typical) Profile of the product. Relates the vendor.

72 november 2016 | electronics For You www.eFYmag.com


Industry News Make in india

Electronic products policy to now On The Move


focus on exports Cognizant appoints Rajeev Mehta
as president
NITI Aayog, the government of accounting for 58 per cent of the
IT major Cognizant has appointed
India’s premier policy institute, has total. NITI Aayog had initially come company veteran Rajeev Mehta as its new
dumped its ‘Make in India Strategy out with a draft policy that sought to president. He replaces Gordon Coburn,
for Electronic Products’ and has attract global electronics manufactur- who has resigned from the company.
floated another policy, which is ers to set up units in India and give Mehta joined Cognizant in 1997.
more export-oriented and favours a push to Prime Minister Narendra Lt Gen Chandele appointed as
developing coastal economic zones. Modi’s ‘Make in India’ project. The president of IETE
The previous policy paper faced op- draft policy suggested a ten-year tax Lt Gen (Dr) AKS Chandele, PVSM,
position from Ministry of Electronics holiday for companies investing over AVSM, (Retd) has been appointed as
& Information Technology, earlier US$ 1 billion in electronics manufac- president, Institution of Electronics and
Telecommunication Engineers, India.
Department of Electronics and IT turing or creating 20,000 jobs in India.
Established in 1953, the organisation
(DeiTy), as well as reservations from The same has now been junked is devoted to the advancement of
other stakeholders mainly because in favour of the proposal to set up electronics, telecommunications,
of its domestic focus and emphasis coastal economic zones for labour- computers, information technology and
on semiconductors. intensive sectors in the country, other related disciplines. The government
of India has recognised it as Scientific and
India’s domestic consumption much along the lines of China, to
Industrial Research Organisation (SIRO)
of electronics hardware was US$ enable manufacturers to tap overseas and has also notified it as an Educational
63.6 billion in 2014-15, with imports markets without much difficulty. Institution of National Eminence.

Cyient announces SVP, semiconductor


Worldwide semiconductor capital spending to decline business unit head
0.3 per cent in 2016 Cyient, a global provider of engineering,
manufacturing, networks and operations
Worldwide semiconductor capital focus their spending on ramping fabs services and analytics solutions, has
spending is projected to decline 0.3 for the introduction of high-volume announced the appointment of Suman
per cent in 2016, to US$ 64.6 billion, ten-nanometre production in 2017 and Narayan as senior vice president and
according to Gartner Inc. This is up memory producers are focusing on head for semiconductor business unit.
Narayan has over two decades of
slightly from the estimated 0.7 per the move to 3D NAND flash.” experience in the semiconductor industry.
cent decline in Gartner’s previous China remains something of a
quarterly forecast. The market is wild card, after the announcement First woman director takes charge
expected to return to growth in 2017, of multiple fab projects that will aid at BEL
increasing 7.4 per cent. overall growth through the end of the Anandi Ramalingam has taken charge as
director (marketing), at Navratna Defence
David Christensen, senior research decade, while a stronger US dollar
PSU Bharat Electronics Ltd (BEL). She
analyst at Gartner, has said, “Out- in 2016 will remain a key factor in was general manager heading Military
look for equipment has improved determining revenue growth of semi- Communication Strategic Business Unit
significantly as logic manufacturers conductor manufacturers. at BEL’s Bengaluru Complex prior to her
elevation.

Solar installations in India cross 8.6GW Vinod Sawhny steps down as CEO,
Reliance Communications
Cumulative solar installations in Approximately 500MW of Reliance Communication chief executive
India have reached 8643MW as of solar has been installed in about a officer (CEO) Vinod Sawhny has stepped
September 2016. Mercom is forecast- month since Mercom last reported down from the post, citing personal
reasons. The company has mentioned
ing solar installations to reach ap- installation figures for India. Four
that William (Bill) Barney and Gurdeep
proximately 4.8GW for calendar year states have crossed the 1GW solar Singh will now function as acting co-
2016. So far, installations in calendar installation mark. Out of the 8.6GW chief executives of the company with
year 2016 have reached 3.8GW. installed so far, Tamil Nadu, immediate effect.

www.efymag.com electronics for you | november 2016 73


Industry news

Calendar of Forthcoming Electronics Home automation to drive


Fairs/Exhibitions/Seminars/Events next phase of growth for
connected devices in India
Name, Date and Venue Topics Contact address for details
Reos, a consumer hardware and
CEF Shanghai 2016 Topics include electronics and electrical, The Organizing Committee of China
November 8-10, 2016 consumer electronics and information and Electronics Fair software brand from Cube26, has
Shanghai New International Expo communications, technology Website: www.chinaexhibition.com released a survey on ‘The IoT In India
Centre (SNIEC), China
Gartner Symposium/ITxpo 2016 Helps identify and explore technology and Gartner Events
- What The Consumer Knows and
November 15-18, 2016 service providers to address specific needs Website: www.gartner.com Wants.’ The findings reveal that India
Goa, India
is currently at an early adoption stage
World Robot Olympiad India 2016 Event for science, technology and education WRO India
November 25-27, 2016 that brings together young people from all Website: www.wroboto.org and there is a need to create aware-
New Delhi over the world to develop their creativity and
problem-solving skills through challenging and
ness. As per the survey, merely 22.5
educational robotics competitions per cent of the consumers surveyed
Mechatronika 2016 Topics include ICT, power electronics, sensors, Department of Air Defence Systems are familiar with the concept of the
December 7-9, 2016 EMC, actuators, modelling and simulation, Website: http://mechatronika.fel.cvut.cz/
Prague, Czech Republic robots, industrial applications, military Internet of Things (IoT), with maxi-
technologies, measurement and diagnostics,
bio-mechatronics, among others mum awareness seen in the 36–55 age
CeBIT India 2016 Innovation expo, powered by technology, CeBIT India
group. This shows that there is a huge
December 8-10, 2016 with focus on five hot trends Websit: www.cebit-india.com opportunity for increased adoption.
BIEC, Bengaluru
With advancement of Internet
Mobile Broadband India 2016 Conference for telecoms to learn how to drive Bharat Exhibitions
December 14, 2016 Indian economy and bridge the digital divide Website: www.bharatexhibitions.com penetration, 65 per cent of smart-
Courtyard Marriott, Mumbai
phone users are connected 24/7 of
IEEE International Conference The conference provides a platform for Government Engineering College Thrissur
on Power Electronics, Drives discussions, networking and publication of Website: www.pedes2016.org which 97.2 per cent access the Inter-
and Energy Systems the benefits of power electronics and its allied net from home. The survey highlights
December 14-17, 2016 technologies
Trivandrum, India that currently only 21 per cent own
Technovanza 2016 A techno-management event Technovanza IoT/connected devices that include
December 23-25, 2016 Website: http://technovanza.org/ 12 per cent wearables and nine per
VJTI Campus, Pune
cent home automation, while 51 per
CES 2017 Gathering place for those who thrive on the Consumer Technology Association
January 5-8, 2017 business of consumer technologies Website: www.ces.tech cent are inclined to experience con-
Las Vegas, Nevada, USA
nected devices in the future majorly
India Electronics Week An exhibition for the global electronics EFY Enterprises Pvt Ltd
March 2-4, 2017 industry showcasing concurrently seven Phone: +91-11-40596605 in the home automation segment.
Bangalore International Exhibition events: Electronics For You Expo, DIY Expo, Website: www.indiaelectronicsweek.com
Centre, Bengaluru Electronics Rocks, T&M India, LED Asia,
Raksha India and IoT Show New initiative to boost
Embedded World 2017 Fair with the focus exclusively on embedded Embedded World 2016
Digital India programme
March 14-16, 2017 technologies, it reflects the trends in the sector Website: www.embedded-world.de/en
Nuremberg, Germany Ministry of Electronics and IT (Me-
IoT Summit 2017 Forum to present and highlight the latest trends, Iot Summit 2017 itY) plans to deploy a chief informa-
March 16-17, 2017 products, applications, development and Website: www.iot-summit.org
Convention Center, Santa Clara, business opportunities in the IoT tion technology officer (CITO) in the
California, USA various departments that come under
China Coil Winding and Professional exhibition for small motor, Wise Exhibition (Guangdong) Co. Ltd the ministries.
Electronic Transformer Expo magnetic material, electronic transformer, coil Website: www.motor-expo.cn/En/
2017 winding and insulation material As per MeitY’s ruling, a CITO will
May 18-20, 2017
Shenzhen Convention and be appointed in 34 departments and
Exhibition Center, China ministries. The officer will be an-
Since this information is subject to change, all those interested are advised
to ascertain the details from the organisers before making any commitment.
swerable to the current IT secretary,
Aruna Sundararajan.
Further, to boost the govern-
Rajasthan, Gujarat and Andhra among thermal projects, and avail- ment’s Digital India programme, the
Pradesh have had significant activ- ability of cheap power on power ministry has proposed to set up a na-
ity and account for 59 per cent of exchanges across the country. tional e-governance academy. A fund
total installations. According to Raj Prabhu, chief of US$ 74 million (` 5 billion) will be
India currently has 14GW of executive officer of Mercom Capital set aside for this purpose.
solar projects in various stages of Group, “The challenge will come To promote e-governance on a
development and another 7GW next year when approximately 9GW national scale, the ministry has pro-
waiting to be auctioned. Solar instal- of solar power is forecast to be posed launching a mobile app called
lations are continuing to grow, even installed. Unless the must-run status Umang. This app will function as a
with a slowdown in power demand, for solar projects is strictly enforced, common platform across India for all
a decline in capacity utilisation we will see some challenges.” government-related services.

74 november 2016 | electronics for you www.efymag.com


Snippets
Winners of the
ELCINA-EFY Awards 2015-16
Rajasthan gets 500,000 LED streetlights Exports
Rajasthan has become the first state to adopt the Large scale
centre’s Street Lighting National Programme in all First prize : SFO Technologies Pvt Ltd, Cochin
its urban local bodies. Almost 500,000 conventional Second prize : EPCOS India Pvt Ltd, Kalyani (WB)
Certificate of Merit : Cosmo Ferrites Ltd, Solan (HP)
streetlights have been replaced with LED streetlights
Medium scale
across the state. The project has been funded by
First prize : Sahasra Electronics Pvt Ltd, Noida
Energy Efficiency Services Ltd at no cost to the state. Second prize : Globe Capacitors Ltd, Faridabad
Certificate of Merit : Qmax Test Equipments Pvt Ltd, Chennai
ESDM space to get ` 2000 billion investment
Investments up to ` 2000 billion are expected in India in
Quality
the electronic system design and manufacturing (ESDM) Large scale
First prize : Salcomp Manufacturing India Pvt Ltd, Sriperumbudur (TN)
space within the next four years, says industry body India Second prize : SFO Technologies Pvt Ltd, Cochin
Electronics and Semiconductor Association. Its president Certificate of Merit : Astra Microwave Products Ltd, Hyderabad
M.N. Vidyashankar has said that applications cleared SME
at the central and state levels over the last two-and- First prize : Cubix Control Systems Pvt Ltd, Noida
half years are worth about ` 1500 billion, under various Second prize : SGS Tekniks Manufacturing Pvt Ltd, Gurgaon
programmes in the ESDM space. Research and development
Coal India to set up solar plants in four states First prize : Electronics Corp. of India Ltd, Hyderabad
Second prize : RenewSys India Pvt Ltd, Bengaluru
Coal India Ltd has signed an agreement with Solar Certificate of Merit : Matrix Comsec Pvt Ltd, Vadodara
Energy Corp. of India to set up power plants totalling a Certificate of Merit : Sattva Etech India Pvt Ltd, Bengaluru
capacity of 1GW, at various parts of the country.
In its annual report, Coal India has stated that in the
Excellence in innovation
first phase, it will set up two 100MW solar power plants First prize : Deepti Electronics & Electro-Optics Pvt Ltd, Bengaluru
Second prize : ELCOM International Pvt Ltd, Kolhapur
in Madhya Pradesh. In the second phase, it will develop
a capacity of 600MW in the solar parks of Madhya Environment management
Pradesh, Chhattisgarh, West Bengal and Maharashtra.
Large scale
HP to acquire Samsung printers First prize
Second prize
: Salcomp Manufacturing India Pvt Ltd, Sriperumbudur (TN)
: EPCOS India Pvt Ltd, Kalyani (WB)
HP Inc. has agreed to buy Samsung Electronics Co.’s Certificate of Merit : Astra Microwave Products Ltd, Hyderabad
printer business for US$ 1.05 billion, a deal designed SME
to help the Silicon Valley company expand into high- First prize : Elin Appliances Pvt Ltd, Solan (HP)
volume devices that handle printing and copying for
office work groups.
Business excellence
The transaction, which is subject to regulatory First prize : Sasmos HET Technologies Ltd, Bengaluru
Second prize : BlackPepper Technologies Pvt Ltd, Bengaluru
approval, is expected to close within 12 months. After it
Certificate of Merit : MyBox Technologies Pvt Ltd, New Delhi
is completed, Samsung has agreed to make an equity Special Certificate of Appreciation : SFO Technologies Pvt Ltd, Cochin
investment of US$ 100 million to US$ 300 million in HP
through open-market stock purchases. Entrepreneurial excellence
Panasonic aims for robust growth in India First prize (from an existing company) : N. Jahangir, vice chairman and managing director,
SFO Technologies Pvt Ltd, Cochin
Home appliances and consumer electronics major First prize (new company) : V.P. Sajeevan, founder and CEO,
Panasonic India has said it is aiming for 40 per cent ESY Tech Resources India Pvt Ltd, Gurgaon
Special recognition for innovative : Rahul Jain, director
growth in the current year, riding on the growing 4G approach to entrepreneurship FIEM Industries Ltd, Sonepat
handset market and the upcoming festive season.
Panasonic India president and chief executive,
Manish Sharma, has said that the company is aiming Special Jury Awards
at 20 per cent growth for consumer durables in 2016
Electronics Man of The Year:
compared to last year’s business of ` 40 billion, while Josh Foulger, managing director, FIH (India) – Foxconn, Sriperumbudur (TN)
the firm’s mobile phones division is expected to do a Exemplary contribution to defence technologies and electronics:
turnover of ` 25 billion in 2016, compared to ` 18 billion Dr G. Sateesh Reddy, scientific advisor to the defence minister and director general, DRDO
Outstanding contribution to innovation and development of the domestic supply chain:
last year. Vipin Tyagi, executive director, C-DOT, New Delhi
Champion for the India-Taiwan ESDM industry partnership:
Apple eyeing India for iPhone manufacturing Francis Tsai, Getac Technology Corp., Taiwan
On Apple CEO Tim Cook’s first visit to India, he Admirable SME with global outlook:
Sahasra Electronics Pvt Ltd, Noida
reportedly discussed manufacturing and retailing in Most vertically integrated company with exceptional contributions to manufacturing:
India, with PM Modi. He has announced the setting ELIN Electronics Ltd, New Delhi
up of an app development unit in Bengaluru and Outstanding EMS company with a global outlook:
SGS Tekniks Manufacturing Co. Pvt Ltd, Gurgaon
has opened a development centre for Apple Maps in
Outstanding EMS company of the year:
Hyderabad, with an investment of US$ 25 million. Dixon Technologies India Pvt Ltd, Noida

www.efymag.com electronics for you | november 2016 75


make in india

Market Survey:

Catching The Pulse Of Medical


electronics Market
T
he strong growth of the Indian treatment and monitoring of patients. It does
economy also provides a boost to the not include surgical devices, consumables like
country’s healthcare industry. This, in gloves, reagents and non-electronic implants
turn, creates a huge demand for electronic used in treatments like orthopaedic and dental.
components, devices and products that are
used for medical purposes. Medical elec- Market opportunity
tronics technology reinforces the existing Use of electronic equipment in the medical
healthcare infrastructure in various ways, field for clinical and research purposes has
right from digitising medical tests, diagnostic been enhanced tremendously in the past
Sudeshna Das is
senior executive and therapeutic procedures, to enhancing few years. Human body generates numerous
editor at EFY the reach of healthcare through telemedicine signals that are highly significant for diagnosis
and health information technology. and therapy. These signals are collected from
A rise in the number of hospitals and an the body surface or from within, through elec-
increased requirement for healthcare facili- trodes of different sizes, shapes and types.
ties create a need for sophisticated devices Moreover, there are non-electrical body pa-
and equipment, which can provide accurate rameters like temperature, blood flow, blood
treatment to individuals. Medical electronics pressure and respiratory functions that need
equipment/devices enable control, conver- to be routinely monitored. These parameters
sion, sensing, processing, storage, display and are converted into corresponding electric sig-
transfer of information on human anatomy nals by various transducers, and here comes
and physiology by making use of electronics the role of electronics. Extensive use of com-
and communication technologies. puters and microprocessors is now introduced
This discourse will provide an overview in medical instruments designed to perform
of the Indian medical electronics market with routine clinical measurements, particularly in
respect to size, growth drivers, major seg- those situations where data computing and
ments, trends, opportunities and challenges. processing could be considered as part of
There are varied understandings of what measurement and diagnostic procedures.
constitute medical electronics. In this article, The medical electronics industry has
medical electronics refers to all electronic achieved double-digit growth in recent years,
devices and equipment used in the diagnosis, and this growth trajectory is expected to con-
tinue owing to the rising incidence of chronic
6.4
diseases, increased urbanisation and a grow-
ing elderly population and increased aware-
% GR ness about latest technology solutions to save,
17 CA
R
AG l y sis 4.8 augment life and rehabilitation.
C a %
An - 19 According to a Deloitte report, the Indian
o i tte 7%
l 1 medical electronics device industry has been
De
2.5 growing at an average rate of 17 per cent for the
2.2
past few years and is expected to reach close to
1
US$ 6.5 billion by the year 2020 (Fig. 1).
1
Semiconductors play an important role
in shaping the medical electronics device
2010 2015 2020 market. That market, in turn, may represent
Analysts Deloitte a significant growth opportunity for semicon-
Fig. 1: Indian medical electronics market (in US$ billion) (Source: FICCI-Deloitte report) ductor players.

76 november 2016 | electronics For You www.eFYmag.com


Medical electronics equipment

Handheld/
Imaging Patient monitoring system Therapeutic homecare products
Equipment used to Electronic medical device that Includes machine, instrument Electronic devices that enable
measure recording data for measures a patient’s vital signs and or implants used for the personal health monitoring
diagnostic applications displays data so obtained treatment of any ailment
Key products
Key products Key products Key products • Glucometer
• Ultrasound scan • Bedside monitors • Ventilator • Digital thermometer
• X-ray • Electrocardiogram • Syringe pump • SDB equipment
• CT scan • EEG, ENG • Infusion pump • Others
• MRI • Others • Dialysis equipment
• Gama camera • Sleep lab
• Pulmonary function test • Continual renal
• Cath lab replacement therapy
• Holter recorder • Diathermy
• Echo colour doppler • Heart-lung machine
• C-arm X-ray • Anticoagulation timer
• Others • Warmer/incubator
• Bubble scraper
• Others

Fig. 2: Classification of medical electronics equipment

Performance of medical electron- segments, changing the disease


ics devices relies on innovations prevalence pattern. Key drivers for the
from semiconductor players—high- Moreover, growing awareness Indian medical
ly-integrated microchip designs. among the middle class to focus electronics market
Use of semiconductors is critical on early detection and prevention
 Economic growth leading to higher
from power supplies to displays in of non-communicable diseases like disposable incomes
medical equipment. Semiconductors cardiovascular diseases, diabetes,  Increased public spending in healthcare
are an integral part of most medical cancer, strokes and chronic lung  Increased private investment in
equipment, starting from high-end diseases is expected to generate healthcare
imaging to small handheld devices. demand for medical electronic  Increased penetration of health
Role of semiconductor suppliers equipment and disposables. For insurance
 Emergence of new models of
becomes more critical as medical example, X-rays and other imaging
healthcare delivery
equipment move towards portable equipment, pathological analysers,  Public private partnership route to
and smaller ones. probes, mains and battery-operated innovation
According to Frost & Sullivan, the devices, mobile detection and
medical electronics market (includ- therapeutic equipment, equipment tiatives to improve healthcare access
ing final products and semiconduc- for sanitising and infection proto- through insurance schemes will fuel
tor components) in India is likely to cols, robotics and radio therapeutic the growth of medical electronics.
reach US$ 11.7 billion by 2017. equipment, cardiovascular and
neurovascular detection, bionics, Market mix
Growth drivers systems along with modular life- The medical electronics equipment/
Growth of this sector in the country support systems, patient monitor- devices can be broadly bucketed
has been driven by various market ing, internal and external implants, under the following sub-categories
and non-market factors. Grow- minimally-invasive and non-inva- (Fig. 2):
ing population, ageing fraction of sive surgery, distant monitoring, • Imaging
population, enhanced income base diagnosis and remedial manage- • Patient monitoring system
and associated disposable income, ment will be in demand. • Therapeutic
increasing socio-economic inclusion Further, various non-market • Handheld/homecare products
of subalterns in the mainstream factors including favourable regu- According to industry sources,
economy are some market factors lations, FDI inflow, emergence of MRIs, CT scans, colour dopplers,
that have created demand for cus- India as a favourable destination for cath-labs and ultrasound scanners
tomised medical electronic products outsourcing of manufacturing and are a few fast-moving categories
to cater to the needs of all income R&D activities and government ini- contributing to around 70 per cent

www.eFYmag.com electronics For You | november 2016 77


make in india
Handheld/homecare equipment mar-
Table I
ket is highly import-driven, mostly
SemIconducTor componenTS uSed In because these products are sold over
medIcal elecTronIcS the counter.
product/segment Widely-used semiconductor components Therefore the industry focus is
Medical imaging Microcontrollers, microprocessors, amplifiers, data converters, digital signal more on marketing rather than manu-
processors, application-specific standard products and application-specific facturing. However, digital thermom-
integrated circuits eters and hearing aids are being manu-
Patient monitoring Microcontrollers, sensors, ZigBee modules, application-specific integrated factured domestically by unorganised
systems circuits, rectifiers, amplifiers, controllers, EEPROMs players on a very small scale.
Digital hearing aids Microcontrollers, EEPROMs, linear accelerometers, comparators, amplifiers, Sourcing of semiconductor
audio processor integrated circuits and other application-specific integrated components (Table I) used in medi-
circuits
cal electronics is completely import-
Infusion pumps Microcontrollers, regulators, transistors, rectifiers, comparators, amplifiers,
dependent. Cost of electronic com-
sensors
ponents in medical devices varies
Source: IESA typically between 25 and 50 per
duction and imports. High-end pa- cent (Table II).
Emerging technologies tient monitoring systems are largely
in the Indian medical imported but relatively less complex Market trends
electronics market products with basic features are In India, medical devices need to be
manufactured locally. made for Indian operating conditions.
 Miniaturisation through efficient system- Increasing cases of chronic res- According to a Frost and Sullivan
on-chip designs
piratory diseases and kidney failure study, for providing healthcare, which
 Wireless integrated circuits
drive sales of ventilators and dialysis is universal, affordable and preven-
 Efficient power management
equipment, respectively. Ventilators tive in nature, the Indian medical
 Intelligent sensor
and dialysis equipment together electronics industry is shifting to-
 Connected information technology
account for around 50 per cent of wards developing miniaturised, mul-
infrastructure
the therapeutics market. Ventila- tifunctional, ultra-low-power, portable
(Source: Frost & Sullivan)
tors are mostly used in tertiary- and and reduced-cost devices that could
of the imaging market. This mar- secondary-level healthcare. Currently, be used for patient monitoring, imag-
ket is primarily catered by import. dialysis equipment is limited to met- ing, implantable, therapeutic and
Requirement of high precision ros and tier 1 cities catering to only surgical requirements.
level is the major hindrance for about five per cent of the patients in The wearable devices category,
domestic manufacturing of imaging need of dialysis. which is still a developing field in In-
equipment. CT scans and MRIs are More affordable products may dia, can potentially aid physicians to
high-value, low-volume equipment help the industry capture the un- offer extended care outside the clini-
used in tertiary care and high-end tapped market. Therapeutics market cal environment. This would bring
diagnostic labs. X-ray machines are has an almost equal contribution higher efficiency and increased access
the largest-selling imaging equip- from domestic manufacturing across tier 2 and tier 3 cities and
ment in terms of volume. and imports. High-end equipment rural India, while providing improved
The market for patient-monitor- like dialysis machines, biphasic healthcare delivery to urban India.
ing systems is a mature one, which defibrillation machines and the
is largely driven by replacement like are mainly imported. Lower- Policy support for Make in India
sales. Bedside monitors account for range therapeutic equipment are With the current Make in India vision
more than 50 per cent of the patient- manufactured domestically. in the country, there is a huge oppor-
monitoring systems market in India. Digital thermometers, glucom- tunity for growth and expansion of
These are available with various eters and digital hearing aids are the medical electronics industry. Un-
features depending on the number some fast-moving products in the ion Finance Minister, Arun Jaitley, in
of parameters displayed. Moreover, handheld/homecare equipment his budget speech, urged the industry
electrocardiogram machines are market. Glucometers contribute to to invest in manufacturing medical
another important product under around 57 per cent of this market. equipment in India. Prime Minister
this category. An increasing number of diabe- Narendra Modi also made a statement
The patient monitoring system tes cases drive the blood glucose that medical equipment was gaining
market is catered by domestic pro- monitoring equipment market. increasing importance in the field of

78 november 2016 | electronics For You www.eFYmag.com


Table II
coST of SemIconducTor componenTS uSed In medIcal elecTronIcS*
ecG eeG bedside monitor cath lab mammography digital hearing aid
Cost of the ` 25,000 - ` 125,000 ` 125,000 Upto ` 200,000 ` 10,000,000 ` 1,000,000 - ` 1,500,000 ` 10,000 - ` 40,000
product (US$ 530 - US$ 2669) (US$ 2669) (US$ 4255) (US$ 0.2mn) (US$ 21,000 - US$ 31,915) (US$ 210 - US$ 850)
Per cent cost 25% 25% 35% 25% 35% 50%
of electronic
components**
Per cent of 80 to 90 per cent of the electronic components are imported
imports
Key import The USA, Germany, France, China, Singapore, Hong Kong and Korea
locations
*Indicative; **Includes semiconductor cost; Source: IESA

healthcare, and the need of the hour netic interference/compatibility machine and a low-cost ultrasound
is for India to manufacture such and allied areas through intensive machine for the Indian market.
equipment, as part of Make in India research, design, development and Philips Healthcare has been using
programme. industrial applications. its recent acquisitions in India to
The National Policy on Electron- develop and launch a low-cost cath
ics has medical electronics as one Moving forward lab for the Indian market.
of the thrust areas and provides for The Indian medical electronics indus- The same report also mentions
financial incentives for medical elec- try is till date highly under-invested global investment in this sector.
tronics manufacturing not only for and import-driven. According to a Global companies have started con-
new units but also for units relocat- Boston Consulting Group report, In- sidering India as a manufacturing
ing from outside India. The Drugs dia imports an estimated 70 per cent base by either setting up facilities of
and Cosmetics (Amendment) Bill, of medical devices. Lack of maturity their own or by acquiring domes-
2013, is now considering recognising in this sector with respect to penetra- tic manufacturers. Some examples
medical devices as a separate cat- tion, accessibility, affordability and include 3M’s manufacturing plant in
egory from pharmaceutical products awareness possess major constraint Pune, Becton Dickinson’s manufac-
in the regulatory structure. A strong for the growth of this sector in turing facility in Haryana, Hollister’s
framework that provides for medical India. Moreover, nascent regulatory setting up manufacturing facility in
devices standards in India is impera- environment, no distinct status of the India and Philips Medical Systems’
tive to boost domestic manufactur- industry, need for quality benchmark acquisition of Medtronics and Alpha
ing, bring in reliability and better at par with global standards and high X-Ray Technologies.
time to market new technologies in capex requirement also slow down Medical technology parks have
medical electronics. the growth of the indigenous manu- been proposed by the government
Recently, a memorandum of facturing ecosystem. in addition to existing parks to
understanding was signed between However, an FICCI report encourage domestic manufacturing
Society for Applied Microwave cited examples showing a slow of medical equipment. Inflow of FDI
Electronics Engineering & Research but gradual move towards Make in will spur both R&D and manufactur-
(SAMEER) and the government of India in this sector. Sector players ing, in turn, increasing the efficiency
Andhra Pradesh, on conducting have undertaken endeavours to start and effectiveness of medical elec-
joint and comprehensive assessment manufacturing innovative products tronics products.
of health technologies as identified, in India, which are suitable for do- Advancement of medical
starting with dual-energy linear mestic as well as overseas markets. electronics product quality and
accelerators for cancer care develop- For example, Transasia Biomedicals associated successful diagnostic
ment. SAMEER is an R&D laboratory has developed in-vitro diagnostic rates are expected to create a spurt
of the Ministry of Electronics and equipment through its R&D base in adoption. India as an emerging
Information Technology, govern- in Mumbai, Roche Diagnostics has market continues to be relevant in
ment of India, mandated to contrib- developed a screening device for the global medical electronics space,
ute towards the growth of science cardio-vascular diseases, suitable for not just from a market point of view,
and technology of radio frequency/ use in rural settings, and GE Health- but also as a global hub for innova-
microwave electronics, electromag- care has developed a low-cost ECG tion and manufacturing.

www.eFYmag.com electronics For You | november 2016 79


New Products Make in india

COMPONENTS 3-digit dual display and multifunction,


three sizes (48mm x 48mm, 72mm
x 72mm and 96mm x
Pushbutton switches mechanical systems (MEMS) oscilla- 96mm). These
SCHURTER’s MSM LA and MSM LA tors. These oscillators are excellent are availabe
CS latching-action stainless steel and for use as clock references in small, in six operat-
ceramic surface battery-powered devices such as ing modes (on
push-button switch- wearables and the Internet of Things delay, interval,
es are available (IoT) devices in which small size, low cyclic on first or off first, instantaneous
with a maximum power consumption and long-term reli- and delayed, forward-pause- reverse
rated switching ability are paramount. They also meet and batch counting). The push wheel
current of 16 A at the stringent mechanical durability and timer is switch-selectable with down-
250V AC, up-rated from 12A. De- reliability requirements within Auto- counting mode having DIP switches on
signed for primary on/off switching, motive Electronics Council standard rear side. Other three types of timers
the up-rating on MSM LA and LA CS Q100 (AEC-Q100). are programmable with user-friendly
expands on their suitability for use in menus.
Microchip Technology Inc.
appliances with higher loads.
www.microchip.com Shavison Electronics Pvt Ltd
Schurter Electronics (India) Pvt Ltd www.shavison.com
www.schurter.co.in
TEST & MEASUREMENT Particle sensor
Microcontrollers Toshniwal Sensing Devices offers a
Renesas Electronics has announced Thermal imaging camera particulate matter sensor, PPD42NJ,
RL78/G11 group of microcontrollers, FLIR Exx-Series, the advanced thermal for indoor air quality. It detects air-
a group of small-package, low-power imaging camera, troubleshoots more bourne particles
microcon- efficiently and faster, in a room. The
trollers that finds hotspots, over- sensor is highly
will enable you heated equipment’s, sensitive and can
to easily and creates detailed detect particles
more quickly prototype and develop reports and shares such as smoke,
systems that support low-power sensor images. Temperature pollen and dust, which are larger than
hubs and sensor application systems. range up to 650°C one micron and can trigger many
Designed to connect to multiple sen- helps you meas- allergic symptoms. Based on the light-
sors and convert the sensor output ure hotter-running scattering method, pulse output that
signals to digital data, these compact equipment more corresponds to concentration per unit
sensor hubs are used in a wide range accurately, so you volume of particles can be obtained.
of applications. know whether it is
Toshniwal Sensing Devices Pvt Ltd
operating safely or www.tsdpl.com
Renesas Electronics Corp.
www.renesas.com not with an accuracy ±2°C. Available
IR resolutions are 160 × 120 pixels, Cord flexing tester
MEMS oscillators 240 × 180 pixels and 320 × 240 pix- Mangal Instrumentation has intro-
Microchip Technology has announced els, with 25°x19° field-of-view. duced a cord flex-
the DSC6000 family of micro-electro- ing tester with load
FLIR Systems India Pvt Ltd
www.flir.in for the moulded
power cord used
Digital timers in electrical ap-
Shavison has launched a series of pliances. The tester is used to assure
digital timers, which are of four types user safety from any short-circuiting
(push wheel, 3-digit single display, at flexible points of the power cords. It

80 november 2016 | electronics For You www.eFYmag.com


is used for continuous bending tests In-circuit debugger, programmer it provides real-time intelligence to
by swivelling movements to check the Cyclone Universal FX is an extremely- quickly and effectively make deci-
supply cord where it enters the appli- flexible tool designed for in-circuit sions, adaptive
ance as per BIS/international standard flash programming, debugging and manufacturing
requirements. testing of many 8-/16-/32-bit mi- to avoid poten-
crocontrollers from NXP, as well as tial downtime
Mangal Instrumentation
www.mangalinstrumentation.com ARM Cortex devices from a variety and distrib-
of manufacturers. By connecting to a uted control
Digital multimeter debug header to provide re-
KUSAM-MECO has introduced an in- on the target, dundancy. The pocket IO provides the
novative digital multimeter-cum LCR Cyclone can following key advantages to increase
meter (Model-306). It program, productivity:
has three 1⁄2-digit 1999 test or debug • Real-time intelligence
counts LCD display. It internal memory on a supported • Adaptive manufacturing
measures DC voltage processor or external flash connected • Distributed control
ranges from 100μV to to the processor’s address/data bus,
Maxim Integrated
1000V, in five ranges, in-circuit. The processor or memory www.maximintegrated.com
that is, 200mV/ 2V/ device can be mounted on the final
20V/ 200V/ 1000V PCB before programming. BLDC motor solution
DC, with voltage basic ROHM Semiconductor has introduced
Uchi Embedded Solutions
accuracy of ±0.5%. www.uchiembedded.co.in its path-breaking solutions for driving
This multimeter BLDC motors in India. These solu-
can test diode and tions, compared to the less-expensive
continuity also. It operates on a single MISCELLEANOUS AC induction motors, are easy to
standard 9V battery. control and around 50 per cent more

Kusam Electrical Industries Ltd


Single-display console efficient, thereby reducing power
www.kusamelectrical.com, This single-display console is made for consumption in home appliances and
www.kusam-meco.co.in warships, and is a welded construc- industrial equipment. These solutions
tion of heavy-duty aluminium HE 30 are designed with features to reduce
Power Analyser alloy extrusions and design time and, hence, enable a
Anritsu introduces Power Master sheets. All hard- faster time-to-market.
MA24507A, an ultraportable, millime- ware is suitable for
ROHM Semiconductor India Pvt Ltd
tre-wave (mmWave) power analyser naval applications. www.rohm.com
that enables The display angle
simple, numeric, can be made IoT development platform
frequency based adjustable and WaRP7 development platform
measurement of keyboard fold- presents a new opportunity for IoT
RF power from able. The console and wearable device designers. The
9kHz to 70GHz. can house any platform enables a shorter time-to-
It leverages modular sub-rack market and addresses key IoT and
Anritsu’s pat- like VME, CPCI wearables challenges, including bat-
ented Shockline or a rugged workstation. It comes with tery life, connectivity, usability (user
technology, along forced air-cooling with an option to experience) and miniaturisation.
with its leader- choose air entry and exhaust based on Though a tiny form factor (main CPU
ship in ultra-port- cooling paths. is approximately 2cm x 4cm), WaRP7
able test solution is flexible and offers all advantages
Dinrack Integrated Systems Pvt Ltd
design to address the growing number www.dinrackis.com of traditional development tools. The
of test requirements in mmWave ap- open source design allows develop-
plications, including test of 802.11ad, PLC development platform ers to take the platform as a starting
wireless HD and e-band products, at Maxim’s pocket IO PLC development point and innovate without licensing
every stage of the product lifecycle. platform redefines how factories restrictions.
Anritsu India Pvt Ltd
operate and enable Industry 4.0 ap- NXP Semiconductors
www.anritsu.com plications. To maximise productivity, www.nxp.com

www.eFYmag.com electronics For You | november 2016 81


efy dvd

Escape Into The Fascinating World Of


Control Simulation and deSign
ShanoSh Kumar

MPLAB X IDE Modules provide functionality


MPLAB X integrated development en-
Some popular resources such as connectivity to equipment
vironment (IDE) is a must-have open OpenCV. Also called open source computer vision, using data sources, graphical user
it facilitates computational efficiency for real-time
source software program. It is based applications such as camera calibration, image interfaces, dashboards, language
on NetBeans IDE from Oracle. This data manipulation, motion analysis and so on. The translations, themes and so on. The
software consists of the most recent software is written in optimised C/C++ so that the core and modules of this software are
library can take advantage of multi-core processing.
advancements, features and extensible It has C++, C, Python and Java interfaces. It runs supported by a Web based user inter-
architecture an engineer working on seamlessly on Windows, Linux, Mac OS, iOS and face on the foreground, and the ap-
Android platforms.
microchip, microcontrollers and digi- matplotlib. This is a Python library for making
plication could be run from anywhere
tal signal controllers would expect. publication-quality plots using a syntax familiar to in the world through the Internet.
Specially bundled into this DVD, MATLAB users. This software helps you to generate
the software runs on any platform
plots, histograms, power spectra, bar charts, Sprint-Layout 6.0
error charts, scatter plots and the like, using just
such as Windows, Mac OS or Linux. a few lines of code. Outputs generated can also Sprint-Layout is a perfect tool for
Features are clubbed into the IDE, be exported into PDF, Postscript, SVG and PNG creating single-sided and double-
formats, as well as used for screen display. The user
because it provides a single integrated interface is designed to provide an object-oriented sided PCBs. The software comes with
environment to develop code for em- interface with functions familiar to MATLAB such all functions that are necessary for
bedded microcontrollers. as full control of line styles, font properties, axes board design. It supports professional
properties, etc.
GNS3. A graphical network simulator, GNS3 features like export of Gerber files
ASEM-51 allows you to design complex network topologies for professional manufacturing or for
ASEM-51 is a two-pass macro as- as well as configure virtual networks. You can isolation milling with CNC machines.
run simulations or configure devices ranging from
sembler for Intel MCS-51 family of simple workstations to powerful Cisco routers.
microcontrollers. ASEM-51 assembly Fedora Workstation
language is based on the standard Intel on Windows, including the latest Fedora is an operating system based
syntax and implements conditional as- Microsoft Windows 10 edition. As a on Linux kernel. This operating sys-
semblies and macros, and includes file beginner, you could get started with tem comes pre-installed with a wide
processing. The assembler can output drawing a schematic by inserting range of software such as LibreOffice,
object code in Intel-HEX or Intel OMF- component footprints and dragging Google Chrome, Java Iced Tea, Adobe
51 format as well as a detailed list file. these into position. Connecting the Flash Player, Skype and Firefox. If
ASEM-51 package includes more than pins by drawing traces is quite easy. additional software is required, there
200 8051 derivatives and a bootstrap As a professional, you can go about are software repositories that can be
program for MCS-51 target boards. This extensively designing complex boards installed using DNF package manager
software also runs seamlessly on MS- that could be made production-ready or GNOME software.
DOS, Windows and Linux platforms. with great ease. You will find it similar to Debi-
anBlends while working on Fedora,
Express PCB Mango Automation as it also facilitates custom varia-
The software facilitates designing and Mango Automation is supervisory con- tions of Fedora called Fedora Spins
efficient manufacturing of double- trol and data acquisition (SCADA) soft- or Fedora Editions. These are built
sided and four-layered PCBs, thereby ware for industrial control. Developers with specific sets of software pack-
solving the manufacturing problem of of this software have coded down ages that offer alternative desktop
achieving greater turnaround time for its core in Java, and it can run on environments as well as supplement
prototyping. The user interface and any platform that supports Java. The specific interests such as gaming,
functionality is designed to be very core provides all base services that security, design, education, robotics
easy, and requires only a couple of this SCADA application uses, while and scientific computing.
hours to get used to. modules could be plugged to the core Shanosh Kumar is technology journalist at EFY. He is
This software easily adapts itself instance by copying into a sub-directo- BCA from Bangalore University and MBA from Christ
to any platform but works seamlessly ry to create a SCADA application. University, Bengaluru

82 november 2016 | electronics For You www.eFYmag.com


efy dvd

PROTEUS For Electronic Design


Automation
Priya ravindran

T
his generation (Gen Y, born be-
tween the 1980’s and the year
2000) constantly gets bored. It
is forever looking for something new
and exciting, and everyone is willing
to try different things as long as they
can derive a good experience out of
it. Be it in any field, it is difficult to
stand out today simply because of
the problem of plenty. Looking at the
website of Proteus, I must say they
are taking this aspect seriously.
Proteus design suite is a package
put together by Labcenter Electronics
to give you a novel simulation and
printed circuit board (PCB) design-
ing experience. What makes this tool Fig. 1: Visual Designer for Arduino
special? What new does it have to
offer? Read on to know. Standard measuring instruments with Visual Designer
Proteus design kit has about 785  Fully-featured four-channel digital storage oscilloscope with measurement cursors
microcontroller variants ready for  Counter/timer instrument for measuring time intervals and signal frequency
simulation, straight from the sche-  DC and AC voltmeters and ammeters
matic. Be it Atmel, Microchip or ARM,  Dual-mode (master/slave) serial peripheral interface protocol analyser
once you get a hang of the tool, you  Pattern generator for creating 8-bit by 1kb digital data streams
need not worry about the impending  40-channel logic analyser with capture buffer and measurement cursors
 RS232 terminal with configurable baud rate, data/stop bits and polarity
platform. Let us begin by considering
 Dual-mode (master/slave) inter-integrated circuit protocol analyser
one of the most popular microcon-  Signal generator to inject square, saw-tooth, triangle and sine waves
troller kits among students, Arduino.  An advanced simulation feature that lets you perform analysis on graphs, and even
conformal analysis
Visual Designer for Arduino
Visual Designer in Proteus takes a need different peripherals for the cable, making the required configu-
cue from Arduino itself, removing the various sensors, one for the wheels rations and clicking to transfer the
lower-level complexities of software and another for the motor. The corre- flowchart into the board. PICs can
language and hardware design. It uses sponding microcontroller is automati- be simulated in real time, letting you
a combination of its trademark Virtual cally updated with connection details. test circuit functionality effectively.
System Modeling simulation—which Visual Designer allows you to set
we will come to later—flowcharts breakpoints at which you need to Shortened lifecycle
and virtual hardware, resulting in an debug the course of the robot and from schematic to PCB
integrated and intuitive development perform simulations around it. To It is VSM simulation that brings in
environment for Arduino. help you get started, the kit pro- Agile development into the embed-
Depending on the device you want vides ready-to-use Arduino shields, ded workflow, enabling you to
to connect to Proteus, you can config- breakout boards and sensors in its quickly put together a prototype with
ure the peripheral accordingly and use peripheral gallery. Transferring the hardware and firmware components.
high-level methods to control it. If you data to Arduino board simply re- The inbuilt processor model is built
are attaching, say, a robot, you might quires plugging in the programming to fully simulate input/output ports,

www.efymag.com electronics for you Plus | november 2016 1i


efy dvd
Go the manual way... The one
thing layout designers have a tough
time getting right is congestion
release—tight spaces with too many
wires that can neither be re-routed
easily nor done without. It is a matter
of trial and error, a process that is
eased a bit in Proteus by letting you
add via connections to pads, aka
surface mount technology.
Manual routing can also create
curved tracks by holding down ctrl
key, and thick tracks are automatical-
ly necked to fit in with the set rules.
You can also logically or globally
control the size and diameter of tear-
drops, as required. To make sure you
do not violate rules, a live status for
connectivity and design rules can be
found at the bottom of the screen.
… Or exploit the auto feature.
Fig. 2: Shape based auto router before and after routing on a six-layer PCB What the auto-router gives you is
flexibility. How is that? Because auto-
interrupts, timers, universal synchro- design suite targets PCB designs routing is shape based. A quick and
nous/asynchronous receiver/transmit- with a professional touch. The next an easy fix to your design rule viola-
ters and all other peripherals present section discusses a few of the stand- tions! Using advanced cost based
on each supported processor. out features of this layout designer. conflict-reduction algorithms proven
Giving you the flexibility to inter- In addition to these, the tool sup- to maximise completion rates on even
act with your design using onscreen ports 16 copper layers, 10nm resolu- the most densely-packed boards,
indicators such as LCD and LED tion and any angle placement. There the router gives you the best routing
displays, and actuators, you can apply is also support for power planes, possible under given circumstances.
your firmware to the microcontroller letting you place polygonal regions Advanced-level users also drive the
of your choice and co-simulate the within which inner boundaries are router either by writing custom rout-
program within a mixed-mode simula- automatically created around exist- ing scripts or by directly entering
tion program with integrated circuit ing pads and tracks. routing commands interactively, to
emphasis (SPICE) circuit simulation. Intelligent routing. The wiring route particular areas or specify fan-
If coding is your forte, take the design process is intuitive. Called Follow- out criteria.
flowchart back to its Arduino C++ Me Routing, the control is in your
code, or convert it to an Arduino hands, giving you the best-fit route Handling large numbers of pins
sketch and play with the code. within designated constraints. As Schematic Capture is designed to
A resourceful kit. Proteus design you move the mouse, so does the aid a high degree of control over
kit contains thousands of common wiring, linking together the parts of the drawing appearance, be it line
parts you would need. It allows you your schematic. And once a base is widths, fill styles or fonts; extending
to import more using BSDL format. done, you can create a design snip- this to the layout graphics, too. Deal-
The physical and electrical designs pet to import into a future project. ing with a ball-grid array or a high
can be viewed as grids, paving the The snippet can range from a pin count device can be tricky. The
way for easier cross-probing and simple rectifier circuit to the model- sheer volume complicates everything
component or net selection. Hier- ling of a USB engine, or can simply from connection to routing.
archical designs and system level be a template containing basic To handle this easily, Proteus lets
designs are just a few clicks away. layout information like boundaries you first bring in the component defi-
and holes. It goes without saying nition directly from the manufacturer’s
A powerful PCB design suite that schematic hierarchies and logic boundary scan description language
Combining the schematic capture schematic designs are fully sup- file. You can then split these into
and ARES PCB layout programs, this ported by the tool. smaller, more manageable elements

2
ii november 2016 | electronics for you Plus www.efymag.com
Make notes as you create
Project Notes, an application module for adding documentation or written content, comes
with Proteus. This free-form editor lets you add whatever you wish to, in the style you
choose. There are available templates for engineering change orders, PCB specifications
and the like. You can even link these to real components on the system, providing a quick
look-up table, if need be. It also turns out to be a handy navigation tool.

using a component separator option, to use with any mechanical comput-


or even re-arranging the pins, while er-aided design tool.
preserving boundary scan description The thing about bill of materials
language file as it is. (BOM) in Proteus is the fact that it
PCB layout uses LPC standard is fully customisable. You can work
footprint, but you can create your with multiple components at once
own custom footprint using tools and, more importantly, generate it
like PCB Library Export and im- in the style used by the company
port the pad’s ASCII format into in question.
Proteus. If being used in a field-
programmable gate array, change Kicking grounds backstage
in pin-mapping can be loaded into Proteus has been put to good use
the package tool and then used in various industry segments, right
to update Proteus with the latest from design to verification. Elec-
details. The only requirement is that tronic airfield ground equipment,
the PCB net classes and design rules underground pipeline corrosion
should be set up before starting with engineering, vehicle dashboards,
the layout, so as to keep the tool musical instrument digital interface
informed of the next alpha traces converters and Hi-Z USB audio
and aid manoeuvring between high interfaces, truck braking systems
pin devices. and industrial elevators are some
Design rules can also be custom- of the areas Proteus has found its
generated according to the entire way into.
design for net classes, trace and via With features and flexible licens-
styles, clearances and more. At pre- ing, Proteus is also an in-demand
production stage, the PCB tool runs tool at colleges to aid courses
a quality-assurance check, checks dealing with electronics, microcon-
for power plane geometry and trollers and PCB designing.
integrity, and tests to spot common Proteus Lite is a shareware-
design errors. licensed tear-down version of the
original, providing limited but
The bombarded view meaningful functionality. Built for
and the BOM Windows, Proteus 8.5 is the latest
A 3D viewer lets you see your PCB release from the team that is making
in all its fullness. Apart from simply a presence at major conferences.
looking at your board from a 3D Commercial licences for tool
viewpoint, this feature can strip usage can be obtained at www.lab-
down the design to a bare board, center.com/purchasing. Get an instant
letting you inspect tracks and vias online quotation according to the
or zoom in on a specific part. With level of advancement you require,
built-in standard for the exchange and take it from there; have the kit
of product model data and initial delivered at your doorstep.
graphics exchange specification sup-
port, you can import these models Priya Ravindran is M.Sc (electronics) from VIT Uni-
to view your components in 3D and versity, Vellore, Tamil Nadu. She loves to explore
export your whole board at the end, new avenues and is passionate about writing

www.efymag.com electronics for you Plus | november 2016 iii


3
efy dvd

Gerbv: The Gerber Viewer


Priya ravindran

T
he period between design
completion and printed
circuit board (PCB) manufac-
turing can be tricky. First, you need
to completely validate the layout
you have created. Once you have
finalised it but the fabrication unit
finds faults, the layout has to be
thoroughly analysed, errors have to
be spotted and corrected, and any
other suggestions to be implement-
ed, in order to get the board you
dreamt of.
Gerbv is a tool that lets you
view, print and edit Gerber files—
the ones that act as an input for
producing a PCB. You can analyse
and validate your file’s syntax, code
count, aperture usage and other
such factors. This could be your
solution to problems during the
computer-aided manufacturing stage Fig. 1: A PCB for your IC
of your board.

Input plenty, output plenty What you need to know about Gerber
as well A Gerber file is typically the output from a PCB computer-aided designing tool, the one that is
The file sent in to Gerbv could be in sent for manufacturing your PCB. It generally follows one of the two standards, RS-274D or
formats like RS-274X, Excellon drill the more recent RS-274X; main difference being inclusion of aperture format.
and pick-place. Pick-place formats Each layer of your design, like top silk and metal layers, is stored in separate files, all of
which have to be included in Gerbv for a wholesome picture. There are many other tools that
contain x and y axes information,
deal in Gerber files like GerbvQt, Pcb2gcode, Gerber2tiff and GBTiler, to name a few.
rotation details and placement side,
and are of comma-separated ASCII
(.csv) type. Your job is made easier png or pdf formats, and even ps or study the numerous traces zigzag-
as the tool automatically reads and svg file types. ging everywhere.
detects the file format when multi- This is something you can do
ple formats are fed as inputs. A layered approach with ease using Gerbv. You can
These files are typically gener- As you progress into better and view layers individually, combine
ated by computer-aided manufactur- more complicated layouts, the first the selected few layers and even
ing export function of your layout noticeable change is the increase in change layer polarity for negative
tool. Once generated, this tool is one number of layers; the manufacturer or positive display. The layers can
of your best choices to manipulate permitting the same, of course. The also be stacked up in any order as
its details. When you are done with moment this comes into picture, so you please, by simply dragging and
all the viewing and editing, Gerbv does design complexity. dropping these—definitely a boon
lets you export the files in formats Needless to say, verification is a when trying to analyse traces travel-
suited to your application. Support- challenge. The best way is to strip ling over multiple layers.
ed formats include the very popular down the design layer by layer and With Cairo, you can make the

iv november 2016 | electronics For You Plus www.eFYmag.com


layers semi-transparent and eas-
ily visualise your board’s stack up.
The feature brings you the feel of
a three-dimensional cuboid. Gerbv
also supports complex layer opera-
tions like knockout. You can also
perform functions such as and, or,
xor and invert.
Juggle a number of files. If you
are working with multiple Gerber
files, you can superimpose these,
placing one on top of the other. As
a general practice, upper layer is
the top metal layer. This approach
prominently helps you compare two
supposedly identical layouts to spot
differences easily, or to see how it
might look if the different designs are
combined together, although routing
will certainly be different then.
Fig. 2: Tracing your connections using Gerbv
Compare and contrast
You might have to create an up- All about the core library Go the developer way or
graded version of a previously-man- Core of the software is contained choose the GUI
ufactured PCB. It is natural to want in a library called libgerbv. This is While you could choose to go with
to compare your new board with the available as a separate library in command mode interface, the soft-
original, or your reference board, to order to allow other software to ware comes with a simple, no-fuss
get the measurements right and the easily incorporate advanced Gerber graphical user interface (GUI). Built
components in perfect place. This is functionality. This allows you to on a regular window base with a
exactly where Gerbv comes in. incorporate Gerber parsing, edit- plain and simple structure, it offers
The program lets you open sev- ing, exporting or rendering into the perfect viewing scenario for
eral circuit designs at the same time, other programs. Gerber files. The background also
with windows showing up on top Compatibility comes as a boon proves a worthy aid to drill, pick
of one another. Comparison is easy to you if you have to shift between and place due to clarity and ease
and so is measurement. You can tools. Core also comes with code of identification.
choose to have the scale show up in documentation that is built to help Viewing layer properties, select-
centimetres, millimetres or inches. new users fast track their under- ing or deleting objects, modifying
Maneuvering through the standing of Gerbv. Documentation, layer orientation, zooming in and
various tabs on the screen is easy, which can be found at http://gerbv. out, making measurements and cus-
with a simple interface that leaves geda-project.org/doxygen/index.html, tomising background colour, all these
all controls at the top. The layers details the libgerbv application pro- happen with a click of the mouse.
you are sifting through can be ac- gramming interface with examples, Gerbv supports auto-scaling to
cessed via the tabs on left side of source codes and makefiles to help make your design fit the size of your
the window. you make a quick start. screen. There are also a couple of

For More
Test and Equipment Stories
Visit www.electronicsb2b.com

www.eFYmag.com electronics For You Plus | november 2016 v


efy dvd
handy options like benchmarks and
Get to know your tool
multiple rendering modes for layers.
Operating system supported: Linux native; Windows version is available for beta testing
Handling projects Licence: GPL/free
the easy way Supported by: gEDA
Loading projects on Gerbv is easy. Author: Stefan Petersen
Simply use the switch –p or –-pro- Latest release: Version 2.6.1
ject and you can see the layers you File format supported: RS-274X
designed populating the screen. Just Does not support: RS-274D files
make sure that the project and Ger- Software repositories with Gerbv: Debian package, Fedora/Red hat, NetBSD, FreeBSD, SuSE
ber files are held in the same folder. Built and tested on: Linux, NetBSD, Solaris, FreeBSD platforms
Creating a new project is as - Charles Lepple has built the same on Mac OS using fink.
straight-forward as creating a bunch The little things:
of layers, specifying the colours for - Can display different drill file formats like Excellon
each, along with background and - Can load unlimited layers simultaneously
stackup details, finally combining - Can handle aperture macros with up to ten levels of recursion
the entire set into a project of your Before beginning with Gerbv, download GTK+ and Cairo packages, a graphical toolkit and a
own. You can also save sessions, graphics library, respectively.
creating your own hibernate for
your design. your favourite yum or apt-get com- requirements and light up your
mands to download the files into screen just right.
Getting your first steps right your personal computer. Just make
The initial setup is simple. With sure that the tool has the neces- Priya Ravindran is M.Sc (electronics) from VIT
the package available on many sary graphics support from GTK+ University, Vellore, Tamil Nadu. She loves to ex-
repositories, you can simply use and Cairo to meet your graphics plore new avenues and is passionate about writing

vi november 2016 | electronics For You Plus www.eFYmag.com


efy dvd

GEZEL: Your Open Source


HDL Solution
Ashwin GopinAth

I
n this edition of Electronics for
You Plus we have bundled in the
DVD a nice little software capa-
ble of simulation, co-simulation as
well as compiling into VHDL code.
Its name is GEZEL and it is distrib-
uted for free by Patrick Schaumont
and the team.
It is a hardware description
language (HDL), which allows you
the implementation of a finite-state
machine and datapath model. This Flowchart depicting GEZEL
model can be accurately described
as a mathematical abstraction that AVR. Presence of a code generator
is sometimes used to design digi- for synthesisable VHDL code would Three methods
tal logic or computer programs. It be extremely useful for first-timers, of simulation
consists of states that are essentially saving them a lot of time and effort Use command line. The following
used to assign sequences. For exam- from having to port the circuit on to a program, when run, executes three clock
ple, a program is converted into a separate code simulator. If you fancy styles.
fdlsim listing9.fdl 3
state diagram, which shows logical learning HDL and are just starting out
Use standard input. Using standard input
sequencing of the circuit. It is simi- on the journey, do try GEZEL and let allows you to pipe the design into the
lar, though less powerful, than a Tu- us know your experience with it. simulator.
ring machine. But where the Turing cat listing9.fdl | fdlsim 3
is unrestricted, the number of states The GEZEL structure Use scripting feature of the shell. The
here are dictated by the memory of GEZEL has three main tools that it only caveat here is that you must provide
a finite-state machine. utilises to perform its functions. the location of fdlsim in the code.
listing10.fdl 3
GEZEL standalone simulation
Highlights of GEZEL tool. This is a nice version of an
As mentioned earlier, GEZEL is a open source simulator. Based on Called gplatform, it helps in co-
cycle based HDL relying on the a cycle-true simulation algorithm, simulating GEZEL designs with
finite-state machine and datapath the simulator, called fdlsim, has an instruction-set simulators. Advan-
model. It allows you to add new evaluate phase and a register-update tage of such co-simulation efforts is
co-simulation interfaces by utilising phase. Evaluate the condition; if true, a design that can include co-proces-
user-defined library block exten- update register, and if not, proceed sors working on a host of different
sions in C++. Most of all, since accordingly. Simulation output can functions. gplatform supports co-
it is open source, we are following be modified with the help of simu- simulation with multiple ARM cores
EFY’s policy of promoting open lation directives, namely, display, and/or 8051 microcontrollers.
source solutions for all your elec- control and trace. Command line for If you are wondering what a
tronic needs. fdlsim is: co-simulation engine does, then do
GEZEL possesses a scripted fdlsim [-d] [<design.fdl>] <cyclecount> not worry. It is merely an abstracted
environment with easy-to-learn HDL. (The –d is a debug flag, and when version of the real hardware/soft-
It allows you to co-simulate using enabled, the simulator provides a more ware interface. Another cycle-true
embedded cores of multiple vendors, detailed account of the activities.) model, there are many forms of co-
be it ARM, Intel 8051 and/or ATMEL GEZEL co-simulation engine. simulation interfaces, depending on

www.efymag.com electronics for you Plus | november 2016 vii


efy dvd
He explains that this is because an
Three forms of co-simulation interfaces instruction-set simulator is developed
Memory-mapped interface. In this format, there is a set of addresses in the address sector with the architecture of the proces-
of the core, which are accessed by both hardware and software running on the core. Both sor it must model in mind, which is
access the same addresses by means of multiplexing and time-sharing. Advantage of this
not possible for GEZEL kernel. Also,
interface is that it can be ported on to any system, with minimal changes.
GEZEL kernel uses scripted simula-
Specialised co-processor I/O interface. A specialised co-processor defines an I/O port
into the pipeline of the processor, and thus allows for implementation of application-specific tion rather than compiled simulation.
instruction set processor concepts. The special function unit interfaces are triggered by For optimisation, GEZEL simula-
special, reserved instructions. This type of interface is implemented using armsfu2x2, tor uses a strategy of sleep or awake
armsfu2x1 and armsfu3x1. modes, which is important for co-
Fast-Simplex link interface. This defines a dedicated co-processor port on ARM, which simulation. “If this is possible, you
is emulated using memory-reads and memory-writes in ARM software. Like the previous should develop GEZEL hardware
form, this interface also carries a higher bandwidth than the memory-mapped alternative. It
model in such a way that periods of
is implemented using armfslslave and armfslmaster.
idle or inactive operation also imply
no datapath register changes and no
the I/O mechanism provided by the using fdlhvd, in case of starting up state changes in GEZEL controllers,”
core. Command line of gplatform is: troubles. Command line of fdlvhd is: adds Schaumont. This will enable
gplatform [-d] -c max_cycles gezel_file fdlvhd [-d] [-i] [-s] [-c clock reset] GEZEL simulator to enter sleep
GEZEL code-generation tool. [<filename>] mode, while only the instruction-set
fdlvhd is the tiny spark that sets it simulator keeps on running. The
apart. It allows you to convert any Is it fast enough resulting simulation speed will im-
code that you can write, and which Patrick Schaumont writes at rijndael. prove greatly.
simulates correctly, to VHDL code. ece.vt.edu, “In general, speed of a
GEZEL engineers have used Source- good instruction-set simulator is far Ashwin Gopinath, an engineer, is a freelance writer
forge to give detailed examples for higher than that of GEZEL kernel.” for EFY

viii november 2016 | electronics for you Plus www.efymag.com


First Look estyle
EFY BuREAu

Xiaomi launches Intex introduces fake notes detector-


air purifier cum-currency-counting machine
The smart way to breathe Enables businesses counter financial frauds
Mi Air Purifier 2 is simple, el- The currency-counting machine saves
egant and has a new compact Price
` 9999 time, is accurate, easy to operate,
design that is 40 per cent convenient and most of all is
smaller than the first Mi Air able to detect fake notes.
Purifier. Despite this, it offers The lightweight, com-
a high 310m3/h clean air de- pact and swift IN-J 4001
livery rate and takes just ten comes with special fake
minutes to circulate purified note detection features
air in a 21m2 room. like detection of sus-
Inspired by aircraft engines, Price
pected note, automatic ` 8500
the aerodynamic pressure system created by half note and double
Xiaomi’s R&D team draws inwards from the note detection and LCD colour
base and expels air upwards with great force. change display on detection. It comes
Smartphone controls let you switch it on and off with automatic and manual start, easy to understand display
remotely, even when you are away from home. panel and numeric keypad. The machine is ideal for small busi-
This way you can always be sure to come home nesses, financial institutions, retailers, schools, colleges, hospitals
to clean air. and others.

Envent launches earphones Smartphone from Google


A perfect accessory for a versatile lifestyle The first phone with Google Assistant built in
Price
LiveFit 510 is attuned to the demands of a `for57,000
Pixel combines hardware and Quite Black,
32GB model
modern-day user and juggles different roles software made by Google,
seamlessly. As a fitness partner, these are including all your favourite
sturdily-built and sweat-proof. Flaunting an Google apps, to bring you a fast,
ergonomic design, these are ideal for low- to seamless and easy-to-use expe-
high-intensity workouts; be it jogging running rience. It features the highest-
or cycling. For music and movie aficionados, rated smartphone camera, with
these uber-comfy audio earphones satiate the a best-ever 89 DxOMark Mobile
need for dynamic HD sound, delivering deep score, a battery that lasts all day
bass and clear treble. and unlimited storage for all
your photos and videos.
Pixel has a 2770mAh bat-
tery, aerospace-grade alu-
minium unibody (glass shade
with 2.5D Corning Gorilla Glass
4), 4GB LPDDR4 RAM, Qual-
comm Snapdragon 821 2.15GHz
Price
` 1799 + 1.6GHz, 64-bit quad-core
(on Amazon) processor, 12.3MP rear camera,
8MP front camera, up to 128GB
storage, ports including USB
Type-C, USB 3.0, 3.5mm head-
set jack and single nano-SIM
and many more features.

84 november 2016 | electronics For You www.eFYmag.com


Video door phone
Price from Zebronics
` 4800 upgrade your home or office
security to the next level

Zebronics has announced the launch of its new video door phone, ZEB-VD4
GizMo ByTes
Smart, bundled with advanced security and surveillance features. It is an ideal Aadhaar app to allow people lock,
solution for those looking to upgrade their home or office security to the next inbox information
level. Ensuring the safety of your loved ones while you are at work or out for
This mobile app enables Aadhaar holders
business, the new ZEB-VD4 Smart facilitates two-way communication and to download their Aadhaar details on
transfers live video feed to a clear LCD screen, giving you a crisp and clear mobile phones. The app carries residents’
view of the individual standing before your door, while its wide-angle camera Aadhaar number and demographics data,
assures that nothing stays hidden from your view. Equipped with advanced namely, name, date of birth, gender, address
SOS Alarm function, this video phone guarantees maximum protection from and photograph on a mobile phone. It is
stranger danger. compatible with most Android phones (3.0 to
5.0.1). The app may be downloaded through
Google Play app store on mobile numbers
registered in UIDAI’s database.
iPad keyboard case Price
` 13,990
from Logitech Technology-enabled
With Apple pencil holder
learning platform
and Smart Connector for iAugmentor is a technology-enabled learning
iPad Pro 9.7 inch platform, bringing together technology,
human intervention and a whole gamut of
CREATE iPad Pro keyboard case is learning activities under one roof with the
the ultimate creativity and produc- intention of making learning more effective,
tivity toolkit. It holds everything intimate and accountable. This platform gives
access to a personalised mentor to individuals
together—your iPad Pro, Apple
who desire to learn to augment their skill
Pencil and a keyboard—in one Fitness wearable sets. The assessment based learning tool is
snug package, so all your tools
are in one place whenever you
by Samsung a personalised and adaptive medium that
intuitively suggests a learning roadmap to
need them. A fitness band you can run with you as per your learning tendencies, learning
CREATE comes with the new while your phone stays at home competencies and learning proclivities, while
constantly tracking progress.
generation of connectivity—Apple
Gear Fit2 allows you to make the most
Smart Connector, which means you
never need to charge your key-
out of every workout with a highly- Google’s AI-centric messaging app
accurate heart rate monitor. The built-in Allo app combines the best of Google’s
board; it will source power directly
GPS tracks your running route, distance predictive and search superpowers along with
from your iPad Pro. Smart Connec- an all-new personal assistant feature. It offers
and speed in real time, with precision
tor also means that Bluetooth pair- a hint at the artificial intelligence (AI)-filled
and dedication so you can go farther,
ing is a thing of the past. Just set future Google envisions. Apart from regular
better. The 3.86 cm (1.5-inch), curved,
iPad into a typing position; as soon features, Allo is home to Google Assistant, the
super-AMOLED display is large enough new conversational assistant that Google plans
as the two points of Smart Connec-
for you to quickly check your stats mid- to bring to more of its consumer products.
tor touch, you are ready to type.
workout, without ever missing a beat.
Technical features include Tizen Yahoo launches Newsroom
operating system, Bluetooth v4.2, Yahoo has unveiled its latest mobile news
Price 802.11b/g/n 2.4GHz Wi-Fi, and GPS, application, using both algorithms and user
` 9995
GLONASS location technologies. It choices to deliver the most relevant updates
features an accelerometer, a barometer, with a social twist. Yahoo Newsroom, tailored
gyro sensor and HR sensor, 200mAh for mobile devices powered by Android or
Apple operating systems, is Yahoo’s move
standard battery, along with auto
to counter Facebook and other Internet
activity tracker (for running, walking, giants as a key place for news updates. The
cycling, elliptical rowing machine or application uses algorithms for delivering
sleep) and social challenge tracker (for personalised news, and also enables you to
steps leaderboard or steps challenge). adjust the content and offer your own views.

The prices, features and specifications are based on information provided to us, or as available on various websites and portals. EFY cannot vouch for their accuracy.

www.eFYmag.com electronics For You | november 2016 85


Buyers’ Guide estyle

Choosing Blood Sugar MonitorS


S
weet, delicious, mouth-watering A good blood sugar monitor is expected
and zero calories! Double trouble as to show results in less than five seconds.
global blood sugar levels in humans Accuracy is important, too. For example,
are shooting phenomenally, along with the if you have hypoglycaemia, that is, low
numbers appearing on sugar monitors. There blood sugar, you may need to consume
are many sugar-monitoring devices avail- sugar or glucose immediately in order to
able in the market but most of us realise the avoid dizziness or related health problems.
need of having one only after it is too late
or our dietician suggests urgency. It is time Palm-sized chemical labs
Shanosh Kumar
is technology we know that these devices have more than What is the technology behind these little
journalist at what meets the eye, and the guide to know- wonders of technology? Read on.
EFY. He is BCA
from Bangalore ing what these are made of starts here. Active chemical ingredients. Biosen-
University and sors are at the heart of every blood sugar
MBA from Christ Measuring glycaemia is not scary monitoring device. These are based on a
University,
Bengaluru Let us understand how a blood sugar moni- thin layer of glucose-oxidase (GOx) on an
tor works. It lets you measure your blood oxygen electrode. Measurement of sugar is
sugar level at any given point of time. based on the amount of oxygen consumed
Primarily, the sugar profile, or glycaemia, by GOx while reacting with glucose on the
portrays a good picture of what is happening sensor strip.
with respect to home blood glucose moni- Biosensor technology. Once the blood
toring and how sugar is playing a vital role passes through the GOx electrode, a charge
in your system. This helps dieticians and is generated due to re-oxidation reaction at
doctors administer medication to alleviate the electrode in presence of a mediator rea-
imbalance in blood sugar levels. gent. This charge is directly proportional to
You are required to prick your finger or the glucose present in the blood.
any fleshy part of your hand so a small blood Then there are amperometric and cou-
drop appears. This is touched with a dispos- lometric techniques, which measure the
able test strip fitted in the meter. Sugar count electric current generated at a certain point
instantly gets displayed on the meter’s LCD and variable point in time, respectively,
or OLED screen. The lancet (pin prick) that during glucose reaction.
comes with the kit pokes the body surface
(usually fingertip) in such a way that it does What you should look for
not create a deep cut. There are scores of interesting bits you
Testing blood glucose
Some people feel taking blood from should look for before selecting a blood
fingertips is pain- glucose monitor. These are:
ful. Alternate-site More memory. Memory size in such de-
testing comes to vices decides the number of records these
their rescue as can store. Some companies claim that they
most devices can give additional memory of a few hundred
take blood sample megabytes to add more personal data.
from places other Quicker results. Optimally, results on
than fingertips as these devices are expected to show up
well. It may relieve in less than five seconds. If you are at a
you of the pain but higher risk and require faster attention
accuracy in reading in emergency situations, you can rely on
may get affected. its swiftness; so that effects of dwindling

86 november 2016 | electronics For You www.eFYmag.com


blood sugar levels and the damage button cells to rechargeable ones.
these could cause can be reduced. The whole system works at about
Handy fit in pocket. Though size three volts in most cases, while
never beats functionality, difficulty monitoring devices with universal
in removing a lancet or test strip and USB chargeable points are gain-
then inserting these into the device ing popularity. Battery may last a
on a cold wintery night could be a couple of thousands of readings for
nightmare. You can get a cut if the some products.
lancets are not big enough to handle Display size. Large OLEDs are a
during the dark of night while shiver- fad now. These may cost a little more
ing in the cold. The strip, lancet and as compared to their smaller LCD
device are expected to be of handy counterparts. But these might come
form factor. in handy for aged users who can read
Plug-and-play monitoring and large numbers more comfortably.
management. This functionality is
expected by those who want to view Must add to your cart
graphs, charts and reports on a regu- Fastest test timing with Omron.
lar basis. Software that gives mean- Its predecessors used up nine times
ingful insights can help you gauge more time to detect. Now, claimed
and analyse better. The ultimate to give results in five seconds, this
goal is to achieve connectivity using device can store up to 512 measure-
cable slots or wireless connectivity ments. It has software support for
with an insulin pump, if required. reviewing historic trends for a multi-
It is now possible to plug the device tude of time periods.
directly into a computer, and almost Expect more intelligence in
all devices that provide accurate data Contour. It employs electrode bio-
could be linked to the software mod- sensor method for glucose analy-
ule. Reports could be downloaded sis; also has auto-log technology
and compared every month or year, for comparing sugar spikes during
backed up and shared with anyone. meals. Loaded with a reminder and
Autocoding beats miscoding an OLED display, it is powered by a
and coding. Miscoding. You only rechargeable battery and connects to
spend a couple of minutes daily on any USB port to power up.
these devices, and the last thing Always-active monitors from
expected is a wrong reading. Meters Accu-Chek. Handy and quite
can give false results and a miscod- popular, these devices are powered
ing can lead to 40 per cent chances by lithium-ion batteries, and the
of falsification, which, in medical compact plus version lasts about
terms, is a huge error for margin for a 1000 tests. This device has features
monitoring device. like automatic coding for every drum
Coding. Older devices need to be (containing test strips) change.
calibrated (coded) for accuracy. Cod- It is just a matter of time before
ing provides a reference point for an more sophistication seeps into such
instrument to start with reading and biomonitors. Wireless technology
helps reduce error margin. If coding and connected medical devices are
or calibration is not effective, the all pointing to the fact that these
device can not be relied upon. Coding devices are perfecting themselves to
is often done by inserting a chip in provide more accurate values and
the meter. deliver more insights. In the days to
Autocoding. Nowadays, each strip come, regular glucose monitoring
is coded to the meter, so coding hap- could be the key decision maker for
pens automatically. healthy living, level of activity, nutri-
Battery life. These devices could tion and medication schedules to
house anything from lithium-ion avoid complications of diabetes.

www.eFYmag.com electronics For You | november 2016 87


iv
.
S.C Di
e
Do-it-yourself
Dw

Wireless Digital thermometer


For multiple SenSorS
Arup KumAr Sen

M
y last article ‘Remote Sens- verter (ADC) continuously scans and a 433MHz ASK/OOK RF receiver
ing Thermometer’ pub- converts signals from eight different module. The received 8-bit serial
lished in June 2013 issue temperature sensors. The sensors are signal is then converted back to its
gave the constructional details of a selected sequentially by a 3-bit binary original parallel form, by using special
project for sensing and measuring addressing system. At any moment, data decoders as explained later. An
temperature of a body from a remote output of the ADC is an 8-bit binary equivalent analogue signal is then
place. The circuit described there number representing the analogue developed from this data by an 8-bit
works absolutely fine, but it suffers signal developed at the output of a digital-to-analogue converter (DAC).
from a major drawback; it cannot particular temperature sensor, being A digital multimeter connected at the
measure more than one temperature addressed at that moment. output of the DAC is used to show the
at a time. To overcome this problem, By using special parallel-to-serial temperature on mV scale.
a different technique is adopted here, encoders, this 8-bit data, along with
which allows you to sense eight (at the binary address of the sensor, is Sensors identification
the most) transducers at a time. sent serially to the remote receiving Scanning of sensors is governed by a
end. Communication between the two 3-bit binary counter, which places, in
The technique ends are met with the help of a pair of a cyclic fashion, sequentially-changing
Block diagram of the wireless ad- 433MHz UHF transmitter and receiver binary numbers from 000 to 111 on the
dressable digital thermometer is modules operating in ASK/OOK mode. three designated scanning input lines,
shown in Fig. 1. At the transmitting At the receiving end, the A, B and C, of the ADC. Each number
end, an 8-bit analogue-to-digital con- transmitted signal is received by bears the binary address of a particular
sensor, and whenever addressed, the
sensor sends data to the ADC for con-
A/D CONVERTER

ENCODED SERIAL DATA

SENSOR−0 8 BIT DATA


version to its digital equivalent.
D7 − D4 D3 − D0
433MHz Here comes a problem. Due to
TX MODULE
continuous scanning of sensors by the
SENSOR−7 ENCODER −1 ENCODER −2
(HT12E) (HT12E)
ADC, received data may come from
C B A any one of the possible eight sensors.
3−BIT BINARY
SEQUENTIAL Hence, for proper identification of a
A5 A6 A7 DATA
source sensor, specific 8-bit binary
3−BIT ADDRESS A5 A6 A7
COUNTER A4
A0 A0 A4 SELECTOR
ADDRESSLINES
ENCODER ADDRESS SELECT
ADDRESSLINES
number (address) is tagged with the
CLOCK
A0 A1 A2 A3 A4
1 1 0 1 1 TRANSMITTER UNIT
A0 A1 A2 A3 A4
1 1 1 0 1
8-bit signal output of each sensor,
prior to transmission. Special data
(a) Transmitter unit
encoders are used for this purpose.
The encoder used in this system
D7 − D4 8 BIT DATA
DEMODULATED D3 − D0
can send only four bits of the 8-bit
433MHz SIGNAL

RX MODULE sensed data at a time. Hence, the


sensed 8-bit signal from the ADC is
DECODER −1 DECODER −2 first broken into two nibbles of four
(HT12D) D/A CONVERTER
(HT12D)
bits each. The nibbles are then sent,
3−BIT BINARY 3−BIT
ADDRESS
one after the other, repeatedly to the
ADDRESS SELECT A5 A6 A7 A5 A6 A7
receiving end, after attaching the said
A0 A4 A4 DMM
8-bit address to each of these by the
A0
THUMBWHEEL −TWS1 ADDRESSLINES
DECODER ADDRESS PRESET

A0 A1 A2 A3 A4 A0 A1 A2 A3 A4 said encoders.
RECEIVER UNIT 1 1 1 0 1
1 1 0 1 1
Among the total eight bits of the
(b) Receiver unit
address word, three are scanning bits,
Fig. 1: Block diagram of the wireless digital thermometer as explained above, and fixed for a

88 november 2016 | electronics For You www.eFYmag.com


particular sensor. The remaining five Parts List governed by a 3-bit binary up counter
bits are manipulated to designate two Semiconductors: built around CD4029 (IC6).
different addresses to two different IC1 - 7404 TTL hex inverter The counter places a continuously-
IC2 - NE555 timer
data nibbles. These five bits, once IC3 - ADC0808, 8-bit ADC changing 3-bit binary number on
set, must remain set forever. So, dur- IC4, IC5 - HT12E 212 series encoder A-B-C input lines of the ADC (pins 25,
IC6 - CD4029 CMOS up/down
ing scanning of sensors, although the counter 24 and 23). Scanning rate is dependent
logic levels of A-B-C scanning input IC7 - 7408 quad 2-input TTL AND upon the clock constructed around
gate
lines of the ADC go on changing IC8, IC17 - 7805, +5V voltage regulator
timer NE555 (IC2), and is 8Hz, ap-
sequentially from 000 to 111 in cyclic IC9-IC16 - LM35 temperature sensor proximately. Hence, each of the eight
IC18 - 7905, -5V voltage regulator
order, the said five other bits of the IC19 - 4011 quad 2-input NAND
sensors is allowed to send data to the
address word remain fixed to their gate ADC for approximately one-eighth of
preset value. As a result, different IC20, IC21 - HT12D 212 series decoder a second, irrespective of whether all
IC22 - DAC0808, 8-bit DAC
sensor output is allotted with differ- T1, T2 - BC547 npn transistor sensors are connected or not.
ent 8-bit addresses to both nibbles. D1, D2 - 1N4007 rectifier diode Here, IC3 is configured in continu-
D3, D4 - 1N4148 signal diode
This is true for all eight sensors. BR1 - DB107 bridge rectifier ous operational mode. So, whenever a
At the receiving end, after detec- LED1-LED14 - 5mm LED particular sensor is addressed, output
tion, sequentially-received two pulse Resistors (all 1/4-watt, ±5% carbon): lines of the ADC reflect the present
R1, R2, R10-R12,
trains for two nibbles are fed to two R15, R18, R19, analogue output status of the sensor.
special decoders. Like encoders, R27-R34 - 1-kilo-ohm Output of the ADC goes to data input
R3 - 2.2-kilo-ohm
decoders, too, have pre-settable eight R4, R20-R23 - 100-kilo-ohm lines of special encoders HT12E (IC4
address lines. If at any time, the preset R5-R7, R13, R14 - 10-kilo-ohm and IC5); higher nibble to IC4 and
R8, R9 - 680-kilo-ohm
address of a decoder matches with the R16, R17 - 33-kilo-ohm lower nibble to IC5, respectively.
instantaneous address of an encoder, R24 - 2.7-kilo-ohm As TE input (pin 14) of encod-
R25 - 1.2-kilo-ohm
the decoder decodes the received sig- R26 - 5-kilo-ohm
ers is permanently grounded (logic
nal and extracts the 4-bit data sent for VR1 - 10-kilo-ohm 40-turn trim 0), the encoders are configured to
it, and consequently places the same potmeter produce encoded data continuously.
Capacitors:
on its four output lines. C1 - 500pF ceramic disk Data is available at pin 17 of IC4
The 8-bit output data (4-bit plus C2 - 1µF, 16V electrolytic and IC5. These two encoded digital
C3 - 10nF ceramic disk
4-bit) from the two decoders are fed to C4, C6, C7 - 1000µF, 25V electrolytic outputs are alternately steered to TX1
an 8-bit DAC. The DAC in return gen- C5, C8, C9 - 10µF, 16V electrolytic (TX-433MHz), a UHF RF transmit-
C10 - 100nF ceramic disk
erates an equivalent analogue current. C11 - 100µF, 16V electrolytic
ter module, to modulate UHF carrier
This current, when allowed to flow Miscellaneous: wave generated by the module. Selec-
through a resistor, developes an ana- X1, X2 - 230V AC primary to tion of encoder output is done in the
12V-0-12V, 500mA
logue voltage (negative with respect secondary transformer following manner:
to ground) across it. This analogue TX1 - 433MHz transmitter module Whenever IC2 output pulse goes
RX1 - 433MHz receiver module
output of the DAC is measured with TWS1 - Thumbwheel rotary switch
high, pin 10 of AND gate N3 of IC7
the help of a digital multimeter. DMM - 3 ½-digit digital voltmeter (a quad 2-input TTL AND gate) also
CON1, CON2 - 3-pin connector goes high, allowing output of IC5 to
Circuit and working CON3
CON4
- 5-pin connector
- 2-pin terminal connector be steered to TX1 through diode D4.
Circuit of the wireless addressable ANT.1, ANT.2 - 35mm length wire At the same time, due to the presence
digital thermometer is divided into of transistor inverter T1, pin 13 of gate
three parts: transmitter, receiver and whenever desired. IC 7404 (IC1) N4 of IC7 goes low, inhibiting output
power supplies. configured as a CMOS oscillator with of IC4 to reach TX1 through gate N4.
Transmitter. Fig. 2 shows the the help of resistors R1 and R2, and As soon as the clock pulse returns to
circuit diagram of the transmitter unit capacitor C1 feeds the ADC with logic 0, output of IC4 gets its passage
for the wireless addressable digital necessary clock pulses required for to TX1 through gate N4 of IC7.
thermometer. Eight LM35 IC tempera- conversion processes. So, in essence, analogue data of
ture sensors (IC9-IC16) are connected Output voltage of LM35 series a sensor is converted and the resul-
to IN0-IN7 inputs (pins 26 to 28 and IC temperature sensors follows tant 8-bit digital data is sent to the
5 to 1) of ADC 0808 (IC3). Although linearly (@10mV/°C) the centigrade remote end using ASK/OOK modula-
the ADC is capable of accepting a temperature of its surroundings, tion, in a complete clock cycle of IC2.
total number of eight sensors through taking 0mV at 0°C temperature. The Modulated signal is radiated into space
its eight input lines, less number of ADC continuously scans its eight through a wire (approximately 35cm
sensors could be used as well as, input lines. The scanning process is long), acting as an antenna, connected

www.eFYmag.com electronics For You | november 2016 89


90
IC12 IC11
IC10 IC9
LM35 LM35
LM35 LM35

Vcc
VO
GND
Vcc
VO
GND
Vcc
VO
GND
Vcc
GND
VO

1
2
3
1
2
3
1
2
3
1
2
3
R9 R8
680K 680K
IC13 IC14
LM35 LM35 18 16 15
18 16 15
1 IN2 28 Vcc OSC1 OSC2
IN3 1 Vcc OSC1 OSC2

Vcc
VO
GND

VO
Vcc
GND
2 27 A0 1
IN4 IN1 17 A0
DOUT 17

1
2
3

1
2
3
3 26 2 DOUT
IN5 IN0 A1 2
4 25 A A1
IN6 ADD A 14
3 TE 14

Fig. 2: Circuit diagram of the transmitter unit


5 24 B A2 3 TE
IN7 ADD B A2

ing unit of the wireless addressable


at the antenna point of the module.

digital thermometer. RX1, a 433MHz


6 23

Receiver. Fig. 3 shows the receiv-


IC16 START ADD C C 4 13

november 2016 | electronics For You


IC15 A3 4 13
7 22 IC4 AD11 A3
LM35 LM35 EOC ALE IC5 AD11
5 HT12E
8 IC3 21 D7 A4 5 HT12E
2−5 2−1MSB 12 A4

Vcc
VO
GND

Vcc
VO
GND
9 20 AD10 12
OE ADC0808 D6 6 AD10
2−2 A5 6

1
2
3

1
2
3
10 19 D5 A5
CLOCK 2−3
11 18 7 11
Vcc 2−4
D4 A6 AD9 7 11
A6 AD9
12 17 D0
VREF(+) 2 −8LSB 8
A7 8
D1 13 VREF(−) 16 10 A7
GND AD8 10
9 AD8
1N4007 14 15 D2 GND 9
2−7 2−6 GND
CON1 1 IC8 3
FOR X1 7805
D2
1N4007 2

C5 D1
10u
C4
16V D3
1000u
25V
Do-it-yourself

RF receiver module, is used to


GND Q3 Q2 Q1 TX1 = 433MHz TRANSMITTER MODULE

receive and demodulate ASK-mod-


ulated RF signal transmitted by TX1
of the transmitter unit. Demodulated
R3 R6 ANT.1
14 2.2K 10K TX1
Vcc 1 16
1 2 PE VDD
N1 1 RF TX
2 Q4 15 Vcc 14
3 4 CLOCK
Vcc
ANT

GND
DATA

7 DIS RESET 4 2 13
N2 3 JAM 4 14 N1
Q3 1 2 3 4
5 6
R4 6 3 12
N3 TH 8 4 JAM 1 13 N4
100K JAM3
9 8 IC2 Vcc
4 11
NE555 12

explained earlier.
N4 5 CI
JAM2
2
11 10 TRI O/P 3
5 10 D3
6 Q1 N2
N5 Q2 11
1 5 1N4148
13 12 GND CV R5 6 9
7 CO 10 N3
N6 10K UP/DOWN R10 R11 R12
R1 GND 1K 1K 8
R2 8 Vss 9 1K 7 GND
1K C2 B/D
7 IC1 1K C3 R7
C1 1u T1 LED1 LED2 LED3 D4
10n 10K
500p 7404 16V
IC6 IC7 1N4148
BC547
CD4029 7408

comprising a 4-bit data nibble and


destined for a particular decoder as
output is a train of rectangular pulses

www.eFYmag.com
Transistor BC547 (T2) is used as a pulse

VR1
10K
amplifier to amplify the signal output from RX1
and, hence, raises the pulse height to CMOS

15

14

12

11
16

Vcc 13

10

100u
C11

16V
compatible logic -1 (>3.5V at 5V). This com-

A7
V REF(+)

A6

A5
COMP

A8 LSB
VREF(−)
patible output is then fed to CMOS NAND gate

DAC0808

1.2K

TO DMM
R25
4011 (IC19). NAND gate N1 helps to get pulses

IC22

CON4
A1 MSB
of perfect rectangular-wave shape. Output of

GND

VEE
NC

A2

A3

A4
gate N1 of IC19 is fed to decoders HT12D (IC20

Io

R26
5K
2

8
1

4
and IC21). Address lines of the decoders are
preset to receive data from encoders IC4 and

100n
C10
IC5, respectively.
LEDs (LED5 and LED6) connected at their

R17
33K
2.7K
R24
VT outputs (pin 17) flicker to indicate recep-

R19 1K

LED6

LED14
tion of valid data. Decoding speed (as mea-

R34
1K
sured at pin 15) is 200kHz (approximately).

18

16

15

17

14

13

12

11

10
Decoded data is then fed to IC22, a DAC (0808).

LED13
R33
OSC1

OSC2

VT

DIN

D11

D10

D9

D8
VDD

1K
Analogue current output of the DAC (pin 4) is

HT12D
loaded with resistor R26. Voltage developed

IC21

LED11 LED12
R32
across it is fed to a digital multimeter, which

1K
VSS
shows the temperature on mV scale.
A0

A1

A2

A3

A4

A5

A6

A7

R31
A thumbwheel switch (TWS1) is used to

1K
1

9
change the preset address of the decoders (IC20
and IC21). The switch changes the last three

LED10
R16
33K

R30
1K
LSB of the address. For example, to get data LED5
R18 1K

from the sensor (IC13) connected at IN4 input

LED9
R29
of the ADC, the number to be set on TWS1 is 4.

1K
Power supplies. The thermometer needs
18

16

15

17

14

13

12

11

10

LED8
R28
power supplies both for its transmitter and re-

1K
OSC1

OSC2

VT

DIN

D11

D10

D9

D8
VDD

ceiver units. Whereas the transmitter unit needs


HT12D
IC20

LED7
R27
only a +5V regulated power supply built around

1K
X1, D1, D2 and IC8 (Fig. 2), the receiver unit
VSS
A0

A1

A2

A3

A4

A5

A6

A7

100K
R23
needs a dual +5V and -5V supplies built around
CB A
1

X2, BR1, IC17 and IC18 (Fig. 3). Both circuits

100K
R22
work from 230V AC, 50Hz connected to the pri-
Vcc 14

13

12

11

10

maries of transformers X1 and X2, respectively.


8
9

100K
R21
Power supply circuits are self-explanatory.
N4

N3

Three-terminal positive voltage regulator IC


4011
IC19

C +5V

100K
R20

7805 is used both in the transmitter and the re-


N2
N1

2
7 GND

8
1

ceiver units to get regulated +5V supplies. On


FOR TWS1

the other hand, a three-terminal negative-volt-


1

age regulator IC 7905 is used to get -5V supply


CON3
LED4

required for DAC0808 of the receiver unit.


R15
1K

Construction and testing


16V
16V
10u

10u

3
3

C8

C9

Fig. 3: Circuit diagram of the receiver unit


RX1 = 433MHZ RECEIVER MODULE

BC547
R14
10K

R13 10K

An actual-size, single-side PCB pattern for


T2

7905
7805
IC17

IC18

the transmitter unit of the wireless address-


2

1
1000u

1000u
25V

25V

able digital thermometer is shown in Fig. 4


C6

C7

GND
5 6 7 8

DATA
1

and its component layout in Fig. 5. Similarly, DATA


RX1

Vcc
an actual-size, single-side PCB pattern for the
3

GND
RF RX

~BR1+
_
DB107

receiver unit is shown in Fig. 6 and its compo-


FOR X2
CON2

nent layout in Fig. 7. Vcc


~
1 2 3 4
ANT.2

GND
For connection of TWS1, use a four-wire
1

GND

cable to connect it to the PCB. Fix TWS1 on the


ANT

front panel of the receiver unit.

www.eFYmag.com electronics For You | november 2016 91


Do-it-yourself
Mounting of the sensor IC requires
some special attention. If temperature
of a solid surface is to be monitored,
the sensor may be fixed to the surface
by using metal clamps, or glued
directly to the surface with high-tem-
perature epoxy adhesive.
For liquid temperature measure-
ment, the sensor cannot be immersed
directly in the liquid, as the liquid
may be a conductive type, and in
that case, the sensor’s leads would
be electrically shorted. To solve this
problem, the sensor may be mounted
inside a sealed-end metal/glass tube.
Connecting wires must go to the
leads through high-temperature in-
sulating sleeving. The tube may then
be dipped into the liquid, or screwed
through some threaded hole in the
container of the liquid. Although
steel gives very high ruggedness to Fig. 4: An actual-size PCB pattern of the transmitter unit
construction, in general, a glass tube
would be an ideal choice when tem-
perature of a chemically reactive bath
is to be measured.
During construction, special care
must be given regarding the choice of
some resistors and capacitors. Resis-
tors R1, R2, R24, 25 and 26 must be
of highly-stable and low-temperature
co-efficient type, to make the units
stable against time and ambient tem-
perature variations. Metal-film type
may be used for this purpose. VR1 is
a 10-kilo-ohm, 40-turn trim potmeter.
This should be of highly stable type.
Ground return leads of the sen-
sors must be grounded close to ADC
ground lead, otherwise erroneous
results may be observed.

Calibration and adjustment


For proper operation of this wire-
less thermometer, reference current Fig. 5: Component layout of the PCB shown in Fig. 4
(to pin 4 of DAC0808 - IC22) of the
receiver unit should be pre-adjusted. DC 200mV range, positive lead to So, received voltage = (D×
To do this, follow the steps below: ground and negative lead to top of 5)/256 = (76×5)/256 = 1.50
Connect a known voltage source R26. Switch on the receiver unit. where D is the weight of the bi-
(not exceeding +5V) to any input of LEDs at decoder outputs should nary numbers represented by LED7
the ADC, say, at IN6 (pin 4) of the start glowing to indicate the re- through LED14.
ADC. Switch on the transmitter unit. ceived voltage data. If source volt- Now, adjust trim potmeter VR1 to
Connect a DMM across R26 of the age is 1.5V, status of LEDs should be get 150.00mV on the dial of the multi-
receiver unit. Set the range switch to as listed in Table I. meter. Connect another voltage source

92 november 2016 | electronics For You www.eFYmag.com


at the input and see that the multimeter
shows it correctly. If required, re-adjust
the trim potmeter. After proper calibra-
tion, enclose the circuit in two separate
boxes with suitable connections of
input and LED indicators.

How to use
1. Attach LM35 sensors (IC9 through
IC16) of the transmitter unit to differ-
ent subjects of interest, noting inputs
(IN0-IN7) of the ADC to which these
are connected individually.
2. Attach a digital multimeter to
the output of the receiver unit with
positive lead to ground and negative
lead to R26. Set the multimeter’s dial
to 200mV range.
3. Switch on both transmitter and
receiver units.
4. Rotate the rotary thumbwheel
switch to get the temperature of a
Fig. 6: An actual-size PCB pattern of the receiver unit particular subject. For example, if you
like to get temperature of the subject
attached to the sensor connected to
IN6 input of the ADC, the thumb-
wheel switch ought to be rotated to
position 6.
5. A temperature of 27.5°C would
be displayed as 27.5mV (when value
of R26 is around 500-ohm). If R26 is
5k, displayed value would be 0.275V
when DMM range switch is set to 2V.

Applications
Although the system can be used best
to measure temperatures in hazard-
ous or inaccessible areas (like a ra-
dioactive zone), the same can also be
used by a hospital doctor to monitor,
from a fixed location, the body tem-
peratures of multiple patients lying in
different rooms without visiting each
patient in person.
A hotel control room can moni-
Fig. 7: Component layout of the PCB shown in Fig. 6 tor temperatures of all the rooms
at the same time by using multiple
units. The unit can also be used (with
StatuS of LEDs in thE rEcEivEr unit certain modifications) as a wireless
LED 7 8 9 10 11 12 13 14 digital voltmeter.
Data bit DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Weight 128 64 32 16 8 4 2 1 Arup Kumar Sen is a retired technical
officer - II, S.A.I.F., Bose Institute, Kolkata
Status Off On Off Off On On Off Off

www.eFYmag.com electronics For You | november 2016 93


.
Do-it-yourself
S.C Di
w ive
D

0.1u
VPS* 4

PIEZO BUZZER

C5
CON3
FOR

FOR 12V

5
12V Battery

CON4

BUC#

VR5
5K
PZ1

BUC# = BATTERY UNDER CHARGING


VR4
Charger-

10K
R8

5K
R10 100E
6

POLARITY
LED5 REVERSE

4.7V
ZD1
Cum-

3.3K
LED7 R11

5
2

3
VPS* = VARIABLE POWER SUPPLY

IN1−

IC3 IN1+

IN2−

IN2+
LM358
VariaBle

OUT1

7 OUT2

GND

JUMPER
LED3 CHARGING

Vcc
Power

3.3K
R9

J3
3.3K
R7

TP7
SuPPly

BATTERY

CHARGE
1N4007

TP6

LED4
FULL
DEAD
LED6
D11
TP5

JUMPER
3.3K
R6
Fayaz Hassan

J1
3

HEALTHY

3.3K
1N4007

47K R5
3.3K

LED2
R4
D10
6A4
D4

VR3
VR2
5K
2
T
he circuit presented here can charge
JUMPER

BC547
VR1
a 12V lead-acid battery of 50Ah to

5K

T1
J2

80Ah (even up to 100Ah) capacity and P2

P1
can even be used as up to 18V DC variable
12V,1C/O

12V,1C/O
USED IN PCB FOR EXTERNAL CONNECTIONS

N/O 2

N/C 1
N/C 2

N/O 1
power supply of maximum 5A capacity,
ARE JUNCTIONS

RL2

RL1
which is useful for a test bench. The circuit
0.1E, 5W

can automatically detect the presence of a

2N2222
R3

battery connection and start charging. At

100u,35V
1N4007

T2
that time, it disconnects the output provided
D12
POINTS 1 THROUGH 6

C3
as variable power supply. It also detects the
wrong/reverse polarity connection of the
TP4
COOLING

battery terminals and raises an alarm. The


6A4
6A4

D3
D5

270E
CON2

charger initially charges the battery at a


R1
FOR

FAN

TP2
TP3

higher voltage (about 14.2V), and once it is


10u,25V

fully charged, it maintains the battery charge


Fig. 1: Circuit of the 12V battery charger-cum-variable power supply
1N4007
1N4007

C2

at a constant voltage (about 13.4V).


2
2
25V
10u

D7
1N4007

D9
C4

1N4007

Circuit and working


LM138
LM138
1N4007

IC1
IC2
3

1
1

Circuit of the 12V battery charger-cum-var-


D8

D6
7812
IC4

iable power supply is shown in Fig. 1. It is


3
3
D13

built around two LM138 variable voltage reg-


ulators (IC1 and IC2), dual op-amp LM358
1
X1 = 230V AC PRIMARY TO 15V−0−15V,
5A SECONDARY TRANSFORMER

(IC3), 12V voltage regulator 7812 (IC4), two


4700u

relays (with normal 12V, 1C/O PCB-mounted


GND

40V
C1
TP1

and 12V, 1C/O, 10A contact-current rating)


TP0

6A4
6A4

and a couple of transistors.


D2
D1

POWER
3.3K

LM138 is a 3-pin, 5A positive-voltage


R2

LED1
X1

regulator available in TO-220 or TO-3 pack-


age. But continuous current flow of 5A
SWITCH

230V AC
ON/OFF

INPUT
CON1

50Hz,

generates a high temperature, which shuts


FOR
S1

down output of LM138 automatically due to


L

its internal thermal protection.

94 november 2016 | electronics For You www.eFYmag.com


Fig. 2: Actual-size PCB pattern of the battery charger-cum-variable power supply

Fig. 3: Component layout of the PCB

This circuit simplifies higher cur- is fed to IC1 and IC2 that are wired ed for charging, no power is given to
rent handling of LM138 by using IC1 in parallel. Their output voltage is IC3. RL1 and RL2 are in non-ener-
and IC2 in parallel, but still output regulated either by VR1 (in case of gised state, and potmeter VR1 can be
voltage can be regulated by a single variable power supply) or VR2 (in used to get variable voltage output
variable resistance. Care should be case of battery charger), which is across CON3 fitted on the cabinet.
taken for handling the lines carry- selected by relay RL2. Output so When a 12V battery under charg-
ing 5A current. Two separate relays obtained is available for the variable ing (BUC#) is connected properly
(RL1 and RL2) are used to reduce power supply or battery charger to terminal CON4 for charging, IC3
the cost of the project. through RL1. gets power supply from the battery
Transformer X1 steps down 230V Dual op-amp LM358 (IC3) is through diode D10. If battery voltage
AC to 15V-0-15V AC that is then used to control the relays and select is below ‘dead’ voltage (say, 6-9V
rectified by diodes D1 and D2 and the type of output, that is, whether and at least above 6V), pin 7 of IC3
smoothened by capacitor C1. This for battery charger or variable power pulls low and LED6 glows. If the bat-
voltage, which is around 20V DC, supply. When no battery is connect- tery is healthy (say, more than 9V),

www.eFYmag.com electronics For You | november 2016 95


Do-it-yourself
pin 7 of IC3 goes high and switches Parts List
on LED2 and conducts transistor T2, Semiconductors:
Test Points
and RL1 and RL2 energise. IC1, IC2 - LM138, variable voltage Test point Details
regulator
Output voltages of IC1 and IC2 IC3 - LM358 dual op-amp TP0 0V (GND)
are regulated by VR2 and are avail- IC4 - 7812, 12V voltage regulator
TP1 Around 20V DC when
T1 - BC547 npn transistor
able for charging at CON4. Once the T2 - 2N2222 npn transistor S1 is closed
battery under charging attains its full LED1-LED7 - 5mm LED TP2 1.2V to 18V
charging voltage, pin 1 of IC3 goes D1-D5 - 6A4 rectifier diode
D6-D13 - 1N4007 rectifier diode TP3 1.2V to 18V
high, as indicated by the glowing ZD1 - 4.7V zener diode
TP4 0.5V to 18V
of LED4, and T1 conducts, which Resistors (all 1/4-watt, ±5% carbon, unless stated
otherwise): TP5 0.5V to 18V
reduces the voltage at pin 1 of IC1 R1 - 270-ohm TP6 Around battery voltage
and IC2. R2, R4-R7, R9,
When a 12V battery is connected R11 - 3.3-kilo-ohm TP7 0 when J3 is grounded or
R3 - 0.1-ohm, 5watt 12V when J1 is not grounded
in reverse polarity, D11 conducts, R8 - 10-kilo-ohm
which, in turn, switches on the R10 - 100-ohm
VR1, VR2,
piezo buzzer and LED5 glows. This VR4, VR5 - 5-kilo-ohm potmeter with respect to ground) at TP6.
protection is important while charg- VR3 - 47-kilo-ohm potmeter 8. Once the required voltages are
Capacitors:
ing batteries externally. C1 - 4700µF, 40V electrolytic
set, remove J2. The circuit is
C2, C4 - 10µF, 25V electrolytic ready to use.
Construction and testing C3 - 100µF, 35V electrolytic 9. If no battery is connected at
C5 - 0.1µF ceramic disk
An actual-size, single-side PCB for Miscellaneous: CON4, variable voltage is ob-
the 12V battery charger-cum-variable X1 - 230V AC primary to tained at CON3 by using VR1.
15V-0-15V, 5A secondary
power supply is shown in Fig. 2 and transformer
Brightness of LED7 is proportion-
its component layout in Fig. 3. RL1 - 12V, 1C/O PCB-mounted al to the output voltage at CON3.
After assembling the circuit on relay 10. If 12V (≥50Ah) battery is connect-
RL2 - 12V, 1C/O, 10A contact-
the PCB, place it in a suitable cabi- current rating relay ed at CON4 in reverse polarity,
net. Fit CON3 and CON4 on the front CON1, CON2 - 2-pin connector buzzer PZ1 gives an alarm sound
CON3, CON4 - 2-pin connector terminal
side of the cabinet. CON3 is for vari- for 10A and LED5 glows.
able power supply (VPS*) and CON4 S1 - On/off switch (6A) 11. If the same battery is connected
PZ1 - Piezo buzzer
for battery under charging (BUC#). J1-J3 - 2-pin shorting jumper
in correct polarity at CON4, status
Connect CON3 between N/C2 connector of the battery is indicated by
terminal of relay RL2 and point 4 - Heat-sink for IC1, IC2, IC4 LED2 (healthy) or LED6 (dead).
- 12V cooling fan
given on the PCB. Connect CON4 RL1 and RL2 will get energised in
between points 3 and 5 given on the case the battery is healthy and the
PCB. Fix VR1 through VR5 and all required) with respect to ground battery will get charging voltage.
LEDs on front side of the cabinet, at TP6. Once the battery is fully charged,
and label these as shown in the 3. Adjust VR4 such that you can LED4 glows, which indicates that
circuit diagram. turn on and off status LED2 and the battery is fully charged and
Place transformer X1 inside the LED6 alternately. RL1 and RL2 the charger is at standby voltage.
cabinet. Fix CON1 and switch S1 also change their states (ener- 12. Use proper crocodile clips for
on the rear side of the cabinet. Use gise/de-energise). connecting the battery terminals.
proper heat-sinks for IC1, IC2 and 4. Adjust VR2 to get the full bat- EFY note. 1. Charging voltage,
IC4, and connect a 12V cooling fan tery voltage (say, 13.4V DC with standby voltage and battery dead
at CON2 for fast cooling. respect to ground) at TP6. voltage may vary as per the manu-
The circuit works off 230V mains 5. Adjust VR5 to turn on LED4, facturer of the battery. The values in-
power supply. Refer the test points ta- if TP7 is connected to ground dicated here are safe voltage values.
ble for checking the voltages at vari- through J3. 2. Heat-sink with mica insulation
ous points before using the circuit. 6. Once LED4 is set, adjust VR2 must be provided for IC1 and IC2.
to get battery charging voltage
Initial setup and testing (say, 14.2V DC with respect to
Fayaz Hassan is a manager
1. Remove jumper J1 and J3, con- ground) at TP6. at Visakhapatnam Steel Plant,
nect J2 and switch on S1. 7. Connect J1 (J2 still connected) Visakhapatnam, Andhra Pradesh.
He is interested in microcontroller
2. Adjust VR1 and VR2 to get 9V and adjust VR3 to get battery projects, mechatronics and
DC (as battery dead voltage or as standby voltage (say, 13.4V DC robotics

96 november 2016 | electronics For You www.eFYmag.com


Do-it-yourself S
Dw .C.
ive
Di

Simple SuitcaSe-Lift aLarm


PradeeP G.

T
his suitcase-lift alarm circuit is built around HDX-2NC, which is Parts List
uses vibration sensor HDX- connected across connector CON2, Semiconductors:
2NC instead of a commer- transistors BC547 (T1) and BC557 T1 - BC547 npn transistor
cially available sensor. A home- (T2) and a piezo buzzer (PZ1). T2 - BC557 pnp transistor
D1 - 1N4148 signal diode
made mercury switch can also be Normally, vibration sensor ter- LED1 - 5mm LED
used instead. minals are shorted internally. When Resistors (all 1/4-watt, ±5% carbon):
the suitcase is lifted, sensor termi- R1 - 470-kilo-ohm
Circuit and working nals momentarily open. This allows
R2 - 1-kilo-ohm
R3 - 680-ohm
Circuit diagram of the simple suit- capacitor C1 to charge through resis- VR1 - 100-kilo-ohm potmeter
case-lift alarm is shown in Fig. 1. It tor R1 and diode D1. Discharging Capacitors:
C1 - 100µF, 25V electrolytic
path is through VR1 Miscellaneous:
and T1. CON1 - 2-pin terminal connector
R2
When T1 and T2 CON2 - 2-pin connector
R1 1K S1 - On/off switch
S1
470K VR1 conduct due to charged PZ1 - Piezo buzzer
POWER
T2
100K
ON/OFF C1, LED1 glows and - 9V battery
BC557 - Vibration sensor HDX-2NC
the buzzer sounds.
D1 T1
1N4148 BC547 Alarm duration can be
R3 PZ1 set using VR1. Construction and testing
C1 680E
CON2 CON1 Use a piezo buzzer An actual-size, single-side PCB
100u FOR
FOR
25V 9V with internal oscillator pattern for the simple suitcase-lift
HDX−2NC LED1
for the alarm sound. alarm is shown in Fig. 2 and its
The circuit works off component layout in Fig. 3. After
PZ1 = PIEZO BUZZER a 9V battery, which is assembling the components on
connected across con- the PCB, house the circuit in a
Fig. 1: Circuit diagram of the simple suitcase-lift alarm nector CON1. small box.
Check the circuit’s working
before you put it in your suitcase
for use as an alarm. Switch on the
circuit and place it in a suitable
place inside your suitcase.

Pradeep G. is B.Sc. (Physics)


and a regular contributor to
international magazines. He is
also a small-business owner
Fig. 2: An actual-size PCB pattern for the simple in south India
suitcase-lift alarm Fig. 3: Component layout of the PCB

THE COMPLETE MAGAZINE ON OPEN SOURCE Your favourite Magazine on


Open Source is now on the Web, too.

OpenSourceForU.com
Follow us on Twitter@LinuxForYou

www.efymag.com electronics for you | november 2016 97


Do-it-yourself
.
S.C Di
iv e
Dw

LM386 Audio Amplifier


Raj K. GoRKhali

H
ere is a simple audio ampli- in this circuit. C1 is connected to
fier circuit built around 8-pin the middle terminal of 10k potmeter
integrated circuit LM386. VR1. C2 is connected to pins 1 and
The author’s prototype is shown 8 of IC1. Pin 5 of IC1 is its output
in Fig. 1. terminal, which is connected to
speaker LS1 through C3.
Circuit and working C4 is connected to the positive
Circuit diagram of the LM386 audio terminal of 6V battery and ground.
amplifier is shown in Fig. 2. It is Positive side of 6V is connected to Fig. 3: Actual-size PCB pattern of the audio
built around popular amplifier pin 6 of IC1 and the other side to amplifier
LM386 (IC1), an 8-ohm, one-watt ground terminal to pin 4.
speaker (LS1), four capacitors and a Inverting pin 2 of IC1 is con-
few other components. A 6V battery nected to ground and non-inverting
is used to power this project. pin 3 is connected to the input
Four electrolytic capacitors [two terminal through VR1. Audio input
10µF, 16V (C1 and C2) and two is fed to CON1. VR1 is used to
220µF, 16V (C3 and C4)] are used control volume.

Construction
and testing Fig. 4: Component layout of the PCB
An actual-size, single-
side PCB for LM386 am- Parts List
plifier is shown in Fig. Semiconductors:
3 and its component IC1 - LM386 low-power amplifier
Resistors (all 1/4-watt, ±5% carbon):
layout in Fig. 4. After as-
VR1 - 10-kilo-ohm potmeter
sembling the circuit on a Capacitors:
PCB, enclose it in a suit- C1, C2 - 10µF, 16V electrolytic
C3, C4 - 220µF, 16V electrolytic
able box. Fix connector
Miscellaneous:
CON1 on the front panel CON1 - 2-pin connector
for input and loudspeak- LS1 - 8-ohm, one-watt loudspeaker
S1 - On/off switch
er LS1 at the rear side of Batt.1 - 6V battery
the box. Connect VR1 - 2-pin terminal connector
Fig. 1: Author’s prototype on the front panel for for battery

controlling the volume.


Before using this a humming sound from the speaker.
C4
C2 S1 project, test it using This will confirm that your circuit is
220u 6
10u,16V ON/OFF the 6V battery. Connect working and ready to use.
16V 1
C1
3
8
C3 the 8-ohm, one-watt Note. LM386 provides output of
IC1 220u,16V BATT.1
10u,16V 5 6V speaker to output pin 250 milliwatts to one watt depend-
VR1 2 LM386
10K 5 of IC1 through C3. ing on supply voltage and load.
CON1 7 LS1 Switch on S1 and keep Refer its data sheet for details.
4 8−OHM
AUDIO
1−WATT
VR1 to its mid position.
INPUT
Now, take a screw-driv- Raj K. Gorkhali is a regular
GND
er and gently touch it contributor to EFY. His
interests include designing
on input terminal pin 3 electronics circuits
Fig. 2: Circuit diagram of the LM386 audio amplifier of IC1. You should hear

98 november 2016 | electronics For You www.eFYmag.com


Do-it-yourself Sa
Th ni
eo

Digital Soil MoiSture Meter


T.K. Hareendran

A
soil moisture meter is used metallic probes. These probes act as of Arduino (Board1) if the soil is
for indicating the water con- sensor elements that register mois- wet enough.
tent of a given soil sample. ture and change it into an electric Repeat the calibration process
As crop production requires water value. This value is further pro- with randomly-collected soil sam-
at different stages and in different cessed into information in the form ples ranging from very dry to very
amounts, it is important to measure of an electronic display. wet, depicting different moisture
soil moisture from time to time to levels. Re-tune VR1, if necessary,
know its status. Circuit and working until you are satisfied with the
The circuit presented here, for Front-end of the soil moisture calibration process. (Note that the
monitoring the soil moisture content meter is a simple soil moisture depths of penetration of the probes
in irrigation farms, is an electronic sensor head, built around a few
device that measures soil moisture easily-available parts. Working
content accurately and precisely. of the sensor head electronics is
It measures the resistance of flow self-explanatory, so just follow the Fig. 3: Live LCD screen in author’s prototype
of the electric current between two conceptual drawing (and schematic
drawing) shown in Fig. 1 to proceed
P1
Wires
with its construction.
P2
Complete circuit diagram of the
soil moisture meter is shown in Fig.
10mm 20mm dia 2. After construction of the sen-
PVC tube sor head, power it off a regulated
Cork
Sleeved 10mm 5V DC supply.
Insert the probes of the sen-
Exposed 10mm
sor head into the soil to determine
Probes: Galvanised its moisture content, and carefully
Steel wires/needles adjust the preset VR1 so that voltage
Fig. 1: Soil moisture sensor head just above 3V is available at pin A1

SOIL
SENSOR Fig. 4: Actual-size PCB pattern of the soil
PROBES moisture meter
3
2

P1
VDD

Vss
VO

USB
D7

P2 POWER
INPUT
14

D6

AREF
13

DRIVER
R1 IOREF GND
D5

120E RST
12

13
VR2
ARDUINO

3.3V 12
D4

5V 11 10K
11

GND 10
D3

16X2 LCD

GND 9
10

LCD1

Vin 8
D2
ATMEGA328

T1
9

BC547
D1

7
8

6
DIGITAL

D0

A0 5
7

VR1
A1 4
R/W EN

10K
ANALOG

A2 3
6

A3 2
A4 TX 1
5

A/VEE

A5 RX 0
RS
4

R2
K

100E
15

16

BOARD1

Fig. 2: Circuit diagram of the soil moisture meter Fig. 5: Component layout of the PCB

www.efymag.com electronics for you | november 2016 99


Do-it-yourself
After building
the hardware, load
the code (sketch) to
the microcontroller,
that is, copy the
sketch, paste it into
Arduino IDE, com-
pile and upload. It
should work at first
try and you should
get the message
shown in Fig. 3 on
Fig. 6: Screenshot of Arduino IDE your LCD screen.
An actual-size,
Parts List single-side PCB for the soil moisture
Semiconductors: meter is shown in Fig. 4 and its
Board1 - Arduino Uno or Nano V3 component layout in Fig. 5. Enclose
T1 - BC547 npn transistor
Resistors (all 1/4-watt, ±5% carbon):
the PCB in a suitable box.
R1 - 120-ohm Connectors CON1, CON2, CON3
R2 - 100-ohm and CON4 are for connecting the
VR1, VR2 - 10-kilo-ohm preset
Miscellaneous:
sensor probe, analogue input,
LCD1 - 16×2 LCD display board1 and LCD1, respectively.
CON1 - 2-pin connector These days the cheapest USB-to-
CON2 - 3-pin connector
CON3 - 6-pin connector serial chip on the market is CH340G,
CON4 - 16-pin connector and most of the reasonably-priced
- Soil moisture sensor
- 5V DC regulated USB port
Arduino-compatible Nano V3 micro-
power supply controller modules (with USB mini-B
connection) are wired with CH340G
into the soil affect calibration.) Link USB-to-serial chip on board.
the sensor head to the rest of the Arduino Nano V3 can be pow-
hardware to complete the project. ered via the USB mini-B connection
Rest of the hardware is a com- or 5V regulated external DC power
bination of Arduino microcontroller supply at 5V pin on Board1.
and a solid-state display panel. For CH340G chip on Arduino Nano
compactness, Arduino Nano V3 V3 is only powered if the board is
platform is used to drive the 16x2 being powered over USB. As a result,
LCD panel. Though a 6V battery when running on external (non-USB)
pack is used to energise the hard- power, 3.3V output (supplied by
ware setup, you can also use exter- CH340 chip) is not available. Ar-
nal DC power in 7V - 12V range at duino Nano V3 can be programmed
VIN of Board1 without any problem. with Arduino software (IDE). Just
The 10-kilo-ohm preset (VR2) is in- select Arduino Duemilanove or Nano
cluded to adjust the contrast level of w/ATmega328 from Tools→Board
the display. Similarly, the 100-ohm Menu, as shown in Fig. 6.
resistor (R2) limits the operating Driver for Arduino Nano V3
current of the backlight lamp inside clone is available at www.electronic-
the display panel. componentsonline.co.in/downloads/
ch341ser.zip
Lab note. The project was tested
at EFY using Arduino Uno board.
efy Note
The source code of
this project is T.K. Hareendran is
included in this founder and promoter of
TechNode Protolabz
month’s EFY DVD and
is also available for free
100 november 2016 | electronics for you download at source. www.efymag.com
efymag.com
Do-it-yourself
N
Ka idh
th i
ur
ia

IoT Based smarTcamera


Using Android And Raspberry Pi
Biswajit Das

P
resented here is a project that the planet. You just need an Internet need the name and code later to
lets your Raspberry Pi (RPi) connection on your RPi and smart- authenticate RPi. For example, let us
turn into a remote camera and phone. This project explains step- select Balboa for both device name
then control and watch live video by-step procedure to build your own and security code (Fig. 4). After
being captured by this camera on remote smart security camera. clicking OK, you should see your
your smartphone from anywhere on Hardware required for building Butterfly PI as offline (Fig. 5).
the camera are Android smartphone
(4.0 or higher), RPi 2, Raspberry Raspberry Pi setup
camera module, 5V, 1A power adap- Download the image of Butterfly PI
tor with micro-USB output, USB for RPi from https://drive.google.com/
audio adaptor (optional) and USB file/d/0By5lfnzRBBmAZkRzSmFEaj
Wi-Fi dongle (RPi 2-compatible). ByWU0/view?ts=5713a68b
Software required for this project
is Buttery TV app. Since the project
is developed using Butterfly TV and
RPi, we have named it Butterfly PI.
It has the following features:
1. You can broadcast live video
in several resolutions.
2. It communicates with your
audience via comments while you
are broadcasting.
Fig. 1: My Butterfly PIs 3. It allows you to share live Fig. 4: Device name and security code
video with your friends and follow-
ers on Facebook and Twitter.
4. You can sign up through Face-
book or Google+.
5. You can watch and share your
videos later and delete whenever
you want.

Smartphone setup
Download and install Butterfly TV
Fig. 2: My Butterfly PIs screen window from Google Play store. Butterfly TV Fig. 5: Butterfly TV offline mode
is integrated with the smartphone
camera. Login to Butterfly TV and
click on My Butterfly PIs item in the
menu (Fig. 1). You should see the
screen shown in Fig. 2 when you
first open My Butterfly PIs screen.
Click on Add new Butterfly PI in
the menu as shown in Fig. 3. Write
your chosen camera name as device
name and security code in Add new
Fig. 3: Add new item Butterfly PI dialogue box. You will Fig. 6: Butterfly online mode

www.efymag.com electronics for you | november 2016 101


Do-it-yourself
To write images to an SD card, Menu→Preferences→WiFi Con-
the tutorial found on following link figuration. Enter your Wi-Fi SSID
might be helpful: www.raspberrypi. and password and click OK. Check
org/documentation/installation/ your Internet connection and reboot
installing-images/windows.md your system. Your Butterfly TV will
Plug the MicroSD card into RPi become online (Fig. 6).
and interface the camera to it. Make To watch live video streams be-
sure that power adaptor is un- ing captured by RPi camera, click
plugged. Now plug in your keyboard Play (Fig. 6).
and mouse, and power on RPi. From If Butterfly TV is still off, find
the terminal, edit startup.sh file in startup.sh file in path/home/pi/
RPi as given below: scripts and open it to verify the
$ sudo nano /home/pi/scripts/startup.sh device name and security code.
Change the following line: Security code is a kind of password
java -jar /home/pi/butterflypi.jar for your camera.
[DeviceName] [Security Code] & Live video streaming will be
Here, enter your device name automatically saved in your mobile.
and security code as Balboa. Press So you now have a mobile app con-
Ctrl+o to save it and Ctrl+x to exit trolled smart security camera.
the program.
Press Alt+Ctrl+F2, and you
will get Command prompt. Enter pi
as login user name and butterflypi Biswajit Das was manager -
as password. R&D, EFY Labs, till recently

Set up your Wi-Fi network from Fig. 7: Video capture on the smartphone

102 november 2016 | electronics for you www.efymag.com


Do-it-yourself
N
Ka idh
th i
ur
ia

GPS Distance Meter


Somnath Bera

P
resented here is a project measure the distance between two 16×4 LCD, pushbutton switches and
based on Global Position- points using Haversine formula. It a few other components.
ing System (GPS) and can be a handy tool for a thermal
ATmega328P-PU microcontroller to power-plant patrolling/inspection or Circuit and working
any other application where large Circuit diagram of the GPS distance
Parts List
distance measurement is required. meter is shown in Fig. 1. To make
Semiconductors:
IC1 - ATmega328P-PU For example, in the thermal the circuitry simple and less power
microcontroller power plant industry, a patroller consuming, the 16MHz resonator/
GPS receiver - D2523T GPS receiver module
MicroSD - SparkFun microSD card
is required to take measurements crystal and associated pico capaci-
transflash breakout for laying out a new route, replace- tors on Arduino board are not used.
Resistors (all 1/4-watt, ±5% carbon): ment/shifting of old routes or exten- Arduino is programmed on plain
VR1 - 10-kilo-ohm preset
Capacitors:
sion of pipelines deep inside the ATmega328P-PU with an internal
C1 - 100µF, 16V electrolytic dyke. These activities are carried out 8MHz clock. The circuit is powered
Miscellaneous: quite often, and each measurement off a 3.7V lithium-ion battery.
LCD1 - 16×4 alphanumeric display
S1 - On/off switch requires two persons for holding a D2523T GPS receiver module
S2, S3 - Tactile/pushbutton switch large measuring tape. Demand for a used here requires between 3V and
CON1 - 2-pin terminal connector for
3.3V lithium-ion cell
GPS distance meter starts here. 3.6V DC supply and takes around
CON2 - 6-pin connector for GPS 40mA current. The module has two
receiver Hardware requirement LEDs on top and a green LED for
CON3 - 7-pin connector for microSD
card You need Arduino with an internal pulse per second (PPS).
BATT.1 - 3.3V lithium-ion battery or 8MHz clock, GPS receiver with seri- Since the pipelines are all in the
any other equivalent battery
al data port, microSD memory card, open, connection with GPS satellites
that are on low-
Earth orbit are
VR1 10K almost instant.
GPS After the device is
D2523T VSS switched on, cold
RECEIVER 1 LED−
16
start of this GPS
GPS LED 6

MODULE VE LCD1
3
VBAT 5

16x4 LCD
GND

device takes less


VIN
RX 1
TX

VDD LED+
2 15
than 20 seconds.
2
3
4

DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 EN R/W RS


14 13 12 11 10 9 8 7 6 5 4 You can check
7
Vcc AVcc 20
this from the
1
PC6/RESET AVREF 21 continuous flash-
S1 2
PD0/RXD PC5/SCL 28 ing of PPS green
3 PD1/TXD PC4/SDA 27
ON/OFF LED on the GPS
4 PD2 PC3 26 MICROSD
IC1 receiver. Immedi-
C1 5
PD3 PC2 25 CARD
ATMEGA328P
6 PD4 24 ately, latitude and
GND
SCK
VCC

100u,16V PC1
CD
DO
CS

9 PB6/XTAL1 −PU
DI

PC0 23 longitude read-


10 PB7/XTAL2 PB5/SCK 19
BATT.1 11 PB4/MISO 18
ings along with
PD5
S2
3.3V 12
PD6 PB3/MOSI 17 date and time will
READING 13
PD7 PB2 16 flash on the LCD
S3 14 PB1 15
PB0
8 GND
panel.
STOP AGND 22
Press switch
S2 to start meas-
GND urement reading,
and mark the
Fig. 1: Circuit diagram of the GPS distance meter initial reading.

www.efymag.com electronics for you | november 2016 103


Do-it-yourself

Fig. 2: An actual-size PCB pattern of the GPS distance meter Fig. 3: Component layout for the PCB

Now, move to a desired location clock circuitry with a 16MHz reso- (that is, using four or eight data
along with this assembly for taking nator and two picofarad capacitors. lines in addition to RS, enable and,
distance reading. Distance measure- You can use Arduino Uno board optionally, RW control lines).
ment values will flash on the third directly, but to get it programmed TinyGPS.h for GPS. TinyGPS is
line of the LCD and at the same on an 8MHz internal clock is rather a new Arduino library for parsing
time all readings including serial challenging. For that you need an NMEA data streams provided by
no, date, time, latitude, longitude, unprogrammed ATmega328P chip GPS modules.
dist_inst (d) and dist_total(D), will that has never been programmed SPI.h. This is for connecting the
be dumped into a text file, which with 16MHz external resonator. SD card. This library allows you to
will be stored automatically on the Because once it is programmed with communicate with SPI devices, with
microSD memory card (8GB, 16GB an external clock, it will never go Arduino as the master device.
and so on) attached to the device. back to 8MHz internal clock mode. SDFat.h. Arduino SdFat library
Latitude and longitude readings Read ‘Arduino as AVR Program- provides read/write access to
are taken up to six decimal points mer’ article for programming it FAT16/FAT32 file systems on
for calculations. Double precision with 8MHz internal clock. You can microSD/SDHC flash cards.
variable is used for the same. get it at http://electronicsforu.com/
Chances of error may be to the electronics-projects/hardware-diy/ Construction and testing
tune of 2.5 metres to 10 metres. arduino-avr-programmer An actual-size PCB pattern for the
Under the open sky, where GPS sat- An advantage of 8MHz internal GPS distance meter circuit is shown
ellites are easily located, the error is clock is that it is easy to make con- in Fig. 2 and its component layout
minimum. On a cloudy day, sighting nections on a piece of veroboard. in Fig. 3.
of GPS satellites may take a longer Besides, its power consumption is Switch on the GPS receiver and
time. So before pressing S2, wait for not even 10mA on 3.3V supply. wait till PPS LED on the GPS starts
a while until values of latitude and Various operations are imple- blinking. Soon you will find latitude
longitude get stabilised. mented in the code, and follow- and longitude values flashing on the
ing header files are included in LCD. Get the readings stabilised on
Software the library. Each header file has the LCD.
The code is written in Arduino pro- definitions for the library, while the Press S2 and you will get in-
gramming language. ATmega328P source file has the actual code. stantaneous distance (d) and total
is programmed using Arduino IDE LiquidCrystal.h for LCD panel. distance (D) values on the third line
software. Select the correct board This library allows the Arduino of the LCD panel. For example, if dis-
from Tools→Board menu in Arduino board to control LCDs based on tance from point A to B is 10 metres
IDE and burn the program (sketch) Hitachi HD44780 (or a compatible) and from point B to C is 20 metres,
through the standard USB port in chipset, which is found on most total distance D will be 30 metres.
your computer. text based LCDs. The library works The distance from A to B or from B
Arduino Uno has an external within either 4-bit or 8-bit mode to C is the instantaneous distance.

104 november 2016 | electronics for you www.efymag.com


To measure the
distance from point A
to C, press S2 and keep
it pressed till you reach
point B. Release S2 to
stop the measurement;
d/D values (instantane-
ous/overall distance) on
LCD will be shown as
10/10. The same values
will be stored on the
microSD card. Now,
press S2 again till you
reach point C. Release
S2 and note the d/D
Fig. 4: Author’s prototype values. You will see
20/30 on the LCD.
Finally, when all measurement
readings are taken, press S3 to close
the file and halt the system. Reset
Arduino to restart the system. Au-
thor’s prototype is shown in Fig. 4.
The log file gets stored on the
microSD card. Every time you start
the device, it will create a new
log file by the names data0.csv,
data01. csv, data02.csv and so on as
given below:
Fig. 5: Readings before pressing S2 Sl Date Time Lattitude Longitude
Dist. Dist0
0 20/3/16 23:1:18 24.088750
82.648200 0.0000 0.0000
1 20/3/16 23:1:21 24.088750
82.648200 0.0000 0.0000
2 20/3/16 23:1:24 24.088750
82.648200 0.0000 0.0000
3 20/3/16 23:1:29 24.088750
82.648200 0.0000 0.0000
EFY note. 1. The source code
of this project is included in this
month’s EFY DVD and is also avail-
Fig. 6: Readings after pressing S2 (while it is able for free download at source.
kept pressed) efymag.com
2. The project was tested at EFY
Lab on Arduino Uno with an exter-
nal 16MHz crystal and was found to
be working well.

Somnath Bera is an avid user


of open source software.
Professionally, he is a thermal
power expert and works as
additional general manager
at NTPC Ltd
Fig. 7: Readings showing values of d and D

www.efymag.com electronics for you | november 2016 105


Do-it-yourself
i
San
he o
T

SMS Alert System


Pooja juyal

W
e receive many SMS unknown numbers. Companies use It is called Twilio Python Helper Li-
alerts every day. These services from Cloud communication brary. Twilio (www.twilio.com) is a
are automated messages platforms and send you messages Cloud communication platform that
that are broadcast to a list of mobile that are computer-generated via the provides APIs to build apps that can
numbers. Ever wondered how the Internet. Advantage of using such communicate via text messaging.
system works? This article can a platform is evident—messages We use this package to build our
help you build your own SMS alert can be broadcast to any number of SMS alert system.
system in no time and monitor it people at predefined times, without We use another API from Open-
as well. human intervention. WeatherMap (http://openweather-
If you check the messages in In this article we build a similar map.org) and read current humidity
your mobile phone, you will see that system using an interesting Python levels at a specific location. This
these marketing SMSes come from package that I recently discovered. software currently monitors for
Delhi region, but you can change it
for your location. If the read humid-
ity exceeds 70 per cent, it sends a
message ‘Humidity exceeds the set
level’ to your mobile. Else, it sends
‘Humidity below set level’ to your
mobile at desired intervals. Messag-
es are sent using Twilio API. I have
added humidity-monitoring feature
to give you an example. You can
monitor whatever you want.
The software is written in Py-
thon programming language and
tested on a Windows 10 OS based
computer.

Download and install


Python 2.7.11
As the software is built using Py-
thon programming language, install
it on your computer before starting
Fig. 1: Download Python to write any code. Use Python 2.7.11

Fig. 2: Install for all users Fig. 3: Select location for installing Python Fig. 4: Default selection

106 november 2016 | electronics For You www.eFYmag.com


Click Finish to
complete software
installation (Fig. 6).

Add Python
to path
environment
variable
Python can be di-
rectly run through
the Command
Fig. 5: Status of installation Prompt on Win-
dows machine. But
this needs Python
directories to be
added in the path
Fig. 9: Path under System Variables under System Vari-
ables as explained
below. If you run python.exe com-
mand immediately after installation,
without adding the path variable,
you may encounter the error shown
in Fig. 7.
Follow the steps below to add
Fig. 6: Click Finish Python to the path in System Vari-
ables under Environment Variables:
1. Right-click on My Computer
→Properties→ Advanced System
Settings (Fig. 8).
2. Click on Environment Vari-
Fig. 10: Path in Windows 8
ables and search for the path vari-
able. Select the path under System
Fig. 7: Error in Windows PC
Variables and click Edit (Fig. 9).
3. In case of Windows 7, add
the following at the end of vari-
able value (or at the path of Python
Fig. 11: Command Prompt installation):
;C:\Python27\Scripts
Download Python 2.7.11 as shown 4. In case of Windows 8 or
in the figure. above, the window shown in Fig. 10
Once downloaded, install the will appear. Click New and add:
software. Double-click on the down- C:\Pyhton27
loaded file, select ‘Install for all 5. Select OK and it is done.
users’ and click Next (Fig. 2). 6. Open Command Prompt and
Select a location to install type Python (Fig. 11). This screen
Python. Click Next (Fig. 3). Keep confirms proper installation of
the default selection and click Next Python.
Fig. 8: Advanced System Settings
(Fig. 4). 7. Now you can directly run
You will be prompted for Python commands from Command
for this software. You can download permission to install the software; Prompt.
the same from www.python.org/ select Yes. The page shown in Fig.
downloads 5 will appear to show the status of Prerequisites
Once you open the link, you will installation. Once finished, Next tab Before you start writing your pro-
see the page shown in Fig. 1. Click gets activated. gram, install required packages so

www.eFYmag.com electronics For You | november 2016 107


Do-it-yourself

Fig. 12: Install Twilio

Fig. 15: Console dashboard

thon as language).
Fig. 13: Twilio website 3. Twilio will ask your phone
number; enter it on the next screen.
4. Log into your account with
Fig. 16: Install PyOWM the username and password you
created.
5. You will
see the dash-
board as shown
in Fig. 15. If
you do not see
all the details
on your console
dashboard, you
can navigate to
Account and
Fig. 14: Form to be filled up
find everything
there.
that you can import these into 6. Note
your program. Register on Twilio Fig. 17: Create new account in OpenWeatherMap down account
website to obtain Twilio phone SID, authorisa-
number, account SID and authori- Note. It is important that Com- tion token (click Lock to get it) and
sation token. These are required mand Prompt is run as Administra- Twilio phone number (click Phone
in the source program to send tor. Otherwise, the command will Numbers to get it).
text messages. not work.
Then, register on OpenWeath- To check proper installation of Install PyOWM Python package
erMap website and obtain a Twilio, run Python in Command This package will be used to read
key. This key is required to read Prompt and type the command weather details from OpenWeath-
weather details from the website. given below: erMap website (http://openweath-
>>>import twilio ermap.org/). Install it by using the
Install Twilio package If this command does not give commands shown in Fig. 16.
Twilio package can be easily any error message, it means Twilio
installed in Windows using pip is properly installed. Register with
installer. This comes pre-packaged Register with Twilio. Follow OpenWeatherMap
with Python 2.7.11. So you do the steps given below to register or To obtain the key, just sign up with
not have to install it again. To sign up: the website by submitting your
download and install Twilio, run 1. Go to www.twilio.com and details (Fig. 17) and sign into your
Command Prompt as Administra- click Sign Up (Fig. 13). new account.
tor and type the command shown 2. Fill in your details in the form Click on API Keys and note
in Fig. 12. and click Get Started. (Choose Py- down your key.

108 november 2016 | electronics For You www.eFYmag.com


Confirm
If you have done everything men-
tioned below, you are ready to write
the code:
1. Python 2.7.11 installed and
added to path Environmental vari-
ables Fig. 18: Python IDLE (GUI) screen
2. Twilio package installed
3. Twilio phone number, account tab on Windows Start page, click on program in IDLE. I have provided
SID, authorisation token obtained IDLE (Python GUI) option. You will the complete program in Text.
from Twilio website get Python shell screen as shown in py file (Fig. 19). I would recom-
4. PyOWM package installed Fig. 18. mend copying the code from
5. Key obtained from Open- Python is an interpreted lan- this file, or use the file as it is,
WeatherMap website guage, so you can immediately start because Python is an indentation-
Go ahead and write the code writing the commands followed by sensitive language.
then. pressing Enter from the keyboard. Note. You need to enter the
Commands get executed when you information (Twilio phone number,
Python IDE press Enter. account SID, authorisation token
Python IDE comes with Python Test by typing 2+2 and then and key) in the code you have ob-
2.7.11 installation and is used to press Enter. You should get 4 as the tained in the previous steps.
write, test and debug Python pro- answer in the next line.
grams. Importing modules
You can run it directly from the Create new program Let us start with importing different
installed applications by clicking on Enter Python IDLE→File→New File modules that would be required in
its logo. Or, write IDLE in Search Now you can start writing the the program.

www.eFYmag.com electronics For You | november 2016 109


Do-it-yourself
From twilio.
rest import
TwilioRestClient.
This module will
import Twilio used
for sending text
messages.
import Py-
OWM module will
import PyOWM to
read humidity, and
import time mod-
ule will import
time module for
delays.
The above
two modules
have already been
installed and the Fig. 20: Messages received on mobile phone
third module
comes pre-pack- from OpenWeatherMap website to
aged with Python. Fig. 19: Test.py on Python GUI screen the trigger of 70 per cent. You can
You can check change the trigger as required.
all the different modules in Python Following code initialises Twilio If the read humidity exceeds 70
standard library or at https://docs. API for sending texts using account per cent, it will send a text mes-
python.org/2/library/ SID and authorisation token: sage to your mobile phone ‘Humid-
account_sid = “ENTER YOUR SID” ity exceeds set level.’ If the read
Functions used auth_token = “ENTER YOUR TOKEN” humidity is below the set trigger, it
Read current humidity level from client = TwilioRestClient(account_sid, will send a text message ‘Humidity
OpenWeatherMap website. The fol- auth_token) is below set level.’
lowing function initialises with the Enter account SID and authorisa- Two-seconds time interval
key obtained from OpenWeatherMap tion token you obtained from previ- setting is achieved by using time.
website: ous steps. sleep(2) command.
owm = pyowm.OWM(‘ENTER YOUR KEY’) Following code sends ‘Humidity Please note that the two-
The following function sets loca- exceeds set level’ text message’ if seconds time is only for testing
tion to Delhi, India: read humidity exceeds the set level purpose. If you want to read hu-
observation = owm.weather_at_ of 70 per cent: midity every two hours and receive
place(‘Delhi,IN’) if humidity>70: the text messages, replace 2 by
The following function gets message = client.messages.create 2×60×60=7200.
weather status: (body=”Humidity exceeds set level”,
w = observation.get_weather() to=”ENTER YOUR PHONE NUMBER”,
Running the program
The following function gets hu- from_=”ENTER TWILIO NUMBER”) Enter Python IDLE→File→Open.
midity value: print message.sid You can also double-click on Text.
humidity = w.get_humidity() The following section will py file to run it directly on Win-
This section reads the current compare the read humidity value dows. The program can be termi-
humidity level in the specified area nated with Ctrl+C in Interpreter
and puts it in the variable humidity. window.
In the next section there is Fig. 20 shows the alert messages
print command for printing out received on the mobile phone.
the read humidity level for testing efy Note
The source code of
purpose. You can also read tem-
this project is
perature, wind condition and much included in this Pooja Juyal is assistant manager
more with commands such as month’s EFY DVD and at Samtel Avionics Ltd
w.get_Temperature. is also available for free
download at source.
110 november 2016 | electronics For You efymag.com www.eFYmag.com
www.efymag.com electronics for you | november 2016 111
www.efymag.com electronics for you | november 2016 113
www.efymag.com electronics for you | november 2016 115
www.efymag.com electronics for you | november 2016 117
www.efymag.com electronics for you | november 2016 119
www.efymag.com electronics for you | november 2016 121
www.efymag.com electronics for you | november 2016 123
product categories index
Products Page No. Products Page No. Products Page No. Products Page No.

Automation & Robotics Cabinets, Enclosures & Accessories Industrial & Manufacturing Equipment Services

HARIHI Ohm Electronics ..................................116 Shrey Plastic Moulders .................................... 127 Max Technology & Co. ....................................... 35 DSM India Private Limited .................................114

Rapid Radio Solution Private Limited .............. 127 NMTronics India Pvt Ltd ..................................... 13

Scientech Technologies Pvt Ltd ......................... 43 Components (Including Active & Passive) Solar Products

Tektronix India Pvt Ltd ...................................... 132 Aura Emergency Systems ................................ 125 IT Products Aura Emergency Systems ................................ 125

Brisk Electrotech ...............................................116 Inventrom ........................................................... 37


Batteries & Power Supplies Test & Measurement Equipment (Including
Digi-Key Electronics ............................................ 3
Brite Systems .................................................. 125 Indicators & Monitors)
Element14 India Pvt Ltd. ...................................... 1 Materials (Including Chemicals &
Digital Promoters (I) Pvt Ltd ............................. 125 Crown Electronic Systems.................................114
Firm Sold ......................................................... 126 Consumables)
Eita Technologies ............................................ 126 Dinteck ............................................................. 126
Kaytron Components Pvt Ltd ........................... 125 Progressive Engineers ......................................112
Elektro Power Systems ................................... 126 FLIR Systems India Pvt Ltd. ........................33, 119
LWI Electronics Inc. ........................................... 23
Exide Industries Ltd ............................................ 51 Keysight Technologies India Pvt. Ltd. ................... 5
Martin Electronic Devices & Optics & Optoelectronics
Fusion Power Systems ..................................... 125 Livingston India Pvt Ltd ...................................... 53
Instruments .................................................. 124 Binay Opto Electronics Pvt Ltd ..................... 14, 15
Minmax Technology Co. Ltd ............................... 47 Rishabh Instruments Pvt Ltd .............................. 27
Meco Meters Pvt Ltd .................................... 67, 69 Buljin Elemec Pvt Ltd........................................ 125
Montu Electronics LLP ..................................... 127 Rohde & Schwarz .............................................. 55
Mouser Electronics (India) Private Limited .......... 7
Mornsun Guangzhou Science & Toshniwal Industries Pvt Ltd ............................ 121
Om Art Engineering Works .............................. 124 PCBs, Assemblies & Sub Assemblies
Technology Co. Ltd. ........................................ 45
Prism Enterprises Pvt Ltd .................................118 Circuit Systems India Ltd .................................... 32
National Controlling & Equipments ................... 125 Tools & Toolkits
Rajguru Electronics ..........................................113 Velpa Technologies .......................................... 127
Nippon India ......................................................117 Firm Sold .......................................................... 126

Sagar Switch Gear ...........................................117


Perfect Systems .............................................. 127

PSI Enterprises ................................................ 127 Sancon India Pvt Ltd .........................................112 Plugs, Sockets & Connectors Training and Certification Institutes

Sakthi Accumulators Private Ltd ...................... 126 ST Microelectronics Marketing Pvt Ltd ............... 41 Auro Controls ................................................... 109 ERT Tech.Services ........................................... 127

Servokon Systems Pvt Ltd ................................118

Srishti Electronics ............................................. 127 Educational Training Kits Reseller and Distributors Wires & Cables

Upsinverter.com ................................................111 Perfect Electronics ........................................... 126 Element14 India Pvt Ltd ....................................... 1 Sagar Switch Gear ...........................................117

EFY Magazine Attractions During 2016


Month tEchnologY Focus MArkEt survEYs BuYErs’ guiDE estYlE BuYErs’ guiDE
For ElEctronics lABs
January Latest Technologies for Enabling Connectors and Terminals Development Boards Microwave Ovens Under ` 10,000
the Internet
February Drones Security and Surveillance Desktop Power Supplies 126cm (50-inch) Flat-Panel Televisions
March Intuitive Gesture Control Test and Measurement Noise Meters Blood-Pressure Monitors
Equipment
April Latest Display Technologies Solar Industry Digital Multimeters Wireless Printers for Homes
May Solid-State Storage 3D Printers 3D Printers Under ` 100,000 Fitness Wristbands
June Affordable Virtual Reality The Internet of Things Wi-Fi and Radio Frequency Modules Earphones
July Connected Homes and Appliances Home Automation Budget-Friendly Oscilloscopes Wireless Routers for Homes
August Self-Driving Cars LED Lighting LED Chips and Bulbs Low-Priced Tablets
September Autonomous Weapons Strategic Electronics Soldering/Desoldering Stations 3G/4G Dongles
October Sensors Consumer Electronics LCD and OLED Display Modules Smart Televisions
November Bio-Printing Medical Electronics Desktop PCB Manufacturing Equipment Blood-Sugar Monitors
December Materials: 3D Printing to Solar Panels Materials and Chemicals Motors and Drives Low-Priced Laptops

128 november 2016 | electronics For You www.eFYmag.com


advertisers’ index
Client name Page No. Client name Page No. Client name Page No.
Alcop Industries .....................................................................................126 Firm Sold ................................................................................................126 PSI Enterprises ......................................................................................127
AqTronics Technologies Pvt. Ltd .............................................................19 FLIR Systems India Pvt Ltd (www.flir.com) .....................................33, 119 Radiant Electronics ................................................................................127
Aura Emergency Systems .....................................................................125 Fusion Power Systems (www.amptek.in) ..............................................125 Raj Electronics .......................................................................................127
Auro Controls (www.aurocontrols.com) .................................................109 Gala Electronics (www.vegakitindia.com) ..............................................59 Rajguru Electronics ................................................................................ 113
Avnet Electronics India ............................................................................ 11 Good Will Instrument Co. Ltd.................................................................130 Rapid Radio Solution Private Limited ....................................................127
Binay Opto Electronics Pvt Ltd (www.binayLED.com) .....................14, 15 HARIHI Ohm Electronics ....................................................................... 116 Renesas Electronics India Pvt. Ltd. .........................................................31
Boolean Microsystems Pvt. Ltd. ............................................................125 HK Wentworth (India) Pvt Ltd ....................................................................9 Rishabh Instruments Pvt Ltd ...................................................................27
Brisk Electrotech .................................................................................... 116 India Electronics Week 2017 ................................................................131 Rohde & Schwarz (www.rohde-schwarz.co.in) .......................................55
Brite Systems .........................................................................................125 Inventrom .................................................................................................37 ROHM Semiconductor .............................................................................29
Buljin Elemec Pvt Ltd (www.flexiblepcb.com)........................................125 Kaytron Components Pvt Ltd.................................................................125
Sagar Switch Gear ................................................................................. 117
CADD Centre Training Services Private Limited ................................... 115 Keysight Technologies India Pvt Ltd (www.keysight.com) ........................5
Sakthi Accumulators Private Ltd ............................................................126
CeBIT India ..............................................................................................83 Kits‘n’Spares ............................................................................................57
Sancon India Pvt. Ltd. ............................................................................ 112
CeBIT INDIA 2016 ...................................................................................83 Livingston India Pvt Ltd. ...........................................................................53
Scientech Technologies Pvt Ltd (www.scientech.bz) ..............................43
Circuit Design, Inc. .................................................................................129 LWI Electronics Inc. (www.livewireinfo.com) ...........................................23
Servokon Systems Pvt Ltd..................................................................... 118
Circuit Systems India Ltd ........................................................................32 Martin Electronic Devices & Instruments...............................................124
Servotech Power Systems P Ltd ..........................................................121
Crown Electronic Systems (www.crownelectronicsystems.com).......... 114 Max Technology & Co. (www.maxtechnoloindia.com) ............................35
Shavison Electronics Pvt Ltd (www.shavison.com).................................87
Digi-Key Electronics (www.digikey.com)....................................................3 Meco Meters Pvt Ltd (www.mecoinst.com) .................................65, 67, 69
Shrey Plastic Moulders (www.shreyplasticmoulders.com)....................127
Digital Promoters (I) Pvt Ltd...................................................................125 Minmax Technology Co. Ltd (www.minmax.com.tw)...............................47
SIGLENT Technologies Co., Ltd..............................................................49
Dinteck ...................................................................................................126 Montu Electronics LLP ...........................................................................127
Smec Electronics India Pvt Ltd ............................................................. 112
DSM India Private Limited .................................................................... 114 Mornsun Guangzhou Science & Technology Co. Ltd. ............................45
Spur India .................................................................................................39
EFY Group: DIY .....................................................................................102 Mouser Electronics (India) Private Limited ................................................7
National Controlling & Equipments ........................................................125 Srishti Electronics (www.acedigital.co.in) ..............................................127
EFY Group: IOTshow.in .............................................................................2
EFY Group: Subscripton Form ..............................................................122 NECS Power Conditioners .................................................................... 118 ST Microelectronics Marketing Pvt. Ltd ...................................................41

Eita Technologies ...................................................................................126 Nippon India (www.nipponindia.com) .................................................... 117 Systellar Innovations (www.systellar.in)................................................. 114

Elcina Electronic Industries Association of India ..................................120 NMTronics India Pvt Ltd (www.nmtronics.com).......................................13 Tektronix India Pvt Ltd (www.tektronix.com)..........................................132
Electronic Assembly (www.lcd-module.de)..............................................37 Om Art Engineering Works ....................................................................124 Toshniwal Industries Pvt Ltd ..................................................................121
Elektro Power Systems..........................................................................126 Perfect Electronics (www.perfectelectronics.net) ..................................126 Tunwal Electronics ................................................................................. 119
Element14 India Pvt Ltd.............................................................................1 Perfect Systems .....................................................................................127 Universal Electronic Agencies (www.easternradio.co.in) ......................121
EPS PCB Technologies ......................................................................... 116 Pinnacle Mouldings ................................................................................ 119 Upsinverter.com (www.upsinverter.com) ............................................... 111
ERT Tech.Services.................................................................................127 Prism Enterprises Pvt Ltd ..................................................................... 118 Velpa Technologies ................................................................................127
Exide Industries Ltd (www.exide4u.com) ...............................................51 Progressive Engineers........................................................................... 112 Yokogawa India Ltd (www.yokogawa.com/in) .......................................123

www.efymag.com electronics for you | november 2016 129

You might also like