IR Window Spacing Signal: How Cover Thickness and Working Distance Change Detection
An infrared sensing window looks like a piece of mechanical protection and behaves like an optical component. IR window spacing signal is the relationship between the thickness of that window, the distance between it and the emitter or receiver, and the amount of light that actually returns to the detector, and it is one of the few design variables that can change a working prototype into a failing product without any electrical change. Two units built to the same schematic can differ by a factor in detection range once the cover and the gap between cover and device are fixed. This guide separates what the cover does to the beam from what the spacing does to the coupling, sets out a measurement method that isolates the variables, and defines the acceptance condition that belongs on the drawing.
Quick Answer: The Window Sits Inside the Optical Path
In a reflective sensing design the emitter illuminates a target through the window and the receiver collects the return through the same window or a neighbouring aperture. Anything placed in that path adds two effects at once: it attenuates, and it redirects. Attenuation is the easy part, because transmission losses are usually documented per material and per thickness. Redirection is the part that surprises designers, because a surface that reflects a small fraction of the emitter output back towards the receiver adds a constant offset that the threshold must sit above.
The practical consequence is that the cover is not a mechanical detail to be finalised after the optics. Once the cover material, the thickness and the gap are chosen, the usable detection range and the threshold margin are largely decided, and later changes to any of the three are optical changes even when they do not look like it.
Source and Receiver Behaviour Before the Window
The emitter sets the starting condition, and the most relevant property is not the peak intensity but the angular distribution. A narrow beam concentrates energy on axis, which helps range but makes alignment less forgiving, while a wide beam tolerates misalignment and loses intensity at distance. The distribution described in the IR LED polar radiation pattern discussion is what the window thickness then acts upon, because a thicker window intercepts more of the off-axis rays and returns them to the housing rather than to the target.
The receiver contributes the second half. Its acceptance angle, its filter passband and its own aperture decide how much of the returning light is collected, and its internal threshold decides how much of that is enough. A window that narrows the effective aperture is therefore equivalent to reducing the emitter drive, which is why two designs with identical components can differ once the housing is added.
What the Cover Actually Changes
Three mechanisms account for almost all of the effect. The first is bulk absorption, which is a function of material and thickness and is the only one that behaves predictably. The second is surface reflection, which produces both a transmission loss and a parasitic return path from the emitter to the receiver, and that parasitic path is what changes the baseline the threshold is compared against. The third is refraction at a curved or angled surface, which shifts the apparent position of the emitter and can turn a well aligned pair into a misaligned one.
The parasitic return path deserves particular attention because it scales with the illuminated area of the window rather than with the target. A large flat cover close to the emitter collects a fraction of the emitted light and sends it straight back, and that fraction is present whether or not a target exists. Separating that offset from the target return is precisely the difficulty addressed in the IR receiver threshold hysteresis guide, where the band has to be set from measured data rather than from a nominal value.

Geometry: Thickness, Gap and Aperture
Thickness and gap are separate variables and they are frequently confused because both are quoted in millimetres. Thickness changes transmission and increases the separation between the emitter surface and the outside world by the material's optical path. The gap between the device and the inner face of the window adds a second, air-filled distance that changes the solid angle the receiver presents to the outside. The IR optical window distance that matters for detection is therefore the sum of the two, weighted by the material's refractive index, not the thickness alone. Designers who treat IR sensor cover spacing as a single dimension usually end up with a gap that is generous in the moulding and tight in the assembly, and the difference shows up as unit-to-unit variation rather than as a design fault.
Aperture is the third variable and the one most often left to the mechanical designer. A cover with a single shared aperture for emitter and receiver forces a compromise between transmission and crosstalk, while separate apertures allow each side to be optimised. The crosstalk mechanisms described in the IR sensor crosstalk analysis become dominant when the shared aperture is wide and the gap is short, because the internal path between the two sides is no longer blocked by the housing.

Tolerance and Environmental Effects
A nominal design that works on the bench still has to survive the tolerance stack. Window thickness typically carries a moulding tolerance, the gap carries an assembly tolerance, and the device position carries a placement tolerance, so the optical path varies across production. The infrared cover spacing effect is therefore a distribution rather than a value, and the acceptance limit has to be set at the worst end of that distribution rather than at the nominal point.
Environment adds two more variables. Temperature changes the emitter output and the receiver sensitivity in opposite directions in some materials, so a design that is marginal at room temperature can pass or fail at the extremes. Surface contamination is the second, because a film of oil or dust on the outer face both attenuates the outgoing beam and scatters light back towards the receiver, which is a combination that a clean bench test never shows.
Measurement Method That Separates the Variables
The only reliable way to attribute a change is to vary one thing at a time. Start with the bare device pair on a fixed target at a fixed distance, record the receiver output. Add the window at the production thickness with no gap, record again. Then insert spacers to reproduce the production gap in steps, recording at each step. Finally repeat the sequence with the target removed, which gives the parasitic return for each configuration.
Two numbers come out of that sequence and both belong in the design record. The first is the target-to-offset ratio, which tells the designer how much margin the threshold has at the production gap. The second is the IR window transmission loss per millimetre of thickness, which tells the buyer what a material change would cost in range. A supplier who can produce those two numbers has characterised the window, and a supplier who cannot is still at the trial-and-error stage.

Acceptance Condition for the Drawing
The drawing should state the window material, the thickness with tolerance, the gap with tolerance, the aperture dimensions and the surface finish of the outer face. It should also state the detection distance that must be achieved at the worst permitted combination, not at nominal. Where the material is not fixed, the drawing should state the minimum transmission at the operating wavelength, because that is the property that actually governs the behaviour.
For the optical side, the limit that must not be exceeded is the parasitic return measured with the target removed. Stating it as a maximum receiver output keeps the requirement testable at incoming inspection and at end of line, and it prevents a later material substitution from quietly consuming the threshold margin that the design depended on.
The Variables and Their Typical Direction of Effect
| Variable | Direction of effect | What to control |
|---|---|---|
| Window thickness | More thickness reduces transmission and widens the intercepted beam | Transmission at the operating wavelength |
| Device to window gap | More gap reduces collected solid angle and spreads the beam | Gap with tolerance in the assembly drawing |
| Aperture area | Larger aperture raises both target return and parasitic return | Separate apertures where space allows |
| Surface finish | Gloss raises parasitic return, matte scatters it | Finish specified on the drawing |
| Target reflectivity | Lower reflectivity cuts the signal without changing the offset | Worst-case target in the test plan |
The last row connects the window design to the surface the sensor has to see. The variation described in the IR reflective sensor target reflectivity guide sets the signal floor, and the window sets how much of that floor survives to the receiver. Designing for the brightest target and the thinnest window produces a product that fails on the first matte black part it meets.
Frequently Asked Questions
Does a thicker window always reduce detection range?
It reduces transmission, but it can also narrow the intercepted beam and reduce the parasitic return path. The net effect depends on the geometry, which is why thickness and gap have to be tested together.
How is IR window thickness sensor signal measured in production?
Measure the receiver output with a reference target at a fixed distance and compare it with the same reading taken with the target removed. The first value gives the signal and the second gives the offset the threshold has to clear.
Should the emitter and receiver share one aperture?
Sharing saves space and simplifies the moulding, and it also opens a direct internal path between the two sides. Separate apertures are preferable wherever the housing can accommodate them.
Why does the sensor work on the bench and fail in the housing?
The housing adds attenuation and a constant reflection that the bench setup did not have. Both effects scale with the illuminated window area, so a large flat cover close to the devices changes the baseline most.
What happens if the cover material is changed late in the project?
The transmission and the refractive behaviour both change, so the detection distance and the parasitic offset are no longer the ones that were validated. A material change should trigger a repeat of the characterisation sequence.
Which tolerance matters most in the assembly?
The gap between the device and the inner window face, because it changes the collected solid angle directly. Thickness tolerance matters next, and placement tolerance usually matters least.
Conclusion: Treat the Cover as Part of the Optics
A sensing window is chosen for mechanical reasons and paid for in optical margin. The variables that decide whether a design works are thickness, gap, aperture and surface finish, and all four are visible on a drawing long before a prototype exists. Buyers who ask for the two characterisation numbers, transmission per millimetre and parasitic return with the target removed, get a design that can be reviewed rather than discovered.
Where the receiver's filter selection is still open, the passband trade-offs in the IR receiver optical filter bandwidth guide interact with the window choice, because a filter cannot recover light the cover has already absorbed. To review a specific window and spacing combination, share the drawing, the material and the worst-case target through the HOUKEM inquiry page.
IR Sensor Threshold Calibration Across Production Units
IR Ambient Baseline Tracking in Reflective Sensors Under Changing Light