Sei sulla pagina 1di 4

25/11/2018 Building a Smart Master/Slave Switch

(/)

xai=AKAOjsvawGYZY6eawsVWk3yT82MiDrQiFgZHsUjYGR30LzU2VyLd09WjfksZIc6W0auFmXtf40EGK6qekO
7S1giQwfjoMGCc0Tea50JyUqv5BuH5nOFAKvKZCluFHmIgcIQdzHSIeDby_FfggFXofnMmZMzjIBfgdqZI_Yti99qqwFtrW9izP5jExOVDmTKG4TIY37YCbnSZ
ginYedZZIn0Z6mNCyn31t3t1jNAwgjGBRxjs8_vkyIOgmunEAroPqF6ylvEh9dnPwN0r0a5hxlmEj3bqbqEzAms&sig=Cg0ArKJSzHcklPruVy_W&url x=1&adurl=ht
electroschematics-allsizes%26utm_campaign%3Dar

Home (https://www.electroschematics.com) / Building a Smart Master/Slave Switch

(/wp-

content/uploads/2017/12/2-master-slave-schematic.png)

Building a Smart Master/Slave Switch


T.K. HAREENDRAN (HTTPS://WWW.ELECTROSCHEMATICS.COM/AUTHOR/HAREENDRAN/)

(https://www.facebook.com/sharer/sharer.php?u=https://www.electroschematics.com/13509/building-smart-masterslave-switch/)
(https://twitter.com/share) (/qa/)
Power (/tag/power) Smart (/tag/smart)

Here is an inexpensive and easy-to-build master/slave switch for integration into powerstrips for the automatic switching of
“slaves” upon the status of the “master.” A built-in sensor monitors the current drain of the master unit, and when the current
exceeds a pre-de ned level, the slave outputs are automatically switched on. This device is, in fact, designed for use in desktop
PCs. When the desktop PC is switched on, all peripherals (like the monitor screen, printer, scanner, multimedia speakers, etc.) are
switched on automatically!

https://www.electroschematics.com/13509/building-smart-masterslave-switch/ 1/9
25/11/2018 Building a Smart Master/Slave Switch

(https://www.electroschematics.com/wp-content/uploads/2017/12/1-concept.jpg)

Circuit Description
The circuit is designed around two key components: a current transformer and a compact SMPS module. The current transformer
(CT) is a 5-A/1,000:1 type with a built-in “burden resistor,” and the SMPS module is a 5-V/3-W type (HLK-PM01). The current
transformer is speci cally designed for monitoring current, and you can wind a few turns of mains-insulated wire through its core
to derive a useable output from the secondary. When the current transformer senses plentiful load current from the master unit,
an electromagnetic relay (RL1) wakes up to power everything connected to the slave and falls asleep again when the master unit is
turned o .

(https://www.electroschematics.com/wp-content/uploads/2017/12/2-master-slave-schematic.png)

As shown, the circuit is designed for 10-A relays, having a coil resistance of 400 Ω or more, although it may drive coils with lower
resistance as well. A coil resistance of 200 Ω is the suggested minimum value.

Actually, sensing load current of the master unit can be a little tricky, but the employment of the current transformer makes it
exible. Because the 5-A/1,000:1 ratio (5 A to 5 mA) CT has a 200-Ω burden/load resistor across its output, the AC current can be
calculated by measuring the voltage drop across the resistor; i.e., we get an output of 1 V at 5-A load current (primary current
divided by the turns ratio and multiplied by the value of the burden resistor). Take note, when using the CT, the number of primary
turns (wire loop) needed depends on the type of CT itself and the current that the master unit draws. With the transformer
mentioned here, just start with one to three turns and try to increase/decrease the number of turns for lower/higher load currents.
Besides, you can replace the onboard 200-Ω burden resistor of the CT with a higher-value resistor (or a trimpot) because it’s
unneeded here to care more about the inherent saturation and frequency response issues* of the current transformer.

https://www.electroschematics.com/13509/building-smart-masterslave-switch/ 2/9
25/11/2018 Building a Smart Master/Slave Switch

(https://www.electroschematics.com/wp-content/uploads/2017/12/3-ct-annotated.jpg)

*When we fool the current transformer into seeing a bigger current than is actually present by looping the wire being monitored
through it two or three times, the current that it sees will be doubled or tripled. Because the current transformer used in this
design has a theoretical maximum current sensing capacity of 5 A, attempting to sense a larger current will have two e ects. First,
the output voltage could rise, and the other e ect of exceeding the 5-A limit forces the transformer to saturate and degrades its
linearity. For designs to accurately measure the value of the current being observed, this would matter; however, all we care about
here is if it is active or not.

Construction Hints
The circuit is designed to use inexpensive components (I bought key parts from eBay traders), and most are not critical. However,
unlike commercial devices, this master/slave switch requires a somewhat troublesome “initial trimming” of the load threshold. As
mentioned earlier, you can remove the burden resistor to add a trimpot (1K or the like) across the output of CT if you want a fairly
broad range of load threshold adjustments.

(https://www.electroschematics.com/wp-content/uploads/2017/12/4-ct-mod.jpg)

For real-world applications, it would be neater to actually custom-build a unique PCB being that the usual veroboard is extremely
unsafe with mains voltages. The nished design can then be enclosed in a suitable insulated container. The current transformer
can be placed close to the master plug being monitored. Keep in mind that it is sensing currents at fatal mains voltages, so care
must be taken to ensure that everything dealing with the mains side is done to proper wiring/safety standards and should be kept
separate from everything else. Beware: One small mistake could mean the end of you or someone else!

https://www.electroschematics.com/13509/building-smart-masterslave-switch/ 3/9
25/11/2018 Building a Smart Master/Slave Switch
 

Save Power!
In many electronics labs, there is a plethora of instruments/power tools that are used together — e.g., a dust extractor used with a
rotary tool or jigsaw. This circuit can also be used there to automatically run all of the slave devices “in tune” with the master unit.

CT Test in Lab
I ran some random tests on the current transformer module with the onboard 200-Ω burden resistor. At full current (5,000 mA), I
got 1,000 mV across the burden resistor — exactly as expected — with a single turn.

(https://www.electroschematics.com/wp-content/uploads/2017/12/5-ct-test-setup_initial.jpg)

And, with ve turns on the primary, the observed output across the burden resistor was about 5,000 mV at 5,000-mA primary
current. Because the burden resistance is placed in parallel with the secondary winding, voltage across it was monitored rather
than the current through it because it’s easier to have an output voltage to work with than an output current.

SPONSORED CONTENT

LTM8002: High Efficiency,


Ultra Low EMI Step-Down
Power µModule
The LTM8002 is a 40VIN,
2.5A step-down µModule®
regulator. It includes the
switching controller, power
switches, inductor, and all
support components. It supports an input voltage range of
3.4V to 40V, and output voltages from 0.97V to 18V.
Sponsored By Analog Devices

Previous
Weekly Roundup – Top
Links for the 4th Week of
November 2017
(https://www.electroschematics.com/13501/weekly-roundup-top-links-4th-
week-november-2017/)
Next
3D Printer Filament
Measuring with Arduino
(https://www.electroschematics.com/13515/3d-printer- lament-measuring-
arduino/)

Related Tutorials

https://www.electroschematics.com/13509/building-smart-masterslave-switch/ 4/9

Potrebbero piacerti anche