Versions Compared

Key

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

...

  • The Controls Leaderboard takes in a 12V line from the supplemental battery (through POW_2ND_CONN). This is a small 12V battery meant mainly for the startup of our boards; once the big battery pack is up and running, all low voltage power will switch to that.
  • Note that there are 12 6 positions on the ignition switch, but where corresponding pairs are connected as the ignition switch is rotated (1 and 7 are connected at the same time, 2 and 8 as well, 3 and 9, etc.)
    • Diagonally opposite positions of our ignition switch are connected up at the same time. Note that it's essentially the same as two separate switches being "synced up", and this model is AKA a double pole switch.
  • The bottom half of the ignition switch (pins 1 through 6) facilitates the LV on/off signal. Depending on the position of the Ignition Switch, this 12V will be routed to BPS_PWR_OUT. This connector is wired to the Power Board (formerly known as the Secondary Power Board). The idea is that we send 12V across this line once the ignition switch is turned to the appropriate position to signal that we would like power to be provided to our Low Voltage (LV) systems.
    • As you can see in the diagram, BPS_PWR_OUT receives 12V at any position other than position 6 (same as position 12). This is because that is our off position, and in any other position we need the car to receive LV power.
  • The top half of the ignition switch (pins 7 through 12) provides a digital signal to two pins on the Controls leaderboard (IGN1 and IGN2). As you can see in the diagram, each position labeled.
    • Pos. 12 is OFF, and this corresponds with pos. 6 (since both connect to nothing)
    • Pos. 11 is LV. This is allocated a position so that it only turns on LV and nothing else. In actuality, all the other positions will also turn on LV as well, but they will turn on other things too.
    • Pos. 10 is ARR_ON. This is hooked up to the IGN_1 pin on the Controls Leaderboard in order to tell Controls to begin the Array Precharge sequence.
    • Pos. 9  is MOT_ON. This is hooked up to the IGN_2 pin on the Controls Leaderboard in order to tell Controls to begin the Motor Precharge sequence.
    • Any further positions (pos. 8 and 7) are also hooked up to IGN_2.
  • Note that the intent of the Ignition Switch control is to make the positions cumulative. For example, when clicking from LV → ARR_ON, the low voltage systems will continue to remain active in the ARR_ON position. Furthermore, when clicking from ARR_ON → MOT_ON, both the array and the low voltage systems will continue to remain active in the MOT_ON position

...

We go through the Array and Motor states so that we can precharge the array and motor. These two are attached to the HV+ and HV- terminals and disconnected with contactors initially. For both, since they are at undetermined voltages, we need to let them slowly reach the voltage of the battery so that no big voltage spikes occur. Voltage spikes can cause damage. We do this using a precharge resistor. We let BPS handle this precharge. We let them know that we switched states and they let us know when the precharge is finished. More on this is in the Software section.

...

The least significant bit (bit 0) is associated with the Array BPS Contactor, and the bit 1 and 2 are associated with the HV Minus and Plus Contactors. The HV Minus and Plus Contactors are grouped together because Controls requires both to close the Motor Controller PBC. It is important to note that HV Plus and Minus Contactors are two separate contactors that BPS owns. Because Controls logically ands ANDs HV Plus and HV Minus Contactors, they acknowledge it as a single entity, which it is not.

...

When we switch to a state, such as Array or Motor, we send a CAN message to BPS on CarCAN to tell them that we are wanting array to be charged. We wait and listen for a message back once they have confirmed that is true. We do this so that we do not use the array or motor in our code until they have been charged.


todo:

I would like there to be a diagram that shows how all contactors are set up.