formatting change

This commit is contained in:
Johnny Hsu 2025-05-05 11:40:26 +02:00
parent d4d38b16de
commit 24a3127067
2 changed files with 58 additions and 54 deletions

Binary file not shown.

View File

@ -37,61 +37,62 @@
\section{TS\_Error Latching}
See: \hyperlink{./Documents/Master_FT25.pdf.2}{AMS Master - TSAL Logic} \\
Once the state of $\overline{\mathrm{TS\_Error}}$ is reached for more then $1s$ (to prevent noise from causing an error), the latch U8 (74LVC1G74\cite{latch_datasheet}) will be triggered.
Once the state of $\overline{\mathrm{TS\_Error}}$ is reached for more then $1s$ (to prevent noise from causing an error), the latch U8 (74LVC1G74 \cite{latch_datasheet}) will be triggered.
This cannot be reset, unless a LVS power cycle is carried out. The backup pull-down resistor R9 for discharging the capacitor can also be placed if the CLR pin does not discharge fast enough.
\subsection{IMD Latching}
\begin{itemize}
\item The \texttt{IMD\_OK} signal is pulled high approximately 1.5 seconds after startup for the IR155-3204 IMD.\cite{imd_datasheet}
\item Therefore the Power-on Reset (PoR) lasts approximately 2 seconds.
\item The \texttt{IMD\_OK} signal is pulled high approximately 1.5 seconds after startup for the IR155-3204 IMD. \cite{imd_datasheet}
\item Therefore the Power-on Reset (PoR) lasts approximately 2 seconds.
\end{itemize}
\subsection{AMS Latching}
\begin{itemize}
\item The \texttt{AMS\_OK} signal is pulled low until the following conditions are met:
\begin{itemize}
\item The \texttt{AMS\_OK} signal is pulled low until the following conditions are met:
\begin{itemize}
\item The AMS Master communicates with all six AMS Slaves, each providing valid voltage and temperature measurements.
\item The AMS Master communicates with the shunt sensor (IVT-S-300-U3-I-CAN2-12/24)
\end{itemize}
\end{itemize}
\begin{center}
\begin{circuitikz}[]
% LEGEND
\draw[green!50!black] (0,2) -- ++(1,0);
\draw (1,2) node[right]{$0.13mm^2$ unshielded - RS PRO 8724476, 2A};
\begin{circuitikz}[]
% LEGEND
\draw[green!50!black] (0,2) -- ++(1,0);
\draw (1,2) node[right]{$0.13mm^2$ unshielded - RS PRO 8724476, 2A};
% IMD
\node[draw, minimum width=1.5cm, minimum height=1cm, label=above:IR155-3204] (IMD) at (0,0) {IMD};
% IMD
\node[draw, minimum width=1.5cm, minimum height=1cm, label=above:IR155-3204] (IMD) at (0,0) {IMD};
% Shunt
\node[draw, minimum width=1.5cm, minimum height=1cm, label=above:IVT-S-300-U3-I-CAN2-24] (SHUNT) at (14,0) {SHUNT};
% Shunt
\node[draw, minimum width=1.5cm, minimum height=1cm, label=above:IVT-S-300-U3-I-CAN2-24] (SHUNT) at (14,0) {SHUNT};
% Slaves
\node[draw, minimum width=1.5cm, minimum height=1cm] (AMSS1) at (14,-2) {AMS Slave 1};
\node[draw, minimum width=1.5cm, minimum height=1cm] (AMSS6) at (14,-4) {AMS Slave 6};
% Slaves
\node[draw, minimum width=1.5cm, minimum height=1cm] (AMSS1) at (14,-2) {AMS Slave 1};
\node[draw, minimum width=1.5cm, minimum height=1cm] (AMSS6) at (14,-4) {AMS Slave 6};
% AMS Master
\node[draw, minimum width=1.5cm, minimum height=1cm] (AMS-IO) at (9,0) {\hyperlink{./Documents/Master_FT25.pdf.9}{Input/Output}};
\node[draw, minimum width=1.5cm, minimum height=1cm] (AMS-SDC) at (5,-2) {\hyperlink{./Documents/Master_FT25.pdf.8}{DC Latching Circuit}};
\node[draw, minimum width=1.5cm, minimum height=1cm] (AMS-MCU) at (9,-4) {\hyperlink{ams-mcu}{Microcontroller}};
\node[draw, dashed, fit=(AMS-IO) (AMS-SDC) (AMS-MCU), inner sep=0.5cm, label=above:AMS Master] {};
% AMS Master
\node[draw, minimum width=1.5cm, minimum height=1cm] (AMS-IO) at (9,0) {\hyperlink{./Documents/Master_FT25.pdf.9}{Input/Output}};
\node[draw, minimum width=1.5cm, minimum height=1cm] (AMS-SDC) at (5,-2) {\hyperlink{./Documents/Master_FT25.pdf.8}{DC Latching Circuit}};
\node[draw, minimum width=1.5cm, minimum height=1cm] (AMS-MCU) at (9,-4) {\hyperlink{ams-mcu}{Microcontroller}};
\node[draw, dashed, fit=(AMS-IO) (AMS-SDC) (AMS-MCU), inner sep=0.5cm, label=above:AMS Master] {};
% AMS Master
\draw[->, thick, color=green!50!black] (IMD.east) -- (AMS-IO.west) node[midway, above] {IMD\_OK};
\draw[->] (AMS-IO.south) ++ (-0.2,0) -- (8.8, -2) -- (AMS-SDC.east) node[midway, below] {IMD\_OK};
\draw[->] (AMS-MCU.west) -- (5, -4) -- (AMS-SDC.south) node[midway, right] {AMS\_OK};
\draw[->] (AMS-IO.south) ++ (0.2,0) -- (9.2,-3.5) node[midway, right] {SHUNT};
% AMS Master
\draw[->, thick, color=green!50!black] (IMD.east) -- (AMS-IO.west) node[midway, above] {IMD\_OK};
\draw[->] (AMS-IO.south) ++ (-0.2,0) -- (8.8, -2) -- (AMS-SDC.east) node[midway, below] {IMD\_OK};
\draw[->] (AMS-MCU.west) -- (5, -4) -- (AMS-SDC.south) node[midway, right] {AMS\_OK};
\draw[->] (AMS-IO.south) ++ (0.2,0) -- (9.2,-3.5) node[midway, right] {SHUNT};
% Shunt and Slaves
\draw[->, thick, color=green!50!black] (SHUNT.west) -- (AMS-IO.east) node[midway, above] {CAN};
\draw[<->, thick, color=green!50!black] (AMSS1.west) -- (12.5,-2) -- (12.5,-3.8) -- (10.3, -3.8) node[midway, above] {SPIA};
\draw[<->, thick, color=green!50!black] (AMSS6.west) ++ (0,-0.2) -- (10.3,-4.2) node[midway, below] {SPIB};
% Shunt and Slaves
\draw[->, thick, color=green!50!black] (SHUNT.west) -- (AMS-IO.east) node[midway, above] {CAN};
\draw[<->, thick, color=green!50!black] (AMSS1.west) -- (12.5,-2) -- (12.5,-3.8) -- (10.3, -3.8) node[midway, above] {SPIA};
\draw[<->, thick, color=green!50!black] (AMSS6.west) ++ (0,-0.2) -- (10.3,-4.2) node[midway, below] {SPIB};
\draw[-, dashed] (AMSS1.south) -- (AMSS6.north) ;
\draw[-, dashed] (AMSS1.south) -- (AMSS6.north) ;
% Now overlay an invisible hyperlink box over AMS-IO
%\node[opacity=0, fill opacity=0, text opacity=0, fit=(AMS-IO), inner sep=0pt](linkcover) {\hyperlink{ams-io}{\phantom{AMS Master - Input/Output}}};
\end{circuitikz}
% Now overlay an invisible hyperlink box over AMS-IO
%\node[opacity=0, fill opacity=0, text opacity=0, fit=(AMS-IO), inner sep=0pt](linkcover) {\hyperlink{ams-io}{\phantom{AMS Master - Input/Output}}};
\end{circuitikz}
\end{center}
@ -99,38 +100,41 @@ This cannot be reset, unless a LVS power cycle is carried out. The backup pull-d
\subsection{Relay states}
See: \hyperlink{./Documents/Master_FT25.pdf.12}{AMS Master - AIR Relay State Detection} \\
The relay state is measured through a set of voltage dividers and window comparator circuits.
The \texttt{Closed} signal is used for the state detection logic (which controls the TSAL green LEDs). When the aux cable are open, it is the same as the $\overline{\mathrm{Closed}}$ state,
which will keep the green TSAL off. The "short to GND" state can be ruled out by the comparator which compares the signal with a \SI{0.3}{\volt} reference.
See: \hyperlink{./Documents/Master_FT25.pdf.14}{AMS Master - Precharge State Detection} \\
Since we do not have aux connections with our precharge relay, the circuit works differently then the AIRs.
Here, the TS voltage on the inverter side is measured to check whether the precharge or AIR+ is closed or not.
This signal is then compared with the AIR+ and precharge control signal to check if a mismatch is present.
The relay state is measured through a set of voltage dividers and window comparator circuits.
The \texttt{Closed} signal is used for the state detection logic (which controls the TSAL green LEDs). When the aux cable are open, it is the same as the $\overline{\mathrm{Closed}}$ state,
which will keep the green TSAL off. The "short to GND" state can be ruled out by the comparator which compares the signal with a \SI{0.3}{\volt} reference. \\
\noindent See: \hyperlink{./Documents/Master_FT25.pdf.14}{AMS Master - Precharge State Detection} \\
Since we do not have aux connections with our precharge relay, the circuit works differently then the AIRs.
Here, the TS voltage on the inverter side is measured to check whether the precharge or AIR+ is closed or not.
This signal is then compared with the AIR+ and precharge control signal to check if a mismatch is present.
The rule T11.9.2 does not apply here since no additional wires are used (all circuits are integrated on the PCB.)
\newpage
\subsection{TS\_Off / TSAL\_Green}
\par
See: \hyperlink{./Documents/DC.pdf.1}{Discharge Circuit} \\
The \texttt{TS\_Off} signal (also labeled as \texttt{TSAL\_Green} in the schematics) is transmitted to the TSAL system via a dedicated wire connection.
If this wire becomes disconnected, the pull-down resistor R16 ensures that the constant current driver (IS32LT3178~\cite{driver_datasheet}) is disabled, preventing unintended LED activation.
\par
See: \hyperlink{./Documents/dashboard-FT25.pdf.2}{Dashboard} \\
The \texttt{TS\_Off}, \texttt{AMS\_Error}, and \texttt{IMD\_Error} LEDs on the dashboard are controlled by a microcontroller.
In its default state (i.e., after a reset or communication failure), the \texttt{TS\_Off} LED remains off, while the \texttt{AMS\_Error} and \texttt{IMD\_Error}
The \texttt{TS\_Off} signal (also labeled as \texttt{TSAL\_Green} in the schematics) is transmitted to the TSAL system via a dedicated wire connection.
If this wire becomes disconnected, the pull-down resistor R16 ensures that the constant current driver (IS32LT3178~\cite{driver_datasheet}) is disabled, preventing unintended LED activation. \\
\noindent See: \hyperlink{./Documents/dashboard-FT25.pdf.2}{Dashboard} \\
The \texttt{TS\_Off}, \texttt{AMS\_Error}, and \texttt{IMD\_Error} LEDs on the dashboard are controlled by a microcontroller.
In its default state (i.e., after a reset or communication failure), the \texttt{TS\_Off} LED remains off, while the \texttt{AMS\_Error} and \texttt{IMD\_Error}
LEDs are turned on due to the inclusion of an additional NOT gate.
All three status signals are transmitted via the CAN bus every 50~ms.
If the dashboard does not receive a valid CAN message from the AMS Master within 150~ms, it will enter a timeout condition and revert to the default LED states.
All three status signals are transmitted via the CAN bus every 50~ms.
If the dashboard does not receive a valid CAN message from the AMS Master within 150~ms, it will enter a timeout condition and revert to the default LED states.
Due to the CAN protocol's built-in checksum mechanism, this timeout condition will also occur in cases of persistent data corruption.
\includepdf[pages={9,8,3}, landscape=true, link]{./Documents/Master_FT25.pdf} % SDC Latching
\includepdf[pages={5,15}, landscape=true, link, pagetemplate=9]{./Documents/Master_FT25.pdf} % Relay Driver
\includepdf[pages={2,11,12,14}, landscape=true, link, pagetemplate=9]{./Documents/Master_FT25.pdf} % TSAL
\includepdf[landscape=true, link]{./Documents/DC.pdf}
\includepdf[page={1,2}, landscape=true, link]{./Documents/dashboard-FT25.pdf}
\includepdf[landscape=true, link]{./Documents/DC.pdf}
\includepdf[page={1,2}, landscape=true, link]{./Documents/dashboard-FT25.pdf}
\renewcommand\refname{Reference}
@ -139,8 +143,8 @@ Due to the CAN protocol's built-in checksum mechanism, this timeout condition wi
\bibitem{latch_datasheet} \textit{74LVC1G74 Datasheet}. \href{https://www.ti.com/lit/ds/symlink/sn74lvc1g74.pdf}{www.ti.com}, 09.2021
\bibitem{shunt_datasheet} \textit{IVT-S-300-U3-I-CAN2-12/24 Datasheet}. \href{https://www.isabellenhuetteusa.com/wp-content/uploads/2022/07/Datasheet-IVT-S-V1.03.pdf}{www.isabellenhuetteusa.com}, 06.2022
\bibitem{imd_datasheet} \textit{IR155-3204 Datasheet}. \href{https://www.bender.de/fileadmin/content/Products/d/e/IR155-32xx-V004_D00115_D_XXEN.pdf}{www.bender.de}, 06.2024
\bibitem{cable_datasheet} \textit{RS PRO 8724476 Datasheet}. \href{https://media.distrelec.com/Web/Downloads/_t/ds/8724476_eng_tds.pdf}{media.distrelec.com}
\bibitem{driver_datasheet} \textit{IS32LT3178 Datasheet}. \href{https://lumissil.com/assets/pdf/core/IS32LT3177_78_DS.pdf}{lumissil.com} 06.2024
\bibitem{cable_datasheet} \textit{RS PRO 8724476 Datasheet}. \href{https://media.distrelec.com/Web/Downloads/_t/ds/8724476_eng_tds.pdf}{media.distrelec.com}
\bibitem{driver_datasheet} \textit{IS32LT3178 Datasheet}. \href{https://lumissil.com/assets/pdf/core/IS32LT3177_78_DS.pdf}{lumissil.com} 06.2024
\end{thebibliography}