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

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. In this section we switch to a small square source patch and a reduced ray count. This makes the detector output behave like a simple spot diagram: instead of a dense blur, you can clearly see the footprint of different rays and how that footprint changes as you move off-axis.

Two ideas to keep in mind as you work through this section:

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 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.

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.

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.

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 (??).

On-axis, the footprint is small and fairly symmetric. In your rendered image you can already read a few useful things:


Off-axis aberrations: field shift, coma and astigmatism

Next we deliberately move the source off-axis to probe field performance. This is where classic photographic aberrations become obvious: the “centre of the image” is usually sharp, while points towards the edge acquire asymmetric blur.

In the 3D view, drag the light source upward so it no longer illuminates the centre of the first lens, as shown in ??. Keep the beam direction roughly the same; we want an off-axis field point, not a different pointing direction.

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.

👉 Next step: Continue to Part C where we modify curvatures and spacings in the S-plane editor and watch these spot shapes change.