4th Semseter files

This commit is contained in:
2024-02-22 14:24:32 -05:00
parent 5223b711a6
commit cd78e4d51b
238 changed files with 34030 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
\relax
\@writefile{toc}{\contentsline {section}{\numberline {1}Planning the Synth}{1}{}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {2}How the Synth Works}{1}{}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {3}Conclusions}{2}{}\protected@file@percent }
\gdef \@abspage@last{2}

View File

@@ -0,0 +1,20 @@
# Fdb version 4
["pdflatex"] 1683773619 "appnote.tex" "appnote.pdf" "appnote" 1683773619 0
"/home/sharpe/.texlive2021/texmf-var/web2c/pdftex/pdflatex.fmt" 1679584289 1345251 b7d83a43d87faffa09e2301978214da4 ""
"/usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map" 1577235249 3524 cb3e574dea2d1052e39280babc910dc8 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm" 1136768653 1324 c910af8c371558dc20f2d7822f66fe64 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr12.tfm" 1136768653 1288 655e228510b4c2a1abe905c368440826 ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb" 1248133631 32080 340ef9bf63678554ee606688e7b5339d ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb" 1248133631 35752 024fb6c41858982481f6968b5fc26508 ""
"/usr/share/texlive/texmf-dist/tex/latex/base/article.cls" 1661385875 20145 aad8c3dd3bc36e260347b84002182bc2 ""
"/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo" 1661385875 8449 a72d5d4e612221b46000c3d71724e0ef ""
"/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def" 1620418576 27177 c0f5f128013bde6670e188c4af243210 ""
"/usr/share/texlive/texmf-dist/web2c/texmf.cnf" 1661385786 40136 b05acc85e8425979e52682d98a2bcacf ""
"/usr/share/texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map" 1681396273 5129299 4c9f5649d140e7087587b8db0d7b09d4 ""
"appnote.aux" 1683773619 344 8db61d8ac8e240f4f53e7d636d1bf5bd "pdflatex"
"appnote.tex" 1683773618 3513 884cac9dd0666594d0e433617a74c9e3 ""
(generated)
"appnote.aux"
"appnote.log"
"appnote.pdf"
(rewritten before read)

View File

@@ -0,0 +1,44 @@
PWD /home/sharpe/Documents/Rowan/Rowan-Classes/4th-Semester-Spring-2023/Electronics/ApplicationNote
INPUT /usr/share/texlive/texmf-dist/web2c/texmf.cnf
INPUT /usr/share/texlive/texmf-dist/web2c/texmf.cnf
INPUT /home/sharpe/.texlive2021/texmf-var/web2c/pdftex/pdflatex.fmt
INPUT appnote.tex
OUTPUT appnote.log
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
INPUT ./appnote.aux
INPUT appnote.aux
INPUT appnote.aux
OUTPUT appnote.aux
INPUT /usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr12.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm
OUTPUT appnote.pdf
INPUT /usr/share/texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map
INPUT appnote.aux
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb

View File

@@ -0,0 +1,64 @@
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex 2023.3.23) 10 MAY 2023 22:53
entering extended mode
restricted \write18 enabled.
file:line:error style messages enabled.
%&-line parsing enabled.
**appnote.tex
(./appnote.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-05-07> (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2020/04/10 v1.4m Standard LaTeX file (size option)
)
\c@part=\count179
\c@section=\count180
\c@subsection=\count181
\c@subsubsection=\count182
\c@paragraph=\count183
\c@subparagraph=\count184
\c@figure=\count185
\c@table=\count186
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen138
) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
File: l3backend-pdftex.def 2021-05-07 L3 backend support: PDF output (pdfTeX)
\l__color_backend_stack_int=\count187
\l__pdf_internal_box=\box47
) (./appnote.aux)
\openout1 = `appnote.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
[1
{/usr/share/texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] [2] (./appnote.aux) )
Here is how much of TeX's memory you used:
388 strings out of 480806
6936 string characters out of 5905151
296390 words of memory out of 6000000
17849 multiletter control sequences out of 15000+600000
404035 words of font info for 29 fonts, out of 8000000 for 9000
14 hyphenation exceptions out of 8191
34i,4n,38p,677b,102s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on appnote.pdf (2 pages, 36931 bytes).
PDF statistics:
19 PDF objects out of 1000 (max. 8388607)
12 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)

View File

@@ -0,0 +1,24 @@
\documentclass{article}
\title{Making A Synthesizer: An Application Note}
\author{Aidan Sharpe}
\begin{document}
Building a synthesizer for this semester's Electronics I final project was no simple task. However, the principles involved in its construction are. In this application note, I will discuss the planning stages and how the synthesizer works at a granular scale.
\section{Planning the Synth}
During our first lab of the semester, one of the tasks was to construct an astable multivibrator with an oscillation frequency of 500Hz. Before building it, I did not have a great understanding of how they worked, but once I worked through the math, I was amazed. Using fairly imprecise components, we were able to achieve an oscillation frequency of 507Hz, not too bad.
I grew up watching videos about old school computers and synthesizers, specifically, the Commodore 64's SID chip. I became familiar with simple waveforms, and high school I played around with Fourier series on my graphing calculator to construct these waveforms. So when I was able to quickly create a square wave with only a handful of readily available parts, my imagination went straight to synthesizers.
In February, Elise and I started making schematics to create more waveforms from the astable multivibrator. I used an integrator to turn the square wave into a triangle wave, and I was able to use a two stage diode shaper to approximate a sine wave. Unfortunately, here we ran into trouble. Since we were integrating a square wave, the amplitude of the created triangle wave would shrink as frequencies got higher. We should have anticipated this since our integrator was a low pass filter. At this point the project took a turn into the world of embedded systems.
\section{How the Synth Works}
By employing a microcontroller, the higher frequency attenuation was no longer an issue. Instead, timers were chosen to select an output value for each waveform at each point in time. Elise was able to put together the code that would allow the microcontroller to select the frequency based on a button press, while I focused on generating the signals. Since the GPIO pins are strictly digital, I opted to convert the values from the timers to pulse width modulation (PWM). My strategy for doing this was too computationally intense, and I was not able to create PWM signals any faster than 1KHz, which would not cut it for the frequencies we wanted to generate.
Simulating the electronics portion went very smoothly. I was able to put together a python script that made preset PWM signals in the form of a PWL file that would control a voltage source in LTspice. Using a low pass filter, some voltage followers, and a summing amplifier to act as a mixer, we were able to simulate triangle and sawtooth waves that looked quite good. In addition, we were able to combine the two waveforms together with the summing amplifier to create a sort of bent sawtooth wave.
\section{Conclusions}
Overall, the project served as a learning experience more than anything. If we had another week or so, I think we could have used a system similar to the python script I made to generate some preset PWM values for the microcontroller to use. We also found some wiring errors on our printed circuit board that would have caused problems once we got the microcontroller to generate the desired output signals. We were fairly close to a working product, and I am happy that I got to work on such a fun and rewarding project.
\end{document}