Compare commits

..
Author SHA1 Message Date
kenryuS b6ee54382b fixed t-1 2026-06-13 22:07:36 +09:00
kenryuS a329a7cc12 fixed a-2 2026-06-13 21:18:16 +09:00
kenryuS 16b80bf79a fixed most of tables in a-2 2026-06-03 02:28:35 +09:00
99 changed files with 241 additions and 5200 deletions
+49 -219
View File
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0 EPSF-2.0 %!PS-Adobe-2.0 EPSF-2.0
%%Title: exp1.tex %%Title: exp1.tex
%%Creator: gnuplot 6.0 patchlevel 4 %%Creator: gnuplot 6.0 patchlevel 4
%%CreationDate: Tue May 19 03:45:31 2026 %%CreationDate: Thu Jun 11 14:37:07 2026
%%DocumentFonts: %%DocumentFonts:
%%BoundingBox: 50 50 390 276 %%BoundingBox: 50 50 390 276
%%EndComments %%EndComments
@@ -12,7 +12,7 @@ gnudict begin
% The following true/false flags may be edited by hand if desired. % The following true/false flags may be edited by hand if desired.
% The unit line width and grayscale image gamma correction may also be changed. % The unit line width and grayscale image gamma correction may also be changed.
% %
/Color true def /Color false def
/Blacktext true def /Blacktext true def
/Solid false def /Solid false def
/Dashlength 1 def /Dashlength 1 def
@@ -441,7 +441,7 @@ SDict begin [
/Creator (gnuplot 6.0 patchlevel 4) /Creator (gnuplot 6.0 patchlevel 4)
% /Producer (gnuplot) % /Producer (gnuplot)
% /Keywords () % /Keywords ()
/CreationDate (Tue May 19 03:45:31 2026) /CreationDate (Thu Jun 11 14:37:07 2026)
/DOCINFO pdfmark /DOCINFO pdfmark
end end
} ifelse } ifelse
@@ -485,100 +485,56 @@ newpath
LTb LTb
LCb setrgbcolor LCb setrgbcolor
[] 0 setdash [] 0 setdash
0.00 0.00 0.00 C
0.500 UL 0.500 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.20 0.20 0.20 C
814 704 M 814 704 M
5591 0 V 5591 0 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
814 704 M 814 704 M
63 0 V 63 0 V
5528 0 R 5528 0 R
-63 0 V -63 0 V
stroke stroke
LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
0.500 UL 0.500 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.20 0.20 0.20 C
814 1426 M 814 1426 M
5591 0 V 5591 0 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
814 1426 M 814 1426 M
63 0 V 63 0 V
5528 0 R 5528 0 R
-63 0 V -63 0 V
stroke stroke
LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
0.500 UL 0.500 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.20 0.20 0.20 C
814 2148 M 814 2148 M
5591 0 V 5591 0 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
814 2148 M 814 2148 M
63 0 V 63 0 V
5528 0 R 5528 0 R
-63 0 V -63 0 V
stroke stroke
LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
0.500 UL 0.500 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.20 0.20 0.20 C
814 2869 M 814 2869 M
5591 0 V 5591 0 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
814 2869 M 814 2869 M
63 0 V 63 0 V
5528 0 R 5528 0 R
-63 0 V -63 0 V
stroke stroke
LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
0.500 UL 0.500 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.20 0.20 0.20 C
814 3591 M 814 3591 M
132 0 V 132 0 V
3099 0 R 3099 0 R
@@ -586,67 +542,37 @@ LCb setrgbcolor
stroke stroke
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
814 3591 M 814 3591 M
63 0 V 63 0 V
5528 0 R 5528 0 R
-63 0 V -63 0 V
stroke stroke
LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
0.500 UL 0.500 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.20 0.20 0.20 C
814 4313 M 814 4313 M
5591 0 V 5591 0 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
814 4313 M 814 4313 M
63 0 V 63 0 V
5528 0 R 5528 0 R
-63 0 V -63 0 V
stroke stroke
LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
0.500 UL 0.500 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.20 0.20 0.20 C
814 704 M 814 704 M
0 3609 V 0 3609 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
814 704 M 814 704 M
0 63 V 0 63 V
0 3546 R 0 3546 R
0 -63 V 0 -63 V
stroke stroke
LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
0.500 UL 0.500 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.20 0.20 0.20 C
2491 704 M 2491 704 M
0 2226 V 0 2226 V
0 1320 R 0 1320 R
@@ -654,67 +580,37 @@ LCb setrgbcolor
stroke stroke
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
2491 704 M 2491 704 M
0 63 V 0 63 V
0 3546 R 0 3546 R
0 -63 V 0 -63 V
stroke stroke
LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
0.500 UL 0.500 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.20 0.20 0.20 C
4169 704 M 4169 704 M
0 3609 V 0 3609 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
4169 704 M 4169 704 M
0 63 V 0 63 V
0 3546 R 0 3546 R
0 -63 V 0 -63 V
stroke stroke
LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
0.500 UL 0.500 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.20 0.20 0.20 C
5846 704 M 5846 704 M
0 3609 V 0 3609 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
5846 704 M 5846 704 M
0 63 V 0 63 V
0 3546 R 0 3546 R
0 -63 V 0 -63 V
stroke stroke
LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
814 4313 N 814 4313 N
814 704 L 814 704 L
5591 0 V 5591 0 V
@@ -724,15 +620,9 @@ Z stroke
1.000 UP 1.000 UP
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.00 0.00 0.00 C
% Begin plot #1 % Begin plot #1
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.58 0.00 0.83 C
814 704 M 814 704 M
56 36 V 56 36 V
57 37 V 57 37 V
@@ -839,9 +729,7 @@ LTw
% Begin plot #2 % Begin plot #2
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor LT1
[] 0 setdash
0.00 0.62 0.45 C
814 704 M 814 704 M
56 17 V 56 17 V
57 16 V 57 16 V
@@ -948,9 +836,7 @@ LTw
% Begin plot #3 % Begin plot #3
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor LT2
[] 0 setdash
0.34 0.71 0.91 C
814 704 M 814 704 M
56 11 V 56 11 V
57 11 V 57 11 V
@@ -1058,14 +944,9 @@ LTw
1.000 UP 1.000 UP
2.000 UL 2.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.58 0.00 0.83 C
LCb setrgbcolor
1.000 UP 1.000 UP
2.000 UL 2.000 UL
LTb LTb
0.58 0.00 0.83 C
2.000 UL 2.000 UL
[] 0 setdash [] 0 setdash
1078 4140 M 1078 4140 M
@@ -1079,9 +960,6 @@ stroke
1.000 UP 1.000 UP
stroke stroke
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.58 0.00 0.83 C
2.000 UL 2.000 UL
[] 0 setdash [] 0 setdash
2491 1733 M 2491 1733 M
@@ -1115,9 +993,6 @@ stroke
1.000 UP 1.000 UP
stroke stroke
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.58 0.00 0.83 C
LCw setrgbcolor LCw setrgbcolor
1.000 UP 1.000 UP
2491 1787 CircleF 2491 1787 CircleF
@@ -1126,7 +1001,6 @@ LCw setrgbcolor
LTb LTb
LCb setrgbcolor LCb setrgbcolor
[] 0 setdash [] 0 setdash
0.58 0.00 0.83 C
2491 1787 Pls 2491 1787 Pls
LCw setrgbcolor LCw setrgbcolor
1.000 UP 1.000 UP
@@ -1136,7 +1010,6 @@ LCw setrgbcolor
LTb LTb
LCb setrgbcolor LCb setrgbcolor
[] 0 setdash [] 0 setdash
0.58 0.00 0.83 C
4169 2869 Pls 4169 2869 Pls
LCw setrgbcolor LCw setrgbcolor
1.000 UP 1.000 UP
@@ -1146,7 +1019,6 @@ LCw setrgbcolor
LTb LTb
LCb setrgbcolor LCb setrgbcolor
[] 0 setdash [] 0 setdash
0.58 0.00 0.83 C
5846 3952 Pls 5846 3952 Pls
LCw setrgbcolor LCw setrgbcolor
1.000 UP 1.000 UP
@@ -1156,40 +1028,27 @@ LCw setrgbcolor
LTb LTb
LCb setrgbcolor LCb setrgbcolor
[] 0 setdash [] 0 setdash
0.58 0.00 0.83 C
1374 4140 Pls 1374 4140 Pls
LTw LTw
% End plot #4 % End plot #4
% Begin plot #5 % Begin plot #5
1.000 UP 1.000 UP
1.000 UL 2.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
0.94 0.89 0.26 C
LCb setrgbcolor
1.000 UP 1.000 UP
1.000 UL 2.000 UL
LTb LTb
0.94 0.89 0.26 C
2493 1798 BoxF
4173 2895 BoxF
5848 3992 BoxF
1374 3920 BoxF
LTw LTw
% End plot #5 % End plot #5
% Begin plot #6 % Begin plot #6
1.000 UP 1.000 UP
2.000 UL 4.000 UL
LTb LTb
LCb setrgbcolor LT1
[] 0 setdash
0.00 0.62 0.45 C
LCb setrgbcolor
1.000 UP 1.000 UP
2.000 UL 4.000 UL
LTb LTb
0.00 0.62 0.45 C LT1
2.000 UL 2.000 UL
[] 0 setdash [] 0 setdash
1078 3700 M 1078 3700 M
@@ -1203,9 +1062,7 @@ stroke
1.000 UP 1.000 UP
stroke stroke
LTb LTb
LCb setrgbcolor LT1
[] 0 setdash
0.00 0.62 0.45 C
2.000 UL 2.000 UL
[] 0 setdash [] 0 setdash
2491 1171 M 2491 1171 M
@@ -1238,64 +1095,56 @@ stroke
186 0 V 186 0 V
1.000 UP 1.000 UP
stroke stroke
4.000 UL
LTb LTb
LCb setrgbcolor LT1
[] 0 setdash
0.00 0.62 0.45 C
LCw setrgbcolor LCw setrgbcolor
1.000 UP 1.000 UP
2491 1196 CircleF 2491 1196 CircleF
1.000 UP 1.000 UP
2.000 UL 4.000 UL
LTb LTb
LCb setrgbcolor LCb setrgbcolor
[] 0 setdash LT1
0.00 0.62 0.45 C 2491 1196 Pls
2491 1196 Crs
LCw setrgbcolor LCw setrgbcolor
1.000 UP 1.000 UP
4169 1688 CircleF 4169 1688 CircleF
1.000 UP 1.000 UP
2.000 UL 4.000 UL
LTb LTb
LCb setrgbcolor LCb setrgbcolor
[] 0 setdash LT1
0.00 0.62 0.45 C 4169 1688 Pls
4169 1688 Crs
LCw setrgbcolor LCw setrgbcolor
1.000 UP 1.000 UP
5846 2180 CircleF 5846 2180 CircleF
1.000 UP 1.000 UP
2.000 UL 4.000 UL
LTb LTb
LCb setrgbcolor LCb setrgbcolor
[] 0 setdash LT1
0.00 0.62 0.45 C 5846 2180 Pls
5846 2180 Crs
LCw setrgbcolor LCw setrgbcolor
1.000 UP 1.000 UP
1374 3700 CircleF 1374 3700 CircleF
1.000 UP 1.000 UP
2.000 UL 4.000 UL
LTb LTb
LCb setrgbcolor LCb setrgbcolor
[] 0 setdash LT1
0.00 0.62 0.45 C 1374 3700 Pls
1374 3700 Crs
LTw LTw
% End plot #6 % End plot #6
% Begin plot #7 % Begin plot #7
1.000 UP 1.000 UP
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor LT6
[] 0 setdash
0.90 0.12 0.06 C
LCb setrgbcolor
1.000 UP 1.000 UP
1.000 UL 1.000 UL
LTb LTb
0.90 0.12 0.06 C LT6
2494 1202 CircleF 2494 1202 CircleF
4171 1700 CircleF 4171 1700 CircleF
5848 2198 CircleF 5848 2198 CircleF
@@ -1304,16 +1153,13 @@ LTw
% End plot #7 % End plot #7
% Begin plot #8 % Begin plot #8
1.000 UP 1.000 UP
2.000 UL 4.000 UL
LTb LTb
LCb setrgbcolor LT2
[] 0 setdash
0.34 0.71 0.91 C
LCb setrgbcolor
1.000 UP 1.000 UP
2.000 UL 4.000 UL
LTb LTb
0.34 0.71 0.91 C LT2
2.000 UL 2.000 UL
[] 0 setdash [] 0 setdash
1078 3260 M 1078 3260 M
@@ -1327,9 +1173,7 @@ stroke
1.000 UP 1.000 UP
stroke stroke
LTb LTb
LCb setrgbcolor LT2
[] 0 setdash
0.34 0.71 0.91 C
2.000 UL 2.000 UL
[] 0 setdash [] 0 setdash
2491 1016 M 2491 1016 M
@@ -1362,64 +1206,56 @@ stroke
186 0 V 186 0 V
1.000 UP 1.000 UP
stroke stroke
4.000 UL
LTb LTb
LCb setrgbcolor LT2
[] 0 setdash
0.34 0.71 0.91 C
LCw setrgbcolor LCw setrgbcolor
1.000 UP 1.000 UP
2491 1032 CircleF 2491 1032 CircleF
1.000 UP 1.000 UP
2.000 UL 4.000 UL
LTb LTb
LCb setrgbcolor LCb setrgbcolor
[] 0 setdash LT2
0.34 0.71 0.91 C 2491 1032 Pls
2491 1032 Star
LCw setrgbcolor LCw setrgbcolor
1.000 UP 1.000 UP
4169 1360 CircleF 4169 1360 CircleF
1.000 UP 1.000 UP
2.000 UL 4.000 UL
LTb LTb
LCb setrgbcolor LCb setrgbcolor
[] 0 setdash LT2
0.34 0.71 0.91 C 4169 1360 Pls
4169 1360 Star
LCw setrgbcolor LCw setrgbcolor
1.000 UP 1.000 UP
5846 1688 CircleF 5846 1688 CircleF
1.000 UP 1.000 UP
2.000 UL 4.000 UL
LTb LTb
LCb setrgbcolor LCb setrgbcolor
[] 0 setdash LT2
0.34 0.71 0.91 C 5846 1688 Pls
5846 1688 Star
LCw setrgbcolor LCw setrgbcolor
1.000 UP 1.000 UP
1374 3260 CircleF 1374 3260 CircleF
1.000 UP 1.000 UP
2.000 UL 4.000 UL
LTb LTb
LCb setrgbcolor LCb setrgbcolor
[] 0 setdash LT2
0.34 0.71 0.91 C 1374 3260 Pls
1374 3260 Star
LTw LTw
% End plot #8 % End plot #8
% Begin plot #9 % Begin plot #9
1.000 UP 1.000 UP
1.000 UL 1.000 UL
LTb LTb
LCb setrgbcolor LT8
[] 0 setdash
0.58 0.00 0.83 C
LCb setrgbcolor
1.000 UP 1.000 UP
1.000 UL 1.000 UL
LTb LTb
0.58 0.00 0.83 C LT8
2493 1036 TriUF 2493 1036 TriUF
4173 1368 TriUF 4173 1368 TriUF
5848 1700 TriUF 5848 1700 TriUF
@@ -1428,23 +1264,17 @@ LTw
% End plot #9 % End plot #9
2.000 UL 2.000 UL
LTb LTb
LCb setrgbcolor
[] 0 setdash
1.000 UL 1.000 UL
LTb LTb
0.00 0.00 0.00 C
814 4313 N 814 4313 N
814 704 L 814 704 L
5591 0 V 5591 0 V
0 3609 V 0 3609 V
-5591 0 V -5591 0 V
Z stroke Z stroke
LCb setrgbcolor
LTb
1.000 UP 1.000 UP
1.000 UL 1.000 UL
LTb LTb
0.00 0.00 0.00 C
stroke stroke
grestore grestore
end end
+10 -27
View File
@@ -1,10 +1,13 @@
set output "exp1.tex" set output "exp1.tex"
set encoding utf8 set encoding utf8
set terminal epslatex color font "Arial,11" fontscale 1.0 size 12cm,8cm set terminal epslatex monochrome font "Arial,11" fontscale 1.0 size 12cm,8cm
set style data lines set style data lines
set style line 1 linetype 1 linewidth 1 linecolor rgb "magenta" #set dashtype 1 ". "
set style line 2 linetype 1 linewidth 1 linecolor rgb "blue" #set dashtype 2 (2,4,2,6)
set style line 3 linetype 3 linewidth 1 linecolor rgb "green" #set dashtype 3 ".._"
set style line 1
set style line 2 dashtype 2
set style line 3 dashtype 1
set style line 91 linetype 1 linewidth 1 linecolor rgb "black" set style line 91 linetype 1 linewidth 1 linecolor rgb "black"
set style line 92 linetype 1 linewidth 0.5 linecolor rgb "gray20" set style line 92 linetype 1 linewidth 0.5 linecolor rgb "gray20"
set style line 93 linetype 1 linewidth 0.5 linecolor rgb "gray60" set style line 93 linetype 1 linewidth 0.5 linecolor rgb "gray60"
@@ -28,29 +31,9 @@ x linetype 1 title "", \
x / 2.2 linetype 2 title "", \ x / 2.2 linetype 2 title "", \
x / 3.3 linetype 3 title "", \ x / 3.3 linetype 3 title "", \
'exp1-theory.dat' using 1:($2 * 1000):($3 * 1000):($4 * 1000) linetype 1 linewidth 2 title "Theory (1.0k Ohm)" with yerrorbars, \ 'exp1-theory.dat' using 1:($2 * 1000):($3 * 1000):($4 * 1000) linetype 1 linewidth 2 title "Theory (1.0k Ohm)" with yerrorbars, \
'exp1-result.dat' using 1:($2 * 1000) title "Result (1.0k Ohm)" with points, \ 'exp1-result.dat' using 1:($2 * 1000) title "Result (1.0k Ohm)" with points pt "x", \
'exp1-theory.dat' using 5:($6 * 1000):($7 * 1000):($8 * 1000) linetype 2 linewidth 2 title "Theory (2.2k Ohm)" with yerrorbars, \ 'exp1-theory.dat' using 5:($6 * 1000):($7 * 1000):($8 * 1000) linetype 2 linewidth 4 title "Theory (2.2k Ohm)" with yerrorbars, \
'exp1-result.dat' using 3:($4 * 1000) title "Result (2.2k Ohm)" with points, \ 'exp1-result.dat' using 3:($4 * 1000) title "Result (2.2k Ohm)" with points, \
'exp1-theory.dat' using 9:($10 * 1000):($11 * 1000):($12 * 1000) linetype 3 linewidth 2 title "Theory (3.3k Ohm)" with yerrorbars, \ 'exp1-theory.dat' using 9:($10 * 1000):($11 * 1000):($12 * 1000) linetype 3 linewidth 4 title "Theory (3.3k Ohm)" with yerrorbars, \
'exp1-result.dat' using 5:($6 * 1000) title "Result (3.3k Ohm)" with points 'exp1-result.dat' using 5:($6 * 1000) title "Result (3.3k Ohm)" with points
#set multiplot layout 2,2 rowsfirst spacing 0.05
#
#set xlabel "Supply Voltage (V)"
#set ylabel "Current (mA)" offset 1.0
#
#set label "1.0k Ohm" at graph 0.05,0.9 left boxed bs 2 front
#plot 'exp1-theory.dat' using 1:($2 * 1000):($3 * 1000):($4 * 1000) linetype 1 title "Theory" with yerrorlines, \
#'exp1-result.dat' using 1:($2 * 1000) title "Result" with points
#unset label
#set label "2.2k Ohm" at graph 0.05,0.9 left boxed bs 2 front
#plot 'exp1-theory.dat' using 5:($6 * 1000):($7 * 1000):($8 * 1000) linetype 1 title "Theory" with yerrorlines, \
#'exp1-result.dat' using 3:($4 * 1000) title "Result" with points
#set origin 0.2,0
#unset label
#set label "3.3k Ohm" at graph 0.05,0.9 left boxed bs 2 front
#plot 'exp1-theory.dat' using 9:($10 * 1000):($11 * 1000):($12 * 1000) linetype 1 title "Theory" with yerrorlines, \
#'exp1-result.dat' using 5:($6 * 1000) title "Result" with points
#
#unset multiplot
+6 -14
View File
@@ -22,7 +22,7 @@
\providecommand\rotatebox[2]{#2}% \providecommand\rotatebox[2]{#2}%
\@ifundefined{ifGPcolor}{% \@ifundefined{ifGPcolor}{%
\newif\ifGPcolor \newif\ifGPcolor
\GPcolortrue \GPcolorfalse
}{}% }{}%
\@ifundefined{ifGPblacktext}{% \@ifundefined{ifGPblacktext}{%
\newif\ifGPblacktext \newif\ifGPblacktext
@@ -84,25 +84,16 @@
\definecolor{tbcol}{rgb}{1,1,1}% \definecolor{tbcol}{rgb}{1,1,1}%
\begin{picture}(6802.00,4534.00)% \begin{picture}(6802.00,4534.00)%
\gplgaddtomacro\gplbacktext{% \gplgaddtomacro\gplbacktext{%
\colorrgb{0.00,0.00,0.00}%% \csname LTb\endcsname%%
\put(682,704){\makebox(0,0)[r]{\strut{}$0$}}% \put(682,704){\makebox(0,0)[r]{\strut{}$0$}}%
\colorrgb{0.00,0.00,0.00}%%
\put(682,1426){\makebox(0,0)[r]{\strut{}$2$}}% \put(682,1426){\makebox(0,0)[r]{\strut{}$2$}}%
\colorrgb{0.00,0.00,0.00}%%
\put(682,2148){\makebox(0,0)[r]{\strut{}$4$}}% \put(682,2148){\makebox(0,0)[r]{\strut{}$4$}}%
\colorrgb{0.00,0.00,0.00}%%
\put(682,2869){\makebox(0,0)[r]{\strut{}$6$}}% \put(682,2869){\makebox(0,0)[r]{\strut{}$6$}}%
\colorrgb{0.00,0.00,0.00}%%
\put(682,3591){\makebox(0,0)[r]{\strut{}$8$}}% \put(682,3591){\makebox(0,0)[r]{\strut{}$8$}}%
\colorrgb{0.00,0.00,0.00}%%
\put(682,4313){\makebox(0,0)[r]{\strut{}$10$}}% \put(682,4313){\makebox(0,0)[r]{\strut{}$10$}}%
\colorrgb{0.00,0.00,0.00}%%
\put(814,484){\makebox(0,0){\strut{}$0$}}% \put(814,484){\makebox(0,0){\strut{}$0$}}%
\colorrgb{0.00,0.00,0.00}%%
\put(2491,484){\makebox(0,0){\strut{}$3$}}% \put(2491,484){\makebox(0,0){\strut{}$3$}}%
\colorrgb{0.00,0.00,0.00}%%
\put(4169,484){\makebox(0,0){\strut{}$6$}}% \put(4169,484){\makebox(0,0){\strut{}$6$}}%
\colorrgb{0.00,0.00,0.00}%%
\put(5846,484){\makebox(0,0){\strut{}$9$}}% \put(5846,484){\makebox(0,0){\strut{}$9$}}%
}% }%
\gplgaddtomacro\gplfronttext{% \gplgaddtomacro\gplfronttext{%
@@ -110,15 +101,16 @@
\put(1801,4140){\makebox(0,0)[l]{\strut{}Theory (1.0k Ohm)}}% \put(1801,4140){\makebox(0,0)[l]{\strut{}Theory (1.0k Ohm)}}%
\csname LTb\endcsname%% \csname LTb\endcsname%%
\put(1801,3920){\makebox(0,0)[l]{\strut{}Result (1.0k Ohm)}}% \put(1801,3920){\makebox(0,0)[l]{\strut{}Result (1.0k Ohm)}}%
\csname LTb\endcsname%% \put(2493,1798){\makebox(0,0){\strut{}x}}%
\put(4173,2895){\makebox(0,0){\strut{}x}}%
\put(5848,3992){\makebox(0,0){\strut{}x}}%
\put(1374,3920){\makebox(0,0){\strut{}x}}%
\put(1801,3700){\makebox(0,0)[l]{\strut{}Theory (2.2k Ohm)}}% \put(1801,3700){\makebox(0,0)[l]{\strut{}Theory (2.2k Ohm)}}%
\csname LTb\endcsname%% \csname LTb\endcsname%%
\put(1801,3480){\makebox(0,0)[l]{\strut{}Result (2.2k Ohm)}}% \put(1801,3480){\makebox(0,0)[l]{\strut{}Result (2.2k Ohm)}}%
\csname LTb\endcsname%%
\put(1801,3260){\makebox(0,0)[l]{\strut{}Theory (3.3k Ohm)}}% \put(1801,3260){\makebox(0,0)[l]{\strut{}Theory (3.3k Ohm)}}%
\csname LTb\endcsname%% \csname LTb\endcsname%%
\put(1801,3040){\makebox(0,0)[l]{\strut{}Result (3.3k Ohm)}}% \put(1801,3040){\makebox(0,0)[l]{\strut{}Result (3.3k Ohm)}}%
\csname LTb\endcsname%%
\put(341,2508){\rotatebox{-270.00}{\makebox(0,0){\strut{}Current (mA)}}}% \put(341,2508){\rotatebox{-270.00}{\makebox(0,0){\strut{}Current (mA)}}}%
\put(3609,154){\makebox(0,0){\strut{}Supply Voltage (V)}}% \put(3609,154){\makebox(0,0){\strut{}Supply Voltage (V)}}%
}% }%
Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

File diff suppressed because it is too large Load Diff
-130
View File
@@ -1,130 +0,0 @@
% GNUPLOT: LaTeX picture with Postscript
\begingroup
\fontfamily{Arial}%
\selectfont
\makeatletter
\providecommand\color[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package color not loaded in conjunction with
terminal option `colourtext'%
}{See the gnuplot documentation for explanation.%
}{Either use 'blacktext' in gnuplot or load the package
color.sty in LaTeX.}%
\renewcommand\color[2][]{}%
}%
\providecommand\includegraphics[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package graphicx or graphics not loaded%
}{See the gnuplot documentation for explanation.%
}{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
\renewcommand\includegraphics[2][]{}%
}%
\providecommand\rotatebox[2]{#2}%
\@ifundefined{ifGPcolor}{%
\newif\ifGPcolor
\GPcolorfalse
}{}%
\@ifundefined{ifGPblacktext}{%
\newif\ifGPblacktext
\GPblacktexttrue
}{}%
% define a \g@addto@macro without @ in the name:
\let\gplgaddtomacro\g@addto@macro
% define empty templates for all commands taking text:
\gdef\gplbacktext{}%
\gdef\gplfronttext{}%
\makeatother
\ifGPblacktext
% no textcolor at all
\def\colorrgb#1{}%
\def\colorgray#1{}%
\else
% gray or color?
\ifGPcolor
\def\colorrgb#1{\color[rgb]{#1}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
\expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
\expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
\expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
\expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
\expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
\expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
\expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
\expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
\else
% gray
\def\colorrgb#1{\color{black}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color{black}}%
\expandafter\def\csname LT1\endcsname{\color{black}}%
\expandafter\def\csname LT2\endcsname{\color{black}}%
\expandafter\def\csname LT3\endcsname{\color{black}}%
\expandafter\def\csname LT4\endcsname{\color{black}}%
\expandafter\def\csname LT5\endcsname{\color{black}}%
\expandafter\def\csname LT6\endcsname{\color{black}}%
\expandafter\def\csname LT7\endcsname{\color{black}}%
\expandafter\def\csname LT8\endcsname{\color{black}}%
\fi
\fi
\setlength{\unitlength}{0.0500bp}%
\ifx\gptboxheight\undefined%
\newlength{\gptboxheight}%
\newlength{\gptboxwidth}%
\newsavebox{\gptboxtext}%
\fi%
\setlength{\fboxrule}{0.5pt}%
\setlength{\fboxsep}{1pt}%
\definecolor{tbcol}{rgb}{1,1,1}%
\begin{picture}(6802.00,4534.00)%
\gplgaddtomacro\gplbacktext{%
\csname LTb\endcsname%%
\put(1078,2487){\makebox(0,0)[r]{\strut{}1e+02}}%
\put(1078,2944){\makebox(0,0)[r]{\strut{}1e+03}}%
\put(1078,3400){\makebox(0,0)[r]{\strut{}1e+04}}%
\put(1078,3857){\makebox(0,0)[r]{\strut{}1e+05}}%
\put(1078,4313){\makebox(0,0)[r]{\strut{}1e+06}}%
\put(1210,2267){\makebox(0,0){\strut{}}}%
\put(2066,2267){\makebox(0,0){\strut{}}}%
\put(2921,2267){\makebox(0,0){\strut{}}}%
\put(3777,2267){\makebox(0,0){\strut{}}}%
\put(4632,2267){\makebox(0,0){\strut{}}}%
}%
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%%
\put(5814,3510){\makebox(0,0)[r]{\strut{}1nF}}%
\put(5814,3290){\makebox(0,0)[r]{\strut{}100uF}}%
\put(209,3400){\rotatebox{-270.00}{\makebox(0,0){\strut{}Impedance (Ohm)}}}%
}%
\gplgaddtomacro\gplbacktext{%
\csname LTb\endcsname%%
\put(1078,704){\makebox(0,0)[r]{\strut{} -30}}%
\put(1078,973){\makebox(0,0)[r]{\strut{} 0}}%
\put(1078,1241){\makebox(0,0)[r]{\strut{} 30}}%
\put(1078,1510){\makebox(0,0)[r]{\strut{} 60}}%
\put(1078,1778){\makebox(0,0)[r]{\strut{} 90}}%
\put(1078,2047){\makebox(0,0)[r]{\strut{} 120}}%
\put(2066,484){\makebox(0,0){\strut{}1k}}%
\put(2921,484){\makebox(0,0){\strut{}10k}}%
\put(3777,484){\makebox(0,0){\strut{}100k}}%
\put(4632,484){\makebox(0,0){\strut{}1M}}%
\put(1210,484){\makebox(0,0){\strut{}}}%
}%
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%%
\put(5814,1485){\makebox(0,0)[r]{\strut{}1nF}}%
\put(5814,1265){\makebox(0,0)[r]{\strut{}100uF}}%
\put(209,1375){\rotatebox{-270.00}{\makebox(0,0){\strut{}Phase (deg)}}}%
\put(3050,154){\makebox(0,0){\strut{}Frequency (Hz)}}%
}%
\gplbacktext
\put(0,0){\includegraphics[width={340.10bp},height={226.70bp}]{./assets/a-3/exp2-1-bode}}%
\gplfronttext
\end{picture}%
\endgroup
-32
View File
@@ -1,32 +0,0 @@
set output "exp2-1-bode.tex"
load '../common.gnuplot'
unset key
set key center rmargin box height 1
set log x
set log y
set xrange [1e2:2e6]
set multiplot layout 2,1 rowsfirst
set xlabel
set ylabel "Impedance (Ohm)"
set format x ""
set format y "%.1g"
plot "exp2-1_1nF-Z.txt" u 1:2 title "1nF" with points, "exp2-1_100uF-Z.txt" u 1:2 title "100uF" with points
unset log y
set xtics add ("1k" 1e3, "10k" 1e4, "100k" 1e5, "1M" 1e6)
set yrange [-30:120]
set ytics 30
set xlabel "Frequency (Hz)"
set ylabel "Phase (deg)"
set format y " %.0f"
plot "exp2-1_1nF.txt" u 1:4 title "1nF" with points, "exp2-1_100uF.txt" u 1:4 title "100uF" with points
unset multiplot
-7
View File
@@ -1,7 +0,0 @@
1000, 54484.076433
5000, 54484.076433
10000, 51530.120482
50000, 50703.030303
100000, 50133.333333
500000, 49848.484848
1000000, 49901.234568
-7
View File
@@ -1,7 +0,0 @@
1000, 1.82, 1.57, 0
5000, 1.82, 1.57, 0
10000, 1.82, 1.66, 0
50000, 1.78, 1.65, 0
100000, 1.76, 1.65, 0
500000, 1.75, 1.65, -1
1000000, 1.72, 1.62, -4
-7
View File
@@ -1,7 +0,0 @@
1000, 156231.481481
5000, 31626.168224
10000, 15887.947269
50000, 3139.245283
100000, 1581.730769
500000, 319.676113
1000000, 167.779070
-7
View File
@@ -1,7 +0,0 @@
1000, 3.59, 1.08/1000, 90
5000, 3.60, 5.35/1000, 100
10000, 3.59, 10.62/1000, 90
50000, 3.54, 53/1000, 88
100000, 3.50, 104/1000, 88
500000, 3.36, 494/1000, 80
1000000, 3.07, 860/1000, 70
-7
View File
@@ -1,7 +0,0 @@
1000, 563.356164
5000, 2678.253968
10000, 5084.545455
50000, 12690.000000
100000, 83928.571429
500000, 31064.761905
1000000, 14391.150442
File diff suppressed because it is too large Load Diff
-126
View File
@@ -1,126 +0,0 @@
% GNUPLOT: LaTeX picture with Postscript
\begingroup
\fontfamily{Arial}%
\selectfont
\makeatletter
\providecommand\color[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package color not loaded in conjunction with
terminal option `colourtext'%
}{See the gnuplot documentation for explanation.%
}{Either use 'blacktext' in gnuplot or load the package
color.sty in LaTeX.}%
\renewcommand\color[2][]{}%
}%
\providecommand\includegraphics[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package graphicx or graphics not loaded%
}{See the gnuplot documentation for explanation.%
}{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
\renewcommand\includegraphics[2][]{}%
}%
\providecommand\rotatebox[2]{#2}%
\@ifundefined{ifGPcolor}{%
\newif\ifGPcolor
\GPcolorfalse
}{}%
\@ifundefined{ifGPblacktext}{%
\newif\ifGPblacktext
\GPblacktexttrue
}{}%
% define a \g@addto@macro without @ in the name:
\let\gplgaddtomacro\g@addto@macro
% define empty templates for all commands taking text:
\gdef\gplbacktext{}%
\gdef\gplfronttext{}%
\makeatother
\ifGPblacktext
% no textcolor at all
\def\colorrgb#1{}%
\def\colorgray#1{}%
\else
% gray or color?
\ifGPcolor
\def\colorrgb#1{\color[rgb]{#1}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
\expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
\expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
\expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
\expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
\expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
\expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
\expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
\expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
\else
% gray
\def\colorrgb#1{\color{black}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color{black}}%
\expandafter\def\csname LT1\endcsname{\color{black}}%
\expandafter\def\csname LT2\endcsname{\color{black}}%
\expandafter\def\csname LT3\endcsname{\color{black}}%
\expandafter\def\csname LT4\endcsname{\color{black}}%
\expandafter\def\csname LT5\endcsname{\color{black}}%
\expandafter\def\csname LT6\endcsname{\color{black}}%
\expandafter\def\csname LT7\endcsname{\color{black}}%
\expandafter\def\csname LT8\endcsname{\color{black}}%
\fi
\fi
\setlength{\unitlength}{0.0500bp}%
\ifx\gptboxheight\undefined%
\newlength{\gptboxheight}%
\newlength{\gptboxwidth}%
\newsavebox{\gptboxtext}%
\fi%
\setlength{\fboxrule}{0.5pt}%
\setlength{\fboxsep}{1pt}%
\definecolor{tbcol}{rgb}{1,1,1}%
\begin{picture}(6802.00,4534.00)%
\gplgaddtomacro\gplbacktext{%
\csname LTb\endcsname%%
\put(1078,2487){\makebox(0,0)[r]{\strut{}1e+02}}%
\put(1078,3096){\makebox(0,0)[r]{\strut{}1e+03}}%
\put(1078,3704){\makebox(0,0)[r]{\strut{}1e+04}}%
\put(1078,4313){\makebox(0,0)[r]{\strut{}1e+05}}%
\put(1210,2267){\makebox(0,0){\strut{}}}%
\put(2418,2267){\makebox(0,0){\strut{}}}%
\put(3626,2267){\makebox(0,0){\strut{}}}%
\put(4834,2267){\makebox(0,0){\strut{}}}%
\put(6041,2267){\makebox(0,0){\strut{}}}%
}%
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%%
\put(2266,4030){\makebox(0,0)[r]{\strut{}100mH}}%
\put(209,3400){\rotatebox{-270.00}{\makebox(0,0){\strut{}Impedance (Ohm)}}}%
}%
\gplgaddtomacro\gplbacktext{%
\csname LTb\endcsname%%
\put(1078,838){\makebox(0,0)[r]{\strut{} -80}}%
\put(1078,1107){\makebox(0,0)[r]{\strut{} -40}}%
\put(1078,1376){\makebox(0,0)[r]{\strut{} 0}}%
\put(1078,1644){\makebox(0,0)[r]{\strut{} 40}}%
\put(1078,1913){\makebox(0,0)[r]{\strut{} 80}}%
\put(2418,484){\makebox(0,0){\strut{}1k}}%
\put(3626,484){\makebox(0,0){\strut{}10k}}%
\put(4834,484){\makebox(0,0){\strut{}100k}}%
\put(6041,484){\makebox(0,0){\strut{}1M}}%
\put(1210,484){\makebox(0,0){\strut{}}}%
}%
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%%
\put(2266,1764){\makebox(0,0)[r]{\strut{}100mH}}%
\put(209,1375){\rotatebox{-270.00}{\makebox(0,0){\strut{}Phase (deg)}}}%
\put(3807,154){\makebox(0,0){\strut{}Frequency (Hz)}}%
}%
\gplbacktext
\put(0,0){\includegraphics[width={340.10bp},height={226.70bp}]{./assets/a-3/exp2-2-bode}}%
\gplfronttext
\end{picture}%
\endgroup
-31
View File
@@ -1,31 +0,0 @@
set output "exp2-2-bode.tex"
load '../common.gnuplot'
unset key
set key top left box height 1 width 2
set log x
set log y
set xrange [1e2:2e6]
set multiplot layout 2,1 rowsfirst
set xlabel
set ylabel "Impedance (Ohm)"
set format x ""
set format y "%.1g"
plot "exp2-2-Z.txt" u 1:2 title "100mH" with points
unset log y
set xtics add ("1k" 1e3, "10k" 1e4, "100k" 1e5, "1M" 1e6)
set yrange [-100:100]
set ytics 40
set xlabel "Frequency (Hz)"
set ylabel "Phase (deg)"
set format y " %.0f"
plot "exp2-2.txt" u 1:4 title "100mH" with points
unset multiplot
-7
View File
@@ -1,7 +0,0 @@
1000, 3.50, 0.292, -75
5000, 3.59, 0.063, -87
10000, 3.57, 0.033, -88
50000, 3.51, 0.013, -88
100000, 3.50, 0.00196, -90
500000, 3.47, 0.00525, 90
1000000, 3.46, 0.0113, 85
-4
View File
@@ -1,4 +0,0 @@
gnuplot exp2-1.gnuplot
gnuplot exp2-2.gnuplot
sed -i -f patch-exp2-1.sed exp2-1-bode.tex
sed -i -f patch-exp2-2.sed exp2-2-bode.tex
-1
View File
@@ -1 +0,0 @@
s/exp2-1-bode/.\/assets\/a-3\/exp2-1-bode/g;
-1
View File
@@ -1 +0,0 @@
s/exp2-2-bode/.\/assets\/a-3\/exp2-2-bode/g;
+83 -82
View File
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0 EPSF-2.0 %!PS-Adobe-2.0 EPSF-2.0
%%Title: exp1.tex %%Title: exp1.tex
%%Creator: gnuplot 6.0 patchlevel 4 %%Creator: gnuplot 6.0 patchlevel 4
%%CreationDate: Tue May 26 00:17:35 2026 %%CreationDate: Sat Jun 13 21:52:51 2026
%%DocumentFonts: %%DocumentFonts:
%%BoundingBox: 50 50 390 276 %%BoundingBox: 50 50 390 276
%%EndComments %%EndComments
@@ -441,7 +441,7 @@ SDict begin [
/Creator (gnuplot 6.0 patchlevel 4) /Creator (gnuplot 6.0 patchlevel 4)
% /Producer (gnuplot) % /Producer (gnuplot)
% /Keywords () % /Keywords ()
/CreationDate (Tue May 26 00:17:35 2026) /CreationDate (Sat Jun 13 21:52:51 2026)
/DOCINFO pdfmark /DOCINFO pdfmark
end end
} ifelse } ifelse
@@ -487,163 +487,164 @@ LCb setrgbcolor
[] 0 setdash [] 0 setdash
0.500 UL 0.500 UL
LTb LTb
946 704 M 682 704 M
5459 0 V 5723 0 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
946 704 M 682 704 M
63 0 V 63 0 V
5396 0 R 5660 0 R
-63 0 V -63 0 V
stroke stroke
0.500 UL 0.500 UL
LTb LTb
946 1306 M 682 1907 M
5459 0 V 5723 0 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
946 1306 M 682 1907 M
63 0 V 63 0 V
5396 0 R 5660 0 R
-63 0 V -63 0 V
stroke stroke
0.500 UL 0.500 UL
LTb LTb
946 1907 M 682 3110 M
5459 0 V 5723 0 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
946 1907 M 682 3110 M
63 0 V 63 0 V
5396 0 R 5660 0 R
-63 0 V -63 0 V
stroke stroke
0.500 UL 0.500 UL
LTb LTb
946 2509 M 682 4313 M
5459 0 V 5723 0 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
946 2509 M 682 4313 M
63 0 V 63 0 V
5396 0 R 5660 0 R
-63 0 V -63 0 V
stroke stroke
0.500 UL 0.500 UL
LTb LTb
946 3110 M 682 704 M
5459 0 V
stroke
1.000 UL
LTb
946 3110 M
63 0 V
5396 0 R
-63 0 V
stroke
0.500 UL
LTb
946 3712 M
5459 0 V
stroke
1.000 UL
LTb
946 3712 M
63 0 V
5396 0 R
-63 0 V
stroke
0.500 UL
LTb
946 4313 M
5459 0 V
stroke
1.000 UL
LTb
946 4313 M
63 0 V
5396 0 R
-63 0 V
stroke
0.500 UL
LTb
946 704 M
0 3609 V 0 3609 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
946 704 M 682 704 M
0 63 V 0 63 V
0 3546 R 0 3546 R
0 -63 V 0 -63 V
stroke stroke
0.500 UL 0.500 UL
LTb LTb
2993 704 M 2113 704 M
0 3609 V 0 3609 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
2993 704 M 2113 704 M
0 63 V 0 63 V
0 3546 R 0 3546 R
0 -63 V 0 -63 V
stroke stroke
0.500 UL 0.500 UL
LTb LTb
5040 704 M 3544 704 M
0 3609 V 0 3609 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
5040 704 M 3544 704 M
0 63 V
0 3546 R
0 -63 V
stroke
0.500 UL
LTb
4974 704 M
0 3609 V
stroke
1.000 UL
LTb
4974 704 M
0 63 V
0 3546 R
0 -63 V
stroke
0.500 UL
LTb
6405 704 M
0 3609 V
stroke
1.000 UL
LTb
6405 704 M
0 63 V 0 63 V
0 3546 R 0 3546 R
0 -63 V 0 -63 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
946 4313 N 682 4313 N
946 704 L 682 704 L
5459 0 V 5723 0 V
0 3609 V 0 3609 V
-5459 0 V -5723 0 V
Z stroke Z stroke
1.000 UP 1.000 UP
1.000 UL 1.000 UL
LTb LTb
% Begin plot #1 % Begin plot #1
1.000 UP
2.000 UL 2.000 UL
LTb LTb
1632 1913 M 1401 1913 M
340 598 V 356 598 V
341 346 V 359 346 V
340 63 V 355 63 V
341 37 V 359 37 V
340 28 V 355 28 V
342 23 V 359 23 V
339 20 V 355 20 V
342 18 V 358 18 V
339 17 V 356 17 V
342 18 V 358 18 V
337 16 V 354 16 V
341 15 V 357 15 V
stroke 1401 1913 Circle
1757 2511 Circle
2116 2857 Circle
2471 2920 Circle
2830 2957 Circle
3185 2985 Circle
3544 3008 Circle
3899 3028 Circle
4257 3046 Circle
4613 3063 Circle
4971 3081 Circle
5325 3097 Circle
5682 3112 Circle
LTw LTw
% End plot #1 % End plot #1
2.000 UL 2.000 UL
LTb LTb
1.000 UL 1.000 UL
LTb LTb
946 4313 N 682 4313 N
946 704 L 682 704 L
5459 0 V 5723 0 V
0 3609 V 0 3609 V
-5459 0 V -5723 0 V
Z stroke Z stroke
1.000 UP 1.000 UP
1.000 UL 1.000 UL
+6 -2
View File
@@ -1,7 +1,8 @@
load '../common.gnuplot' load '../common.gnuplot'
set output "exp1.tex" set output "exp1.tex"
set xtics 0, 3, 8 set xtics 0, 2, 8
set ytics 0, 1, 3
set xrange [0:8] set xrange [0:8]
set yrange [0:3] set yrange [0:3]
@@ -10,4 +11,7 @@ set key top left Left reverse
set xlabel "Supply Voltage (V)" set xlabel "Supply Voltage (V)"
set ylabel "LED Voltage (V)" set ylabel "LED Voltage (V)"
plot 'forward.dat' using 3:2 linetype 1 linewidth 2 title "" with lines set pointsize 1
set style line 4 linetype 1 pointtype 6 linewidth 2
plot 'forward.dat' using 3:2 title "" with linespoints ls 4
+10 -11
View File
@@ -85,21 +85,20 @@
\begin{picture}(6802.00,4534.00)% \begin{picture}(6802.00,4534.00)%
\gplgaddtomacro\gplbacktext{% \gplgaddtomacro\gplbacktext{%
\csname LTb\endcsname%% \csname LTb\endcsname%%
\put(814,704){\makebox(0,0)[r]{\strut{}$0$}}% \put(550,704){\makebox(0,0)[r]{\strut{}$0$}}%
\put(814,1306){\makebox(0,0)[r]{\strut{}$0.5$}}% \put(550,1907){\makebox(0,0)[r]{\strut{}$1$}}%
\put(814,1907){\makebox(0,0)[r]{\strut{}$1$}}% \put(550,3110){\makebox(0,0)[r]{\strut{}$2$}}%
\put(814,2509){\makebox(0,0)[r]{\strut{}$1.5$}}% \put(550,4313){\makebox(0,0)[r]{\strut{}$3$}}%
\put(814,3110){\makebox(0,0)[r]{\strut{}$2$}}% \put(682,484){\makebox(0,0){\strut{}$0$}}%
\put(814,3712){\makebox(0,0)[r]{\strut{}$2.5$}}% \put(2113,484){\makebox(0,0){\strut{}$2$}}%
\put(814,4313){\makebox(0,0)[r]{\strut{}$3$}}% \put(3544,484){\makebox(0,0){\strut{}$4$}}%
\put(946,484){\makebox(0,0){\strut{}$0$}}% \put(4974,484){\makebox(0,0){\strut{}$6$}}%
\put(2993,484){\makebox(0,0){\strut{}$3$}}% \put(6405,484){\makebox(0,0){\strut{}$8$}}%
\put(5040,484){\makebox(0,0){\strut{}$6$}}%
}% }%
\gplgaddtomacro\gplfronttext{% \gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%% \csname LTb\endcsname%%
\put(209,2508){\rotatebox{-270.00}{\makebox(0,0){\strut{}LED Voltage (V)}}}% \put(209,2508){\rotatebox{-270.00}{\makebox(0,0){\strut{}LED Voltage (V)}}}%
\put(3675,154){\makebox(0,0){\strut{}Supply Voltage (V)}}% \put(3543,154){\makebox(0,0){\strut{}Supply Voltage (V)}}%
}% }%
\gplbacktext \gplbacktext
\put(0,0){\includegraphics[width={340.10bp},height={226.70bp}]{./assets/t-1/exp1}}% \put(0,0){\includegraphics[width={340.10bp},height={226.70bp}]{./assets/t-1/exp1}}%
+43 -98
View File
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0 EPSF-2.0 %!PS-Adobe-2.0 EPSF-2.0
%%Title: exp2.tex %%Title: exp2.tex
%%Creator: gnuplot 6.0 patchlevel 4 %%Creator: gnuplot 6.0 patchlevel 4
%%CreationDate: Tue May 26 14:24:41 2026 %%CreationDate: Sat Jun 13 21:54:46 2026
%%DocumentFonts: %%DocumentFonts:
%%BoundingBox: 50 50 390 276 %%BoundingBox: 50 50 390 276
%%EndComments %%EndComments
@@ -441,7 +441,7 @@ SDict begin [
/Creator (gnuplot 6.0 patchlevel 4) /Creator (gnuplot 6.0 patchlevel 4)
% /Producer (gnuplot) % /Producer (gnuplot)
% /Keywords () % /Keywords ()
/CreationDate (Tue May 26 14:24:41 2026) /CreationDate (Sat Jun 13 21:54:46 2026)
/DOCINFO pdfmark /DOCINFO pdfmark
end end
} ifelse } ifelse
@@ -487,144 +487,84 @@ LCb setrgbcolor
[] 0 setdash [] 0 setdash
0.500 UL 0.500 UL
LTb LTb
1078 704 M 814 1606 M
5327 0 V 5591 0 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
1078 704 M 814 1606 M
63 0 V 63 0 V
5264 0 R 5528 0 R
-63 0 V -63 0 V
stroke stroke
0.500 UL 0.500 UL
LTb LTb
1078 1155 M 814 2509 M
5327 0 V 5591 0 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
1078 1155 M 814 2509 M
63 0 V 63 0 V
5264 0 R 5528 0 R
-63 0 V -63 0 V
stroke stroke
0.500 UL 0.500 UL
LTb LTb
1078 1606 M 814 3411 M
5327 0 V 5591 0 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
1078 1606 M 814 3411 M
63 0 V 63 0 V
5264 0 R 5528 0 R
-63 0 V -63 0 V
stroke stroke
0.500 UL 0.500 UL
LTb LTb
1078 2057 M 814 4313 M
5327 0 V 5591 0 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
1078 2057 M 814 4313 M
63 0 V 63 0 V
5264 0 R 5528 0 R
-63 0 V -63 0 V
stroke stroke
0.500 UL 0.500 UL
LTb LTb
1078 2509 M 2212 704 M
5327 0 V
stroke
1.000 UL
LTb
1078 2509 M
63 0 V
5264 0 R
-63 0 V
stroke
0.500 UL
LTb
1078 2960 M
5327 0 V
stroke
1.000 UL
LTb
1078 2960 M
63 0 V
5264 0 R
-63 0 V
stroke
0.500 UL
LTb
1078 3411 M
5327 0 V
stroke
1.000 UL
LTb
1078 3411 M
63 0 V
5264 0 R
-63 0 V
stroke
0.500 UL
LTb
1078 3862 M
5327 0 V
stroke
1.000 UL
LTb
1078 3862 M
63 0 V
5264 0 R
-63 0 V
stroke
0.500 UL
LTb
1078 4313 M
5327 0 V
stroke
1.000 UL
LTb
1078 4313 M
63 0 V
5264 0 R
-63 0 V
stroke
0.500 UL
LTb
2410 704 M
0 3609 V 0 3609 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
2410 704 M 2212 704 M
0 63 V 0 63 V
0 3546 R 0 3546 R
0 -63 V 0 -63 V
stroke stroke
0.500 UL 0.500 UL
LTb LTb
3742 704 M 3610 704 M
0 3609 V 0 3609 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
3742 704 M 3610 704 M
0 63 V 0 63 V
0 3546 R 0 3546 R
0 -63 V 0 -63 V
stroke stroke
0.500 UL 0.500 UL
LTb LTb
5073 704 M 5007 704 M
0 3609 V 0 3609 V
stroke stroke
1.000 UL 1.000 UL
LTb LTb
5073 704 M 5007 704 M
0 63 V 0 63 V
0 3546 R 0 3546 R
0 -63 V 0 -63 V
@@ -643,35 +583,40 @@ LTb
stroke stroke
1.000 UL 1.000 UL
LTb LTb
1078 4313 N 814 4313 N
0 -3609 V 814 704 L
5327 0 V 5591 0 V
0 3609 V 0 3609 V
-5327 0 V -5591 0 V
Z stroke Z stroke
1.000 UP 1.000 UP
1.000 UL 1.000 UL
LTb LTb
% Begin plot #1 % Begin plot #1
1.000 UP
2.000 UL 2.000 UL
LTb LTb
5084 3394 M 5018 3394 M
4411 2942 L 4313 2942 L
3738 2490 L 3605 2490 L
3065 2052 L 2899 2052 L
2392 1585 L 2194 1585 L
stroke 5018 3394 Circle
4313 2942 Circle
3605 2490 Circle
2899 2052 Circle
2194 1585 Circle
LTw LTw
% End plot #1 % End plot #1
2.000 UL 2.000 UL
LTb LTb
1.000 UL 1.000 UL
LTb LTb
1078 4313 N 814 4313 N
0 -3609 V 814 704 L
5327 0 V 5591 0 V
0 3609 V 0 3609 V
-5327 0 V -5591 0 V
Z stroke Z stroke
1.000 UP 1.000 UP
1.000 UL 1.000 UL
+3 -1
View File
@@ -2,6 +2,7 @@ load '../common.gnuplot'
set output "exp2.tex" set output "exp2.tex"
set xtics -3,1,0 set xtics -3,1,0
set ytics -3,1,0
set xrange [-4:0] set xrange [-4:0]
set yrange [-4:0] set yrange [-4:0]
@@ -9,5 +10,6 @@ set key top left Left reverse
set xlabel "Supply Voltage (V)" set xlabel "Supply Voltage (V)"
set ylabel "LED Voltage (V)" set ylabel "LED Voltage (V)"
set style line 1 pointtype 6 linewidth 2
plot 'reverse.dat' using 1:($3 - $2) linetype 1 linewidth 2 title "" with lines plot 'reverse.dat' using 1:($3 - $2) title "" with linespoints ls 1
+8 -13
View File
@@ -85,24 +85,19 @@
\begin{picture}(6802.00,4534.00)% \begin{picture}(6802.00,4534.00)%
\gplgaddtomacro\gplbacktext{% \gplgaddtomacro\gplbacktext{%
\csname LTb\endcsname%% \csname LTb\endcsname%%
\put(946,704){\makebox(0,0)[r]{\strut{}$-4$}}% \put(682,1606){\makebox(0,0)[r]{\strut{}$-3$}}%
\put(946,1155){\makebox(0,0)[r]{\strut{}$-3.5$}}% \put(682,2509){\makebox(0,0)[r]{\strut{}$-2$}}%
\put(946,1606){\makebox(0,0)[r]{\strut{}$-3$}}% \put(682,3411){\makebox(0,0)[r]{\strut{}$-1$}}%
\put(946,2057){\makebox(0,0)[r]{\strut{}$-2.5$}}% \put(682,4313){\makebox(0,0)[r]{\strut{}$0$}}%
\put(946,2509){\makebox(0,0)[r]{\strut{}$-2$}}% \put(2212,484){\makebox(0,0){\strut{}$-3$}}%
\put(946,2960){\makebox(0,0)[r]{\strut{}$-1.5$}}% \put(3610,484){\makebox(0,0){\strut{}$-2$}}%
\put(946,3411){\makebox(0,0)[r]{\strut{}$-1$}}% \put(5007,484){\makebox(0,0){\strut{}$-1$}}%
\put(946,3862){\makebox(0,0)[r]{\strut{}$-0.5$}}%
\put(946,4313){\makebox(0,0)[r]{\strut{}$0$}}%
\put(2410,484){\makebox(0,0){\strut{}$-3$}}%
\put(3742,484){\makebox(0,0){\strut{}$-2$}}%
\put(5073,484){\makebox(0,0){\strut{}$-1$}}%
\put(6405,484){\makebox(0,0){\strut{}$0$}}% \put(6405,484){\makebox(0,0){\strut{}$0$}}%
}% }%
\gplgaddtomacro\gplfronttext{% \gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%% \csname LTb\endcsname%%
\put(209,2508){\rotatebox{-270.00}{\makebox(0,0){\strut{}LED Voltage (V)}}}% \put(209,2508){\rotatebox{-270.00}{\makebox(0,0){\strut{}LED Voltage (V)}}}%
\put(3741,154){\makebox(0,0){\strut{}Supply Voltage (V)}}% \put(3609,154){\makebox(0,0){\strut{}Supply Voltage (V)}}%
}% }%
\gplbacktext \gplbacktext
\put(0,0){\includegraphics[width={340.10bp},height={226.70bp}]{./assets/t-1/exp2}}% \put(0,0){\includegraphics[width={340.10bp},height={226.70bp}]{./assets/t-1/exp2}}%
-8
View File
@@ -1,8 +0,0 @@
(A, B, C, D): (a, b, c, d, e, f, g)
(0, 1, 0, 1): (1, 1, 1, 0, 1, 1, 1) // 0x0A
(1, 1, 0, 1): (0, 0, 1, 1, 1, 1, 1) // 0x0b
(0, 0, 1, 1): (1, 0, 0, 1, 1, 1, 0) // 0x0C
(1, 0, 1, 1): (0, 1, 1, 1, 1, 0, 1) // 0x0d
(0, 1, 1, 1): (1, 0, 0, 1, 1, 1, 1) // 0x0E
(1, 1, 1, 1): (1, 0, 0, 0, 1, 1, 1) // 0x0F
Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 387 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 379 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 390 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

View File
-71
View File
@@ -1,71 +0,0 @@
@inbook{digital-circuit:digital,
title={ゼロから学ぶディジタル論理回路},
author={秋田 純一},
publisher={株式会社講談社},
year={2005},
month={06},
pages={7-11}
}
@inbook{digital-circuit:basic-logic,
title={ゼロから学ぶディジタル論理回路},
author={秋田 純一},
publisher={株式会社講談社},
year={2005},
month={06},
pages={17-23}
}
@inbook{digital-circuit:gate-ic,
title={ゼロから学ぶディジタル論理回路},
author={秋田 純一},
publisher={株式会社講談社},
year={2005},
month={06},
pages={31-34}
}
@inbook{digital-circuit:xor,
title={ゼロから学ぶディジタル論理回路},
author={秋田 純一},
publisher={株式会社講談社},
year={2005},
month={06},
pages={47-49}
}
@inbook{digital-circuit:truth-table,
title={ゼロから学ぶディジタル論理回路},
author={秋田 純一},
publisher={株式会社講談社},
year={2005},
month={06},
pages={49-54}
}
@inbook{digital-circuit:karnaugh-map,
title={ゼロから学ぶディジタル論理回路},
author={秋田 純一},
publisher={株式会社講談社},
year={2005},
month={06},
pages={55-61}
}
@inbook{digital-circuit:state-transition,
title={ゼロから学ぶディジタル論理回路},
author={秋田 純一},
publisher={株式会社講談社},
year={2005},
month={06},
pages={101-106}
}
@inbook{digital-circuit:sequential-logic,
title={ゼロから学ぶディジタル論理回路},
author={秋田 純一},
publisher={株式会社講談社},
year={2005},
month={06},
pages={77-78}
}
@online{tc74hc74,
title={TC74HC74AP/AF},
author={TOSHIBA Semiconductor},
year={2014},
month={03},
url={https://akizukidenshi.com/goodsaffix/TC74HC74AP_datasheet_ja_20140301.pdf}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-87
View File
@@ -1,87 +0,0 @@
\documentclass[japanese,xelatex,a4paper,10.5pt,ja=standard]{bxjsarticle}
\usepackage{tex/preamble}
\usepackage{tex/experiment-title}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{cleveref}
\usepackage{multirow}
\usepackage{pgf}
\usepackage{pgffor}
\usepackage{circuitikz}
\usepackage{subcaption}
\usepackage{tex/depD-bib}
\renewcommand\figurename{Fig. }
\renewcommand\tablename{Table }
\renewcommand\theequation{\thesection-\arabic{equation}}
\renewcommand\thefigure{\thesection-\arabic{figure}}
\renewcommand\thetable{\thesection-\arabic{table}}
\crefdefaultlabelformat{#1}
\crefname{figure}{Fig.}{Fig.}
\Crefname{figure}{Fig.}{Fig.}
\crefname{table}{Table}{Tables}
\Crefname{table}{Table}{Tables}
\crefname{equation}{Eq.}{Eq.}
\Crefname{equation}{Eq.}{Eq.}
\creflabelformat{equation}{(#1)}
\newcommand\resetrefcounter{
\setcounter{equation}{0}
\setcounter{figure}{0}
\setcounter{table}{0}
}
\reportauthor{柴田健琉}
\reporttitle{抵抗・コンデンサ・インダクタの特性}
\reportdate{2026年}{07月}{17日}
\turnindate{2026年}{07月}{21日}
\schoolyear{2026}
\grade{3}
\department{電子制御工学科}
\subject{電子制御工学実験1}
\reportid{A-3}
\expgroup{4班}
\seatingnum{15}
\addResearcher{後藤 }
\addResearcher{佐藤 暖斗}
\addResearcher{高橋 健太}
\addExperimentDate{2026年 06月 30日}
\addExperimentDate{2026年 07月 07日}
\addExperimentDate{2026年 07月 08日}
\addExperimentDate{2026年 07月 14日}
\addbibresource{./bibs/a-3.bib}
\begin{document}
\experimentTitle
\section{実験目的}
今回の実験では,電気回路の基本的な受動素子の特性や動作を確認するために行った.
\input{sections/a-3/theory}
\resetrefcounter
\input{sections/a-3/exp-detail}
\resetrefcounter
\input{sections/a-3/exp-result}
\resetrefcounter
\input{sections/a-3/reflection}
\resetrefcounter
\newpage
\section{まとめ}
今回の実験より以下の事が分かった:
\begin{itemize}
\item {}
\end{itemize}
\printbibliography[title={参考文献}]{}
\end{document}
-64
View File
@@ -1,64 +0,0 @@
\documentclass[japanese,xelatex,a4paper,10.5pt,ja=standard]{bxjsarticle}
\usepackage{tex/preamble}
\usepackage{tex/experiment-title}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{array}
\usepackage{multirow}
\usepackage{subcaption}
\usepackage{pgfmath}
\usepackage{pgffor}
\usepackage{tex/depD-bib}
\usepackage{tex/depD-format}
\usetikzlibrary{automata}
\reportauthor{柴田健琉}
\reporttitle{ディジタル回路}
\reportdate{2026年}{06月}{20日}
\turnindate{2026年}{06月}{30日}
\schoolyear{2026}
\grade{3}
\department{電子制御工学科}
\subject{電子制御工学実験1}
\reportid{T-2}
\expgroup{-}
\seatingnum{15}
\addExperimentDate{2026年 06月 02日}
\addExperimentDate{2026年 06月 16日}
\addExperimentDate{2026年 06月 23日}
\addbibresource{./bibs/t-2.bib}
\begin{document}
\experimentTitle
\section{実験目的}
今回の実験ではディジタル回路の基礎と応用について学ぶために行った.
\input{./sections/t-2/theory}
\resetrefcounter
\input{./sections/t-2/exp-detail}
\resetrefcounter
\input{./sections/t-2/exp-result}
\resetrefcounter
\input{./sections/t-2/reflection}
\resetrefcounter
\section{まとめ}
今回の実験で以下の事実を確認した:
\begin{itemize}
\item{各種論理ゲートは組み合わせることで多種多様な動作をする回路を構築可能である}
\item{ブール代数の諸法則・諸定理で論理回路の規模・複雑性を調整することができる}
\item{順序回路の動作の記述には状態遷移図・表が有効である}
\end{itemize}
\printbibliography[title={参考文献}]{}
\end{document}
+10 -10
View File
@@ -7,7 +7,7 @@
\begin{figure}[tbh] \begin{figure}[tbh]
\centering \centering
\input{assets/a-2/exp1} \input{assets/a-2/exp1}
\caption{Voltage v.s. Current of Differenct Resistors with Theoretical Values and Error Ranges} \caption{Voltage v.s. Current of Differenct Resistors with Theoretical Values and $\pm 5\%$ Error Ranges}
\label{fig:v-i-r} \label{fig:v-i-r}
\end{figure} \end{figure}
@@ -25,9 +25,9 @@ $E_1 = 15.000 \ \text{V}, \ E_2 = 3.005 \ \text{V}$の時,各抵抗での電
\begin{table}[ht] \begin{table}[ht]
\centering \centering
\caption{Result of Experiment \# 2 with Circuit (a)} \caption{Voltage and Current on each Resistors in Circuit (a)}
\label{tab:exp2-res1} \label{tab:exp2-res1}
\begin{tabular}{c|c|c} \begin{tabular}{crr}
\hline \hline
Resistor & Voltage $[\text{V}]$ & Current $[\text{mA}]$ \\ Resistor & Voltage $[\text{V}]$ & Current $[\text{mA}]$ \\
\hline \hline
@@ -48,9 +48,9 @@ $E_1 = 15.000 \ \text{V}, \ E_2 = -3.007 \ \text{V}$の時,各抵抗での電
\begin{table}[ht] \begin{table}[ht]
\centering \centering
\caption{Result of Experiment \# 2 with Circuit (b)} \caption{Voltage and Current on each Resistors in Circuit (b)}
\label{tab:exp2-res2} \label{tab:exp2-res2}
\begin{tabular}{c|c|c} \begin{tabular}{crr}
\hline \hline
Resistor & Voltage $[\text{V}]$ & Current $[\text{mA}]$ \\ Resistor & Voltage $[\text{V}]$ & Current $[\text{mA}]$ \\
\hline \hline
@@ -76,9 +76,9 @@ $E_1 = 15.000 \ \text{V}$での各抵抗にかかった電流・電圧は\cref{t
\begin{table}[ht] \begin{table}[ht]
\centering \centering
\caption{Result of Experiment \# 3 with $E_1$ as Voltage Source} \caption{Voltage and Current of each Resistors in Circuit (a) with $E_1$ as Voltage Source}
\label{tab:exp3-res1} \label{tab:exp3-res1}
\begin{tabular}{c|c|c} \begin{tabular}{crr}
\hline \hline
Resistor & Voltage $[\text{V}]$ & Current $[\text{mA}]$ \\ Resistor & Voltage $[\text{V}]$ & Current $[\text{mA}]$ \\
\hline \hline
@@ -95,9 +95,9 @@ $E_2 = 3.004 \ \text{V}$での各抵抗にかかった電流・電圧は\cref{ta
\begin{table}[ht] \begin{table}[ht]
\centering \centering
\caption{Result of Experiment \# 3 with $E_2$ as Voltage Source} \caption{Voltage and Current of each Resistors in Circuit (a) with $E_2$ as Voltage Source}
\label{tab:exp3-res2} \label{tab:exp3-res2}
\begin{tabular}{c|c|c} \begin{tabular}{crr}
\hline \hline
Resistor & Voltage $[\text{V}]$ & Current $[\text{mA}]$ \\ Resistor & Voltage $[\text{V}]$ & Current $[\text{mA}]$ \\
\hline \hline
@@ -118,7 +118,7 @@ $E_2 = 3.004 \ \text{V}$での各抵抗にかかった電流・電圧は\cref{ta
\centering \centering
\caption{Voltage and Current of Load} \caption{Voltage and Current of Load}
\label{tab:exp4-res} \label{tab:exp4-res}
\begin{tabular}{c|c|c} \begin{tabular}{crr}
\hline \hline
Circuit & Voltage $[\text{V}]$ & Current $[\text{mA}]$ \\ Circuit & Voltage $[\text{V}]$ & Current $[\text{mA}]$ \\
\hline \hline
+13 -13
View File
@@ -15,7 +15,7 @@
\begin{table}[!ht] \begin{table}[!ht]
\centering \centering
\caption{Current and Power of Resistors with tenth of resistance} \caption{Current and Power of Resistors with Tenth of Resistance}
\label{tab:v-i-r-tenth} \label{tab:v-i-r-tenth}
\begin{tabular}{c|r|r|r|r|r|r} \begin{tabular}{c|r|r|r|r|r|r}
\hline \hline
@@ -42,9 +42,9 @@
\begin{table}[!ht] \begin{table}[!ht]
\centering \centering
\caption{Applying Kirchhoff's Current Law at Point (b) in each Circuit} \caption{Applying Kirchhoff's Current Law at Point (b) to each Circuits}
\label{tab:current-in-b} \label{tab:current-in-b}
\begin{tabular}{c|c} \begin{tabular}{cr}
\hline \hline
Circuit & Current $[\text{mA}]$ \\ Circuit & Current $[\text{mA}]$ \\
\hline \hline
@@ -58,13 +58,13 @@
\begin{table}[!ht] \begin{table}[!ht]
\centering \centering
\caption{Applying Kirchhoff's Voltage Law on each Loop} \caption{Applying Kirchhoff's Voltage Law to each Loops}
\label{tab:voltage-in-loops} \label{tab:voltage-in-loops}
\begin{tabular}{c|c|c} \begin{tabular}{crr}
\hline \hline
Loop & Circuit (a) $[\text{V}]$ & Circuit (b) $[\text{V}]$ \\ Loop & Circuit (a) $[\text{V}]$ & Circuit (b) $[\text{V}]$ \\
\hline \hline
abef & 0.01 & 0.01 \\ abef & 0.010 & 0.010 \\
bcde & -0.005 & 0.007 \\ bcde & -0.005 & 0.007 \\
acdf & 0.005 & -0.017 \\ acdf & 0.005 & -0.017 \\
\hline \hline
@@ -92,13 +92,13 @@
\begin{table}[!ht] \begin{table}[!ht]
\centering \centering
\caption{Percentage Difference of Experiment \# 3 from Experiment \# 2 on Circuit (a)} \caption{Percentage Differences of Experiment \# 3 from Experiment \# 2 on Circuit (a)}
\label{tab:exp3-exp2-diff} \label{tab:exp3-exp2-diff}
\begin{tabular}{c|c} \begin{tabular}{cr}
\hline \hline
Measurement & Difference $(\%)$ \\ Measurement & Difference $(\%)$ \\
\hline \hline
$V_{R_1}$ & 0 \\ $V_{R_1}$ & 0.00 \\
$V_{R_2}$ & +1.54 \\ $V_{R_2}$ & +1.54 \\
$V_{R_3}$ & -0.23 \\ $V_{R_3}$ & -0.23 \\
$I_{R_1}$ & +0.30 \\ $I_{R_1}$ & +0.30 \\
@@ -121,7 +121,7 @@
\begin{minipage}[h]{0.9\linewidth} \begin{minipage}[h]{0.9\linewidth}
\centering \centering
\begin{circuitikz} \begin{circuitikz}
\draw (0,0) to [battery1={$E$},invert] ++(0,2) to [R={$R_i$}] ++(0,2); \draw (0,0) to [battery1, l={$E$},invert] ++(0,2) to [R={$R_i$}] ++(0,2);
\draw (0,0) to [short, -o] ++(2,0); \draw (0,0) to [short, -o] ++(2,0);
\draw (0,4) to [short, -o] ++(2,0); \draw (0,4) to [short, -o] ++(2,0);
@@ -137,7 +137,7 @@
\begin{minipage}[h]{0.9\linewidth} \begin{minipage}[h]{0.9\linewidth}
\centering \centering
\begin{circuitikz} \begin{circuitikz}
\draw (0,0) to [isourceAM={$I$}] ++(0,2); \draw (0,0) to [isourceAM, l={$I$}] ++(0,2);
\draw (2,0) to [R={$R_i$}] ++(0,2); \draw (2,0) to [R={$R_i$}] ++(0,2);
\draw (0,0) to [short, -*] ++(2,0) to [short, -o] ++(2,0); \draw (0,0) to [short, -*] ++(2,0) to [short, -o] ++(2,0);
\draw (0,2) to [short, -*] ++(2,0) to [short, -o] ++(2,0); \draw (0,2) to [short, -*] ++(2,0) to [short, -o] ++(2,0);
@@ -161,9 +161,9 @@
\begin{table}[!ht] \begin{table}[!ht]
\centering \centering
\caption{Percentage Difference of Original and Equivalent Circuit of Experiment \# 4} \caption{Percentage Differences of Original and Equivalent Circuit of Experiment \# 4}
\label{tab:exp4-diff} \label{tab:exp4-diff}
\begin{tabular}{c|c} \begin{tabular}{cr}
\hline \hline
Measurement & Difference $[\%]$ \\ Measurement & Difference $[\%]$ \\
\hline \hline
-86
View File
@@ -1,86 +0,0 @@
\section{実験条件・実験手順}
\subsection{実験器具}
\begin{itemize}
\item{$10 \ \text{k}\Omega$ 抵抗器}
\item{$47 \ \Omega$ 抵抗器}
\item{$1 \ \text{nF}$ コンデンサ}
\item{$100 \ \mu\text{F}$ コンデンサ}
\item{$100 \ \text{mH}$ インダクタ}
\item{ブレッドボード}
\item{ジャンパーワイヤ}
\item{ADALM2000}
\item{オシロスコープ}
\item{ファンクションジェネレータ}
\end{itemize}
\subsection{実験1-1}
ADALM2000を使用してRC直列回路に矩形波を入力し, 応答波形を観察する.
なお, 矩形波の周期は$2t$とし, $t$には回路の時定数の1倍, 5倍, 15倍の値を使用する.
抵抗器には10 $\text{k}\Omega$を, コンデンサには1 nFのものを使用した.
\subsection{実験1-2}
ADALM2000を使用してRL直列回路に矩形波を入力し, 応答波形を観察する.
なお, 矩形波の周期は$2t$とし, $t$には回路の時定数の0.5倍, 5倍, 25倍の値を使用する.
抵抗器には10 $\text{k}\Omega$を, インダクタには100 mHのものを使用した.
\subsection{実験2-1}
\Cref{fig:exp21-cd}のRC直列回路を作成し, ファンクションジェネレータを使用して正弦波を回路に入力し, オシロスコープとマルチメータで1 kHzから1 MHzまでの回路のインピーダンス特性を測定する.
オシロスコープで入力信号と抵抗器の電圧との位相差を測定し, マルチメータで抵抗器の電圧を測定する. 電流は抵抗器の抵抗値と電圧から求める.
なお, 入力周波数が10 kHzを超えるとマルチメータの読みが不正確になるのでオシロスコープで10 kHz以上の信号を測定した.
コンデンサの静電容量は1 nFのものと$100 \ \mu\text{F}$のものをそれぞれ測定する.
\begin{figure}[H]
\centering
\begin{circuitikz}
\ctikzset{bipoles/oscope/waveform=sin}
\draw (0,0) node[ground]{} to [vsourcesin, l={Fn}] ++(0,4) -- ++(2,0) to [C, l={$C$}] ++(0,-2) coordinate (vr) to [R, l={$47 \ \Omega$}] ++(0,-2) node[ground]{};
\draw (vr) to [short, *-] ++(2,0) to [short,-*] ++(0,0.5) node[oscopeshape,anchor=in 1](os){$V_R$} (os.in 2) to [short, *-] ++(0,-0.5) node[ground]{};
\end{circuitikz}
\caption{Circuit Diagram for Experiment 2-1}
\label{fig:exp21-cd}
\end{figure}
\subsection{実験2-2}
\Cref{fig:exp22-cd}のRL直列回路を作成し, ファンクションジェネレータを使用して正弦波を回路に入力し, オシロスコープとマルチメータで1 kHzから1 MHzまでの回路のインピーダンス特性を測定する.
オシロスコープで入力信号と抵抗器の電圧との位相差を測定し, マルチメータで抵抗器の電圧を測定する. 電流は抵抗器の抵抗値と電圧から求める.
なお, 入力周波数が10 kHzを超えるとマルチメータの読みが不正確になるのでオシロスコープで10 kHz以上の信号を測定した.
インダクタは100 mHのものを使用した.
\begin{figure}[H]
\centering
\begin{circuitikz}
\ctikzset{bipoles/oscope/waveform=sin}
\draw (0,0) node[ground]{} to [vsourcesin, l={Fn}] ++(0,4) -- ++(2,0) to [L, l={$100 \ \text{mH}$}] ++(0,-2) coordinate (vr) to [R, l={$47 \ \Omega$}] ++(0,-2) node[ground]{};
\draw (vr) to [short, *-] ++(2,0) to [short, -*] ++(0,0.5) node[oscopeshape,anchor=in 1](os){$V_R$} (os.in 2) to [short, *-] ++(0,-0.5) node[ground]{};
\end{circuitikz}
\caption{Circuit Diagram for Experiment 2-2}
\label{fig:exp22-cd}
\end{figure}
\subsection{実験2-3}
\Cref{fig:exp23-cd}のRLC並列回路を作成し, ADALM2000のネットワークアナライザ機能を使用してコンデンサでの応答特性を測定する.
抵抗器には$R_i$$10 \ \text{k}\Omega$を, $R$$100 \ \text{k}\Omega$を, コンデンサ$C$には1 nFを, そしてインダクタ$L$には100 mHのものを使用した.
\begin{figure}[H]
\centering
\begin{circuitikz}
\draw (0,0) node[ground]{} to [vsourcesin, l={ADALM2000}] ++(0,4) to [R, l={$R_i$}] ++(4,0) coordinate (a) ++(0,-4) coordinate (b);
\draw (a) |- ++(-2, -1) to [R, l={$R$}] ++(0,-2) -| (b);
\draw (a) |- ++(0,-1) to [L, l={$L$}] ++(0,-2) -| (b);
\draw (a) |- ++(2,-1) to [C, l={$C$}] ++(0,-2) -| (b);
\draw (a) ++(0,-1) node[circ]{} (b) ++(0,1) node[circ]{};
\draw (b) node[ground]{};
\end{circuitikz}
\caption{Circuit Diagram for Experiment 2-3}
\label{fig:exp23-cd}
\end{figure}
-80
View File
@@ -1,80 +0,0 @@
\section{実験結果}
\subsection{実験1-1}
\Cref{fig:exp11-res}より, 入力信号の周期を長くするにつれ充放電の様子に違いが見られた.
特に$T_{\text{in}} = 2 \times \tau$の場合では, コンデンサは完全に充放電されなかった.
\begin{figure}[H]
\centering
\begin{minipage}[h]{0.33\textwidth}
\centering
\includegraphics[width=4cm]{./assets/a-3/RC-10kOhm-1nF-1t.png}
\subcaption{$T_{\text{in}} = 2 \times \tau$}
\end{minipage}
\begin{minipage}[h]{0.33\textwidth}
\centering
\includegraphics[width=4cm]{./assets/a-3/RC-10kOhm-1nF-5t.png}
\subcaption{$T_{\text{in}} = 2 \times 5\tau$}
\end{minipage}
\begin{minipage}[h]{0.33\textwidth}
\centering
\includegraphics[width=4cm]{./assets/a-3/RC-10kOhm-1nF-15t.png}
\subcaption{$T_{\text{in}} = 2 \times 15\tau$}
\end{minipage}
\caption{Response of RC Circuit, Used $10 \ \text{k}\Omega$ Resistor and $1 \ \text{nF}$ Capacitor}
\label{fig:exp11-res}
\end{figure}
\subsection{実験1-2}
\Cref{fig:exp12-res}より, コンデンサと似た電圧の充放電波形が得られた.
しかし, $T_{\text{in}} = 2 \times 0.5\tau$では特殊な波形が見られた.
\begin{figure}[H]
\centering
\begin{minipage}[h]{0.33\textwidth}
\centering
\includegraphics[width=4cm]{./assets/a-3/RL-10kOhm-100mH-0.5t.png}
\subcaption{$T_{\text{in}} = 2 \times 0.5\tau$}
\end{minipage}
\begin{minipage}[h]{0.33\textwidth}
\centering
\includegraphics[width=4cm]{./assets/a-3/RL-10kOhm-100mH.png}
\subcaption{$T_{\text{in}} = 2 \times 5\tau$}
\end{minipage}
\begin{minipage}[h]{0.33\textwidth}
\centering
\includegraphics[width=4cm]{./assets/a-3/RL-10kOhm-100mH-25t.png}
\subcaption{$T_{\text{in}} = 2 \times 25\tau$}
\end{minipage}
\caption{Response of RL Circuit, Used $10 \ \text{k}\Omega$ Resistor and $100 \ \text{mH}$ Inductor}
\label{fig:exp12-res}
\end{figure}
\subsection{実験2-1}
\begin{figure}[H]
\centering
\input{./assets/a-3/exp2-1-bode}
\caption{Bode Plot of RC Circuit Response}
\label{fig:exp21-res}
\end{figure}
\subsection{実験2-2}
\begin{figure}[H]
\centering
\input{./assets/a-3/exp2-2-bode}
\caption{Bode Plot of RL Circuit Response}
\label{fig:exp22-res}
\end{figure}
\subsection{実験2-3}
\begin{figure}[H]
\centering
\includegraphics[width=9cm]{./assets/a-3/100kOhm-1nF-100mH.png}
\caption{Bode Plot of RLC Parallel Circuit Response}
\label{fig:exp23-res}
\end{figure}
-7
View File
@@ -1,7 +0,0 @@
\section{考察}
\subsection{実験1-1}
\subsection{実験1-2}
\subsection{実験2-1}
\subsection{実験2-2}
\subsection{実験2-3}
-11
View File
@@ -1,11 +0,0 @@
\section{理論}
\subsection{コンデンサ}
\subsubsection{時定数}
\subsection{インダクタ}
\subsubsection{時定数}
\subsection{共振・半幅値}
-247
View File
@@ -1,247 +0,0 @@
\section{実験手順・条件}
\subsection{実験器具}
\begin{itemize}
\item{ブレッドボード}
\item{直流安定化電源}
\item{タクトスイッチ x4}
\item{LED x4}
\item{7セグメント LED}
\item{カーボン抵抗器 $330 \Omega$ or $470 \Omega$ x12}
\item{ジャンパーワイヤ}
\item{ANDゲートIC TC74HC08}
\item{NANDゲートIC HD14012BP}
\item{ORゲートIC TC74HC32}
\item{NOTゲートIC TC74HC04}
\item{7セグメントドライバIC TC4511}
\item{DフリップフロップIC TC74HC74 x2}
\item{Nch MOSFET}
\end{itemize}
\subsection{課題1-1}
ANDゲートあるいはORゲートの動作を確認する.
2つのボタンを入力とし, 出力を7セグメントLEDのドットに表示させる回路を作成する.
\subsection{課題1-2}
4入力NANDゲートの動作を確認する.
4つのボタンを入力とし, 出力を7セグメントLEDのドットに表示させる回路を作成する.
\subsection{課題1-3}
\cref{fig:a1-3-cd}に示す組み合わせ回路を作成し動作を確認する.
4つのボタンを入力とし, 出力を7セグメントLEDのドットに表示させる回路を作成する.
\begin{figure}[H]
\centering
\begin{circuitikz}[scale=0.75]
\ctikzset{logic ports=ieee}
\ctikzset{logic ports/scale=0.75}
\node (A) at (0,2) {$A_{\text{IN}}$};
\node (B) at (0,1) {$B_{\text{IN}}$};
\node (C) at (0,0) {$C_{\text{IN}}$};
\node (D) at (0,-1) {$D_{\text{IN}}$};
\draw (2,1.5) node[and port](a){};
\draw (2,-0.5) node[and port](b){};
\draw (4.5,0.5) node[and port](c){};
\draw (A) -| (a.in 1) (B) -| (a.in 2);
\draw (C) -| (b.in 1) (D) -| (b.in 2);
\draw (a.out) -| (c.in 1) (b.out) -| (c.in 2);
\draw (c.out) -- ++(0.5,0) node[right] {$D_p$};
\end{circuitikz}
\caption{Circuit Diagram of Assignment 1-3}
\label{fig:a1-3-cd}
\end{figure}
\subsection{課題1-4}
\cref{fig:a1-4-cd}に示す組み合わせ回路を作成し動作を確認する.
4つのボタンを入力とし, 出力を7セグメントLEDのドットに表示させる回路を作成する.
\begin{figure}[H]
\centering
\begin{circuitikz}[scale=0.75]
\ctikzset{logic ports=ieee}
\ctikzset{logic ports/scale=0.75}
\node (A) at (0,2) {$A_{\text{IN}}$};
\node (B) at (0,1) {$B_{\text{IN}}$};
\node (C) at (0,0) {$C_{\text{IN}}$};
\node (D) at (0,-1) {$D_{\text{IN}}$};
\draw (2,1.5) node[and port](a){};
\draw (2,-0.5) node[and port](b){};
\draw (4.5,0.5) node[and port](c){};
\draw (6.5,0.5) node[not port](d){};
\draw (A) -| (a.in 1) (B) -| (a.in 2);
\draw (C) -| (b.in 1) (D) -| (b.in 2);
\draw (a.out) -| (c.in 1) (b.out) -| (c.in 2);
\draw (c.out) -- (d.in);
\draw (d.out) -- ++(0.5,0) node[right] {$D_p$};
\end{circuitikz}
\caption{Circuit Diagram of Assignment 1-4}
\label{fig:a1-4-cd}
\end{figure}
\subsection{課題2-1}
7セグメントドライバICを用いて1桁のBDCデコーダを作成する.
\subsection{課題2-2B}
論理ゲートを複数個使用し, 0-9以外の数の表現を実現する回路を作成する.
なお, 既存の0-9に対応するBDCコードが入力された際にはセグメントを点灯させないこと.
\subsection{課題3-1}
論理ゲートを組み合わせて\cref{fig:a3-1-cd}のRSフリップフロップを作成し, 動作を確認する.
\begin{figure}[H]
\centering
\begin{circuitikz}[scale=0.75]
\ctikzset{logic ports=ieee}
\ctikzset{logic ports/scale=0.75}
\ctikzset{diodes/scale=0.5}
\ctikzset{resistors/scale=0.5}
\ctikzset{switches/scale=0.75}
\node [or port] at (0,1.5) (or1){};
\node [or port] at (0,-1.5) (or2){};
\node [not port] at (3,1.5) (not1){};
\node [not port] at (3,-1.5) (not2){};
\draw (or1.out) -- (not1.in) (or2.out) -- (not2.in);
\draw (not1.out) -- ++(1,0) to [short, *-] ++(0,-0.5) coordinate(p1);
\draw (not2.out) -- ++(1,0) to [short, *-] ++(0,0.5) coordinate(p2);
\draw (or1.in 2) -- ++(0,-0.5) coordinate (p3);
\draw (or2.in 1) -- ++(0,0.5) coordinate (p4);
\draw (p1) -- (p4) (p2) -- (p3);
\draw ($(not1.out) + (1,0)$) -- ++(4,0) -- ++(0,-2) to[leDo, l={$D_D$}] ++(0,-1) to[R, l={$330 \ \Omega$}] ++(0,-1) node[ground]{};
\draw ($(not2.out) + (1,0)$) -- ++(1,0) -- ++(0,2) -- ++(1,0) -- ++(0,-1) to[leDo, l={$D_C$}] ++(0,-1) to[R, l={$330 \ \Omega$}] ++(0,-1) node[ground]{};
\draw (-8,3) node[vcc]{$V_{DD}$} -- ++(0,-1.5) coordinate (v);
\draw (v) to [normal open switch] ++(4,0) coordinate (in1) -- ++(0.5,0) |- (or1.in 1) (in1) to [short, *-] ++(0,-2) to [leDo, l={$D_B$}] ++(0,-1) to [R, l={$330 \ \Omega$}] ++(0,-1) node[ground]{};
\draw (v) -- ++(0,-1) to [normal open switch] ++(1.5,0) coordinate (in2) -- ++(0.5,0) -| ($(or2.in 2) + (-0.5,0)$) -- (or2.in 2) (in2) to [short, *-] ++(0,-1) to [leDo, l={$D_A$}] ++(0,-1) to [R, l={$330 \ \Omega$}] ++(0,-1) node[ground]{};
\end{circuitikz}
\caption{Circuit Diagram of Assignment 3-1}
\label{fig:a3-1-cd}
\end{figure}
\subsection{課題3-2}
DフリップフロップICを用いて\cref{fig:a3-2-cd}の回路を作成し, 動作を確認する.
\begin{figure}[H]
\centering
\begin{circuitikz}[scale=0.9]
\ctikzset{logic ports=ieee}
\ctikzset{flipflops/scale=0.75}
\ctikzset{resistors/scale=0.75}
\ctikzset{diodes/scale=0.75}
\node [flipflop D] at (0,0) (Df){};
\draw (-2.5,2) node[vcc]{$V_{DD}$} -- ++(0,-0.5) to[normal open switch] ++(0,-1.5) coordinate(x) to[leDo, l={$D_p$}] ++(0,-2) to[R={$330 \Omega$}] ++(0,-2) node[ground]{};
\draw (x) to[short,o-] ++(1,0) |- (Df.pin 3);
\draw (Df.pin 4) -- ++(0.5,0) -- ++(0,2) -- ++(-2.5,0) |- (Df.pin 1);
\draw (Df.pin 6) -- ++(1.5,0) to[leDo, l={$D_A$}] ++(0,-2.5) to[R={$330 \Omega$}] ++(0,-2) node[ground]{};
\end{circuitikz}
\caption{Circuit Diagram of Assignment 3-2}
\label{fig:a3-2-cd}
\end{figure}
\subsection{課題3-3}\label{sec:a3-3}
DフリップフロップICを2個用いて\cref{fig:a3-3-cd}の順列回路を作成し, 動作を確認する.
\begin{figure}[H]
\centering
\begin{circuitikz}
\ctikzset{logic ports=ieee}
\ctikzset{flipflops/scale=0.75}
\ctikzset{resistors/scale=0.75}
\ctikzset{diodes/scale=0.75}
%\ctikzset{multipoles/flipflop/font=\tiny}
\ctikzset{multipoles/flipflop/pin spacing=0.5}
\node [flipflop D] at (0,0) (Df0){};
\node [flipflop D] at (3,0) (Df1){};
\node [flipflop D] at (6,0) (Df2){};
\node [flipflop D] at (9,0) (Df3){};
\draw (-2,2) node[vcc]{$V_{DD}$} to[normal open switch, -*] ++(0,-2) coordinate (x) to[leDo, l_={$D_p$}] ++(0,-1.5) to[R, l_={$330 \Omega$}] ++(0,-1.5) node[ground]{};
\draw (x) -- ++(0.75,0) |- (Df0.pin 3);
\draw (Df0.pin 4) -- ++(0.25,0) -- ++(0,2) -- ++(-2.25,0) |- (Df0.pin 1);
\draw (Df1.pin 4) -- ++(0.25,0) -- ++(0,2) -- ++(-2.25,0) |- (Df1.pin 1);
\draw (Df2.pin 4) -- ++(0.25,0) -- ++(0,2) -- ++(-2.25,0) |- (Df2.pin 1);
\draw (Df3.pin 4) -- ++(0.25,0) -- ++(0,2) -- ++(-2.25,0) |- (Df3.pin 1);
\draw (Df0.pin 6) -- ++(0.75,0) to[short,-*] ++(0,-0.75) coordinate (ck1) to[leDo, l_={$D_A$}] ++(0,-1.25) to[R, l_={$330 \Omega$}] ++(0,-1.5) node[ground]{};
\draw (ck1) -| (Df1.pin 3);
\draw (Df1.pin 6) -- ++(0.75,0) to[short,-*] ++(0,-0.75) coordinate (ck2) to[leDo, l_={$D_B$}] ++(0,-1.25) to[R, l_={$330 \Omega$}] ++(0,-1.5) node[ground]{};
\draw (ck2) -| (Df2.pin 3);
\draw (Df2.pin 6) -- ++(0.75,0) to[short,-*] ++(0,-0.75) coordinate (ck3) to[leDo, l_={$D_C$}] ++(0,-1.25) to[R, l_={$330 \Omega$}] ++(0,-1.5) node[ground]{};
\draw (ck3) -| (Df3.pin 3);
\draw (Df3.pin 6) -- ++(0.75,0) -- ++(0,-0.75) to[leDo, l_={$D_D$}] ++(0,-1.25) to[R, l_={$330 \Omega$}] ++(0,-1.5) node[ground]{};
\end{circuitikz}
\caption{Circuit Diagram of Assignment 3-3}
\label{fig:a3-3-cd}
\end{figure}
\subsection{課題3-4}
\cref{fig:a3-4-cd}の順序回路を組み, 動作を確認する. ? に適切な論理ゲートを使用する.
\begin{figure}[H]
\centering
\begin{circuitikz}
\ctikzset{logic ports=ieee}
\ctikzset{logic ports/scale=0.75}
\ctikzset{flipflops/scale=0.75}
\ctikzset{resistors/scale=0.75}
\ctikzset{diodes/scale=0.75}
%\ctikzset{multipoles/flipflop/font=\tiny}
\ctikzset{multipoles/flipflop/pin spacing=0.5}
\node [flipflop D] at (0,0) (Df0){};
\node [flipflop D] at (3,0) (Df1){};
\node [flipflop D] at (6,0) (Df2){};
\node [flipflop D] at (9,0) (Df3){};
\node [european blank port] at ($(Df0.pin 3) - (0.25,0)$) (ckGate) {?};
\node [nand port, number inputs=4, rotate=180] at ($(Df0) + (0,4)$) (nandGate) {};
\draw (nandGate.out) -| (ckGate.in 1);
\draw (-3.5,2) node[vcc]{$V_{DD}$} to[normal open switch, -*] ++(0,-2) coordinate (x) to[leDo, l_={$D_p$}] ++(0,-1.5) to[R, l_={$330 \Omega$}] ++(0,-1.5) node[ground]{};
\draw (x) -- ++(0.75,0) |- (ckGate.in 2) (ckGate.out) -- (Df0.pin 3);
\draw (Df0.pin 4) -- ++(0.25,0) -- ++(0,2) -- ++(-2.25,0) |- (Df0.pin 1);
\draw (Df1.pin 4) -- ++(0.25,0) -- ++(0,2) -- ++(-2.25,0) |- (Df1.pin 1);
\draw (Df2.pin 4) -- ++(0.25,0) -- ++(0,2) -- ++(-2.25,0) |- (Df2.pin 1);
\draw (Df3.pin 4) -- ++(0.25,0) -- ++(0,2) -- ++(-2.25,0) |- (Df3.pin 1);
\draw (Df0.pin 6) to[short,-*] ++(0.75,0) coordinate (AIN) to[short,-*] ++(0,-0.75) coordinate (ck1) to[leDo, l_={$D_A$}] ++(0,-1.25) to[R, l_={$330 \Omega$}] ++(0,-1.5) node[ground]{};
\draw (ck1) -| (Df1.pin 3);
\draw (AIN) |- (nandGate.in 1);
\draw (Df1.pin 6) to[short,-*] ++(0.75,0) coordinate (BIN) to[short,-*] ++(0,-0.75) coordinate (ck2) to[leDo, l_={$D_B$}] ++(0,-1.25) to[R, l_={$330 \Omega$}] ++(0,-1.5) node[ground]{};
\draw (ck2) -| (Df2.pin 3);
\draw ($(BIN) + (0,2)$) node[not port, rotate=90](n1){} (BIN) -- (n1.in) (n1.out) |- (nandGate.in 2);
\draw (Df2.pin 6) to[short,-*] ++(0.75,0) coordinate (CIN) to[short,-*] ++(0,-0.75) coordinate (ck3) to[leDo, l_={$D_C$}] ++(0,-1.25) to[R, l_={$330 \Omega$}] ++(0,-1.5) node[ground]{};
\draw (ck3) -| (Df3.pin 3);
\draw ($(CIN) + (0,2)$) node[not port, rotate=90](n2){} (CIN) -- (n2.in) (n2.out) |- (nandGate.in 3);
\draw (Df3.pin 6) to[short,-*] ++(0.75,0) coordinate (DIN) -- ++(0,-0.75) to[leDo, l_={$D_D$}] ++(0,-1.25) to[R, l_={$330 \Omega$}] ++(0,-1.5) node[ground]{};
\draw (DIN) |- (nandGate.in 4);
\end{circuitikz}
\caption{Circuit Diagram of Assignment 3-4}
\label{fig:a3-4-cd}
\end{figure}
\subsection{応用課題 A}
\Cref{sec:a3-3}で作成した4ビットカウンタにおいて, 最下位ビットのDフリップフロップのCKにパルスを印加した瞬間のそれぞれのビット出力の応答波形を観察する.
-571
View File
@@ -1,571 +0,0 @@
\section{実験結果}
\subsection{課題 1-1}
\subsubsection{動作}
\begin{figure}[H]
\centering
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/and-gate/state-00.jpg}
\subcaption{$a = 0, \ b = 0$}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/and-gate/state-01.jpg}
\subcaption{$a = 1, \ b = 0$}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/and-gate/state-11.jpg}
\subcaption{$a = 1, \ b = 1$}
\end{minipage}
\caption{74HC08 AND Gate, Input A on Second from Right ($x = a \cdot b$)}
\label{fig:a1-1-res}
\end{figure}
\subsubsection{観測された真理値表}
\begin{table}[H]
\centering
\caption{Observed Truth Table of $x = a \cdot b$}
\label{tab:a1-1-res-tt}
\begin{tabular}{ccc}
\hline
a & b & $x$ \\
\hline
0 & 0 & 0 \\
1 & 0 & 0 \\
0 & 1 & 0 \\
1 & 1 & 1 \\
\hline
\end{tabular}
\end{table}
\subsection{課題 1-2}
\subsubsection{動作}
\begin{figure}[H]
\centering
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/nand-4/state-0000.jpg}
\subcaption{$a = 0, \ b = 0, \ c = 0, \ d = 0$}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/nand-4/state-0011.jpg}
\subcaption{$a = 1, \ b = 1, \ c = 0, \ d = 0$}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/nand-4/state-1111.jpg}
\subcaption{$a = 1, \ b = 1, \ c = 1, \ d = 1$}
\end{minipage}
\caption{HD14012BP 4 Inputs NAND Gate ($x = \overline{a \cdot b \cdot c \cdot d}$)}
\label{fig:a1-2-res}
\end{figure}
\subsubsection{観測された真理値表}
\begin{table}[H]
\centering
\caption{Observed Truth Table of $x = \overline{a \cdot b \cdot c \cdot d}$}
\label{tab:a1-2-res-tt}
\begin{tabular}{ccccc}
\hline
a & b & c & d & x \\
\hline
0 & 0 & 0 & 0 & 1 \\
1 & 0 & 0 & 0 & 1 \\
0 & 1 & 0 & 0 & 1 \\
1 & 1 & 0 & 0 & 1 \\
0 & 0 & 1 & 0 & 1 \\
1 & 0 & 1 & 0 & 1 \\
0 & 1 & 1 & 0 & 1 \\
1 & 1 & 1 & 0 & 1 \\
0 & 0 & 0 & 1 & 1 \\
1 & 0 & 0 & 1 & 1 \\
0 & 1 & 0 & 1 & 1 \\
1 & 1 & 0 & 1 & 1 \\
0 & 0 & 1 & 1 & 1 \\
1 & 0 & 1 & 1 & 1 \\
0 & 1 & 1 & 1 & 1 \\
1 & 1 & 1 & 1 & 0 \\
\hline
\end{tabular}
\end{table}
\subsection{課題 1-3}
\subsubsection{動作}
\begin{figure}[H]
\centering
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/and-4/state-0000.jpg}
\subcaption{$a = 0, \ b = 0, \ c = 0, \ d = 0$}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/and-4/state-0010.jpg}
\subcaption{$a = 0, \ b = 1, \ c = 0, \ d = 0$}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/and-4/state-1111.jpg}
\subcaption{$a = 1, \ b = 1, \ c = 1, \ d = 1$}
\end{minipage}
\caption{
\parbox[t]{7.5cm}{4 Inputs AND Gate with Three 2 Inputs AND Gates, \\ Input A on Most Left ($x = (a \cdot b) \cdot (c \cdot d)$)}
}
\label{fig:a1-3-res}
\end{figure}
\subsubsection{観測された真理値表}
\begin{table}[H]
\centering
\caption{Observed Truth Table of $x = (a \cdot b) \cdot (c \cdot d)$}
\label{tab:a1-3-res-tt}
\begin{tabular}{ccccc}
\hline
a & b & c & d & x \\
\hline
0 & 0 & 0 & 0 & 0 \\
1 & 0 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 & 0 \\
1 & 1 & 0 & 0 & 0 \\
0 & 0 & 1 & 0 & 0 \\
1 & 0 & 1 & 0 & 0 \\
0 & 1 & 1 & 0 & 0 \\
1 & 1 & 1 & 0 & 0 \\
0 & 0 & 0 & 1 & 0 \\
1 & 0 & 0 & 1 & 0 \\
0 & 1 & 0 & 1 & 0 \\
1 & 1 & 0 & 1 & 0 \\
0 & 0 & 1 & 1 & 0 \\
1 & 0 & 1 & 1 & 0 \\
0 & 1 & 1 & 1 & 0 \\
1 & 1 & 1 & 1 & 1 \\
\hline
\end{tabular}
\end{table}
\subsection{課題 1-4}
\subsubsection{動作}
\begin{figure}[H]
\centering
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/nand-from-ands/state-0000.jpg}
\subcaption{$a = 0, \ b = 0, \ c = 0, \ d = 0$}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/nand-from-ands/state-0101.jpg}
\subcaption{$a = 1, \ b = 0, \ c = 1, \ d = 0$}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/nand-from-ands/state-1111.jpg}
\subcaption{$a = 1, \ b = 1, \ c = 1, \ d = 1$}
\end{minipage}
\caption{
\parbox[t]{8cm}{4 Inputs NAND Gate with Three 2 Inputs AND Gates and \\ a NOT Gate, Input A on Most Left ($x = \overline{(a \cdot b) \cdot (c \cdot d)}$)}
}
\label{fig:a1-4-res}
\end{figure}
\subsubsection{観測された真理値表}
\begin{table}[H]
\centering
\caption{Observed Truth Table of $x = \overline{(a \cdot b) \cdot (c \cdot d)}$}
\label{tab:a1-4-res-tt}
\begin{tabular}{ccccc}
\hline
a & b & c & d & x \\
\hline
0 & 0 & 0 & 0 & 1 \\
1 & 0 & 0 & 0 & 1 \\
0 & 1 & 0 & 0 & 1 \\
1 & 1 & 0 & 0 & 1 \\
0 & 0 & 1 & 0 & 1 \\
1 & 0 & 1 & 0 & 1 \\
0 & 1 & 1 & 0 & 1 \\
1 & 1 & 1 & 0 & 1 \\
0 & 0 & 0 & 1 & 1 \\
1 & 0 & 0 & 1 & 1 \\
0 & 1 & 0 & 1 & 1 \\
1 & 1 & 0 & 1 & 1 \\
0 & 0 & 1 & 1 & 1 \\
1 & 0 & 1 & 1 & 1 \\
0 & 1 & 1 & 1 & 1 \\
1 & 1 & 1 & 1 & 0 \\
\hline
\end{tabular}
\end{table}
\subsection{課題 2-1}
\subsubsection{動作}
\begin{figure}[H]
\centering
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/7seg-bcd/state-0.jpg}
\subcaption{$a = 0, \ b = 0, \ c = 0, \ d = 0$}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/7seg-bcd/state-7.jpg}
\subcaption{$a = 1, \ b = 1, \ c = 1, \ d = 0$}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/7seg-bcd/invalid.jpg}
\subcaption{$a = 0, \ b = 1, \ c = 0, \ d = 1$}
\end{minipage}
\caption{7 Segment Driver (4 Bits BDC Input, LSB on Left)}
\label{fig:a2-1-res}
\end{figure}
\subsubsection{観測された真理値表}
\begin{table}[H]
\centering
\caption{Observed Truth Table of 7 Segment Driver}
\label{tab:a2-1-res-tt}
\begin{tabular}{ccccccccccc}
\hline
a & b & c & d & A & B & C & D & E & F & G \\
\hline
0 & 0 & 0 & 0 & 1 & 1 & 1 & 1 & 1 & 1 & 0 \\
1 & 0 & 0 & 0 & 0 & 1 & 1 & 0 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 & 1 & 1 & 0 & 1 & 1 & 0 & 1 \\
1 & 1 & 0 & 0 & 1 & 1 & 1 & 1 & 0 & 0 & 1 \\
0 & 0 & 1 & 0 & 0 & 1 & 1 & 0 & 0 & 1 & 1 \\
1 & 0 & 1 & 0 & 1 & 0 & 1 & 1 & 0 & 1 & 1 \\
0 & 1 & 1 & 0 & 0 & 0 & 1 & 1 & 1 & 1 & 1 \\
1 & 1 & 1 & 0 & 1 & 1 & 1 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\
1 & 0 & 0 & 1 & 1 & 1 & 1 & 0 & 0 & 1 & 1 \\
0 & 1 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
1 & 1 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
0 & 0 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
1 & 0 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
0 & 1 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
1 & 1 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
\hline
\end{tabular}
\end{table}
\subsection{課題 2-2B}
\subsubsection{動作}
\begin{figure}[H]
\centering
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=5cm]{./assets/t-2/result/7seg-hexa/state-a.jpg}
\subcaption{$a = 0, \ b = 1, \ c = 0, \ d = 1$}
\end{minipage}
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=5cm]{./assets/t-2/result/7seg-hexa/state-b.jpg}
\subcaption{$a = 1, \ b = 1, \ c = 0, \ d = 1$}
\end{minipage}
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=5cm]{./assets/t-2/result/7seg-hexa/state-c.jpg}
\subcaption{$a = 0, \ b = 0, \ c = 1, \ d = 1$}
\end{minipage}
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=5cm]{./assets/t-2/result/7seg-hexa/state-d.jpg}
\subcaption{$a = 1, \ b = 0, \ c = 1, \ d = 1$}
\end{minipage}
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=5cm]{./assets/t-2/result/7seg-hexa/state-e.jpg}
\subcaption{$a = 0, \ b = 1, \ c = 1, \ d = 1$}
\end{minipage}
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=5cm]{./assets/t-2/result/7seg-hexa/state-f.jpg}
\subcaption{$a = 1, \ b = 1, \ c = 1, \ d = 1$}
\end{minipage}
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=5cm]{./assets/t-2/result/7seg-hexa/invalid.jpg}
\subcaption{$a = 1, \ b = 0, \ c = 0, \ d = 1$}
\end{minipage}
\hspace{0.45\textwidth}
\caption{7 Segment Hexadecimal Decoder 10-15 Only (4 Bits BCD Input, LSB on Left)}
\label{fig:a2-2b-res}
\end{figure}
\subsubsection{観測された真理値表}
\begin{table}[H]
\centering
\caption{Observed Truth Table of 7 Segment Hexadecimal Decoder (* Indicates Don't Care Term)}
\label{tab:a2-2b-res-tt}
\begin{tabular}{ccccccccccc}
\hline
a & b & c & d & A & B & C & D & E & F & G \\
\hline
* & * & * & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
* & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
0 & 1 & 0 & 1 & 1 & 1 & 1 & 0 & 1 & 1 & 1 \\
1 & 1 & 0 & 1 & 0 & 0 & 1 & 1 & 1 & 1 & 1 \\
0 & 0 & 1 & 1 & 1 & 0 & 0 & 1 & 1 & 1 & 0 \\
1 & 0 & 1 & 1 & 0 & 1 & 1 & 1 & 1 & 0 & 1 \\
0 & 1 & 1 & 1 & 1 & 0 & 0 & 1 & 1 & 1 & 1 \\
1 & 1 & 1 & 1 & 1 & 0 & 0 & 0 & 1 & 1 & 1 \\
\hline
\end{tabular}
\end{table}
\subsection{課題 3-1}
\subsubsection{動作}
\begin{figure}[H]
\centering
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=5cm]{./assets/t-2/result/rs-ff/initial.jpg}
\subcaption{Initial State}
\end{minipage}
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=5cm]{./assets/t-2/result/rs-ff/s-hold.jpg}
\subcaption{Set Hold}
\end{minipage}
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=5cm]{./assets/t-2/result/rs-ff/s-release.jpg}
\subcaption{Set Release}
\end{minipage}
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=5cm]{./assets/t-2/result/rs-ff/r-hold.jpg}
\subcaption{Reset Hold}
\end{minipage}
\caption{
\parbox[t]{8cm}{RS Latch with OR Gates and NOT Gates (LEDs Represent Set, Reset, Inverted Output, Output from Left)}
}
\label{fig:a3-1-res}
\end{figure}
\subsubsection{観測された挙動}
\begin{table}[H]
\centering
\caption{Observed State Transition Table of RS Latch}
\label{tab:a3-1-res-st}
\begin{tabular}{ccccl}
\hline
$R$ & $S$ & $Q$ & $\overline{Q}$ & Action \\
\hline
0 & 0 & $Q$ & $\overline{Q}$ & Hold \\
0 & 1 & 1 & 0 & Set \\
1 & 0 & 0 & 1 & Reset \\
1 & 1 & X & X & Unstable Behaviour \\
\hline
\end{tabular}
\end{table}
\subsection{課題 3-2}
\subsubsection{動作}
\begin{figure}[H]
\centering
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/d-ff/initial.jpg}
\subcaption{Initial State}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/d-ff/clk-1.jpg}
\subcaption{Clocked Once from Initial State}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/d-ff/clk-2.jpg}
\subcaption{Clocked Twice from Initial State}
\end{minipage}
\caption{D Flipflop Toggler}
\label{fig:a3-2-res}
\end{figure}
\subsubsection{観測された挙動}
\begin{table}[H]
\centering
\caption{Observed State Transition Table of D Flipflop Toggler}
\label{tab:a3-2-res-st}
\begin{tabular}{cccl}
\hline
$CK$ & $Q$ & $Q_{\text{next}}$ & Action \\
\hline
$\uparrow$ & 0 & 1 & Toggle \\
$\uparrow$ & 1 & 0 & Toggle \\
$\downarrow$ & * & Q & Hold \\
\hline
\end{tabular}
\end{table}
\subsection{課題 3-3}
\subsubsection{動作}
\begin{figure}[H]
\centering
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/d-ff-4-bit/initial.jpg}
\subcaption{Initial State}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/d-ff-4-bit/clk-6.jpg}
\subcaption{Clocked Six Times from Initial State}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/d-ff-4-bit/clk-15.jpg}
\subcaption{Clocked Fifteen Times from Initial State}
\end{minipage}
\caption{4 Bits D Flipflop Counter (LSB on Right)}
\label{fig:a3-3-res}
\end{figure}
\subsubsection{観測された挙動}
\begin{table}[H]
\centering
\caption{Observed State Transition Table of 4 Bits D Flipflop Counter}
\label{tab:a3-3-res-st}
\begin{tabular}{cccccccl}
\hline
$Q$ & CK & $Q_{\text{next}}$ & $D_A$ & $D_B$ & $D_C$ & $D_D$ & Action \\
\hline
0 & $\uparrow$ & 1 & 0 & 0 & 0 & 0 & Count \\
1 & $\uparrow$ & 2 & 1 & 1 & 1 & 1 & Count \\
2 & $\uparrow$ & 3 & 0 & 1 & 1 & 1 & Count \\
3 & $\uparrow$ & 4 & 1 & 0 & 1 & 1 & Count \\
4 & $\uparrow$ & 5 & 0 & 0 & 1 & 1 & Count \\
5 & $\uparrow$ & 6 & 1 & 1 & 0 & 1 & Count \\
6 & $\uparrow$ & 7 & 0 & 1 & 0 & 1 & Count \\
7 & $\uparrow$ & 8 & 1 & 0 & 0 & 1 & Count \\
8 & $\uparrow$ & 9 & 0 & 0 & 0 & 1 & Count \\
9 & $\uparrow$ & 10 & 1 & 1 & 1 & 0 & Count \\
10 & $\uparrow$ & 11 & 0 & 1 & 1 & 0 & Count \\
11 & $\uparrow$ & 12 & 1 & 0 & 1 & 0 & Count \\
12 & $\uparrow$ & 13 & 0 & 0 & 1 & 0 & Count \\
13 & $\uparrow$ & 14 & 1 & 1 & 0 & 0 & Count \\
14 & $\uparrow$ & 15 & 0 & 1 & 0 & 0 & Count \\
15 & $\uparrow$ & 0 & 1 & 0 & 0 & 0 & Count \\
* & $\downarrow$ & $Q$ & * & * & * & * & Hold \\
\hline
\end{tabular}
\end{table}
\subsection{課題 3-4}
? にはANDゲートを使用した.
\begin{figure}[H]
\centering
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/d-ff-4-bit-cond/initial.jpg}
\subcaption{Initial State}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/d-ff-4-bit-cond/clk-3.jpg}
\subcaption{Clocked 3 Times from Initial State}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\includegraphics[width=4cm]{./assets/t-2/result/d-ff-4-bit-cond/halt.jpg}
\subcaption{Halt State}
\end{minipage}
\caption{4 Bits D Flipflop Counter with Halt Condition (LSB on Right)}
\label{fig:a3-4-res}
\end{figure}
\subsubsection{観測された挙動}
\begin{table}[H]
\centering
\caption{Observed State Transition Table of 4 Bits D Flipflop Counter with Halt Condition}
\label{tab:a3-4-res-st}
\begin{tabular}{cccccccl}
\hline
$Q$ & CK & $Q_{\text{next}}$ & $D_A$ & $D_B$ & $D_C$ & $D_D$ & Action \\
\hline
0 & $\uparrow$ & 1 & 0 & 0 & 0 & 0 & Count \\
1 & $\uparrow$ & 2 & 1 & 1 & 1 & 1 & Count \\
2 & $\uparrow$ & 3 & 0 & 1 & 1 & 1 & Count \\
3 & $\uparrow$ & 4 & 1 & 0 & 1 & 1 & Count \\
4 & $\uparrow$ & 5 & 0 & 0 & 1 & 1 & Count \\
5 & $\uparrow$ & 6 & 1 & 1 & 0 & 1 & Count \\
6 & $\uparrow$ & 7 & 0 & 1 & 0 & 1 & Count \\
7 & $\uparrow$ & 7 & 1 & 0 & 0 & 1 & Halt \\
* & $\downarrow$ & $Q$ & * & * & * & * & Hold \\
\hline
\end{tabular}
\end{table}
\subsection{応用課題 A}
\cref{tab:a3-3-res-st}での状態0から状態1になる時の応答波形は\cref{fig:aa-res}となった.
\begin{figure}[H]
\centering
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=7cm]{./assets/t-2/result/signal-timing/first-second-bit.jpg}
\subcaption{First and Second Bits}
\end{minipage}
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=7cm]{./assets/t-2/result/signal-timing/third-fourth-bit.jpg}
\subcaption{Third and Forth Bits}
\end{minipage}
\caption{Response Signals of Counter Output when State Transitions from 0 to 1}
\label{fig:aa-res}
\end{figure}
各出力がTC74HC74のHレベルの入力電圧に到達するまでの時間を応答時間とし,
それぞれの応答時間の概算は\cref{tab:aa-res}となった.
\begin{table}[H]
\centering
\caption{Response Time of Each Bit}
\label{tab:aa-res}
\begin{tabular}{cr}
\hline
Bit & Response Time (ns) \\
\hline
0 & 30 \\
1 & 60 \\
2 & 80 \\
3 & 75 \\
\hline
\end{tabular}
\end{table}
-347
View File
@@ -1,347 +0,0 @@
\section{考察}
\subsection{課題 1-1}
この実験ではTC74HC08のANDゲートを使用した.
ANDゲートは等価回路は\cref{fig:and-gate-equi}のようにスイッチが2つ直列に接続された回路で, 両方のスイッチが閉じた時のみ, Hレベルを出力する.
\begin{figure}[H]
\centering
\begin{circuitikz}
\ctikzset{switches/scale=1}
\ctikzset{resistors/scale=1}
\ctikzset{diodes/scale=1}
\draw (0,0) node[vcc]{$V_{DD}$} to [normal open switch, l={$A$}] ++(2,0) to [normal open switch, l={$B$}] ++(2,0) coordinate (out) to [R] ++(2,0) node[ground]{};
\draw (out) to [short, *-o] ++(0,0.5) node[above]{Output};
\end{circuitikz}
\caption{AND Gate Equivalent Circuit}
\label{fig:and-gate-equi}
\end{figure}
このことから, \cref{tab:a1-1-res-tt}で示した結果は両方の入力がHレベルの時だけ出力がHレベルとなっているため, 理論と一致することが分かる.
\subsection{課題 1-2}
\Cref{tab:a1-2-res-tt}より, 全ての入力がHレベルの時のみ出力がLレベルとなっている.
NANDゲートはANDゲートの否定なので, 結果は理屈に沿っている.
\subsection{課題 1-3}
\Cref{fig:a1-3-cd}より, 各ゲートの出力は\cref{equ:output-of-each-gate-a1-3}となる.
\begin{equation}
\label{equ:output-of-each-gate-a1-3}
\begin{split}
O_1 &= A_{\text{IN}} \cdot B_{\text{IN}} \\
O_2 &= C_{\text{IN}} \cdot D_{\text{IN}} \\
D_p &= O_1 \cdot O_2 = (A_{\text{IN}} \cdot B_{\text{IN}}) \cdot (C_{\text{IN}} \cdot D_{\text{IN}})
\end{split}
\end{equation}
\Cref{equ:output-of-each-gate-a1-3}より, 真理値表は\cref{tab:theoretical-a1-3}となる.
\begin{table}[H]
\centering
\caption{Theoretical Truth Table of $D_p = (A_{\text{IN}} \cdot B_{\text{IN}}) \cdot (C_{\text{IN}} \cdot D_{\text{IN}})$}
\label{tab:theoretical-a1-3}
\begin{tabular}{ccccc}
\hline
$A_{\text{IN}}$ & $B_{\text{IN}}$ & $C_{\text{IN}}$ & $D_{\text{IN}}$ & $D_p$ \\
\hline
0 & 0 & 0 & 0 & 0 \\
1 & 0 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 & 0 \\
1 & 1 & 0 & 0 & 0 \\
0 & 0 & 1 & 0 & 0 \\
1 & 0 & 1 & 0 & 0 \\
0 & 1 & 1 & 0 & 0 \\
1 & 1 & 1 & 0 & 0 \\
0 & 0 & 0 & 1 & 0 \\
1 & 0 & 0 & 1 & 0 \\
0 & 1 & 0 & 1 & 0 \\
1 & 1 & 0 & 1 & 0 \\
0 & 0 & 1 & 1 & 0 \\
1 & 0 & 1 & 1 & 0 \\
0 & 1 & 1 & 1 & 0 \\
1 & 1 & 1 & 1 & 1 \\
\hline
\end{tabular}
\end{table}
\Cref{tab:theoretical-a1-3}より, 出力$D_p$が1となるのは全入力が1の時だけであり, この条件を論理式にすると\cref{equ:a1-3-final}となり, \cref{equ:output-of-each-gate-a1-3}で示した$D_p$と等価な式になる.
\begin{equation}
\label{equ:a1-3-final}
d_p = A_{\text{IN}} \cdot B_{\text{IN}} \cdot C_{\text{IN}} \cdot D_{\text{IN}}
\end{equation}
\subsection{課題 1-4}
\Cref{fig:a1-4-cd}の出力は\cref{equ:a1-4-out}で示され, ド・モルガンの定理で変形していくと\cref{equ:a1-4-de-morganed}となる.
\begin{equation}
\label{equ:a1-4-out}
D_p = \overline{(A_{\text{IN}} \cdot B_{\text{IN}}) \cdot (C_{\text{IN}} \cdot D_{\text{IN}})}
\end{equation}
\begin{equation}
\label{equ:a1-4-de-morganed}
\begin{split}
D_p &= \overline{(A_{\text{IN}} \cdot B_{\text{IN}}) \cdot (C_{\text{IN}} \cdot D_{\text{IN}})} = \overline{A_{\text{IN}} \cdot B_{\text{IN}}} + \overline{C_{\text{IN}} \cdot D_{\text{IN}}} \\
&= \overline{A_{\text{IN}}} + \overline{B_{\text{IN}}} + \overline{C_{\text{IN}}} + \overline{D_{\text{IN}}} = \overline{A_{\text{IN}} \cdot B_{\text{IN}} \cdot C_{\text{IN}} \cdot D_{\text{IN}}}
\end{split}
\end{equation}
論理式の等価は真理値表の一致を意味するので, \cref{equ:a1-4-de-morganed}で示した論理式の真理値表も全て一致する.
\Cref{tab:a1-4-res-tt}の真理値表は\cref{tab:a1-2-res-tt}のものと一致している, よってこれら2つの論理式は等価である.
\subsection{課題 2-1}
デコーダ回路とはある意味を持つ小さなコードを別の対応するより大きなコードへの写像を取る回路のことである.
今回の場合は4ビットの二進数から7セグメントLEDの点灯パターンへの写像を論理回路で実装している.
7セグメントLEDデコーダのTC4511はそれぞれの出力が論理式の出力となってる.
\subsection{課題 2-2B}
この回路を制作するにあたって, まずは\cref{tab:a2-2b-tt-design}の真理値表を考える.
\begin{table}[H]
\centering
\caption{Truth Table for Designing 7 Segment Hexadecimal Decoder}
\label{tab:a2-2b-tt-design}
\begin{tabular}{ccccccccccc}
\hline
a & b & c & d & A & B & C & D & E & F & G \\
\hline
0 & 1 & 0 & 1 & 1 & 1 & 1 & 0 & 1 & 1 & 1 \\
1 & 1 & 0 & 1 & 0 & 0 & 1 & 1 & 1 & 1 & 1 \\
0 & 0 & 1 & 1 & 1 & 0 & 0 & 1 & 1 & 1 & 0 \\
1 & 0 & 1 & 1 & 0 & 1 & 1 & 1 & 1 & 0 & 1 \\
0 & 1 & 1 & 1 & 1 & 0 & 0 & 1 & 1 & 1 & 1 \\
1 & 1 & 1 & 1 & 1 & 0 & 0 & 0 & 1 & 1 & 1 \\
\hline
\end{tabular}
\end{table}
ここで, dの値が全てHレベルであるので, 一旦省略する.
この真理値表にもとずいたそれぞれのセグメントの論理式は\cref{equ:a2-2b-equ-design}となる.
\begin{equation}
\label{equ:a2-2b-equ-design}
\begin{split}
A &= \overline{(a \cdot b \cdot \bar{c}) + (a \cdot \bar{b} \cdot c)} \\
B &= (\bar{a} \cdot b \cdot \bar{c}) + (a \cdot \bar{b} \cdot c) \\
C &= B + (a \cdot b \cdot \bar{c}) \\
D &= \overline{(\bar{a} \cdot b \cdot \bar{c}) + (a \cdot b \cdot c)} \\
E &= d \\
F &= \overline{a \cdot \bar{b} \cdot c} \\
G &= \overline{\bar{a} \cdot \bar{b} \cdot c}
\end{split}
\end{equation}
Eセグメントには省略していたdの値を1との論理積として戻した.
これら論理式にカルノー図を適応したが, もとが十分簡略化されていたためか, あまり有用ではなかった.
かわりに, 複数式に共通する項を1つのユニットとして共有して使用することにした.
共通項は\cref{equ:a2-2b-common}とした.
\begin{equation}
\label{equ:a2-2b-common}
\begin{split}
X &= (a \cdot b \cdot \bar{c}) \\
Y &= (a \cdot \bar{b} \cdot c) \\
Z &= (\bar{a} \cdot b \cdot \bar{c})
\end{split}
\end{equation}
また, 禁止条件が入力された際の真理値値表は\cref{tab:a2-2b-not-allowed}となった.
\begin{table}[H]
\centering
\caption{Truth Table for Disallowed Conditions}
\label{tab:a2-2b-not-allowed}
\begin{tabular}{ccccc}
\hline
a & b & c & d & $\overline{\text{EN}}$ \\
\hline
* & * & * & 0 & 1 \\
* & 0 & 0 & 1 & 1 \\
\hline
\end{tabular}
\end{table}
上記の真理値表から論理式を作成すると\cref{equ:a2-2b-not-allowed-equ}となった.
\begin{equation}
\label{equ:a2-2b-not-allowed-equ}
\text{EN} = d \cdot (b + c)
\end{equation}
この論理式の出力でNch MOSFETを駆動させ, 7セグメントLEDのコモンカソードを制御することで一括で消灯させることにした.
これら論理式から回路を制作すると\cref{fig:a2-2b-cd}となった.
\begin{figure}[tbh]
\centering
\begin{circuitikz}[scale=0.7]
\ctikzset{logic ports=ieee}
\ctikzset{logic ports/scale=0.7}
\ctikzset{resistors/scale=0.7}
\node [and port, number inputs=3] at (-5,4) (X) {};
\node [and port, number inputs=3] at (-5,2) (Y) {};
\node [and port, number inputs=3] at (-5,0) (Z) {};
\node [nor port] at (0,4) (A) {};
\node [or port] at (0,2) (B) {};
\node [or port] at (0,0) (C) {};
\node [and port, number inputs=3] at (5,4) (m) {};
\node [nor port, anchor=in 2] at ($(m.out) + (1,0)$) (D) {};
\node [not port] at (5,2) (F) {};
\node [nand port, number inputs=3] at (5,0) (G) {};
\node [notcirc,left] at (X.bin 3) {};
\node [notcirc,left] at (Y.bin 2) {};
\node [notcirc,left] at (Z.bin 1) {};
\node [notcirc,left] at (Z.bin 3) {};
\node [notcirc,left] at (G.bin 1) {};
\node [notcirc,left] at (G.bin 2) {};
\draw (X.in 1) ++(-0.5,0) node[left]{a} to [short, o-] (X.in 1);
\draw (X.in 2) ++(-0.5,0) node[left]{b} to [short, o-] (X.in 2);
\draw (X.in 3) ++(-0.5,0) node[left]{c} to [short, o-] (X.in 3);
\draw (X.out) to [short, -o] ++(0.5,0) node[right]{X};
\draw (Y.in 1) ++(-0.5,0) node[left]{a} to [short, o-] (Y.in 1);
\draw (Y.in 2) ++(-0.5,0) node[left]{b} to [short, o-] (Y.in 2);
\draw (Y.in 3) ++(-0.5,0) node[left]{c} to [short, o-] (Y.in 3);
\draw (Y.out) to [short, -o] ++(0.5,0) node[right]{Y};
\draw (Z.in 1) ++(-0.5,0) node[left]{a} to [short, o-] (Z.in 1);
\draw (Z.in 2) ++(-0.5,0) node[left]{b} to [short, o-] (Z.in 2);
\draw (Z.in 3) ++(-0.5,0) node[left]{c} to [short, o-] (Z.in 3);
\draw (Z.out) to [short, -o] ++(0.5,0) node[right]{Z};
\draw (A.in 1) ++(-0.5,0) node[left]{X} to [short, o-] ++(0.5,0);
\draw (A.in 2) ++(-0.5,0) node[left]{Y} to [short, o-] ++(0.5,0);
\draw (A.out) to [short, -o] ++(0.5,0) node[right]{A};
\draw (B.in 1) ++(-0.5,0) node[left]{Y} to [short, o-] ++(0.5,0);
\draw (B.in 2) ++(-0.5,0) node[left]{Z} to [short, o-] ++(0.5,0);
\draw (B.out) to [short, -o] ++(0.5,0) node[right]{B};
\draw (C.in 1) ++(-0.5,0) node[left]{B} to [short, o-] ++(0.5,0);
\draw (C.in 2) ++(-0.5,0) node[left]{X} to [short, o-] ++(0.5,0);
\draw (C.out) to [short, -o] ++(0.5,0) node[right]{C};
\draw (m.in 1) ++(-0.5,0) node[left]{a} to [short, o-] ++(0.5,0);
\draw (m.in 2) ++(-0.5,0) node[left]{b} to [short, o-] ++(0.5,0);
\draw (m.in 3) ++(-0.5,0) node[left]{c} to [short, o-] ++(0.5,0);
\draw (m.out) -- (D.in 2);
\draw (D.in 1) ++(-0.5,0) node[left]{Z} to [short, o-] ++(0.5,0);
\draw (D.out) to [short, -o] ++(0.5,0) node[right]{D};
\draw (F.in) ++(-0.5,0) node[left]{Y} to [short, o-] ++(0.5,0);
\draw (F.out) to [short, -o] ++(0.5,0) node[right]{F};
\draw (G.in 1) ++(-0.5,0) node[left]{a} to [short, o-] (G.in 1);
\draw (G.in 2) ++(-0.5,0) node[left]{b} to [short, o-] (G.in 2);
\draw (G.in 3) ++(-0.5,0) node[left]{c} to [short, o-] (G.in 3);
\draw (G.out) to [short, -o] ++(0.5,0) node[right]{G};
\draw (-1.5, -2) node[left]{d} to [short, o-o] ++(3,0) node[right]{E};
\draw (G.out) ++(1,-2) node[above]{Common Cathode} to [short, o-] ++(0,-1) node[nigfete,anchor=D](Q){} (Q.S) -- ++(0,-1.3) node[ground]{} (Q.G) to [short, -*] ++(-1,0) coordinate (Qin) to [R, l={$330 \ \Omega$}] ++(0,-2) node[ground]{};
\draw (Qin) -- ++(-1,0) node[and port, anchor=out](ENAnd){};
\draw (ENAnd.in 1) to [short, -o] ++(-0.5,0) node[left]{d};
\draw (ENAnd.in 2) -- ++(-1,0) node[or port, anchor=out](ENOr){};
\draw (ENOr.in 1) to [short, -o] ++(-0.5,0) node[left]{b};
\draw (ENOr.in 2) to [short, -o] ++(-0.5,0) node[left]{c};
\ctikzset{resistors/scale=0.5}
\draw (-7,-4) node[dipchip, num pins=14, no topmark, external pins width=0.0, hide numbers](LED){} (LED) node[bare7seg]{};
\node [left, font=\tiny] at (LED.bpin 14) {A};
\node [left, font=\tiny] at (LED.bpin 13) {B};
\node [left, font=\tiny] at (LED.bpin 12) {C};
\node [left, font=\tiny] at (LED.bpin 11) {D};
\node [left, font=\tiny] at (LED.bpin 10) {E};
\node [left, font=\tiny] at (LED.bpin 9) {F};
\node [left, font=\tiny] at (LED.bpin 8) {G};
\node [above, font=\tiny] at (LED.s) {Cathode};
\draw (LED.bpin 14) to[R] ++(1.5,0) to [short,-o] ++(0.5,0) node[right]{A};
\draw (LED.bpin 13) to[R] ++(1.5,0) to [short,-o] ++(0.5,0) node[right]{B};
\draw (LED.bpin 12) to[R] ++(1.5,0) to [short,-o] ++(0.5,0) node[right]{C};
\draw (LED.bpin 11) to[R] ++(1.5,0) to [short,-o] ++(0.5,0) node[right]{D};
\draw (LED.bpin 10) to[R] ++(1.5,0) to [short,-o] ++(0.5,0) node[right]{E};
\draw (LED.bpin 9) to[R] ++(1.5,0) to [short,-o] ++(0.5,0) node[right]{F};
\draw (LED.bpin 8) to[R] ++(1.5,0) to [short,-o] ++(0.5,0) node[right]{G};
\draw (LED.s) to [short,-o] ++(0,-1) node[right]{Common Cathode};
\draw[dash pattern=on 4pt off 4pt, thick] (LED.ne) ++(0.1, 0.1) rectangle ($(LED.se) + (1.4,-0.1)$);
\draw (LED.se) ++(0.7,-0.1) node[below]{$330 \ \Omega$};
\end{circuitikz}
\caption{Circuit Diagram of 7 Segment Hexadecimal Decoder}
\label{fig:a2-2b-cd}
\end{figure}
\subsection{課題 3-1}
今回の実験では\cref{fig:a3-1-stg}の状態遷移を行うNOR構成のRSフリップフロップを作成した.
\begin{figure}[tbh]
\centering
\begin{tikzpicture}[shorten >=1pt, node distance=2cm, auto]
\node [state] (Q0) {$Q_0$};
\node [state] (Q1) [right of=Q0] {$Q_1$};
\path[->] (Q0) edge [bend left] node[above] {$01/1$} (Q1);
\path[->] (Q1) edge [bend left] node[below] {$10/0$} (Q0);
\path[->] (Q0) edge [loop left] node[left] {$00/0$} () (Q1) edge [loop right] node[right] {$00/1$} ();
\end{tikzpicture}
\caption{
\parbox[t]{8cm}{State Transition Graph of RS Flipflop, the Edge Labels Show Input R, Input S, and Output Q from Left}
}
\label{fig:a3-1-stg}
\end{figure}
この構成ではRとS共に1が入力された時が禁止状態となる.
禁止状態では, 両方のNORゲートに1つ以上のHレベルの入力がかかり, 双方出力が0となりフリップフロップとしての機能を喪失する.
どちらかの入力がLレベルになるまでこの機能は回復しない.
\subsection{課題 3-3}
今回の実験で作成したカウンタは二進数のビットごとの否定を出力するものとなった.
これは初期状態では全ての出力$Q$がLレベルで, 次の状態で入力Dに印加されるのは全て否定出力$\bar{Q}$のHレベルとなるためである.
この回路は複数のDフリップフロップの出力が次のフリップフロップのクロック入力へ数珠接続した非同期のカウンタとなる.
\subsection{課題 3-4}
最下位のDフリップフロップのクロックをパルスさせるには?の論理ゲートの出力をNANDゲートの入力関係無しにボタンからのオン・オフでトグルさせる必要がある.
手元にあるゲートの中でこのクロックをパルスさせることが出来たのはANDゲートであったが, NANDゲートの出力がLレベルになるカウンタ出力の組み合わせで状態の遷移が停止してしまった.
これはANDゲートの出力をHレベルにするには2つの入力がHレベルである必要があるが, NANDゲートの出力がLレベルになってしまった以上, ボタンの出力のみでANDゲートの出力を変えることが出来なくなってしまったことに起因する.
このカウンタを一巡させるには1つのHレベル入力のみで出力をパルスさせ, かつ両方がHレベルのときには出力をLレベルにすることが出来る論理ゲートが必要である.
その論理ゲートこそXOR(排他的論理和)である. この論理ゲートの真理値表は\cref{tab:xor-gate-tt}で, 一方の入力がHレベルである時だけ出力をHレベルにすることが出来る\supercite{digital-circuit:xor}.
\begin{table}[H]
\centering
\caption{Truth Table of XOR Gate}
\label{tab:xor-gate-tt}
\begin{tabular}{ccc}
\hline
a & b & x \\
\hline
0 & 0 & 0 \\
1 & 0 & 1 \\
0 & 1 & 1 \\
1 & 1 & 0 \\
\hline
\end{tabular}
\end{table}
\subsection{応用課題 A}
\Cref{fig:aa-res}\cref{tab:aa-res}より, 信号は最下位ビットから順番に立ち上がっている様子が分かる.
しかし, $2^2$のビットは$2^3$のビットに遅れてTC74HC74のHレベルの入力電圧である3.15 Vに到達した.
これにはIC内部や, 入力端子の寄生容量が関係していると思われる\supercite{tc74hc74}.
これら遅延は非同期カウンタの性質上避けられない性質で, クロックとほぼ同時に状態が遷移する同期式のカウンタならこの遅延を少なくすることができる.
このことから, この回路で入力できる最大周波数の理論値は$\frac{1}{80 \ \text{ns}} = 12.5 \ \text{MHz}$となる.
実際, ファンクションジェネレータで16 MHz付近の周波数をクロックに入力すると動作が不安定になった.
-191
View File
@@ -1,191 +0,0 @@
\section{理論}
\subsection{ディジタル}
ディジタルとは最小単位が存在する物理量であり, 連続的で最小単位が存在しないアナログと対になる.
この最小単位というのは時間や電圧などの刻み幅を決めるもので分解能ともいう. 分解能を高くすれば, 真の値と観測値の誤差が小さくなる.
ディジタルには「誰が測っても同じになる」ことと「多少ノイズが混じっても大丈夫」という長所があり, 逆に「最小単位より小さいものは測れない」という短所がある.
ディジタルにより, 現実世界の様々な現象をある一定の精度で数値的に解析・再現することが出来るようになった\supercite{digital-circuit:digital}.
\begin{figure}[tbh]
\centering
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=0.9\textwidth]{./assets/t-2/analog-example.png}
\subcaption{Analog}
\end{minipage}
\begin{minipage}[h]{0.45\textwidth}
\centering
\includegraphics[width=0.9\textwidth]{./assets/t-2/digitize-example.png}
\subcaption{Digital}
\end{minipage}
\caption{Example of Analog and Digital Signal}
\end{figure}
\subsection{二進数}
二進数とは0と1などの二種類の記号を用いた数の表記法である.
これにより電気のオン・オフなど回路で扱いやすい形で様々な数を表すことが出来るようになった\supercite{digital-circuit:basic-logic}.
\subsection{ブール代数}
ブール代数とは二値化された数に対し, 演算子や法則を定義した数学の分野である.
ブール代数では基本的な演算子は論理和, 論理積, 論理否定である\supercite{digital-circuit:basic-logic}.
これらの演算子の演算結果は\cref{tab:truth-table-basic}のような真理値表でまとめることが出来る\supercite{digital-circuit:truth-table}.
\begin{table}[!ht]
\caption{Truth Tables of Basic Logic Operations}
\label{tab:truth-table-basic}
\begin{minipage}[h]{0.33\textwidth}
\centering
\subcaption{Logical And ($x = a \cdot b$)}
\begin{tabular}{ccc}
\hline
a & b & x \\ \hline
0 & 0 & 0 \\
1 & 0 & 0 \\
0 & 1 & 0 \\
1 & 1 & 1 \\
\hline
\end{tabular}
\end{minipage}
\begin{minipage}[h]{0.33\textwidth}
\centering
\subcaption{Logical Or ($x = a + b$)}
\begin{tabular}{ccc}
\hline
a & b & x \\ \hline
0 & 0 & 0 \\
1 & 0 & 1 \\
0 & 1 & 1 \\
1 & 1 & 1 \\
\hline
\end{tabular}
\end{minipage}
\begin{minipage}[h]{0.33\textwidth}
\centering
\subcaption{Logical Not ($x = \bar{a}$)}
\begin{tabular}{cc}
\hline
a & $\bar{\text{a}}$ \\ \hline
0 & 1 \\
1 & 0 \\
\hline
\end{tabular}
\end{minipage}
\end{table}
これら演算子に対する法則を\cref{equ:laws-of-boolean}に示す.
\begin{equation}
\label{equ:laws-of-boolean}
\begin{aligned}
a + a &= a &\ \text{(Idempotent Law)} \\
a \cdot a &= a &\ \text{(Idempotent Law)} \\
a + 1 &= 1 &\ \text{(Identity Law)} \\
a \cdot 0 &= 0 &\ \text{(Identity Law)} \\
a + (a \cdot b) &= a &\ \text{(Absorption Law)} \\
a \cdot (a + b) &= a &\ \text{(Absorption Law)} \\
(a + b) + c &= a + (b + c) &\ \text{(Associative Law)} \\
(a \cdot b) \cdot c &= a \cdot (b \cdot c) &\ \text{(Associative Law)} \\
\bar{\bar{a}} &= a &\ \text{(Double Negation)}
\end{aligned}
\end{equation}
ブール代数の代表的な定理としてド・モルガンの定理がある.
この定理は「あるブール式の各変数を否定し, 式の中の論理積と論理和を入れ替えた式は, 全体を否定した式と同じ値をとる」というもので\cref{equ:deMorgan}のような式で表現される\supercite{digital-circuit:basic-logic}.
\begin{equation}\label{equ:deMorgan}
\overline{f(x_1, x_2, \dotsc, +, \cdot)} = f(\overline{x_1}, \overline{x_2}, \dotsc, \cdot{}, +)
\end{equation}
\subsection{論理ゲート}
論理ゲートは論理演算を電気回路で表現したもので, 回路記号は\cref{fig:logic-gate-symbols}で表される\supercite{digital-circuit:gate-ic}.
\begin{figure}[tbh]
\centering
\begin{circuitikz}
\ctikzset{logic ports=ieee}
\node [and port] at (0,2) {};
\node [nand port] at (0,0) {};
\node [or port] at (3,2) {};
\node [nor port] at (3,0) {};
\node [not port] at (6,1) {};
\node at (0,1) {AND Gate};
\node at (0,-1) {NAND Gate};
\node at (3,1) {OR Gate};
\node at (3,-1) {NOR Gate};
\node at (6,0) {NOT Gate};
\end{circuitikz}
\caption{Symbols of Logic Gates}
\label{fig:logic-gate-symbols}
\end{figure}
図中のNANDゲートやNORゲートはそれぞれANDゲートとORゲートの結果の論理否定を出力する.
これら論理ゲートを複数個まとめてパッケージしたICが論理ゲートICと呼ばれている.
\subsection{組み合わせ回路}
複雑な条件を扱う論理回路は論理ゲート1つだけでは実現できない. 論理ゲートを複数種類・複数個組み合わせて作られた回路を組み合わせ回路という.
組み合わせ回路を作成するにあたり, 論理式の簡略化はコストや実装空間の制限上必須である.
この簡略化で用いられる方法の1つがカルノー図である.
カルノー図は論理式の結果を特定の条件に対応する行と列に写したもので, $x = (\bar{a} \cdot b \cdot c) + (a \cdot b \cdot \bar{c}) + (a \cdot \bar{b} \cdot \bar{c})$のカルノー図は\cref{fig:karnaugh-map-example}となる.
\begin{figure}[tbh]
\centering
\begin{tabular}{|c|c|c|}
\hline
& $\bar{c}$ & $c$ \\ \hline
$\bar{a} \ \bar{b}$ & & \\ \hline
$\bar{a} \ b$ & & 1 \\ \hline
$a \ b$ & 1 & \\ \hline
$a \ \bar{b}$ & 1 & \\
\hline
\end{tabular}
\caption{Karnaugh Map of $x = (\bar{a} \cdot b \cdot c) + (a \cdot b \cdot \bar{c}) + (a \cdot \bar{b} \cdot \bar{c})$}
\label{fig:karnaugh-map-example}
\end{figure}
カルノー図から隣接する1のセルを「くくる」と論理式を簡略化することが出来る\supercite{digital-circuit:karnaugh-map}.
今回の例では$a \cdot b \cdot \bar{c}$のセルと$a \cdot \bar{b} \cdot \bar{c}$のセルでは$b$の値によらず1になっているので, くくって $x = (a \cdot \bar{c}) + (\bar{a} \cdot b \cdot c)$を得る.
\subsection{順序回路}
論理回路には現在の状態と入力によって次の状態へ変化する回路が存在する. これらの回路は順序回路と呼ばれている.
例えば, ある状態Aで入力が0の時, 出力を1にし状態Bへ, 入力が1の時, 出力を0にし状態Cへ遷移するというような回路のことである\supercite{digital-circuit:sequential-logic}.
順序回路の動作を説明するには状態遷移図や状態遷移表が有効である.
状態遷移図は各状態をノード, 入力/出力の順で表記された状態の遷移をエッジとする有向グラフとして表現される.
状態遷移表は入力と現状態が次にどの状態と出力をするのかを表にまとめたものである\supercite{digital-circuit:state-transition}.
前述の例を状態遷移図と状態遷移表で表現するとそれぞれ\cref{fig:state-transition-graph-example}\cref{tab:state-tarnsition-table-example}となる.
\begin{table}[!ht]
\begin{minipage}[h]{0.45\textwidth}
\centering
\begin{tikzpicture}[shorten >=1pt, node distance=2cm, auto]
\node [state] (A) {$A$};
\node [state] (B) [above right of=A] {$B$};
\node [state] (C) [below right of=A] {$C$};
\path[->] (A) edge node {$0/1$} (B) edge node {$1/0$} (C);
\end{tikzpicture}
\captionof{figure}{Example of State Transition Graph}
\label{fig:state-transition-graph-example}
\end{minipage}
\begin{minipage}[h]{0.45\textwidth}
\centering
\captionof{table}{Example of State Transition Table}
\label{tab:state-tarnsition-table-example}
\begin{tabular}{cccc}
\hline
State & Input & Next State & Output \\ \hline
A & 0 & B & 1 \\
A & 1 & C & 0 \\
\hline
\end{tabular}
\end{minipage}
\end{table}
-2
View File
@@ -14,8 +14,6 @@
\Crefname{figure}{Fig.}{Fig.} \Crefname{figure}{Fig.}{Fig.}
\crefname{table}{Table}{Tables} \crefname{table}{Table}{Tables}
\Crefname{table}{Table}{Tables} \Crefname{table}{Table}{Tables}
\crefname{section}{section}{sections}
\Crefname{section}{Section}{Sections}
\crefname{equation}{Eq.}{Eq.} \crefname{equation}{Eq.}{Eq.}
\Crefname{equation}{Eq.}{Eq.} \Crefname{equation}{Eq.}{Eq.}
\creflabelformat{equation}{(#1)} \creflabelformat{equation}{(#1)}