Marc's Public Blog - Electronics Hacking


All | Aquariums | Arduino | Btrfs | Cars | Cats | Clubbing | Computers | Dining | Diving | Electronics | Exercising | Festivals | Flying | Halloween | Hiking | Linux | Linuxha | Monuments | Museums | Outings | Public | Rc | Sciencemuseums | Solar | Tfsf | Trips



Table of Content for electronics:

More pages: September 2023 August 2023 June 2023 May 2023 May 2020 January 2020 December 2019 April 2019 January 2019 June 2018 May 2018 June 2017 April 2017 May 2016 February 2016 November 2015 October 2015 August 2011 July 2011 May 2011 June 2010



2019/12/01 Using a Tesla Model 3 as Emergency Power Source In Case of Grid Failure
π 2019-12-01 01:01 in Cars, Electronics, Ncars
Iwas interested in getting a decent amount of amps from my car while it's parked at home if I'm in a power emergency situation (i.e. no power) for maybe 2-3 days (as sadly is now a new "normal" in california).

I knew that this could void the warranty on some parts of the car. I was ok with that. Tesla wants me to buy a powerwall, but I think powerwalls are stupid.

I'd need to spend $30 to $40K in powerwalls to get the same amount of energy I already have in my car and I already paid for. Sorry, but I'm not spending that much for something I may need once every few years. Load shifting my solar in california is otherwise a straight loss, and PG&E forces some silly rules about not allow using powerwalls for time of use power arbitration if you accept the buying credit for them. You get penalized for helping take the peaks off the grid, yeah bureaucracy!
If tesla sold a powerwall that would allow using your car as a battery source for emergencies only (car batteries are not designed for daily cycling like powerwalls), I'd be super interested, but they do not, so I decided to make my own answer.

I knew that I could probably only get 2-3000W out of my car, honestly for emergency use (a couple of fridges and essential equipment), that's good enough. Sure, it wouldn't power all my house lights, or even my furnace for heating (which happens to use over 1000W just to run the fans), but eh, it's for emergency use only, so good enough.

Plugging into the standby 12V battery

What I knew from the beginning is that the battery in the car is way too small to power a proper size inverter (I have a 3000W one to be safe but honestly I only plan on using 1000W peak for my fridge and an average of 200W otherwise when the fridge is on). What I didn't know is that the Model 3 only provides trickle charge power to the battery, enough to charge it for normal use in the car, but not enough to recharge it if you plug a reasonable inverter into it (it will discharge quicker than it can recharge).

My plan was to connect a big GLA 12V battery in parallel with the car's battery, so that it could absorb big peaks and buffer a it longer in case the car's battery recharge didn't kick in quickly enough. I did however confirm that the car's DC-DC system only recharges the standby battery at a slow rate, so it was not adequate for my need.

Plugging into the cigarette lighter adapter

For some uses, it would work to use some DC-DC charging system to recharge a big 12V battery external to the car and try to keep the car awake as much as possible so that the 12V CLA port stays on. The only issue with that plan is that you can only get about 12A sustained from it, so if you are planning on using over 100W average, this will not work in the end. In my case, my fridge was more in the 200W range.

Tapping into the car's DC-DC system

This is where things get interesting. The car's battery pack is in the 400V range, and 400V DC will definitely kill you (DC is actually worse than AC), so don't even think about messing with that unless you are truly a trained professional.
For the rest of us, what you need to know is that the car has a DC-DC converter that turns 400V into 14V DC. This is used to power the car's systems when it's not sleeping, as well as recharge the small 12V battery that keeps things alive when the car is asleep. The idea is to tap directly into that 12V system which I'm told can provide up to 200A/2000W (which converted to 120V is really only 20A). A few things to note:
  • The 12V tap is available under the rear seats which you can remove by pushing to clips sideways
  • Connecting to ground is easy, connecting to the 12V pole is a bit more tricky. It's best to leave the current cable in there as it needs a perfect connection to conduct all the amps it's meant to carry. You can however add a 2nd connector on top of it an add a second nut on top (the bolt it long enough for this, and it seems to be purposely so)
  • If the DC-DC senses a short, it will shut down to protect itself. This is good, but also bad. The problem is that after it shuts down, it doesn't reset easily, or at all. Once it's shutdown, your standby 12V battery will discharge without being recharged, until it dies. You can recharge it with a 12V battery charger, but obviously this is only a temporary measure
  • If your DC-DC converter does not reset, you need to disconnect the 12V battery entirely, causing the entire car to shudown and reset. When I did that, my DC-DC converter came back online
  • Where it gets interesting, is that inverters come with a big capacitor to allow for transient loads. Those capacitors will take almost infinite energy when you connect them, causing a big spark, and looking like a short, causing the very undesirable shutdown explained above.
  • The solution is to wire a big resistor in front of your inverter so that it can charge its capacitor slowly
  • Then add a 200A relay to bypass the resistor when the inverter is 'charged'. The relay can be powered by connecting it to the inverter itself on the 12V side, making it so that when the capacitor is charged, the voltage across the inverter poles is high enough to actuate the relay and bypass the resistor.
  • The 2 white holes are where the clips that you need to release. are located. You can also see the black and red tap points:


    The Nut on top of the positive bolt under the seat

    You could unscrew the existing nut and put your wire there, but it's better not to disconnect the car's 12V power, but there is enough space to put your wire and a 2nd nut on top. You need to get an M8x1.25 (thanks Zack for measuring this).

    Building it up without resistor and protection relay

    Some inverters are actually polite and do not grab 200A+ as soon as you connect the wire. If you have a spare battery, see if the inverter creates a spark when you connect it the first time. If it does, it's bad news and will want to slow down the current with a resistor, and which is tricky (see below). It could be 1 Ohm, or 100 Ohms, really depends on the inverter.

    If you do not see a spark, you may just be able to connect the inverter dirctly to your car with just wires (although if that doesn't work, it will trip the DC-DC converter in the car, and require a full car reset to bring it back online).

    Building it up

    If you do have a spark when connected to a battery, you'll have to play trial and error with resistors. If the resistor is too big, too much voltage will drop, you'll never get 12V across the inverter and the relay will never activate (which is what you seem to have). If the resistor is too low, too many amps will flow and the DC-DC may trip, requiring the full reset trip. I used this:
  • 2000W pure sine wave inverter: https://www.amazon.com/SUDOKEJI-Inverter-2000W-Display-Outlets/dp/B07RWHN22W
  • 3000W NOT pure sine wave (cheaper and probably good enough for most loads): https://www.amazon.com/gp/product/B07FK3M6BB
  • 200A 12V relay: https://www.amazon.com/gp/product/B01MYPTVJD
  • 150 Ohm 25W resistor: https://www.amazon.com/gp/product/B07C1VGNFF . Ok, this one is tricky, maybe your inverter will require a 50 Ohm one, or a 25 Ohm. There is no right answer that works for all. You could buy 4 or 6, and by putting them in parallel (4 will drop 150Ohm to 32 Ohm, 6 will drop it down to 25 Ohm).
  • Optional 200A hall sensor meter: https://www.amazon.com/gp/product/B07D35MFBQ
  • Originally I tried those:

  • 100W 1.8Ohm: https://www.amazon.com/gp/product/B01N0XZN1F/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1 (resistor was too small and the inverter charged too quickly, tripping the DC-DC conerter) . But as said above, 150 Ohms may be too much, so you may have to do trial and error as explained above.
  • Optional 100A energy meter: https://www.amazon.com/gp/product/B013PKYILS/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
  • What happens is:

  • battery gets connected or DC-DC system turns on
  • resistor limits current and starts charging the capacitor in the inverter, slowly bringing the voltage across its poles from 0V to 12V
  • voltage across the inverter starts rising until 10V or whatever
  • once it's enough, the relay is energized and bypasses the resistor. If the resistor it too high, you will not get 12V and this step never happens. you can use a voltmeter to check. If that's the case, add resistors in parallel until it works.
  • now 200A can go to the inverter and no spark/current inrush was created, and your DC-DC converter doesn't shutdown when it turns on
  • This shows the current meter shunt connected to the bypass relay (which is powered by the connectors on the inverter side). You then see the thick 100W resistor connected in parallel with the relay. This allows current to flow more slowly and ramp up the connection:




    I tested a 1300W microwave which worked without issues, so did my fridge and other devices. The pure sine wave inverter is very important for a microwave, but a cheaper inverter worked well enough for my fridge and basic loads.

    Since we're talking about currents of 100A or more, we need to talk about wire gauge. The inverter I got came with 10AWG cables of about 1m. These cables are insufficient for 100A (never mind 200A), but in real life will mostly work for short distances and as long as you don't use the full power continuously (which could technically heat up the cable enough to melt its insulation and cause a short eventually). In my tests with 100A, I lost 0.7V due to inadequate wiring:

  • 0.25V lost in each of the two 10AWG cables (good quality)
  • Extra wire from relay to inverter lost 0.06V
  • 200A relay only lost 0.06V
  • 100A shunt for power meter lost 0.1V (and gets warm)
  • Given that the car outputs 13.5 to 14V, this drop is not big enough to matter since the inverter works all the way down to 10V or so, but be mindful of potential heat. Here is the end result:



    Keeping the DC-DC system awake

    One thing that you still need, it to keep the car from going to sleep if you want the DC-DC converter to stay on. Thankfully a recent software update added camper mode. You can just go in the climate screen/fan icon, set the car in park, and set 'keep climate on' to 'Camp', turn off AC and set the temperature to something low in order to save batteries (i.e. not waste the batteries into climate control).
    Another way to keep the car awake is to turn on sentry mode. I think the newer software has sentry mode that uses parking sensors only instead of cameras and computers to analyse frames (if you have parking sensors, not all cars do). I recommend you play with different modes and see if one works for you with minimal battery use
    If you know of a more battery efficient way to keep the DC-DC system on without having to run climate or even having the control screens on, let me know (contact Email link at the bottom of this page). Hell, if you build one and get it working, shoot me an Email too :)

    Backfeeding your house

    If you really know what you're doing, you could use this with a custom made male-male outlet, to backfeed one or both phases of your house (it won't power anything 240V of course). The advantage is that you don't have to run extension cords and power existing lights in your house. If you do this, you must carefully disconnect utility power so that you don't backfeed the grid, as well as potential solar panels that could decide to sync with your inverter and feed more power than you're using, causing other issues you don't want to deal with. Of course, you'll find that 1000-3000W may not be enough power unless you do careful load shedding
    I'm not going to give more details because there is definite potential for things going wrong in many ways, but if you absolutely know what you're doing, there you go...

    Discussion Threads

    https://teslamotorsclub.com/tmc/threads/how-many-amps-can-you-get-from-the-12v-system-for-emergency-situations.178079/page-3#post-4371607 https://teslamotorsclub.com/tmc/threads/aftermarket-sub-woofer-amplifier-installation-using-dc-dc-12v-power-source.149582/page-2#post-4337510 https://teslamotorsclub.com/tmc/threads/master-thread-powering-house-or-other-things-with-model-3-12v-battery.140567/page-4#post-4371639

    More pages: September 2023 August 2023 June 2023 May 2023 May 2020 January 2020 December 2019 April 2019 January 2019 June 2018 May 2018 June 2017 April 2017 May 2016 February 2016 November 2015 October 2015 August 2011 July 2011 May 2011 June 2010

    Contact Email