When it comes to custom fixed-position cameras, the question customers ask most often is not 'What lens should I use?' but 'How much area will I actually see, how clear will it be, and how much depth range will stay in focus?' These three metrics—field of view, depth of field, and resolution—are often discussed separately, but in real implementation, they must be placed in the same table, constraining each other and being decided together. Delivering a reliable calculation table essentially means translating the customer's scene requirements into optical parameters, then working backwards to a purchasable hardware solution.
The first step is to define the working distance and the field of view range. The installation position of a fixed-position camera usually does not change arbitrarily, so start by measuring the actual distance from the camera to the object under inspection, as well as the horizontal and vertical dimensions the object needs to cover. At this stage, 'roughly right' is the worst enemy; even a two-centimeter error can lead to the wrong field of view angle and distort the resolution downstream. With these two sets of numbers, the approximate focal length range of the lens becomes clear, and you can also judge whether a fixed focal length or zoom lens is needed, and whether a telecentric optical path is required.
The second step is the coupled calculation of depth of field and resolution. Many people assume that resolution is only related to pixel count, but in fact depth of field is closely tied to aperture, pixel size, and working distance. Set an acceptable minimum object-side resolution, for example how many line pairs per millimeter can be distinguished, and then use that threshold to derive the allowable aperture range. The larger the aperture, the more light enters, but the depth of field becomes shallower; stopping down the aperture increases depth of field, but diffraction will blur fine details. This trade-off needs to be calculated with specific numbers, not decided by experience or gut feeling.
Finally, organize the calculation results into a deliverable calculation table. The left side of the table lists the input conditions: working distance, target field of view, minimum resolution, and allowable distortion range. The right side lists the output results: recommended focal length, aperture range, depth of field interval, theoretical resolution accuracy, and the corresponding camera and lens model options. Attach a brief note after each value, for example, 'At aperture F5.6, the working distance of 600mm ±15mm can meet the 0.1mm resolution requirement.' This way, the customer can use it directly for proposal review and easily follow up with testing and validation.
Of course, this table is not the final word. Different light source brightness, reflection characteristics of the object surface, and vibration tolerance of the fixture can all cause deviations between theoretical values and actual performance. So when delivering the table, it is best to include a suggestion: first build a prototype based on the parameters in the table, take a few images of actual workpieces, and then adjust the aperture or focal length. The real value of the calculation table is to make sure the debugging direction is correct from the start, rather than starting from zero and trying blindly.
The core of custom fixed-position cameras is not selling you a camera with the highest pixel count; it is letting you clearly know: at which position, with which lens, with what clarity, and with how much allowable deviation. This calculation table is the written proof of that knowledge.
