当前位置:网站首页>Virtual lab basic experiment tutorial -8. Fourier transform (1)
Virtual lab basic experiment tutorial -8. Fourier transform (1)
2022-07-29 00:06:00 【Chengyuan】
List of articles
Preface
This is the tenth collective work of Dachuang team , It is a new chapter for another branch of physical optics – Various phenomena of Fourier optics that can reflect this spectral characteristic have been explored and tried .
( There are still some problems in the holographic part of the current test , Welcome to try to discuss )
One 、 What is Fourier transform
1、 Formula transformation
Time domain Fourier transform
Its Fourier transform is F ( j ω ) = ∫ f ( t ) e − j ω t d t F(j\omega)=\int f(t)e^{-j\omega t}dt F(jω)=∫f(t)e−jωtdt
The inverse Fourier transform is : f ( t ) = ∫ F ( j ω ) e j ω t d w f(t)=\int F(j\omega)e^{j\omega t}dw f(t)=∫F(jω)ejωtdw
From the inverse Fourier transform : Time domain signals can have different amplitudes , Linear superposition of sinusoidal functions with different frequency components .
Spatial Fourier transform
F ( f x , f y ) = ∫ ∫ f ( x , y ) e − 2 π j ( f x + f y ) d x d y F(f_x,f_y)=\int\int f(x,y)e^{-2\pi j(f_x+f_y)}dxdy F(fx,fy)=∫∫f(x,y)e−2πj(fx+fy)dxdy
Space frequency
f x = c o s α λ f y = c o s β λ f_x=\frac{cos\alpha}{\lambda} \ \ f_y=\frac{cos\beta}{\lambda} fx=λcosα fy=λcosβ
When the incident wavelength is fixed , Spatial frequency is a quantity related to angle , That is, the spatial frequency is related to the incident direction of light , Different directions represent different frequency components . And Fourier transform , Will be f ( x , y ) f(x,y) f(x,y) To the frequency domain , Observe its spatial frequency components . Through the spectrum diagram , We can observe each frequency component of the original function and its corresponding amplitude .
Inverse Fourier transform : f ( x , y ) = ∫ ∫ F ( x , y ) e 2 π j ( f x + f y ) d f x d f y f(x,y)=\int\int F(x,y)e^{2\pi j(f_x+f_y)}df_xdf_y f(x,y)=∫∫F(x,y)e2πj(fx+fy)dfxdfy
It can be seen from the inverse Fourier transform , Object function f(x,y) It can be seen as different amplitudes , Linear superposition of plane waves with different directions .
2、 Angular spectrum function ( spectrum )
The spatial spectrum is called angular spectrum .
F ( f x , f y ) = ∫ ∫ f ( x , y ) e − 2 π j ( f x + f y ) d x d y F(f_x,f_y)=\int\int f(x,y)e^{-2\pi j(f_x+f_y)}dxdy F(fx,fy)=∫∫f(x,y)e−2πj(fx+fy)dxdy
3、 Fourier transform properties of lens

Examine the light field distribution on the rear focal plane .
g ( x , y ) = 1 i λ f e i k 2 f ( 1 − d 1 f ) ( x 2 + y 2 ) F ( f x , f y ) g(x,y)=\frac{1}{i\lambda f}e^{i\frac{k}{2f}(1-\frac{d_1}{f})(x^2+y^2)}F(f_x,f_y) g(x,y)=iλf1ei2fk(1−fd1)(x2+y2)F(fx,fy)
here f x = x f λ , f y = y f λ f_x=\frac{x}{f\lambda},f_y=\frac{y}{f\lambda} fx=fλx,fy=fλy
The Fourier spectrum of the object function is obtained on the back focal plane of the lens . But the phase factor in front of the Fourier transform , This leads to the bending of the light field on the back focal plane .
Discuss several special situations :
The object is located in the front focal plane of the lens ( d 1 = f d_1=f d1=f)
g ( x , y ) = 1 i λ f F ( f x , f y ) g(x,y)=\frac{1}{i\lambda f}F(f_x,f_y) g(x,y)=iλf1F(fx,fy)
The object is close to the front surface of the lens ( d 1 = 0 d_1=0 d1=0)
g ( x , y ) = 1 i λ f e i k 2 f ( x 2 + y 2 ) F ( f x , f y ) g(x,y)=\frac{1}{i\lambda f}e^{i\frac{k}{2f}(x^2+y^2)}F(f_x,f_y) g(x,y)=iλf1ei2fk(x2+y2)F(fx,fy)
The object is placed behind the lens
g ( x , y ) = f A λ d 2 e i k 2 d ( x 2 + y 2 ) g(x,y)=\frac{fA}{\lambda d^2}e^{i\frac{k}{2d}(x^2+y^2)} g(x,y)=λd2fAei2dk(x2+y2)
4、 Holography

To record the phase , Optical holography uses the principle of interference , Record the amplitude and phase information in the form of interference fringes , Then the diffraction effect is used to reproduce the three-dimensional image containing all the information of the object .
1. Record
{ O ( r , t ) = A o ( r ) e i ( ψ O − ω t ) R ( r , t ) = A R ( r ) e i ( ψ R − ω t ) \begin{cases} O(r,t)=A_o(r)e^{i(\psi_O-\omega t)}\\ R(r,t)=A_R(r)e^{i(\psi_R-\omega t)} \end{cases} { O(r,t)=Ao(r)ei(ψO−ωt)R(r,t)=AR(r)ei(ψR−ωt)
Then the reference light and the object light interfere with each other , Its light intensity is
I ( r , t ) = | O | 2 + | R | 2 + 2 | O || R | c o s ( ψ O − ψ R ) I(r,t)=|O|^2+|R|^2+2|O||R|cos(\psi_O-\psi_R) I(r,t)=|O|2+|R|2+2|O||R|cos(ψO−ψR)
The third term represents the interference effect between two waves , The fringe shape is determined by the phase difference , therefore , Density of interference fringes , Orientation and strength , Contrast reflects the phase distribution .
2. repeat
Let the amplitude transmittance of the holographic negative be proportional to the light intensity
τ ( x , y ) = τ 0 + β I ( x , y ) \tau(x,y)=\tau_0+\beta I(x,y) τ(x,y)=τ0+βI(x,y)
When the original reference light is used for illumination reproduction , Its transmitted light field
A r e c ( r , t ) = R ( r , t ) τ ( r ) = R [ τ 0 + β ( ∣ O ∣ 2 + ∣ R ∣ 2 ) ] + β R R ∗ O + β R 2 O ∗ A_rec(r,t)=R(r,t)\tau(r)=R[\tau_0+\beta(|O|^2+|R|^2)]+\beta RR^*O+\beta R^2O^* Arec(r,t)=R(r,t)τ(r)=R[τ0+β(∣O∣2+∣R∣2)]+βRR∗O+βR2O∗
The first term in the formula is the same transmitted light field as the reproduced light wave , The second item is the virtual image +1 level , The third term is conjugate image -1 level .
Two 、VirtualLab Simulation
1. Fourier basis
We study Fourier transform .
First , Set up the light path diagram as shown in the figure , The plane wave reaches the lens through an aperture , The lens focal length is set to 100mm, Put the aperture in front of the lens 100mm It's about , The detector is placed behind the aperture and the lens 100mm That is, observe the distribution of light at the rear focal plane .

Raw Data Detector Digital detectors can directly detect the amplitude and phase of light ( choose camera detector Can also be ),Angular Spectrum Visualizer The angular spectrum detector performs Fourier transform on light .
The final light path can also be built without identity operator, Set the detector to the rear focus of the lens .
Use Classic Field Tracing After operation , You can get such a simulation image .

The previous figure shows the complex amplitude distribution after passing through the aperture , The latter figure shows the complex amplitude distribution on the back focal plane after Fourier transform through the lens .
Click on the left image , Click on Manipulations The Fourier transform button under the menu , Perform manual Fourier transform , The following experimental results can be obtained .

You can see , The effect is consistent .
The following figure shows the simulation results of the angular spectrum detector , The angular spectrum detector itself is the function of Fourier transform , You can see , The effect is also consistent with the image after passing through the lens .
Next , We will just light the path of Identity Operator Delete the device , Connect the digital detector directly , Run .
You can see , Because the object function at the focal point behind the lens is equivalent to a Fourier transform , The complex amplitude obtained by the detector is still consistent with the Fourier change .
2. Holographic recording
The distance of the whole optical path is designed as follows .
First , Create a new empty file , Add a Gaussian wave to it .
Double click to set the wavelength of Gaussian wave 532nm And the girdle radius is 200um X 200um.
After the wave source is set , add to Ideal Components Ideal beam splitter in , And set its position .
Double click to set its position as Z=25mm.
Then add the ideal lens , The setting positions are 10mm and 45mm. The beam expanding system is composed of two lenses .
The focal length of the first lens is set to 5mm.
The focal length of the second lens is set to 50mm.
Add an ideal flat mirror , The position is 50mm.
The angle is set to around y Shaft rotation -30°.
Place sine grating , The position is set to 10mm.
Set its cycle to 45um.
Set the two aperture, The positions are 31.603mm and 90mm. Use these two apertures to simulate holographic dry plate .
The aperture above is set to 5mm×2mm.
The aperture below is set to 6mm×2mm.
Put two more Camera Dectector.
Connect the optical path after all components are placed , Note the beam splitter and fixed mirror The light path between is a red line , And mirror Between the blue line ( The reflected light in the software is represented by a red line , The transmitted light is represented by a blue line )
We can go through 3D View to observe the construction of components , stay optical setup Click on the 3D identification .
You can see the three-dimensional position view of components .
adopt Ray tracing system analyzer You can see the light path diagram .

and classical field tracing Then you can see the pattern .
3. Holographic reconstruction
First, according to the Gaussian light in holographic recording and the same setting as the two lenses .
Then drag stored function
Double click to enter, and then click set Import the data recorded on the holographic dry plate in the holographic recording process ( Convert the results detected by the detector , stay manipulations Into the form of transmittance function ).
After that, add Aperture, And double click to set its shape and size , And modify Relative Edge Width Parameter is 20%
Its position is set to x The shaft -1.22mm.
( Same as in holographic recording , Because the level selector is a programmable element , Here we also omit it , Of course, this may cause some problems )
Then place identity operator, And set its x The axial position is 1.22m, And around y Shaft rotation -30 degree .
Then place the detector , Just change the interpolation method to Accelerated Sinc, Other parameters can be defaulted .
final -1 The light path of level is built as shown in the figure , Be careful Aperture and identity operator stay x The positions in the axial direction are always opposite to each other .
about 0 Level and +1 Level light path construction only requires Aperture and identity operator stay x Change the position in the axis direction .

( To be continued )
summary
This article is written by members of Da Chuang team : Tang Yiheng 、 Help Yang Yu 、 Huang Yinuo 、 Li Sitong 、 Ming Yue jointly completed .
This is the first exploration of Fourier transform . We do encounter various problems , I hope you can discuss and see how to solve it after you are interested in trying .
边栏推荐
- EN 12101-8:2011 smoke dampers for smoke and heat control systems - CE certification
- What do you need to bring with you for the NPDP exam? Stationery carrying instructions
- 【C】逆序字符串(俩种递归思路)
- Websocket heartbeat mechanism (keep alive mechanism)
- Compatibility description between kingbasees and Oracle (5. Pl/sql)
- Wildcard ssl/tls certificate
- 多传感器融合定位(三)——惯性技术
- 实时数仓:美团点评Flink的实时数仓应用分享
- RHCE first day
- SAP temporary tablespace error handling
猜你喜欢

JS advanced ES6 ~ es13 new features

Leetcode63. 不同路径 II

[TA frost wolf _may- "hundred people plan"] art 2.2 model basis

Is the declarative code of compose so concise?

Worthington -- Specification of Worthington trypsin inhibitor

熊市下PLATO如何通过Elephant Swap,获得溢价收益?

DoIP测试开发实践

【C】atoi和offsetof的介绍和模拟实现

GhostNets on Heterogeneous Devices via Cheap Operations

Interpretation of ISO 13400 (doip) standard
随机推荐
Those "experiences and traps" in the data center
Leetcode63. 不同路径 II
Arm-a53 data "recommended collection"
[detailed and super simple] how to use websocket links
Worthington -- Specification of Worthington trypsin inhibitor
Multisensor fusion positioning (III) -- inertial technology
Powercl batch creates and manages virtual switches
Pycharm new project
1-8 props的基础使用
Yolov5 learning notes (I) -- principle overview
Leetcode61. rotating linked list
PowerCLi 批量添加esxi到vCenter
【MySQL 8】Generated Invisible Primary Keys(GIPK)
Websocket heartbeat mechanism (keep alive mechanism)
1-7 solve the problem of this pointing of methods in classes
【C】 Reverse string (two recursive ideas)
跳表的原理
请简述list,set,map类型的集合的各自特点(简述三种不同的继承方式下)
迅为IMX6开发板QT系统创建AP热点基于RTL8723-交叉编译iptables
E-commerce data model design