Mathcad - Amsignal
Mathcad - Amsignal
Mathcad - Amsignal
mcd
last edit date:03/13/09 avo
(
m ( t) := Am⋅ cos 2⋅ π ⋅ fm⋅ t ) (
c ( t) := Ac⋅ cos 2⋅ π ⋅ fc⋅ t )
sdsb ( t) := m ( t) ⋅ c ( t)
(
Envelope ( t) := Ac⋅ 1 + μ am⋅ m ( t) ) ( )
sAM ( t) := 1 + μ am⋅ m ( t) ⋅ c ( t)
8
N := 2 number of points n := 0 .. N − 1 N = 256
2
tmax := display 2 cycles of lowest frequency
fm
tmax
dt := tn := dt⋅ n create time vector
N
1 1
= 500
tmax s
Waveforms
1
Volts
1
5 .10
4
0 0.001 0.0015 0.002
time
Carrier Voltage
Modulation Voltage
DSB-SC and Envelopes
1
Volts
1
5 .10
4
0 0.001 0.0015 0.002
Time
s(t)
m(t)
positive envelope
negative envelope
N
k := 0 .. −1 index for FFT
2 ⎯⎯→
length ⎛ sdsb ( t)⎞ = 256
⎯⎯→ ⎝ ⎠
DSB := FFT ⎛ sdsb ( t)⎞ Calculate FFT
⎝ ⎠ length ( DSB) = 129
0.5
0
1 .10 1.5 .10 2 .10
4 4 4
0 5000
Frequency Hz
************************************************************************************************************
AM Modulation Index: μ am = 0.5
AM and Envelopes
2
1
Volts
2
5 .10
4
0 0.001 0.0015 0.002
Time
s(t)
Positive Envelope
Negative Envelope
N
k := 0 .. −1 index for FFT
2 ⎯⎯→
length ⎛ sdsb ( t)⎞ = 256
⎝ ⎠
⎯⎯⎯→
AM := FFT ⎛ sAM ( t)⎞ Calculate FFT
⎝ ⎠ length ( DSB) = 129
AM Modulation Voltage Spectrum
1
2 AMk 0.5
0
6 8 10 12 14
1 k
⋅
dt⋅ N 1000
Frequency Hz
AM Power
0.5
0.4
0.3
Watts
2⋅ ( AMk )2
0.2
.125
0.1
0
6 8 10 12 14
1 k
⋅
dt⋅ N 1000
Time