Close
0%
0%

Toyota Camry Hybrid Glow up To Save The World

That's right, the Toyota Camry Hybrid is going to save the world. Don't believe me, follow along as an old 2007 transforms into awesome.

Public Chat
Similar projects worth following
This is gonna be big. Really big. When Toyota introduced the Camry Hybrid, they did something good, but fell just short of greatness. With a few additions, this is going to be awesome!

What is my progress so far?

  • April 24, 2024 - Built the half-bridge and tested it
  • April 7, 2024 - Built the isolated switch, mosfet and press fit footprints are good!
  • April 5, 2024 - Just got my AMC130M03 isolated ADC assembled and tested!  Yippee, code is on github
  • March 30, 2024 - Just got my hall effect current meter assembled and tested!  Yippee, code is on github

Okay, so the photo hints at an apocalypse, but the main inspiration for the project came from the local utility company.  The head of the company said we need to be ready for 72 hours without power because weather events are getting stronger.

So, what do I need? A super car that can be a generator, charge from AC or the sun.  Yes, that is a Camry Hybrid.  The electric motor on the Camry Hybrid is pretty good (>100 HP, Drive.ca Review).  I just need a bit more range, plug in charging, DC/AC output for powering my home, and some solar panels.  Then, the Camry will be awesome!!!

I looked into getting a generator, but they are bulky, and only roll on silly carts.  What if I could drive to the gas station in my generator?  Turns out, people already thought of this, and why it is not a standard feature on all hybrids is beyond me.

Not necessarily an endorsement, but please see Youtube Generator Example.  I think the top rated comment says it all:

"Having found this YouTube video several months ago, I took it as a weekend project and made everything according to Frank's specifications. (Mine is a 2013 Prius)  Everything worked fine, and I put it away -- ready for an emergency or power outage. 

Little did I know then how much would I use it, and how hard would it be put to a test. I live in San Juan, Puerto Rico. My diesel generator died on me during hurricane Irma. A few days later, hurricane Maria knocked down 100% of the island's power grid. Close to two months later, 80% are still in the dark (me included). Until I got my generator replaced, during a period of FIVE WEEKS I powered my fridge, several lights, electric fans, my PC, and chargers for several gadgets all with my Prius. 
Thank you Frank!!  @edgardomunoz6611 6 years ago"

So begins my search to first understand the hybrid setup, define the goals, and then work on the glow up!

What is the state of the world

This is my understanding of the blocks.  You have a gas engine (duh), an electric generator capable of about 8 kW output, an electric motor capable of about 30 kW electrical input, and a high voltage battery pack that can go up to about 308 V, measured to have a capacity of 6 Ah, or about 2 kWh.

What do I want?

I would like to add about 4.8 kWh of LiFePO4 batteries to increase the electric only range, enough for me, and not to break the budget.  I would like an AC charger on board so I can charge with 120 V.

I would like to add a simple DC/AC converter, and apparently, the best place is to connect it to the regular 12V battery, since the car will always monitor this battery and top up as needed.

Lastly, I would like to plaster on some solar panels to the hood, roof, and trunk to get a few kilometers per day.

What are my current goals for this project?

  • Cheaply measure the voltage and current for the existing battery pack
    • Design my own circuits for this
  • DC-AC inverter, either off of the 12V pack (a-la-youtube video), or off of the ~300 V pack
    • Off-the-shelf parts
  • Add 4, 12V 100 Ah LiFePO4, to increase the range
    • This will require a battery holder, and DC-DC converter to be able to help charge the main pack
    • I think this will be a custom design
    • I think I'll probably use Renogy batteries - replaced easily and quickly, to keep costs down and keep it simple
    • Will need cooling for discharge, and possibly for charging...
    • Home charger for the LiFePO4 to be able to plug in at home...
  • Solar panels on the car to charge the LiFePO4 batteries and provide extra range

dept_energy_camry_hybrid_test_batterycamry7129.pdf

Sourced from: https://avt.inl.gov/sites/default/files/pdf/hev/batterycamry7129.pdf

Adobe Portable Document Format - 1.65 MB - 03/17/2024 at 04:43

Preview
Download

Toyota_Camry_Hybrid_camryhv.pdf

Sourced from: https://techinfo.toyota.com/techInfoPortal/staticcontent/en/techinfo/html/prelogin/docs/camryhv.pdf

Adobe Portable Document Format - 1.96 MB - 03/17/2024 at 04:41

Preview
Download

  • Half Bridge Driver

    sciencedude19903 days ago 0 comments

    Built a half-bridge driver based on the MPS MP18021.  I like the MP18021 because the SW pin is tough.  It can go to -5 V, in case there is something pulling down the switch voltage.  Also, it has the diode built in for the VDD to BST path, so that saves a part.

    I drove the INH and INL from a raspberry pi pico (PIO programmed), and tested it with 2 Ohms of resistance.  The 8x8 powerpak transistors have quite a lot of gate capacitance, so you can drive a few hundred kHz, but beyond that the MP18021 starts getting kind of warm.  A few MHz and it will go into thermal shutdown.

    I am debating a full bridge versus a flyback design for the DC/DC converter, and I think I'll probably go with the flyback, but building the half bridge is kind of fun since you can re-purpose them for other projects like motor drivers.  At the bottom was a TC620CVOA for checking the board temperature, and that worked as expected.  It is a super simple chip - if the temperature passes a setpoint, it outputs a voltage.  That is the third wire going to the raspberry pi pico for monitoring (the TC620VCOA is powered from 12 V, so there is a voltage divider at the output to match with the 3.3V of the pico).

  • High Current Isolated Switch

    sciencedude199004/08/2024 at 03:11 0 comments

    I wanted to build a high current isolated switch, and also test the footprints for the switching mosfet (Vishay SQJQ130EL, 445 amps) and the Wurth S93513 press fit screw terminal (192 amps).

    It is based on a Broadcom ASSR-V621 dual channel photovoltaic MOSFET driver.  You bias the LED on one side of the driver package, and on the other, the photodiodes generate ~7 V for the mosfet gate source voltage.  In my circuit, I chained together the photodiodes so that you get ~14 V for Vgs, to reduce the on-state resistance.

    The mosfets are placed source-to-source to prevent the source-drain diodes from conducting.

    Here is a photo of the board with no mosfets (to double check the polarity of the gate voltage, and check the fit on the press terminals).

    Here is the board with the mosfets populated...

    With the 3.3 V applied to the one side of the switch board, and 2 k resistor to ground, I measured the delay/rise time to turn on the fets.  At about 7 ms, and an expect capacitance of 40 nF for the mosfets, this is about right.

    Turn off time was about 262 us, which was a little better than expected.

  • Code for the raspberry PI pico, AMC130M03 evb

    sciencedude199004/06/2024 at 20:08 0 comments

    I have posted the code for the raspberry pi pico that interfaces with the AMC130M03 evb.  Please see github.

  • High Voltage Isolated ADC - AMC130M03 - Alive!

    sciencedude199004/06/2024 at 02:54 0 comments

    Got my AMC130M03 eval board from oshpark.  Assembled the board and...yippee - it worked.

    Here is the setup on the bench.  I ran extension cords from walls plugs that were on different lines (i.e., L1 and L2) from my house mains.  The extension cords plug into the resistor chain voltage divider.  It has 5x100k resistors, and then 1k resistor to neutral (so, V_out = V_in * 1k/(1k + 500k)).  The reduced voltages are fed to ADC0 and ADC1 of the AMC130M03.

    The AMC130M03 has an isolated DC-DC converter that you feed a 8 MHz signal to.  So, I created a PIO on the pico that outputs the 8 MHz tone.

    After programming the AMC130M03 through the SPI, I can then capture ADC samples every millisecond from the L1 and L2 voltages.  From the ADC samples, you can calculate the actual voltage knowing the PGA gain of the AMC130M03, and the resistor divider, so you get the plot below.

    Each line is ~170 V peak, and the two lines are out of phase as expected, joy!

    So, now I can measure high voltages with an isolated ADC!  The full scale range of the ADC is +/- 1.2 V, so +1.2 V with the voltage divider would be 601.2 V, so plenty of range for the Camry pack voltage (expected to be around 300 V).

  • Code for the Hall Effect Current Sensor

    sciencedude199003/30/2024 at 18:04 0 comments

    The code for the hall effect current sensor has been posted on github.  It is a micropython file for executing on a raspberry pi pico w.

    The main idea of the code is that a timer executes every 1 millisecond.  Each time the timer executes, it will take an ADC measurement.

    There is a simple wireless webserver, so you put the sensor wherever you want, and then ask it to take some measurements, and then download them.

    To ask it to take the measurements, you can use a browser and set the URL to ?GO_ADC?

    Then, you can get the measurements (256 samples, spaced at 1 millisecond) with ?ADC_VAL?

    Then, you can copy and paste into your favorite plotting tool.

    I also added a triggering function so that, when activated, it will start taking data if the ADC reading is above or below a threshold (you can ask for the values with ?TRIGGER_HIGH_SET? and ?TRIGGER_LOW_SET?, and set them, for example, with ?TRIGGER_HIGH_SET=25000TRIGGER_HIGH_SET?

    The code also supports serving up webpages, pictures, etc.  For example, I created "favicon.ico" (which is just a .png file called favicon.ico that is stored on the raspberry pi pico.

  • The $2 Hall Effect Current Meter is Alive, and can measure +/- 426 Amps

    sciencedude199003/30/2024 at 17:48 0 comments

    Got the hall effect current meter PCB back from OSHpark, tested it out on my AC mains, and it worked!

    So, I wanted to be able to measure the current in the Camry and other parts cheaply, and without contact.  TI makes a nice bipolar hall sensor with high bandwidth, TI DRV5053.  So, I created a simple PCB and got it made at OSHpark.

    I assembled it and snapped it into a 3D printed holder, and clipped it next to my L1 mains line.

    The hall effect sensor is held approximately 8 mm away from the center of the conductor.  At that distance, 1 Amp in the wire will give rise to 2.61x10-5 T at the sensor.  For an online magnetic field calculator, see Hyperphysics.  The ADC was a raspberry pi pico, with a reading of 0-65536 from 0 to 3.3V.  Luckily, the TI sensor will output 0 to 2 V, so within the range of 0 to 3.3 V.  For no magnetic field, you get 1 V out of the sensor, for 2 V that means a magnetic field of 0.011 T, and for 0 V, that means a field of -0.011 T (sensor is bipolar).  At 0.011 T, that would be a current ~426 Amps.  Pretty good for a $2 sensor.  :)

    Here is a plot of the readings.  The top figure shows the sensor reading for the sensor in free space.  The raw ADC reading is about 21000 (i.e., 1V in).  The next reading is the sensor by my mains L1 conductor, with the small background load of the house.  The bottom graph is when I turned my oven on.

      Converting raw ADC values back to Amps in the cable gives:

    So, roughly 40 Amps peak to peak, or 20 Amps peak, or 14 Amps RMS.  14*240 = 3360 W, so pretty reasonable for the oven.

  • High Voltage, High Current Measurement

    sciencedude199003/17/2024 at 04:53 0 comments

    Before jumping in and buying the Camry, first I wanted to reproduce the high voltage and high current measurements in the US Department of Energy document.  So, I need to measure ~300 V for the hybrid battery pack, and about 130 Amps for discharge, and -100 Amps for charging.

    First, I need a big resistor divider that can withstand that.  A single resistor will break down, so I'm going to try with the snake of 1210 resistors so that no one resistor gets a large voltage.  Testing will be done on my regular AC, because I have a split plug, I can get 240 RMS, or 339.4 V pkpk between the phases...

    Here is the isolated ADC test board - ready to be battery powered so completely floating for the high voltages and transients.

    For measuring current, I was going to try a TI DRV5053 placed right beside a current carrying conductor, and just measure the tiny field surrounding the cable...

View all 7 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates