Versions Compared

Key

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

Centre console is the board which contains the main drive state logic for the entire car. When the car is off (Relays to main battery are open, and car is powered off the aux battery), this board, along with BMS carrier and power distribution are the only ones which are powered, so that they can be used to start the car.

Centre console also provides feedback on the state of the car throughCenter Console is the only driver interface. It controls all power transitions, motor output and steering lights. It also displays BMS data, vehicle speed and has LED indicators. This board is always on when the car is on.

Rundown of Center Console Functions:

  • Buttons to change state

    • Drive, Reverse, and NeutralPower button

    • Regen Braking button

    • Hazard Button

  • three 7-segment displays with the below quantities

    • Speedometer (speed in km/h)

    • Battery Percentage Indicator (Percent remaining charge)

    • Cruise Control indicator (desired speed in km/hCurrent Readings (Amps)

    • Aux Battery Voltage (Volts)

  • Indicator LEDSLEDs

    • One for each of the above buttons (P/D/N/R/Haz/Reg)

    • Left turn signal

    • Right Turn Signal

    • Cruise control enabled indicator

    • BPS Fault Light

    • AFE Loss of Communications

  • Buzzer to highlight important events

    • Button Clicks

    • Aux fault

    • BPS fault

We will also be displaying error codes on centre console 7-segs when faults occur.

Expand
titleCAN Signals

TX:

  • cc_power_controlinfo:

    • power_event (POWER_EV_NONE | POWER_EV_BTN | POWER_EV_BTN_AND_BRAKE) → PDTarget Velocity (Cruise Control Speed)

    • Drive State

    • hazard_enabled

  • drive_output → MCI

    • drive_state

    • cruise_control (cruise control enabled)

    • regen_braking (regen brake enabled)

    • target_velocity (u32)

RX: (with checks to determine if a board has gone offline)

  • power_info (PD)

    • power_state

    • pd_fault

  • motor_info (MCI)

    • velocity_l & velocity_r(current speed)

    • board_fault_bitset (motor fault)

    • pedal_fault (if pedal loses comms)

  • battery_info: (BMS)

    • batt_perc (battery percentage)

    • fault (bms fault)

  • steering:

    • input_cc

    • input_lights

  • pedal_status

    • brake_output (brake value)

  • solar

    • solar_fault

...