You are on page 1of 31

2011

100031

ii

iii

(Abstract)
The Sound Card Timer and its Application
In this project, the sound card in the computer is turned into an accurate timer.
With the help of sensors such as high-sensitivity microphones, piezoelectric
buzzers and photodiodes, the timer can be used to measure the speed of sound in
the air or in the solid metal, pendulum cycles and the acceleration of gravity.
According to the experimental data, the application is feasible with great accuracy.
It is worthwhile to promote the application to the courses and experiments in
primary and secondary schools.

iv

192,000Hz

()
() HILA HFG-101
()

()3.5mm Jack
()
()
()
()Microsoft Visual Basic 6GoldWave 5.06
1


()
(1)

PCI

LINE IN MIC IN
LINE OUT

0 1

ADC Analog-to-Digital
Conversion DACDigital-to-Analog Conversion[5]

1-1

1-2

(2)

Goldwave
192,000Hz96,000Hz44,100Hz22,050Hz11,025Hz
192,000Hz 44,100Hz
GoldWave
192,000Hz
0.107%44,100Hz 0.229%

760Hz

758.21Hz

0.235%

350Hz

349.34Hz

0.187%

5517Hz

5517.24Hz

0.004%

512Hz

512.82Hz

0.160%

66080Hz 66115.70Hz

0.054%

1000Hz

1000.00Hz

0.000%

192,000Hz

704Hz

704.85Hz

0.120%

350Hz

350.88Hz

0.251%

2022Hz

2020.20Hz

0.089%

512Hz

512.82Hz

0.160%

8093Hz

8032.13Hz

0.752%

1000Hz

1000.00Hz

0.000%

44,100Hz

2-2

2-1

2-3 GoldWave

(3)
MIC IN

3 90
192,000Hz GoldWave
0.0026 24
90 / 100 / 0.0026 346.2 m/s 331 0.6 24 345.4
m/s 0.232%

4 GoldWave

()

20 5032 m/s

[8][9]

(1)
5

3.5mm Jack
MIC IN
GoldWave 192,000Hz

GoldWave

D
GoldWave T
v D / T

(2)

GoldWave
7

7-1

7-2

7-3

7-4

7-5

7-6

(3)
7

[5]
[6] 5090 m/s

[8][9]

8 GoldWave

0.8 m
0.8 m
0.8 m
0.8 m
0.8 m
0.8 m

1
3738.32
5128.21
4968.94
1420.96
4790.42
4938.27

m/s 18
2 3 4 5 6
3827.75 3738.32 3755.87 3846.15 3827.75
5128.21 5128.21 4968.94 4968.94 4938.27
4938.27 4790.42 4938.27 4968.94 4968.94
1433.69 1433.69 1428.57 1476.01 1433.69
4790.42 4799.04 4790.42 4790.42 4790.42
5263.16 5263.16 5263.16 4938.27 5479.45

7
3755.87
4968.94
4938.27
1476.01
4790.42
5128.21

(20) m/s m/s m/s


3813 [8][9]
3784.29
47.34 (1.251%)
5102 [8][9]
5032.82
89.88 (1.786%)
4970 [5]
4930.30
63.56 (1.289%)
1260 [5]
1443.23
22.85 (1.583%)
4140 [5]
4791.65
3.26 (0.068%)
5032 [8][9]
5181.95
195.76 (3.778%)

0.753%
1.356%
0.799%
14.542%
15.740%
2.980%

()

10

(1)

9-1

9-2

9-3

[10]

11

10

10

3V

2.1V 2.7V

11-1 11-2 11-3

3.76ms
12

4.86ms

11-1

11-2

11-3

(2)
12
100cm 50g

USB
USB 5V
75

3.5mm Jack

12

5
GoldWave 44,100Hz
10

13


(3)
13

10
10 1
14-1 14-2
2.016963 0.000080
0.00397%
[7]

13

14

14-1 10 0.00008

14-2 10

()

g
9.8 m/s2 g

(1)

15

15

15

USB
USB 5V 75

3.5mm Jack

GoldWave 192,000Hz

16

GoldWave
g
(2)
10 g
10.728389 m/s2
0.178522

(s) (s) (s) g


1
2.630120
3.011828
0.381708
10.981394
2
2.273979
2.660484
0.386505
10.710500
3
2.939995
3.328422
0.388427
10.604768
4
2.364234
2.755563
0.391329
10.448066
5
2.141984
2.525969
0.383985
10.851542
6
2.163276
2.547990
0.384714
10.810456
7
2.547958
2.930151
0.382193
10.953541
8
1.886708
2.277135
0.390427
10.496398
9
2.599792
2.985703
0.385911
10.743497
10
2.445344
2.832333
0.386989
10.683726

(3)

17

16

16

17
B C A
BC t1
B D A
BD t2
t g t
A B
18

1
g (t t1 ) 2
2
1
S 2 g (t t 2 ) 2
2
S1

S1 t 2 S 2 t1
S 2 S1

2 S 2 2 S1
g

t 2 t1

17

t1 0.199321 0.000122t2
0.24648 0.000191 t = 0.209726 ()
g = 9.801589 (m/s2)

19

(s)

(s)

t1 (s)

0.946750

1.146099

0.199349

0.911276

1.110688

0.199412

0.803406

1.002828

0.199422

0.928891

1.128313

0.199422

0.817568

1.016776

0.199208

0.856693

1.055828

0.199135

0.926974

1.126484

0.199510

0.999115

1.198354

0.199239

0.939063

1.138380

0.199317

10

0.823297

1.022495

0.199198

(s)

(s)

t2 (s)

1.083000

1.329484

0.246484

0.900198

1.146656

0.246458

0.785536

1.031901

0.246365

0.933057

1.179771

0.246714

1.067453

1.313984

0.246531

0.857547

1.104146

0.246599

0.966182

1.212380

0.246198

0.908625

1.154969

0.246344

0.892896

1.139229

0.246333

10

1.115922

1.362755

0.246833

()

[1][3]
[2][4]

20

Microsoft Visual Basic 6

(1)
192,000Hz 10
192000 10 2 3,840,000
[1][3]
17

0.25%

18

(2)

21


18
0.15%

19

(3)
19

192,000Hz 44,100Hz

22

20

23


()
1443.23 m/s 4791.65 m/s
[1] 1260 m/s 4140 m/s
[1]
[2] 5090 m/s

()

Acer TravelMate 4320 Realtek


High Definition Audio

()

Line Out

24

25


() , , , 2004
() , Visual Basic 6.0 , , 1999
() http://neural.cs.nthu.edu.tw/jang/

() http://andrew.csie.ncyu.edu.tw/index.htm

() http://zh.wikipedia.org/zh-tw/
() http://en.wikipedia.org/wiki/Titanium
() ,
g , 47 ,
2007
() ,
, 44 , 2004
() , ,
32 , 1995
() , , , 2007

26

27

You might also like