Safe In-Wall AC to DC Transformers??


  • Mod

    @jemish Be safe and buy something like: http://www.recom-international.com/pdf/Powerline-AC-DC/RAC03-SCR_277.pdf
    Live on the edge (having a decent fire insurance) and tear down a USB charger or buy one of the few $$ versions from China .


  • Hero Member

    I have asked the guy who made this excellent list to test the meanwell - hopefully he will oblige. I still haven't been able to find anything with OTP even remotely in this price bracket....

    @petewill said:

    @ThinkPad Thanks for posting. It's good to see how the tests are performed. Unfortunately I don't have the equipment or skill to know how to test. Hopefully we will be able to find a safe one that we can all use.

    @Moshe-Livne have you been able to find the meanwell chargers from anywhere besides jameco?



  • @Yveaux this RECOM AC to DC converter will safe or not for put it to in the wall.

    because I have to start live HOME Automation.


  • Mod

    @jemish Its dimensions are especially chosen to fit in a standard round wall enclosure; its round and very flat, so it can be mounted behind a switch or some electronics inside a wall.
    here you can find some use cases.



  • @Yveaux thank you for your reply....
    You mean that I can put this RECOM inside the wall box...behind the switch board.


  • Mod

    @jemish yes



  • @Yveaux where may I can buy it?


  • Mod

    @jemish Depends on where you live. I bought mine from Conrad, and I know Farnell and Mouser also sell it.
    Just google for some local suppliers.


  • Hero Member

    @petewill @didi found a cheaper source:
    http://www.tme.eu/en/details/gs05e-usb/mains-power-supplies/mean-well/
    shipping to the US 9.90. still ridiculously expensive but not as bad as mouser


  • Hardware Contributor

    @Moshe Livne: interesting. I didn't know that tme has it. They have nice enclosure too, like those for wall ac adapter http://www.tme.eu/en/katalog/enclosures_100431/#id_category=100628&s_field=artykul&s_order=ASC&page=1
    I live in EU. And for shipping I think they are good, regarding Rs, farnell, and mouser too. But not the same catalog unfortunately.


  • Hero Member

    @scalz these are new i think and beibg propagated to shops. Every time I search i get more....



  • Powersupplies arrived 😃

    DSC_0079.jpg


  • Hero Member

    @Didi sharpening your knives and putting the plier in the fire?


  • Hardware Contributor

    aaaaaaah, you are lucky, I have not received mine yet!!!
    I am thinking about something for OVP and OTP:

    • at my job we use MCP9509 for OTP. As OTP is for output load (and not for input I think), it could be possible to use MCP9509 and P Mosfet to cut off the load if any temp problems occurs. I think it could be sufficient like this.
    • for OVP, why not using a varistance at the input??? And then if a problems, your fuse in your electrical service box would blow.

    I think this module has others protection.. so maybe it could do the job. I am not sure but like this I think it couldn't burn. It is just an idea as I am not expert. But can't wait to see how it is inside!!!


  • Hero Member

    Mine arrived too. But I don't have equipment / knowledge to test it properly. So I will go for "real-life test". The wall boxes / wires here are fire-proof (and placed into brick walls), so the risk of real fire is reduced.

    And I'm running my Arduino-dimmers for 6 months now, all powered by really cheap phone charges, so hopefully these modules will be a bit safer 😉


  • Hero Member

    @rvendrame would be interested to see how you wire everything together


  • Admin

    @Moshe-Livne said:

    @petewill @didi found a cheaper source:
    http://www.tme.eu/en/details/gs05e-usb/mains-power-supplies/mean-well/
    shipping to the US 9.90. still ridiculously expensive but not as bad as mouser

    Cool, thanks!

    @Didi can't wait to hear how they work! That was fast shipping!!



  • Hi,
    I am new here and decided to join this forum, because of this interesting discussion.
    Some weeks back, I was looking for a cheap AC-DC converter and ran into the Hi-Link modules. The have very nice specs, but I discovered that there are no stamps to prove it.

    I too plan to bring an offer to the gods of AC-DC, so I will build a module into a safe box and see what happens when I start annoying it.

    I'd like to finish for now with a remark to rvendrame, if I may:
    It is true that stone is very difficult to ignite, but fire and heat also melts the plastic coating of the elektric wires and this can lead to high currents that are just not high enough to blow the fuse in the mains fusebox and this can ultimately lead to fire elsewhere in your house.

    Regards,
    Bert


  • Hero Member

    @Bertb, thanks for the advise!



  • I have also bought the Hi-Link modules, 10 arrived today, they seem very well built, but I have yet to try them.



  • I got some hi-link modules a while back on a "I might need these in the future" type deal.

    I was wondering though how to protect the connections. I got some fuses+pcb holders to add extra protection however there is going to be at least 4 points which will be exposed.

    Can I just cover the joints with hot glue to stop them from making contact with anything? Call me paranoid but I like to be extra safe.



  • @Qu3Uk For covering solder connections you can use 'heatshrink'. Kind of 'plastic' tubes that you put around a wire, apply heat (keep a lighter/match underneath (not in the flame) for example) and it shrinks around the connection.

    See also https://en.wikipedia.org/wiki/Heat-shrink_tubing



  • @Qu3Uk You could protect the high voltage part of the circuit by mounting a plastic plate under the pcb using some spacers and screws. This way it would be impossible to touch the dangerous spots. I would not recommend hot glue because you never know how well it isolates. I don't think you will find electrical specs for hot glue. 😉



  • @Jan-Gatzke Ah yeah that's probably a neater option as well I think. Sure I can find something suitable like that.
    I have heatshrink but I just figured it wouldn't 100% cover the solder joints on the PCB.


  • Hero Member

    @Qu3Uk , is a small plastic box a option? Maybe some 3D-printed, with some ventilation holes on two sides, as small as the PCB + components?


  • Hero Member

    @Qu3Uk there is something called liquid tape. It's expensive.... Cool stuff though


  • Hardware Contributor

    @Moshe Livne. thank you for the trick. I didn't know this. it could be very useful sometimes.


  • Hero Member

    @Qu3Uk Also, worse comes to worse, use PU construction adhesive. very messy but they are rated for electrical conductivity and fire. if you ever want to take this off, you are in big trouble....



  • @rvendrame Waiting on some boxes but I'm also wanting to protect the connections inside the box, figure it'll also be a little neater maybe.


  • Hero Member

    @Didi Any initial results? curiosity is killing me....



  • @Moshe-Livne said:

    @Didi Any initial results? curiosity is killing me....

    Sorry Moshe no tests,i was in holidays with my kids


  • Hero Member



  • Last week I carried out an elektrical safety test on the HLK-PM01 to NEN 60101 (Dutch test for medical equipment) and it performed pretty well. I will try to post the file, after I removed some private information 🙂
    Furthermore I am building a automated load tester that relates variable loads to output voltages and surface temperatures, based on an Arduino Nano.


  • Admin

    @Bertb Great news! Looking forward to the results.



  • @Bertb said:

    Last week I carried out an elektrical safety test on the HLK-PM01 to NEN 60101 (Dutch test for medical equipment) and it performed pretty well.

    👍

    I can´t wait to see the results



  • @Bertb Cool, always handy to have people like you on forums 😉 I'm also looking forward to the results!



  • Maybe the "Samsung ETAOU10EBE" phone charger is also an idea to use. I have one for my phone, and it is very small.
    I haven't opened it (i use it for my phone, dohhh), but the charger is small, so the PCB inside will be even smaller.

    It is 5V @ 700mA with a microUSB wire. I got a second one from eBay, which was being sold as 'genuine'. And to be honest, i really don't see any difference with the one that came with my phone. It is working fine for more than a year.



  • Well, here is the test file. I made it using test software named Ansur and a Fluke ESA640 tester in a Class II test setup.
    The only problem is that some test results are in Dutch.

    HLK-PM01 20150724 Fluke ESA620 IEC 60601-1 klasse 2.pdf


  • Admin

    For us none dutch talking people... Good or Bad? (Yes, I see the big PASSED text 😉 )


  • Mod

    @hek I'm Dutch but I also have troubles interpreting the results...
    But hey, I'm a software guy!



  • i guess fluke can set to eng,thanks @Bertb for the results,think you don´t make it at home



  • Sorry for the language thing. I will try to get some tests in English in the future.
    The tester used is designed for tests of medical equipment and this specific test proves that this specific HLK was safe. The problem is, however, that it does not prove anything with respect to the safety of other HLK's.

    In the mean time, the same HLK is feeding a load of 730 mA. It's output voltage is 5.08 volts and the case temperature is Temp 😄 46.81 Temp F: 116.26105.

    @Didi. You are correct. I work in a hospital. I will try to setup the Fluke to English.



  • Wait Mike, there is more ...
    I sacrificed a device to the altar of success and opened it.
    That was not very difficult. After scratching away some gum stuff the following was revealed.
    I will try to remove the rest of the gum with acetone. I will also do some heat and burn tests.

    This is quite funny to do 🙂

    IMG_20150728_214007.jpg IMG_20150728_214057.jpg IMG_20150728_214105.jpg IMG_20150728_214436.jpg



  • And I found the AP8012 chip inside. It has the following features:
    _1286955514_oj99d4.pdf


  • Mod

    @Bertb Thanks Bert! Good digging!


  • Hero Member

    @Bertb thanks! Good detective work! It seems the chip provide all the protections needed. That is very encouraging


  • Hardware Contributor

    Thank you very much. I agree with you ap8012 seems to be a good chip. As we can see, it is difficult to make it smaller if we want all securities...and for the price including shipping I think they will sell lot of these things!


  • Hero Member

    @Bertb it is hard to see from the photos, are the capacitors rated for 105c?



  • @Moshe. Yes they are. I did not yet dug into that, but is that good news?
    IMG_20150729_124755.jpg IMG_20150729_124953.jpg IMG_20150729_125107.jpg IMG_20150729_125455.jpg



  • Observe the air gaps.

    I also tried to incinerate the gum stuff that is inside the module with a cigaret lighter.
    After a couple of seconds it starts to glow, then, after some 10 seconds, the material starts to burn. But this stops within some 20 seconds ofter removal of the lighter.
    I made a film, but it is too large to upload.

    I am not an expert on AC-DC converters, but I am quite impressed by the layout of the design.
    The only thing that worries me is that I do not see how the OVP is created. On the other hand, this can be easily solved by adding a fuse and a ovp zener in the primary circuit.

    IMG_20150729_131014.jpg


  • Hero Member

    @Bertb yes,although to be expected. Did you see the comparison mentioned a bit earlier in this thread? That is the first thing he checked


  • Hardware Contributor

    In the datasheet we can see it is implemented in the chip (in the block diagram) and how it works is explained at page 7. If VCC not well built, the chip would not work well I think.



  • I do not totally agree with this. When I take a look at the example circuit and read the ovp text, I can only conclude that the output is protected, because the circuit seizes to work when VCC rises to high. Whatever happens to the input circuit, I don't know. Therefore I prefer a fuse and and a varistor.

    Have a look at the tutorial link text


  • Admin

    @Bertb thank you for your testing!!! Although I don't know much about hardware I am gathering by the posts here that it is mostly good news!

    So, now for the big question... If I were to add an external fuse like pictured here does everyone agree this is safe to put in a wall?

    And, a follow up question if the answer is yes. Are there any basic tests we can do at home to verify the performance should be the same as what was tested here?


  • Hero Member

    @Bertb, thanks a lot. I guess you mention to put a varistor/fuse right at output of this device, for example a 7K 14V varistor in parallel, and a 500mA fuse in series?

    And what about the fire burn test --- Perhaps is there a method to measure it (and compare to some standard?).


  • Hardware Contributor

    I agree with you about varistor. it is a good idea.



  • I did not finish the automated power tester, but I put an HLK with a DS18B20 temp sensor in a closed flush box(is that the English word for the box in the wall, used for domestic wiring?).
    A simple resistor acts as a load and draws a 800 mA from the power supply. That is 33% more than the max continuous value. Voltage across the leads is 4.96. That is 5.08 without load. Not too bad. At 600 mA (100% load) the voltage is also 5.00.
    The Dallas says that the surface temperature at the HLK is 48.19 c ( F: 118.74).
    Also do not forget to mount adequate capacitors to reduce ripple.

    @petewill and @rvendrame ... Every country has directives regarding flammability. I cannot say which one is valid. I have seen some testing in the past. They put a burner under the device under test and waited to see what happened after removal of the source. In general (without any warranty whatsoever) when there are no flames or when they extinguish autonomic is good. If there is no hot material dripping from the DUT, that is also good. The test I carried out is described above. No dripping en self extinguishing. So I am satisfied.
    Sorry, I cannot be more specific. I do not have the knowledge.

    @rvendrame: yes the fuse in series in the mains live wire en the varistor in parallel with the primary side of the HLK.
    With respect to the varistor ... see the sheet below:
    Take a value that is well above the normal AC tension of your mains power, but below the max input voltage of the HLK. so in Netherlands 250 volts will do.

    link text



  • Now for the million dollar question ... would I mount a HLK in a flush box?
    Well ... when equipped with varistor and fuse and with the load on the safe side ...
    Yes, I would.


  • Hero Member

    @Bertb, thanks again. I got a bit confused, do you mean put the varistor + fuse into the PSU input (AC Mains)? I was more thinking in over voltage protection on output. So a low-volt varistor together with a fuse/ptc, both on the 5V output.

    My concern is having something wrong into the PSU-PWM control, and somehow the AC mains leaking to the low-volt side, cause arduino+friends burn/flaming. But I'm a hobbyist, so maybe I'm guessing wrong here.

    Maybe to be on safest side --- varistor + fuse/ptc on both AC mains and 5V rails?



  • My initial safety is always toward the biggest danger ... mains in this case.
    For the secondary part a simple semiconductor fuse and a zener (transzorb) will do.


  • Hero Member

    @Bertb that is actually a very good surface temp for overload from what I saw in the other tests. Very promising.



  • At 535 mA, the temperature stabilizes at 39.81c /F 103.66


  • Hero Member

    From what I researched at internet, the most important safety measure is the isolation part. Most countries have similar standards. From the pictures above I see the PCB tracks from high and low voltage are clearly separated by at least 0.5cm , which I think is also a requirement in EU.

    Maybe if we figure out a way to provide something between 7.5Kv and 10Kv into the its AC input for some seconds/minutes, and see what happens. This is the worst-case scenario --- A lightning event into the AC line during a electrical storm.

    Despite it may (and will) burn inside completely, any high voltage should never be present at output, as well as no significant flame that may propagate fire should occur.

    This of course requires costly and sofisticated lab equipment.



  • The specs of the unit states that it resilient to high voltages. I tested it with 250 VDC across input and output.
    As stated before in this threat, the specs are ok, it only lacks the stamps.
    From what I have seen so far, the module is good for me.

    From the specs:
    4.Safety Characteristics:
    4.1Products designed to meet UL, CE safety certification requirements.
    4.2Safety and electromagnetic compatibility
    Designed with the input of 0.5A UL certified insurance;
    PCB board using double-sided copper clad plate production, material for the 94-V0 fire rating level;
    Safety standards: Compliance with UL1012, EN60950, UL60950
    Insulation voltage: I / P-O / P: 2500VAC
    Insulation resistance :I / PO / P> 100M Ohms / 500VDC 25 ℃ 70% RH
    Conduction and radiation :comply with EN55011, EN55022 (CISPR22)
    Electrostatic discharge :IEC / EN 61000-4-2 level 4 8kV / 15kV
    RF radiation Immunity: IEC / EN 61000-4-3 See Application Note
    4.3 Temperature safety design
    At room temperature,the capacitors of this power , the inner surface of the main converter maximum temperature does not exceed 90 ℃;
    Shell maximum surface temperature does not exceed 60 ℃


  • Hero Member

    Overall that looks like a pretty good AC/DC trans. The isolation boundary looks massive.


  • Hero Member

    @rvendrame @Bertb this guy detail his methods here http://lygte-info.dk/info/usbPowerSupplyTestHow UK.html

    he has some kind of gadget that produce 2500v to 5000v.

    Anyway, I am convinced that this is safe (or at least MUCH safer then what people here have been using). If one of the electrical wizards can detail the circuit with extra fuses, diodes and varistor (what is that???) I think it can help us all.


  • Hero Member

    @Moshe Livne, yes I think I saw that website. The list of equipment there is surely respectable, at least. I just wrote to the info@ there, asking if perhaps he would like to test one of this HLK PSU. I can send one or two of my lot, lets see if we get some reply.

    The varistor is a device widely used for protection. It is connected in parallel with the AC mains. It will short the circuit in case the voltage exceeds its pre-determined value. The ideia is to use it burn an internal fuse, or trigger the house circuit breaker in case of over voltage. A 20K-250V varistor will short the circuit if voltage is above 250V, and it supports voltages up to 20KV without produce any flame.

    Using a varistor in conjunction with a PTC fuse (a fuse that automatically resets after some time) creates a very good protection for over voltage, with small cost and footprint.

    I do agree with @Bertb and @ServiceXp , this HLK PSU looks good and safe for what we intend to use. Surely it is better than a phone charger. But as in any DIY, each one of us must know where to step on, assuming the involved risks.



  • @Bertb I live in the Netherlands just like you. If you're interested i can make some thermal images of the disassembled HLK unit if you send it to me. I expect my FLIR One (Android) to arrive probably next week.



  • Just to be sure everybody understands the schematic, hereunder a schematic.
    I am not a fan of blowing mains fuses ...

    Draft schematic



  • @ThinkPad I am not sure it is still safe to operate.



  • @Bertb The idea was to put it on my desk (with a mains cord soldered to it) running a resistor load, and then shoot some thermal pics of it
    . I wasn't planning to touch the unit with my bare hands while it is powered hahaha



  • @ThinkPad Well its your desk, so its fine with me.
    Is there a way to get your address without shouting it from the rooftops?



  • Don't suppose anyone could tell me what components (values) need to be purchased for 230v (UK)? I have bought 10 of these and wish to make them as safe as I can.



  • @Bertb Have sent you a chat, see the chat balloon top right corner.



  • @Atomfire I will come back to that tomorrow.


  • Admin

    @Bertb Once again, thank you for all your work with this! I can't wait to start building with this! This will be so helpful to have a safer method instead of just dismantling old phone chargers and rolling the dice.

    I couldn't open the schematic. What is the file extension? Also, would you mind posting the required parts for 110v if they are any different than what you will be providing @Atomfire?

    Thanks!

    Pete


  • Hero Member

    Hey guys, I wrote to the owner of the site suggested by @Moshe-Livne. He replied saying that he can test the HLK.

    He mentioned that usually he takes at least two units (so if one burn he can continue the testing). I will send one from my lot, perhaps we have a brave guy to gave up one more? (a sacrifice of few to save many ) 😉 Let me know and I will share the address via PM (Denmark).


  • Hero Member

    @rvendrame Considering cost of postage and logistics involved it would probably be cheapest to just order two units from Ali to him? its 8$ including shipping if i remember correctly



  • @petewill The schematic is just a simple draft. It can be seen with IE.


  • Hero Member

    @Bertb I tried adding "html" suffix to it but it didn't work.


  • Hero Member

    One option is to click on the link and download the file. After the file is completely downloaded, just add the extention .jpg to it.

    The result is as following:
    1438251516188-draft-schematic.jpg



  • Something went wrong with uploading the file, I think.
    Herewith a new schematic with a suggested bill of material.
    It is highly experimental still, but I ordered the components yesterday.

    I am specially interested in working with the PTC fuse.

    I hope the proposed circuit works for you. Please keep the maximim continuous output power in mind. It is only 3 Watts (600 mA).
    In some cases you might need to add C1's (rule of thump 1 per chip or chip VCC) and/or need to increase the value of C2. This depends on the fluctuations in the power demand.

    With the proposed values for C1 and C2, the ripple remained below 50 mV at 500 mA.
    Also keep in mind that a remaining oscillation frequency residue appears in the output of some 60kHz.. If capacitors are not able to filter that out, a small coil might be needed.

    Well it is experimenting that makes this fun, isn't it?

    Draft schematic2.jpg



  • @rvendrame said:

    Hey guys, I wrote to the owner of the site suggested by @Moshe-Livne. He replied saying that he can test the HLK.

    He mentioned that usually he takes at least two units (so if one burn he can continue the testing). I will send one from my lot, perhaps we have a brave guy to gave up one more? (a sacrifice of few to save many ) 😉 Let me know and I will share the address via PM (Denmark).

    I am in for this.



  • @rvendrame said:

    Let me know and I will share the address via PM (Denmark).

    I will send him a powersupply too. 😜


  • Hero Member

    @Bertb can now see the scheme! thanks. But can't see the BOM



  • ... it must be friday ...

    voeding.doc



  • @Bertb said:

    voeding.doc

    can you make a pdf, i have no microsoft office



  • As you please ...

    voeding.pdf



  • @Bertb said:

    As you please ...

    thank you



  • I managed to borrow a Megger (high voltage resistance measurement device). This weekend I will test the insulation of the MLK.
    The only drawback is that the Megger reaches to 1000 Volt.


  • Hero Member

    @Moshe-Livne said:

    @rvendrame Considering cost of postage and logistics involved it would probably be cheapest to just order two units from Ali to him? its 8$ including shipping if i remember correctly

    Yes, it makes all sense. The only downside is that if we buy all at same time probably he will get all from the same lot, but in my opinion it by far doesn't invalidate the testing.

    So, myself, @Bertb , @Didi = 3 PSUs, better than 2. I will share with you both the ship-to address ok? Thanks a lot!



  • @rvendrame said:

    So, myself, @Bertb , @Didi = 3 PSUs, better than 2. I will share with you both the ship-to address ok? Thanks a lot!

    👍


  • Hero Member

    I'm really happy to hear that these HLK power modules are considered to be safe. I've been using them for a few weeks already, but didn't have a clue what was inside (and whether they were ACTUALLY safe).

    One question regarding the varistor and PTC fuses though:
    Any reason (or specifications) why you chose those specific components? I've been looking for myself as well, but came up with slightly different components.

    Fuse1 and 2: PTC Resettable Fuses 250V 1A TRF250-1000

    Varistor1: [10D391K 10K391 390V varistor diameter 10mm AC 250V DC 320V]
    (http://www.aliexpress.com/item/Varistor-10D391K-10D-391K-VDR-10K391-Metal-voltage-dependent-resistor-50pcs-bag/1912418587.html)

    Varistor2: [5.5V Varistor original Varistor resistor]
    (http://www.aliexpress.com/item/SMD-1206-5-5V-Varistor-original-Varistor-resistor-100pcs-lot/32243046238.html)

    If anyone with a bit more experience could have some feedback on these components, that would be really really appreciated!!



  • @rvendrame said:

    @Moshe-Livne said:

    @rvendrame Considering cost of postage and logistics involved it would probably be cheapest to just order two units from Ali to him? its 8$ including shipping if i remember correctly

    Yes, it makes all sense. The only downside is that if we buy all at same time probably he will get all from the same lot, but in my opinion it by far doesn't invalidate the testing.

    So, myself, @Bertb , @Didi = 3 PSUs, better than 2. I will share with you both the ship-to address ok? Thanks a lot!

    👍



  • @aproxx I would say that the 50 mA fuse is too weak. The HLK draws between 0.1 and 0.2 Amp and can surge 10 Amp. So, I think the 1A version is good for both situations input and output. The varistor is only good for the output.
    One thing to consider though. This is also chinese stuff ... is it really safe or are we introducing a new problem? 😄


  • Hero Member

    @Bertb Aaah yes now I see. It does seem to draw much more peak current than I expected! Then I'll just use the same component as I'm using for Fuse 2.
    What do you mean by "The varistor is only good for the output."? You're using one as input and one as output in your diagram as well or am I missing something?

    And yes, I know this is Chinese stuff again.. But single (chinese) components never failed on me (until now). 😃



  • @aproxx The only varistor I see in your list is 5.5 Volt.


  • Hero Member

    @Bertb I see what is getting both of us confused.
    Apparently something was wrong in the link of my previous post, resulting in the 2nd varistor not being listed. So now your comment about the varistor only being good for the output makes sense as well. 😃
    I've fixed the link of my post above!



  • @aproxx This is a different kind of notation, but when I look the device up in de Bourns catalog, I see it is rated for 250 Vac. That should be good.

    link text



  • Short update ... yesterday I asked or Chinese friends from Alie to send a HLK module to our test friend.
    I also did an insulation test with 1000 Volt. The test shows more than 1000 MOhm between ac and dc. So far so good.


Log in to reply
 

Suggested Topics

  • 87
  • 5
  • 6
  • 3
  • 1
  • 9

1
Online

11.2k
Users

11.1k
Topics

112.5k
Posts