220Vac to 5Vdc Transformerless Power Supply Circuit Using LNK304 [read the disclaimer below]

Sdílet
Vložit
  • čas přidán 28. 08. 2024
  • Disclaimer: This circuit is an industrial upgrade for the capacitor-based supply solution, it is connected to the 220V-AC Mains, non-galvanically isolated. if you are not familiar with the electrical safety rules, please avoid this content or ask some professionals to guide you. The author (or anybody else or any company) is NOT responsible for any harm or damage. Do it at your own risk. This is not for beginners!
    ======================================
    Altium Designer + License (Free): www.altium.com...
    ======================================
    Article: www.pcbway.com...
    www.pcbway.com...
    ======================================
    220Vac to 5Vdc Transformerless Power Supply Circuit Using LNK304 (without transformer)
    Whenever you hear the transformerless supply term, you initially imagine the capacitor-based solution, which means a high voltage capacitor in series with the mains line, then a bridge rectifier, a Zener diode, a filtering capacitor, and so on. Such a circuit is not just unable to deliver sufficient current for many applications, also, it is not a reliable solution for the industry, although you might see such circuits in some cheap products that are designed to have a low cost.
    A month ago, I was repairing a washing machine mainboard. In the examination process, I realized that it is equipped with an LNK304 chip that is used in transformerless supplies. So I decided to design a circuit based on this chip to be used in your applications. The circuit contains 220VAC mains input protection, output filtering, and a regulator.
    To design the schematic and PCB, I used Altium Designer 22 and the SamacSys component libraries (Altium plugin). To get high-quality fabricated PCB boards, I sent the Gerbers to PCBWay and purchased original components using the componentsearchengine.com. To test the current handling and stability of the output voltage, I used the Siglent SDL1020X-E DC Load and examined the power supply output noise using the Siglent SDS2102X Plus oscilloscope.
    -----------------------------------------------------------------------
    Music by Atch
    SoundCloud: bit.ly/AtchSou...
    Spotify: bit.ly/AtchSpo...
    Instagram: / atchmusic
    -----------------------------------------------------------------------

Komentáře • 45

  • @hp2073
    @hp2073 Před 2 lety +2

    Thank you for sharing this. I was thinking that the capacitor is the only solution

  • @leosbagoftricks3732
    @leosbagoftricks3732 Před 2 lety +8

    I feel that you really need to emphasize the fact that this is a NON ISOLATED MAINS power supply, there are very few situations where this power supply is safe to use. Newbies will build this for their Arduino projects and electrocute themselves.

    • @MyVanitar
      @MyVanitar  Před 2 lety +1

      This chip is introduced to overcome the capacitor-based problems, the output is not hazardous, just not galvanically isolated, however, "maybe" not safe for testing by the mains earth referenced instrument. so I did not take a risk and tested it using an isolation transformer. I assume someone who tries to build this has some basic knowledge not to touch the mains input components.

    • @SloverOfTeuth
      @SloverOfTeuth Před 2 lety +1

      It's well disclaimed.

    • @chanh9220
      @chanh9220 Před 2 lety

      Is a very risky design.

    • @leosbagoftricks3732
      @leosbagoftricks3732 Před 2 lety

      @@MyVanitar Yes! But never assume the audience is smart enough to recognize the danger, anything powered by this power supply is LETHAL if touched. That washing machine you copied the design from is double-insulated by design, hobbyists will not grasp this important detail.

  • @EJEuth
    @EJEuth Před rokem

    Interesting video, in several ways. The contents of your channel has been technically good, as always, but from 3 years ago to this at 8 months ago (as now), I could follow a general improvement on the didactic way of presenting the topics and in your replies. Congrats for that too.
    Allow me a suggestion: You could think of a video (or short series) where the emphasis is more patiently presented on the process to:
    (1) Study a topic for a project (or revisit one of yours from the past posted ones).
    (2) Selected tools (and short tutorial) as Altium, EasyCAD/LTspice, component selection, libraries. Here is one video I saw you have done some of this, but in a very “telegraphic” way.
    (3) PCB layout in practice, autorouting x Manual x old CD-pen style (for ‘newbies’ as some say).
    (4) Assembly and welding (by yourself x partially by PCBWay)
    Wish you success and thank you for your posts!

    • @MyVanitar
      @MyVanitar  Před rokem +1

      Thank you for your warm words and your attention to detail. users like you motivate me to continue this, about your suggestion, I try to do this but trust me each project takes me a fat amount of time. content making is not easy, especially when I try to test and be responsible about it

  • @cougar1861
    @cougar1861 Před 2 lety +3

    Thanks for the interesting and truly well-presented topic. It would be even better without the music!!!

    • @MyVanitar
      @MyVanitar  Před 2 lety

      Thank you very much, do you use a handsfree? it is hard to hear the music in the mobile or desktop speaker

    • @cougar1861
      @cougar1861 Před 2 lety

      @@MyVanitar I use headphones with a PC.

    • @MyVanitar
      @MyVanitar  Před 2 lety

      @@cougar1861 Yes, thank you for noting

    • @athrunzala5337
      @athrunzala5337 Před 2 lety

      @@MyVanitar just remove the music as he said

  • @AliReza-xl4zw
    @AliReza-xl4zw Před 2 lety +1

    بهترین طراحی برای منابع تغذیه با توان پایین و ضریب اطمینان بالا

  • @mancave7879
    @mancave7879 Před 2 lety

    It seems that you are measuring the output noise of a linear voltage regulator with a very noisy input source. In the datasheet, it is already specified in the 'line regulation' parameter. I would be more interested in the overall efficiency from no-load to full-load. Thanks for your attention.

    • @MyVanitar
      @MyVanitar  Před 2 lety

      No problem man, you are free to comment your opinion. of course, the input is noisy, it is a switching design with the Mains input. in my opinion, the output noise is quite good. if you build a capacitor-based solution, (although you never can reach such a current), the output is wild with noise and ripple. the efficiency has been tested with a full continuous load. please watch the video completely

  • @Techn0man1ac
    @Techn0man1ac Před 2 lety

    Дякую за рекомендацію як отримати ліцензійний Altium Designer

  • @marzacdev
    @marzacdev Před 2 lety +1

    Disclaimer : super dangerous design

    • @MyVanitar
      @MyVanitar  Před 2 lety

      for beginners maybe, I have no problem, and the chip and brand is pretty famous within industry

    • @marzacdev
      @marzacdev Před 2 lety +1

      @@MyVanitar touching one of the OUTPUTS (+5V or ground) of your power supply, is a LETHAL danger, if your body is grounded.

    • @marzacdev
      @marzacdev Před 2 lety

      @@MyVanitar the brand of the chip is of no relevance here.

  • @danielearru6258
    @danielearru6258 Před 2 lety

    In the LNK datasheet it's said "The values of the resistors in the resistor divider formed by R1
    and R3 are selected to maintain 1.65 V at the FEEDBACK pin." How should I dimension those resistors to get 24V output voltage?

    • @MyVanitar
      @MyVanitar  Před 2 lety +1

      That's right, I have defined those also to get an output around 9V. 1K and 4.7K resistors. otherwise, the sample circuit is for 12V. Actually, I missed including that in the article. in my schematic, Vout = (1.635* (R1+R2))/R2, which is around 9.3V

  • @AliReza-xl4zw
    @AliReza-xl4zw Před 2 lety +1

    How much voltage in present before Voltage regulator?(What is the input voltage of 5 volt regulator?)

    • @MyVanitar
      @MyVanitar  Před 2 lety

      no load = around 9.5V, with 150mA load = around 8V. The chip output is regulated, however I added an RC filter and a regulator to reduce the noise and stabilize it even further. this is better.

  • @limitedream7371
    @limitedream7371 Před 2 lety

    Hi man I have a question how did you change the battery of you redmi airdots

  • @mrmax1467
    @mrmax1467 Před 2 lety

    I just received an order from PCBWay, but I just thought of a potential problem. Your video says 220v, I live in the US where 120v is the law of the land. Will these boards still work?

    • @MyVanitar
      @MyVanitar  Před 2 lety

      According to the datasheet of the chip, it should work. Please check the table on the first page. The datasheet is available in the References section

    • @mrmax1467
      @mrmax1467 Před 2 lety +1

      @@MyVanitar Thank you, I did have a look and I think you are correct. Thanks for the nice work on the boards.

  • @mehdimeghdadi2281
    @mehdimeghdadi2281 Před 2 lety

    very good👍👍👌👌

  • @mancave7879
    @mancave7879 Před 2 lety

    In the pcb layout (at 1:27), the routing of C6 is very 'unusual'. Also, the footprint of IC1 is very 'strange', for a DIP IC. Is there any special reason ?

    • @MyVanitar
      @MyVanitar  Před 2 lety

      R6-C6 is a low-pass RC filter. Please read the article, then visit the "references" section and check the chip datasheet for the package type. The package is SMD, G type.

    • @mancave7879
      @mancave7879 Před 2 lety

      @@MyVanitar The negative of C6 should be connected to the negative of C3 'before' connecting to Gnd of REG1. Do you see the difference ?

    • @MyVanitar
      @MyVanitar  Před 2 lety

      I don't know what you mean, the circuit has a common ground (star type). check the article and schematic pls. PCB is based on this. The ground has circulated around the edge.

    • @mancave7879
      @mancave7879 Před 2 lety

      @@MyVanitar It's fine if a SMD package is used.

    • @mancave7879
      @mancave7879 Před 2 lety

      @@MyVanitar Please consider the charging and discharging of C6. Any current ripples of C6 will also appear at the path from the negative of C7 to the Gnd of REG1. Perhaps the unusual high noise you measured originated from this. I would see every track as a small resistance and even inductance, especially those with high ripple currents.

  • @GreenuniverseEuro
    @GreenuniverseEuro Před rokem

    thank god I found you.... I dont trust these indian hack videos

    • @MyVanitar
      @MyVanitar  Před rokem +1

      Thanks. they actually test everything with a lamp. pls, recommend me to your friends, unfortunately cheap content gets more visits, because it looks easy

  • @Techn0man1ac
    @Techn0man1ac Před 2 lety

    Common ground - it's not ohkay

    • @hp2073
      @hp2073 Před 2 lety +1

      I watched his video completely, he says this is a better solution than a capacitor based circuit for the industry. this is not for beginners!

    • @MyVanitar
      @MyVanitar  Před 2 lety +2

      Yes, it's not. you should select a solution based on your application

    • @MyVanitar
      @MyVanitar  Před 2 lety

      @@hp2073 That's right