Archive for the ‘Ray Tracing’ Category

Ray Tracing of Thick Lenses

Sunday, April 1st, 2007

The purpose of this article is to build on what was discussed inRay Tracing of Thin Lenses. If you have not read that article it would be wise to do so. This article assumes a basic understanding of mathematical concepts and an understanding of some optics.

Tracing a thick lens is different because the ray of light is going to be refracted at more than just one meridian. A Thick Lens is defined as a lens in which the separation between the two surfaces is too great to be ignored. For example the lens power measured from the front of the lens will be different than if it were measured from the back, due to the thickness.


A couple of points to note, all rays that are traced will be paraxial, close to the axis. Usually opticians tend to give a positive radius to the front curve and a negative radius to the back curve, because the powers are positive and negative respectively. We need to understand that a positive radius is defined as the center of curvature being to the right of the lens and a negative radius is when the center of curvature is to the left.


Since we are dealing with thick lenses we need to know where to measure the focal length, object distance, and image distance. We will not measure these items from the center of the lens or from the lens vertices’s, but rather from the principal planes (). Principal planes are where refraction is assumed to occur

Now we need to find the equivalent power of the lens. The equivalent power is assigning one power to a two lens system. For example, if you read a thick lens in the focimeter on the front and then read the back there would be two different powers. The equivalent power is the position of the principal planes with respect to the first and second focal points. Once we find the equivalent power we can then find the principal planes.

We will explain in more detail later, just understand that

is measured from the front vertex and
is measured from the back vertex. Also understand that
and
are measured from
and
respectively.

Formulas to trace a thick lens

Radius of Curvature

is the radius of curvature in Meters

is the refractive index of the the refracting side of the surface

is the refractive index of the incident side of the surface

D is the power of the surface in Diopters

Front Vertex Power

is the front vertex power

is the power of the front of the lens

is the power of the back of the lens

is the thickness in Meters

is the refractive

Back Vertex Power

is the back vertex power

is the power of the front of the lens

is the power of the back of the lens

is the thickness measured in Meters

is the refractive index

Primary Focal Point ()

is the primary focal point measured in Meters

is the front vertex power

Secondary Focal Point ()

is the secondary focal point measured in Meters

is the back vertex power

Equivalent Power

is the equivalent power

power of the front of the lens

power of the back of the lens

is the thickness measured in Meters

is the refractive index

Equivalent Focal Point()

is equivalent focal point measured in Meters

is the equivalent power

Image Distance

Linear Magnification

Image Height

Now we are armed with the information we need to trace a thick lens.

Example: A plastic( n = 1.50) lens with a thickness of 20mm is surrounded by air. It has a front power of +20.00D and a back power of -3.00D. If and object is placed 100mm in front of the lens where does the image form, how much magnification is present, and is the image inverted or erect. Find the principal planes, equivalent power, linear magnification, image distance, and image height.

Step

1: Find the radius of curvature for both surfaces.

    * Note the refracting ray is in air and the incident ray is in the material

Step 2: Find the back and front vertex powers.

Step 3: Find the equivalent power.

Step 4: Find the primary, secondary, and equivalent focal points.

Now
we are ready to draw the lens, optical axis, principal planes,
,
and
.
First you need to draw the optical axis, grab a compass and draw
(25mm).

Second from the apex of the 1st surface
measure and draw a point that is equal to the thickness of your
lens(20mm) and with your compass draw
(167mm)
from that point.

Now that we have the lens drawn we need to mark our
primary focal point, secondary focal point, and our principal planes
on our optical axis.

We are now ready to finish drawing our optical axis,
but we need to know how long to draw it. We know that our object is
located -100mm from the front vertex, however we will measure it from
p1.

Take the difference between f1 to front vertex and p1 to
f1. Then subtract that number from your object distance.

-58 – (-56) = -2

-100 – (-2) = -98

-98 is the distance from p1 to your object or your
object distance. Now we will use our equivalent power to find the
image distance

So the image is located131mm from p2. Now let us find
linear magnification.

So now we will trace three rays to show that our image
ends up 131mm from p1, it will be inverted, and it will be magnified.
We know this because of the result of our linear magnification
formula.

Optical Formulas Tutorial, 2nd Ed., Stoner, Perkins, Ferfuson

Ray Tracing of Thin Lenses

Thursday, February 1st, 2007

The purpose of this article is to help those to understand how lenses work through the understanding of ray tracing. For the purpose of this discussion we are only going to deal with thin lenses. Thin Lenses are defined as when the central thickness of a lens is small enough, the converging and diverging properties of the lens in air are independent of the shape or form of the lens as well as the direction in which the light is traveling through the lens.1

This article assumes that the reader has a basic understanding of how to convert meters to millimeters and rearrange a formula to find different values. Before we begin to trace we are going to draw what looks like a graph (fig.1). The horizontal line represents your Optical Axis and the vertical line represents your Lens. To the left of the vertical line you have negative values, to the right you have positive values, above the horizontal line you have positive values, below you have negative values.


Fig. 1

For the purpose of ray tracing light travels from left to right, so an object in front of the lens will be to the left of the vertical line. When an object distance, image distance, or focal length is given it will be measured horizontally from the lens to the object, image, or focal point. When the image height or the object height is given it will be measured vertically from the optical axis to the image height or the object height.

Rules
to Remember

  • Real objects are located to the left of the lens, so they have a negative value.
  • Real images are formed to the right of the lens, so they have a positive value.
  • Virtual objects are located to the right of the lens, so they have a positive value.
  • Virtual images are formed to the left of the lens, so they have a negative value.
  • Images formed below the optical axis have a negative value and are referred to as inverted.
  • Images formed above the optical axis have a positive value and are referred to as erect.
  • If the linear magnification is greater than 1(negating the sign) then the image is magnified.
  • If the linear magnification is less than 1(negating the sign) then the image is minified.

What we are putting on the graph

  • Optical Axis This is the horizontal line that is perpendicular to the lens. No refraction takes place as it enters or exits the lens.
  • Lens This is the vertical line that represents the lens. A plus lens is drawn with arrows facing away from each other(base to base) and a minus lens is drawn with arrows facing each other(apex to apex). One arrow is put on the top of the line and the other arrow is put on the bottom of the line.


  • Optical Center This is the point at which the optical axis intercepts with the lens.


  • Primary Focal Point () This is the point on the optical axis that results in rays leaving the lens parallel to the optical axis. This point is measured from the lens to
  • Secondary Focal Point () This is the point on the optical axis where rays converge or diverge. This point is measured from the lens to


  • Object Distance () This is the point on the optical axis where the object is located. It is measured from the lens to the object distance.
  • Object Height ()This is measured vertically from the object distance to the height of the object.
  • Image Distance ()This is the point on the optical axis where the image is located. It is measured from the lens to the image distance. Note if the image distance is negative it is considered virtual, if it is positive it is considered real.
  • Image Height () This is measured vertically from the image distance to the height of the image. Please note if the image height is negative it is inverted and if it is positive it is erect.


Formulas to trace a lens

Primary Focal Point ()

Secondary Focal Point ()

Focal Length ()

Image Distance ()

Linear Magnification ()

Image Height ()

Rules for Plus Lenses

1. If your object distance is greater than (neglecting signs) then your horizontal line(optical axis), from lens to object distance, will be as long as your object distance.

2. If your image distance is greater than then then your horizontal line(optical axis), from lens to image distance, will be as long as your image distance.

Example: A +20.00D lens has 10mm tall object placed 100mm in front of the lens. Draw the image formation. Is the image real or virtual, is the image erect or inverted?

Step 1: Find f1 and f2

Note f1 is negative so f1 will be located to the left of the lens. F2 is positive so it will be located to the right of the lens.

Step 2: Find q

Note that we used a negative object distance for p, because p is to the left (in front) of the lens. Your image distance is positive so the image forms to the right (behind) of the lens.

Step 3: Find

Step 4: Find

Now that we know image distance, primary focal point, secondary focal point, linear magnification, and image height, we can draw our horizontal line (Optical Axis). Refer to rule number one. For example your object distance is -100mm is -50mm, draw a line that is -100mm long. Mark your starting point (Lens) and your ending point (p).

Not to Scale

Using the starting point that you marked above, do the same thing for your image distance. Refer to rule number two. For example your image distance is 100mm and is 50mm, draw a line that is 100mm long. Since you have already marked your starting point (Lens) mark your ending point (q)

Not to Scale

What we need to do next is draw our lens and our object. From where you marked p, draw a vertical line that is 10mm long(Our object height). Where you marked your lens draw a vertical line that is taller than your object height and goes equally as long below the axis.

Not to Scale

Mark on your horizontal line and .

Not to Scale

We are going to trace three rays through the lens to find out how the image was formed.

Ray 1: Draw a line from the top of the object to the lens. This line will be parallel to the optical axis. Now draw a line from where the ray intercepts the lens to , making sure it goes past q.

Not to Scale

Ray 2: Draw a line from the top of the object through to the lens. Now draw a line, that is parallel to the optical axis, from where the ray intercepts the lens past q.

Not to Scale

Ray 3: Draw a line from the top of the object through the optical center past q.

Not to Scale

Notice that where all three of the rays meet is where the image is located and formed. If you were doing this to scale the image distance would equal 100mm. Linear magnification is equal to one so the image is neither magnified nor minified. Image height is negative so your image is inverted. The image is to the right of the lens so it is real.

Tracing a Minus Lens

Rules for Minus Lenses

1. If your object distance is greater than (neglecting signs) then your horizontal line(optical axis), from lens to object distance, will be as long as your object distance.

2. If your image distance is greater than then then your horizontal line(optical axis), from lens to image distance, will be as long as your image distance.

Example: A 15mm tall object is placed 100mm in front of a -15.00D lens. What is the image distance and image height? Is the image real or virtual? Is the image erect or virtual?

Step 1: Find and

Step 2: Find

Now that we know image distance, primary focal point, secondary focal point, we can draw our Optical Axis. Draw your optical axis, marking , , , , and your lens. Also draw your object height and your lens.

Not to Scale

Note that image distance is negative so it is also located to the left of the lens, therefore your line to the right of the lens need only be as long as .

Ray 1: Draw a line from the top of your object that remains parallel to the optical axis and intercepts with the lens. From the point where Ray 1 intercepts with the lens find where you marked and draw a dashed line from those two points and a solid line after passing the lens to the right.

Not to Scale

Ray 2: Draw a line from the top of your object to , making the line solid from the top of the object to the lens and dashed from the lens to .

Not to Scale

From where the line intercepts the lens, draw a dashed line that is parallel to the optical axis.

Not to Scale

Ray 3: Draw a solid line from the top of your object through your optical center and past .

Not to Scale

Notice where all of the lines come together is where the image is formed. The image is virtual because it is formed to the left of the lens. The image is erect because it is formed above the axis. The image is also smaller than the object so it is minified.

I hope this article helped you gain a better understanding of ray tracing thin lenses. Grab some graph paper and do some of your own, it will help you gain a better understanding of lenses and how they work.

1Keating:
Geometric, Physical, and Visual Optics, 2nd ed.,
Butterworth-Heinemann