Home Examples Screenshots User manual Bluesky logo
OghmaNano Simulate organic/Perovskite Solar Cells, OFETs, and OLEDs DOWNLOAD

Cooke Triplet Lens Tutorial (Part B): Analysing Optical Performance

Historical diagram of the original Cooke Triplet lens design by H. D. Taylor.
A historical illustration of the original Cooke Triplet lens by H. D. Taylor (1893). This three-element design introduced a new standard for aberration correction and remains highly influential. (Source: Moritz von Rohr, Der Stand der Camera obscura-Optik zur Zeit der Erfindung der Photographie, 1899.)

Introduction: Exploring aberrations with a narrow beam

In Part A we traced a broad beam through the Cooke Triplet and confirmed that the system forms an image on the detector, we also studied how the optical system attenuates certain wavelengths of light more than others. In this section we use a small beam with a reduced ray count to probe the imaging behaviour of the system. By restricting the spatial extent of the source, individual ray bundles remain distinct at the detector, allowing you to see how different regions of the pupil and different wavelengths map into spatial distortions in the image. As the source is moved off-axis, the evolving footprint directly exposes the underlying aberrations of the optical system. Two ideas to keep in mind as you work through this section:

Getting started

In the Device structure view, right-click on the green light source and choose Edit object, as shown in ??. This opens the Light source editor where we can control (i) the physical size of the emitting patch and (ii) how many rays are launched across that patch.

Right-click menu on the light source, showing the Edit object option.
Right-click on the light source and select Edit object to open the Light source editor.

In the Object tab (??), set dx = 0.25 cm and dy = 0.25 cm. You can leave dz unchanged (the source is a 2D sheet in this setup). Now switch to the Configure tab (??) and set Number of beams x = 20 and Number of beams y = 20. This gives a sparse but informative sampling: enough rays to show the shape of the spot, without turning it into a solid blob.

Light source editor showing XYZ size parameters.
In the Object tab, reduce dx and dy to create a compact source patch.
Light source editor configure tab showing the number of beams.
In the Configure tab, reduce the beam counts to make the ray pattern readable.

Close the editor and rotate the 3D view so you can see the source, the three lenses, and the detector in one line. Position the light source so the narrow beam enters the centre of the first (red) element, as shown in ??.

Narrow on-axis beam passing through the Cooke Triplet.
A narrow, on-axis beam passing through the Cooke Triplet. Only a small central region of the pupil is illuminated.
On-axis spot diagram at the detector plane.
On-axis spot diagram at the detector. A compact footprint with modest colour separation.

Click Run simulation, then open the Output tab, navigate to detector0, and open RAY_image.csv to view the on-axis spot diagram (??).

When the source is placed directly in front of the lens (on-axis), the light arrives at the detector as a small, roughly circular cluster. Even in this simple case, the image already tells you several important things about how the lens is focusing light.


Off-axis aberrations: Field shift, coma and astigmatism

We now move the light source slightly away from the centre of the lens. This tests how the lens forms images away from the middle of the picture. Optical aberrations are imperfections in how a lens bends light, and they become more noticeable as you move toward the edges of an image. Instead of forming a neat, round spot, the light often spreads out unevenly, producing an asymmetric blur that has a clear direction or shape.

In the 3D view, drag the light source upward so that it no longer shines through the centre of the first lens, as shown in ??. Keep the beam pointing in the same direction. This creates an off-axis field point, meaning we are imaging a point that lies away from the centre of the scene, rather than tilting the camera or changing where it points.

Off-axis beam entering the Cooke Triplet from the top of the pupil.
The narrow source shifted upward at the entrance pupil, representing an off-axis field point.
Off-axis spot diagram showing asymmetric blur and colour separation.
Off-axis spot diagram at the detector. The footprint shifts and becomes asymmetric, with increased colour fringing.

Run the simulation again and reopen RAY_image.csv in detector0 (??).

Compared with the on-axis result, three changes should jump out immediately:

You can also see that the colour separation is larger off-axis. This is lateral chromatic aberration: different wavelengths land at slightly different lateral positions in the image plane, which shows up as coloured streaking within the spot. In a well-corrected photographic lens this is controlled (not eliminated), and it typically becomes more noticeable towards the edge of the field.

The key takeaway is that the Cooke Triplet is behaving like a real historical photographic design: good central performance, and then a progressive increase in coma/astigmatism/colour errors as you move off-axis. This is exactly what makes it a useful teaching example: you can see the “textbook” aberrations appear with only a simple source shift.

What you can now do (Part B) - diagnose aberrations

Core idea: a narrow beam turns “image quality” into a geometric fingerprint — the spot shape is a direct map of how different ray bundles miss the ideal image point.

Rule of thumb — what changes first as you go off-axis?
  • Position changes first (field shift): the image point moves across the detector.
  • Symmetry breaks next (coma): one-sided blur develops.
  • Orthogonal focus separates (astigmatism/field curvature): spot stretches more in one direction.
  • Colours diverge (lateral colour): different wavelengths land at different lateral positions.

👉 Next step: Continue to Part C, where we introduce aperture stops and explore how limiting the pupil changes ray paths, spot size, and overall image quality.