Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

User presses the power button and the car goes on the Aux power state. 

  • Note: won't need to check DC-DC here.
  • Todo: do the sequencing here too...

Possible Outcomes

ConditionOutcome
Aux BMS indicates a fault.Car won't turn on, all of the boards other than AUX BMS will be off. 

Power On (Main):

Happy Path:

...

  1. User holds the brakes down.
  2. Pedal Board sends a message to the Centre Console.
  3. Centre Console receives the message and now knows that brakes are pressed.
  4. User presses the power button.
  5. Centre Console receives power button press, and will begin the power-up process.
  6. Centre Console sends a message to Front Power Distribution to turn on Driver Display.
  7. Centre Console sends a message to Aux BMS/Power Distribution to ensure we have enough voltage to close the relays. 
  8. Aux BMS/Power Distribution says that there IS ENOUGH CHARGE.
  9. Centre Console sends a message to Rear Power Distribution to turn on BMS Carrier.
  10. Rear Power Distribution turns ON BMS Carrier, checks if there's no faults.
  11. BMS Carrier tells Centre Console that it's UP.
  12. Centre Console asks BMS Carrier for the state of the batteries and relays.
  13. BMS Carrier checks the state of main battery (includes making sure battery relays are open), state is OK
  14. BMS Carrier responds to Centre Console.
  15. Centre Console sends a message to Rear Power Distribution to turn on Motor Controller Interface/Pre-Charge.
  16. Rear Power Distribution turns ON Motor Controller Interface/Pre-Charge, checks if there's no faults.
  17. Motor Controller Interface/Pre-Charge tells Centre Console that it's UP.
  18. Centre Console tells Motor Controller Interface/Pre-Charge to check the status of cable connections. 
  19. Motor Controller Interface/Pre-Charge tells Centre Console that cable connections are okay. 
  20. Centre Console asks Motor Controller Interface/Pre-Charge for the state of the motor relays.
  21. Motor Controller Interface/Pre-Charge responds to Centre Console, state is OK.
  22. Centre Console sends a message to BMS Carrier to close the battery relays.BMS Carrier board checks for the state of batteries, and sends a message to the Centre Console board.
  23. Centre Console asks BMS Carrier if the battery relays got closed.
  24. Centre Console sends a message to Motor Controller Interface/Pre-Charge to start the pre-charge process.
  25. Motor Controller Interface/Pre-Charge WILL KNOW that pre-charge is done, will let Centre Console know that pre-charge is done.
  26. Centre Console asks Rear Power Distribution if DC-DC has connected, therefore it's getting its power from Main Battery. (Note: other boards are not powered yet!)
  27. Centre Console should ask both Rear Power Distribution and Front Power Distribution to close all of their switches.
  28. Both Rear Power Distribution and Front Power Distribution check if there's no fault at the switches, and lets Centre Console know that we're good.
  29. Centre Console sends a message to Motor Controller Interface/Pre-Charge to close its relays.
  30. Motor Controller Interface/Pre-Charge lets Centre Console know that relays are closed FOR REALZ.
  31. Driver Display will ask Centre Console for status: all the status are fine, and will indicate that WE CAN DRIVE!

Concerns:

QuestionAnswer
What happens if the user releases the pedal, but the CAN message gets dropped, therefore centre console won't know if the pedal was released.
By default, Centre Console, Front Power Distribution, Pedal Board, will be on. Will this require too much power? Can we save by putting boards into sleep mode? How long until this drains the Aux Battery to a state where it cannot power the boards? 
Heartbeat from BMS Carrier? Who needs to hear this heartbeat? What to do if it's missed? 
CAN's not isolated, what happens if one of CAN lines acts as the ground? need to make sure that doesn't happen!!!! 

Look at the data-sheet for the CAN transceiver. That may have info. 

LET'S PUT A SELF-TEST!!! WHOOHOOOmeetup coming soon...