Coating designer
The Coating designer is JEKray's designer for thin-film coatings, once called JEKfilm. It designs one coating at a time: a stack of layers on a substrate, what it is for, what it reflects across the band and against the angle, and the thicknesses that do it best. It uses the thin-film model JEKray traces with, so a coating designed here behaves the same on a JEKray bench. Each coating is a **.coat** file; one saved as a **.jekfilm** before the rename still opens.
Open it at jeksys.net/jek/tools/jekfilm.html, from JEKsuite (New › Coating, or Coating designer under JEKray in its left-hand list), or from JEKray: Tools › Coating designer…, or a face’s Design a coating…. It opens in a tab of its own, reused each time.
File › Open an example… opens one of six coatings to start from: a V-coat for 1064 nm, a broadband AR over 420–680 nm, a 1064 nm HR mirror, a long-pass edge at 600 nm, a 45° plate beam splitter and protected silver. A link to jekfilm.html?demo=hr-1064 (or any of vcoat-1064, bbar-visible, longpass-600, splitter-45, protected-silver) opens one directly.
The Coating designer has three tabs: Design (the coating, its curves and its layers), Tolerance (how it fares as made, its yield against the limits, and the field in the stack) and Make it (what a maker needs to coat the part). The design table stays on the left in all three.
The design
The Design table on the left says what the stack is for and the light it is judged in:
- Target: anti-reflection (nothing reflected), a high reflector (everything reflected), a beam splitter (with the reflectance wanted), or a dichroic edge (with the wavelength it turns at and which side passes).
- Reference λ₀: the design wavelength, where quarter waves are counted. Band from and Band to: the wavelengths the stack is judged over. Angles: either Up to a largest angle of incidence (from square on), or A band of angles, from one to another (a beam splitter at 40° to 50°, say). Polarisation: s, p or their mean.
- Incident medium n: the index in front (1 for air, about 1.33 for water).
- Substrate: N-BK7, fused silica, B270, the flints, CaF2, MgF2, sapphire, and ZnSe, silicon and germanium for the infrared, each with its dispersion (its index at λ₀ is shown), or an index of your own. The Coating designer says when the substrate is not transparent at λ₀.
Reflectance, transmittance and absorption
The switch above the plots shows Reflectance R, Transmittance T (what one coated surface passes into the substrate) or Absorbed A, what is left, 1 − R − T. The choice is kept in this browser. The dielectric layers are taken as lossless, so only a metal layer absorbs. In each view the plots and the tables under them show that quantity; the target is drawn for R, and for T as what it leaves.
The reflectance against wavelength (at the smallest angle judged, at the largest, and the target dashed), and against the angle of incidence at λ₀, s and p. Move the pointer over a plot to read its values.
Under the plots, the figures: the mean and largest reflectance over the band at the smallest angle judged, and at the largest when they differ; the reflectance at λ₀; the bare substrate’s; and the merit, the mean square of the reflectance against its target over the band and the angles.
Layers
The table lists the stack from the incident medium down to the substrate: each layer’s material (MgF2, SiO2, Al2O3, a mid index, ZrO2, Ta2O5, TiO2, an index of your own, or a metal: silver, aluminium or gold), its index, its physical thickness in nanometres and its optical thickness in quarter waves at λ₀, with the total thickness underneath. λ/4 makes a layer a quarter wave and ✕ removes it; All quarter waves does every layer; Add layer adds one; Preset… puts in a single MgF2 layer, a two-layer V-coat, a three-layer broadband AR, a three-layer 50:50 splitter or a six-pair high reflector, each for λ₀, or a metal mirror: protected silver or aluminium (a half-wave SiO2 overcoat), enhanced aluminium (a quarter-wave pair on it) or bare gold.
Metal layers absorb. Each takes its complex index n − ik at every wavelength from measured data: silver and gold from Johnson and Christy (Phys. Rev. B 6, 4370, 1972, to 1.94 µm), aluminium from Rakić (Appl. Opt. 34, 4755, 1995, to 20 µm), through the refractiveindex.info database. The table shows a metal’s n − ik at λ₀ in place of its index, and no quarter waves; the optimiser works its thickness in nanometres. A thick film reflects as the bulk metal does, and what a stack neither reflects nor passes is absorbed, on a JEKray face too.
Optimise thicknesses searches the thicknesses from where they stand (Nelder–Mead, with restarts), keeping each layer’s material. Choose the materials and a starting stack, then let the thicknesses settle. Undo (Ctrl+Z) takes it back.
Add layers (needle) grows the stack where it helps. At each round a 2 nm layer of each material is tried at every place in the stack (between layers, and inside each layer, splitting it), the one that lowers the merit most is put in, the thicknesses are settled, and any layer thinner than 1 nm is taken out (its neighbours joined if they are the same material). It stops when no layer helps, or at ten layers more than it started with. Its materials are those already in the stack, or SiO2 and Ta2O5 if it has fewer than two.
Choose materials tries each layer as each material of the list, keeping its optical thickness so a quarter wave stays one, and keeps the change that helps most, layer by layer, for up to three passes; then the thicknesses are settled. Both leave a metal layer as it is, and both are one step of Undo.
Tolerance
How the coating fares as made. Give each layer’s thickness error σ, as a share of the layer or in nanometres, and the number of runs, then Run: each run puts a normal error of that σ on every layer, the same runs each time (a fixed seed). The table gives the merit and the band’s mean and largest reflectance as designed (nominal), in the middle run (median) and in the run nine in ten do better than (90th percentile); the plot draws the reflectance as designed, the median, and the 5th and 95th percentiles at each wavelength. The settings are kept with the coating. Tolerancing needs a free account.
Yield, under it, counts the same runs against the limits set in Make it: the share that meet every limit, and for each limit what it requires, what the design gives, the value nine runs in ten do as well as or better than, and the share of runs that meet it. It is judged over the band and all the angles, as Make it judges them, so its figures can differ from the tolerance table’s, which are at the smallest angle only. Change a limit in Make it and the yield is worked out again from the same runs. The coating specification gives the yield with the tolerance run.
| Field in the stack (under the tolerance run, shut until you press Show) draws | E | ², the electric field’s strength squared, against depth from the outer surface into the substrate, 1 being the incident wave’s, with the interfaces dashed. It is worked out at λ₀ and the smallest angle judged unless you give another wavelength, angle or polarisation; these are kept in this browser, not in the coating. The table beside it gives the field at the outer surface, the highest peak and the layer it is in, the highest at an interface, and what reaches the substrate. Laser damage tends to start where the field peaks, at an interface or in a material with a low damage threshold, so this shows which layers to move. |
Make it
What a coater needs, kept with the coating. It covers the coating and the substrate it is on; the part itself (its size, its other surfaces, its surface quality) belongs on the part’s own drawing.
- Coating and substrate: the coating, its number of layers, the substrate and its index at λ₀ (from the design), and the incident medium.
- Performance: the limits the coating is accepted against, each with the value the design gives over the band, the angles and the polarisation judged, and whether the design meets it. R is one coated surface’s reflectance; T is what it passes into the substrate, absorption counted, so a metal layer shows in T and not in R. An anti-reflection coating gets R mean, R max and T mean; a high reflector R min and R mean; a beam splitter R min and R max either side of its reflectance (± a tolerance you set) and T min; a dichroic edge R min on its reflected side, and R max and T min on its passed side, the edge’s own ± 2% left out. Until you set a limit it is the design’s value with a margin; Limits from the design again puts them all back.
- Durability and checks: the durability standard (MIL-C-48497A, MIL-C-675C, ISO 9211-4, or the maker’s own) and whether a witness sample from the run is measured and its curve sent.
- Drawing note: the limits written for the part’s optical drawing, in the manner of ISO 10110-9: the coated surface marked with λ in a circle, then a line a requirement, ρ(λ) for reflectance and τ(λ) for transmittance, with its band, angles of incidence and polarisation, and the durability. Copy puts it on the clipboard. It was written from published guides to the standard, not from the standard’s own text: check it against ISO 10110-9 before it goes on a drawing.
Coating specification (PDF) writes it as two A4 pages: the order (the coating and substrate, the performance with the design’s value beside each limit, durability, how it is checked and the drawing note), then the design behind it (the layers by material with n and k at λ₀, physical thickness and QWOT; the reflectance against wavelength with the limits drawn, and against the angle; and the tolerance run, if there is one for this design). It needs a free account. Design data… opens File › Export data…, for the curves to compare the maker’s measurements with.
Files and the cloud
The coating you are working on is kept in this browser as you go, signed in or not. With a free account, File › Save as .jekfilm (Ctrl+S, or Save on the bar) saves it as a file. With JEKrayPro, File › Save to cloud… keeps it in the cloud with your benches. Choose the workspace and the folder: put it in the folder of the benches it is for. Once in the cloud it saves itself as you work, Ctrl+S keeps a version, and JEKsuite shows it with its history, forks and the Bin, like any bench. Opening a .jekfilm file needs no account. Optimising, tolerancing and exporting need a free one.
Share (top right, or File › Copy a share link…; on a narrow screen only the File menu has it) copies a short link, jeksys.net/f/ and ten letters, that opens the coating as it is now. Making one is JEKrayPro’s; anyone with the link can open it, without an account. What opens is a copy: changes to it do not reach yours, and changes to yours after sharing are not in the link.
File › Export data… writes the coating’s numbers as three tables with their units: the reflectance across the band (at the smallest and largest angles judged, and the target), against the angle at λ₀ (Rs and Rp), and the layers (material, n and k at λ₀, thickness, QWOT). As CSV (a zip of one file a table), JSON, Excel, NumPy (.npz) or MATLAB (.mat), with a free account.
On a JEKray bench
Designing for a face. A face’s Design a coating… (or the lens designer’s face table) opens the Coating designer on that face’s glass, at the bench’s wavelength, with the face’s stack, and a line along the top says which face it is for. Save to cloud… then starts in the bench’s own workspace and folder, and once saved the coating goes onto that face in JEKray, linked to it. Saving to the cloud is JEKrayPro’s.
A coating face’s Coating list (a lens or window face, a beamsplitter cube, a prism) offers the designed coatings kept in the same cloud folder as the bench, each marked ◆, and A coating from a file (.coat)… for a .jekfilm on your computer. Choosing one puts its layers on the face at its design wavelength; the face keeps its own glass as the substrate. When that glass’s index at the design wavelength is more than 0.005 from the one the coating was designed on, a note under it names both and gives the reflectance square on, as designed and on this glass.
The face keeps a copy of the stack, so the bench traces, shares and opens offline as it always did. A coating from the cloud stays linked to it: the face says which coating and which version it has, with Open in the Coating designer. When the coating is saved again in the Coating designer, the bench offers to update its faces when it is next opened (or straight away, if it is open in another tab). Nothing changes until you choose Update the faces, and Undo takes it back. To edit a linked face’s layers on the bench instead, choose Thin-film stack: the face keeps the layers as its own, no longer linked.
A .jekfilm file is JSON: the coating’s name, what it is for (spec), and its layers, each an index n and a thickness d in nanometres, from the outside in.
On a lens to be made. In the Optics designer, a face’s Coating list takes a designed coating too, and Make the part under the lens’s drawing writes its coating specification beside the part’s drawing and specification, in one zip for the maker.