Versions Compared

Key

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

...

The Controls leader board takes in a 12V line from BPS called POW_2ND_CONN and is routed back out to Power Systems (Power Board) as BPS_PWR_OUT. The 12V line is on the 12V power domain and is either cut off from ground or connected to GNDPWR, which is the 12V ground. This line goes through a rotary switch which determines whether current goes through the photocouplers or not. Photocouplers allow for logic to be done across two power domains, as seen here. If a photocoupler has current, then the transistor on the other side allows current to conduct, creating a short circuit. On the other side of the photocouplers, is a GPIO input that is pulled up to 3.3V (3V power domain). The MCU reads HIGH if the photocoupler has no current going through it since there is an open circuit to ground. Once the photocoupler receives current, it creates the short circuit meaning the node which the GPIO input sits on is now GND and the MCU reads LOW.

Precharge

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. 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.

Sequence

The following are the steps in the sequence of the rotary switch. The first step is when the rotary switch is turned clockwise all the way from the perspective of the user.

...