Near unity power factor LED driver - with odd schematic

Поділитися
Вставка
  • Опубліковано 13 кві 2024
  • A fairly deep dive into the odd but very interesting circuitry of a 0.99 power factor LED driver, that uses clever minimalist circuitry that is not documented on the chip manufacturer's datasheet.
    I'm wondering if this is a pin compatible drop-in replacement for another brand that offers other schematic options.
    The most obvious electrical weakness of the design is the unfortunate extra winding tap on the primary, that violates electrical clearance on the PCB. The extra screening track used between the MOSFET and sense circuitry is also routed directly under a sense resistor.
    The chip is an MT7938 if you want to look at the datasheet. It's in English, but has some oddities to the wording. But it does convey most of the useful information.
    The slight shimmer from the LED is low level ripple being picked up by the camera due to the intensity of the light output.
    This video is probably not going to be popular. It will only appeal to a tiny percentage of UA-cam viewers, but it still needed to be made to cater for those who appreciate the data. That's the curse of technical channels. The more technical they are, the less views they get.
    If you enjoy these videos you can help support the channel with a dollar for coffee, cookies and random gadgets for disassembly at:- www.bigclive.com/coffee.htm
    This also keeps the channel independent of UA-cam's algorithm quirks, allowing it to be a bit more dangerous and naughty.
    #ElectronicsCreators
  • Наука та технологія

КОМЕНТАРІ • 205

  • @StarkRG
    @StarkRG 2 місяці тому +102

    See, Clive, this is why Alec uses the magic of buying two of things.

  • @CollectiveSoftware
    @CollectiveSoftware 2 місяці тому +152

    I like the "be a good neighbor" power factor, rather than the usual "every circuit for itself"

    • @thecatofnineswords
      @thecatofnineswords 2 місяці тому +8

      It is indeed, nice to see a circuit that behaves nicely.

    • @godfreypoon5148
      @godfreypoon5148 2 місяці тому +3

      It's a nice thought, but in high power land where I come from, I don't give a stuff about my neighbors; I just want to be able to get the kilowatts I need without needing a mains supply capable of over 9000 A rms.

  • @alpcns
    @alpcns 2 місяці тому +68

    Some of these designs never cease to amaze me. Many are breathtakingly bad, or even "delightfully" dangerous, and some are pretty brilliant. In my experience, China indeed is a country of extremes.

    • @Ni5ei
      @Ni5ei 2 місяці тому +9

      Yeah but it makes me wonder WHY they're coming up with different designs again and again and again. If one like this has such a great PF why don't they all start using it and be done with it? It's like they're trying to reinvent the wheel every time they need a driver.

    • @anlumo1
      @anlumo1 2 місяці тому +6

      @@Ni5ei Probably too expensive for many applications.

    • @InfernosReaper
      @InfernosReaper 2 місяці тому +2

      @@Ni5ei often it's to save cost. sometimes it's because someone thinks they can do better

    • @pizzablender
      @pizzablender 2 місяці тому +6

      @@Ni5ei Look up "Muntzing" on Wikipedia. I suppose in current times it is not about removing the last components, but making it work with what you have (such as a stockpile of transformers).

    • @NinoJoel
      @NinoJoel 2 місяці тому

      Simple ... Because the West does not want to pay for it since they want to make maximum profit here ​@@Ni5ei

  • @objection_your_honor
    @objection_your_honor 2 місяці тому +72

    I would be nice if you could show some scope shots of the circuit parts in operation.
    It would be good for both the novice and pros.

    • @markfergerson2145
      @markfergerson2145 2 місяці тому +3

      Yeah. I’d like to see the voltage on that”extra” transformer pin in particular.
      When Clive told us the actual circuit was unlike the recommended circuit and showed the reverse engineered circuit my first thought was that the designer wanted to use a slightly cheaper transformer with no sense winding, forcing some creative voltage divider trickery. However that unused transformer pin looks a lot like it could be a sense winding.
      It doesn’t make sense…

    • @TheTemporalAnomaly
      @TheTemporalAnomaly 2 місяці тому +2

      I second that comment. I wanted to see the output waveform, not so much at the switching frequency, rather nearer the mains frequency. I could see in the camera shot, there was considerable flicker. That would be a game stopper for me to use this indoors. It would however be perfectly acceptable outdoors. They have traded quality of light (no flicker), for a good power factor. It has to be said that getting a good power factor using a small inexpensive circuit is surprisingly difficult. It would probably need two switching regulators one following the other. The first (just like this one, chopping the raw rectified mains, in step up config), would generate the `bulk supply` with ripple that does not reach zero and the true regulator would draw on that voltage, and would use a fast feedback loop to maintain true DC.

  • @gregorythomas333
    @gregorythomas333 2 місяці тому +52

    Damn...never seen a power factor that good before on a driver...really neat circuit :)

  • @dustinhipskind7665
    @dustinhipskind7665 2 місяці тому +7

    Thank you for letting us know about the hoppi. I was concerned at first that the hoppi was no more.

  • @teardowndan5364
    @teardowndan5364 2 місяці тому +16

    Using the stray inductance snubber as the auxiliary supply for the control chip and open circuit detection for the load side, clever. And while switching, the circuit floats itself above rectified line voltage to do high-side switching without needing a dedicated boost capacitor for the MOSFET either. Having lots of stuff attached to a switching node can be problematic for EMI but is likely fine here since it is all packed so tight together and inside a metal housing or fixture of some sort under normal circumstances.

    • @analoghardwaretops3976
      @analoghardwaretops3976 Місяць тому

      This is still a LOW side switching unit. The mosfet source is still "dc" grounded through the winding...although lifted up by some potential diff. when "on".
      Just for info....back in 1990-1995, In high power "softstarter" 3ph. AC DRIVES. (100-700HP range with 6 thyristors) we implemented some isolated aux.power supplies powered from the 3 current sense transformers.

    • @teardowndan5364
      @teardowndan5364 Місяць тому +1

      @@analoghardwaretops3976 Your definition is incorrect. Low-side switching switches the ground leg of a power circuit while high-side switching switches the V+ side. The MOSFET's drain is connected directly to V+ and its source controls the V+-facing side of the load, which makes it high-side.
      It is the side of the DC rail the control device is connected to that determines whether it is high-side vs low-side, not the off-state DC potential of the FET's source.

  • @GilmerJohn
    @GilmerJohn 2 місяці тому +32

    It would have been fun to observe some waveforms of the circuit in operation.

    • @kimsleep4111
      @kimsleep4111 Місяць тому +1

      I think Clive plans to be buried with him clutching it close to his chest

  • @ReedmanFL
    @ReedmanFL Місяць тому +5

    1. It sounds like a critical-conduction mode controller. This gives good power factor. However, it requires bigger output caps to keep the flicker down.
    2. Clive, it would be great if you added the polarity dots to your schematic to show that the circuit is a flyback (i.e. transformer isolated buck-boost), and not another topology.
    3. PFC operation requires two feedback loops: a fast loop at the switching frequency to control/limit the instantaneous current and a slow loop (slower than the utility mains frequency) to set the peak current and do the regulation of the secondary. Critical conduction mode is not constant frequency.
    4. The IEC 61000-3-2:2018 power line harmonics standard doesn't have any requirements for lamps less than 5 watts. This being a 20 watt item says that there needs to be some PFC in order to be OK.

  • @shanejohns7901
    @shanejohns7901 2 місяці тому +3

    I do like seeing the schematics of circuit designs that have such good power factor scores.

  • @TartyVesthandle
    @TartyVesthandle 2 місяці тому +10

    Unity Powerfactor would be a great name for a Bond girl.

    • @MostlyPennyCat
      @MostlyPennyCat Місяць тому

      Who's the bad guy? Electro?

    • @TartyVesthandle
      @TartyVesthandle Місяць тому

      @@MostlyPennyCat Shocking!

    • @MostlyPennyCat
      @MostlyPennyCat Місяць тому

      @@TartyVesthandle
      Will Mr bond, what do you think of my.....
      ......
      _Electric Eels??_
      *presses button*

  • @ScottGrammer
    @ScottGrammer 2 місяці тому +15

    This is how Bob Carver's "Magnetic Field Amplifier" power supplies worked. Basically, a big light dimmer driving a transformer.

    • @allenwelsch2839
      @allenwelsch2839 2 місяці тому

      That's a blast from the past. I worked at Carver back in the 90s. I loved working on those amps.

    • @Richardincancale
      @Richardincancale 2 місяці тому

      That took me down a good rabbit-hole! Also to Sunpower mag amps. They note that they operate fine in high neutron environments - I presume their location in Aldermaston is no coincidence!

  • @ManWithBeard1990
    @ManWithBeard1990 2 місяці тому +2

    I haven't looked at this driver's datasheet but I once designed a circuit using a somewhat similar one. The way these typically get close to unity power factor is that they run the MOSFET using a fixed on-time. That way the current through the transformer or inductor climbs up to an amount proportional to the voltage applied, and then is left to freewheel until it stops, then the cycle starts again. CS must be for current sensing; usually it quickly lowers the on-time when it's above a certain threshold and lets it creep up slowly if it's not. The feedback pin is probably there to sense when the transformer has finished freewheeling, triggering the next cycle. So the way it draws current is kind of like a high-frequency triangular wave with an amplitude proportional to the applied voltage, hence the great power factor. A neat side effect is that they usually work quite well with TRIAC dimmers, too. Only thing to look out for is that it does flicker if you don't add smoothing to the output.

  • @tin2001
    @tin2001 2 місяці тому +14

    I'm glad you told us where the Hopi meter was... I was literally going to ask that 😂
    Instead I shall ask what the "FUN" button does on the meter you did use...

    • @rarbiart
      @rarbiart 2 місяці тому +1

      the "FUN" button peaked my attention too.

    • @simontay4851
      @simontay4851 2 місяці тому +5

      It means FUNction.

    • @bigclivedotcom
      @bigclivedotcom  2 місяці тому +46

      When the fun button is pressed, a random lawyer explodes somewhere in the world.

    • @notahotshot
      @notahotshot 2 місяці тому +2

      ​@@bigclivedotcom and you haven't eliminated all lawyers by building an auto-clicker? 🤔

    • @NinoJoel
      @NinoJoel 2 місяці тому +1

      ​@@notahotshotI'd personally finance whatever that auto clicker costs 😂

  • @boden8138
    @boden8138 2 місяці тому +6

    That spark gap looks set for electrostatic voltage levels.

  • @TymexComputing
    @TymexComputing Місяць тому

    Very interesting idea, Deep explanation and analysis but i need to watch it two times more to fully understand. I remember that many years ago a colleague of mine, an electrotechnician, made an electronic circuit with some inverse laplace transform to minimize the garbage coming back to mains, even the connected circuit could be generating spikes , not only the power adapter.

  • @charliesoffer
    @charliesoffer Місяць тому

    Excellent! Smart design. Thanks as ever, Clive !

  • @oliverer3
    @oliverer3 2 місяці тому +6

    Dang giving totem pole pfc a run for it's money!

  • @gertbenade3082
    @gertbenade3082 2 місяці тому +1

    A very smart implementation... and a GREAT powerfactor!
    Coming fom the 'old' analogue days, I am slowly being won over by switched-mode PSUs like this... No inrush current limit or MOV on the input will just kill this very early in its life!
    Great video, thanks Clive!

    • @bigclivedotcom
      @bigclivedotcom  2 місяці тому +3

      In the early days I hated switchmode power supplies because they were to troublesome. Now they have been simplified and ruggedised to the point that I'd even consider building one into a project on the PCB.

    • @analoghardwaretops3976
      @analoghardwaretops3976 Місяць тому +1

      ​@@bigclivedotcomearly/ 1st. gen.controllers were just voltage mode with poor sequential and/or current limiting control....
      Eventually up the learning curve brought about vast improvements in voltage mode..and now also a variety of current mode control techniques...
      so they are easier to control and extremely reliable today.

    • @zyeborm
      @zyeborm Місяць тому

      What inrush current though? It's got one tiny cap on the primary side, that's it.

    • @gertbenade3082
      @gertbenade3082 Місяць тому

      @@bigclivedotcom We are slipping Clive, we are slipping!😬
      Give me a transformer the size of a small SUV and a heatsink the size of the Eiffel tower! I demand durability! And as many Deathbeam Caps as I can get!! 🤣

  • @d.t.4523
    @d.t.4523 2 місяці тому +2

    That looked like a lot of work. Thank you, keep working.

  • @martymcfly2614
    @martymcfly2614 Місяць тому

    As i didn't see this commented:
    There is no need for a feed back to control the secondary's voltage. The load is a diode (or a string of LEDs) and those want to see a certain current, not a certain voltage.
    So the current in the primary and the transformer ratio are designed such that the secondary drives the required LED current (regardless of the LED voltage that will vary considerably over temperature).
    And imho the circuit can be made dimmable by changing the voltage divider to the FB pin as that should influence the mean of the primary's current.

  • @TylerLarson
    @TylerLarson Місяць тому

    I just like the fact that the AnTai has a "FUN" button. I think every product could be improved by adding a FUN button.

  • @TheEmbeddedHobbyist
    @TheEmbeddedHobbyist 2 місяці тому +2

    If every engineer just copied the data sheet, they would have to spend an infinite amount of time making a typical circuit that a fits every requirement. The typical circuits shown are normally just a simple example that will get it going. The job of the design engineer is to read the data sheet, their design requirements and build the final design around the chip. If your design is double insulated then you don't need mains isolation, if it goes above 3000m then you need greater creepage and clearance etc.
    Looks like they already had a transformer without a feed back winding and did a trick to provide the chip supply, parts reuse in multiple products cuts down on a whole bucket of costs.

  • @stefanopassiglia
    @stefanopassiglia Місяць тому

    Super smart design. Love it.

  • @ccshello1
    @ccshello1 Місяць тому

    Clive, A great investigation work!
    MT793x series ICs seem to use Critical Conductive mode to do the PFC, some of that company's products use QRM quasi-resonant mode instead.
    The board you have uses N- channel mosfet while the load is on the Source side (kind of like BJT's emitter follower fashion.) I wonder if there's a drawback on such design.
    BTW, I could not find the board you have from Ali. So I bought a 50W version which also do not have a large primary side storage cap, but just a 470nF filter cap. I found it is using a different chip LZC8650 which uses QRM flyback and the PF is measured as 99%. The IC's power circuit is traditional using an aux winding and the transformer winding is on N-channel Mosfet's (traditional design) Drain side.

  • @richardbrobeck2384
    @richardbrobeck2384 2 місяці тому +1

    Nice LED driver !

  • @teagueman100
    @teagueman100 Місяць тому

    You had me at unity power factor!

  • @Speeder84XL
    @Speeder84XL Місяць тому

    Interesting design
    - it's like a flyback based PFC circuit and LED driver in one unit.

  • @keesnuyt8365
    @keesnuyt8365 2 місяці тому +7

    Smart chip, smart circuit design and SMART CLIVE understanding it!

  • @IAdryan
    @IAdryan 2 місяці тому

    Impressive design. I like it.

  • @Acamperfull
    @Acamperfull 2 місяці тому

    Thank you for making these video's, they are very interesting and educational for someone like me at least. Appart from the power-factor, I would also like to know the energy efficiency of the driver. It would be nice too if you could mention -or test- its compatibility with a dimmer and if so which type(s), even though for this one it seems quite obvious that it isn't.

  • @bombapiotr
    @bombapiotr Місяць тому

    Well, I'm really looking forward to Rev:B of this board. Seems well designed for the first product!

  • @junkerzn7312
    @junkerzn7312 Місяць тому

    I would be awesome if we could get some scope pics of the FET gate and output current in operation. That really is quite a clever little circuit. The MT7938 has a very poor datasheet though, I can't figure out what the frequency of the PWM is. They have a graphic showing roughly 7 slices per half cycle... that would be 700hz to 840hz depending. But no specs on the frequency.
    Combining the snubber and the power supply for the chip is quite clever, but very sensitive to power. I don't think they could swing that at higher power levels. The extra energy has to be dissipated through that 62k resistor + consumption by the chip (also not specified for operating. Only specified at 1.2mA when the oscillator is turned off).
    But I am impressed. The parts-count is impressively low for a power-factor-corrected current-regulated DC power supply. I don't think any of the capacitors actually have to be high voltage... 50V caps ought to do the job throughout.
    Usually low cost LEDs are just run straight from an AC transformer and rectifier without any regulation. i.e. AC-driven LEDs (100-120hz after rectification). This works but winds up being very sensitive to any asymmetries in the AC input (every other post-rectified half-cycle can wind up being at a different energy level, resulting in visible flicker). LEDs can soak up extra voltage... it just turns into heat, and the power-factor is terrible. But the parts amount to one transformer and one fuse. You need to use thick-phosphor-coated LEDs to get a soft output.
    -Matt

  • @phils4634
    @phils4634 2 місяці тому +1

    With the arrival of smart metering, it'll only be a short time before we're charged for apparent power as well as true power consumption. This sort of almost unity PF driver is going to become far more commonplace I suspect, especially as incandescent lighting is pretty much no longer in use.

    • @phils4634
      @phils4634 Місяць тому

      @@BenRichards7 That's a relief, since with the move to LED, PF might have been a significant consideration.

  • @blendpinexus1416
    @blendpinexus1416 Місяць тому

    i figured out the pf on all my little usb stuff was so bad i consolidated most of them and made a pf correction circuit to sit between them. thankfully the big inductive appliance loads have built in pf correction.

  • @Dr_Mario2007
    @Dr_Mario2007 Місяць тому

    Some regular SMPS MOSFET / IGBT gate drivers even from reputable manufacturers can actually be abused as a resonant active PFC driver as shown here in this particular power supply. It takes some analog wizardry (SPICE simulator may help a bit if you are lost) to make it work.

  • @jadenhuibregtse501
    @jadenhuibregtse501 2 місяці тому

    The data sheet represents the feedback as the primary loop.

  • @agentl3r
    @agentl3r 2 місяці тому

    Nice video as always Clive. Have you ever considered doing a video where you show how you reverse engineer a PCB?

  • @user-tz3fd8hm4q
    @user-tz3fd8hm4q 2 місяці тому

    That's quite a neat circuit. I love the good power factor it has. One question: is it dimmable?

  • @smakfu1375
    @smakfu1375 2 місяці тому +1

    I’m shocked, shocked I tell you, that a product purchased off AliExpress would be using a driver IC in some out-of-spec fashion!

  • @g8xft
    @g8xft 2 місяці тому +3

    I’m curious. I guess the capacitor between primary and secondary is why you get a mains buzz from the case of many devices, but what’s its actual function? I’d have thought that a secondary isolated from the primary would have been safer.

    • @bigclivedotcom
      @bigclivedotcom  2 місяці тому +9

      It provides an easy return path to ground for coupled noise that could otherwise be radiated by attached cabling.

    • @g8xft
      @g8xft 2 місяці тому

      @@bigclivedotcom would not isolation plus a common mode choke not be a better solution?

    • @GodmanchesterGoblin
      @GodmanchesterGoblin 2 місяці тому +1

      @g8xft Yes - it can give rise to that tingling sensation. In small switching supplies, the capacitance is generally in the range 1000pF to 2200pF and so the current coupled is very low. You can often see the effect though if you measure the AC voltage between the load side of the supply and mains earth, since the resistance of the multiplier circuit in the meter doesn't load the capacitor. With UK mains, a reading of 80 to 100 Volts AC or so is very normal.

  • @zh84
    @zh84 2 місяці тому +5

    Why is there a spark gap? I am familiar with this in high voltage circuits like the Jacob's Ladder, where it acts as a crude switch: once the voltage is high enough a spark jumps the gap and what was an insulator becomes effectively a short. I've never seen it in a lighting circuit.

    • @bigclivedotcom
      @bigclivedotcom  2 місяці тому +14

      They are sometimes found in power supplies where there is a risk that an electrostatic discharge to the output connector could stress the electrical separation in the windings.

  • @restcure
    @restcure Місяць тому

    No matter the branding, it displays the frequence.

  • @phonotical
    @phonotical 2 місяці тому +1

    You said capacitor is only over one of the ac lines, why different in schematic?

  • @NickNorton
    @NickNorton Місяць тому

    An LED driver done *Correctly*
    Nice

  • @tinkeranddespair
    @tinkeranddespair 2 місяці тому

    Had a look at a similar module last week, the QH-20W variant, possibly the precursor. The rather expensive plant hibernation bulb it was inside was dead and the output caps domed/bulging. The sens resistor must have have gotten quite hot based on the blackening around. Strangely it appears to be a stack of two smd resistors on top of each other… Wasn‘t able to find which resistance value it should have been, the 7938 datasheet I found and translated didn’t provide any values, unfortunately.

    • @bigclivedotcom
      @bigclivedotcom  2 місяці тому

      The sense resistors often determine the output power in LED drivers. You may find you can tune it with some experimentation. Probably starting around 4.7 ohms or 10 ohms. Higher resistor value will usually result in lower LED power. The output caps would need replaced with new low ESR/impedance ones. If the dark resistors measure a few ohms then they may be OK.

  • @johnwest7993
    @johnwest7993 2 місяці тому +8

    Your camera makes it clear that the LED does not have continuous light, but flickers very fast. The human eye really prefers constant light. Even high flicker rates that aren't obvious do have a detrimental effect, causing stress and headaches in most people. I modify any LED lighting I use so that it has pure DC light.

    • @johndododoe1411
      @johndododoe1411 2 місяці тому +1

      But do you keep the fluctuations and other deviations on the input down?

    • @phillyphakename1255
      @phillyphakename1255 2 місяці тому +2

      How do you create pure DC?

    • @simontay4851
      @simontay4851 2 місяці тому +1

      Battery or lots of filtering and capàcitance.

    • @johnwest7993
      @johnwest7993 Місяць тому

      @@phillyphakename1255, 'approximate DC voltage', produced by inductor/capacitor filtering.

  • @vincentxgolden6624
    @vincentxgolden6624 4 дні тому

    MOST power factor power corrector devices have a working voltage of 80 to 400 volt rating (or 265Vac) very universal, nice !

  • @user-yn8mz5bf9y
    @user-yn8mz5bf9y 2 місяці тому

    Could the sense pin and voltage divider determine the input AC voltage in the first schematic because it's dealing with PF

  • @TheSpotify95
    @TheSpotify95 Місяць тому

    This doesn't look too bad. I'd buy one if I needed to drive an LED specifically from something like this.

  • @alidollar1994
    @alidollar1994 2 місяці тому +2

    Are there any tweaks we can do in the LED driving circuit when running on 50Hz mains that will make the LED not flicker when recording at 1/60th shutter speed?

    • @johndododoe1411
      @johndododoe1411 2 місяці тому +1

      Yep, those output capacitors and the much higher switching frequency greatly reduce output flicker, but no measurement is done in this exploration .

    • @ManWithBeard1990
      @ManWithBeard1990 2 місяці тому

      Actually there is. There's a circuit called a capacitance multiplier that provides additional smoothing to the capacitors that are already there. You give up a small amount of efficiency as compared to just using bigger capacitors but I reckon it'd work.

    • @tin2001
      @tin2001 2 місяці тому

      Driverless 12v LED modules and a decent size battery? There's no chopping and pulsing with a battery.

    • @pizzablender
      @pizzablender 2 місяці тому

      Use proper DC power supplies for electronics use, for example an ATX power supply. They should have negligible ripple.

    • @alidollar1994
      @alidollar1994 2 місяці тому

      @@ManWithBeard1990 Adding more capacitance only slightly lessens the intensity of the flicker but it still remains present if shooting at 1/60th of shutter speed.

  • @StringerNews1
    @StringerNews1 Місяць тому

    Never hide the FULL BRIDGE RECTIFIER.

  • @hottractor1999
    @hottractor1999 Місяць тому

    Actually pretty clever.

  • @2000jago
    @2000jago 2 місяці тому +1

    Drink a shot for every utterance of "I Shall". Good luck.

  • @TediChannel23Ja
    @TediChannel23Ja 2 місяці тому

    LED drivers are fun to deal with them

  • @craignehring
    @craignehring Місяць тому

    Nice

  • @JohnSmith-gs4lw
    @JohnSmith-gs4lw 2 місяці тому

    I noticed on your order sheet there they offer a “waterproof driver” option. I wonder if that has a conformal coating or is epoxy potted to address your concerns over high humidity.

    • @bigclivedotcom
      @bigclivedotcom  2 місяці тому

      It's available in a small enclosure filled with a rubbery compound.

  • @roysigurdkarlsbakk3842
    @roysigurdkarlsbakk3842 2 місяці тому

    I can only guess that the design is the reason for the flicker from that LED? Did you try to measure the voltage on the output with a scope to check the ripple?

    • @bigclivedotcom
      @bigclivedotcom  2 місяці тому +1

      It does have slight ripple on the output. But not much and only visible on the camera.

  • @zaikindenis1775
    @zaikindenis1775 2 місяці тому

    Thank you for the video. Seems like a little wrong with the schematic. The diode D3 is also connected to the C3 as on the PCB you drew. The polarity of the D1 also looks strange... Thank you!

  • @twocvbloke
    @twocvbloke 2 місяці тому

    I guess that they thought that it would be potted in something so the chance of that stray pin contacting the via would be minimal, except in reality, the pin's probably going to go bang... :P

  • @arthurmario5996
    @arthurmario5996 2 місяці тому +2

    very clever bias voltage circuit, i tried this once and failed miserably!

  • @OscarSommerbo
    @OscarSommerbo 2 місяці тому +1

    Could you cut the "extra" unconnected pin on the transformer?

    • @bigclivedotcom
      @bigclivedotcom  2 місяці тому

      It's not very accessible without removing the transformer and refitting it.

  • @LaserFur
    @LaserFur 2 місяці тому

    reminds me of the "link switch" brand IC.

  • @planeguy737-1
    @planeguy737-1 Місяць тому

    can you make a vid about tearing down a ballast for one of those decorative neon lamps unless you already have made one?

  • @Scrogan
    @Scrogan 2 місяці тому +2

    That’s an interesting bootstrap circuit for high-side Nmos driving. But I think it’s just that, there is no other low-impedance path for it to also act like a snubber, besides by dumping its energy into the power rails’ cap.

  • @memyselfandeye1234
    @memyselfandeye1234 Місяць тому

    Enlightning...
    peace

  • @napalmholocaust9093
    @napalmholocaust9093 2 місяці тому

    Is 80% load (400ma of 500) on an ac/dc wall warts okay 24/7 powering a computer fan?
    I cracked the case from it always running quite warm and figured I could fix things by moving it inside the hepa box and into the airstream. Its running about 60c on the transformer.
    Am I just creating a worse fire hazard by not getting a larger supply? I did put a 2 amp fuse with the fan but I dont think the problem will come from there.
    *turned off autocorrect finally so I can actually type now. Still not an electrician tho.

    • @bigclivedotcom
      @bigclivedotcom  2 місяці тому +1

      I prefer to run long term use power supplies at half their current rating. So usually a 1A 12V power supply for a fan. I also use power supplies from a local component distributor to make sure it has safety compliance.

  • @Radagast-vz3sx
    @Radagast-vz3sx 2 місяці тому

    if this had improvements to your 2 concerns it would be great for anyone with solar power (partially or entirely solar) as most inverters don't "like" bad power factor (ranging from increased power consumption from batteries/panels to strange behavior to noisy AC output).

  • @Termini_Man
    @Termini_Man 2 місяці тому

    The way that it is set up with current sensing makes me think that it is made to work with any transformer that you put into it, so maybe that is why that design flaw exists, because that transformer was not the one in mind.

  • @laurencecope7083
    @laurencecope7083 2 місяці тому

    I think it is called a chopper stabilised psu.

  • @sanderd17
    @sanderd17 Місяць тому

    Just had such a strange experience.
    A friend asked for help with a led strip she wanted to install. She hooked up the leds, they work but flicker a bit, and asked me where to put the power supply.
    Then she gave me a packaged power supply, and showed that the leds worked when she flipped the switch.
    I was bamboozled.
    When we put a power supply in between, we saw that some parts of the strip were mostly dead, and some sill worked.
    But this strip failed in a way that it mostly works on 230V
    Do you want it to test?

  • @shanerogers3869
    @shanerogers3869 Місяць тому

    Is that a FULL BRIDGE RECTIFIER in the top left corner?

  • @NaoPb
    @NaoPb 2 місяці тому

    Interesting

  • @yoppindia
    @yoppindia 2 місяці тому

    interesting circuit, but the issue is that you cant assume input is sine wave always, many of the invertors produce square wave and these cause flickering of many of these led lamps, and this one without any cap is probably going to be worse.

    • @analoghardwaretops3976
      @analoghardwaretops3976 Місяць тому

      "IF" it works well for a fully rectified sinewave i/p it will work equally well on "non sinosudal " inputs...& on sq. wave i/p there shouldn't be any flicker... except if the deadtime between +&- is too large...i.e.>5-8 mSecs.

    • @yoppindia
      @yoppindia Місяць тому

      @@analoghardwaretops3976 no it doesn't, I can see it at my home, LED lamp flicker and some of them blink, sometimes I switch them off and use tubelight, they seem to function much better with square wave.

  • @justsaying4786
    @justsaying4786 2 місяці тому

    Is that a true power factor rating or just displacement power factor?

    • @bigclivedotcom
      @bigclivedotcom  2 місяці тому

      It's averaged over the sinewave, but still much better than the simpler primary circuitry.

  • @flashback9966
    @flashback9966 2 місяці тому

    Yes very clever circuit, but what does the 1n cap do, connecting the transformer primary to secondary?

    • @GodmanchesterGoblin
      @GodmanchesterGoblin 2 місяці тому

      It provides a return path for coupled noise which would otherwise be radiated from the load side of the supply. Such capacitors (known as Class-Y) must be safety rated for use in that application. These are very common found in switching power supplies - everything from phone chargers upwards.

    • @flashback9966
      @flashback9966 Місяць тому +1

      @@GodmanchesterGoblin Thanks. Just hope that these caps are really class-Y rated. If this PSU opened my parachute I don't think I would jump!

    • @analoghardwaretops3976
      @analoghardwaretops3976 Місяць тому +1

      Both pri. & sec. windings have their own inter turn and interwinding capacitances...
      The pri. & sec. windings get capacitively coupled through this..and if not bypassed it will cause the secondary output to swing w.r.t. the primary voltage that is rapidly switching between it's +&- .
      Hence a pri.- sec. capacitor is connected between the two
      " NON-SWITCHING" terminals of the pri. and main sec.( in case of multiple sec. wdgs. , the winding having highest current capacity is used).
      The Y cap value chosen is usually 12-15 times more than the measured interwinding capacitance.

  • @AnotherPointOfView944
    @AnotherPointOfView944 2 місяці тому

    Forgive me if I am misinformed, but I understood that power factor is not very important in a domestic (household) installation, since real (kW) is metered, not reactive power.
    Your electric bill wont really be impacted by the power factor of your appliances.
    So unless these LED drivers are being deployed by the hundred in a commercial / industrial setting, it really doesn't matter too much what the power factor of them is.
    If I am incorrect, please explain.

  • @RonLaws
    @RonLaws 2 місяці тому

    So i've noticed LED lightbulbs have been getting energy rating F a lot under new EU rules. Could this be why? a lot of LED bulbs (Cheap ones especially) seem to have the older drivers with bad power factor

    • @kjdude8765
      @kjdude8765 2 місяці тому

      The calculation for the energy rating seems to be calculated from the lumen output and the power usage, not the power factor. However I'm not sure if the power consumption is active or reactive.

  • @ralphj4012
    @ralphj4012 2 місяці тому

    The kick-start, separate-feedback-winding-ok-keep-running design has always made me laugh (in an indecorous manner), making the inevitable hiccups difficult to diagnose and cure. Why not a simple am-I-present-and-correct monitor of the secondary, with a minimal load resistor (well, simple in my head, anyway).

  • @antoineroquentin2297
    @antoineroquentin2297 2 місяці тому

    This could potentially feed a lot of RF noise into the grid, doesn't it? There is no common mode filtering.

  • @henryokeeffe5835
    @henryokeeffe5835 2 місяці тому +1

    A very interesting chip indeed. The oddest thing about it is the voltage on the FB pin goes negative whilst the MOSFET is on. Also I doubt it does operate at resonance. There's no additional capacitance to resonant with, this just looks like a standard flyback converter, where the output is regulated by the peak voltage on the flyback transformer, rather than feedback through an optoisolator.

    • @bigclivedotcom
      @bigclivedotcom  2 місяці тому +3

      I pondered that too, but even with a separate FB winding it also goes negative.
      By resonance I mean the natural time of building and collapsing the magnetic field. That will also be affected by the load.

  • @conradogoodwin8077
    @conradogoodwin8077 2 місяці тому

    Hello, can you give a link to this on aliex? I wasn't able to find it by a brand search. Cheers!

    • @bigclivedotcom
      @bigclivedotcom  Місяць тому +1

      www.aliexpress.com/item/32922801946.html

  • @carlubambi5541
    @carlubambi5541 Місяць тому

    Good power factor .Now can you make it better ?

  • @kimsleep4111
    @kimsleep4111 Місяць тому

    What, a relatively well designed circuit!!!!????? (altho poorly designed board)...what the hell did they plan the Spark Gap to actually flash over...holy mackarel!!

  • @alouisschafer7212
    @alouisschafer7212 Місяць тому

    Ahh Powerfactor.
    You don't realize how big of an issue it is until you see what is needed to correct it on the powergrid side.

  • @simonmoore4277
    @simonmoore4277 Місяць тому

    13:25 please carry on drawing Garfield 🙏

  • @mik13ST
    @mik13ST Місяць тому

    Just want to confirm, the LED will not flicker, right?

    • @bigclivedotcom
      @bigclivedotcom  Місяць тому

      Very slight ripple detected by the camera.

  • @kwazar6725
    @kwazar6725 2 місяці тому

    The perfect led driver?

  • @williamsquires3070
    @williamsquires3070 2 місяці тому

    What does it do in the event of ultra-catastrophic failure (like throwing it into salt water)? I hope the answer involves lots of fire and poppage!

    • @bigclivedotcom
      @bigclivedotcom  2 місяці тому +1

      That's the standard failure mode of most switching supplies.

  • @airattoz
    @airattoz 2 місяці тому

    Is it dimmable?

  • @kiromaisus
    @kiromaisus 29 днів тому

    So... The harmonics must be crazy. Just not that crazy because it's only 20 W, but still...

  • @holderbee7811
    @holderbee7811 2 місяці тому

    Chopping the sin wave off just sounds painful

  • @mistermeaargee2670
    @mistermeaargee2670 2 місяці тому +2

    What output voltage does it run at? Maybe if it doesn't detect the feedback winding it runs flat out?

    • @bigclivedotcom
      @bigclivedotcom  2 місяці тому +3

      It does get feedback from the primary during the collapsing field.

  • @TimLF
    @TimLF 2 місяці тому

    Sounds like it would shut off if C4 & C5 were replaced with 250uf capacitors to get rid of that flicker :/

  • @billbucktube
    @billbucktube 2 місяці тому

    Is there a known more dependable LED power supply? I'm glad the LEDs last 50,000 hours but the power supply lasts an hour and a half. I repair my stuff and would like to have an LED power supply that lasts a lot longer. Is there a type or class of supply that will hang on?

    • @bigclivedotcom
      @bigclivedotcom  2 місяці тому

      They could make them with solid polymer capacitors, but don't.

    • @billbucktube
      @billbucktube 2 місяці тому

      @@bigclivedotcom Not sure where my question went... If I replaced the capacitors with solid polymer ones before installing the LED fixture that would extend the life?

    • @bigclivedotcom
      @bigclivedotcom  Місяць тому

      @@billbucktube Changing capacitors is usually a good upgrade. That and reducing the power to the LEDs a bit.

  • @TheGreatAtario
    @TheGreatAtario 2 місяці тому

    The listing doesn't even seem to mention the great power factor…

  • @curtishoffmann6956
    @curtishoffmann6956 2 місяці тому

    Next up an even prime schematic, which is also odd.

  • @piconano
    @piconano 2 місяці тому +1

    The 62K resistor and cap in parallel with it and in series with the diode, connecting to the +VDD of the chip, makes no sense to me.
    The 1Meg reduces the current to the internal +18V clamp diode to supply the chip. You lost me on the rest.

    • @robegatt
      @robegatt 2 місяці тому +4

      When the mosfet opens the circuit the winding becomes a generator with positive on the lower rail, so a positive current flows through the diode and charges the capacitor. When the coil has no more energy the voltage goes back to zero and the "reverse" charged cap discharges through the resistor AND the other supply capacitor because the diode prevents any other path for the current.

    • @piconano
      @piconano 2 місяці тому +1

      @@robegatt Thanks. It makes sense now.

  • @labiadhchokri2124
    @labiadhchokri2124 2 місяці тому

    The problem with chinise led bulb they over power the tiny led with bad thermal dicipation and they put 5 or more of them in parallel, after a chort period of time u will find a dead smd led or a blown capacitor.

  • @Wizardess
    @Wizardess Місяць тому

    Now fiddle with the voltage sampling resistors to make it a dimmable controller.
    {^_-}