\documentclass[paper=A4]{article}
\usepackage[utf8]{inputenc}

\usepackage[a4paper, left=2cm, right=2cm, top=2cm, bottom=2cm]{geometry}
\usepackage{tikz}
\usetikzlibrary{calc,shapes.geometric, arrows}

\usepackage{siunitx}
\sisetup{
     group-separator = {.},
     input-decimal-markers={.}, 
     output-decimal-marker = {,},
     group-minimum-digits=4}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{subfigure}
\usepackage{float}
\usepackage{multicol}
\usepackage{amsmath, amssymb}

\pagestyle{fancy}
\fancyhf{}

\rhead{\includegraphics*[scale=0.03]{bilder/Fasttube-Logo.png}}

\rfoot{Page \thepage \hspace{1pt} of \pageref{LastPage}}


\begin{document}
\lhead{\large Car 313, 06.03.2025, Rev. 1}
\chead{\large BSPD Schematic}

\begin{figure}[H]
	\centering
	\includegraphics[width=\textwidth]{./bilder/output.pdf}
	\caption{Schematic of BSPD}
\end{figure}

The BSPD PCB is located in the front "Sensor-Node" (mainly there to transfer the analog data to CAN), in which a separate compartment is created to ensure the BSPD can be separated sealed without affecting other parts in the same housing.

\begin{multicols}{2}
	\textbf{Test Procedure}
	\begin{enumerate}
		\item apply external test current to the simulation coil
		\item brake hard (with brake pressure $\geq 30 \unit{\bar}$)
	\end{enumerate}
	
	\textbf{Test Current Calculation}
	\begin{align*}
		I_{test} & = 5 \unit{kW} / V_{max} = 5 \unit{kW} / 403.2 \unit{V} \\
		         & = 12.401 \unit{A}
	\end{align*}
	\quad \quad 12 windings $\longrightarrow$ test current $\approx 1.034 \unit{A}$
\end{multicols}

\begin{figure}[H]
	\centering
	\begin{tikzpicture}[node distance=1cm]
		\draw[black, rounded corners, thick] (0,4) rectangle (3,6) node[midway]{Current source};
		\draw[blue, rounded corners=24pt, line width=16pt] (5,4) rectangle (8,6) node[midway]{LEM HO-50S};
		\draw[black, rounded corners, thick] (5,0) rectangle (8,2) node[midway, text width=2.5cm]{Brake Pressure Sensor};
		\draw[black, rounded corners, thick] (12,2) rectangle (15,4) node[midway]{BSPD PCB};
		\draw[->, rounded corners, ultra thick] (8.3,5) -- (10,5) -- (10,3.5) -- (12,3.5);
		\draw[->, rounded corners, ultra thick] (8,1) -- (10,1) -- (10,2.5) -- (12,2.5);
		\draw[rounded corners, very thick] (3,5.6) -- (5.6,5.6) -- (4.6,5.2) -- (5.4,5.2) -- (4.6,4.8) -- (5.4,4.8) -- (4.6,4.4) -- (3,4.4);
		\draw[->, ultra thick] (13.5,5) -- (13.5,4);
		\draw[->, ultra thick] (13.5,2) -- (13.5,1);
		\draw(13.5,5.5) node[align=left]{SDC in};
		\draw(13.5,0.5) node[align=left]{SDC out};
	\end{tikzpicture}
	\caption{current simulation schematic}
\end{figure}

\end{document}