methods
1 GW
Let me first introduce the concep - then below I will give definitions.
No more dead batteries from leaving the controller on
No concern for cell level LVC during discharge
No concern for fires from over charging cells
This will be a new component in my battery monitoring/protecting scheme. No longer will we need to tie into the throttle to terminate discharge - instead this device will be attached inline with the battery (anywhere) and will disconnect the battery from the system in the case of cell level LVC, HVC, or by the user with a mechanical switch
The device has two high current tabs. One should be connected to the battery (positive or negative, it does not matter). The other should be connected to the load (controller, charger, etc).
There are two other connections. One goes to a handle-bar mounted switch that allows the user to **completely** turn off their ebike. This means that no longer will the full battery voltage be sitting on the controller caps 24/7. This is important for many reasons including discharge through leakage current and general safety
The second connection goes over to my (or any) active low detection system.
So why would you want to use this and not just a regular old relay or a high power contactor? Here is a table of reasons.
* Power Usage
---------------------------------------------------------------------------------------------------------
A standard contactor or relay typically requires 12V @ 200mA (call it 3W) to remain in the active state. This is highly problematic for 2 reasons... first it is constantly draining the pack. For a typical 12S2P Lipo pack it would be 440Wh/3W = 6 days.. i.e. if you fully charge your pack and leave the relay on it will deplete your pack after sitting for just 6 days. This is similar to leaving your controller on and even I have done it, ruining entire 18S3P packs.
That is not even the bad part. The bad part is that if you want to create a contactor system good for any voltage... be it 12V or 200V... it can become very difficult to create the 12V 3W low voltage bias supply. It requires a complicated and expensive DC-DC converter that has a limited input range (so you need different versions). Yea - for over 50V folks can use a $1 AC-DC switching regulator but that comes with complications of its own. It requires obnoxious wiring, it adds numerous new failure modes, it draws power, it is bulky, and it just sucks.
A solid state switch built out of mosfets and controlled by a microcontroller draws less than 50uW of constant power. That is 0.00005W. That is in the range of the self discharge of a battery. So low in fact... that I can actually power the system from a pair of coin cells SUCH THAT NO POWER WHAT SO EVER IS DRAWN FROM THE SYSTEM BATTERY.
The device behaves just like a contactor would. There is a "power switch" on the handle bar that can turn the main system power on or off. When the switch is thrown to the ON position the contactor goes through a Pre-Charge (PWM) routine to ramp up the controller power (eliminating connector sparks...) and then goes into a "deep sleep" mode where it draws only microwatts and waits for either the user to signal that the system should be shut down (OFF) or a signal from the Battery Managment System stating that power should be cutt.
* Power Handling
---------------------------------------------------------------------------------------------------------
Contactors are rated for a certain range. The kind of contactor we would use for an ebike (basically the best available in its size range) is good for about 50A continuous and maybe 150A bursts. This is driven by several factors including the gauge of the wire hooked to the contactor - since the terminals are used for heat sinking. To increase power handling you need to either step up into a much larger and more expensive contactor or you need to use two in parallel. Even in quantity - the cheapest contactor available that does not suck is about $40 and that does not include the Precharge circuit (which is absolutely necessary since a bridge resistor is unacceptable for this application) and it does not include the DC-DC used to power it.
Solid state switches can handle much greater loads in much smaller packages (if done right). With 8pcs of TO-220 IRFB4110 we can easily handle 100V 100A continuous with no heat sink (using the wires as heat sinks). Mosfets can be had in 150V, 500V, whatever you like. One design can be populated with the proper mosfet configuration to work for nearly any system. Our baseline with be IRFB4115's - 8 of which will be around $16 in small quantities. This will afford the user a range of 0V to 150V and a constant current of 50A (with heavy cabling). Burst current - 300A easy. We are basically keeping things around or below 70C with minimal power loss.
Power loss through this switch would be around:
IRFB4110 100V 100A bike (10KW)
4mOhms/4pcs in parallel = 1mOhm
Two in series = 2mOhms
10A = 0.2W
50A = 5W ( 100V*100A=10kw, 5W is 0.05% loss, so that is like 99.95% efficient)
100A = 20W (will never happen - 60mph on bicycle for extended periods = crash)
IRFB4115 150V 50A bike (ultra high speed bike - burst to 100A no problem - so call it 15KW until you crash)
10mOhm /4pcs in parallel = 2.5mOhms
Two in series = 5mOhms
10A burns 0.5W
50A burns 12.5W (this is tough to handle thermally, but electrically it is a fraction of a percent of operating power)
I forgot to mention (and it is not in the pictures) that the system switch is in series with a 70C thermal switch
THIS MEANS THAT IT IS TEMPERATURE PROTECTED
View attachment 2
Physically it looks like the above picture. Notice that the tab of the mosfet is also the drain. This serves a triple purpose:
1) Mounting
2) Heat sinking
3) Power conduction
By using copper bars we kill three birds with one stone. The mosfets have a secure mounting location - no "beefed up" PCB boards or bullshit like that. Since copper is just about the most uber heat sink material you can use - it effectively moves heat out to the cabling where it can be dissipated. Yes... the cables are the heat sink. Finally - it makes for the perfect power conductor. No stubby wires to fool around with - just screw on your cable assembly
The mosfets are configred in common source. That means that the switch blocks in both directions. It also means that both the "left" and the "right" mosfets can be directly mounted to the copper bars. In the middle the sources are directly connected together (laying one atop the other) with some help from a very wide and thick PCB trace. Gates are routed (possibly to individual resistors), over to a common 6V zener, then directly to the 5V output of the uController
* Power Source
---------------------------------------------------------------------------------------------------------
This is probably the biggest win for this design. As stated above a contactor always needs a power source - to the tune of a few watts. Yea.. this may be fine if you have a 20KW 4 wheel EV... but if you want a design that can work with anything from a 4S accessory pack to a 200V 5Ah speedster EV then all that DC-DC business is for the birds.
My design takes its power from a pair of coin cells in series. NO POWER IS DRAWN FROM THE BICYCLE MAIN PACK.
No power.
None
Zilch
Coin cells come in a million flavors - common choices are about 50mAh to 200mAh. In that range, with my power draw, and typical usage (2 hours per day) my system will likely out-live the self discharge of the cells... so 5 to 10 years (at best). Worst possible case could be months - but that would be an edge case. I wont bore you with all the low power calculations - just suffice to say it will be like your watch.
How often do you worry about changing the battery in your watch?
That is how little you will worry about the batteries in this contactor
This opens up ALL SORTS of possibilities. Since the contactor takes no power what so ever from the load that it is switching - this means that it is totally independent of load so you can run anything
5V 1000A DC
50V 100A DC
200V 10A DC
Even AC signals!
4S ciggy lither packs
1S cell phone chargers
It does not matter. Although my system touches the sources of the mosfets - it is pretty much self contained.
* Precharging & Contact Welding Issues
---------------------------------------------------------------------------------------------------------
This is huge - possibly the biggest reason to use a mosefet switch
If you put a contactor in a system and have it between a high rate discharge battery (Lithium) and an extremely capacitive load (controller) then it is absolutely CRITICAL that a Pre-Charge system is used (or else the contacts will weld closed!). With Cars - folks usually just hang a 10W resistor right across the contactor. This really blows in my opinion - since it can allow mA of current to be trickled by. This is unacceptable for a small pack like an Ebike - and even more so for a small pack like a 4S5Ah cell 12V mobile Cell Phone Charger.
So... that means that if you want to use a Contactor you need an elaborate pre-charging scheme that can guarantee 100% precharge and do that in a non-obnoxious time. This means power, complexity, wiring, ugh. It means system interdependence. It means over-building for the guy who runs an Infineon with 4mF and under building for the guy that runs a SevCon. Problems Problems that I dont want
With a solid state switch there is no chance of contacts welding closed so all you really need to do is stop the silicone from blowing out on an insane inrush and stop the controller caps from blowing from the same inrush. This could be as simple as a short PWM run (which will cause wear and tear on the controller caps). With a uController in the system - and the ability to control rise times - it is an easy problem to solve.
* Driver circuit Range
---------------------------------------------------------------------------------------------------------
With any contactor system you basically have a limited range that you can work with. One size does not fit all.
With a self contained solid state switch - none of this need be worried about.
* Cost
---------------------------------------------------------------------------------------------------------
My solid state switch costs about 1/4th of what it would cost for a contactor and all the parts for a DC-DC and precharge system. This means lower costs for you and more development cash for me.
NOTES OF POSSIBLE ISSUES:
* It is preferred that the unit be attached to the GROUND legs of any battery so that there is no high voltage being routed up to the user switch. The switch only connects 3V, but since it is basically tied to the sources... if the sources sit at 200V then the switch sits at 206V with respect to battery ground. Care must be taken... this does not mean the switch has to be high voltage... just that it must be insulated well.
Now lets talk about how it works.
One of the coolest f'ing things is that we have an Arduino on the inside
Here is what you are looking at:
* 6V worth of coin cells running into a LDO ultra low quiescent current regulator (2uA & 300mV max)
* A mechanical handle bar switch that allows the user to turn the entire ebike system on and off (also preserving battery life)
* An Atmega 328P Arduino compatible controller (running a low power variant of Arduino)
* A PWM capable TTL output that drives the mosfet bank
* An Interupt capable digital input that comes from the BMS, Detector system, or whatever
The microprocessor sleeps like 99.999999% of the time. This is how you get currents down into the micro amps, or even nano amps. Starting from the off state:
User turns ON switch
Controller performs a Precharge
Controller latches mosfets to the ON state
Controller goes into deep sleep
User turns OFF switch
(there is some hidden complexity here to ensure that the mosfets turn off abruptly)
But basically the system just turns off and the breaker opens
If the system is off there is no need to monitor the BMS
IF the system is ON and a BMS active low signal comes in
It can either be an interrupt (which I dont like) or it can be polled on a 1 second loop. 1 second is nothing in discharge/charge terms - and it can be considered a hysteresis on the system. Either way it is totally programmable so for applications that need instant cut-out we can run interrupts. For other applications we will probably just run a WDT and check once a second
Anyhow - in the case of an LVC even the system blows open the relay and then goes into deep sleep (or can even self terminate with one more mosfet)
Some minutia...
The uController only pulses the open collector input from the BMS. Basically it wakes up, turns on its internal pull up, reads the line, turns off the pull up, and takes action. This dramatically lowers power. A protection diode will probably also be included in the final design.
There will probably be some TVS diodes sprinkled about.
bah... my frigging arms are getting tired. I cant type anymore. Look, Junior approves! (that is Lukes equipment in the background)
Ok - that is it in a nut shell. I am here looking for input from experienced designers. You have a part you want to point me to? You have a concern? Question? Basically I am showing my cards here... anyone can feel free to steal any part of this design - since as of now it is clearly open source. In return all I hope for is that one or two people can help me out. Every little bit helps.
-methods
No more dead batteries from leaving the controller on
No concern for cell level LVC during discharge
No concern for fires from over charging cells
This will be a new component in my battery monitoring/protecting scheme. No longer will we need to tie into the throttle to terminate discharge - instead this device will be attached inline with the battery (anywhere) and will disconnect the battery from the system in the case of cell level LVC, HVC, or by the user with a mechanical switch
The device has two high current tabs. One should be connected to the battery (positive or negative, it does not matter). The other should be connected to the load (controller, charger, etc).
There are two other connections. One goes to a handle-bar mounted switch that allows the user to **completely** turn off their ebike. This means that no longer will the full battery voltage be sitting on the controller caps 24/7. This is important for many reasons including discharge through leakage current and general safety
The second connection goes over to my (or any) active low detection system.
So why would you want to use this and not just a regular old relay or a high power contactor? Here is a table of reasons.
* Power Usage
---------------------------------------------------------------------------------------------------------
A standard contactor or relay typically requires 12V @ 200mA (call it 3W) to remain in the active state. This is highly problematic for 2 reasons... first it is constantly draining the pack. For a typical 12S2P Lipo pack it would be 440Wh/3W = 6 days.. i.e. if you fully charge your pack and leave the relay on it will deplete your pack after sitting for just 6 days. This is similar to leaving your controller on and even I have done it, ruining entire 18S3P packs.
That is not even the bad part. The bad part is that if you want to create a contactor system good for any voltage... be it 12V or 200V... it can become very difficult to create the 12V 3W low voltage bias supply. It requires a complicated and expensive DC-DC converter that has a limited input range (so you need different versions). Yea - for over 50V folks can use a $1 AC-DC switching regulator but that comes with complications of its own. It requires obnoxious wiring, it adds numerous new failure modes, it draws power, it is bulky, and it just sucks.
A solid state switch built out of mosfets and controlled by a microcontroller draws less than 50uW of constant power. That is 0.00005W. That is in the range of the self discharge of a battery. So low in fact... that I can actually power the system from a pair of coin cells SUCH THAT NO POWER WHAT SO EVER IS DRAWN FROM THE SYSTEM BATTERY.
The device behaves just like a contactor would. There is a "power switch" on the handle bar that can turn the main system power on or off. When the switch is thrown to the ON position the contactor goes through a Pre-Charge (PWM) routine to ramp up the controller power (eliminating connector sparks...) and then goes into a "deep sleep" mode where it draws only microwatts and waits for either the user to signal that the system should be shut down (OFF) or a signal from the Battery Managment System stating that power should be cutt.
* Power Handling
---------------------------------------------------------------------------------------------------------
Contactors are rated for a certain range. The kind of contactor we would use for an ebike (basically the best available in its size range) is good for about 50A continuous and maybe 150A bursts. This is driven by several factors including the gauge of the wire hooked to the contactor - since the terminals are used for heat sinking. To increase power handling you need to either step up into a much larger and more expensive contactor or you need to use two in parallel. Even in quantity - the cheapest contactor available that does not suck is about $40 and that does not include the Precharge circuit (which is absolutely necessary since a bridge resistor is unacceptable for this application) and it does not include the DC-DC used to power it.
Solid state switches can handle much greater loads in much smaller packages (if done right). With 8pcs of TO-220 IRFB4110 we can easily handle 100V 100A continuous with no heat sink (using the wires as heat sinks). Mosfets can be had in 150V, 500V, whatever you like. One design can be populated with the proper mosfet configuration to work for nearly any system. Our baseline with be IRFB4115's - 8 of which will be around $16 in small quantities. This will afford the user a range of 0V to 150V and a constant current of 50A (with heavy cabling). Burst current - 300A easy. We are basically keeping things around or below 70C with minimal power loss.
Power loss through this switch would be around:
IRFB4110 100V 100A bike (10KW)
4mOhms/4pcs in parallel = 1mOhm
Two in series = 2mOhms
10A = 0.2W
50A = 5W ( 100V*100A=10kw, 5W is 0.05% loss, so that is like 99.95% efficient)
100A = 20W (will never happen - 60mph on bicycle for extended periods = crash)
IRFB4115 150V 50A bike (ultra high speed bike - burst to 100A no problem - so call it 15KW until you crash)
10mOhm /4pcs in parallel = 2.5mOhms
Two in series = 5mOhms
10A burns 0.5W
50A burns 12.5W (this is tough to handle thermally, but electrically it is a fraction of a percent of operating power)
I forgot to mention (and it is not in the pictures) that the system switch is in series with a 70C thermal switch
THIS MEANS THAT IT IS TEMPERATURE PROTECTED
View attachment 2
Physically it looks like the above picture. Notice that the tab of the mosfet is also the drain. This serves a triple purpose:
1) Mounting
2) Heat sinking
3) Power conduction
By using copper bars we kill three birds with one stone. The mosfets have a secure mounting location - no "beefed up" PCB boards or bullshit like that. Since copper is just about the most uber heat sink material you can use - it effectively moves heat out to the cabling where it can be dissipated. Yes... the cables are the heat sink. Finally - it makes for the perfect power conductor. No stubby wires to fool around with - just screw on your cable assembly
The mosfets are configred in common source. That means that the switch blocks in both directions. It also means that both the "left" and the "right" mosfets can be directly mounted to the copper bars. In the middle the sources are directly connected together (laying one atop the other) with some help from a very wide and thick PCB trace. Gates are routed (possibly to individual resistors), over to a common 6V zener, then directly to the 5V output of the uController
* Power Source
---------------------------------------------------------------------------------------------------------
This is probably the biggest win for this design. As stated above a contactor always needs a power source - to the tune of a few watts. Yea.. this may be fine if you have a 20KW 4 wheel EV... but if you want a design that can work with anything from a 4S accessory pack to a 200V 5Ah speedster EV then all that DC-DC business is for the birds.
My design takes its power from a pair of coin cells in series. NO POWER IS DRAWN FROM THE BICYCLE MAIN PACK.
No power.
None
Zilch
Coin cells come in a million flavors - common choices are about 50mAh to 200mAh. In that range, with my power draw, and typical usage (2 hours per day) my system will likely out-live the self discharge of the cells... so 5 to 10 years (at best). Worst possible case could be months - but that would be an edge case. I wont bore you with all the low power calculations - just suffice to say it will be like your watch.
How often do you worry about changing the battery in your watch?
That is how little you will worry about the batteries in this contactor
This opens up ALL SORTS of possibilities. Since the contactor takes no power what so ever from the load that it is switching - this means that it is totally independent of load so you can run anything
5V 1000A DC
50V 100A DC
200V 10A DC
Even AC signals!
4S ciggy lither packs
1S cell phone chargers
It does not matter. Although my system touches the sources of the mosfets - it is pretty much self contained.
* Precharging & Contact Welding Issues
---------------------------------------------------------------------------------------------------------
This is huge - possibly the biggest reason to use a mosefet switch
If you put a contactor in a system and have it between a high rate discharge battery (Lithium) and an extremely capacitive load (controller) then it is absolutely CRITICAL that a Pre-Charge system is used (or else the contacts will weld closed!). With Cars - folks usually just hang a 10W resistor right across the contactor. This really blows in my opinion - since it can allow mA of current to be trickled by. This is unacceptable for a small pack like an Ebike - and even more so for a small pack like a 4S5Ah cell 12V mobile Cell Phone Charger.
So... that means that if you want to use a Contactor you need an elaborate pre-charging scheme that can guarantee 100% precharge and do that in a non-obnoxious time. This means power, complexity, wiring, ugh. It means system interdependence. It means over-building for the guy who runs an Infineon with 4mF and under building for the guy that runs a SevCon. Problems Problems that I dont want
With a solid state switch there is no chance of contacts welding closed so all you really need to do is stop the silicone from blowing out on an insane inrush and stop the controller caps from blowing from the same inrush. This could be as simple as a short PWM run (which will cause wear and tear on the controller caps). With a uController in the system - and the ability to control rise times - it is an easy problem to solve.
* Driver circuit Range
---------------------------------------------------------------------------------------------------------
With any contactor system you basically have a limited range that you can work with. One size does not fit all.
With a self contained solid state switch - none of this need be worried about.
* Cost
---------------------------------------------------------------------------------------------------------
My solid state switch costs about 1/4th of what it would cost for a contactor and all the parts for a DC-DC and precharge system. This means lower costs for you and more development cash for me.
NOTES OF POSSIBLE ISSUES:
* It is preferred that the unit be attached to the GROUND legs of any battery so that there is no high voltage being routed up to the user switch. The switch only connects 3V, but since it is basically tied to the sources... if the sources sit at 200V then the switch sits at 206V with respect to battery ground. Care must be taken... this does not mean the switch has to be high voltage... just that it must be insulated well.
Now lets talk about how it works.
One of the coolest f'ing things is that we have an Arduino on the inside
Here is what you are looking at:
* 6V worth of coin cells running into a LDO ultra low quiescent current regulator (2uA & 300mV max)
* A mechanical handle bar switch that allows the user to turn the entire ebike system on and off (also preserving battery life)
* An Atmega 328P Arduino compatible controller (running a low power variant of Arduino)
* A PWM capable TTL output that drives the mosfet bank
* An Interupt capable digital input that comes from the BMS, Detector system, or whatever
The microprocessor sleeps like 99.999999% of the time. This is how you get currents down into the micro amps, or even nano amps. Starting from the off state:
User turns ON switch
Controller performs a Precharge
Controller latches mosfets to the ON state
Controller goes into deep sleep
User turns OFF switch
(there is some hidden complexity here to ensure that the mosfets turn off abruptly)
But basically the system just turns off and the breaker opens
If the system is off there is no need to monitor the BMS
IF the system is ON and a BMS active low signal comes in
It can either be an interrupt (which I dont like) or it can be polled on a 1 second loop. 1 second is nothing in discharge/charge terms - and it can be considered a hysteresis on the system. Either way it is totally programmable so for applications that need instant cut-out we can run interrupts. For other applications we will probably just run a WDT and check once a second
Anyhow - in the case of an LVC even the system blows open the relay and then goes into deep sleep (or can even self terminate with one more mosfet)
Some minutia...
The uController only pulses the open collector input from the BMS. Basically it wakes up, turns on its internal pull up, reads the line, turns off the pull up, and takes action. This dramatically lowers power. A protection diode will probably also be included in the final design.
There will probably be some TVS diodes sprinkled about.
bah... my frigging arms are getting tired. I cant type anymore. Look, Junior approves! (that is Lukes equipment in the background)
Ok - that is it in a nut shell. I am here looking for input from experienced designers. You have a part you want to point me to? You have a concern? Question? Basically I am showing my cards here... anyone can feel free to steal any part of this design - since as of now it is clearly open source. In return all I hope for is that one or two people can help me out. Every little bit helps.
-methods