scruti-documents/TSAL-schematic/TSAL-schematic.tex
2025-04-28 20:30:41 +02:00

111 lines
4.7 KiB
TeX

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[a4paper, margin=2cm]{geometry}
\usepackage{siunitx}
\sisetup{
group-separator = {.},
input-decimal-markers={.},
output-decimal-marker = {.},
group-minimum-digits=9}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{subfigure}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{multicol}
\usepackage{amsmath, amssymb}
\usepackage{hyperref}
\usepackage{pdfpages}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{fit} % <-- needed for dashed box (fit)
\usepackage[european, rotatelabels]{circuitikz}
\hyphenpenalty=10000 %to stop cutting words in a paragraph
\pagestyle{fancy}
\fancyhf{}
\rhead{\includegraphics*[scale=0.013]{./Pictures/FaSTTUBe_Logo_ohneAuto.png}}
\rfoot{Page \thepage \hspace{1pt} of \pageref{LastPage}}
\lhead{Car 313, 23.04, Rev. 1}
\chead{\large TSAL Schematic}
\begin{document}
\section{AMS und IMD Error Latching}
\begin{center}
\begin{circuitikz}[]
% LEGEND
\draw[green!50!black] (0,2) -- ++(1,0);
\draw (1,2) node[right]{$0.13mm^2$ unshielded - \href{https://media.distrelec.com/Web/Downloads/_t/ds/8724476_eng_tds.pdf}{RS PRO 8724476}, 2A};
% IMD
\node[draw, minimum width=1.5cm, minimum height=1cm, label=above:IR155-3204] (IMD) at (0,0) {\href{https://www.bender.de/fileadmin/content/Products/d/e/IR155-32xx-V004_D00115_D_XXEN.pdf}{IMD}};
% AMS Master
\node[draw, minimum width=1.5cm, minimum height=1cm] (AMS-IO) at (8,0) {\hyperlink{ams-io}{AMS Master - Input/Output}};
\node[draw, minimum width=1.5cm, minimum height=1cm] (AMS-SDC) at (8,-2) {\hyperlink{ams-sdc}{AMS Master - SDC Latching Circuit}};
\node[draw, minimum width=1.5cm, minimum height=1cm] (AMS-MCU) at (8,-4) {\hyperlink{ams-mcu}{AMS Master - Microcontroller}};
\node[draw, dashed, fit=(AMS-IO) (AMS-SDC) (AMS-MCU), inner sep=0.5cm, label=above:AMS Master] {};
% Arrows
\draw[->, thick, color=green!50!black] (IMD.east) -- (AMS-IO.west) node[midway, above] {IMD\_OK};
\draw[->] (AMS-IO.south) -- (AMS-SDC.north) node[midway, right] {IMD\_OK};
\draw[->] (AMS-MCU.north) -- (AMS-SDC.south) node[midway, right] {$\overline{\text{AMS\_Error}}$};
% 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}
\subsection{IMD Latching}
\begin{itemize}
\item The \texttt{IMD\_OK} signal is pulled high approximately 1.5 seconds after startup for the \href{https://www.bender.de/fileadmin/content/Products/d/e/IR155-32xx-V004_D00115_D_XXEN.pdf}{IR155-3204 IMD}.
\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 AMS Master communicates with all six AMS Slaves, each providing valid voltage and temperature measurements.
\item The AMS Master communicates with the shunt sensor (\href{https://www.isabellenhuetteusa.com/wp-content/uploads/2022/07/Datasheet-IVT-S-V1.03.pdf}{IVT-S-300-U3-I-CAN2-12/24})
\end{itemize}
\end{itemize}
\section{SCS signal implementation}
\begin{center}
\begin{circuitikz}[]
% IMD
\node[draw, minimum width=1.5cm, minimum height=1cm] (AMS) at (0,0) {AMS Master};
% AMS Master
\node[draw, minimum width=1.5cm, minimum height=1cm] (DB) at (8,0) {{Dashboard}};
\node[draw, dashed, fit=(AMS), inner sep=0.5cm, label=above:Accumulator] {};
% Arrows
\draw[->, thick] (AMS.east) -- (DB.west) node[midway, above] {IMD\_OK} node[midway, below] {AMS\_OK};
\end{circuitikz}
\end{center}
\paragraph{}
Both signals are transmitted every 50 ms over the CAN bus. If the Dashboard does not receive a CAN message from the AMS Master within 150 ms,
it will trigger a fault condition. In response to this fault, the following LEDs will be activated:
the \texttt{AMS Error} LED will be turned on, the \texttt{IMD Error} LED will be turned on, and the \texttt{TS Off} LED will remain off.
\includepdf[pages={1}, landscape=true]{./Documents/TS-overview.pdf}
\hypertarget{ams-io}{}
\includepdf[pages={9}, landscape=true]{./Documents/Master_FT25.pdf}
\hypertarget{ams-sdc}{}
\includepdf[pages={8}, landscape=true]{./Documents/Master_FT25.pdf}
\hypertarget{ams-mcu}{}
\includepdf[pages={3}, landscape=true]{./Documents/Master_FT25.pdf}
\includepdf[pages={8,5,15,2,11,12,14}, landscape=true]{./Documents/Master_FT25.pdf}
\includepdf[landscape=true]{./Documents/dashboard-FT25.pdf}
\includepdf[pages={2}, landscape=true]{./Documents/TS-overview.pdf}
\includepdf[landscape=true]{./Documents/DC.pdf}
\end{document}