Operation Mode:
The BMS sends operating information (Message 1) to charger at fixed interval of 1s. After receiving the message, the charger will work under the Voltage and Current in Message. If the Message is not received within 5s, it will enter into communication error state and stop charging.
CAN Communication
Speed: 250Kbps
Addresses
Messages
Message 1:
This is the message we send to the charger.
Sender: 0xF4 → BMS
Receiver: 0xE5 → Charger Control System
Rest of the Message: 0x1806
Priority: 6
R: 0
DP: 0 (fixed)
PF: 6
Message 2
This is the status message charger sends to us.
Sender: 0xE5 CCS
Receiver: 0x50
CAN Communication
MCP2515 is responsible for sending and receiving CAN messages.
SAE J1772 Standard Notes
J1772 Plug Pinout
Control Pilot PWM
Circuit:
Proximity Pin (PP) or Proximity Detection
page 18 of standard:
Proximity Sense:
GPIO Address: PA7
Design Options:
periodic ADC running always
periodic ADC only activated when the charger is powered (PB1)
Charging Operation:
car should be in park not neutral
we can either be in a undervoltage state, or neutral
we’re also charging from solar
need to have a threshold for opening the solar relays
that threshold is not necessarily the overvoltage fault
cells are 95% charged
whenever solar closed, battery has to be closed
we should always make sure
motor controllers must not be connected
when car’s in parking, mci should disconnect
unless we’re not in an “undervoltage charge state” and we’re in “park” we should be able to charge
After charging:
bms needs to send a taper message
bms needs to send a fully charged message
Richard’s Notes
Notes on Charger CAN Comm:
Receiving Data:
· Every second from BMS with CAN ID 1806E5F4
· 8 bytes of Voltage and Current requested
· If no valid CAN message, charger stops charging until valid CAN message received
Sending Data:
· Sends CAN message every second with Voltage, Current, and status information
· Source Address - BMS – 2244(0xF4)
Stats & Errors:
· Sends 2 messages, one to BMS and one to CCS
· Output Voltage and Current (2 Bytes each)
· Ex: if Byte = 1234 corresponds to 123.4V
· Status Flags (Byte 5)
· Each status takes a bit (uses 5/8 bits)
Hardware Failure | |
0: Normal | 1: Hardware Failure |
Temperature of Charger | |
0: Normal | 1: Over Temperature Protection |
Input Voltage | |
0: Normal | 1: Wrong Input Votage |
Starting State | |
0: Charger Detects battery voltage and starts charging | 1: Charger stays turned off (to prevent reverse polarity) |
Communication State | |
0: Normal | 1: Communication receive time-out |
Pre-Charging Safety Requirements:
· All Status Flags are 0
· Received valid CAN message from BMS (or CCS) 5 seconds or earlier
Controlled Relays & Hardware