#1833

Sdílet
Vložit
  • čas přidán 13. 04. 2024
  • Episode 1833 chip of the day
    double your pleasure, double your fun
    Be a Patron: / imsaiguy
  • Věda a technologie

Komentáře • 49

  • @educationdz202
    @educationdz202 Před 2 měsíci +9

    Indeed, I was wondering initially how that capacitor is actually discharged, nice circuit and ideal for applications where you need to have a small on/off switch.

  • @Hellhound604
    @Hellhound604 Před 2 měsíci +7

    That reminds me, I have a whole bunch of those things in a very tiny package, SOT-23-6??? that I used for small H-bridges a few years ago. Sadly they are too tiny for me to use anymore. Wish our eyes kept up with things getting smaller and smaller.

    • @paulperano9236
      @paulperano9236 Před 2 měsíci +1

      Know what you mean. I'd prob be using SMDs, but for a benign tremor. I'd spend more time picking the damn things up than using them. Bad enough with through-holes !

  • @YanickT
    @YanickT Před 2 měsíci +6

    I used the same with a uC to do a soft on/off latch circuit. Working very well. Even on battery powered device. All is on my instructable page for more detail. DMG6601LVT, SIL2308, DMC3021LSD-13, IRF7319TRPBF, are all pin compatible together. Thanks for sharing.

    • @IMSAIGuy
      @IMSAIGuy  Před 2 měsíci +3

      here is his page: www.instructables.com/On-Off-Latch-Circuit-With-UC-One-Push-Button-One-P/

    • @user-ui6xt4fd1f
      @user-ui6xt4fd1f Před 2 měsíci

      Yeah, also 600 amp 1200V IGBT modules are suitable to drive p-ch fet gate ROFL

  • @iblesbosuok
    @iblesbosuok Před 2 měsíci +5

    I speculate that the origin circuit loves (needs) resistive load, hates capacitive load and confused by non linear load.
    If we put a 10k resistor as output load, probably it will work.
    If we add a 100uF capacitor at the output, probably it won't work.
    Just my shallow speculation.

  • @farhadsaberi
    @farhadsaberi Před 2 měsíci +3

    N and P-CH in one package is also convenient to use in H bridge motor driver.

  • @stamasd8500
    @stamasd8500 Před 2 měsíci

    Easiest circuit you can make with such a package is a logic inverter. Don't need any external components, just the 2 complementary CMOS transistors.

  • @williamogilvie6909
    @williamogilvie6909 Před 2 měsíci +1

    Before you added the resistor the P channel FET turned off momentarily when the switch was pressed a second time. That allowed the capacitor to charge up to whatever voltage is required to turn the N channel FET back on. The brief duration of the P channel FET being off is sometimes noticeable as the LED blinks. A much shorter button press would work. With the added resistor the capacitor can't charge up enough to turn the N channel FET back on. If you look at the original circuit with a scope you will see how the P channel FET turns off momentarily, allowing the N channel FET to turn back on. Another circuit built at random with no analysis.

    • @AttilaAsztalos
      @AttilaAsztalos Před 2 měsíci +1

      Indeed. At first glance my first gut feeling was "wtf, this doesn't seem to be properly bistable - it will toggle but will feed back and go around again..."

    • @bayareapianist
      @bayareapianist Před 2 měsíci +2

      I wouldn't use it in a medical device. I see no bistable nor hysteresis circuit here.

    • @williamogilvie6909
      @williamogilvie6909 Před 2 měsíci

      @@bayareapianist Using the P channel FET is a bad idea. Not blaming the author of this video. The P channel FET has a higher ON resistance. Using this chip in a motor control H bridge is not a good idea either. An H bridge that mixes P channel and N channel FETs has a discontinuity at the zero crossing. Also a lack of symmetry. Try to use an H bridge like that with a PID controller and stability will be a problem. And no one wants to use P channel Fetus anyway. 4 N channel FETs, with low Ron, and driven with highside/lowside drivers is the way to go. There are lots of good integrated H bridges available.

  • @misterhat5823
    @misterhat5823 Před 2 měsíci

    We used to use the IRF7389 (very similar to this one) in a tiny motor drive.

  • @bobdoritique7347
    @bobdoritique7347 Před 2 měsíci +2

    Thank for this video. Very cool schematic, i will try it!

  • @ats89117
    @ats89117 Před 2 měsíci +3

    Good chip to know about. Thanks.

  • @RexxSchneider
    @RexxSchneider Před 2 měsíci +1

    To ascertain the reason why the original circuit didn't turn off for you, we need to analyse the circuit. When the led is on, the voltage at the gate of the N-channel is close to the output voltage, which is close to the input voltage because the gate of the P-channel is then close to ground and it is in ohmic mode with a low resistance. That assumes that the supply voltage is larger than the threshold voltage of the mosfets (1V to 2.8V). That means that the capacitor is discharged close to ground via the 100K resistor. When the switch is closed, you are then trying to dump the N-channel's gate charge into the capacitor causing the gate voltage to drop and the drain voltage to rise, but the Miller effect will tend to oppose that, with the result that the N-channel's drain does not rise high enough fast enough to turn off the P-channel before the capacitor has charged sufficiently to keep the N-channel from turning off any further. I suspect that this is likely to happen when the supply voltage is 5V or more as that gives sufficient opportunity for charging the capacitor before the N-channel gate voltage can drop below its threshold voltage.
    By modifying the circuit to use a resistive divider to set the N-channel's gate to only just above its threshold voltage, you increase the chance that closing the switch will turn off the N-channel before the capacitor charges up. You could test this by exploring the effect of different supply voltages on the reliability of the toggle operation.
    Edit: I suspect that the original circuit was using a power P-channel mosfet and a small-signal N-channel "driver" which, of course, has much smaller associated gate capacitances (the NDS9962A has Ciss of 320pF and Crss of 85pF _typical_ compared with Ciss of 60pF and Crss of 5pF _maximum_ for a 2N7000) so I would expect it to behave rather better than what you experienced.

  • @gorak9000
    @gorak9000 Před 2 měsíci +1

    The thing I wonder about the fix is what is the gate voltage at the n-channel when the circuit is on? It's only 1/2 the output voltage. As long as that's "well above" the threshold of the nfet, that's fine, but if it's close to the threshold, the nfet might not be fully on. Maybe it doesn't matter because the nfet doesn't carry any significant current in this circuit anyway. If it was an issue, I'd increase the value of the pull down so that the voltage divider is biased towards the high side, and the nfet gate voltage is a bit higher during "on" phase.

  • @Enigma758
    @Enigma758 Před 2 měsíci

    I wonder if it truly stays latched on indefinitely due to the eventual capacitor leakage.

  • @chrisharper2658
    @chrisharper2658 Před 2 měsíci +1

    I'm thinking that if the circuit was connected to a larger circuit load, the pull-down resistor may not have been needed but I think its a good idea. Better safe than sorry.

  • @robinbrowne5419
    @robinbrowne5419 Před 2 měsíci +1

    It can count in binary 👍 Only up to 1 but it CAN count. If you had two of them then it could count up to 3. Three of them could count up to 7. So, someone with altogether too much time on their hands could build a computer out of them. Lol.

  • @jeremycyclist6269
    @jeremycyclist6269 Před 2 měsíci +2

    In order to turn on the P-channel MOSFET you should bias it by adding a resistor between source and ground, the gate must have negative voltage in respect to source.
    Your description about differences between P and N channel MOSFET is not accurate, it’s not about low, or high level voltage.
    N-channel MOSFET will start conduct when the gate is polarized with positive voltage in respect to source, and P-channel MOSFET will start to conduct when the gate is polarized with negative voltage in respect to source.

  • @misterhat5823
    @misterhat5823 Před 2 měsíci

    There's a similar circuit using a 555 timer that does the same thing in the same manner.

  • @GeorgeGraves
    @GeorgeGraves Před 2 měsíci

    RANT OF THE WEEK! RANT OF THE WEEK! RANT OF THE WEEK! :)

  • @henrikstenlund5385
    @henrikstenlund5385 Před 2 měsíci

    Good job. I have used the traditional npn-pnp circuit working similarly but carrying a few components more. I noted with it that in noisy environments it is required to have capacitors 10 nF to ground or so, at the bases to prevent glitches. I assume this circuit may be just as sensitive and needs to be slowed down a bit.

  • @jerril42
    @jerril42 Před 2 měsíci

    I have some Si4599DY chips, same pinout, slightly different specs (mine are mounted on a small breakout board). Ralph Bacon did a video using them to drive a bi-colour LED from one pin.

  • @wiwingmargahayu6831
    @wiwingmargahayu6831 Před 2 měsíci

    zamzam water

  • @AnalogDude_
    @AnalogDude_ Před 2 měsíci

    I got some Japanese Rohm sh8mb5, they use the same pin out.
    Indeed Louis Rossman showed "laptop" schematics from very well known brand and there where many mosfets.

  • @KeritechElectronics
    @KeritechElectronics Před 2 měsíci

    Interesting circuit. I think I saw something similar on EEVBlog at some point.

  • @TomLeg
    @TomLeg Před 2 měsíci +1

    Digikey describes the NDS9952A as "obsolete" ... none are available at Digikey, Mouser, or at JLCPCB. LCSC Has 3 pieces from alternate supplier VB Semi of Taiwan. Of course, there are plenty of other N/P pairs

    • @misterhat5823
      @misterhat5823 Před 2 měsíci

      So does Arrow. And Onsemi themselves says it's obsolete.

    • @TomLeg
      @TomLeg Před 2 měsíci

      This power switch is something I wanted in my arsenal, so I drew up the system in Kicad. Since I couldn't find the 9952, I searched Digikey for N/P mosfet pairs, with Rds On up to 25mO. Looking at 57 remaining options, Diodes inc DMC 3025LSD-13 shows stock of 35,000 pieces at a good price $0.66US. The one downside is the advertised RdsOn was for the N Channel, and it's the P channel that's doing the heavy lifting. That only gives 45mOhm. So for a 12V supply (I'm thinking in terms of eurorack systems) this would be 1W at 5A. Are there other characteristics I should be focusing on?

  • @mikebond6328
    @mikebond6328 Před 2 měsíci

    Seems like the original circuit had a larger capacitor and a diode somewhere. But your version is easier.

  • @cmuller1441
    @cmuller1441 Před 2 měsíci

    The 100k + capacitor is slow enough to avoid bounces on/off
    I think the problem with the original circuit is the 10k pull-up that is too strong. Replace it with 100k and you won't need the extra 10k (I hope)

  • @davidkclayton
    @davidkclayton Před 2 měsíci

    I'm wondering what the quiescent current is of this circuit. I do a similar thing with a 4013 only differences I can put a cap and diode on the supply voltage and it acts like memory so the switch state remains even if the power is turned off for quite some time

  • @joejane9977
    @joejane9977 Před 2 měsíci +1

    the internet were anything is possible even 5v logic to 3.3v logic
    without a bi-level shift converter and it never gives up the ghost

    • @tripplefives1402
      @tripplefives1402 Před 2 měsíci +1

      A 5V chip will read anything above 2v as logic 1, and you can use a resister and a zener to drop 5v to 3.3v. Good for doing something quick that doesn't take alot of space.

    • @joejane9977
      @joejane9977 Před 2 měsíci

      @@tripplefives1402 im well aware of this i help many on a MCU server and so many tutorials will send 5v to 3.v volt logic and sometimes the sensor is tolerant and sometimes it is not. the original comment was in response to a flawed design found on the interwebs. missing a pull down resistor .

    • @tripplefives1402
      @tripplefives1402 Před 2 měsíci

      ​@@joejane9977 in the original the load is the pulldown.

    • @joejane9977
      @joejane9977 Před 2 měsíci

      @@tripplefives1402 you missed the point its ok

  • @tvelektron
    @tvelektron Před 2 měsíci

    Waht do You think, can this kind of transistor be used in analog circuit, thinking of traditional audio amplifiers just for example. Of course not so much power, maybe in the driver stage or for headphone amp together with opamp?

    • @IMSAIGuy
      @IMSAIGuy  Před 2 měsíci

      read the datasheet: "These devices are particularly suited for low voltage applications such as notebook computer power management and other battery powered circuits where fast switching, low in-line power loss, and resistance to transients are needed."
      of course other applications are up to the imagination

  • @t1d100
    @t1d100 Před 2 měsíci

    Are matched FETs ever needed? If so, examples, please. This might be an okay way to get pretty close to matched, I would think. I can't think of any reason this would not work with BJTs. Yes? I think I will breadboard it, to see. Cheers.

    • @tripplefives1402
      @tripplefives1402 Před 2 měsíci

      Need them for analog stuff. Mosfets have less resistance and consume less power even when working in the linear region.

  • @mr1enrollment
    @mr1enrollment Před 2 měsíci

    ?? Not clear how that turns off.

    • @VividSolutions
      @VividSolutions Před 2 měsíci

      5:36 “…well anyway…” is not the clearest circuit description 🤣
      Great little cct though, thanks for sharing.
      Basically the cap is discharged all the time the output is ON, by the N MOSFET. When the switch is closed, the cap’s low voltage pulls the N mosfet’s gate low, which switches both mosfets off.

    • @mr1enrollment
      @mr1enrollment Před 2 měsíci

      @@VividSolutions duh, thx

  • @simontay4851
    @simontay4851 Před 2 měsíci

    Can i use this circuit to drive a relay or TO-220 power FET for switching higher current?

  • @iblesbosuok
    @iblesbosuok Před 2 měsíci

    I speculate that the origin circuit loves (needs) resistive load, hates capacitive load and confused by non linear load.
    If we put a 10k resistor as output load, probably it will work.
    If we add a 100uF capacitor at the output, probably it won't work.
    Just my shallow speculation.