




























































































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!





























































































ENGINEERING
OPTICS WITH
MATLAB*
l i i M
Virginia Tech, USA
Sejong University, South Korea
N E W JERSEY • L O N D O N • S I N G A P O R E • B E I J I N G • S H A N G H A I • HONG KONG • TAIPEI • C H E N N A I
Published by
World Scientific Publishing Co. Pte. Ltd. 5 Toh Tuck Link, Singapore 596224 USA office: 27 Warren Street, Suite 401-402, Hackensack, NJ 07601 UK office: 57 Shelton Street, Covent Garden, London WC2H 9HE
British Library Cataloguing-in-Publication Data A catalogue record for this book is available from the British Library.
ENGINEERING OPTICS WITH MATLAB® Copyright © 2006 by World Scientific Publishing Co. Pte. Ltd. All rights reserved. This book, or parts thereof, may not be reproduced in any form or by any means, electronic or mechanical, including photocopying, recording or any information storage and retrieval system now known or to be invented, without written permission from the Publisher.
For photocopying of material in this volume, please pay a copying fee through the Copyright Clearance Center, Inc., 222 Rosewood Drive, Danvers, MA 01923, USA. In this case permission to photocopy is not required from the publisher.
ISBN 981-256-872- ISBN 981-256-873-5 (pbk)
Printed in Singapore by World Scientific Printers (S) Pte Ltd
vi Engineering Optics with MATLAB
basics of beam propagation in inhomogeneous media, acousto-optics and electro-optics. Ting-Chung Poon (TCP) would like to thank his wife Eliza and his children Christina and Justine for their encouragement, patience and love. In addition, TCP would like to thank Justine Poon for typing parts of the manuscript, Bill Davis for help with the proper use of the word processing software, Ahmad Safaai-Jazi and Partha Banerjee for help with better understanding of the physics of fiber optics and nonlinear optics, respectively, and last, but not least, Monish Chatterjee for reading the manuscript and providing comments and suggestions for improvements. Taegeun Kim would like to thank his wife Sang Min Lee and his parents Pyung Kwang Kim and Ae Sook Park for their encouragement, endless support and love.
Preface v
vii
Contents ix
Index 241
When we consider optics, the first thing that comes to our minds is probably light. Light has a dual nature: light is particles (called photons) and light is waves. When a particle moves, it processes momentum, p. And when a wave propagates, it oscillates with a wavelength, A. Indeed, the momentum and the wavelength is given by the de Broglie relation
where h « 6.62 x 10~^34 Joule-second is Planck's constant. Hence from the relation, we can state that every particle is a wave as well. Each particle or photon is specified precisely by the frequency v and has an energy E given by E = hv. If the particle is traveling in free space or in vacuum, v = c/A, where c is a constant approximately given by 3 x 10^8 m/s. The speed of light in a transparent linear, homogeneous and isotropic material, which we term v, is again a constant but less than c. This constant is a physical characteristic or signature of the material. The ratio civ is called the refractive index, n, of the material. In geometrical optics, we treat light as particles and the trajectory of these particles follows along paths that we call rays. We can describe an optical system consisting of elements such as mirrors and lenses by tracing the rays through the system. Geometrical optics is a special case of wave or physical optics, which will be mainly our focus through the rest of this Chapter. Indeed, by taking the limit in which the wavelength of light approaches zero in wave optics, we recover geometrical optics. In this limit, diffraction and the wave nature of light is absent.
l
Geometrical Optics 3
the path. We substitute Eq. (1.1-4) into Eq. (1.1-2) to get
6 f nds = c6 [ dt = 0. (1.1-5) Jc Jc
Fig. 1.1 A ray of light traversing a path C between end points A and B.
As mentioned before, the extremum is usually a minimum, we can, therefore, restate Fermat's principle as a principle of least time. In a homogeneous medium, i.e., in a medium with a constant refractive index, the ray path is a straight line as the shortest OPL between the two end points is along a straight line which assumes the shortest time for the ray to travel.
1.2 Reflection and Refraction
When a ray of light is incident on the interface separating two different optical media characterized by m and n-i, as shown in Fig. 1.2, it is well known that part of the light is reflected back into the first medium, while the rest of the light is refracted as it enters the second medium. The directions taken by these rays are described by the laws of reflection and refraction, which can be derived from Fermat's principle. In what follows, we demonstrate the use of the principle of least time to derive the law of refraction. Consider a reflecting surface as shown in Fig. 1.3. Light from point A is reflected from the reflecting surface to point B, forming the angle of incidence fa and the angle of reflection fa, measured from the normal to the surface. The time required for the ray of light to travel the path AO + OB is given by t = (AO + OB)/t>, where v is the velocity of light in the medium
(^4) Engineering Optics with MATLAB
interface
Medium 2 n
Fig. 1.2 Reflected and refracted rays for light incident at the interface of two media.
Fig. 1.3 Incident (AO) and reflected (OB) rays.
6 Engineering Optics with MATLAB
originating in medium 1 is totally reflected back into medium 1. This phenomenon is called total internal reflection. The optical fiber uses this principle of total reflection to guide light, and the mirage on a hot summer day is a phenomenon due to the same principle.
1.3 Ray Propagation in an Inhomogeneous Medium: Ray Equation
In the last Section, we have discussed refraction between two media with different refractive indices, possessing a discrete inhomogeniety in the simplest case. For a general inhomogeneous medium, i.e., n(x, y, z), it is instructive to have an equation that can describe the trajectory of a ray. Such an equation is known as the ray equation. The ray equation is analogous to the equations of motion for particles and for rigid bodies in classical mechanics. The equations of motion can be derived from Newtonian mechanics based on Netwon's laws. Alternatively, the equations of motion can be derived directly from Hamilton's principle of least action. Indeed Fermat's principle in optics and Hamilton's principle of least action in classical mechanics are analogous. In what follows, we describe Hamilton's principle so as to formulate the so called Lagrange's equations in mechanics. We then re-formulate Lagrange's equations for optics to derive the ray equation. Hamilton's principle states that the trajectory of a particle between times tiand t<i is such that the variation of the line integral for fixed iiand £2 is zero, i.e.,
6 [^2 L(qk,qk,t)dt = 0, (1.3-1) Jti
where L = T — V is known as the Lagrangian function with T being the kinetic energy and V the potential energy of the particle. The qks are called generalized coordinates with k = 1, 2,3, ...n. A\so,qk = dqk/dt. Generalized coordinates are any collection of independent coordinates qu (not connected by any equations of constraint) that are sufficient to specify uniquely the motion. The number n of generalized coordinates is the number of degrees of freedom. For example, a simple pendulum has one degree of freedom, i.e., qk = q 1 = 4>, where (/> is the angle the pendulum makes with the vertical. Now if the simple pendulum is complicated such that the string holding the bob is elastic. There will be two generalized coordinates, qk — q\ =
Geometrical Optics 7
the length of the string. As another example, let us consider a particle constrained to move along the surface of a sphere with radius R. The coordinates (x,y,z) do not constitute an independent set as they are connected by the equation of constraint x^2 + y^2 + z^2 = R^2_._ The particle has only two degrees of freedom and two independent coordinates are needed to specify its position on the sphere uniquely. These coordinates could be taken as latitude and longitude or we could choose angles 9 and </> from spherical coordinates as our generalized coordinates. Now, if the force field .Pis conservative, i.e.,V x F = 0,the total energy E = T + V is a constant during the motion, and Hamilton's principle leads to the following equations of motion of the particle called Lagrange's equations:
As a simple example illustrating the use of Lagrange's equations, let us
consider a particle with mass m having kinetic energy _T= \m\r_
under potential energy V(x, y, z), where
r(x, y, x) = x(t)ax + y(t)ay + z(t)az
is the position vector with ax,ay, and az being the unit vector along the x, y, and z direction, respectively. According to Newton's second law,
F = mr, (1.3-3)
where r is the second derivative of rwith respect to t. As usual the force is given by the negative gradient of the potential, i.e., F = — W. Hence, we have the vector equation of motion for the particle
mr = - VV (1.3-4)
according to Newtonian mechanics. Now from the Lagrange's equations, we identify
Geometrical Optics 9
D (i.e., x - z) version of the configuration. Defining x' — dx/dz and y' = dy/dz, we can write Eq. (1.3-8) as
- X
s<f
Fig. 1.4 The path of a ray in a continuous Inhomogeneous medium.
Substituting Eq. (1.3-9) into Eq. (1.3-7), we have
6 f n[x, y, z) y/l + {x'f + (y')^2 dz = 0. (1.3- Jc
By comparing this equation with Eq. (1.3-1), we can define the so-called optical Lagrangian as
L(x,y,x',i/,z) = n(x,y,z) y/l + {x'f + (y')^2. (1.3-11)
We can see that Hamilton's principle is based on minimizing functions of time, whereas Fermat's principle minimizes a function of length, z, as we have assumed z to play the same role as t in Lagrangian mechanics, where we have chosen the z-direction as the direction along which the rays are propagating. Now that we have established the optical Lagrangian, we can immediately write down the following Lagrange's equations in optics by referring to Eq. (1.3-2):
d ,9L dL d dL dL dz dx dx dz dy dy
10 Engineering Optics with MATLAB
From these two equations, we derive the so-called ray equation, which tracks the position of the ray (or photon); just like in Lagrangian mechanics, from Lagrange's equations, we derive the equations of motion for a particle. Using Eqs. (1.3-9) and (1.3-11), Eq. (1.3-12) becomes, after some manipulations,
The objective is of course, for a given n, we find x(s) and y(s) by solving the above equations.lt is important to point out that the two equations above are sufficient to determine the ray trajectory. This indicates that the z-component of the ray equation is really redundant. Indeed the corresponding equation for z, given below, can be derived from the equations for x and y.
d. dz****. dn „ „ , „N
Now the desired ray equation in vectorial form is obtained by combining Eqs. (1.3-13) and (1.3-14):
where once again r(s) is a position vector which represents the position of any point on the ray.
Example 1.1 Homogeneous Medium
For n(x, y, z) = constant, Eq. (1.3-15) becomes
d^2 r
0
<
16)
which has solutions r = as + b (1.3-17)
where o and b are some constant vectors determined from the initial conditions, and Eq. (1.3-17) is clearly a straight line equation for the ray path in a homogeneous medium. The situation is shown in Fig. 1.5.