|
| Elliott Sound Products | Project 266 |
Main Index
Projects Index
|
| Introduction | Description | Example Loads | Conclusions | References |
The trigger described here is different from others I've written about, in that it doesn't rely on any local power source. With a typical current draw of (typically) less than 1mA when triggered, it can activate any circuitry you like at the remote end. I designed it to operate a vacuum system 'blast gate' - a motorised valve used to turn on suction when a power tool is powered on. However, you can build any number of different circuits that can be operated remotely, and without having to provide any power to the detector means that there's no requirement for a remote power supply.
There are countless circuits to be found on the Net, but a great many are at best 'epic fails'. Not using a suitable burden (load) for the current transformer is a common error, which can lead to 'exciting' outcomes if the primary current is high enough. 'Exciting' in this context means blown up components, unexpected and unusable outputs, or simply failure to perform properly at all!
The entire unit is tiny - basically its size is determined by the current transformer you use. The recommended ones are as cheap as chips, and are available from eBay and elsewhere. Mostly, you shouldn't have to pay more than AU$3.00 or so, but if you buy more than one you can get them for less than that. They are rated for 5A, but they will happily accept much more. I've tested one to 25A and it remains linear with a 10Ω burden - above that the core will saturate, but that doesn't impair its ability to function as intended.

The current transformer (CT) shown is 1,000:1 (1A primary gives 1mA from the secondary) and measures 18 x 18 x 10mm (excluding pins), so it's small enough to fit into any equipment fairly easily. The pins are 4.5mm long, with a diameter of 0.8mm. Winding resistance is 55Ω, but that's irrelevant for this application. The circuitry we attach to it is also minimal, consisting of one diode, one transistor and a small electrolytic capacitor. These parts are easily soldered directly to the pins of the transformer, with the sense signal being the collector of the transistor. You can encapsulate the added parts with heatshrink tubing or hot-melt glue.
This is a detector, so linearity isn't an issue. It would be very different if we wanted to measure the current, but a detector is a much simpler proposition. Ideally, we'd like the detection range to be down to no more than 100mA, so even fairly low-current devices will work as a trigger. In tests I performed, I found the detection limit to be around 20mA, but anything less than (say) 50mA is unwise because you need a bit extra to ensure reliable detection.
For a full discussion on current transformers, I suggest that you read the article Current Transformers, which describes just how they work. They are not intuitive devices, and there are many descriptions on the interwebs that are suspect at best. Naturally, there are also many accurate descriptions, but it's not easy for a beginner to tell whether the info is accurate or not.
The circuit diagram is about as simple as you can get. With just one diode, one transistor and one capacitor (not counting the current transformer), there aren't many circuits that are simpler. Of course, the device being controlled needs some circuitry so it can respond appropriately to the detector's output. This may be existing circuitry (for example within a blast gate, the original purpose of this design), or something you create to suit your specific needs.
Because the detector requires no power supply and is fully floating, it can be used with either polarity from the controlled circuit. For example, an iVac blast gate has a negative signal on the tip (referred to the sleeve of the plug). To accommodate that, we just wire it so the sleeve connects to the collector of Q1, and the tip becomes the common.
All that's needed to trigger the detector is for one mains lead (either Active/ Live or Neutral) to pass through the hole in the middle of the current transformer. If no current is flowing, there's no output from the CT, so Q1 remains off and the remote circuit is inactive. When a current above the threshold is detected, Q1 turns on and that commands the remote circuitry to operate. If the sensitivity is too high (some equipment may draw a low but measurable current when idle), you can add a resistor from the base of Q1 to ground. Alternatively, the current supplied from the remote circuit can be increased, but it must remain below the maximum collector current rating for Q1 (100mA for a BC550).

The transistor is shown as a BC550, but it can be any NPN transistor you have to hand. For maximum sensitivity you need high gain (hFE), but for any load that draws significant current this is not essential. The capacitor is shown as 10μF, but if the remote circuitry supplies more than 1mA, it may need to be increased. When current is detected, Q1 simply discharges the capacitor, and the capacitance only needs to be large enough so it can't recharge in the 20ms available between mains cycles. Ideally, the voltage across C1 when triggered should remain below 0.5V for a 5V system, or 1.2V with a 12V source. The detector is ½-wave for simplicity, and making it full-wave would add 3 more diodes and a resistor. I decided (after much experimenting on the workbench) that the simplest arrangement was quite acceptable. Note that C1 is shown at the remote end, but for some loads (an iVac system for example) it must be in the sensor, along with the current transformer, diode and transistor.
D1 requires explanation. Without it, the negative half-cycle would have no load, and the CT's output voltage would exceed the reverse base-emitter breakdown voltage. The base-emitter junction conducts on positive half-cycles, and the diode conducts on negative half-cycles. Base current to Q1 is limited by the transformer. With a 1:1,000 CT, at a primary current of 1A, the secondary current is 1mA, increasing to 10mA with 10A primary current.
Activation time depends on the remote circuitry to some degree, but in most cases it will take less than 100ms. Deactivation is a little slower, at around 1 second. This circuit is not intended to be especially fast - if you need fast mains detection then you're looking in the wrong place! Activation of remote equipment when power is turned on/ off at the controlling device usually does not need to be rapid, but it does need to be reliable.

The above graph shows the output's reaction to an input current of 300mA peak (212mA RMS). It barely changes over the range from 100mA to 10A, and the ripple when the signal is low (triggered) is around 70mV with a 5V supply and 22k feed resistor as shown in Fig. 2. C1 can be increased (up to ~33μF) providing lower ripple. The worst-case ripple current through C1 will be under 1mA with the circuit shown, and it will be low with any sensible load circuit. When first activated, the first ½-cycle current can exceed 30mA as C1 is discharged. The controlled current (i.e. collector current of Q1) should ideally be less than 1mA, with higher currents requiring a larger capacitor. For example, if the source current is 10mA, C1 needs to be at least 100μF, and the sensitivity is reduced to around 200mA AC load current for normal operation.
What connects to the remote end depends entirely on the application. If it's a blast gate, the circuitry exists and you need only the detector. If you have your own application, you will need an interface. The current supplied should normally not exceed 1mA, or the sensitivity of the detector is reduced. This gives you a clue as to how you can adapt the sensitivity to your needs - simply increase the detection current to reduce the sensitivity. You can install a cap in the detector circuit, or it can be added in the remote circuit. Note that if you are powering an iVac blast gate, C1 must be located in the detector. Also ...
Note: - If you are operating an iVac™ blast gate, the polarity is reversed from that shown! The jack plug's sleeve is negative with respect to the tip, so the trigger is simply connected 'upside down' - that means that the transistor's collector connects to the sleeve and the 'ground' is actually on the tip of the plug. I don't know why this was done, but it's something you need to be aware of. The iVac systems use a 'stereo' TRS (tip, ring, sleeve) connector, but the sleeve and ring are joined. A standard mono tip-sleeve plug as shown above works just fine.
Be aware that the trigger current has some thermal dependency. If the ambient temperature is high, the circuit will trigger at a slightly lower current than when the temperature is low. This is unlikely to cause any issues if the detector is used for its intended purpose. It is not (and was never intended to be) a precision device. It's designed for a particular task - sensing current flow drawn by an external device.

The photo above shows just how compact the circuitry can be. It all fits on the back of the CT, and when complete it can be given a neat coat of hot-melt adhesive (inasmuch as that's possible), or you can 3D print a small cover as shown on the right. This can be glued onto the CT easily, and it means that no stray wiring can make contact with the circuit itself. The glue bond should be such that it can be broken if needed without destroying the cover.
The controlled circuit can be a microcontroller (e.g. Arduino, Raspberry Pi or a PIC), a simple transistor circuit, logic gate or power MOSFET. The circuits shown below are examples, using a bipolar transistor as the sensing device. What follows can be whatever you need to control, such as a blast gate (as mentioned), an air valve operating a pneumatic actuator (or a hydraulic system if more power is needed), an electric linear actuator or anything else that has to be controlled when the 'master' device is turned on. The options are many, and in some cases may only be limited by imagination.
Although I've shown a 12V supply, it can be higher or lower if that's more convenient. Anything up to around 36V is fine, but R1 will need to be increased. With a 24V supply, you'd typically use a 22k (or 27k) resistor for R1, maintaining a trigger current of around 1-2mA. It's not critical, but it must be tested with the current drawn by the triggering device, whatever it may be. Remember that as shown, the required current for the detector needs to be at least 50mA, and preferably a bit more. 100mA is a good target, representing a device drawing about 23W (230V) or 12W at 120V.

As an example, Fig. 5 shows how a relay (270Ω coil) can be controlled by the current sensor. There's a 10μF cap from the input to ground, which maintains conduction of Q1 whenever the external device draws current. Any leakage in C1 is overridden by R2 (any capacitor that draws more than 50μA is cactus and needs replacement). 10μF is shown, but 22μF or 33μF can be used if you prefer. The output can just as easily be to a microcontroller or standard CMOS logic circuit. In short, anything that can be activated by pulling an input to ground will work, provided the current is kept low. If a higher current is needed, an opamp or comparator could be used, or the collector of the transistor can pull an input high up to around 50mA. Need more? Use a Darlington transistor or a high-current MOSFET.
If you use a DPDT relay as shown in the right-hand section of the drawing, you can provide a switched reverse polarity to (for example) a linear actuator. There's a little more detail on these further below. For what it's worth, motorised blast gates (and many other applications) rely on linear actuators to function. If preferred, you can use a MOSFET bridge circuit to provide the reversing polarity, but that uses many more parts than a relay.

A MOSFET (in the case shown above, it's low-side switching) can be used to control a high-current DC load, with the available voltage and current limited only by the MOSFET used. If you expect to switch (say) 10A at 48V, a lowly IRF540 MOSFET will do just fine, but it will need a heatsink (dissipation will be under 5W). There's no limit to the loads that can be controlled, provided that the detector 'sees' somewhere between 5 and 12V and doesn't have to switch more than a couple of milliamps.
The range of loads that cat be powered is pretty vast. Essentially, you can activate anything that draws power, whether AC or DC, mains voltage or low voltage. There's a follow-up article that discusses one of the likely loads - a linear actuator. These come in a wide range of sizes, just as suitable for operating a blast gate as a heavy roof window or similar. To keep this article down to a sensible size, further discussion is not included here, so see Project 267.
This project is in addition to a couple of others that use a current transformer, and it was originally devised purely for operating an iVac blast gate for the Men's Shed I belong to. It didn't take long to realise that it could be used for other things, such as turning on a complete hi-fi system triggered by one 'master' device. Because it's so sensitive, it can be installed in a preamp (around one of the mains transformer power leads), and turn on the power to all other components of the system.
As noted above, the detector can be used for anything that needs to be powered when the controlling device is turned on. Anything from a vacuum system to a subwoofer amplifier, or an automatic safety system to an audible or visual warning system. This could include a pneumatic clamp that operates when a saw is turned on, with the detector operating a compressed air valve. Being so small (20 x 27 x 13mm including cover), it should be easy to fit it into any dedicated power outlet with no electrical connection between the mains and the detector. Likewise, it will fit all but the most compact mains inputs of existing equipment.
There are no references as such, because the design is original and you're unlikely to find anything similar described elsewhere. Of course, that doesn't mean that it hasn't been done before, but I didn't find anything, or at least nothing actually useful. References to the iVac blast gate are independent of any documentation on the website. Predictably, iVac recommends their own current sensor (it clamps to the outside of a cable), but that requires an external power supply, and normally uses wireless transmission to activate the blast gate.
Main Index
Projects Index
|