Requirements

I/O

Inputs

NameTypePurpose
SHUTDOWN_INDigital/AnalogPower to BSPD Circuit — EV 7.7
Brakes_ANALOGAnalogAnalog Brake Signal — EV 7.7.2
Motor_CURRENT_SENSEDigitalMotor Current Signal (Active when > 5kW) — EV 7.7.2

Outputs

NameTypePurpose
SHUTDOWN_OUTDigital/AnalogShutdown circuit output

Input/Output Flow

Logic

Possibly include HVC digitizer onboard too for REV A.

BRAKES_ANALOG is T when the analog current is at an arbitrary threshold.

SHUTDOWN_OUT is F when the shutdown circuit is open. The output signal is T when the shutdown circuit is closed, and current can continue to flow.

SHUTDOWN_INBRAKES_ANALOGCURRENT SENSESHUTDOWN_OUT
TTTF
TTFT
TFTT
TFFT
FTTF
FTFF
FFTF
FFFF

Circuit Design

The output can be defined as:

SHUTDOWN_INBRAKESCURRENT SENSE
TTTFF
TTFTT
TFTTT
TFFTT
FTTFF
FTFTF
FFTTF
FFFFF

\usepackage{circuitikz}
\begin{document}
     \begin{circuitikz}
        \draw (0,0) node[nand port](brakeinv) {}
         (brakeinv.in 1) node [anchor=east] {}
        (2,-1) node[nand port] (nand1) {}
        (0, -2) node[nand port] (motorinv) {}
        (brakeinv.out) -| (nand1.in 1)     3rd gate
        (nand1.in 2) -- (nand2.in 2|-nand1.in 2)
        (nand3.in 2) -- (nand2.in 2|-nand3.in 2)
     ;\end{circuitikz}