Skip to content

Commit

Permalink
Merge pull request #244 from spacelab-ufsc/dev
Browse files Browse the repository at this point in the history
Dev: v0.6 release
  • Loading branch information
mgm8 authored Apr 23, 2021
2 parents 59f63ce + 0d511d1 commit 37d388e
Show file tree
Hide file tree
Showing 60 changed files with 1,908 additions and 439 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
<a href="https://github.com/spacelab-ufsc/obdh2/graphs/contributors">
<img alt="GitHub contributors" src="https://img.shields.io/github/contributors/spacelab-ufsc/obdh2?color=yellow&style=for-the-badge">
</a>
<a href="#license">
<img src="https://img.shields.io/badge/open--source-project-lightgray?style=for-the-badge">
</a>
<a href="https://github.com/spacelab-ufsc/obdh">
<img src="https://img.shields.io/badge/flight-heritage-lightgray?style=for-the-badge">
</a>
</p>

<p align="center">
Expand All @@ -46,7 +40,7 @@

## Overview

The SpaceLab OBDH2 (On-Board Data Handling 2.0) is one of the service modules developed for GOLDS-UFSC Cubesat Mission. The OBDH2 is responsible to synchronize actions and the data flow between other modules (ie. EPS, Payloads) and the Earth segment. It packs the generated data into data frames and transmit back to Earth through TTC module, or stores it on a non-volatile memory for later retrieval. Commands sent from Earth segment to the cubesat will be received by the radio transceivers located in the TTC module and redirected to the OBDH2, which takes the appropriate action or forward them to the responsible module.
The SpaceLab OBDH2 (On-Board Data Handling 2.0) is one of the service modules developed for FloripaSat-2 Cubesat Mission. The OBDH2 is responsible to synchronize actions and the data flow between other modules (ie. EPS, Payloads) and the Earth segment. It packs the generated data into data frames and transmit back to Earth through TTC module, or stores it on a non-volatile memory for later retrieval. Commands sent from Earth segment to the cubesat will be received by the radio transceivers located in the TTC module and redirected to the OBDH2, which takes the appropriate action or forward them to the responsible module.

## Repository Organization
- doc: Technical documentation (including firmware, hardware, user guide, and datasheet).
Expand All @@ -63,6 +57,6 @@ The OBDH2 software and hardware releases are synchronized in order to garantee c

## Notes

More info about the OBDH2 target mission: [GOLDS-UFSC](https://github.com/spacelab-ufsc/golds-ufsc-doc)
More info about the OBDH2 target mission: [FloripaSat-2](https://github.com/spacelab-ufsc/floripasat2-doc)

More info about the SpaceLab: [GitHub](https://github.com/spacelab-ufsc/spacelab) and [Website](https://spacelab.ufsc.br/en/home/)
29 changes: 29 additions & 0 deletions doc/appendices/appendices.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
%
% appendices.tex
%
% Copyright (C) 2021 by SpaceLab.
%
% OBDH 2.0 Documentation
%
% This work is licensed under the Creative Commons Attribution-ShareAlike 4.0
% International License. To view a copy of this license,
% visit http://creativecommons.org/licenses/by-sa/4.0/.
%

%
% \brief Appendices.
%
% \author Gabriel Mariano Marcelino <[email protected]>
%
% \institution Universidade Federal de Santa Catarina (UFSC)
%
% \version 0.6.0
%
% \date 2021/04/17
%

\begin{appendices}

\input{appendices/test_report_v05}

\end{appendices}
289 changes: 289 additions & 0 deletions doc/appendices/test_report_v05.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,289 @@
%
% test_report_v05.tex
%
% Copyright (C) 2021 by SpaceLab.
%
% OBDH 2.0 Documentation
%
% This work is licensed under the Creative Commons Attribution-ShareAlike 4.0
% International License. To view a copy of this license,
% visit http://creativecommons.org/licenses/by-sa/4.0/.
%

%
% \brief Test report of the v0.5 hardware.
%
% \author Gabriel Mariano Marcelino <[email protected]>
%
% \institution Universidade Federal de Santa Catarina (UFSC)
%
% \version 0.6.0
%
% \date 2021/04/17
%

\chapter{Test Report of v0.5 Version} \label{anx:test-report-v05}

This appendix is a test report of the first manufactured and assembled PCB (version v0.5).

\begin{itemize}
\item \textbf{PCB manufacturer}: PCBWay (China)
\item \textbf{PCB assembly}: PCBWay (China)
\item \textbf{PCB arrival date}: 2021/04/14
\item \textbf{Execution date}: 2021/04/16 to \textcolor{red}{TBC}
\item \textbf{Tester}: G. M. Marcelino
\end{itemize}

\section{Visual Inspection}

\begin{itemize}
\item \textbf{Test description/Objective}: Inspection of the board, visually and with a multimeter, searching for fabrication and assembly failures.
\item \textbf{Material}:
\begin{itemize}
\item Multimeter UNI-T DT830B
\end{itemize}
\item \textbf{Results}: The results of this test can be seen in Figures \ref{fig:obdh2-v05-top} (top view of the board) and \ref{fig:obdh2-v05-bottom} (bottom view of the board).
\item \textbf{Conclusion}: No problems were identified on this test.
\end{itemize}

\begin{figure}[!ht]
\begin{center}
\includegraphics[width=\columnwidth]{figures/v05/obdh2-v05-top.jpg}
\caption{Top view of the OBDH 2.0 v0.5 board.}
\label{fig:obdh2-v05-top}
\end{center}
\end{figure}

\begin{figure}[!ht]
\begin{center}
\includegraphics[width=\columnwidth]{figures/v05/obdh2-v05-bottom.jpg}
\caption{Bottom view of the OBDH 2.0 v0.5 board.}
\label{fig:obdh2-v05-bottom}
\end{center}
\end{figure}

\section{Firmware Programming}

\begin{itemize}
\item \textbf{Test description/Objective}: Inspection of the board, visually and with a multimeter, searching for fabrication and assembly mistakes.
\item \textbf{Material}:
\begin{itemize}
\item Code Composer Studio v9.3.0
\item MSP-FET Flash Emulation Tool
\item USB-UART converter
\item Screen (Linux software)
\end{itemize}
\item \textbf{Results}: The results of this are available in \autoref{fig:log-first-boot}, where the log messages of the first boot of the board can be seen.
\item \textbf{Conclusion}: No problems were identified on this test.
\end{itemize}

\begin{figure}[!ht]
\begin{center}
\includegraphics[width=0.7\columnwidth]{figures/v05/log-first-boot.png}
\caption{Log messages during the first boot.}
\label{fig:log-first-boot}
\end{center}
\end{figure}

\section{Communication Busses}

\begin{itemize}
\item \textbf{Test description/Objective}: Test the communication busses of the board, as listed below:
\begin{itemize}
\item I$^{2}$C Port 0
\item I$^{2}$C Port 1
\item I$^{2}$C Port 2
\end{itemize}
\item \textbf{Material}:
\begin{itemize}
\item Saleae Logic Analyzer (24 MHz, 8 channels)
\item Saleae Logic software (v1.2.18)
\item MSP-FET Flash Emulation Tool
\end{itemize}
\item \textbf{Results}: The results of this test can be seen in Figures \ref{fig:test-i2c-0}, \ref{fig:test-i2c-1} and \ref{fig:test-i2c-2}.
\item \textbf{Conclusion:} No problems were identified on this test, all buses are working as expected.
\end{itemize}

\begin{figure}[!htb]
\begin{center}
\subfigure[Connections of the I$^{2}$C port 0 test.\label{fig:connections-i2c-0}]{\includegraphics[height=0.22\textheight]{figures/v05/test-i2c-0.jpg}}
~
\subfigure[Waveforms of the I$^{2}$C port 0 test.\label{fig:waveform-i2c-0}]{\includegraphics[height=0.22\textheight]{figures/v05/waveform-i2c-0.png}}
\caption{I$^{2}$C port 0 test.}
\label{fig:test-i2c-0}
\end{center}
\end{figure}

%\begin{figure}[!ht]
% \begin{center}
% \includegraphics[width=0.7\columnwidth]{figures/v05/test-i2c-0.jpg}
% \caption{Connections of the I2C port 0 test.}
% \label{fig:test-i2c-0}
% \end{center}
%\end{figure}
%
%\begin{figure}[!ht]
% \begin{center}
% \includegraphics[width=\columnwidth]{figures/v05/waveform-i2c-0.png}
% \caption{Waveform of the I2C port 0.}
% \label{fig:waveform-i2c-0}
% \end{center}
%\end{figure}

\begin{figure}[!htb]
\begin{center}
\subfigure[Connections of the I$^{2}$C port 1 test.\label{fig:connections-i2c-1}]{\includegraphics[height=0.22\textheight]{figures/v05/test-i2c-1.jpg}}
~
\subfigure[Waveforms of the I$^{2}$C port 1 test.\label{fig:waveform-i2c-1}]{\includegraphics[height=0.22\textheight]{figures/v05/waveform-i2c-1.png}}
\caption{I$^{2}$C port 1 test.}
\label{fig:test-i2c-1}
\end{center}
\end{figure}

%\begin{figure}[!ht]
% \begin{center}
% \includegraphics[width=0.7\columnwidth]{figures/v05/test-i2c-1.jpg}
% \caption{Connections of the I2C port 1 test.}
% \label{fig:test-i2c-1}
% \end{center}
%\end{figure}
%
%\begin{figure}[!ht]
% \begin{center}
% \includegraphics[width=\columnwidth]{figures/v05/waveform-i2c-1.png}
% \caption{Waveform of the I2C port 1.}
% \label{fig:waveform-i2c-1}
% \end{center}
%\end{figure}

\begin{figure}[!htb]
\begin{center}
\subfigure[Connections of the I$^{2}$C port 2 test.\label{fig:connections-i2c-2}]{\includegraphics[height=0.22\textheight]{figures/v05/test-i2c-2.jpg}}
~
\subfigure[Waveforms of the I$^{2}$C port 2 test.\label{fig:waveform-i2c-2}]{\includegraphics[height=0.22\textheight]{figures/v05/waveform-i2c-2.png}}
\caption{I$^{2}$C port 2 test.}
\label{fig:test-i2c-2}
\end{center}
\end{figure}

%\begin{figure}[!ht]
% \begin{center}
% \includegraphics[width=0.7\columnwidth]{figures/v05/test-i2c-2.jpg}
% \caption{Connections of the I2C port 2 test.}
% \label{fig:test-i2c-2}
% \end{center}
%\end{figure}
%
%\begin{figure}[!ht]
% \begin{center}
% \includegraphics[width=\columnwidth]{figures/v05/waveform-i2c-2.png}
% \caption{Waveform of the I2C port 2.}
% \label{fig:waveform-i2c-2}
% \end{center}
%\end{figure}

\section{Sensors}

\subsection{Input Voltage}

\begin{itemize}
\item \textbf{Test description/Objective}: .
\item \textbf{Material}:
\begin{itemize}
\item Code Composer Studio v9.3.0
\item MSP-FET Flash Emulation Tool
\item USB-UART converter
\item Screen (Linux software)
\end{itemize}
\item \textbf{Results}: .
\item \textbf{Conclusion:} .
\end{itemize}

\subsection{Input Current}

\begin{itemize}
\item \textbf{Test description/Objective}: .
\item \textbf{Material}:
\begin{itemize}
\item Code Composer Studio v9.3.0
\item MSP-FET Flash Emulation Tool
\item USB-UART converter
\item Screen (Linux software)
\end{itemize}
\item \textbf{Results}: .
\item \textbf{Conclusion:} .
\end{itemize}

\begin{figure}[!htb]
\begin{center}
\subfigure[Current sensing circuit.\label{fig:current-sensing-circuit-v05}]{\includegraphics[width=0.8\textwidth]{figures/v05/current-sensor-circuit.png}}

\subfigure[MAX9934 pinout.\label{fig:max9934-pinout}]{\includegraphics[width=0.4\textwidth]{figures/v05/max9934-top-view.png}}
~
\subfigure[Current sensing layout (bottom layer).\label{fig:}]{\includegraphics[width=0.4\textwidth]{figures/v05/current-sensor-layout.png}}
\caption{.}
\label{fig:current-sensing-error-v05}
\end{center}
\end{figure}

\begin{figure}[!ht]
\begin{center}
\includegraphics[width=0.6\columnwidth]{figures/v05/max9934-fix.jpg}
\caption{Current sensor fix.}
\label{fig:current-sensor-fix}
\end{center}
\end{figure}

\begin{figure}[!ht]
\begin{center}
\includegraphics[width=0.7\columnwidth]{figures/v05/log-current-sensor.png}
\caption{Log messages with the read values from the current sensor.}
\label{fig:log-current-sensor}
\end{center}
\end{figure}

\section{Peripherals}

\subsection{NOR Flash Memory}

\begin{itemize}
\item \textbf{Test description/Objective}: Test the functionality of the NOR flash memory by verifying the device ID register of the IC.
\item \textbf{Material}:
\begin{itemize}
\item Saleae Logic Analyzer (24 MHz, 8 channels)
\item Saleae Logic software (v1.2.18)
\item MSP-FET Flash Emulation Tool
\end{itemize}
\item \textbf{Results}: The results of this test can be seen in \autoref{fig:test-nor-memory}.
\item \textbf{Conclusion:} No problems were identified on this test, as can be seen in \autoref{fig:waveform-spi-mem}, the device ID register was read as expected.
\end{itemize}

\begin{figure}[!htb]
\begin{center}
\subfigure[Connections of the NOR flash memory test.\label{fig:connections-nor-memory}]{\includegraphics[height=0.22\textheight]{figures/v05/test-nor-memory.jpg}}
~
\subfigure[Waveforms of the NOR memory SPI.\label{fig:waveform-spi-mem}]{\includegraphics[height=0.22\textheight]{figures/v05/waveform-spi-mem.png}}
\caption{NOR memory SPI test.}
\label{fig:test-nor-memory}
\end{center}
\end{figure}

%\begin{figure}[!ht]
% \begin{center}
% \includegraphics[width=0.7\columnwidth]{figures/v05/test-nor-memory.jpg}
% \caption{Connections of the NOR flash memory test.}
% \label{fig:test-nor-memory}
% \end{center}
%\end{figure}
%
%\begin{figure}[!ht]
% \begin{center}
% \includegraphics[width=\columnwidth]{figures/v05/waveform-spi-mem.png}
% \caption{Waveform of the NOR memory SPI.}
% \label{fig:waveform-spi-mem}
% \end{center}
%\end{figure}

\section{Conclusion}

Excluding the current sensor issue, no major problems were identified during the executed tests. For the next fabrication round, the identified mistakes will be corrected.
Loading

0 comments on commit 37d388e

Please sign in to comment.