General Disclaimer:   (HV) (DC) injury or death hazard,   use at your own risk,   may void warranty.

Difference between revisions of "Prius PHEV TechInfo"

From My wiki
Jump to navigation Jump to search
(→‎Functions: dynamic resistance, temperature)
Line 19: Line 19:
 
The traction battery includes a Battery ECU (Electronic Control Unit). This unit does the following:
 
The traction battery includes a Battery ECU (Electronic Control Unit). This unit does the following:
 
* It calculates the battery's S.O.C. by integrating the current ("Coulomb counting") and resetting it to 100 % when the battery voltage surpasses a certain level
 
* It calculates the battery's S.O.C. by integrating the current ("Coulomb counting") and resetting it to 100 % when the battery voltage surpasses a certain level
* It controls its cooling fan
+
* It reads the pack temperature using 3 thermistors, and the air intake temperature with a 4th thermistor
* It protects the battery by limiting its current (even down to 0), if the SOC or temperaure are at their limits, or if it detects a fault
+
* It controls its cooling fan (variable speed)
 +
* It calculates the battery dynamic resistance (delta voltage over delta current). This resistance increases with battery aging
 +
* It protects the battery by limiting its current (even down to 0), if the SOC or temperature are at their limits, or the dynamic resistance is too high, or if it detects a fault
 
* Broadcasts to the rest of the vehicle, through the CAN bus, the following data:
 
* Broadcasts to the rest of the vehicle, through the CAN bus, the following data:
 
** Voltage
 
** Voltage
 
** Current (charging or discharging)
 
** Current (charging or discharging)
** Temperature
+
** Two temperatures
 
** Maximum current it's able to provide (discharger)
 
** Maximum current it's able to provide (discharger)
 
** Maximum current it's able to accept (charge)
 
** Maximum current it's able to accept (charge)
 
** State Of Charge
 
** State Of Charge
 +
** Any fault codes (DTCs)
  
 
====Battery voltage====
 
====Battery voltage====

Revision as of 06:08, 15 July 2006

Technical information on the PRIUS useful when designing a conversion.

Original generation

This is the original 4-door sedan:

  • 1997 Japan only release, chassis NHW10 (Gen 1)
  • 2000 worldwide release, chassis NHW11 (Sometimes also called Gen 1, sometimes Gen 2)

Present generation

This is the 5-door hatchback, sometimes called Gen 2, sometimes called Gen 3:

  • 2003 worldwide release, chassis NHW20.


Traction battery

Functions

The traction battery includes a Battery ECU (Electronic Control Unit). This unit does the following:

  • It calculates the battery's S.O.C. by integrating the current ("Coulomb counting") and resetting it to 100 % when the battery voltage surpasses a certain level
  • It reads the pack temperature using 3 thermistors, and the air intake temperature with a 4th thermistor
  • It controls its cooling fan (variable speed)
  • It calculates the battery dynamic resistance (delta voltage over delta current). This resistance increases with battery aging
  • It protects the battery by limiting its current (even down to 0), if the SOC or temperature are at their limits, or the dynamic resistance is too high, or if it detects a fault
  • Broadcasts to the rest of the vehicle, through the CAN bus, the following data:
    • Voltage
    • Current (charging or discharging)
    • Two temperatures
    • Maximum current it's able to provide (discharger)
    • Maximum current it's able to accept (charge)
    • State Of Charge
    • Any fault codes (DTCs)

Battery voltage

Voltage vs State Of Charge at various temperatures
Voltage vs State Of Charge at various discharge currents

If you replace the stock battery, you need to know its voltage, because that's what the vehicle expects. If you add a pack to the stock battery, you need to know its voltage, in order to connect the two together, somehow.

The nominal pack voltage is: 168 cells x 1.2 V = 201.6 V

The pack voltage depends on SOC, temperature and current.

  • The voltage depends on State of Charge and on temperature. It is affected by cold, but not much by heat; so, for temperatures abiove 20 C, use the 20 C curve.
  • The voltage depends on State of Charge and on discharge current. The voltage is not affected by low currents; so, for current below 1.3 A, use the 1.3 A curve.
  • The maximum charge voltage is 1.8 V / cell.
Therefore, roughly, the estimate pack voltage range is:
Max brake No current Max drive
>=20 C, 0% DOD 302 V 237 V 168 V
-10 C, 80 % DOD 302 V 160 V 126 V
So, the estimated overall voltage range is:
Min Nom Max
126 V 202 V 302 V

Though, Hybrid Interfaces reports a range of 165 to 270V.

See also Toyota Prius Battery Specs

Reconnecting traction battery

  • When working on the HV, remove the orange Service Plug on left end of the battery pack
  • After plugging the orange Service Plug back in:
    • Make sure to slide the Service Plug's handle all the way down. If you don't do this, you can't put the car in "Ready"
    • Disconnect the negative of the 12 V battery for 10 s, reconnect. If you don't do this step, the /!\ symbol will appear on the dashboard, and the car with an explamation point will appear in the Multi-Function Display:
    • Calibrate the "Auto" function of the driver's window. If you don't do this, you can't open or close the window all the way with the Auto switch.
      • Open window half-way
      • Pull and hold window switch up until window is all the way up, and hold an additional 1 second or more

Cabling to traction battery

Harness to the battery

The harness to the traction battery has 3 tails, each with a connector

  • To Battery ECU - power, communication, fan control
  • To the orange Service Plug - to detect if the Service Plug is fully plugged-in
  • To the System Relays - to drive the relays that connect the traction battery to the inverter


Pin-out of connector on Battery ECU

Battery ECU (electronic Control Unit)
Pinout:

  • POWER
    • Gnd - to chassis
    • AM - 12 V, always on, for memory retention
    • IGCT - 12 V when the car is in the "READY" mode
    • IG - 12 V when ignition is on
  • COMMUNICATIONS
    • CANH - CAN bus High
    • CANL - CAN bus Low
  • BLOWER
    • VM - monitors fan voltage, 2 to 12 V
    • SI - variable duty cycle (PWM) square wave to control fan speed
    • FCTL1 - drives the relay which in turn powers the fan

Service Plug sensor.
Two pins. Shorted when the Service Plug is fully plugged-in

System Relays
Four pins:

  • Common
  • System relay 1 (precharge resistor)
  • System relay 2 (traction pack +, bypassing precharge resistor)
  • System relay 3 (traction pack -)


CAN bus

If the conversion will replace the stock Battery ECU, it must talk directly with the vehicle CAN bus.

CAN Tools

  • CAN-View - uses the vehicle's MFD (Multi Function Display). Presently not compatible with the 2006 Prius
  • A generic adapter between the CAN-bus and a PC. It is convenient to use a USB port, though the serial or parallel or Ethernet port may be used as well. Examples of USB adapters:
  • These adapters have a DE-9 DSUB connector, so you'll also need an adapter to the Prius' OBD connector. For example:
  • The Prius' OBD (On Board Diagnostics) connector is located under the dashboard, below and to the right of the steering wheel, facing down.
  • Alternatively, tap into the CAN bus directly. Use a short cable to the CAN adapter.
    • CANH - black wire
    • CANL - white wire
    • GND - chassis

CAN bus protocol

  • The CAN bus is active only when the vehicle is in READY mode, and for a few seconds after the end of the READY mode.
  • baud rate: 500 kbits/s (if you use the wrong rate, the vehicle will complain and store a DTC fault until the DTC codes are cleared)
  • Standard: CAN 2.0A ("standard CAN", 11-bit identifier)
  • Remote frames: not used
    • this means all the data are volunteered and none are requested; that is, that every component on the vehicle broadcasts its data periodically; no component puts out requests for data

Battery ECU messages

The Battery ECU (Electronic Control Unit) broadcasts the following messages.

It appears that that's all the Battery ECU is expected to do. It appears that this ECU only needs to talk, and doesn't need to listen. That is, it doesn't appear that it is expected to do anything about any messages that are placed on the bus by other devices.

It is known that the battery ECU is able to protect itself by stating the maximum current it may accept or may provide. It is not known if it has a separate way of protecting itself in case of fault, a way that forces the rest of the vehicle not to use the battery.

(Thanks to Attila Vass for pointing to the right codes). The following data were seen in a 2006 Prius.

In this table, numbers in parentesis (#) refer to the notes just below the table.


ID (hex) Period
[ms] (1)
No of
data
bytes
byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7
03Bh 8 5 Current (2) Voltage (3) CRC(4)


3CBh 100 7 discharge limit (5) charge limit (6) SOC (7) min temp (8) max temp (9) CRC(4)
3CDh 100 5 fault code (10) fault code (10) Voltage (3) CRC(4)

Notes:

  1. How often this message is repeated
  2. Pack current: 12-bit, signed (>0 = discharge, <0 = charge) [0.1 A]. Examples:
    1. 0F 80 = -128 decimal = charging at 12.8 Amps
    2. 00 00 = 0 decimal = no pack current
    3. 00 80 = 128 decimal = discharging at 12.8 Amps
  3. Pack voltage: 16-bit, unsigned [V]. Note that 2 different messages have this data. Examples:
    1. 00 DC = 220 decimal = 220 Volts
    2. 01 00 = 256 decimal = 256 Volts
  4. CRC (Cyclic Redundancy Code): checksum calculated from the data in all the previous bytes; used to check for errors in the data. Unknown algorithm
  5. Maximum discharging current that the pack can handle: 8-bit unsigned, [A]. A.k.a.: CDL (Current Discharge Limit). Note: CDL and CCL may be swapped. Example:
    1. 69 = 105 decimal = 105 Amps
  6. Maximum charging current that the pack can handle: 8-bit unsigned, [A]. A.k.a.: CCL (Current Charge Limit). Note: CDL and CCL may be swapped. Example:
    1. 7A = 122 decimal = 122 Amps
  7. State of Charge: 16-bit, unsigned [0.5%]. Examples:
    1. 00 4F = 79 decimal = 39.5 % full (stopped, this is when the motor turns on to start charging the pack)
    2. 00 64 = 100 decimal = 50 % full (stopped, this is when the motor turns off after charging the pack)
  8. Lowest temperature reading of any sensor: 8-bit signed, [˚C]. Example:
    1. 18 = 26 decimal = 26 ˚C
  9. Highest temperature reading of any sensor: 8-bit signed, [˚C]
  10. See table below for DTCs (Fault codes)


General Disclaimer:   (HV) (DC) injury or death hazard,   use at your own risk,   may void warranty.

HV (High Voltage) DC (Direct Current) Warning: Traction Battery Packs, Motors, Chargers, and other HV sources could cause serious injury or death if proper precautions are not taken while working on or around such High Voltage Direct Current sources.

Use this information at your own risk: There is no warranty expressed nor implied and we are not liable for any of your past, present, nor future actions. Even should you perform these modifications to the letter you could still damage any number of components in your vehicle causing it to no longer function. Even if it appears to function properly your actions may cause it to self destruct with collateral damage to surrounding properties other than your vehicle. By utilizing these ideas and instructions in an attempting to enhance national security, reduce gas consumption, vehicle "emissions", your carbon footprint, or smog, you do so at your own risk & peril.

Warranty: In performing some of these modifications you may void your warranty with the vehicles manufacturer.

See also our My wiki:General disclaimer