SlideShare a Scribd company logo
- 1/40 -
Instructor : Jaewook Kang
At CSNL-GIST
E-mail: jwkkang@gist.ac.kr
2011, Apr. 8th
A Simple Communication System Design
Lab with MATLAB Simulink
- Lab #4: - Completing our target system
- Channel implementation
- 2/40 -
Next time…Next time…
Place: IC203
Weeks Time Hour Instructor
1 week
Lab. #0
3.11
(13:00~
16:00)
3
- Overview of Development with Simulink
- QPSK Model with AWGN Channel/ Rayleigh Fading
Channel
- Development Example: Interference Cancellation for Satellite Communi
Junil Ahn
2 weeks
Lab. #1
3.18
(13:00~
14:20)
1.5 - Basic OFDM Junil Ahn
3.18
(14:30~
16:00)
1.5
- Introduction
- How to use Simulink with interleaver
implementation
Jaewook Kang
3 weeks
Lab. #2
3.25
(13:00~
16:00)
3
- How to use S-function builder
- PSF and Matched filter design
- Concept of upsampling and downsampling
Jaewook Kang
4 weeks
Lab. #3
4.1
(13:00~
16:00)
3
- Phase splitter
- Up conversion and down conversion
Jaewook Kang
5 weeks
Lab. #4
4.8
(13:00~
16:00)
3
- How to make subsystem
- Channel implementation
Jaewook Kang
- 3/40 -
Summary of prev. lectureSummary of prev. lecture
Up conversions
By multiplying to BB signals, we can obtain PB signals
We usually use k=4 IF=pi/2
In case of down conversion, only sign of exponent is opposite.
2
( ) ( ) ( )
( ) ( )
2 2
Re[ ( )] cos( ) sin( )
2 2
Im [ ( )] sin( ) cos( )
BB
j n
k
PB BB
s n x n jy n
s n s n e
s t x n y n
k k
ag s n x n y n
k k
π
π π
π π
−
= +
=
= −
= +
2
j t
k
e
π
−
where 2, integerk ≥
- 4/40 -
Summary of prev. lectureSummary of prev. lecture
Phase splitter
Since Tx only transmit real part of signals, we have to recover
the full complex signal from real part of the received signal.
When using FIR filter to implement Phase splitter, we have to
consider the delay of the filter (N-1)/2.
- 5/40 -
Summary of prev. lectureSummary of prev. lecture
Hilbert transform
Find imaginary part of Xc(t) from real part only when Xc(t) is complex exponential.
02j f t
Ae π
Re[]
Hilbert TR
+
02j f t
Ae π
Xc Xr
Xi_hat
Xc_hat
X
j
- 6/40 -
Today’s main pointsToday’s main points
Complete to make our target system
Let’s make a channel using simulink
How to use MATLAB function in sumulink
How to use variable from workspace
- 7/40 -
Our target systemOur target system
Tx part
Rx part
Tx Source Interleaver
QAM
Mapper
PSF X
NCO
↑4
Phase
Splitter
Matched
filter
QAM
DemapperX
NCO
↓4
De-
Interleaver
Rx Source
:Real
:Complex
- 8/40 -
Our target system in simulinkOur target system in simulink
- 9/40 -
Channel ImplementationChannel Implementation
Rcvd signal = Trmtd signal x
( large scale fading) x (small scaling fading )
+AWGN
Today mainly talk about large scale fading.
We are going to use Block Rayleigh/Rician fading for small scale
fading.
- 10/40 -
Fading channelFading channel
Tx
- is Rx
Large scale
fading
Small scale
fading
Fading channel = Large signal fading + small signal fading
- 11/40 -
Signal
attenuation due
to propagation
distance
Fading channelFading channel
Multipath fading
< Only small scale >< Large + Small scale >
- 12/40 -
Large scale fadingLarge scale fading
Log-distance path loss model
Aa one of the simplest model, we have use “log-distance path loss model”
Basically, the path loss is proportional to an nth-power of d/d0 in average sense.
Path loss is often represented by dB scale such that
0
0
where d is distance of two points to commni.
and d is the ref. distance (km)
p
d
L
d
∝
0
0
2
0
0 10
0 0
( ) ( ) 10 log( )
4 1
( ) 10log ,
p s
s
c
d
L dB L d n
d
d
L d
f u
π
λ
λ ε
= +
⎛ ⎞
= =⎜ ⎟
⎝ ⎠
0
0
0
d 1, for large cells
d 0.1, for micro cells
d 0.001, for indoor channels
=⎧
⎪
=⎨
⎪ =⎩
Path loss exponent, n
2, in free space
2, urban space, or place w/ many obstructions
n<2, w/ strong guided wave
n
n
−
=⎧
⎪
>⎨
⎪
⎩
- 13/40 -
Large scale fadingLarge scale fading
Log-distance path loss model
However, model just provide average of path loss.
It is necessary to provide for variations about the mean such that
we have log-normal model.
Then, how to make use it in simulation ?
0
0
( ) ( ) 10 log( )p s
d
L dB L d n
d
= +
2
0
0
( ) ( ) 10 log( ) where ~ (0, )p s
d
L dB L d n X X N
d
σ σ σ= + +
2
0
10 10 10
0
2
10
10
0
2
10
0
2
10
0
4
( ) 10log 10log ( ) log 10
4
10log ( ) 10
4
(linear scale) ( ) 10
4
(path loss gain)= ( ) 10
Xn
p
Xn
Xn
p
Xn
d d
L dB
d
d d
d
d d
L
d
d d
K
d
σ
σ
σ
σ
π
λ
π
λ
π
λ
π
λ
−
−
−
⎛ ⎞
= + +⎜ ⎟
⎝ ⎠
⎛ ⎞
= ⎜ ⎟
⎝ ⎠
⎛ ⎞
= ⎜ ⎟
⎝ ⎠
⎛ ⎞
⎜ ⎟
⎝ ⎠
- 14/40 -
Small scale fadingSmall scale fading
Block Rayleigh fading
A well-known and one of the simplest channels.
By CLT, sum of a large number of stochastic components follows zero mean
complex Gaussian with unit variance.
Block fading channel
2 2 1
~ (0,1)
~ , tan ~ ( , )
Let C X jY X and Y N
Y
r X Y Rayleigh uniform
X
θ π π−
= +
= + = −
- 15/40 -
Small scale fadingSmall scale fading
Block Rician fading
If LOS exist, the small scale fading channel is called Rician fading channels.
2 2 1
~ (0,1)
( ) ( )
) ( ) ~ , tan ~ ( , )
2 2
where A is magnitude of LOS
Let X and Y N
Then C X A j Y A
A A Y
r X Y Rician uniform
X
θ π π−
= + + +
= + + + = −
Y
X
var=1
Y
X
var=1
0
( , )
2 2
A A
A
< Rician >< Rayleigh >
- 16/40 -
Channel ImplementationChannel Implementation
Let implement your own channel model using
simulink
Let do it together !!
- 17/40 -
Channel ImplementationChannel Implementation
Block to use MATLAB functions
The first block works like a MATLAB function.
The second function is used like m-script by writing
down combination of functions and parameters.
The 3rd block is user-defined version of the first one
- 18/40 -
Channel ImplementationChannel Implementation
How to bring variables from the workspace
In order to bring data from the workspace,
you should change the data format to “struct” type.
The structure should includes time and signal
field.
In addition, the signal field also should have
field for values and dimension of the signal.
An example
% make channel data in structure type.
hSR=sqrt(1/2)*(randn(NumOfsym,1)+A+j*(randn(NumO
fsym,1)+A) );
hSRout.time=1:length(hSR);
hSRout.signals.values=hSR;
hSRout.signals.dimensions=1;
- 19/40 -
Channel ImplementationChannel Implementation
How to make subsystem
1) Specify your inputs and outputs in the block
- 20/40 -
Channel ImplementationChannel Implementation
How to make subsystems
2) Select all block to compose the subsystem and click “Create
subsystem”.
- 21/40 -
Channel ImplementationChannel Implementation
How to make subsystems
3-1) Click Mask subsystem
3-2) Specify your block and port names
3-3) Set parameters and put some description for your block.
- 22/40 -
Wrapping upWrapping up
Try again to make your own channel block and use it in your
simulation.
Retry to make blocks which are not completed in previous class.
Thank you for attending this class.
This is the end of the Simulink education program.
If you have some question while doing your project using simulink,
please bring food with your trouble.

More Related Content

What's hot

SPU Optimizations - Part 2
SPU Optimizations - Part 2SPU Optimizations - Part 2
SPU Optimizations - Part 2Naughty Dog
 
Fourier transforms
Fourier transformsFourier transforms
Fourier transforms
kalung0313
 
Fft analysis
Fft analysisFft analysis
Fft analysis
AldinoAldo
 
fft using labview
fft using labviewfft using labview
fft using labview
kiranrockz
 
Math cad fourier analysis (jcb-edited)
Math cad   fourier analysis (jcb-edited)Math cad   fourier analysis (jcb-edited)
Math cad fourier analysis (jcb-edited)Julio Banks
 
Fourier transforms
Fourier transformsFourier transforms
Fourier transforms
Iffat Anjum
 
Dft,fft,windowing
Dft,fft,windowingDft,fft,windowing
Dft,fft,windowing
Abhishek Verma
 
Fft analysis
Fft analysisFft analysis
Fft analysis
Satrious
 
A peek on numerical programming in perl and python e christopher dyken 2005
A peek on numerical programming in perl and python  e christopher dyken  2005A peek on numerical programming in perl and python  e christopher dyken  2005
A peek on numerical programming in perl and python e christopher dyken 2005
Jules Krdenas
 
DSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 08 - The Discrete Fourier Transform
Amr E. Mohamed
 
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoidFourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoidXavier Davias
 
Yampa AFRP Introduction
Yampa AFRP IntroductionYampa AFRP Introduction
Yampa AFRP Introduction
ChengHui Weng
 
OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...
OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...
OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...
NECST Lab @ Politecnico di Milano
 
Dft and its applications
Dft and its applicationsDft and its applications
Dft and its applicationsAgam Goel
 
An evaluation of LLVM compiler for SVE with fairly complicated loops
An evaluation of LLVM compiler for SVE with fairly complicated loopsAn evaluation of LLVM compiler for SVE with fairly complicated loops
An evaluation of LLVM compiler for SVE with fairly complicated loops
Linaro
 
Tail call optimization (TCO) - Lecture
Tail call optimization (TCO) - LectureTail call optimization (TCO) - Lecture
Tail call optimization (TCO) - Lecture
Jesse Frankley
 
Presentation on fourier transformation
Presentation on fourier transformationPresentation on fourier transformation
Presentation on fourier transformation
Wasim Shah
 
Data converter modelingの参考資料1
Data converter modelingの参考資料1Data converter modelingの参考資料1
Data converter modelingの参考資料1
Tsuyoshi Horigome
 

What's hot (20)

SPU Optimizations - Part 2
SPU Optimizations - Part 2SPU Optimizations - Part 2
SPU Optimizations - Part 2
 
Fourier transforms
Fourier transformsFourier transforms
Fourier transforms
 
Fft analysis
Fft analysisFft analysis
Fft analysis
 
fft using labview
fft using labviewfft using labview
fft using labview
 
Math cad fourier analysis (jcb-edited)
Math cad   fourier analysis (jcb-edited)Math cad   fourier analysis (jcb-edited)
Math cad fourier analysis (jcb-edited)
 
Fourier transforms
Fourier transformsFourier transforms
Fourier transforms
 
Dft,fft,windowing
Dft,fft,windowingDft,fft,windowing
Dft,fft,windowing
 
Fft analysis
Fft analysisFft analysis
Fft analysis
 
A peek on numerical programming in perl and python e christopher dyken 2005
A peek on numerical programming in perl and python  e christopher dyken  2005A peek on numerical programming in perl and python  e christopher dyken  2005
A peek on numerical programming in perl and python e christopher dyken 2005
 
DSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 08 - The Discrete Fourier Transform
 
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoidFourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
 
Chapter6 sampling
Chapter6 samplingChapter6 sampling
Chapter6 sampling
 
Yampa AFRP Introduction
Yampa AFRP IntroductionYampa AFRP Introduction
Yampa AFRP Introduction
 
OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...
OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...
OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...
 
Dft and its applications
Dft and its applicationsDft and its applications
Dft and its applications
 
An evaluation of LLVM compiler for SVE with fairly complicated loops
An evaluation of LLVM compiler for SVE with fairly complicated loopsAn evaluation of LLVM compiler for SVE with fairly complicated loops
An evaluation of LLVM compiler for SVE with fairly complicated loops
 
Fft
FftFft
Fft
 
Tail call optimization (TCO) - Lecture
Tail call optimization (TCO) - LectureTail call optimization (TCO) - Lecture
Tail call optimization (TCO) - Lecture
 
Presentation on fourier transformation
Presentation on fourier transformationPresentation on fourier transformation
Presentation on fourier transformation
 
Data converter modelingの参考資料1
Data converter modelingの参考資料1Data converter modelingの参考資料1
Data converter modelingの参考資料1
 

Similar to A Simple Communication System Design Lab #4 with MATLAB Simulink

Control system Lab record
Control system Lab record Control system Lab record
Control system Lab record
Yuvraj Singh
 
Digital Signal Processing Lab Manual
Digital Signal Processing Lab Manual Digital Signal Processing Lab Manual
Digital Signal Processing Lab Manual
Amairullah Khan Lodhi
 
fyp....fyp.....fyp.....
fyp....fyp.....fyp.....fyp....fyp.....fyp.....
fyp....fyp.....fyp.....VisualBee.com
 
ECE 565 FInal Project
ECE 565 FInal ProjectECE 565 FInal Project
ECE 565 FInal Project
Lakshmi Yasaswi Kamireddy
 
Report Simulations of Communication Systems
Report Simulations of Communication SystemsReport Simulations of Communication Systems
Report Simulations of Communication Systems
Ferro Demetrio
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
RFC's impact on project using Kolmogorov model and Python
RFC's impact on project using Kolmogorov model and PythonRFC's impact on project using Kolmogorov model and Python
RFC's impact on project using Kolmogorov model and Python
Jean-Luc Caut
 
Dsp file
Dsp fileDsp file
Dsp file
Rakesh Thakur
 
LTE Physical Layer Transmission Mode Selection Over MIMO Scattering Channels
LTE Physical Layer Transmission Mode Selection Over MIMO Scattering ChannelsLTE Physical Layer Transmission Mode Selection Over MIMO Scattering Channels
LTE Physical Layer Transmission Mode Selection Over MIMO Scattering Channels
IllaKolani1
 
Sampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptxSampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptx
HamzaJaved306957
 
dsp.pdf
dsp.pdfdsp.pdf
dsp.pdf
Naol Worku
 
MLMM_16_08_2022.pdf
MLMM_16_08_2022.pdfMLMM_16_08_2022.pdf
MLMM_16_08_2022.pdf
LorenzoCampoli1
 
Digital Signal Processinf (DSP) Course Outline
Digital Signal Processinf (DSP) Course OutlineDigital Signal Processinf (DSP) Course Outline
Digital Signal Processinf (DSP) Course Outline
Mohammad Sohai Khan Niazi
 
Dsp manual completed2
Dsp manual completed2Dsp manual completed2
Dsp manual completed2bilawalali74
 
Copy of colloquium 3 latest
Copy of  colloquium 3 latestCopy of  colloquium 3 latest
Copy of colloquium 3 latest
shaik fairooz
 

Similar to A Simple Communication System Design Lab #4 with MATLAB Simulink (20)

OFDM
OFDMOFDM
OFDM
 
Control system Lab record
Control system Lab record Control system Lab record
Control system Lab record
 
Digital Signal Processing Lab Manual
Digital Signal Processing Lab Manual Digital Signal Processing Lab Manual
Digital Signal Processing Lab Manual
 
fyp....fyp.....fyp.....
fyp....fyp.....fyp.....fyp....fyp.....fyp.....
fyp....fyp.....fyp.....
 
ECE 565 FInal Project
ECE 565 FInal ProjectECE 565 FInal Project
ECE 565 FInal Project
 
Report Simulations of Communication Systems
Report Simulations of Communication SystemsReport Simulations of Communication Systems
Report Simulations of Communication Systems
 
J0166875
J0166875J0166875
J0166875
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
RFC's impact on project using Kolmogorov model and Python
RFC's impact on project using Kolmogorov model and PythonRFC's impact on project using Kolmogorov model and Python
RFC's impact on project using Kolmogorov model and Python
 
Project Management Techniques
Project Management TechniquesProject Management Techniques
Project Management Techniques
 
Dsp file
Dsp fileDsp file
Dsp file
 
Skyline queries
Skyline queriesSkyline queries
Skyline queries
 
LTE Physical Layer Transmission Mode Selection Over MIMO Scattering Channels
LTE Physical Layer Transmission Mode Selection Over MIMO Scattering ChannelsLTE Physical Layer Transmission Mode Selection Over MIMO Scattering Channels
LTE Physical Layer Transmission Mode Selection Over MIMO Scattering Channels
 
Sampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptxSampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptx
 
dsp.pdf
dsp.pdfdsp.pdf
dsp.pdf
 
MLMM_16_08_2022.pdf
MLMM_16_08_2022.pdfMLMM_16_08_2022.pdf
MLMM_16_08_2022.pdf
 
Digital Signal Processinf (DSP) Course Outline
Digital Signal Processinf (DSP) Course OutlineDigital Signal Processinf (DSP) Course Outline
Digital Signal Processinf (DSP) Course Outline
 
Dsp manual completed2
Dsp manual completed2Dsp manual completed2
Dsp manual completed2
 
Dsp lab pdf
Dsp lab pdfDsp lab pdf
Dsp lab pdf
 
Copy of colloquium 3 latest
Copy of  colloquium 3 latestCopy of  colloquium 3 latest
Copy of colloquium 3 latest
 

More from Jaewook. Kang

181123 poseest101 devfest_pangyo_jwkang
181123 poseest101 devfest_pangyo_jwkang181123 poseest101 devfest_pangyo_jwkang
181123 poseest101 devfest_pangyo_jwkang
Jaewook. Kang
 
Cloud tpu jae_180814
Cloud tpu jae_180814Cloud tpu jae_180814
Cloud tpu jae_180814
Jaewook. Kang
 
180624 mobile visionnet_baeksucon_jwkang_pub
180624 mobile visionnet_baeksucon_jwkang_pub180624 mobile visionnet_baeksucon_jwkang_pub
180624 mobile visionnet_baeksucon_jwkang_pub
Jaewook. Kang
 
180525 mobile visionnet_hanlim_extended
180525 mobile visionnet_hanlim_extended180525 mobile visionnet_hanlim_extended
180525 mobile visionnet_hanlim_extended
Jaewook. Kang
 
EveryBody Tensorflow module3 GIST Jan 2018 Korean
EveryBody Tensorflow module3 GIST Jan 2018 KoreanEveryBody Tensorflow module3 GIST Jan 2018 Korean
EveryBody Tensorflow module3 GIST Jan 2018 Korean
Jaewook. Kang
 
EveryBody Tensorflow module2 GIST Jan 2018 Korean
EveryBody Tensorflow module2 GIST Jan 2018 KoreanEveryBody Tensorflow module2 GIST Jan 2018 Korean
EveryBody Tensorflow module2 GIST Jan 2018 Korean
Jaewook. Kang
 
EveryBody Tensorflow module1 GIST Jan 2018 Korean
EveryBody Tensorflow module1 GIST Jan 2018 KoreanEveryBody Tensorflow module1 GIST Jan 2018 Korean
EveryBody Tensorflow module1 GIST Jan 2018 Korean
Jaewook. Kang
 
[Tf2017] day1 jwkang_pub
[Tf2017] day1 jwkang_pub[Tf2017] day1 jwkang_pub
[Tf2017] day1 jwkang_pub
Jaewook. Kang
 
[Tf2017] day4 jwkang_pub
[Tf2017] day4 jwkang_pub[Tf2017] day4 jwkang_pub
[Tf2017] day4 jwkang_pub
Jaewook. Kang
 
[Tf2017] day3 jwkang_pub
[Tf2017] day3 jwkang_pub[Tf2017] day3 jwkang_pub
[Tf2017] day3 jwkang_pub
Jaewook. Kang
 
[Tf2017] day2 jwkang_pub
[Tf2017] day2 jwkang_pub[Tf2017] day2 jwkang_pub
[Tf2017] day2 jwkang_pub
Jaewook. Kang
 
Life is stair-like
Life is stair-likeLife is stair-like
Life is stair-like
Jaewook. Kang
 
MATLAB Programming BASIC @ GIST winter school 2015
MATLAB Programming BASIC @ GIST winter school 2015 MATLAB Programming BASIC @ GIST winter school 2015
MATLAB Programming BASIC @ GIST winter school 2015
Jaewook. Kang
 
Jaewook Kang's Phd final defense @ 20151117
Jaewook Kang's  Phd final defense @ 20151117Jaewook Kang's  Phd final defense @ 20151117
Jaewook Kang's Phd final defense @ 20151117
Jaewook. Kang
 
Introduction to Soundlly 2nd screen services and technology: Seminar in 금오공대 ...
Introduction to Soundlly 2nd screen services and technology: Seminar in 금오공대 ...Introduction to Soundlly 2nd screen services and technology: Seminar in 금오공대 ...
Introduction to Soundlly 2nd screen services and technology: Seminar in 금오공대 ...
Jaewook. Kang
 

More from Jaewook. Kang (15)

181123 poseest101 devfest_pangyo_jwkang
181123 poseest101 devfest_pangyo_jwkang181123 poseest101 devfest_pangyo_jwkang
181123 poseest101 devfest_pangyo_jwkang
 
Cloud tpu jae_180814
Cloud tpu jae_180814Cloud tpu jae_180814
Cloud tpu jae_180814
 
180624 mobile visionnet_baeksucon_jwkang_pub
180624 mobile visionnet_baeksucon_jwkang_pub180624 mobile visionnet_baeksucon_jwkang_pub
180624 mobile visionnet_baeksucon_jwkang_pub
 
180525 mobile visionnet_hanlim_extended
180525 mobile visionnet_hanlim_extended180525 mobile visionnet_hanlim_extended
180525 mobile visionnet_hanlim_extended
 
EveryBody Tensorflow module3 GIST Jan 2018 Korean
EveryBody Tensorflow module3 GIST Jan 2018 KoreanEveryBody Tensorflow module3 GIST Jan 2018 Korean
EveryBody Tensorflow module3 GIST Jan 2018 Korean
 
EveryBody Tensorflow module2 GIST Jan 2018 Korean
EveryBody Tensorflow module2 GIST Jan 2018 KoreanEveryBody Tensorflow module2 GIST Jan 2018 Korean
EveryBody Tensorflow module2 GIST Jan 2018 Korean
 
EveryBody Tensorflow module1 GIST Jan 2018 Korean
EveryBody Tensorflow module1 GIST Jan 2018 KoreanEveryBody Tensorflow module1 GIST Jan 2018 Korean
EveryBody Tensorflow module1 GIST Jan 2018 Korean
 
[Tf2017] day1 jwkang_pub
[Tf2017] day1 jwkang_pub[Tf2017] day1 jwkang_pub
[Tf2017] day1 jwkang_pub
 
[Tf2017] day4 jwkang_pub
[Tf2017] day4 jwkang_pub[Tf2017] day4 jwkang_pub
[Tf2017] day4 jwkang_pub
 
[Tf2017] day3 jwkang_pub
[Tf2017] day3 jwkang_pub[Tf2017] day3 jwkang_pub
[Tf2017] day3 jwkang_pub
 
[Tf2017] day2 jwkang_pub
[Tf2017] day2 jwkang_pub[Tf2017] day2 jwkang_pub
[Tf2017] day2 jwkang_pub
 
Life is stair-like
Life is stair-likeLife is stair-like
Life is stair-like
 
MATLAB Programming BASIC @ GIST winter school 2015
MATLAB Programming BASIC @ GIST winter school 2015 MATLAB Programming BASIC @ GIST winter school 2015
MATLAB Programming BASIC @ GIST winter school 2015
 
Jaewook Kang's Phd final defense @ 20151117
Jaewook Kang's  Phd final defense @ 20151117Jaewook Kang's  Phd final defense @ 20151117
Jaewook Kang's Phd final defense @ 20151117
 
Introduction to Soundlly 2nd screen services and technology: Seminar in 금오공대 ...
Introduction to Soundlly 2nd screen services and technology: Seminar in 금오공대 ...Introduction to Soundlly 2nd screen services and technology: Seminar in 금오공대 ...
Introduction to Soundlly 2nd screen services and technology: Seminar in 금오공대 ...
 

Recently uploaded

Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 

Recently uploaded (20)

Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 

A Simple Communication System Design Lab #4 with MATLAB Simulink

  • 1. - 1/40 - Instructor : Jaewook Kang At CSNL-GIST E-mail: jwkkang@gist.ac.kr 2011, Apr. 8th A Simple Communication System Design Lab with MATLAB Simulink - Lab #4: - Completing our target system - Channel implementation
  • 2. - 2/40 - Next time…Next time… Place: IC203 Weeks Time Hour Instructor 1 week Lab. #0 3.11 (13:00~ 16:00) 3 - Overview of Development with Simulink - QPSK Model with AWGN Channel/ Rayleigh Fading Channel - Development Example: Interference Cancellation for Satellite Communi Junil Ahn 2 weeks Lab. #1 3.18 (13:00~ 14:20) 1.5 - Basic OFDM Junil Ahn 3.18 (14:30~ 16:00) 1.5 - Introduction - How to use Simulink with interleaver implementation Jaewook Kang 3 weeks Lab. #2 3.25 (13:00~ 16:00) 3 - How to use S-function builder - PSF and Matched filter design - Concept of upsampling and downsampling Jaewook Kang 4 weeks Lab. #3 4.1 (13:00~ 16:00) 3 - Phase splitter - Up conversion and down conversion Jaewook Kang 5 weeks Lab. #4 4.8 (13:00~ 16:00) 3 - How to make subsystem - Channel implementation Jaewook Kang
  • 3. - 3/40 - Summary of prev. lectureSummary of prev. lecture Up conversions By multiplying to BB signals, we can obtain PB signals We usually use k=4 IF=pi/2 In case of down conversion, only sign of exponent is opposite. 2 ( ) ( ) ( ) ( ) ( ) 2 2 Re[ ( )] cos( ) sin( ) 2 2 Im [ ( )] sin( ) cos( ) BB j n k PB BB s n x n jy n s n s n e s t x n y n k k ag s n x n y n k k π π π π π − = + = = − = + 2 j t k e π − where 2, integerk ≥
  • 4. - 4/40 - Summary of prev. lectureSummary of prev. lecture Phase splitter Since Tx only transmit real part of signals, we have to recover the full complex signal from real part of the received signal. When using FIR filter to implement Phase splitter, we have to consider the delay of the filter (N-1)/2.
  • 5. - 5/40 - Summary of prev. lectureSummary of prev. lecture Hilbert transform Find imaginary part of Xc(t) from real part only when Xc(t) is complex exponential. 02j f t Ae π Re[] Hilbert TR + 02j f t Ae π Xc Xr Xi_hat Xc_hat X j
  • 6. - 6/40 - Today’s main pointsToday’s main points Complete to make our target system Let’s make a channel using simulink How to use MATLAB function in sumulink How to use variable from workspace
  • 7. - 7/40 - Our target systemOur target system Tx part Rx part Tx Source Interleaver QAM Mapper PSF X NCO ↑4 Phase Splitter Matched filter QAM DemapperX NCO ↓4 De- Interleaver Rx Source :Real :Complex
  • 8. - 8/40 - Our target system in simulinkOur target system in simulink
  • 9. - 9/40 - Channel ImplementationChannel Implementation Rcvd signal = Trmtd signal x ( large scale fading) x (small scaling fading ) +AWGN Today mainly talk about large scale fading. We are going to use Block Rayleigh/Rician fading for small scale fading.
  • 10. - 10/40 - Fading channelFading channel Tx - is Rx Large scale fading Small scale fading Fading channel = Large signal fading + small signal fading
  • 11. - 11/40 - Signal attenuation due to propagation distance Fading channelFading channel Multipath fading < Only small scale >< Large + Small scale >
  • 12. - 12/40 - Large scale fadingLarge scale fading Log-distance path loss model Aa one of the simplest model, we have use “log-distance path loss model” Basically, the path loss is proportional to an nth-power of d/d0 in average sense. Path loss is often represented by dB scale such that 0 0 where d is distance of two points to commni. and d is the ref. distance (km) p d L d ∝ 0 0 2 0 0 10 0 0 ( ) ( ) 10 log( ) 4 1 ( ) 10log , p s s c d L dB L d n d d L d f u π λ λ ε = + ⎛ ⎞ = =⎜ ⎟ ⎝ ⎠ 0 0 0 d 1, for large cells d 0.1, for micro cells d 0.001, for indoor channels =⎧ ⎪ =⎨ ⎪ =⎩ Path loss exponent, n 2, in free space 2, urban space, or place w/ many obstructions n<2, w/ strong guided wave n n − =⎧ ⎪ >⎨ ⎪ ⎩
  • 13. - 13/40 - Large scale fadingLarge scale fading Log-distance path loss model However, model just provide average of path loss. It is necessary to provide for variations about the mean such that we have log-normal model. Then, how to make use it in simulation ? 0 0 ( ) ( ) 10 log( )p s d L dB L d n d = + 2 0 0 ( ) ( ) 10 log( ) where ~ (0, )p s d L dB L d n X X N d σ σ σ= + + 2 0 10 10 10 0 2 10 10 0 2 10 0 2 10 0 4 ( ) 10log 10log ( ) log 10 4 10log ( ) 10 4 (linear scale) ( ) 10 4 (path loss gain)= ( ) 10 Xn p Xn Xn p Xn d d L dB d d d d d d L d d d K d σ σ σ σ π λ π λ π λ π λ − − − ⎛ ⎞ = + +⎜ ⎟ ⎝ ⎠ ⎛ ⎞ = ⎜ ⎟ ⎝ ⎠ ⎛ ⎞ = ⎜ ⎟ ⎝ ⎠ ⎛ ⎞ ⎜ ⎟ ⎝ ⎠
  • 14. - 14/40 - Small scale fadingSmall scale fading Block Rayleigh fading A well-known and one of the simplest channels. By CLT, sum of a large number of stochastic components follows zero mean complex Gaussian with unit variance. Block fading channel 2 2 1 ~ (0,1) ~ , tan ~ ( , ) Let C X jY X and Y N Y r X Y Rayleigh uniform X θ π π− = + = + = −
  • 15. - 15/40 - Small scale fadingSmall scale fading Block Rician fading If LOS exist, the small scale fading channel is called Rician fading channels. 2 2 1 ~ (0,1) ( ) ( ) ) ( ) ~ , tan ~ ( , ) 2 2 where A is magnitude of LOS Let X and Y N Then C X A j Y A A A Y r X Y Rician uniform X θ π π− = + + + = + + + = − Y X var=1 Y X var=1 0 ( , ) 2 2 A A A < Rician >< Rayleigh >
  • 16. - 16/40 - Channel ImplementationChannel Implementation Let implement your own channel model using simulink Let do it together !!
  • 17. - 17/40 - Channel ImplementationChannel Implementation Block to use MATLAB functions The first block works like a MATLAB function. The second function is used like m-script by writing down combination of functions and parameters. The 3rd block is user-defined version of the first one
  • 18. - 18/40 - Channel ImplementationChannel Implementation How to bring variables from the workspace In order to bring data from the workspace, you should change the data format to “struct” type. The structure should includes time and signal field. In addition, the signal field also should have field for values and dimension of the signal. An example % make channel data in structure type. hSR=sqrt(1/2)*(randn(NumOfsym,1)+A+j*(randn(NumO fsym,1)+A) ); hSRout.time=1:length(hSR); hSRout.signals.values=hSR; hSRout.signals.dimensions=1;
  • 19. - 19/40 - Channel ImplementationChannel Implementation How to make subsystem 1) Specify your inputs and outputs in the block
  • 20. - 20/40 - Channel ImplementationChannel Implementation How to make subsystems 2) Select all block to compose the subsystem and click “Create subsystem”.
  • 21. - 21/40 - Channel ImplementationChannel Implementation How to make subsystems 3-1) Click Mask subsystem 3-2) Specify your block and port names 3-3) Set parameters and put some description for your block.
  • 22. - 22/40 - Wrapping upWrapping up Try again to make your own channel block and use it in your simulation. Retry to make blocks which are not completed in previous class. Thank you for attending this class. This is the end of the Simulink education program. If you have some question while doing your project using simulink, please bring food with your trouble.