element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
John Wiltrout's Blog Reverse Engineering a GFI Plug
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jw0752
  • Date Created: 23 Dec 2017 4:42 AM Date Created
  • Views 1750 views
  • Likes 13 likes
  • Comments 16 comments
  • gfi_plug
  • reverse_engineering
Related
Recommended

Reverse Engineering a GFI Plug

jw0752
jw0752
23 Dec 2017

While getting dinner tables ready today for the coming Christmas Dinner the boss (Millie) asked me to get some wrinkles out of a plastic table cloth. After retrieving my shop hair dryer I began to heat the plastic cloth to remove the wrinkles. After I had finished I noticed the little GFI Plug, on the end of the cord, plugged into the wall outlet. I thought to myself, you know I have never tested the GFI,and so I pushed the test button. The GFI however did not click and open but rather began to buzz that nasty 60 cycle buzz that means something is wrong and before I could pull the plug from the wall it let loose with a plume of smoke.

 

Opportunity had knocked as I have never investigated a plug based GFI before. Several minutes later I had it disassembled and off the cord. Since I was doing it anyway I decided to document the exploration so you too could see what was inside.

 

image

 

After removing the covers I found the inner mechanism to be a nice mix of the electronic and the mechanical.

 

image

 

image

 

The manual red Reset button engages a mechanism that holds the two mains switches closed and one smaller switch that leads to the Test Circuit. A small solenoid (Yellow Center) latches the mechanism in place. If the solenoid is energized the latch is pulled out of the way allowing the mechanism to drop and the three switches go open. A quick inspection and measurement with the ohmmeter showed that the solenoid coil had been the source of the smoke as it was now open. I removed the main transformer which had 2 common mode windings (the Large Red and Large Blue), one Test Winding ( Small Blue) for manually triggering the solenoid, and one Sense Winding (Small White) that led back to the electronics under the transformer.

 

image

 

This opened the board itself for better analysis.

 

image

 

The board was a pleasure to reverse engineer as all the components were well marked for identification and the single sided board with 14 components gave up its secrets quickly. Here is a schematic of the GFI device. If you click on the schematic it will open a larger view.

 

image

 

I found it fascinating that the designer put the coil of the solenoid in series with the line side of the bridge rectifier. The rectified side of the bridge was connected directly to the cathode and anode of SCR EC103.  If the conditions in the circuit are such that the SCR is triggered it creates a short that applies sufficient current to the solenoid coil to pull the latch and open switches SW1, 2, and 3. The conditions for triggering the solenoid are #1, the Test button is pushed and sufficient current is induced in the Sense Winding of T1 by the Trip Winding. or #2 an imbalance in the current through Common Windings of T1 caused by Mains current leakage to ground rather than returning through Neutral also induces current in the Sense Winding.

 

My further analysis of the electronics is more guess than knowledge. Diode D2 should remove one side of the AC Current produced by the Sense Winding and the 5.6 Volt zener ZD1 probably adds a DC bias to the signal to put the gate of the SCR closer to its trigger point. The data sheet on the EC103 says that it is a sensitive gate SCR which makes sense as we would not want any more delay than necessary before energizing the solenoid. I hope someone corrects and improves on this analysis if they have time so I can understand it better. I have linked the data sheet in case it is helpful in better understanding the circuit.

 

http://datasheet.octopart.com/EC103M-Teccor-datasheet-5013.pdf

 

The hair dryer which is a shop tool no longer has a GFI plug and has been labeled for safety concerns. Unfortunately the way this GFI failed would not have protected the user in the case of a real emergency. When the solenoid coil burned out without tripping the mechanism it left the mains switches closed and the current still flowing to the hapless victim.

 

Thanks John

 

 

  • Sign in to reply

Top Comments

  • ntewinkel
    ntewinkel over 7 years ago +7
    > Unfortunately the way this GFI failed would not have protected the user in the case of a real emergency. This reminds me of how, in engineering, we aim for "how does it work" and often forget to ask…
  • jc2048
    jc2048 over 7 years ago in reply to shabaz +6
    This is what's inside a UNI-COM one. This is the back of the board - the solenoid is inside the housing to the left and the core with its windings is to the right. Obviously a broadly similar principle…
  • michaelkellett
    michaelkellett over 7 years ago +5
    My guess is that the solenoid coil is only rated for a very short operation, during which it should pull the switch and remove power from itself. If the switch jams not only do you run the risk of electrocution…
  • three-phase
    three-phase over 7 years ago in reply to jw0752

    You are welcome John, mine is but one of many posts that have added to this discussion.

     

    It also takes the time and thought of the original poster to sit down and create the original blog that starts it all off. So without your initial efforts, none of us would have contributed.

     

    Kind regards

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jw0752
    jw0752 over 7 years ago in reply to three-phase

    Hi Donald,

    Thank you very much for this informative post. I often feel that the material contributed to a post in comments exceeds the value of the original blog. Your input is appreciated.

    John

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • three-phase
    three-phase over 7 years ago

    Good write up John.

     

    For those wanting more information on these types of devices, Beama produce a good guideline, all be it biased towards the UK market and BS7671.

     

    Beama - The RCD Handbook

     

    Nema produce a similar booklet for the North American market;

     

    Nema - GFCI Booklet

     

    The 30mA setting for RCDs was based around work by Gottfried Biegelmeier in the 1950s that showed 95% of the population could withstand up to a 40mA shock under dry conditions. His work was then developed into IEC60479 that is utilised for protection against touch and step potentials in HV substations along with IEEE 80 Standard. I believe however, that the North American market go down to 6mA on their GFIs.

     

    They are not the most reliable of devices. Fixed RCDs are recommended to be tested every 3 months using the built in test button. RCD plugs are recommended to be tested every time they are used.

     

    Ramp testing and timing of the devices is carried out during condition assessments of installations. Recommended frequency for domestic market is 10 years, industrial and commercial 3 to 5 years and special locations 6 monthly to yearly. Specific devices for RCD testing are available such as this Megger device. More often now a days they form part of a multi function tester that is utilised to test all aspects of an electrical installation as pointed to by shabaz in his review of the Megger Insulation Tester.

     

    Kind regards

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 7 years ago in reply to mcb1

    I agree, all safety devices should fail to safe.

     

    Hopefully engineers are reading this and realizing that their efforts are useless if anyone dies.

     

    DAB

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 7 years ago in reply to DAB

    As with any safety device, you have to maintain them and test them to ensure that they still work.

    or design them to be "fail to safe".

    The portable RCD's we have are fail to safe, as they trip when there is no power, meaning they need to be held ON, rather than energised off.

     

     

    Sadly this 'fail to safety' mentality is not well understood by a lot of our Engineers.

    They understand about presenting a closed contact so that any break in the wiring is detected, but sadly miss that they have to energise the relay to break the contacts.

    It's almost like they are scared to continuously power a relay.

     

     

     

    I'm a little shocked that the design allowed the device to effectively cook the solenoid coil.

    If there had been a Ground Current, then it wouldn't have tripped (possibly electrocuting the user) and then possibly set fire to something.

     

     

    Mark

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube