Versions Compared

Key

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

...

Initial Start state:

  • Neutral

Todo: 

  • Read regulations about lights states when were drive or not

Motor Controller Interface:

  • Needs to have states, needs to accept acceleration command ONLY while in drive state. 

Scenario: driver turns on the car, presses the drive button, drives, stops, presses neutral.  

  • conditions: Precharge has happened. Relays are closed. We verified that we can connect to the MCI. MCI needs to be in idle mode. 
  • Centre console will pickup Drive button.
  • Display will show D
  • Rear/Front Power Distribution need to know: lights behaviour change. 
  • Motor Controller Interface needs to know: sets itself into drive state. 
  • Pedal Board needs to know, starts broadcasting the pedal angle
  • Motor Controller Interface listens on CAN and adjusts the power delivered to the motors
  • Motor Controller Interface broadcasts velocity to the centre console board. 
  • Motor Controller Interface logs:
    • pack current
    • temperature
  • Driver comes to a stop (hopefully)
  • Presses the neutral button.
  • Centre console will pickup Drive button.
  • Display will show N. 
  • Rear/Front Power Distribution need to know: lights behaviour change. 
  • Motor Controller Interface needs to know: sets itself into Neutral state. 
  • Pedal Board needs to know, stops broadcasting the pedal angle.

Scenario: driver turns on the car, presses the drive button, drives, set cruise control, sets speed, disables cruise control via braking.

  • driver enables cruise control (press button on steering wheel) 
  • Steering Board picks that up. 
  • Display shows that we're in cruise control. 
  • Display needs to know the current speed: gets that from motor controller interface. 
  • Motor controller interface: gets into cruise control mode 
  • Driver adjusts the speed (incraease/ deacrease )
  • Display and MCI will adjust
  • Driver hits brakes
  • Disp shows 
  • MCI cancels the cruise control 

Scenario: driver turns on the car, presses the drive button, drives, set cruise control, sets speed, disables cruise control via button

  • Disable (same thing, dispay will know, mci will know)

Scenario: driver turns on the car, presses the drive button, drives, set cruise control, sets speed, disables cruise control via changing drive state

  • Disable (same thing, dispay will know, mci will know)

Scenario: driver decides to reverse and car is stationary:

  • Everything the same as forward.

Scenario: driver decides to reverse and car is not stationary:

  • Warning will be shown in the screen. 

Scenario: driver drives, something goes wrong, driver presses the kill switch

  • BMS will know, display shows kill-switch pressed, centre console will be in neutral, motor controller interfaces must not be powered.

Scenario: how does Regen work? 

  • a brake press will trigger regen to be completely activated.
  • pedal board broadcasts braking to the mci as well. 

Notes: 

  • unless you are in drive state, cruise control cannot be enabled. 

Jarvis:

  • how often do you need to broadcast the messages? 
  • mci: how often does she require the velocity to be set? 

Pressing Brakes:

  • pressing brakes
  • pedal board sends message to rear power distribution
  • rear power distribution turns on brake lights

Todo:

  • are the DRL controlled manually or automatically? 
  • have a meeting w regards to car lights? 
  • car's power states: what happens when we press kill switch
    • motor controller interfaces must not be powered?
  • if fault happens: should we be able to get back on again?
  • how the FREAK we do regen? 
    • Separate button? Mitch 
    • have to talk to mechanical cuz mica said some mech stuff that I don't get
  • Infotainment screen will have regen on/off option
  • Do we wanna have regen when drive? 
    • concern: you'd have to hold ur foot at an angle to coast.
  • Regen on cruise control: does mci do it?  
  • Make a state diagram for drive states. 


Nice to have:

  • big ass speakers that REVVV
    • use