Close
0%
0%

Mains protection box

Work more safely with mains power

Similar projects worth following
When you prototype a power supply, you don't want to take risks. This project assembles several protection devices on a movable wooden frame that can be reconfigured, but safer than loose wires. You can ramp up voltage and current, slowly enough to ensure that the load behaves as expected.
The frame contains, among others :
- an isolation transformer (that can also adapt 110V and 220V levels)
- a variac/autotransformer to change the output voltage in fine steps
- circuit breakers
- current and voltage meters
- current limiter(s) (passive so far, active is planned)
- a push-button, inspired by the safety plug used by https://www.youtube.com/user/bigclivedotcom
And because it's wood, it's sturdy and safe when dry) yet I can drill and screw stuff as needed !

The idea of this project comes from an old "tradition" of wiring prototypes of PSU on wooden plates, because PCB and others are very inconvenient (particularly for heavy and bulky transformers). I have gathered protection devices in the past but now is the time to put them together in a suitable format !

To be fair it's not really a box, at best an open box, or a wooden drawer. This makes the whole assembly sturdier, and easier to store and move around, without having to reconnect everything, or risky dangling wires.

With a properly protected and controlled mains line, I can safely play with other high voltage devices and design power supplies, in particular for the #YGREC8's relays or the #Power On Sequencer bis.

I hope this inspires DIYers to make their own, or companies to produce them :-)


Initially, the system has 3 parts:

  • The input part provides a first protection and isolation from mains.
    A first circuit breaker trips at about 2A, and also serves as a power switch. The isolation transformer increases safety in case a human touches any contact after the secondary. The ammeter and voltmeter provide a direct feedback while indicating that the mains is connected.
  • The second part uses a variac to reduce and dial the output voltage. My variac is rated at 0.8A max but it should be more than enough, but a second set of ammeter and voltmeter are required because they need to be powered from a stable, high voltage (from the variac's primary). The Ammeter can be limited to 1A and have a higher resolution, down to the milliampere.
  • The last part is the output stage with a selectable current circuit breaker (to be designed), a safety push button and a wall plug. The variac stage can be bypassed by a switch, and the max. current range is 2A again.

Stay tuned and read the logs for more details !


Logs:
1. First big progress
2. I need output meters
3. How can I trip the current at arbitrary, adjustable values ?
4. I should have asked eBay first
5. More woodwork
6. First assembly
7. Variac: solved !
8. Incandescent load(s)
9. MainsBox v1.0 ready !
10. Circuit parameters
11. OverCurrent again
12. A proper AC voltmeter ?
13. OverCurrent again again
14.
.
.

  • 1 × Woden case Wood boards assembled into a sort of box
  • 1 × Isolation transformer Arabel, INS 400VA 2×115V>2×115V
  • 1 × temporary push button
  • 1 × DIN mounting rail
  • 1 × low-current circuit breaker

View all 12 components

  • OverCurrent again again

    Yann Guidon / YGDES05/20/2019 at 23:05 0 comments

    I have the relay :-)

    and the socket for the DIN rail. I also added a push-button to the front panel. I can finally implement the overcurrent protection :-)

    Using a 230V coil simplifies the system a lot :-)

  • A proper AC voltmeter ?

    Yann Guidon / YGDES05/17/2019 at 22:34 0 comments

    I also received a front-panel AC voltmeter.

    It was a bet because the specs were not very precise but for less than 8$ on eBay, it was worth a try.

    I like that this model seems to be "old school", based on the venerable ICL7107, so there is headroom for "adaptation". The box looks like it was stored 10 or 20 years (or more ?). It is rated at 500V max (peak ? RMS ?) and can work from an independent power supply though there is less than 2M Ohms of isolation. The integrated diode bridge makes the power easy to supply, with a small 9Vac transformer for example.

    I just need to find the proper transformer and I'll test it, and even probably compare with my multimeters.

    And of course I'll have to build a stand/support to fit the display on the fraim...


    Tests with the PM5715 signal generator show that it's pretty biased ! The display changes a lot with the offset, duty cycle etc. but it shouldn't. That thing is crazy. It's obvious its power supply must float well...

    Anyway the display draws 50mA @ 12Vdc, it's good to know.

  • OverCurrent again

    Yann Guidon / YGDES05/17/2019 at 22:08 0 comments

    I think I have the solution !

    I have found reasonably cheap current limit detectors on eBay : https://www.ebay.fr/itm/Current-Monitoring-Relay-0-05A-16A-24V-240V-Over-Under-Current-Protection-Relay/113187089821

    It costs around 30$ and I finally received it :-) The build quality is better than the much cheaper noname DIN voltmeters I received as well. The provided documentation is actually useful :-)

    I have chosen the 0.05-0.5A range version so I can trip from 10W to 100W.

    A very good thing is the current sense input that is separated from the other circuits. The isolation makes it perfect to sense the output current that it will break.

    However the break is momentary only. The duration can be from 100ms to 10s but I want a bistable system to ensure that the power is totally removed until I decide otherwise. A DPDT relay can be wired  as a latch, its own coil being fed by the normally-open contact. A push-button in parallel would trigger the latch (only on demand), and the GRI8-01 is wired in series on the normally-closed contact, to disengage it when the current is exceeded. Yes, a basic set/reset latch.

    I don't have a DIN-railed relay but I have powerful DPDT relays with 220Vac coils so I can try something!

  • Circuit parameters

    Yann Guidon / YGDES05/15/2019 at 01:25 0 comments

    Before powering it on for the first time, it's good to test all the parts and their connections, which is also a great opportunity to measure all the parameters :-)

    • The input goes through the 2A circuit breaker. There should be no noticeable effect unless the current reaches 2A :-) So nothing to measure here.
    • The output of the circuit breaker is connected to : 
      - a 300V MOV (a surge protection protection) : nothing to measure at low voltage
      - a neon pilot lamp : shouldn't be noticeable either
      - the primary coil of the isolation transformer : here we can measure the resistance and inductance:

    Primary : 3 ohms, approx. 3.3 Henrys (disconnect the variac !)
    Secondary : 4 ohms, approx. 3.8 Henrys (it seems to drift ???)

    Between primary and secondary : > 2G ohms but 1.5nF...

    ...

    The secondary is connected to quite a few things:

    • Input of the voltmeter : should not be measurable
    • Capacitor and MOV  : neither
    • Switches: N/A :-D

    Let's see the incandescent bulbs : I measure the "cold" resistance

    • 5W : 734 Ohms
    • 15W : 314 Ohms
    • 28W halogen : 134 Ohms

    The variac is a different story, because it's variable...

  • MainsBox v1.0 ready !

    Yann Guidon / YGDES05/08/2019 at 16:16 0 comments

    Voilà !

    The first version of the box is ready for the tests, it still misses a few accessories but the system is useful and usable :-D

    The main features are here, I'm waiting for the AC voltmeter to be delivered.

    The passive series loads could be better but we'll see in practice if the design must be changed. After all, everything can be re-wired so there is no need to worry about "getting it right at the first try".

  • Incandescent load(s)

    Yann Guidon / YGDES05/07/2019 at 15:08 0 comments

    I'm still trying to find an active system to cut the power during over-current conditions (with selectable current values).

    Meanwhile, an additional passive current limiter is easy to implement with plain incandescent light bulbs, you know, the old-school type with a tungsten filament. I measured the below bulb at about 360 ohms (cold) and it will increase during use, due to the heat, so it works almost like a "polyfuse".

    The tricky part was to mount it to the wooden frame but I managed to find a decent system.

    I "just need" to add more switches to bypass these loads... More switches, *sigh*...

  • Variac: solved !

    Yann Guidon / YGDES05/07/2019 at 03:26 0 comments

    As mentioned in the last log, the variac's issues are finally solved !

    First : the fuse holder was damaged and finding an exact replacement part was almost impossible.

    I found a suitable fuse holder but the hole was not adapted...

    Enter Alex and his extensive collection of power tools and bits.

    A conical bit was used to reshape the fuse holder's hole so the new part would fit :-)

    After a bit of re-soldering, the variac is finally operational !

    But wait, it's not finished.


    Tying the variac to the wooden box is another challenge. The variac has no fixation point so it would move around in the box... which is out of question.
    Alex has found a very smart, cheap, efficient and unintrusive system with L-shaped steel bits, which by coincidence have the right dimension for the holes. 4 of these are now keeping the variac in place !

    The trick was simply to unscrew the frame's screws...
    Some screws tie the assembly to the wooden frame, and that's it.


    To say I'm thankful for Alex's help is an understatement ;-)



  • First assembly

    Yann Guidon / YGDES05/02/2019 at 21:43 0 comments

    More woodwork and metal work later, the "rack" is looking more like something that could work !

    Elements are still missing but some devices are on their way :-) I'll be able to install a combined voltmeter/ammeter soon.

    The big question is how to attach the variac to the frame but Alex might have found a great solution.

    And the other big great news : the variac suffered from bad packaging and the fuse holder broke during delivery but now (after 2 long years) it is repaired ! In part thanks to Alex again :-)


    BTW, I'll soon mount a DIN-rail module to display current and voltage. The current sense is inside the module and one wire goes through it :

    This simplifies my system because I can power it from the secondary of the isolation transformer while sensing the current that goes to the wall plug. What I still need is an AC voltmeter to measure the output of the variac.

  • More woodwork

    Yann Guidon / YGDES04/30/2019 at 01:39 0 comments

    Today I took some time to progress with the wooden frame : two big sturdy handles, a fixing point for the isolation transformer, and large holes for the front switch and "wall plug".

    The great thing with this style of circuit is the possibility to wire something that is functional despite the absence of other parts. I can re-wire later :-)

  • I should have asked eBay first

    Yann Guidon / YGDES04/23/2019 at 11:08 0 comments

    The last logs address some issues, such as the "over-current protection" (OCP ?), but here I address another issue : I need output meters

    As I age, I get lazier and I finally made the effort to look up on eBay. I was not disappointed. OF COURSE there are countless panel meters, LED, LCD, galva... Some are even combined : Volts and Ampères on a dual display, Watts and Watt-Hours on quad display and even frequency and power factor for the latest trending gadget.

    I don't need all those bells and whistles (at least for this particular project, wink) and I'll add a combined V+A meter on the DIN rail for the convenience :

    However the combined meter can't be connected at the output of the variac because it is rated for 80Vac input, when the variac can go down to 0V.

    One main application/use for the "mains box" is to slowly ramp up the variac, starting from zero, while examining all the parameters of the Design Under Test, so I need to go below 80V. However the combined meters have a common wiring and steal the operating power from the current it measures.

    The solution is of course to use classic, non-combined, meters, so they can be power by the isolation transformer, but can measure the voltage and current after the variac.

    I found a classic module, based on the venerable ICL chip, that can measure down to 0Vac and uses an external power supply, though many questions remain. For example, how are the supply and input isolated, how many digits are effective and why can't I find a similar device to measure current ?

View all 13 project logs

Enjoy this project?

Share

Discussions

joram wrote 06/06/2019 at 11:24 point

I found this schematic of an electronic fuse that might be of interest

http://www.zen22142.zen.co.uk/Circuits/Power/fuse.htm

and also this similar one

https://digilander.libero.it/bubblegate/ecircuit3.html#FUSE

  Are you sure? yes | no

Yann Guidon / YGDES wrote 05/25/2019 at 22:25 point

I should have seen this coming...
The 2A circuit breaker does not like the 400VA isolation transformer and its resistance < 4 ohms... I'm unable to turn it on without repeatedly arcing and tripping.
D'oh...

  Are you sure? yes | no

salec wrote 05/27/2019 at 13:12 point

In case you missed it in Hackchat thread, I believe this is relevant and important read:

https://www.eeweb.com/app-notes/beware-of-zero-crossover-switching-of-transformers

Of course you use a mechanical switch, so it could not possibly aim at zero crossing moment, but the application note shows that the issue exists in rather wide time window around the zero crossing point of the waveform, so I guess it's just that probability is not on your side on this.

  Are you sure? yes | no

Brian Cornell wrote 05/27/2019 at 13:34 point

The fuse is tripping because of inrush current and this depends on where the transformer's core is on the BH loop when last turned off.  If the core is, say, high on the loop in the first quadrant and the applied sine is positive at that instant it will take the core into saturation.  This is a normal behavior of transformers.  Make sure the CB is rated for inductive loads.  It should also be sized at least 25% larger than rated current.

  Are you sure? yes | no

Yann Guidon / YGDES wrote 05/27/2019 at 13:59 point

Thank you salec !

I am aware of the BIG problem of switching inductive loads and the datasheets of static relays has big warnings about it. I'm going to investigate slowly :-)

  Are you sure? yes | no

Yann Guidon / YGDES wrote 05/04/2019 at 11:54 point

@llo "chez nous on appelle ça un tapis isolant, des gants et une paire de lunettes"
oui mais moi je suis un électronicien, je suis une petite nature ;-)

  Are you sure? yes | no

Ted Yapo wrote 03/02/2019 at 01:54 point

Very nice. I have a variac, isolation transformer, and big red kill switch I drag out for such things, but have never thought of putting them together into one instrument. Or adding a breaker :-)

Cool idea!

Do they make adjustable breakers?

  Are you sure? yes | no

Yann Guidon / YGDES wrote 03/02/2019 at 11:50 point

That's a question I've been investigating lately :-D

I was thinking : a Hall sensor and an opto-relay would be helpful and fast but they tend to "latchup" (not break the current when it's still flowing).

For the Big Red Button, the idea is the reverse : a "dead man switch", such that it only works when pressed. This keeps your hands away from harmful voltages and if you get zapped, it will immediately break (hopefully)

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates