A camera programme rarely begins with a custom lens. It begins with a lens that is nearly right: the field of view is close, the mount fits, and the first images look reasonable on a bench monitor. Six months later the same lens is why the product is late. Corners are soft at 4K, the barrel cannot be sealed into the housing, or the unit price will not fit the BOM.
That is usually when a team asks a lens manufacturer to design something specific. The questions that follow are practical: what do we prepare, how long does it take, what drives the cost, and where do these projects go wrong? The steps below are the ones most projects go through, with the decisions that matter to a buyer.
Suppliers use the word custom for four different jobs. The category decides most of the schedule and much of the price, so settle it before comparing quotations.
Mechanical change on a standard lens. The optical formula stays; barrel length, thread, front cap or filter arrangement change. Weeks rather than months, and performance is whatever the base design delivers.
New mechanical design around existing optics. The same glass is re-housed for another sensor stack, a sealed window or an auto-iris. The stack has to be re-toleranced, because a fraction of a millimetre in flange height moves focus.
Semi-custom optical design. Spacing, one element, the stop or the coating changes to shift field of view, resolution or low-light performance. It needs a design review and usually new tooling for the barrel.
Full custom design. A new formula for a defined sensor, field of view, f-number, resolution target and environment. Highest NRE, justified when volume, size or performance cannot be reached otherwise.
Ask which category a quotation covers. A barrel change should not carry full design NRE, and a full custom design cannot honestly be quoted at catalogue prices.
Designers work from numbers, not adjectives. Six inputs decide most of the outcome, and a missing one usually returns as a redesign.
Sensor: format, pixel pitch, and the chief ray angle window from the datasheet.
Field of view, stated at a working distance rather than as an angle alone.
Resolution as MTF at a spatial frequency, for example 0.3 at 150 lp/mm on axis and 0.2 at the corner. A megapixel count is a sensor label, not a lens specification.
F-number and the illumination actually available in the scene.
Depth of field and the range of working distances the product must tolerate.
Mechanical and environmental limits: mount, available flange height, maximum diameter, weight, IP requirement, storage and operating temperature.
A C-mount has a flange focal distance of 17.526 mm and a CS-mount 12.5 mm, while an M12 lens has no standardised flange distance at all: focus is set by how far the barrel is threaded into the holder. That difference decides whether the design controls focus or an assembly operator does.
Two inputs are habitually missing: a resolution target tied to pixel pitch, and the sensor's chief ray angle window. A lens can be excellent on a test chart and still show colour shading or corner softness on a sensor with a tight CRA limit, and no assembly care fixes a mismatch that was designed in.
Optical design, tolerancing and the number that decides the price
The design is the visible part. Tolerancing decides whether the lens can be made at the target price. A prescription that looks excellent with perfect elements may need two micrometres of centring and half a micrometre of air-gap control, and those numbers become assembly time, rejected units and fixture cost.
A serious design package includes a tolerance analysis, usually Monte Carlo, using the compensators production will actually have: focus adjustment, element rotation, sometimes a select-on-test spacer. Ask two questions at the review. What is the predicted yield at the target MTF? Which parameter limits it? The answers describe the quotation better than the element count does.
This is also where the material strategy is settled. Polished glass, precision-moulded glass and moulded plastic aspheres have different cost curves, tolerance capability and thermal behaviour.
Automated assembly stations in a Boshi Optics cleanroom. The assembly method is fixed during design for manufacturing, long before the first production order.
Photo: Boshi Optics (Shanghai Silk Optical Technology Co., Ltd.)
Prototype lenses are normally built with machined barrels and elements from a small production run. They prove the optical design and support system-level tests; they do not predict production yield. Expect measurable differences between prototype and production MTF.
Ask for a test report rather than a folder of images: MTF at defined field points and frequencies, relative illumination, distortion, back focal length and the as-built focus setting. Then test the prototype with the production sensor, IR filter, front window and housing. Programmes that skip this compare a prototype on a bench against a competitor's lens in a different housing.
Lens assembly and inspection stations. Tolerances on centring and spacing are converted here into fixtures, cycle time and yield.
Photo: Boshi Optics (Shanghai Silk Optical Technology Co., Ltd.)
Injection moulds for the barrel and holder typically take four to eight weeks, and they are only part of the package: assembly fixtures, adhesive dispense tools, MTF test holders and, for glass, polishing tools or mould inserts. Coating runs have their own queue.
Design for manufacturing keeps those weeks from being wasted. Draft angles, gate position and sink marks matter more than they sound: a flange that is not flat by a few micrometres tilts the lens and moves focus across the field. Thread strength matters for an M12脳0.5 barrel in glass-filled PBT. All of it is cheaper to fix on a drawing than in a mould.
Custom programmes move through three build stages: engineering validation, design validation and production validation. The labels vary; the logic does not. The first proves the design, the second proves the full specification including environment, the third proves the process can repeat it.
Environmental testing is where the surprises live. Cycling between -40 °C and +85 °C for automotive work, or -20 °C and +60 °C for consumer products, exposes focus shift when the barrel and the glass expand at different rates. A lens that is sharp at 25 °C and soft at -20 °C is not a defective unit; it was never athermalised. Vibration, humidity and salt spray follow the same pattern.
Agree the qualification plan before tooling is cut. Adding a thermal requirement after the mould exists can mean a new barrel material, a new mould, or a compensation that no longer fits the housing.
Mechanical variant of a standard lens: roughly 6 to 10 weeks, dominated by drawings, samples and approval.
Semi-custom design: about 3 to 5 months to production-ready parts, including one prototype loop.
Full custom design: commonly 5 to 8 months to mass production, longer when the sensor, coating or environmental specification is unusual.
Customer-side time: system validation, certification and the first purchase order rarely run in parallel with the last build stage.
Those ranges are experience, not a promise. They shorten when requirements are complete and the design reuses proven elements, and lengthen when a requirement changes after tooling has started.
NRE is mostly engineering hours, tooling and fixtures. Unit price is a different calculation: element count, material, coating complexity, tolerance tightness, assembly method, test burden and volume. The two are linked in one direction that surprises buyers. Every tolerance tightened beyond what the process can hold becomes inspection time or yield loss, and both appear in the piece price rather than the NRE. A 1% distortion limit on a wide-angle design, for example, can add an element. The useful conversation is about which number the application actually needs.
A sensor datasheet, not just the sensor name.
The optical requirement as numbers: field of view at working distance, f-number, MTF target, distortion and relative illumination limits.
A mechanical envelope drawing with available flange height and maximum diameter.
The environmental specification, including temperature range and IP requirement.
Expected annual volume and ramp profile, because tooling amortisation depends on both.
A sample of the current lens and a description of what it fails to do. Often the most useful input in the package.
Shanghai Silk Optical Technology has worked on custom lens programmes since 2016, covering optical design, tooling, moulding, coating, assembly and MTF testing. Most projects arrive as a sensor plus an imaging requirement rather than a finished drawing, and part of the job is turning that into a specification the factory can hold. The optical design and customized products pages describe the scope, and the product catalogue lists interfaces that already exist.
Custom lens development is sequential. Requirements decide the design, the design decides the tolerances, the tolerances decide the tooling and the yield, and the yield decides the price. Teams that arrive with a complete requirement set and a clear view of which numbers are negotiable usually reach production in about five months. Teams that arrive with a competitor's sample and a target price spend the first two of those months discovering what they need.