Home › Forums › SYSTEM › How to modulate RF signal generated by MATLAB onto the optical carrier with MZM › Reply To: How to modulate RF signal generated by MATLAB onto the optical carrier with MZM
Hello,
Thanks for reaching out to us.
Looking at your code, I can see that you are generating 8 sine signals with different frequencies and then you are processing those signals to convert the binary to decimal. And you want to apply this processed signal to modulate the MZM.
In order to do that, you need to use a matlab component in between your input signal (bit source) and the MZM and you need to define the input signal inside your matlab code from the OptiSystem. You can look at the OSA example in order to understand how to define the output port signal (the processed signal in your case) in relation to the input bit signal. You will have to change your matlab code accordingly in order to make OptiSystem interface properly with MATLAB. The example can be found at: C:\Users\USERNAME\Documents\OptiSystem 22.0 Samples\Software interworking\MATLAB co-simulation\OSA example
Feel free to look at the other examples for matlab co-simulation (BER analyzer example) at: C:\Users\USERNAME\Documents\OptiSystem 22.0 Samples\Software interworking\MATLAB co-simulation, in order to understand how to write the code for the matlab component.
Also, to understand how to deal with the Optical, Electrical and binary data formats for the signals, have a look at the document at the location: C:\Users\USERNAME\Documents\OptiSystem 22.0 Samples\Software interworking\MATLAB co-simulation\OptiSystem MATLAB data model
I hope this helps?
Warm Regards,
Saurabh Bedi
Categories
- All
-
Knowledge
Contains a detailed Q&A knowledge base. -
General
All non-technical questions. -
System
Optical system design and analysis. -
Instrument
Communicate and control different kinds of instruments. -
SPICE
Opto-electronic circuit design. -
FDTD
Finite-Difference Time-Domain simulation. -
BPM
Beam Propagation Method analysis and design. -
Grating
Fiber optic grating simulation. -
Fiber
Optical fiber design and characterization. -
Exchange
Users can exchange design files.
(Matlab, C++, etc.)