Matlab component Creating a component to handle optical signals. OptiSystem Application Note

Similar documents
OptiSystem-MATLAB data formats (Version 1.0)

Key Features for OptiSystem 14

Key Features for OptiSystem 12

Tutorials. OptiSys_Design. Optical Communication System Design Software. Version 1.0 for Windows 98/Me/2000 and Windows NT TM

interpolation and smoothing filter options. New graph display OFDM FFT of subcarrier indexes.

Key Features for OptiSystem 14.2

OptiSystem Getting Started

OptiSystem applications: Digital modulation analysis (FSK)

SOP-P051. Scanning of Optical Filters With USB2000. Objective: To determine the spectral transmittance properties of an optical filter.

ENSC327 Communication Systems Fall 2011 Assignment #1 Due Wednesday, Sept. 28, 4:00 pm

OptiSystem applications: LIDAR systems design

OFC SYSTEMS Performance & Simulations. BC Choudhary NITTTR, Sector 26, Chandigarh

Phase Modulator for Higher Order Dispersion Compensation in Optical OFDM System

Performance Analysis Of Hybrid Optical OFDM System With High Order Dispersion Compensation

OptiSystem applications: Digital modulation analysis (PSK)

AirScope Spectrum Analyzer User s Manual

Measurement Method of High Absorbance (Low Transmittance) Samples by UH4150 INTRODUCTION

On the subsequent pages, you will find the full, parameter-for-parameter comparison. If you have any questions, please contact Fiberdyne Labs.

Optical Coherent Receiver Analysis

ArbStudio Triggers. Using Both Input & Output Trigger With ArbStudio APPLICATION BRIEF LAB912

Chapter 3 Metro Network Simulation

EE25266 ASIC/FPGA Chip Design. Designing a FIR Filter, FPGA in the Loop, Ethernet

Application of optical system simulation software in a fiber optic telecommunications program

WHITE PAPER. Programmable narrow-band filtering using the WaveShaper 1000S and WaveShaper 4000S. Abstract. 2. WaveShaper Optical Design

PGT313 Digital Communication Technology. Lab 6. Spectrum Analysis of CDMA Signal

EDFA-WDM Optical Network Analysis

RZ BASED DISPERSION COMPENSATION TECHNIQUE IN DWDM SYSTEM FOR BROADBAND SPECTRUM

CHAPTER 4 RESULTS. 4.1 Introduction

Module 19 : WDM Components

Experiment 1 Introduction to MATLAB and Simulink

Ansoft Designer Tutorial ECE 584 October, 2004

EDFA-WDM Optical Network Design System

Crest Factor Reduction

Analysis of four channel CWDM Transceiver Modules based on Extinction Ratio and with the use of EDFA

DBR LASER INTERCONNECT Simulation

Memorial University of Newfoundland Faculty of Engineering and Applied Science. Lab Manual

Advanced Optical Communications Prof. R.K Shevgaonkar Department of Electrical Engineering Indian Institute of Technology, Bombay

*R. Karthikeyan Research Scholar, Dept. of CSA, SCSVMV University, Kanchipuram, Tamil Nadu, India.

Spectral Response of FWM in EDFA for Long-haul Optical Communication

Integrated Circuits for Wavelength Division De-multiplexing in the Electrical Domain

LA-T LED ANALYSER EVALUATION KIT INSTRUCTION MANUAL. rev

Timbral Distortion in Inverse FFT Synthesis

Performance Limitations of WDM Optical Transmission System Due to Cross-Phase Modulation in Presence of Chromatic Dispersion

Introduction to Simulink

Single Mode Optical Fiber - Dispersion

AC9000 INTELLIGENT FIBRE OPTIC PLATFORM

ABSTRACT: Keywords: WDM, SRS, FWM, Channel spacing, Dispersion, Power level INTRODUCTION:

Design and Matching of a 60-GHz Printed Antenna

ANALYSIS OF FWM POWER AND EFFICIENCY IN DWDM SYSTEMS BASED ON CHROMATIC DISPERSION AND CHANNEL SPACING

OptiSPICE applications: Ring Resonator Gyroscope 22 February 2017 (Version 1.1) Cem Bonfil

H Micro-Imaging. Tuning and Matching. i. Open any 1H data set and type wobb.

Implementation of Green radio communication networks applying radio-over-fibre (ROF) technology for wireless access

Optiva RF-Over-Fiber Design Tool User s Guide. Revision 1.0 March 27, 2015

DISPERSION COMPENSATION IN OFC USING FBG

DBR LASER INTERCONNECT Simulation

Mitigation of Mode Partition Noise in Quantum-dash Fabry-Perot Mode-locked Lasers using Manchester Encoding

AC9000 INTELLIGENT FIBRE OPTIC PLATFORM

Optoelectronic Components Testing with a VNA(Vector Network Analyzer) VNA Roadshow Budapest 17/05/2016

Single-Frequency, 2-cm, Yb-Doped Silica-Fiber Laser

Mahendra Kumar1 Navneet Agrawal2

Odd. Even. Insertion Loss (db)

SIMULATIONS OF LCC RESONANT CIRCUIT POWER ELECTRONICS COLORADO STATE UNIVERSITY. Modified in Spring 2006

Agilent 71400C Lightwave Signal Analyzer Product Overview. Calibrated measurements of high-speed modulation, RIN, and laser linewidth

Optical Transport Tutorial

Chapter 10 WDM concepts and components

Investigate the characteristics of PIN Photodiodes and understand the usage of the Lightwave Analyzer component.

Design of an Optical Submarine Network With Longer Range And Higher Bandwidth

Advanced Test Equipment Rentals ATEC (2832)

K-band Waveguide BPF Design using Agilent EMPro Anurag Bhargava Application Consultant Agilent EEsof EDA

Si Photonics Technology Platform for High Speed Optical Interconnect. Peter De Dobbelaere 9/17/2012

EE477 Digital Signal Processing Laboratory Exercise #13

Agilent 81662A DFB Laser Agilent 81663A DFB Laser Agilent Fabry-Perot Lasers

SCA COMPATIBLE SOFTWARE DEFINED WIDEBAND RECEIVER FOR REAL TIME ENERGY DETECTION AND MODULATION RECOGNITION

Reference Distribution

Emerging Subsea Networks

Faculty of Electrical & Electronics Engineering BEE4233 Antenna and Propagation. LAB 1: Introduction to Antenna Measurement

NOW WITH BROADER TUNING RANGE

Chirped Bragg Grating Dispersion Compensation in Dense Wavelength Division Multiplexing Optical Long-Haul Networks

PERFORMANCE IMPROVEMENT OF INTERSATELLITE OPTICAL WIRELESS COMMUNICATION WITH MULTIPLE TRANSMITTER AND RECEIVERS

Initial ARGUS Measurement Results

Enhanced continuous-wave four-wave mixing using Hybrid Modulation Technique

Implementation of Dense Wavelength Division Multiplexing FBG

ModBox - Spectral Broadening Unit

LC VCO Structure. LV VCO structure

Filling the fiber: Factors involved in absolute fiber capacity Geoff Bennett, Infinera UKNOF September 2007

Photonics and Optical Communication Spring 2005

Simulation of Negative Influences on the CWDM Signal Transmission in the Optical Transmission Media

Experiment 2 Effects of Filtering

OptiSystem. Optical Communication System and Amplifier Design Software

International Journal of Advanced Research in Computer Science and Software Engineering

QAM Transmitter 1 OBJECTIVE 2 PRE-LAB. Investigate the method for measuring the BER accurately and the distortions present in coherent modulators.

LAB EXERCISE 3 FET Amplifier Design and Linear Analysis

Instruction manual for T3DS software. Tool for THz Time-Domain Spectroscopy. Release 4.0

LUCEDA PHOTONICS DELIVERS A SILICON PHOTONICS IC SOLUTION IN TANNER L-EDIT

Optical Phase-Locking and Wavelength Synthesis

PERFORMANCE ANALYSIS OF 4 CHANNEL WDM_EDFA SYSTEM WITH GAIN EQUALISATION

IEEE SENSORS JOURNAL, VOL. 8, NO. 11, NOVEMBER X/$ IEEE

Optical PLL for homodyne detection

How to Capitalize on the Existing Fiber Network s Potential with an Optical Spectrum Analyzer

CodeSScientific. OCSim Modules 2018 version 2.0. Fiber Optic Communication System Simulations Software Modules with Matlab

Transcription:

Matlab component Creating a component to handle optical signals OptiSystem Application Note

Matlab component Creating a component to handle optical signals 1. Optical Attenuator Component In order to create an optical component in Matlab for co-simulation with OptiSystem, first we need to understand the optical signal format that OptiSystem can generate and the structure of that signal launched into the Matlab workspace. Following is an example to create an Optical Attenuator using the Matlab component. In this example, first we introduce the signal format in OptiSystem, and then we show how to use Matlab to process that signal. Optical Sampled Signal Figure 1 demonstrates the system layout for a WDM Transmitter. Using an Optical Time Domain Visualizer and an Optical Spectrum Analyzer, the optical sampled signal can be viewed in both frequency and time domain. Figure 1: System layout and optical signal in frequency domain (spectrum) and time domain.

Using the MATLAB Library, we can add a Matlab component to the layout. By clicking on the component properties, on the Main tab, we can choose the Sampled Signal in the time or frequency domain. The number of input and output ports and also the format of these signals (Optical/Electrical) can be defined in the Inputs and Outputs tab. The User Parameter tab is used to define the input parameters of the component. The system layout and the Matlab component properties are shown in Figure 2. Figure 2: System Layout and MATLAB Component Properties.

Figure 3 shows the structure of the launched signal in the Matlab workspace. The array editor shows the structure of each signal, sampled signal structure, noise structure, Parameterized signals, and Channels, however in this example the InputPort signal only has the Sampled and Channel structure, which is a single channel at 193.41 THz (equivalent to 1550 nm). Figure 3: Signal structure launched into the Matlab workspace. As it was mentioned before, the signal can be launched into the Matlab workspace in time or frequency domain (Matlab component parameter Sampled Signal Domain ). Figure 4 demonstrates the Samples signal in Frequency and time domain respectively. The noise structure follows the same behavior. Figure 4: Sampled signal structure for the signal in frequency and time domain. In the above example the WDM transmitter has only one channel; however we can increase the number of channels and launch them together into the input port of the Matlab component. As an example the WDM transmitter in Figure 5 has 4 channels at 193.41 THz (equivalent to 1550 nm) with 200 GHz spacing.

Figure 5: 4-channel WDM layout. In this case, there will be two possible structures for the input signal launched into the Matlab workspace: (1) If the channels overlap in the spectrum domain, they are merged in one optical signal as shown in the figure below. (a) (b) Figure 6: WDM optical signal in the (a) spectrum domain and (b) time domain. If we look at the Sampled structure of the InputPort1 in the Matlab workspace, there is one array for all four channels.

(a) (b) Figure 7: (a) Structure launched into the workspace and (b) Optical sampled signal structure. (2) If the spectrum of the channels does not overlap, they are not merged in one optical signal, and we will have four different arrays for the Sampled structure of InputPort1. Figure 8 demonstrates the nonmerged optical signal in time and frequency domain and Figure 9 shows the structure of this signal in Matlab workspace.

Figure 8: WDM optical signal in the spectrum and time domain. (a) (b)

(c) Figure 9: (a) Structure launched into the workspace, (b) Optical sampled signal structure and (c) Optical sampled signal structure of one optical signal. 1.1 Matlab program Based on the signal structure, the optical attenuator is implemented using the Matlab component. In this case the matlab component is set to have one input port and one output port for optical signals. The Matlab program (m-file) that simulates the attenuator is named AttenuatorXY and that is the command at Run command parameter field. To be able to run this program the path for this file must be in the Matlab search path; in this example the AttenuatorXY.m is located at c:\temp. In order to see the file structure and the m-file, go to the Matlab component properties, on the main tab, check Load Matlab box and click OK. This will open the Matlab Command Window. In this window, first choose the code directory by cd ( c:\temp ) command. Using the command open AttenuatorXY.m, you can open the m-file in the Matlab Editor. The command workspace opens the Matlab workspace. The only parameter necessary for this component is the attenuation constant, which can be defined by the Parameter0 in the User Parameters tab. More parameters can be added by using Add Parameter button. After defining the Matlab component properties, you can start writing the program (Matlab code) that simulates the optical attenuator. Following is the Matlab code: % % This program simulates an attenuator % Input parameter - Attenuation constant [db] % % Create an output structure similar to the input OutputPort1 = InputPort1; % Attenuation constant Attenuation = Parameter0;

% calculate the optical signal attenuation if(inputport1.typesignal == 'Optical') % verify how many sampled signals are in the structure [ls, cs] = size(inputport1.sampled); if( ls > 0 ) % caculate the attenuation at each signal for counter1=1:cs OutputPort1.Sampled(1, counter1).signal = InputPort1.Sampled(1, counter1).signal * exp(-0.2303 * Attenuation / 2); If the optical signal has more then one-polarization component, then the following structures are placed in the workspace for the frequency and time domain. (a) (b) Figure 10: Sampled signal structures in (a) frequency and (b) time domain for a signal with polarization components at X and Y. Therefore some changes are necessary in the original attenuator program. For this example we included on attenuation constant for each polarization component. In this way the attenuator becomes a polarization depent component. % This program simulates an attenuator % Input parameter - Attenuation constant [db] % % Create an output structure similar to the input OutputPort1 = InputPort1; % Attenuation constants AttenuationX = Parameter0; AttenuationY = Parameter1; % calculate the optical signal attenuation if(inputport1.typesignal == 'Optical')

% verify how many sampled signals are in the structure and % caculate the attenuation at each signal [ls, cs] = size(inputport1.sampled); if( ls > 0 ) for counter1=1:cs % Calculate the signal attenuated in the X polarization OutputPort1.Sampled(1,counter1).Signal(1,:) = InputPort1.Sampled(1,counter1).Signal(1,:) * exp(-0.2303 * AttenuationX / 2); % Calculate the signal attenuated in the Y polarization if it exists if(size(inputport1.sampled(1, counter1).signal,1) > 1) OutputPort1.Sampled(1,counter1).Signal(2,:) = InputPort1.Sampled(1,counter1).Signal(2,:) * exp(-0.2303 * AttenuationY/ 2); Optical Parameterized Signal Parameterized signals are time-averaged descriptions of the sampled signals based on the information about the optical signal: average power, central frequency, and polarization state. To select this option, in the layout parameter window, choose Signals tab, and check the Parameterized option. The spectrum of the WDM transmitter with Parameterized signal is shown in Figure 11. Figure 11: Spectrum of parameterized signals.

The corresponding structures launched into the Matlab workspace are described in the following figures. (a) (b) Figure 12: (a) Structure launched into the workspace, (b) Optical parameterized signal structure. Here we have modified the code to handle the parameterized signal: % % This program simulates an attenuator % Input parameter - Attenuation constant X [db] % Input parameter - Attenuation constant Y [db] % create an output structure similar to the input OutputPort1 = InputPort1; % Attenuation constants AttenuationX = Parameter0; AttenuationY = Parameter1;

if(inputport1.typesignal == 'Optical') [ls, cs] = size(inputport1.sampled); if( ls > 0 ) for counter1=1:cs % Calculate the signal attenuated in the x polarization OutputPort1.Sampled(1, counter1).signal(1,:) = InputPort1.Sampled(1, counter1).signal(1,:) * exp(-0.2303 * AttenuationX / 2); % Calculate the signal attenuated in the Y polarization if it exists if(size(inputport1.sampled(1, counter1).signal,1) > 1) OutputPort1.Sampled(1, counter1).signal(2,:) = InputPort1.Sampled(1, counter1).signal(2,:) * exp(-0.2303 * AttenuationY / 2); % verify how many parameterized signals are in the structure [lp, cp] = size(inputport1.parameterized); if( lp > 0 ) % Calculate the signal attenuated in the x polarization PowerTempX = InputPort1.Parameterized.Power.* (1 - InputPort1.Parameterized.SplittingRatio) * exp(-0.2303 * AttenuationX ); % Calculate the signal attenuated in the y polarization PowerTempY = InputPort1.Parameterized.Power.* InputPort1.Parameterized.SplittingRatio * exp(-0.2303 * AttenuationY ); % Calculate the new total optical power at the signal OutputPort1.Parameterized.Power = PowerTempX + PowerTempY; % Calculate the new Splitting Ratio at the signal OutputPort1.Parameterized.SplittingRatio = PowerTempY./ (PowerTempX + PowerTempY); Noise bins Signal Noise bins represent the noise by average spectral density in two polarizations using coarse spectral resolution. By enabling RIN in the WDM transmitter properties, RIN noise can be generated and added to the WDM signal. Figure 13 shows the noise spectra at the transmitter output.

Figure 13 Noise bins signals. The corresponding structures launched into the workspace are described by the following figures. (a) (b) Figure 14: (a) Structure launched into the workspace, (b) Optical Noise signal structure.

A new code is included in the program to handle the Noise bins signal. % % This program simulates an attenuator % Input parameter - Attenuation constant X[dB] % Input parameter - Attenuation constant Y [db] % create an output structure similar to the input OutputPort1 = InputPort1; % Attenuation constants AttenuationX = Parameter0; AttenuationY = Parameter1; if(inputport1.typesignal == 'Optical') [ls, cs] = size(inputport1.sampled); if( ls > 0 ) for counter1=1:cs % Calculate the signal attenuated in the x polarization OutputPort1.Sampled(1, counter1).signal(1,:) = InputPort1.Sampled(1, counter1).signal(1,:) * exp(-0.2303 * AttenuationX / 2); % Calculate the signal attenuated in the Y polarization if it exists if(size(inputport1.sampled(1, counter1).signal,1) > 1) OutputPort1.Sampled(1, counter1).signal(2,:) = InputPort1.Sampled(1, counter1).signal(2,:) * exp(-0.2303 * AttenuationY / 2); % verify how many parameterized signals are in the structure [lp, cp] = size(inputport1.parameterized); if( lp > 0 ) % Calculate the signal attenuated in the x polarization PowerTempX = InputPort1.Parameterized.Power.* (1 - InputPort1.Parameterized.SplittingRatio) * exp(-0.2303 * AttenuationX ); % Calculate the signal attenuated in the y polarization PowerTempY = InputPort1.Parameterized.Power.* InputPort1.Parameterized.SplittingRatio * exp(-0.2303 * AttenuationY ); % Calculate the new total optical power at the signal OutputPort1.Parameterized.Power = PowerTempX + PowerTempY; % Calculate the new Splitting Ratio at the signal OutputPort1.Parameterized.SplittingRatio = PowerTempY./ (PowerTempX + PowerTempY); % verify how many noise bins are in the structure [ln, cn] = size(inputport1.noise); if( ln > 0 ) % Calculate the signal attenuated in the x polarization

OutputPort1.Noise.Power(1,:) = InputPort1.Noise.Power(1,:) * exp(-0.2303 * AttenuationX ); % Calculate the signal attenuated in the y polarization OutputPort1.Noise.Power(2,:) = InputPort1.Noise.Power(2,:) * exp(-0.2303 * AttenuationY ); This was an example demonstrating all optical signals: Sampled, Parameterized and Noise bins. However, if the user is only working with one kind of signal (e.g.: Sampled signal), then it is not necessary to include the code of the other signals. 2. Running in debug mode There is also the possibility to run the simulation in OptiSystem and work with Matlab on debug mode. The procedure is the same as opening the m-file. First, you open the Matlab component and check Load Matlab, and click OK. This opens the Matlab Command Window. In the command window, first choose the code directory by cd ( c:\temp ) command, then using the command open ElectricalAttenuator.m, you can open the m-file in the Matlab Editor. See figure below.

In the Matlab editor, user can introduce breakpoints at any line in the program. After saving the file, the user has just to run the project at OptiSystem and the simulation will stop in the breakpoint defined before. The simulation can be done step by step on Matlab after this.

This feature is very interesting, since the user can go through the Matlab program step by step and see if the calculation is OK. It also allows seeing all variables while running the simulation in the Matlab workspace.

Optiwave 7 Capella Court Ottawa, Ontario, K2E 7X1, Canada Tel.: 1.613.224.4700 Fax: 1.613.224.4706 E-mail: support@optiwave.com URL: www.optiwave.com Forum: www.optiwave.us