π¬ Your mission
You are the optical engineer responsible for designing, qualifying and then diagnosing an interference filter that will be physically deposited under vacuum at Institut Fresnel. Between the first calculation and the spectrum measured on the finished component, you must prove β with numbers β that your design is not merely good on paper.
The simulator is not an oracle: it is a measurement bench. It will give you neither the full width at half maximum, nor the right merit function, nor the conclusion. You will enter your layers, take your readings with the cursor, export your data and conclude yourself. An answer that copies a displayed number without understanding it is worth nothing.
β Difficulty scale β every question is rated
Reading, curve inspection, direct formula. No question at this level should block you: if one does, review the theoretical reminder before continuing.
7 questions β 22 %
Several chained steps, data processing, physical interpretation. This is the core of the lab: allow time and use a scratch pad.
15 questions β 47 %
You build the method, you decide and you argue. There is no single answer to copy: your reasoning is what is assessed.
10 questions β 31 %
How to use this: the β β β questions are not "for the best students". They are the point of the module β the β and β β exist to get you there. If you are short of time, complete one β β β fully rather than three β : that is where the assessment lies.
1. Pedagogical objective
π Web Simulator Quickstart
- Direct access: Open simulateur_couches_minces.html in a browser. Network access is required to load the graphical libraries (an offline distribution exists: ask your instructor).
- Virtual Spectrophotometer: Build your stacks manually, take pointer measurements, and analyze data in Excel.
- Symbolic formulas: Fast formula entry such as
(HL)^3 2H (LH)^3. - Exports: Use CSV (for spreadsheet processing) and Image for your lab report.
- Published grids: below the merit selector, the simulator displays the exact grid it uses. Reproduce it in Excel: you must recover the same number.
- Universal CSV export: right-click any chart (or long-press on mobile) to export all its visible curves on the grid actually plotted β including Monte-Carlo envelopes and saved curves.
- Keyboard shortcuts: press
?for the full list. Most useful:Ooptimize,Nneedle, andMmemorize. - Student mode β switch it on before each exercise: the simulator opens in free mode, where only your own target is offered as a merit. Click π Student in the header, then pick the current exercise: the relevant panels appear and the exercise merit (
Mean Rin IV and V,Maximize Qrin VIII and X) becomes available. Skip this step and those merits stay hidden. - Free design: press
Dor click π― Free design β you write your own specification. See the open workshop at the end of this document. - Active workbook: use the Q12/Q14 scaffold; calculation cells are intentionally left for you to program.
π‘οΈ Mandatory protocol: from nominal optimum to a manufacturable, robust design
Decision rule: a stack that is optically excellent at nominal values but impossible to deposit, too thin, too complex, or too sensitive is rejected. Every industrial conclusion must separate nominal performance, manufacturability, and statistical yield.
- Specify before optimizing: window, incidence, polarization, quantity, and acceptance threshold.
- Audit the nominal stack: number of layers and materials, $d_{min}$, $d_{max}$, total thickness, and deposition order.
- Declare the process model: $\Delta d$, minimum thickness, and the layers actually perturbed.
- Declare the acceptance tolerances: without them the yield is undefined β it is the fraction of draws that stay inside the specification.
- Make the study reproducible: record the random seed; compare two designs using the same seed.
- Size the sample: $N=100$ for exploration, $N=500$ for comparison, and $N=1000$ for educational qualification.
- Report robust statistics: yield, 95% Wilson CI, mean, sample standard deviation, and P05/P50/P95.
- Use the adverse percentile: P95 for a cost to be minimized; P05 for a performance to be maximized.
- Decide: qualified, inconclusive (study to be extended), or not qualified, with margins and assumptions.
Warning: even 1000 successes out of 1000 do not prove a true 100% yield. The displayed confidence interval captures sampling uncertainty; it does not cover index uncertainty, thermal drift, roughness, or unmodelled defects.
Classic trap: the displayed P05/P50/P95 percentiles cover only the manufacturable realizations. They are therefore conditional. The yield, by contrast, is reported over the total number of runs. Never compare the two without saying so.
Theoretical Background: Interference & Transfer Matrix Method
For each layer $i$ with thickness $d_i$ and complex index $N_i = n_i - ik_i$, the optical phase shift is:
The characteristic transfer matrix of layer $i$, which is unimodular ($\det M_i = 1$), is:
- S-Polarization (TE): $\vec{E} \perp$ plane of incidence $\implies \eta_i = \gamma_i = \sqrt{N_i^2 - N_0^2\sin^2\theta_0}$.
- P-Polarization (TM): $\vec{E} \parallel$ plane of incidence $\implies \eta_i = N_i^2 / \gamma_i$.
- Unpolarized light: $R_{avg} = \frac{R_s + R_p}{2}$ and $T_{avg} = \frac{T_s + T_p}{2}$.
Layers are listed in deposition order, substrate β superstrate. Layer 1 touches the substrate; the last one touches the air. Light therefore encounters them in reverse order, and the total matrix is $M = M_m \cdots M_2 M_1$.
The layer table follows deposition order: layer 1 touches the substrate. Light, however, arrives from the air and meets the layers in reverse order. Hence the matrix product M = MmΒ·Β·Β·M1. Getting the order wrong reverses the whole stack: it is the most common mistake in this lab.
I. Thin-film materials & complex index β± 35 min indicative
Rank the following six materials by increasing $k$: SiO2, YF3, ZnS, Si, Al, Au. Do it first at 550 nm, then rank them again at 400 nm: which materials change places? Finally, state which ones satisfy $k < 5\times10^{-4}$ at every point of the visible range ($400-750\,\text{nm}$).
Examine ZnS (High index H) and YF3 (Low index L) used at the Institut Fresnel cleanroom. Record their indices at $550\,\text{nm}$ and compute the contrast $(n_H-n_L)/(n_H+n_L)$.
II. Single interface: BK7 // Air β± 50 min indicative
In S (TE) the electric field is perpendicular to the plane of incidence (β symbol). In P (TM) it lies in that plane (double arrow). The two see different admittances, Ξ·s = Ξ³ and Ξ·p = NΒ²/Ξ³: this is the whole origin of the Brewster angle, where Rp vanishes while Rs never does.
Hand Calculation: Compute normal incidence $R$ and $T$ for the Air/BK7 interface ($n_{BK7} \approx 1.5185$ at $550\,\text{nm}$) with Fresnel equations.
Air and Substrate = BK7 without layers. Compare the simulator value at $550\,\text{nm}$ with your hand calculation. Then enable Backside (bare interface): reflection rises from about 4.2% to 8.1%. Recover this second figure from the incoherent sum $R_{tot}=R+\frac{(1-R)^2R}{1-R^2}$, then show that it reduces to $R_{tot}=\dfrac{2R}{1+R}$ β a shorter and strictly equivalent form. Finally, explain why the result is not simply $2R$.
This option applies to the bare plate only, with no coating: as soon as you add a layer it has no effect. That is deliberate β the formula above assumes two identical interfaces, which stops being true once one face is coated.
Angle ΞΈ mode (at $\lambda = 550\,\text{nm}$). Record $R(\theta)$ for $\theta \in [0, 80^\circ]$ in $10^\circ$ steps under unpolarized light, then separately in S and in P. Plot all three curves.
Record these three curves yourself in Angle ΞΈ mode. The remarkable point is the vanishing of Rp at ΞΈB = arctan(n) β 56.6Β°. Note that the unpolarized curve, the average of the two, never vanishes: this is why polarizing sunglasses remove a window's glare while a neutral filter cannot.
BK7 and Substrate = Air. Identify $\theta_{lim}$ and link it to Snell-Descartes law and optical fiber waveguides.
III. Single-layer antireflection coating β± 60 min indicative
Ray rβ travels 2Β·nΒ·d further than rβ. For nΒ·d = Ξ»β/4 this difference is Ξ»β/2: the two waves are in antiphase. But cancellation is complete only if their amplitudes match, which requires n = β(nβΒ·ns). Two independent conditions β question Q10 has you verify that the second one is not exactly met here.
Manually add the theoretical material AR (n=1.225) with $d = 112.3\,\text{nm}$. Find the spectral window where $R < 0.5\%$. Prove that $112.3\,\text{nm}$ is indeed the quarter-wave thickness at $550\,\text{nm}$ for this index.
Does substrate dispersion actually matter? First record $n_{BK7}$ at 400, 550 and 750 nm: the variation exceeds 1%. One therefore expects an effect.
- Carefully note the position of the $R$ minimum and the bounds of the $R<0.5\%$ range with the
BK7substrate. - Replace the substrate with
Custom indexat a constant $n = 1.5185$, and repeat both measurements.
Conclude by naming, within this lab, two situations where dispersion does become visible: you have met one already in Exercise I, and you will meet the other in Exercise VI.
Demystifying the Black Box in Excel: Compute reflection $R$ of this layer at $550\,\text{nm}$ in Excel.
- Compute the optical phase $\phi_1$.
- Build matrix $M_1$ using
=COMPLEX(real, imag)and=IMPRODUCT(z1, z2). - Compute the equivalent admittance $Y=\frac{m_{10}+\eta_s m_{11}}{m_{00}+\eta_s m_{01}}$ then $R=\left|\frac{\eta_0-Y}{\eta_0+Y}\right|^2$.
- Check that you recover the simulator value.
IV. Double-layer antireflection: BK7 / H / L / Air β± 70 min indicative
2D Mapping in Excel: Explore the parameter landscape topology. At $\lambda = 550\,\text{nm}$:
- Record $R$ on a grid: $d_{ZnS}$ from 20 to 140 nm and $d_{YF3}$ from 20 to 140 nm, in 30 nm steps β 25 readings, to be entered in the
Q14_Cartographiesheet of the workbook. These bounds are not arbitrary: they span roughly one oscillation period of $R$ in $d_{ZnS}$ ($\lambda/2n_H \approx 116$ nm). A coarser step would under-sample the landscape and the valleys would vanish. - Enter the table into Excel and create a 3D Surface or Contour Plot.
- Locate the coordinates of the minimum valley.
- Is your Q13 minimum inside one of these valleys? How many distinct valleys do you see, and what does the 30 nm step tell you about the exact position of their floors?
First robust qualification β but over which window?
Mean R merit is offered by default over $400-750\,\text{nm}$. But you have just designed an antireflection coating at 550 nm. Read the merit value over that wide window: it is catastrophic. Is your design bad, or is your specification off-topic? Justify, then correct the window.
- Set the AR window to 520β580 nm and the threshold to 0.8% (fields below the merit selector). Check that the nominal design now meets the criterion, and with what margin.
- Qualify: $d_{min}=1$ nm, $N=500$. Compare $\Delta d = 3$ and $5\,\text{nm}$; the seed being fixed, both runs use the same realizations.
- Report yield, the 95% Wilson CI and P95 of mean reflectance in both cases. Do the two confidence intervals overlap? Can you claim $\pm5$ is significantly worse, or is it sampling noise?
- Look at P95 at $\pm5\,\text{nm}$: it exceeds the threshold while the mean respects it. What does that gap mean concretely for a production batch?
- Isolate the critical layer β by hand, not with Monte-Carlo. The draw always perturbs both layers: locking applies to BFGS only, never to manufacturing. So work by sensitivity instead: from the nominal design, add $+3\,\text{nm}$ to ZnS alone and record the merit; return to nominal, add $+3\,\text{nm}$ to YFβ alone and record. Which one degrades it more? Relate your answer to the index and the optical thickness $n\cdot d$ of each layer.
A standard deviation without an acceptance criterion is not a robustness conclusion.
V. Multilayer synthesis & the Needle method β± 90 min indicative
Ο(z) measures the merit gain an infinitely thin needle would bring at depth z. Where Ο > 0, inserting improves; where Ο < 0, inserting degrades. You insert at the maximum, then refine with BFGS. Careful: the scan is discrete (5 nm) and never evaluates the interfaces β Q17 asks you to work out the consequences.
The merit function has more than one valley. BFGS descends into the nearest one and stops: two different starting stacks therefore give two different results, and neither is βthe optimumβ. Since the algorithm is deterministic, re-running changes nothing β what must change is the starting point, or the structure of the stack. Adding a layer with the needle method adds a dimension to the landscape: a barrier that cannot be crossed in dimension n can be bypassed in dimension n+1.
BFGS local-convergence study. In π Student mode, exercise V, activate the Mean R merit over 400β750 nm with a 0.5% threshold. Goal: a broadband antireflection coating on BK7 using ZnS/YFβ.
H L, then H L H L. The merit is WORSE than bare glass β clearly for H L, massively for H L H L. This is not a handling error. Explain it: from an interference standpoint, what does a quarter-wave high-index layer on glass actually do? Must an antireflection coating be a quarter-wave stack?
- Restart from thin, asymmetric layers (a few tens of nanometres), not quarter-waves. The optimizer is a local descent: it reaches the minimum of the valley you drop it into, and looks for no other.
- Run it from at least three different initial stacks and record, each time, the initial merit, the final merit and the layer count after cleanup. Since the algorithm is deterministic, the same start returns exactly the same result: every bit of spread you observe comes from the starting point, not from the algorithm.
- How many layers are needed? Find the best result you obtain with 2, then 3, then 4 layers. For each case, decide whether the 0.5% threshold is crossed and quantify the margin.
- A starting point that stays stuck far above the others tells you nothing about the optimizer β there is only one, and it is deterministic. It tells you about that starting point. Verify this by rerunning from a different initial stack.
Guided Synthesis via the Needle Method:
- Start with a single layer:
YF3with physical thickness $150\,\text{nm}$ on BK7 glass. - Click π Analyze Needle. Read the diagnostic carefully: what material and depth $z$ does the perturbation analysis recommend?
- The diagnostic numerically plots $\pi(z)=[J_0-J_{\delta}(z)]/\delta$ every $5\,\text{nm}$ using a virtual needle $\delta=0.1\,\text{nm}$. Locate its positive maximum and the position $z$ from the substrate, then insert the recommended needle.
- Click Insert needle: the software creates the virtual $0.1\,\text{nm}$ layer and then automatically runs BFGS. Compare the merit immediately before insertion and after this refinement.
- Critical analysis: explain the value of the two-step workflow (nucleation diagnostic $\to$ local refinement).
VI. Bragg mirrors: BK7 / (HL)^n H / Air β± 55 min indicative
Enter formula (HL)^3 H at $\lambda_0 = 550\,\text{nm}$. Measure peak reflectance $R_{max}$ and record both edges of the stopband β the wavelength range over which the mirror reflects strongly, also called the photonic band gap β using $R \ge 90\%$ as the convention. Note the width you obtain.
Compare (HL)^3 H (7 layers), (HL)^4 H (9), (HL)^5 H (11) and (HL)^6 H (13) using Save curve overlays. For each, record $R_{max}$ and the width at $R \ge 90\%$. Build the table of the four pairs.
Conclude: from how many periods onwards can the formula be used as an acceptable approximation? That is the value you will use in Q23 to place your measurement bands.
The outermost layers: a setting, not an improvement. On the 13-layer mirror, widen the display to $360-800\,\text{nm}$ so you can see the ripples on both sides of the stopband.
- Reference: record three numbers β $R_{max}$ inside the band, the highest sidelobe on the blue side ($360-450\,\text{nm}$) and the highest sidelobe on the red side ($660-800\,\text{nm}$).
- Set layers 1 and 13 to $0.5\,\text{QWOT}$ and repeat the three measurements.
- Now set them to $1.3\,\text{QWOT}$ and repeat again.
Finally look at $R_{max}$: does it change much? Conclude on the nature of this setting β is it a performance gain, or a trade-off the designer chooses according to which side of the spectrum must stay clean? Give an example of a component where this choice is forced.
VII. Interference bandpass filter (FabryβPΓ©rot) β± 75 min indicative
π― Deposited at FresnelThe half-wave 2H spacer is a cavity: at resonance a standing wave builds up inside it and light passes almost entirely through the stack, while it is blocked everywhere else in the stopband. Two independent levers narrow the peak β increasing n (more reflective mirrors) or increasing q (thicker cavity). Q21 asks you to determine which acts more strongly.
At $\lambda_0=550\,\text{nm}$, enter (HL)^2 2H (LH)^2, then (HL)^3 2H (LH)^3, then (HL)^4 2H (LH)^4. Measure the full width at half maximum of each.
Then test the cavity order: replace the 2H spacer with 4H (order $q=2$) then 6H ($q=3$). Notation: the prefix is the QWOT multiple, so 4H = 4 quarter-waves = 2 half-waves.
Establish the relationship between the number of mirror periods $n$, the cavity order $q$, and the resolving power $\lambda/\Delta\lambda$. Which of the two parameters acts most strongly?
Fresnel prescription that will actually be deposited: load BK7 / H L 2H L H L H L 2H L H L H L 2H L H L / Air at $\lambda_0=550\,\text{nm}$. Verify yourself that it contains exactly 18 layers, in substrate-to-air order. This architecture is mandatory: it must neither be shortened nor replaced by a symmetric cavity.
Mandatory manual measurement. With a $0.1\,\text{nm}$ spectral step, read from the cursor: (a) the maximum $T_{max}$ and its wavelength, (b) the $T_{max}/2$ level, (c) the two intersections $\lambda_1$ and $\lambda_2$, (d) the width $\lambda_2-\lambda_1$, (e) the half-maximum centre $(\lambda_1+\lambda_2)/2$. Use box zoom to refine each intersection, then Reset view to return to the full spectrum.
This prescription contains three $2H$ spacers, hence three coupled cavities: that is what makes it a multicavity filter. Its passband is far wider than the single-cavity filters of Q21 β do not transfer their expected scale β and above all its top is flat and rippled. You will find several near-equal maxima there, and the highest one can jump from one to another after a tiny change in the stack. So it is the half-maximum centre (e), not the position of the maximum, that locates the passband reliably; that is the figure you will reuse in Exercises IX and X.
VIII. Cleanroom pre-fabrication project β± 75 min indicative
π― Deposited at FresnelNominal audit and manual $Q_r$ calculation: reopen the Q22 filter, in the same substrate-to-superstrate deposition order.
- In the analyzer, select only
T, enter the three specification bands with a 0.5 nm step, and record the three $\overline{T}$ averages. TheRandAchoices support other measurements; they never assign a role in a merit. - Compute $Q_r$ yourself from those three numbers, by hand and then in Excel from the exported CSV. Both routes must agree.
- Check the effect of the step: repeat the same averages at 0.1 nm and then at 2 nm. Which of the three bands is the most sensitive to the step, and why?
- Complete the nominal audit β number of layers, number of materials, $d_{min}$, $d_{max}$, total thickness β by computing it from the layer table. The "check my audit" button is only there to verify your result after you have established it.
400β500, then 430β500, then the prescribed 460β500. By how much does $Q_r$ vary? Relate this to the actual spectrum. What is a rejection specification worth if it does not state its bands?
Note: the 400β500 nm band extends beyond the computed range (430β700 nm) and the software warns you about it. That warning is part of the answer β say what an average computed over a truncated band is worth.
Is there really anything to optimize?
The question is not rhetorical. Start by measuring $Q_r$ and $\overline{T}_{pass}$ before any optimization and compare them with the two requirements of the specification. If the deposited prescription already meets them, and by a wide margin, say so: that is a result, not a failure on your part. You then have to answer a more interesting question: what is the point of optimizing a component that already passes? Look at the margin β by how much does the nominal exceed the threshold, and does that margin survive the deposition errors of Q25? That, rather than the nominal value, is where the three free layers earn their keep.
- Switch to π Student mode, exercise VIII: the
Maximize Qrmerit is selected automatically there. Its formula already uses exactly the 460β500, 535β565, and 620β680 nm bands; the band analyzer remains an independent measurement instrument. - Set the cleanup threshold to 2 nm: it is also BFGS's lower bound. Record this constraint in the design dossier; a numerical optimum below it is not admissible.
- Choose
Specific layers, then allow layers 16, 17, and 18 only. Check in the table that layers 1 to 15 are fixed. This constraint belongs to the component that will be deposited and must never be relaxed. - Run BFGS and record $Q_r$, $\overline{T}_{pass}$, and the three thicknesses before/after. Do both quantities move in the same direction? What happens to layer 18? Verify that the layer count, ordering, and first fifteen thicknesses are strictly unchanged.
- Test reproducibility by reloading the prescription and rerunning BFGS with identical settings. Explain why identical results are expected from a deterministic algorithm.
- Reject any nominal improvement that creates a layer below $d_{min}$ or lowers passband transmission below its threshold: an isolated $Q_r$ score is not a manufacturing dossier.
Pre-manufacturing review β robust qualification without supplied results.
- (a) Keep the Q24 optimized prescription: 18 layers, the first fifteen unchanged, the final three produced by BFGS. Set $d_{min}=1$ nm and write, before any simulation, the acceptance criteria for one draw β at least the two specification requirements, $Q_r \ge 30$ AND $\overline{T}_{pass} \ge 85\%$; any tightening must be justified β together with the minimum required yield of the batch, entered in the
Required yieldfield: this is the value used in (d).
Two different thresholds, not to be confused: the 2 nm of Q24 is a lower bound on what the optimizer may propose; the $d_{min}=1$ nm here is the thinnest layer one accepts to deposit, and it is used to sort the Monte-Carlo draws. The first constrains a calculation, the second judges a fabrication. Justify both values in your dossier. - (b) For $\Delta d=1$, 2, and 5 nm, first run $N=100$ to check the protocol, then $N=1000$ for the decision. Keep the seed unchanged.
- (c) For each severity, report yield, 95% Wilson CI, P05($Q_r$), P05($\overline{T}_{pass}$), manufacturability rate, and number of perturbed layers. Monte-Carlo perturbs the 18 deposited layers: locking the first fifteen applied to BFGS only.
- (d) Plot yield and both adverse percentiles against $\Delta d$. By cautious interpolation, determine the largest $\Delta d$ compatible with the minimum required yield; if the data do not decide, give an interval and propose the additional run needed.
- (e) Clearly distinguish nominal performance, statistical robustness, and manufacturability. Base the deposition recommendation on confidence bounds, without treating $\Delta d$ as an absolute bound: here $\sigma=\Delta d/2$.
IX. Cleanroom reverse engineering & defect diagnosis β± 45 min indicative
π― After depositionA uniform error multiplies every thickness by the same factor: the stack stays self-similar, so the spectrum translates without distorting. Independent noise detunes the layers relative to one another: the centre barely moves but the peak collapses and broadens. Reading this difference is what lets you diagnose a deposition run (Q26). What matters is not the shift in nanometres but its ratio to the passband width: the same 5 nm is nearly the whole band on the narrow Q21 filter, and only a tenth of the band on the much wider Fresnel prescription. Always compare the two.
Shifted-window diagnosis. Reproduce three defect scenarios in the simulator and compare their spectral signatures:
- (a) a uniform scaling of every thickness (multiply them all by the same factor);
- (b) an error on the central $2H$ spacer alone (layer 9);
- (c) an error on a single mirror layer β use layer 5, so that every pair compares the same thing.
Which one produces a global shift with the least distortion of the window shape? What multiplicative factor is needed to reproduce the observed $8\,\text{nm}$? Convert it into a thickness deviation on the thickest layer, then compare this systematic deviation with the $\Delta d$ severity studied in Q25. Explain why the independent Gaussian model of Q25 cannot, by itself, declare this common bias covered.
Finally, explain why transmission loss alone does not identify a unique layer.
X. Design review β industrial qualification dossier β± 75 min indicative
Student β X. Design review. Check the external media, then state before any calculation the window, incidence, polarization, metric, the exact bands, calculation grid, optical threshold, $d_{min}$, resolution, seed, and minimum required yield. Enter the latter in the Required yield field. Distinguish requirements from improvement goals.A/B review of the prescription that will actually be manufactured. Compare two states of the same 18-layer architecture:
- Design A β reference: reload
H L 2H L H L H L 2H L H L H L 2H L H L, without optimization; - Design B β candidate: start from A exactly, fix layers 1 to 15, and optimize layers 16 to 18 only with BFGS.
Before calculation, write a falsifiable hypothesis: will B improve only the nominal result, or also the robust bound? Qualify A and B with the same bands, thresholds, $d_{min}$, $\Delta d$, $N=1000$, seed, and required yield. Capture A and B in the comparator and require its green valid-paired-comparison indicator.
Give a reasoned decision for B: adopt, reject, or extend the study. A nominal improvement without a statistically defensible robust gain is insufficient. Your conclusion must also confirm that all 18 layers and the first fifteen thicknesses were preserved, and cite at least two limitations of the manufacturing model.
π¨ Open workshop β design your own component Not graded Β· self-service
Steps 2 and 3 alternate: BFGS exploits the existing layers, the needle creates a new one when BFGS saturates. Step 4 is the one people forget, and it decides manufacturability. Step 5 arbitrates between performance and simplicity. Step 6 is the only one that turns a calculation into a component.
The ten main exercises imposed specifications on you. Here, you write them. The simulator accepts any spectral target: it becomes a reusable design tool well beyond this lab β for a project, an internship, or simply to test an idea.
π Declare the target β 30 seconds
- Press
Dβ or click π― Free design in the header. - Click + Segment, then translate each requirement into one row of the table.
- Enter Ξ» min, Ξ» max, T/R/A quantity, angle, polarization, target and weight.
- Save it (
β): this is your specification, and it must not move during design.
βοΈ What the merit computes
The score is a weighted RMSE between your computed response and your target, over the declared segments only:
Anything you do not cover is "don't care" and does not enter the score. The weight $w_i$ lets you state that one band matters more than another. This is exactly the structure of an industrial specification.
π οΈ The designer's method β this is a craft, not a click
Declaring a target and pressing "Optimize" almost never produces a good component. Real design is an iterative cycle that you must run yourself, and it is not finished until the feasibility study.
The optimizer is local: it descends into whichever valley you drop it in. Start from a structure that physics justifies β a quarter-wave for antireflection, (HL)^n for a mirror, (HL)^n 2H (LH)^n for a bandpass β centred on the right wavelength. A good initialization beats any algorithm.
Run the Quasi-Newton (BFGS) optimizer with key O. It adjusts thicknesses at constant structure: it will never create a layer, it only exploits the ones you give it. Record the merit before and after.
When BFGS stops progressing, the structure is the limit, not the thicknesses. Run π Analyze Needle (key N): the $\pi(z)$ diagnostic tells you where to insert an ultra-thin layer of the other material. Insert, then immediately re-optimize with BFGS. Repeat.
When to stop? When a full cycle no longer lowers the merit significantly, or when the needle finds no positive maximum. Keep a log: layer count and merit at every cycle. The curve "merit versus number of layers" is a design result.
After a few cycles your stack contains 0.1 nm slices and adjacent layers of the same material. None of them is depositable. Two tools:
- π§Ή Clean up button (top of panel 2. Layer stack): set a threshold; it removes every thinner layer and merges adjacent layers of the same material. It then reports how many layers you saved and how much merit you lost.
- Row-by-row deletion: the Action column of the layer table, to remove one specific layer you judge useless.
Then re-optimize: the remaining thicknesses must absorb what was removed. You will often be surprised β a 7-layer stack can shrink to 2 with no measurable loss. A layer that costs nothing to delete was doing nothing.
Every added layer costs machine time, one more error source and a scrap risk. Compare your successive designs: how many merit points does the 8th layer buy? If the answer is "almost none", the engineering decision is to drop it. The best design is not the highest performing one: it is the simplest one that meets the specification.
A design exists only if it can be deposited. Apply the lab protocol to your component:
- Nominal audit: number of layers and materials, $d_{min}$, $d_{max}$, total thickness. A layer below the deposition threshold disqualifies the design.
- Statistical qualification: Assess robustness, $N=1000$. Report yield, 95% CI, adverse percentile and manufacturability rate.
- Common-bias sensitivity: it is almost always the dominant factor. Determine the calibration tolerance to require from the process.
- Decision: qualified, inconclusive (study to be extended) or not qualified, with your assumptions and at least two model limitations.
An "optimized" design without a feasibility study is not a deliverable: it is a draft.
- Do not specify what physics forbids. A T = 100% target over 400β1000 nm on an absorbing substrate is unreachable: the optimizer will converge to a poor compromise without warning you.
- Leave don't-care zones. A sharp transition needs room: if you specify 100% at 550 nm and 0% at 555 nm, no finite stack will achieve it.
- A good nominal score alone is worth nothing. Always run the statistical qualification before declaring a design good.
π― Six challenges, from simplest to most demanding
Keep your work: the β and β buttons in the editor export and re-import your target as JSON. A saved specification can be reused, passed to a classmate, or attached to a report as supporting evidence.
π Bibliography & Recommended Resources
- Course Document: Theory of Optical Thin Films.
- The Optical Coating Bible: H.A. Macleod, "Thin-Film Optical Filters" (CRC Press).
- Global Dispersion Database: refractiveindex.info.
- Theoretical Foundations: Max Born & Emil Wolf, "Principles of Optics".