MATLAB Matlab Simulink Tutorial: Design Optic System with IR Light Source

  • Thread starter Thread starter runo
  • Start date Start date
  • Tags Tags
    Matlab Simulink
AI Thread Summary
The discussion revolves around modeling an optical system that includes an IR light source, FTIR spectrometer, and lock-in amplifier. Participants seek guidance on tutorials for designing this system. Additionally, there are inquiries about plotting frequency response in Simulink, specifically using the spectrum scope. Key points include the need for a zero-order hold for analog signals, ensuring the buffer size in the spectrum scope exceeds the FFT length, and both values being powers of two. Further questions arise regarding designing a PID controller for ambient position control, performing cosine and sine wave signal sweeps, and drawing root locus for a system. Lastly, there is a request for assistance in locating the LED block in Simulink, particularly in version 2010b.
runo
Messages
11
Reaction score
0
Hello,

I'm trying to model a optic sytem, includes a IR light source, FTIR spectrometer, and lock-in amplifier. I wonder if anyone has knowledge about any tutorials for designing such a system.

Thanks
 
Physics news on Phys.org
hello,
can anyone help me how to plot freq response in simulink
 
to plot frequency response you have to use spectrum scope from simulink library .
but you should take care of some things:
first if you are using analog signal you can't see it directly on spectrum scope as you should use azero order hold before it with agood sampling time.
also you should make the buffer size in spectrum scope bigger than the fft lenght
also both of them is power of 2 as 4, 8,16,64,128 ...etc.
i hope this help you







;
 
hello there
i am actually designiing a pid controller for amb position control
can u tell me how to plot disturbance freq sweep
 
thanx for the reply oufa
can you also tell me
1. how can i perform cos and sine wave signal sweep at a specified amplitude
2. how to draw root locus for a system?
 
Hi
Could u try these fiels my help u
Plz can u help me to find the LED block in simulink, I tried in Matlab simulink 2010b, and I could not find it

Buha


View attachment SirnulinkTMbl ocks for simulation of light sources.pdf

View attachment A SIMULINK MODEL FOR SIMULATION OF OPTICAL.pdf

View attachment Building an Optical Transmitter and Receiver.pdf
runo said:
Hello,

I'm trying to model a optic sytem, includes a IR light source, FTIR spectrometer, and lock-in amplifier. I wonder if anyone has knowledge about any tutorials for designing such a system.

Thanks
 
Back
Top