280 lines
11 KiB
TeX
280 lines
11 KiB
TeX
{\bfseries{Subpages}}
|
||
|
||
|
||
\begin{DoxyItemize}
|
||
\item \mbox{\hyperlink{designChoices}{Design Choices}}
|
||
\item \mbox{\hyperlink{deviceSpecifications}{Device Specifications}}
|
||
\item \mbox{\hyperlink{powerDesign}{Power Design}}
|
||
\end{DoxyItemize}
|
||
|
||
\DoxyHorRuler{0}
|
||
\hypertarget{hardware_autotoc_md1}{}\doxysection{Design Reminders}\label{hardware_autotoc_md1}
|
||
|
||
\begin{DoxyItemize}
|
||
\item From \char`\"{}\+Texas Instruments -\/ SLAS655\+G...\char`\"{}, Page 22\+:
|
||
\begin{DoxyItemize}
|
||
\item To improve EMI on the XT1 oscillator, the following guidelines should be observed\+:
|
||
\begin{DoxyItemize}
|
||
\item Keep the trace between the device and the crystal as short as possible.
|
||
\item Design a good ground plane around the oscillator pins.
|
||
\item Prevent crosstalk from other clock or data lines into oscillator pins XIN and XOUT.
|
||
\item Avoid running PCB traces underneath or adjacent to the XIN and XOUT pins.
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}\hypertarget{designChoices}{}\doxysection{Design Choices}\label{designChoices}
|
||
\hypertarget{design_choices_autotoc_md2}{}\doxysubsection{JTAG Interface}\label{design_choices_autotoc_md2}
|
||
When connecting the MCU to the programmer via the JTAG interface, it is possible for a local power supply connected to the MCU to be used or for power from the debugging/programming adapter to be used. Since having power supplied to the MCU from the debugging/programming adapter can be useful for use outside of the Sunseeker vehicle, we chose to use that.\hypertarget{design_choices_autotoc_md3}{}\doxysubsection{Microcontroller Connections}\label{design_choices_autotoc_md3}
|
||
The board is going to be organized to the best of our abilities to be organized as such\+:
|
||
|
||
|
||
\begin{DoxyItemize}
|
||
\item Left Side\+:
|
||
\begin{DoxyItemize}
|
||
\item Peripherals for communicating with/controlling the Sunseeker vehicle
|
||
\end{DoxyItemize}
|
||
\item Right Side\+:
|
||
\begin{DoxyItemize}
|
||
\item Peripherals for communicating with users
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}\hypertarget{design_choices_autotoc_md4}{}\doxysubparagraph{Universal Serial Communication Interfaces (\+USCIs)\+:}\label{design_choices_autotoc_md4}
|
||
|
||
\begin{DoxyItemize}
|
||
\item A -\/ Supporting up to four total of UART and/or SPI
|
||
\begin{DoxyItemize}
|
||
\item A0 \mbox{[}SPI\mbox{]}\+:
|
||
\begin{DoxyItemize}
|
||
\item CANbus Controller 0 (Microchip Technology MCP2515\+T-\/\+I/\+SO)
|
||
\end{DoxyItemize}
|
||
\item A1 \mbox{[}SPI\mbox{]}\+:
|
||
\begin{DoxyItemize}
|
||
\item CANbus Controller 1 (Microchip Technology MCP2515\+T-\/\+I/\+SO)
|
||
\item GPS Receiver (U-\/\+Blox NEO-\/\+M9N \mbox{[}Spark\+Fun Breakout Board\mbox{]})
|
||
\end{DoxyItemize}
|
||
\item A2 \mbox{[}UART\mbox{]}\+:
|
||
\begin{DoxyItemize}
|
||
\item USB to UART Bridge (Future Technology Devices International FT230\+XS-\/R)
|
||
\end{DoxyItemize}
|
||
\item A3 \mbox{[}UART\mbox{]}\+:
|
||
\item RS-\/232 Transceiver (Maxim Integrated MAX3232\+EUE+)
|
||
\end{DoxyItemize}
|
||
\item B -\/ Supporting up to four total of I2C and/or SPI
|
||
\begin{DoxyItemize}
|
||
\item B0 \mbox{[}SPI\mbox{]}\+:
|
||
\begin{DoxyItemize}
|
||
\item SD Card
|
||
\end{DoxyItemize}
|
||
\item B1 \mbox{[}I2C\mbox{]}\+:
|
||
\begin{DoxyItemize}
|
||
\item Inertial Measurement Unit (TDK Inven\+Sense ICM-\/20948)
|
||
\end{DoxyItemize}
|
||
\item B2 \mbox{[}I2C\mbox{]}\+:
|
||
\begin{DoxyItemize}
|
||
\item Real-\/\+Time Clock/\+Calendar (Microchip Technology \+MCP7940\+MT-\/\+I/\+SN)
|
||
\end{DoxyItemize}
|
||
\item B3 \mbox{[}SPI\mbox{]}\+:
|
||
\begin{DoxyItemize}
|
||
\item Bluetooth/\+Wi-\/\+Fi (Espressif Systems ESP32-\/\+WROVER-\/\+IE (8MB))
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}
|
||
|
||
In addition to trying to keep the MCU and PCB organized with the left-\/side being to do with the Sunseeker vehicle and the right side to be peripherals interacting with users, we tried to also load-\/balance the USCI modules, as well as have the SPI protocol be used in more high data-\/rate peripherals and I2C used with lower or less-\/used peripherals. In Texas Instruments SLAS655G Document \mbox{[}Page 7\mbox{]} has a pin diagram showing the physical location of where each pin is physically located. \hypertarget{deviceSpecifications}{}\doxysection{Device Specifications}\label{deviceSpecifications}
|
||
\hypertarget{device_specifications_autotoc_md5}{}\doxysubsubsection{Microcontroller\+: Texas Instruments MSP430\+F5438\+AIPZR}\label{device_specifications_autotoc_md5}
|
||
|
||
\begin{DoxyItemize}
|
||
\item Power
|
||
\begin{DoxyItemize}
|
||
\item 1.\+8V to 3.\+6V Supply Voltage
|
||
\item Up to 4.\+6mA needed
|
||
\end{DoxyItemize}
|
||
\item Capabilities\+:
|
||
\begin{DoxyItemize}
|
||
\item 16-\/bit architecture
|
||
\item 25MHz System Clock
|
||
\end{DoxyItemize}
|
||
\item Notable Peripherals\+:
|
||
\begin{DoxyItemize}
|
||
\item Up to 4 of\+:
|
||
\begin{DoxyItemize}
|
||
\item UART/\+SPI
|
||
\end{DoxyItemize}
|
||
\item Up to 4 of\+:
|
||
\begin{DoxyItemize}
|
||
\item I2\+C/\+SPI
|
||
\end{DoxyItemize}
|
||
\item 12-\/bit ADC
|
||
\begin{DoxyItemize}
|
||
\item 14 external channels
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}\hypertarget{device_specifications_autotoc_md6}{}\doxysubsubsection{Real-\/\+Time Clock/\+Calendar\+: Microchip Technology \+MCP7940\+MT-\/\+I/\+SN}\label{device_specifications_autotoc_md6}
|
||
|
||
\begin{DoxyItemize}
|
||
\item Power
|
||
\begin{DoxyItemize}
|
||
\item 1.\+8V to 5.\+5V Supply Voltage
|
||
\item 1.\+2uA typical timekeeping current required at 3.\+3V (This will be powered exclusively by a CR2032 battery)
|
||
\end{DoxyItemize}
|
||
\item Notable Peripherals\+:
|
||
\begin{DoxyItemize}
|
||
\item I2C
|
||
\begin{DoxyItemize}
|
||
\item Slave only
|
||
\item Clock rate up to 400k\+Hz
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}\hypertarget{device_specifications_autotoc_md7}{}\doxysubsubsection{Bluetooth/\+Wi-\/\+Fi\+: Espressif Systems ESP32-\/\+WROVER-\/\+IE (8\+MB)}\label{device_specifications_autotoc_md7}
|
||
|
||
\begin{DoxyItemize}
|
||
\item Power
|
||
\begin{DoxyItemize}
|
||
\item 3.\+0V to 3.\+6V Supply Voltage
|
||
\item Minimum 500mA needed up to 1.\+6A (500mA + 1100mA maximum cumulative IO output)
|
||
\end{DoxyItemize}
|
||
\item Notable Peripherals\+:
|
||
\begin{DoxyItemize}
|
||
\item I2C (2)
|
||
\begin{DoxyItemize}
|
||
\item Master or Slave
|
||
\item 100kbit/s or 400kbit/s
|
||
\item 7-\/bit/10-\/bit addressing mode
|
||
\end{DoxyItemize}
|
||
\item SPI
|
||
\begin{DoxyItemize}
|
||
\item SPI, HSPI and VSPI
|
||
\item Master or Slave
|
||
\item 1-\/line full-\/duplex and 1/2/4-\/line half-\/duplex
|
||
\item Up to 80MHz
|
||
\item Up to 64-\/byte FIFO
|
||
\end{DoxyItemize}
|
||
\item UART (3)
|
||
\begin{DoxyItemize}
|
||
\item Up to 5Mbps
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}\hypertarget{device_specifications_autotoc_md8}{}\doxysubsubsection{GPS Receiver\+: U-\/\+Blox NEO-\/\+M9N}\label{device_specifications_autotoc_md8}
|
||
|
||
\begin{DoxyItemize}
|
||
\item Power
|
||
\begin{DoxyItemize}
|
||
\item 2.\+7V to 3.\+6V
|
||
\item 36mA typical will be likely usage
|
||
\end{DoxyItemize}
|
||
\item Notable Peripherals\+:
|
||
\begin{DoxyItemize}
|
||
\item SPI
|
||
\begin{DoxyItemize}
|
||
\item Slave Only
|
||
\item 5.\+5\+MHz
|
||
\end{DoxyItemize}
|
||
\item UART
|
||
\item I2C (Also called Display Data Channel (DDC))
|
||
\begin{DoxyItemize}
|
||
\item Slave Only
|
||
\item 400k\+Hz
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}\hypertarget{device_specifications_autotoc_md9}{}\doxysubsubsection{CANbus Controller\+: Microchip Technology MCP2515\+T-\/\+I/\+SO}\label{device_specifications_autotoc_md9}
|
||
|
||
\begin{DoxyItemize}
|
||
\item Power
|
||
\begin{DoxyItemize}
|
||
\item 2.\+7V to 5.\+5V Supply Voltage
|
||
\item 5mA typical in active mode; 1uA typical in sleep mode
|
||
\end{DoxyItemize}
|
||
\item Notable Peripherals\+:
|
||
\begin{DoxyItemize}
|
||
\item SPI
|
||
\begin{DoxyItemize}
|
||
\item Slave (Assuming only option)
|
||
\item 10MHz
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}\hypertarget{device_specifications_autotoc_md10}{}\doxysubsubsection{CANbus Transceiver\+: \+Texas Instruments SN65\+HVD234D}\label{device_specifications_autotoc_md10}
|
||
|
||
\begin{DoxyItemize}
|
||
\item Power
|
||
\begin{DoxyItemize}
|
||
\item 3V to 3.\+6V Supply Voltage
|
||
\item 6mA typical maximum; 200uA typical in standby
|
||
\end{DoxyItemize}
|
||
\item Used directly with CANbus Controller
|
||
\end{DoxyItemize}\hypertarget{device_specifications_autotoc_md11}{}\doxysubsubsection{SD Card (\+Generic)}\label{device_specifications_autotoc_md11}
|
||
|
||
\begin{DoxyItemize}
|
||
\item Power
|
||
\begin{DoxyItemize}
|
||
\item 2.\+7V to 3.\+6V Supply Voltage
|
||
\end{DoxyItemize}
|
||
\item Notable Peripherals\+:
|
||
\begin{DoxyItemize}
|
||
\item SPI
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}\hypertarget{device_specifications_autotoc_md12}{}\doxysubsubsection{USB to UART Bridge\+: Future Technology Devices International FT230\+XS-\/R}\label{device_specifications_autotoc_md12}
|
||
|
||
\begin{DoxyItemize}
|
||
\item Power
|
||
\begin{DoxyItemize}
|
||
\item 3V to 5V Supply Voltage
|
||
\item 8.\+3mA maximum usage in normal operation (This chip will be exclusively powered an external host device)
|
||
\end{DoxyItemize}
|
||
\item Notable Peripherals\+:
|
||
\begin{DoxyItemize}
|
||
\item UART
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}\hypertarget{device_specifications_autotoc_md13}{}\doxysubsubsection{RS-\/232 Transceiver\+: Maxim Integrated MAX3232\+EUE+}\label{device_specifications_autotoc_md13}
|
||
|
||
\begin{DoxyItemize}
|
||
\item Power
|
||
\begin{DoxyItemize}
|
||
\item 3V to 5.\+5V Supply Voltage
|
||
\item Estimating 0.\+3mA typical average usage
|
||
\end{DoxyItemize}
|
||
\item Will use UART from the MCU
|
||
\end{DoxyItemize}\hypertarget{device_specifications_autotoc_md14}{}\doxysubsubsection{Inertial Measurement Unit\+: TDK Inven\+Sense ICM-\/20948}\label{device_specifications_autotoc_md14}
|
||
|
||
\begin{DoxyItemize}
|
||
\item Power
|
||
\begin{DoxyItemize}
|
||
\item 1.\+71V to 3.\+6V Supply Voltage
|
||
\item 3mA typical usage in full 9-\/Axis mode; 8uA typical in \char`\"{}\+Full-\/\+Chip Sleep Mode\char`\"{}
|
||
\end{DoxyItemize}
|
||
\item VDDIO Voltage input also needed from 1.\+71V to 1.\+95V
|
||
\item Notable Peripherals\+:
|
||
\begin{DoxyItemize}
|
||
\item I2C
|
||
\begin{DoxyItemize}
|
||
\item Slave only
|
||
\item 400k\+Hz
|
||
\end{DoxyItemize}
|
||
\item SPI
|
||
\begin{DoxyItemize}
|
||
\item Slave only
|
||
\item 7MHz
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}
|
||
\end{DoxyItemize}\hypertarget{powerDesign}{}\doxysection{Power Design}\label{powerDesign}
|
||
\hypertarget{power_design_autotoc_md15}{}\doxysubsection{Boost}\label{power_design_autotoc_md15}
|
||
\hypertarget{power_design_autotoc_md16}{}\doxysubsubsection{LTSpice Simulations}\label{power_design_autotoc_md16}
|
||
|
||
\begin{DoxyItemize}
|
||
\item The LTSpice circuit includes input and output resistors for input and output power calculations
|
||
\item An RC circuit can be added at the input for time-\/delay for output capacitor charging
|
||
\item Output power = (16V)(2A(max))=32 Watts
|
||
\item Input power = (12V)(Max FET current). Max FET current should be 2-\/3x the desired output current
|
||
\item Rsense = Vsense(min)/\+IL(max). Vsense is given in LT1619 Datasheet\+: 40m\+V(min). For IL, we are using max FET current
|
||
\begin{DoxyItemize}
|
||
\item For Rsense, a smaller R value gives less output ripple voltage in simulation.
|
||
\item Rsense is basically setting the current through the FET
|
||
\end{DoxyItemize}
|
||
\item Voltage divider equation can be found in datasheet for LT1619
|
||
\end{DoxyItemize}\hypertarget{power_design_autotoc_md17}{}\doxysubsubsection{Altium}\label{power_design_autotoc_md17}
|
||
|
||
\begin{DoxyItemize}
|
||
\item Inductor is 10uH MSS1210-\/103\+MEB. Dr. Bazuin suggested its use as Sunseeker has lots of them
|
||
\item Replaced the SI9804\+DY FET (used in LTSpice) with the FDS6680A as the SI is obsolete
|
||
\item Replaced the MBR735 Schottky (used in LTSpice) with the MBRD835\+LT4G because 735 is not surface mount
|
||
\end{DoxyItemize}\hypertarget{power_design_autotoc_md18}{}\doxysubsection{Buck}\label{power_design_autotoc_md18}
|
||
{\itshape asd}
|
||
|
||
{\bfseries{asd}} |