Whats this ripple?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EasyGoing1
    Shock Therapist
    • Sep 2016
    • 977
    • USA

    #1

    Whats this ripple?

    So this is the PWM signal coming off on ATTiny85 MP the pin is connected to the base of a MOSFET that is driving some LEDs... When I disconnect the base from the pin, the ripple goes away so I'm assuming it has something to do with the nature of the MOSFET ... but I don't know exactly why its there.

    Im talking about the ripple at the low side of this signal...



    Can someone explain to me what I'm looking at here?

    Thank you,
    sigpic
  • stj
    Great Sage 齊天大聖
    • Dec 2009
    • 30977
    • Albion

    #2
    Re: Whats this ripple?

    try putting a ferite bead on the gate pin - i'v seen that done in psu's
    i think it's the gate pin capacitance discharging

    Comment

    • EasyGoing1
      Shock Therapist
      • Sep 2016
      • 977
      • USA

      #3
      Re: Whats this ripple?

      Originally posted by stj
      try putting a ferite bead on the gate pin - i'v seen that done in psu's
      i think it's the gate pin capacitance discharging
      You mean like ... one of these?

      sigpic

      Comment

      • EasyGoing1
        Shock Therapist
        • Sep 2016
        • 977
        • USA

        #4
        Re: Whats this ripple?

        Originally posted by stj
        try putting a ferite bead on the gate pin - i'v seen that done in psu's
        i think it's the gate pin capacitance discharging
        I just saw this too ... check out what its doing at the top edge of the wave.

        sigpic

        Comment

        • stj
          Great Sage 齊天大聖
          • Dec 2009
          • 30977
          • Albion

          #5
          Re: Whats this ripple?

          what am i seeing, are you driving high to low, or just driving one way and using a resistor the other way?
          because i think the tiny can sink and source atleast 25mA

          Comment

          • R_J
            Badcaps Legend
            • Jun 2012
            • 9535
            • Canada

            #6
            Re: Whats this ripple?

            Not sure if this would help but a lot of power supplies I see have a small value resistor (10~22Ω) in the gate circuit, and some also have another resistor and diode across this gate resistor as well to control the turn on & turn off of the mosfet
            Attached Files

            Comment

            • redwire
              Badcaps Legend
              • Dec 2010
              • 3902
              • Canada

              #7
              Re: Whats this ripple?

              What you are seeing is called "ringing", like when you tap something resonant like a bell, it oscillates at a frequency while the amplitude fades out.
              There are many resonances in electronic circuits, it can be long wiring, the breadboard, components, the place where you ground the scope probe.
              I see ~4 cycles for 5usec or 1.3MHz and it starts about 2usec after the MCU output goes low (mosfet and led off). It seems weird for that delay.

              It can be the power supply recovering (along with the cable inductance) or the mosfet oscillating a bit from the ground, source to MCU, even the LED wiring inductance can cause it. Slowing down the mosfet turn on and turn off by adding a gate resistor or ferrite bead can help and is what is usually done when you don't need nsec switching times.

              You would have to also scope the mosfet drain and compare that to the gate drive waveform to really figure it out. The scope is two channel, work it.

              Best to use a single-point grounding strategy, where the MCU, mosfet source and power supply, scope connect to a star point.

              Comment

              • EasyGoing1
                Shock Therapist
                • Sep 2016
                • 977
                • USA

                #8
                Re: Whats this ripple?

                Originally posted by stj
                what am i seeing, are you driving high to low, or just driving one way and using a resistor the other way?
                because i think the tiny can sink and source atleast 25mA
                Driving three LEDs in parallel. Should be getting like 800 ma to the LEDs but I'm only getting like 225. do have a resistor on the emitter of the mosfet to ground and when i change its value, it affects that ripple.
                sigpic

                Comment

                • stj
                  Great Sage 齊天大聖
                  • Dec 2009
                  • 30977
                  • Albion

                  #9
                  Re: Whats this ripple?

                  post your circuit

                  Comment

                  • EasyGoing1
                    Shock Therapist
                    • Sep 2016
                    • 977
                    • USA

                    #10
                    Re: Whats this ripple?

                    Originally posted by stj
                    post your circuit


                    LEDs are rated at 3.3V 280ma each
                    Last edited by EasyGoing1; 02-20-2021, 09:22 PM.
                    sigpic

                    Comment

                    • stj
                      Great Sage 齊天大聖
                      • Dec 2009
                      • 30977
                      • Albion

                      #11
                      Re: Whats this ripple?

                      move the resistor to the positive rail after the leds.
                      it's raising the fet above ground in relation to the mcu

                      Comment

                      • redwire
                        Badcaps Legend
                        • Dec 2010
                        • 3902
                        • Canada

                        #12
                        Re: Whats this ripple?

                        The ringing I don't think is much of a problem.
                        It's the low 3.3V drive to the mosfet. IRF510N would really like at least 5V gate-drive to turn on to the 1A level. Adding the 1R source resistor lowers the gate-drive from 3.3V to even less, 2.3V at 1A.

                        To improve the circuit:
                        -Move the 1R resistor from the source up to the power (+) for the LED's but the mosfet is still only weakly turning on. It would get hot doing mushy PWM.
                        -Change to a logic-level mosfet, something that can switch 1A with 3.3V drive. Or use a BJT.
                        Last edited by redwire; 02-22-2021, 02:01 AM.

                        Comment

                        • EasyGoing1
                          Shock Therapist
                          • Sep 2016
                          • 977
                          • USA

                          #13
                          Re: Whats this ripple?

                          Originally posted by redwire
                          The ringing I don't think is much of a problem.
                          It's the low 3.3V drive to the mosfet. IRF510N would really like at least 5V gate-drive to turn on to the 1A level. Adding the 1R source resistor lowers the gate-drive from 3.3V to even less, 2.3V at 1A.

                          To improve the circuit:
                          -Move the 1R resistor from the source up to the power (+) for the LED's but the mosfet is still only weakly turning on. It would get hot doing mushy PWM.
                          -Change to a logic-level mosfet, something that can switch 1A with 3.3V drive. Or use a BJT.
                          I will be experimenting with different transistors to replace this mosfet when I get some time to do so. I did try a BC337 and it actually did quite well in this circuit, though it wouldn't be suited for long-term use since this circuit drives its current ratings pretty hard. Although it didn't even get hot when I tried it so it might be a viable option. Not sure yet which way I'll go. I should have some time in a week or so to start playing with it again.
                          sigpic

                          Comment

                          Related Topics

                          Collapse

                          • Jane
                            How do you test MOSFET in laptops ?
                            by Jane
                            I tried to use this method:

                            Testing an N-channel MOSFET:

                            Step 1: Discharge the Gate (turn off the MOSFET)
                            Place the black probe (COM) on the Source (S) and the red probe on the Drain (D). The multimeter should show no continuity (high resistance or "OL" – open line).
                            Then, touch the black probe to the Source (S) and the red probe to the Gate (G). This discharges any stored charge in the Gate, turning the MOSFET off.

                            Step 2: Charge the Gate (turn on the MOSFET)
                            Now, place the red probe on the Gate (G) and the black probe on the
                            ...
                            09-27-2024, 03:31 AM
                          • Nooy
                            VGA MOSfet permanently shorted and loss of MOSfet pad
                            by Nooy
                            Hello everyone, I recently found this badcaps site and super Learn Electronics Repair youtube channel. And I wanted to learn how to troubleshoot power supplies and VGA cards and how to practice soldering, since I already have a properly defective piece of them. I am currently trying to solve two problems:

                            I have a Gigabyte GV-RX460WF2OC-4GD type card. I managed to find the faulty MOSfet (AON6414A) on it, which I replaced. The card starts up, but after about half a minute, the MOSfet in the same position will be shorted again. Is it possible that the PWM controller driving the MOSfet...
                            02-14-2024, 02:26 AM
                          • AppleLover123
                            Asus X712EA 3 volts after the first mosfet
                            by AppleLover123
                            Hey guys,

                            i have a asus motherboard here and as the title says after the first mosfet (in the picture) there is nothing more than 3.15v.
                            I injected 19v and max. 1 amp at the charging port and there is not voltage drop or smth. It's just taking 19v and 1 milliamp.
                            Then i tried to inject 19v and max 1amp after the current sensor and there it first takes 19v and 4 milliamps and after 2 seconds it is taking nothing (no current).
                            I measured on the coils on board everything seems fine. Also the main power rail is not shorted (infinite resistance).
                            Now i thought something...
                            12-15-2024, 07:49 AM
                          • MicroSMD Lab
                            ASUS ROG Zephyrus GPU Mosfet repeat failure
                            by MicroSMD Lab
                            The board number is GU502DU. I repaired this a couple weeks ago and it came back with the same issue, same mosfet failed (PQH9201). I'm hoping that the GPU was spared this time.
                            I used the same replacement part (purchased from Mouser) and I'm certain the soldering was done properly since it took just as much effort to remove as before. What could cause this same mosfet to fail? I'm thinking if it was unsuitable then the others would fail too. I looked for similar failures on YTube and the mosfet was replaced with AOE6930 in one instance and AOE6932 in the other but it's possible that the...
                            01-10-2024, 06:36 AM
                          • Scotchmist
                            Asus GA502D keeps blowing mosfet
                            by Scotchmist
                            I have an Asus GA502D, it had a blown mosfet which I replaced and the laptop booted into windows, a few mins later it shut off, the same mosfet was blown. I thought maybe just a bad mosfet but same thing happened again, a few mins in windows and shuts off.

                            I have removed the mosfet and can run the laptop no problem

                            The MOSFET is FDPC5018SG

                            Can anyone point me in the direction of what could be the cause of this, could it be the controller rt3663bc?

                            Thanks
                            08-24-2024, 02:23 PM
                          • Loading...
                          • No more items.
                          Working...