Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. Safe In-Wall AC to DC Transformers??
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Safe In-Wall AC to DC Transformers??

Scheduled Pinned Locked Moved Hardware
431 Posts 71 Posters 457.5k Views 69 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sundberg84S Offline
    sundberg84S Offline
    sundberg84
    Hardware Contributor
    wrote on last edited by sundberg84
    #317

    So there is another safety issue we should discuss for the HLK.
    Creepage (separation between two solder eyes measured along the surface) and clearance (shortest distance between as measured through the air) on the AC input.

    According to datasheet there is 5mm center-center, but real distance with solder and pads its more like 3, maybe 3.5mm.

    I found this and this which was a great summary of some IEC standards states that if your are going to use 240v and put the HLK into a environment with pollution degree III higher you need more creppage than 3.2mm. What am i saying? If i understand this right its not safe to use the HLK in any environment where moisture condensation may occur (outside, bathroom). My guess when i try to read the contamination groups is that if you put the HLK inside a sealed case you get the contamination level down to 2 and then we are safe above needed 2,5mm.

    To be on the safe side I have in my latest pcb added holes between AC input to increase creepage:

    0_1456695808093_1.JPG

    Am i right? Dont know - its hard to read all these articles and Im new to this so please bring anything to the table... corrections, questions or thoughts.

    Controller: Proxmox VM - Home Assistant
    MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
    MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
    RFLink GW - Arduino Mega + RFLink Shield, 433mhz

    TD22057T 1 Reply Last reply
    2
    • sundberg84S sundberg84

      So there is another safety issue we should discuss for the HLK.
      Creepage (separation between two solder eyes measured along the surface) and clearance (shortest distance between as measured through the air) on the AC input.

      According to datasheet there is 5mm center-center, but real distance with solder and pads its more like 3, maybe 3.5mm.

      I found this and this which was a great summary of some IEC standards states that if your are going to use 240v and put the HLK into a environment with pollution degree III higher you need more creppage than 3.2mm. What am i saying? If i understand this right its not safe to use the HLK in any environment where moisture condensation may occur (outside, bathroom). My guess when i try to read the contamination groups is that if you put the HLK inside a sealed case you get the contamination level down to 2 and then we are safe above needed 2,5mm.

      To be on the safe side I have in my latest pcb added holes between AC input to increase creepage:

      0_1456695808093_1.JPG

      Am i right? Dont know - its hard to read all these articles and Im new to this so please bring anything to the table... corrections, questions or thoughts.

      TD22057T Offline
      TD22057T Offline
      TD22057
      Hardware Contributor
      wrote on last edited by
      #318

      @sundberg84 I think that looks like an excellent idea. I was looking at the tear down of the HLK in the test that was run and it doesn't look like there was any reason for them to do this - at least as far as I could see, there was plenty of room to put those connectors at the corners like the DC side.

      1 Reply Last reply
      0
      • alexsh1A Offline
        alexsh1A Offline
        alexsh1
        wrote on last edited by
        #319

        @sundberg84 How about a watertight enclosure?
        In the UK it is IP67 (this is what it means -> http://aceeca.com/handhelds/ip67)

        http://www.rapidonline.com/mechanical-fastenings-fixings/hammond-ip67-watertight-enclosure-with-flanged-lid-1555cf22gy-120-x-66-x-42mm-30-4338

        1 Reply Last reply
        0
        • sundberg84S Offline
          sundberg84S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by sundberg84
          #320

          @TD22057 Yes, you can see in the teardown they have thought about the creepage in the optical feedback unit (cut a hole in PCB) between primary and secondary. I dont know why they so close, but 5mm is enough - maybe they forgot about solder/pads would take some space?

          @alexsh1 If i understand Contamination levels right the difference between III and II is that in III occurs conductive contamination so if you seal it up this should get it down to II.

          Then there is a difference between materials - and if compare material I and III its a big difference in creepage - does anyone knows what this means? What material is a normal PCB?

          Controller: Proxmox VM - Home Assistant
          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

          martinhjelmareM 1 Reply Last reply
          0
          • sundberg84S sundberg84

            @TD22057 Yes, you can see in the teardown they have thought about the creepage in the optical feedback unit (cut a hole in PCB) between primary and secondary. I dont know why they so close, but 5mm is enough - maybe they forgot about solder/pads would take some space?

            @alexsh1 If i understand Contamination levels right the difference between III and II is that in III occurs conductive contamination so if you seal it up this should get it down to II.

            Then there is a difference between materials - and if compare material I and III its a big difference in creepage - does anyone knows what this means? What material is a normal PCB?

            martinhjelmareM Offline
            martinhjelmareM Offline
            martinhjelmare
            Plugin Developer
            wrote on last edited by
            #321

            Maybe they put the pins closer on the AC side than on the DC, to make sure people would not put the unit the wrong way, which could be dangerous? But as you say, they should have done a better job, though.

            1 Reply Last reply
            0
            • sundberg84S Offline
              sundberg84S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by sundberg84
              #322

              @martinhjelmare - thats a great thought - must be so, but if you think safety they should do the other way around, ac side wide apart and dc closer.

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

              martinhjelmareM 1 Reply Last reply
              0
              • sundberg84S sundberg84

                @martinhjelmare - thats a great thought - must be so, but if you think safety they should do the other way around, ac side wide apart and dc closer.

                martinhjelmareM Offline
                martinhjelmareM Offline
                martinhjelmare
                Plugin Developer
                wrote on last edited by
                #323

                @sundberg84

                Yeah, :smile: , they really screwed that up. Unfortunate, when the rest of the design, seems so good.

                1 Reply Last reply
                0
                • sundberg84S Offline
                  sundberg84S Offline
                  sundberg84
                  Hardware Contributor
                  wrote on last edited by
                  #324

                  Some more info about Material Groups and CTI reagarding creepage. When i read PCI datasheets with FR-4 material from different pcb manufactures it looks like we are in the III group (worst offcourse).

                  PCB in better groups (and better CTI) can be found offcourse - just add money.
                  Also found a clearance and creepage calculator: http://www.creepage.com/

                  Controller: Proxmox VM - Home Assistant
                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                  1 Reply Last reply
                  0
                  • C ceech

                    This one is not "safe", but it is an In-Wall AC to DC converter. Transformerless. With a 3A Solid state relay:

                    2015-08-21T12-11-1.jpg

                    2015-08.jpg

                    The converter output is 3.3V at 100mA and the solid state relay is a Triac.

                    schroecaS Offline
                    schroecaS Offline
                    schroeca
                    wrote on last edited by
                    #325

                    @ceech : Is there a chance to get your design data for this board?

                    1 Reply Last reply
                    0
                    • SoloamS Offline
                      SoloamS Offline
                      Soloam
                      Hardware Contributor
                      wrote on last edited by
                      #326

                      This solution, if well build locks a lot safer than a standard phone charger. The overheat protection is something that I like a lot. Is ther any pcb that only haves this solution? I found one in the OpenHardware but it integrates the node, I would like some stand alone solution! I think that I will give KiCad a go and try to develop one!

                      1 Reply Last reply
                      2
                      • S Offline
                        S Offline
                        Samuel235
                        Hardware Contributor
                        wrote on last edited by
                        #327

                        So just to bring the attention back to the fuse situation since the last update on the original post was in December;

                        Am I correct in thinking that we're supporting the use of a fast blow fuse and optionally a 4.7uF Capacitor on the AC side of the transformer/converter?

                        My initial thoughts before being directed to this topic was to have the Capacitor on the AC side of the circuit along with a slow blow and thermal fuse, then on the DC side of the converter to have a fast blow fuse for the low power circuitry along with the filtering caps.

                        The reason why i thought this, i have zero experience in this department though, is that the slow blow fuse on the AC side would allow for the inrush spikes from the transformer and the capacitor charging and then the fast blow fuse would stop the dc components from being fried from sudden spikes of DC current. Again, i have no experience here and hence the reason i'm posting this. Do you think that maybe i'm being a little too over the top with trying to protect my DC components?

                        MySensors 2.1.1
                        Controller - OpenHAB (Virtual Machine)
                        Gateway - Arduino Mega MQTT Gateway W5100

                        1 Reply Last reply
                        0
                        • SoloamS Offline
                          SoloamS Offline
                          Soloam
                          Hardware Contributor
                          wrote on last edited by
                          #328

                          Hello all, I finished my version of this solution! I used a ATMEGA328, this will make it cheaper. https://www.openhardware.io/view/83

                          I need some help validating the layout, most important the 220v traces and the capacitors used in the layout!

                          Thank you all

                          1 Reply Last reply
                          0
                          • zimmerZ Offline
                            zimmerZ Offline
                            zimmer
                            wrote on last edited by
                            #329

                            Interesting circuit.
                            http://www.homemade-circuits.com/2012/03/how-to-make-simple-12-v-1-amp-switch.html

                            Digchip circuit detail.
                            http://application-notes.digchip.com/005/5-10593.pdf

                            This circuit has VIPer22A it is similar with AP8012 of Hi-link.
                            NTC Resistor for Temperature Protection.
                            (With NTC, resistance Decreases with temperature to protect against inrush overcurrent conditions. Installed series in a circuit.)

                            VIPer22A Datasheet:
                            OVERTEMPERATURE, OVERCURRENT AND OVERVOLTAGE PROTECTION WITH AUTORESTART

                            It is easier to buy Hilink, but I found it has interesting things.

                            1 Reply Last reply
                            0
                            • zimmerZ Offline
                              zimmerZ Offline
                              zimmer
                              wrote on last edited by
                              #330

                              "Performance test and review of mains to 5V 0.6A Hi-Link HLK-PM01"
                              http://lygte-info.dk/review/Power Mains to 5V 0.6A Hi-Link HLK-PM01 UK.html

                              1 Reply Last reply
                              0
                              • SoloamS Offline
                                SoloamS Offline
                                Soloam
                                Hardware Contributor
                                wrote on last edited by
                                #331

                                Hello, I'm looking for 200mA slow blow fuses, I looked ebay and AliExpress, but I can't find it! Does any one haves a seller?

                                S 1 Reply Last reply
                                0
                                • SoloamS Soloam

                                  Hello, I'm looking for 200mA slow blow fuses, I looked ebay and AliExpress, but I can't find it! Does any one haves a seller?

                                  S Offline
                                  S Offline
                                  Samuel235
                                  Hardware Contributor
                                  wrote on last edited by
                                  #332

                                  @Soloam said:

                                  Hello, I'm looking for 200mA slow blow fuses, I looked ebay and AliExpress, but I can't find it! Does any one haves a seller?

                                  Just a quick search brings up a few options. I have linked you towards two of them;

                                  http://www.amazon.com/Qty-200mA-Slow-Blow-T200ma-GDC200mA/dp/B004TN2ZGG
                                  http://www.ebay.com/itm/5pcs-MJS-200-R-0653-0200-11-FUSE-0-2A-125V-200mA-SB-SLOW-BLOW-AXIAL-LEADS-5X15mm-/111902926482?hash=item1a0def2692:g:e2YAAOSwzgRWvdRe

                                  MySensors 2.1.1
                                  Controller - OpenHAB (Virtual Machine)
                                  Gateway - Arduino Mega MQTT Gateway W5100

                                  1 Reply Last reply
                                  0
                                  • SoloamS Offline
                                    SoloamS Offline
                                    Soloam
                                    Hardware Contributor
                                    wrote on last edited by
                                    #333

                                    Hi @Samuel235 thank you, but the shipping cost from amazon to my country would be a lot! I was looking at Ebay and AliExpress, but I can find Fuzes 250v 3.6x10mm Slow Blow of 200mA!

                                    The only one that I found where this http://www.ebay.com/itm/111433875797?_trksid=p2057872.m2749.l2649&var=410420838583&ssPageName=STRK%3AMEBIDX%3AIT&rmvSB=true! But the 200mA are out of stock!

                                    I wanted 3.6x10mm because of the size of the board where I'm going to use them, 250V is my country AC voltage (Europe, Portugal), Slow Blow because I think it would work better, and 200mA because that is the HK max current.

                                    1 Reply Last reply
                                    0
                                    • SoloamS Offline
                                      SoloamS Offline
                                      Soloam
                                      Hardware Contributor
                                      wrote on last edited by
                                      #334

                                      After some searching I can't find the 200mA fuses on 3.6x10 mm size and with Axial Leads! I think I'll go with the 300mA type!

                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        Samuel235
                                        Hardware Contributor
                                        wrote on last edited by
                                        #335

                                        I'm just having a quick look through the specs of the HLK-PM01 and it has a stable current draw of 600mA with a burst draw of 1A. Would i be wrong in giving this a 1A slow blow fuse to protect it, or should it be smaller? I see most of people are going for a 300mA fuse here but i'm a little confused on why you would do that if the HLK-PM01 is safe to burst draw 1A?

                                        MySensors 2.1.1
                                        Controller - OpenHAB (Virtual Machine)
                                        Gateway - Arduino Mega MQTT Gateway W5100

                                        alexsh1A 1 Reply Last reply
                                        0
                                        • S Samuel235

                                          I'm just having a quick look through the specs of the HLK-PM01 and it has a stable current draw of 600mA with a burst draw of 1A. Would i be wrong in giving this a 1A slow blow fuse to protect it, or should it be smaller? I see most of people are going for a 300mA fuse here but i'm a little confused on why you would do that if the HLK-PM01 is safe to burst draw 1A?

                                          alexsh1A Offline
                                          alexsh1A Offline
                                          alexsh1
                                          wrote on last edited by
                                          #336

                                          @Samuel235 I have a fast blow fuse 800mA and in terms of slow blow fuses,I think 300mA is spot on. Why are you looking at the hlk-pm01 specs? You should be looking at consumption current. Yes, hlk-pm01 can provide a stable 5v at 600mA, but is it relevant for our project when the consumption is probably below 200mA?

                                          If you are looking at something more power hungry the values have to be altered accordingly.

                                          S 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          11

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular