Toyota Rav4 EV Forum

It is currently Mon Jul 16, 2018 5:09 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Datalogging EV-CAN Bus Information through OBDII
PostPosted: Fri Dec 14, 2012 2:27 am 
Offline

Joined: Wed Nov 14, 2012 9:50 pm
Posts: 3941
Location: San Diego
We opened up the communications "Gateway computer" module at the left rear of the Rav4, and logged data for a future "energy level" instrument.


Image



Here is the Tesla proprietary connector. Pins 6 and 14 carry all the good stuff. The purple-ish connector is the antenna for the cellular phone:


Image



Here's a picture of the hardware. It has an AT&T SIM card on it, cellular phone, and other assorted hardware to communicate the data in the car to Tesla and Toyota:


Image



We did log off the OBD2 port under the dash, but it doesn't appear to have any EV data:


Image



Here's a stream of data from "102". The data at the left is the time in milliseconds. This stream went up numerically (in hexidecimal) as the car charged, and stopped when the charge was interrupted. We also did a drive with all the equipment connected to log that data as well:


Image


Top
 Profile  
 
 Post subject: Re: Datalogging EV-CAN Bus Information
PostPosted: Fri Dec 14, 2012 2:57 am 
Offline
Site Moderator

Joined: Wed Nov 07, 2012 6:50 am
Posts: 1213
Location: San Jose, CA
Hi Tony. If I may ask, what was the purpose of what you were doing? ANd what future "energy level" instrument are you referring to?

_________________
Owner of 2012 Classic Silver RAV4 EV, 2012 Silver VOLT & 2008 Red C6 Z06
EMW JuiceBox Basic (fully optioned & customized) EVSE L2 charging station
https://enlighten.enphaseenergy.com/public/systems/TRVh161550


Top
 Profile  
 
 Post subject: Re: Datalogging EV-CAN Bus Information
PostPosted: Fri Dec 14, 2012 3:41 am 
Offline

Joined: Wed Nov 14, 2012 9:50 pm
Posts: 3941
Location: San Diego
Dsinned wrote:
Hi Tony. If I may ask, what was the purpose of what you were doing? ANd what future "energy level" instrument are you referring to?


We will have an instrument similar to those built for the Nissan LEAF that will display, amongst other things, a percentage of usable power left, and whatever info that folks find interesting.

It makes for a much easier time determining range. The percentages at the left of my range chart will actually mean something 8-)



Image


Image


Top
 Profile  
 
 Post subject: Re: Datalogging EV-CAN Bus Information
PostPosted: Fri Dec 14, 2012 10:58 pm 
Offline
Site Moderator

Joined: Wed Nov 07, 2012 6:50 am
Posts: 1213
Location: San Jose, CA
Looks like a neat gadget Tony. Are you planning to share you knowledge on how to make such a thing with the forum members here, or is this something you plan to sell on Ebay or something commerically? Will it be easy to install?

_________________
Owner of 2012 Classic Silver RAV4 EV, 2012 Silver VOLT & 2008 Red C6 Z06
EMW JuiceBox Basic (fully optioned & customized) EVSE L2 charging station
https://enlighten.enphaseenergy.com/public/systems/TRVh161550


Top
 Profile  
 
 Post subject: Re: Datalogging EV-CAN Bus Information
PostPosted: Sat Dec 15, 2012 1:17 am 
Offline

Joined: Wed Nov 14, 2012 9:50 pm
Posts: 3941
Location: San Diego
Dsinned wrote:
Looks like a neat gadget Tony. Are you planning to share you knowledge on how to make such a thing with the forum members here, or is this something you plan to sell on Ebay or something commerically? Will it be easy to install?


The first one pictured, "LEAFscan", will be available soon at http://www.EVSEupgrade.com, however it has not been adapted (yet) to the Rav4.

There are several models and one kit on the market for a "Gidmeter" (the second picture in the post above). They all just plug into the OBD2 port, and you can put it anywhere you want. The port on Rav4, unfortunately, is in the left rear corner of the car. So, we either need to route one twisted pair from there to the dash area, or find the signal for pin 6 and 14 somewhere in that area to tap into. Since I plan to run a dedicated 12v to the trailer lights which will also power the fuel filler door light, I'll run a twisted pair with it.

The meter will show the usable energy in a percent, which will be particularly helpful in the Rav4 with no "fuel gauge" indications for anything above 80%.

Yes, we share all knowledge. We even encourage folks who are tech savvy to help us find and identify signals. What we do is download all the data streams (with a current Gidmeter), then using a program written specifically to do this called "CANDO", we try to match up the hundreds of signals to the various pieces of information.

Obviously, one of those bits of info that we want first is the Tesla report of battery capacity (which we may have already found). That will be the basis for our fuel gauge. In the Nissan LEAF, that information is based on an inductive coulomb counter, and reported in 80 watt/hour units. Therefore, a 24kWh LEAF battery would show 24k/80 = 300 "Gids".

Like the Rav4, it doesn't use all that 24kWh capacity, so at 100% charging, the LEAF shows 281 Gids multiplied by 80 = 22.48kWh stored. Therefore, we make 281 = 100% on the Gidmeter. Turtle mode comes on at about 3%, and the relay opens at 2% to disconnect the battery (dead on the road). So, the real formula for usable percent should be 281 Gids - 8 Gids at the bottom = 273 usable Gids.

There is energy expended to pull that energy out of the battery that will make the the total usable in a LEAF at 21kWh for a new condition, 70F or greater temperature battery. As the battery degrades, or is cold, the usable energy will be less, and reflected in the Gidmeter.

These are many of the same things I expect with the Rav4.


Last edited by TonyWilliams on Sat Dec 15, 2012 1:54 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Datalogging EV-CAN Bus Information
PostPosted: Sat Dec 15, 2012 1:37 am 
Offline

Joined: Wed Dec 05, 2012 11:20 am
Posts: 21
Location: Tustin, CA
Tony, I still have the Gidmeter from my traded in LEAF. Will I eventually be able to modify it to interface with the RAV4 EV or should I sell it and wait for the RAV4 EV Gidmeter?

_________________
Blue, VIN 1011
JdeMO, JESLA L2, Conti ProContact EcoPlus tires, Curt 13509 hitch+INH305 bike rack, Katzkin leather seats
Alpine PDX-V9 amp, Focal PS165 sp (f), Kicker 8" sub, JL Audio CL441 DSP
2016 Volt, 2011 Pleasureway Lexor RV, 3.2 DC KW Solar


Top
 Profile  
 
 Post subject: Re: Datalogging EV-CAN Bus Information
PostPosted: Sat Dec 15, 2012 1:51 am 
Offline

Joined: Wed Nov 14, 2012 9:50 pm
Posts: 3941
Location: San Diego
LastEmp wrote:
Tony, I still have the Gidmeter from my traded in LEAF. Will I eventually be able to modify it to interface with the RAV4 EV or should I sell it and wait for the RAV4 EV Gidmeter?


I would hold on to it....

:ugeek:


Top
 Profile  
 
 Post subject: Re: Datalogging EV-CAN Bus Information
PostPosted: Mon Jan 28, 2013 1:07 pm 
Offline

Joined: Fri Oct 12, 2012 8:10 am
Posts: 218
Location: Hermosa Beach CA
Any update on the Gidometer for the RAV?

_________________
Drove a RAV4 EV from October 2012 to November 2013
Driving a Smart ED since August 2013 and a Volt since December 2013.
Converting a VW to electric since April 2012
3.8KWhr Solar Panels on roof of home.


Top
 Profile  
 
 Post subject: Re: Datalogging EV-CAN Bus Information
PostPosted: Mon Jan 28, 2013 2:40 pm 
Offline

Joined: Wed Nov 14, 2012 5:10 am
Posts: 222
Location: Los Altos Hills, CA
Ampster wrote:
Any update on the Gidometer for the RAV?

According to Phil, there is an ethernet port on the box in the trunk. Conveniently, there is a power outlet (cigarette lighter right there). I would think the best way to do a gidometer is to add a router with wireless capability via the ethernet port to the box. Then add a wireless display to show the SOC. However, one need to decode the CAN bus (which is in the box where the proposed router is connected to).

_________________
Waidy Lee
www.waidy.com/ev
www.waidy.com/evse
www.waidy.com/EVSEextenders
www.waidy.com/solar


Top
 Profile  
 
 Post subject: Re: Datalogging EV-CAN Bus Information
PostPosted: Mon Jan 28, 2013 5:21 pm 
Offline

Joined: Wed Nov 14, 2012 9:50 pm
Posts: 3941
Location: San Diego
Sorry, I haven't worked on it at all. We have a OPENevse workshop coming up Feb 9, so maybe we'll look at it then.

My house is being painted this week, and I also decided to clean out the garage, paint the floor, install more charge stations, add lighting, blah, blah, blah.

Tony


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2, 3  Next

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Toyota Rav4 EV Forum - part of the MyElectricCarForums.com Group