Master power switch for E-bike ideas

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eccerr0r
    Solder Sloth
    • Nov 2012
    • 8677
    • USA

    #21
    Re: Master power switch for E-bike ideas

    Yeah pretty much your observations are correct. And you probably don't need to technically worry about most of the SOA graph, because it was meant for people PWMing. Same with capacitance - it's for PWM. If you're only using it as a bulk on/off switch you only switch every few minutes, you only need to deal with continuous (DC) ratings.

    And yes these are real devices, there are always tradeoffs when you make MOSFETs. Sort of these four items: high voltage, high current, low capacitance, low price, PICK TWO. Not three, TWO.

    (Technically capacitance and price should be directly correlated as an unfortunate side effect, so maybe you can take out one of these two. And then again higher voltage or current are also necessarily increases price.)
    Last edited by eccerr0r; 12-08-2021, 11:53 AM.

    Comment

    • Dannyx
      CertifiedAxhole
      • Aug 2016
      • 3912
      • Romania

      #22
      Re: Master power switch for E-bike ideas

      Yeah, price is definitely a factor in this case: given it's still a goddamn N-channel FET at the end of the day, the price is RIDICULOUS, hence why I only have one shot at getting this right. Kill it and I'm crying for sure

      My biggest concern is the startup inrush limit part of the circuit and what values those components should have, particularly the resistor and the capacitor, as I'm not sure what inrush curve I should expect from two 470uF caps in parallel inside my motor controller (so close to 1000uF total) at 50v+ for a fully charged battery.
      Wattevah...

      Comment

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

        #23
        Re: Master power switch for E-bike ideas

        Vds is the maximum voltage between drain and source.
        gate capacitance will relate to drive current(inrush) and maximum switching speed.

        Comment

        • eccerr0r
          Solder Sloth
          • Nov 2012
          • 8677
          • USA

          #24
          Re: Master power switch for E-bike ideas

          Depends on the ESR of those capacitors, should be able to calculate the inrush...

          Comment

          • Dannyx
            CertifiedAxhole
            • Aug 2016
            • 3912
            • Romania

            #25
            Re: Master power switch for E-bike ideas

            Originally posted by stj
            Vds is the maximum voltage between drain and source.
            Correct. I was curious how this "operates" during turn-on/off and IN the actual on/off states, hence why I said I'm interested in the "practical" side of things, with my humble meter. A scope would probably be better suited for the job, but hey....whatcha gonna do ?
            Wattevah...

            Comment

            • Dannyx
              CertifiedAxhole
              • Aug 2016
              • 3912
              • Romania

              #26
              Re: Master power switch for E-bike ideas

              Not sure about ESR, but I DO know there's two of them in there, each 470uF. I'm giving THIS a read.
              Wattevah...

              Comment

              • eccerr0r
                Solder Sloth
                • Nov 2012
                • 8677
                • USA

                #27
                Re: Master power switch for E-bike ideas

                Add an inductor in series with the line
                I doubt you really have to worry too much, the caps are probably insignificant compared to the inrush when the motor starts turning.

                Comment

                • Dannyx
                  CertifiedAxhole
                  • Aug 2016
                  • 3912
                  • Romania

                  #28
                  Re: Master power switch for E-bike ideas

                  Originally posted by eccerr0r
                  Add an inductor in series with the line
                  This would open up a WHOLE other discussion
                  Originally posted by eccerr0r
                  I doubt you really have to worry too much, the caps are probably insignificant compared to the inrush when the motor starts turning.
                  Yes, but at that point the FET is fully on, so dissipation is low, at least I hope so. Think I'll go with a 4.7k resitor, a 10uF cap and a 15v zener on the gate. The resistor will be dropping around 38v for a fully charged battery in this case, which peaks at 53v by my observations.
                  Wattevah...

                  Comment

                  • Dannyx
                    CertifiedAxhole
                    • Aug 2016
                    • 3912
                    • Romania

                    #29
                    Re: Master power switch for E-bike ideas

                    I finally gave LTSpice a try and tried simulating my circuit. Here's the weird part: if I use a blank "nmos" model for the transistor, I get the curves in the first picture. This is clearly wrong, because the cap current (red) is WAY too small there - doesn't looks particularly realistic. The voltage at the gate (blue) IS acting more like what you'd expect though.

                    If I try replacing the "nmos" model with an ACTUAL transistor from the database, I get the second plot: the current just spikes when Vgs is around 3.6v then immediately drops back down. Even if I increase the R/C combo, it doesn't smooth out that spike any further... It obviously doesn't have my exact transistor, so I chose one which comes fairly close in terms of resistance and Vds. I have no idea how to use LTSpice yet - I just clicked on stuff, so I'm probably doing something wrong still
                    Attached Files
                    Last edited by Dannyx; 12-09-2021, 02:01 PM.
                    Wattevah...

                    Comment

                    • eccerr0r
                      Solder Sloth
                      • Nov 2012
                      • 8677
                      • USA

                      #30
                      Re: Master power switch for E-bike ideas

                      depends on your default model. Looks reasonable though, you should expand out the waveform.
                      TBH the "real" waveform is what to expect, and not much you can do about it, though you can slow it down even more by messing with the rc delay but it'll slow turn on time even more...

                      Comment

                      • Dannyx
                        CertifiedAxhole
                        • Aug 2016
                        • 3912
                        • Romania

                        #31
                        Re: Master power switch for E-bike ideas

                        Out of curiosity, I tried hooking up the caps directly to the power supply in LTSpice and of course the current went off the chart to like 350a at startup, so I'd say around 1.4a is reasonable there
                        Last edited by Dannyx; 12-10-2021, 11:23 AM.
                        Wattevah...

                        Comment

                        • eccerr0r
                          Solder Sloth
                          • Nov 2012
                          • 8677
                          • USA

                          #32
                          Re: Master power switch for E-bike ideas

                          Now that's a really low ESR capacitor... Then again it is an ideal capacitor, and ideal capacitors have 0 ESR.

                          Comment

                          • Dannyx
                            CertifiedAxhole
                            • Aug 2016
                            • 3912
                            • Romania

                            #33
                            Re: Master power switch for E-bike ideas

                            Originally posted by eccerr0r
                            Now that's a really low ESR capacitor... Then again it is an ideal capacitor, and ideal capacitors have 0 ESR.
                            Can't remember if at that point I tried using "generic" caps or some of the "real" models the program offers...

                            I may be overthinking it, but that FET is one expensive part like I said Seems I can't smooth out that spike any more, at least not without exaggerating the startup time AND possibly driving the zener out of regulation because its current would be too LOW at that point.

                            Another thing I tried was placing a resistor across the FET (D-S) so it charges the caps FIRST and THEN the FET shunts it. I was happy with the simulation results, but then it became obvious that there'd be nothing would stop me (or someone else) from attempting to ride the bike with the switch in the 'off' position, so all the power going through that resistor and I can't think of a way to keep this from happening, unless I complicate the circuit even more and use that slow rise time as a switch for a secondary command, like cutting power to the control panel of the bike....dunno....
                            Wattevah...

                            Comment

                            • eccerr0r
                              Solder Sloth
                              • Nov 2012
                              • 8677
                              • USA

                              #34
                              Re: Master power switch for E-bike ideas

                              You can't ride the bike with a 1K resistor there though you probably should go 100K or so, just to cheapen things.

                              Comment

                              • Dannyx
                                CertifiedAxhole
                                • Aug 2016
                                • 3912
                                • Romania

                                #35
                                Re: Master power switch for E-bike ideas

                                Originally posted by eccerr0r
                                You can't ride the bike with a 1K resistor there though you probably should go 100K or so, just to cheapen things.
                                I was thinking of a low-ish value, like 100ohms, which WOULD allow the display to fire up, making someone think it's ready to go, but the whole system would collapse as soon as the motor tries to kick in. It would also burn a ton of power...like 50w or so. Not sure if practical in the long run...
                                Wattevah...

                                Comment

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

                                  #36
                                  Re: Master power switch for E-bike ideas

                                  just use a contactor to short the battery and blow them to hell
                                  /jk

                                  Comment

                                  • eccerr0r
                                    Solder Sloth
                                    • Nov 2012
                                    • 8677
                                    • USA

                                    #37
                                    Re: Master power switch for E-bike ideas

                                    Originally posted by Dannyx
                                    I was thinking of a low-ish value, like 100ohms, which WOULD allow the display to fire up, making someone think it's ready to go, but the whole system would collapse as soon as the motor tries to kick in. It would also burn a ton of power...like 50w or so. Not sure if practical in the long run...
                                    Or add more capacitors and they can watch the screen fade away as they discharge... or sooner if they try to engage the motor.

                                    Comment

                                    • kaboom
                                      "Oh, Grouchy!"
                                      • Jan 2011
                                      • 2507
                                      • USA

                                      #38
                                      Re: Master power switch for E-bike ideas

                                      Originally posted by stj
                                      just use a contactor to short the battery and blow them to hell
                                      /jk
                                      Watch it there, Kreosan!
                                      /thread
                                      "pokemon go... to hell!"

                                      EOL it...
                                      Originally posted by shango066
                                      All style and no substance.
                                      Originally posted by smashstuff30
                                      guilty,guilty,guilty,guilty!
                                      guilty of being cheap-made!

                                      Comment

                                      • Dannyx
                                        CertifiedAxhole
                                        • Aug 2016
                                        • 3912
                                        • Romania

                                        #39
                                        Re: Master power switch for E-bike ideas

                                        Glad to see people find the topic funny around here

                                        I went with 100v version after all. Should have it somewhere the following week.
                                        Wattevah...

                                        Comment

                                        • Dannyx
                                          CertifiedAxhole
                                          • Aug 2016
                                          • 3912
                                          • Romania

                                          #40
                                          Re: Master power switch for E-bike ideas

                                          Just remembered this bike has a "power enable" pin in the cable which connects the display to the controller. I could tap into that to act as my power on signal to turn the FET on after the caps have already charged through the resistor idea. That way, it becomes physically impossible to take off on JUST the resistor(s) by mistake. Problem solved
                                          Last edited by Dannyx; 12-11-2021, 03:29 PM.
                                          Wattevah...

                                          Comment

                                          Related Topics

                                          Collapse

                                          • Document Archive
                                            Acer Switch Switch V 10 SW5-017P Hybrid (2-in-1) V 10 Specification for Upgrade or Repair
                                            by Document Archive
                                            This specification for the Acer Switch Switch V 10 SW5-017P Hybrid (2-in-1) can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the Switch V 10 SW5-017P boardview and Switch V 10 SW5-017P schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that we offer no warranties that any specification,...
                                            09-06-2024, 05:30 AM
                                          • stormanimal83
                                            Nintendo Switch picofly installed cause parental lock how to get Master Key for restoring OFW
                                            by stormanimal83
                                            i bought a use console from ebay fixed it and it has parental lock. seller wasn´t helpful and nintendo either cause they don´t support used devices as they told me per mail. thanks for the bad support here in germany. was totally upset as i read the answer to my mail from 1 week ago.... there was no other way to get rid of that code rather than modding the console cause i didn´t even had the device id as it´s a patched V1 and for getting masterkey on salthax there is the need to type in the device id which was unknown in this case... i did a mistake. after the repair i entered my wlan and...
                                            08-04-2024, 01:47 AM
                                          • G0RIT
                                            Reebok one GT40s treadmill lift motor runs at switch on
                                            by G0RIT
                                            Good evening I am working on a Reebok oneGT40s treadmill. It had a flashing display which the replacement of D3 rectified. However the lift motor now runs when the mains is turned on and does not stop. If I then select start so the tread motor runs and disconnect the up lead to the lift motor it stops. If I then reconnect the lead the lift motor works as it should with the controls. It will continue to work correctly until the mains is turned off and on again, or the safety device is removed and replaced. It then runs again and only by disconnecting and reconnecting the up lead will it operate...
                                            06-23-2022, 05:57 PM
                                          • Natob82
                                            Micro Momentary Push Switch?
                                            by Natob82
                                            Great to be here! I'm a newbie here trying to find a "micro", momentary push switch to repair a Sony "clamshell" video walkman. This micro switch has long since discontinued by Sony, however I hope there are third-party switches of the same size and functionality that I might be able to source to play the same role. The purpose of this switch is to tell the video walkman that the user has activated the mechanical tape eject button, turning that physical action into an electronic signal that tells the tape transport mechanism to open so one can load or eject a video tape. I...
                                            12-21-2022, 05:22 AM
                                          • grimacelord
                                            NEC TurboExpress On/Off Power Switch Replacement Help
                                            by grimacelord
                                            Hello,

                                            I've been working on a NEC TurboExpress and I accidentally got the plastic inside the power ON/OFF switch too hot while doing other repairs and melted it. At first, it would still power on when sliding the switch, but you had to really press inward while sliding to get it to work.

                                            I removed the switch component and tried to gently melt the plastic back so it would work more reliably and all I managed to do was make it worse.

                                            I need to find a replacement On/OFF switch for this, but having some trouble figuring out which kind of switch I need....
                                            11-09-2023, 09:49 AM
                                          • Loading...
                                          • No more items.
                                          Working...