From 2b87ff11171876083a3710d4a5e5dce6a55abbce Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Wed, 10 Dec 2025 18:45:30 -0500 Subject: report: block diagram --- doc/report/diagram.fig | 156 +++++++++++++++++++++++++++++++++++++++++++++++++ doc/report/report.tex | 9 ++- 2 files changed, 163 insertions(+), 2 deletions(-) create mode 100644 doc/report/diagram.fig (limited to 'doc/report') diff --git a/doc/report/diagram.fig b/doc/report/diagram.fig new file mode 100644 index 0000000..dd3feed --- /dev/null +++ b/doc/report/diagram.fig @@ -0,0 +1,156 @@ +#FIG 3.2 Produced by xfig version 3.2.9a +#encoding: UTF-8 +Landscape +Center +Metric +A4 +300.00 +Single +-2 +1200 2 +6 4725 1575 5940 2115 +6 4837 1665 5827 2025 +4 1 0 50 -1 0 12.00 0.0000 4 165 435 5332 1800 CAN\001 +4 1 0 50 -1 0 12.00 0.0000 4 165 945 5332 2010 Transceiver\001 +-6 +2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 + 4725 1575 5917 1575 5917 2115 4725 2115 4725 1575 +-6 +6 4725 2565 5940 3105 +6 4860 2655 5805 3015 +4 1 0 50 -1 0 12.00 0.0000 4 165 435 5332 2790 CAN\001 +4 1 0 50 -1 0 12.00 0.0000 4 165 840 5332 3000 Controller\001 +-6 +2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 + 4725 2565 5917 2565 5917 3105 4725 3105 4725 2565 +-6 +6 5265 2115 5355 2565 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 5310 2115 5310 2565 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 5355 2295 5265 2385 +-6 +6 3600 4275 4230 4590 +2 2 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 5 + 3600 4275 4230 4275 4230 4590 3600 4590 3600 4275 +4 0 0 50 -1 0 12.00 0.0000 4 165 435 3690 4500 DAC\001 +-6 +6 1755 1665 2520 2565 +6 1845 1665 2430 2070 +2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 + 1845 1665 2430 1665 2430 2070 1845 2070 1845 1665 +4 0 0 50 -1 0 12.00 0.0000 4 165 405 1935 1935 ECU\001 +-6 +6 1755 2250 2520 2565 +2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 + 1755 2250 2520 2250 2520 2565 1755 2565 1755 2250 +4 0 0 50 -1 0 12.00 0.0000 4 165 615 1800 2475 Sensors\001 +-6 +2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2 + 2115 2070 2115 2250 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 2160 2115 2070 2205 +-6 +6 4635 3420 6075 3825 +2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 + 4635 3420 6075 3420 6075 3825 4635 3825 4635 3420 +4 0 0 50 -1 0 12.00 0.0000 4 165 1290 4725 3690 Microcontroller\001 +-6 +6 1710 2880 2340 3510 +1 3 0 1 0 7 50 -1 -1 4.000 1 0.0000 2025 3195 288 288 2025 3195 2205 3420 +4 1 0 50 -1 0 11.00 0.0000 4 165 390 2025 3240 Tach.\001 +-6 +6 2430 2880 3060 3510 +1 3 0 1 0 7 50 -1 -1 4.000 1 0.0000 2745 3195 288 288 2745 3195 2925 3420 +4 1 0 50 -1 0 11.00 0.0000 4 165 480 2745 3240 Speed.\001 +-6 +6 2025 3420 4635 3645 +6 3105 3420 3375 3510 +2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 7 + 3105 3510 3105 3420 3195 3420 3195 3510 3285 3510 3285 3420 + 3375 3420 +-6 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 3 + 4635 3600 2745 3600 2745 3465 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 3 + 4635 3645 2025 3645 2025 3465 +-6 +6 2025 4230 3600 4455 +6 3105 4230 3375 4320 +3 2 0 1 0 7 50 -1 -1 4.000 0 0 0 4 + 3105 4320 3195 4230 3285 4320 3375 4230 + 0.000 -0.500 -0.500 0.000 +-6 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 3 + 3600 4410 2745 4410 2745 4275 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 3 + 3600 4455 2025 4455 2025 4275 +-6 +6 2025 5040 3600 5265 +6 3105 5040 3375 5130 +3 2 0 1 0 7 50 -1 -1 4.000 0 0 0 4 + 3105 5130 3195 5040 3285 5130 3375 5040 + 0.000 -0.500 -0.500 0.000 +-6 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 3 + 3600 5220 2745 5220 2745 5085 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 3 + 3600 5265 2025 5265 2025 5085 +-6 +6 1710 4500 2340 5130 +1 3 0 1 0 7 50 -1 -1 4.000 1 0.0000 2025 4815 288 288 2025 4815 2205 5040 +4 1 0 50 -1 0 11.00 0.0000 4 165 255 2025 4860 P/T\001 +-6 +6 2430 4500 3060 5130 +1 3 0 1 0 7 50 -1 -1 4.000 1 0.0000 2745 4815 288 288 2745 4815 2925 5040 +4 1 0 50 -1 0 11.00 0.0000 4 165 255 2745 4860 P/T\001 +-6 +6 2430 3690 3060 4320 +1 3 0 1 0 7 50 -1 -1 4.000 1 0.0000 2745 4005 288 288 2745 4005 2925 4230 +4 1 0 50 -1 0 11.00 0.0000 4 165 255 2745 4050 P/T\001 +-6 +6 1710 3690 2340 4320 +1 3 0 1 0 7 50 -1 -1 4.000 1 0.0000 2025 4005 288 288 2025 4005 2205 4230 +4 1 0 50 -1 0 11.00 0.0000 4 165 255 2025 4050 P/T\001 +-6 +6 4860 5085 5760 5400 +2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 + 4860 5085 5760 5085 5760 5400 4860 5400 4860 5085 +4 1 0 50 -1 0 12.00 0.0000 4 165 810 5310 5310 EEPROM\001 +-6 +6 3600 5085 4230 5400 +2 2 0 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 5 + 3600 5085 4230 5085 4230 5400 3600 5400 3600 5085 +4 0 0 50 -1 0 12.00 0.0000 4 165 435 3690 5310 DAC\001 +-6 +1 3 0 1 0 0 50 -1 20 0.000 1 0.0000 5310 4455 45 45 5310 4455 5355 4455 +1 3 0 1 0 0 50 -1 20 0.000 1 0.0000 4500 4455 45 45 4500 4455 4545 4455 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 2430 1845 4725 1845 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 3150 1800 3060 1890 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 5310 3105 5310 3420 +2 2 1 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 5 + 3510 1485 6165 1485 6165 5490 3510 5490 3510 1485 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 5355 3240 5265 3330 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 5310 3825 5310 5085 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 5355 4050 5265 4140 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 5355 4725 5265 4815 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 4950 4410 4860 4500 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 5310 4455 4230 4455 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 3 + 4500 4455 4500 5265 4230 5265 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 4410 4410 4320 4500 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 4545 4815 4455 4905 +4 1 0 50 -1 0 12.00 0.0000 4 165 795 3060 1710 CAN Bus\001 +4 0 0 50 -1 0 12.00 0.0000 4 165 270 5400 3330 SPI\001 +4 0 0 50 -1 0 12.00 0.0000 4 165 270 4770 4365 SPI\001 diff --git a/doc/report/report.tex b/doc/report/report.tex index c7cf533..554e932 100644 --- a/doc/report/report.tex +++ b/doc/report/report.tex @@ -116,14 +116,19 @@ Two dual DACs (digital-to-analog converters) generate signals for the four analo These can drive up to four temperature or pressure gauges, or any gauge that accepts a 0--5V analog input. The microcontroller's timers produce two variable-frequency square waves which drive the tachometer and speedometer. +\begin{figure} + \centering + \includegraphics[width=2.5in]{diagram} + \caption{System diagram.} + \label{fig:BlockDiagram} +\end{figure} + As it is intended to be a generic part that can be retrofitted to existing cars, the device must work with any combination of sensors, gauges, and CAN encoding schemes. Thus, it is user-programmable, allowing it to be installed in any system. The user-configuration is programmed via CAN and stored in non-volatile memory, namely an EEPROM (electrically erasable programmable read-only memory) chip. TODO: mention software/firmware and that it will be discussed in the subsequent sections, after the hardware. -TODO: block diagram. - TODO -- cgit v1.2.3