ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

39
1 ECE 477 Simulation Project For any inquires, contact me @ [email protected]

description

ECE 477 Simulation Project For any inquires, contact me @ [email protected]. Regulations. Don’t forget to send me your group list Due time is Friday, March 31 st , 2006. Each Group is required to hand in a hard copy report. - PowerPoint PPT Presentation

Transcript of ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

Page 1: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

1

ECE 477 Simulation Project

For any inquires, contact me @

[email protected]

Page 2: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

2

Regulations Don’t forget to send me your group list Due time is Friday, March 31st, 2006. Each Group is required to hand in a

hard copy report. I will be in my office starting 1 pm on

the due date, you must hand in your report in person. You have till 4:30 pm. Reports handed after that will be marked late.

Page 3: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

3

Software Installation

Use the attached CD to the textbook to install a copy of “Photonic Transmission Design Suite”

This is a fairly old copy. It might cause some problems for PCs with windows XP. Other problems might occur depending on your installed JAVA platform.

Page 4: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

4

Software Installation (Contd.)

If you run into such problem with your installation try the following procedure:

Page 5: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

5

Software Installation (Contd.)

1) a) Install PTDS software without changing your Java.b) Open the PTDS folder.c) Open the jre folder.d) Open the bin folder.e) Look for a file symcijt.dllf) Change it to _symcjit.dllg) Run your software. It is largely possible to work now

Page 6: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

6

Software Installation (Contd.)

2)a) Uninstall your Java platform. b) Install Java 1.4x or preferably 1.3xc) Install PTDSd) Try to run it now. Sometimes this works

Page 7: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

7

Software Installation (Contd.)

3) a) Repeat a to c above in method 2

b) From the installed java folder you had, look for a folder called jre.c) copy the jre folder to the PTDS folder.d) Run your software. It might run this way.

Page 8: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

8

Software Installation (Contd.)

4) a) Install Java 1.4 or 1.3 with Java 5.b) Make Java 1.4 or 1.3 your default.c) follow steps b to d in method 3. It might work here.

Page 9: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

9

Software Installation (Contd.)

5) a) Uninstall SP2!!!

Page 10: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

10

Caution

However, you should know that JAVA controls the other programs too, especially MATLAB and IE Explorer. These programs may beSERIOUSLY affected when getting to the old JAVA

Page 11: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

11

Basics of the Photonics Simulator you will use

Page 12: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

12

Sample Analysis

Page 13: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

13

Page 14: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

14

PRBS GeneratorPurposeThe module generates a pseudo random or other types of binary sequences.

Outputsoutput = binary sequence (signal type: Int)

DescriptionA pseudo random binary sequence (PRBS) is usually required when modeling the information source in simulations of digital communication systems. The binary sequence can be generated with the use of a random number generator, or, alternatively, can be directly specified by the user or read from a specified file. The PRBS module produces a sequence of N bits (TimeWindow/BitRate) with the numbers m and n of zero bits (spaces) preceding and succeeding the generated bit sequence of length N-m-n. The numbers m and n can be set by the user via parameters PreSpaces and PostSpaces, respectively. The sequence of generated bits may be saved to or read from a file.

Page 15: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

15

Page 16: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

16

NRZ Coder

PurposeThe module generates a sampled, NRZ (Non Return to Zero) coded signal defined by a train of bits at its input. The input bit sequence is typically produced by the PRBS Generator module. Although this module appears trivial, it is required to convert between a digital signal and an electrical signal, so that electrical filtering may be implemented.

Inputsinput = bit sequence to encode (signal type: Int)

Outputsoutput = electrical NRZ coded signal (signal type: Electrical Blocks, Electrical Samples)

CommentsThe number of samples per bit is given by the ratio of SampleRate/BitRate and has to be a power of two. The sample rate sets the bandwidth of the electrical signal to be (sample rate)/2.

Page 17: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

17

Page 18: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

18

Rise Time Adjustment

PurposeThe module is a Gaussian filter that transforms, for example, rectangular electrical input pulses into smoother output pulses with a user-defined rise time.

Inputsinput = electrical pre-shaped (e.g. NRZ/RZ) pulses (signal type: Electrical Blocks)

Outputsoutput = electrical pulses with a user-defined rise-time (signal type: Electrical Blocks)

Page 19: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

19

Page 20: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

20

Laser CW

PurposeThe module produces a continuous wave (CW) optical signal.

Outputsoutput = continuous wave optical signal (signal type: Optical Blocks, Optical Samples)

FunctionsSampleRate-EmissionFrequency-AveragePower-Linewidth-Azimuth-Ellipticity-InitialPhase

Page 21: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

21

Laser Rate Equations

PurposeDynamic properties of laser emitters, such as relaxation oscillation, turn-on jitter, laser chirp, etc. can significantly affect the performance of optical communication systems, if a direct laser modulation is used. A “system laser model” described in the module Laser CW takes into account the spectral and noise properties of the laser transmitters, but ignores their dynamic behavior. Although the Laser CW model issuitable for a description of externally modulated CW-lasers, it fails to simulate the directly modulated lasers.

Page 22: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

22

Externally modulated laser transmitter

PurposeThe module simulates an externally modulated laser. This module is a galaxy and consists of a cw laser, a PRBS generator, an NRZ coder, a rise time adjustment and a Mach-Zehnder modulator.

Outputsoutput = optical modulated signal (signal type: Optical Blocks)

Page 23: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

23

Page 24: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

24

Non Linear Dispersive FiberPurposeThe module solves the nonlinear Schrödinger (NLS) equation describing the propagation of linearly polarized optical waves in fibers using the split-step Fourier method.The model takes into account stimulated Raman scattering (SRS), four-wave mixing (FWM), self-phase modulation (SPM), cross phase modulation (XPM), first order group-velocity dispersion (GVD), second order GVD and attenuation of the fiber.For parameterized signals (CW representation) an ordinary differential equation system taking into account stimulated Raman scattering (SRS) and frequency depended attenuation is applied.

Inputsinput = optical signal(signal type: Optical Blocks)

Outputsoutput = optical signal(signal type: Optical Blocks)

Page 25: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

25

Ideal Amplifier

PurposeThis module simulates a system-oriented amplifier with a wavelength independent gain and noise figure behavior. By parameter selection the module may act in a gain-controlled, output-power-controlled, or saturating (uncontrolled) mode. The model is not only restricted to high gain amplifiers but is also valid for low gain and even damping amplifiers.

Inputsinput = optical signal(signal type: Optical Blocks, Optical Samples)

Outputsoutput = optical signal(signal type: Optical Blocks, Optical Samples, corresponding to theinput)

Page 26: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

26

Attenuator

PurposeThe module attenuates the optical signal.

Inputsinput = optical signal (signal type: Optical Blocks, Optical Samples)

Outputsoutput = optical signal (signal type: Optical Blocks, Optical Samples)

Page 27: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

27

Coupler

PurposeThe module models an optical coupler for combining or splitting of optical signals. Itcan also be used as a physical signal splitter for signal check.

Inputsinput1 = optical signal (signal type: Optical Blocks, Optical Samples)input2 = optical signal (signal type: Optical Blocks, Optical Samples)

Outputsoutput1 = optical signal (signal type: Optical Blocks, Optical Samples)output2 = optical signal (signal type: Optical Blocks, Optical Samples)

Page 28: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

28

Isolator

PurposeThe module acts an ideal isolator.

InputsinForward = optical signal (signal type: Optical Blocks)inBackward = optical signal (signal type: Optical Blocks)

OutputsoutForward = optical signal (signal type: Optical Blocks)

Page 29: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

29

Circulator

PurposeThis module simulates a non-ideal clockwise circulator.

Terminalsin1 = optical input forward at port 1 (signal type: Optical Blocks)in2 = optical input forward at port 2 (signal type: Optical Blocks)in3 = optical input forward at port 3 (signal type: Optical Blocks)

Outputsout1 = optical input forward at port 1 (signal type: Optical Blocks)out2 = optical input forward at port 2 (signal type: Optical Blocks)out3 = optical input forward at port 3 (signal type: Optical Blocks)

Page 30: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

30

Photodiode PIN

PurposeThe module acts as a PIN photodiode with additive Gaussian white noise sources.

Inputsinput = optical signal (signal type: Optical Blocks, Optical Samples)

Outputsoutput = electrical signal (signal type: Electrical Blocks, Electrical Samples)

Page 31: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

31

Clock Recovery IdealPurposeThe module determines the time delay between the incoming signal and the originalsignal, which is automatically regenerated from the specified logical information attachedto the incoming signal without the need of a reference input. Thus, this moduleacts as an ideal clock recovery.

Inputsinput = electrical signal (signal type: Electrical Blocks)

Outputsoutput = electrical signal, which is a delayed copy of the input (signal type: Electrical Blocks)

DescriptionThe module synchronizes the incoming electrical signal with the original transmitted signal. The original signal is regenerated from the specified logical information channel attached to the physical signal. From logical information, like the digital bit stream, pulse shape, coding type, modulation type, and bit rate, a copy of the initially sent signal is built. The time delay is calculated from the cross correlation of the incoming electrical signal and the internally regenerated original signal. The incoming signal is then shifted in time, so that the electrical output signal is a time delayed copy of the incoming signal.

Page 32: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

32

Optical Spectral Analyzer

PurposeThis module is an Optical Spectrum Analyzer (OSA).

Inputsinput (multiple) = optical signal (signal type: Optical Blocks)

Page 33: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

33

Time Domain Visualizer

PurposeThis module displays electrical and optical signal waveforms (in the time domain).

Inputinput (multiple)= input signal(signal type: Optical Blocks, Optical Samples, Electrical Blocks, Electrical Samples)

Page 34: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

34

Eye Diagram (Part of Time domain Visualizer)An eye pattern is obtained by superimposing the actual waveforms for large numbers of transmitted or received symbols

Page 35: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

35

Eye Diagram (Part of Time domain Visualizer)

The signal must not intrude into the shaded areas

Page 36: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

36

Eye Diagram (Part of Time domain Visualizer)

Page 37: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

37

Power meter

PurposeThe module is a power meter and may be used for power calculations.

Inputinput = optical signal (signal type: Optical Blocks)

Outputoutput = optical power (signal type: Float)

Page 38: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

38

Bit Error Rate Estimation

PurposeThe module evaluates the system performance by estimating the bit error rate(BER) using a Gaussian approximation. The influence of intersymbol interferences(ISI) can also be taken into account.The module uses the bit sequence from input port bits to determine the marks andspaces in the received signal.

Inputsinput = Input of electrical signal. (signal type: Electrical Blocks)bits = Bit sequence originally sent. (signal type: int)

Outputsber = Average BER over sampled time slot. (signal type: float)q = Q-value over sampled time slot. (signal type: float)

Page 39: ECE 477 Simulation Project For any inquires, contact me @ mrnezhad@uwaterloo

39

So what is your task?

You have to solve the assigned simulation problems

Remember: Those simulations are 10% of your final mark.