Documentos de Académico
Documentos de Profesional
Documentos de Cultura
edu , Fall 2011 Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
7) 8) 9) 10) 11)
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Simulation: Similar, like Communication: make it common, share locally Information: from Informing, Giving Shape to Mind System: animal body as an organized whole, sum of the vital processes in an organism
4
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011 Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Communication Systems
Fidelity Complexity Spectral Efficiency Complexity Aspects
1) 2) 3) 4)
Models
First Step to Study a System Art of Modeling To Develop a Behavioral Model Model: An Abstraction of a Real System to Predict and Formulate the System Behavior
Captures the in/out behavior of the system under specific conditions Often Mathematical (Formulas, Relations, Logic) Physical Systems Translate to Mathematical Systems thru Models Accuracy versus Simplicity (Modeling Trade-off)
Analytical Models (Measurement Models) 3) Simulation Models
1) 2)
Architecture Hostile Deployment Environment High Data Rates, High Quality Limited Bandwidth, Power, Size,
Complex Techniques for Modulation, Pulse Shaping, Source and Channel Coding, Interleaving, Equalization, Synchronization, Carrier Recovery,
5
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Simulation Models
Abstraction
Physical Entity
Many Assumptions
Modeling Validation Reexamining the Formulation of the problem Consistent Dimensionality of Math Expressions Varying the Input Checking the Output Retrospective Test Prospective Test
Accuracy
Continuous
Analytical Model
More!
Discrete
Simulation Model
Complexity
8
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011 Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Simulation Models
1. Static versus Dynamic Models State variables do not depend on time 2. Deterministic versus Stochastic Models State variables are fixed or non-random 3. Continuous versus Discrete Models State variables are defined in all times
Intermediate
Block 3
We might be interested in some intermediate parameters (signals/states), not all Means more abstraction
9
10
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Simulation Roles
System behavior and life cycle predictions Parametric studies What-if questions Design: trade-off studies bit-true validation Performance evaluation Measurements, test procedures Rare conditions/cases Graphical view of signals Comparisons Deployment anomaly investigation
11
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011 Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Simulation SW Packages
1. 2. 3. 4. 5.
Simulation Methodology
Simulation Steps: 1) Quantitative
Science of simulation
Model Builder Model Library Model User Interface (may be a GUI) Simulation Kernel: data driven, time driven, event driven Postprocessors
2) Qualitative
Methodology or the art of simulation - Basic Purpose of Com Systems: Process Waveforms and Symbols - Simulation of Com Systems: Generating and processing of the sampled values Fundamental Simulation Steps: 1) 2) 3) 4) Mapping the problem into a simulation model Decomposing the problem into a set of smaller ones Selecting appropriate set of techniques to solve sub-problems Combining the sub-problems solutions to solve the main one
16
Choose/Build the SIM models (1,2) Add the SIM Parameters (3) Choose Design Parameters (3) Simulation Stop/End/Completion (4) Post-Processing (5) : Display (Waveform plot, Spectral Plot, Scatter Plot, Eye Diagram, ), Analysis,
Simulation
Bit-True C
HDL or ASM
15
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011 Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Hierarchical Representation
Vertical, Layers Back annotation: create higher level models from details of lower layer model and replace Co-simulation: using a separate simulation to prepare higher layer model
AM Demodulator
Envelope Detector
Amp
Non linearity
LPF
L1 L2 L3 L4
18
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Simplification
Too much details in the block diagram Omission of blocks with no significant impacts Approximations (linearity, time-invariance, )
Example: Quasi static cases
Conditioning
Fix the condition or state of a portion of the system Simulate the rest Repeat for different states and conditions (parts are simulated separately) Main results derived by averaging f(a,b) = f(a) f(b|a) f(a) SIM1 f(b|a) SIM2 E[g(A,B)] = g(a,b) f(a,b)da db= f(a){g(a,b)f(b|a) db} da
19
20
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011 Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Analysis (+ analysis parameters): Inline: Estimation during Simulation Offline: Estimation after Simulation
24
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011 Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Combining (comments on 4)
Supporting Interconnections requires some methods
Block1 Block2 Block3
Re-sampling, format, type, space, system theory tools We also need validation: 1) Analytically if possible (Theory) 2) Based on some measurements (Experiment) 3) Based on Intuition (Engineering vision)
25
Course Notes, Simulation of Communication Systems, Sharif, EE, Iman Gholampour, imangh@sharif.edu , Fall 2011
Performance Estimation
Performance Measures
Analog: SNR, Digital BER
MATLAB / SIMULINK
Base of our examples and exercises Will learn how to use them efficiently MEX Functions Nested Functions GUI and more
System
28