Embedded Vision Optics Guide

Lenses for Embedded Vision: Mount Selection, Sensor Matching, and Board-Level Integration

Board-level lens selection for Jetson, Raspberry Pi, and other MIPI-CSI2 camera modules, covering mount choice, sensor and CRA matching, and the power/size/cost tradeoff.

By Max Henkart, Commonlands · Updated July 2026 · 9 min read

Commonlands embedded vision setup: a board-level M12 camera wired to a single-board computer

M12(S-마운트) 렌즈는 3g-15g 규격으로 PCB 장착형 홀더에 직접 나사로 고정할 수 있고, 최대 약 1/1.8인치 크기의 센서를 지원하며(일부 모델은 1/1.7~1/1.6인치까지 지원), 산업용 C-마운트 광학 제품보다 훨씬 저렴한 가격 덕분에 임베디드 비전 분야에서 표준으로 사용됩니다. C-마운트나 CS-마운트는 애플리케이션에 가변 조리개, 더 큰 센서, 또는 C-마운트의 캠 보정 및 조리개가 보다 용이하게 제공하는 산업용 등급의 보정이 필요한 경우에만 사용하십시오.

What Lens Mount Is Best for Embedded Cameras?

M12 (S-mount) is the standard for embedded vision: the smallest form factor at 3g-15g, threading directly into a PCB-mounted holder with no adapter plate, at a fraction of the cost of industrial C-mount. Most M12 lenses cover sensors up to roughly 1/1.8 inch (select models reach 1/1.7 to 1/1.6 inch), including the IMX477, IMX219, and IMX708 on most Jetson and Raspberry Pi modules.

Embedded systems lack the design margin of a factory-floor station: a 150g C-mount lens is fine on a fixed stand, but it eats flight time on a drone, adds inertia on a robot arm, and adds fatigue on a handheld scanner. Weight, power, and unit cost compound across every embedded decision.

Thermal range is also wider outside a climate-controlled factory. A camera in a vehicle or outdoor enclosure can swing across -30 degrees C to +70 degrees C in a day, and at F/2 on a small-pixel sensor the depth of focus is only a few microns. All-glass, all-metal construction holds focus more stably than plastic-element designs. Verify thermal focus against the lens datasheet for your temperature range.

Commonlands lens mount options for embedded vision, from M12 board cameras to C-mount industrial optics.
마운트스레드일반적인 무게다음에 가장 적합합니다컬렉션
M12 (S-마운트) M12×0.5mm 3g~15g 로봇공학, 드론, 엣지 AI, 보드 카메라 M12 렌즈
M8 M8x0.35 또는 M8x0.5 1g~5g 초소형 내시경용 마이크로 카메라 M8 vs M12
CS 마운트 1"-32 UN, 12.526mm flange 50g~150g 소형 산업용 라즈베리 파이 HQ 카메라 CS 마운트 기초
C-마운트 1"-32 UN, 17.526mm flange 50g~200g 완전한 산업용 고해상도 검사 C-마운트 렌즈
시스템의 구분

C-mount and M12 are different optical systems, not two sizes of the same thing. C-mount uses an internal cam: rotating the focus ring moves lens groups to rebalance aberrations across the focus range and allow an adjustable iris. M12 is a rigid assembly with no moving groups, focused by threading the whole lens in or out, with no aberration rebalancing. Neither is a lesser version of the other; the tradeoff is cam compensation and iris control versus size, weight, and cost.

Commonlands M12 lens, holder, and CMOS sensor in an exploded board-camera stack view
보드 레벨 카메라는 렌즈, 홀더, 센서를 하나의 모듈로 통합합니다.

How Do I Match a Lens to My Embedded Sensor?

A lens-sensor mismatch shows up as vignetting, color shading, or wasted resolution. Four parameters need to line up: image circle versus sensor diagonal, chief ray angle (CRA) versus sensor microlens design, lens MTF versus sensor Nyquist frequency, and back focal length versus your sensor stack.

Image Circle Must Cover the Sensor Diagonal

The lens projects a circular image; your rectangular sensor sits inside it. An image circle smaller than the sensor diagonal vignettes the corners and fails whenever the image must fill the frame. Moderate oversizing is harmless. Circular-image fisheyes that place the whole image circle inside the frame are the deliberate exception.

Sensor formats and their diagonals for sizing a Commonlands M12 lens image circle against the sensor it must cover.
센서 형식대각선
1/4인치4.5mm
1/3인치6.0mm
1/2.5인치7.2mm
1/2.3인치 (IMX477급)7.9mm
1/1.8인치8.9mm
1/1.7인치9.5mm
1/1.6인치10.1mm

A lens rated for 1/2.5" sensors covers that size or smaller and vignettes on a 1/1.7" sensor. Datasheets list image circle in millimeters or as a format designation, and the two are not always published with matching precision, so verify against your sensor's actual diagonal. See sensor size and lens compatibility for the coverage math.

Resolution: The Lens MTF Must Clear the Sensor's Nyquist Frequency

A 12MP sensor with 1.55µm pixels has a Nyquist frequency of 1 / (2 x pixel pitch), about 322 lp/mm. That is the monochrome limit, and a Bayer color sensor samples each channel more coarsely. If the lens cannot resolve that frequency at your working aperture, the sensor's extra resolution goes to waste. Check the lens MTF chart at your aperture. Above roughly 20%-30% at Nyquist is a reasonable bar. The MTF curve guide explains the charts, and spatial resolution covers the pixel-to-lens relationship.

Work the Focal Length Math Directly

EFL = (WD × sensor_width) / FOV_width Exact for rectilinear projection (Hecht, Optics, 5th ed., section 5.2). Not an approximation. WD = working distance; FOV_width = horizontal scene width at that distance.

Run your sensor size, field of view, and working distance through the field of view calculator or EFL calculator to get the exact focal length.

How Does Chief Ray Angle Affect Embedded Camera Image Quality?

Chief ray angle (CRA) is the angle between the sensor normal and the central ray of each imaging bundle, the ray through the center of the aperture stop. It rises with image height and is set by the exit pupil distance.

Small-pixel sensors, common at 1.4µm-2.5µm in embedded cameras, use microlenses over each pixel tuned to a specific CRA curve. That curve runs from roughly 0 to 15 degrees at the edge on industrial and machine vision sensors, up to 25 to 35 degrees on mobile-class parts. Pull the curve for your sensor rather than assuming a typical value.

When the lens CRA does not track the sensor's design CRA, red, green, and blue channels fall off differently toward the edges and corner brightness drops, and software cannot fully correct it because the mismatch is wavelength- and angle-dependent at the pixel level, not a uniform gain error. Sensor and lens datasheets both specify a CRA curve. For sub-2µm pixels, check that the two track across the field, not just at the center. The full mismatch mechanics are in the Commonlands chief ray angle and mismatch guide.

이것이 임베디드 설계에 어떤 영향을 미치는가

CRA 불일치는 초기 구동 단계에서는 중앙 영역의 화질이 양호해 보이기 때문에 간과하기 쉽습니다. 이 문제는 모서리나 가장자리에서 나타나며, 대개 특정 조명 조건에서만 발생하거나 센서 개량으로 인해 마이크로렌즈 설계가 변경된 후에야 드러납니다. 새로운 카메라 모듈용 렌즈를 확정하기 전에 CRA 호환성을 반드시 확인해야 하며, 현장에서 색상 편차가 나타난 후에 확인해서는 안 됩니다.

How Do M12 Lenses Integrate With Jetson and Raspberry Pi Camera Modules?

Jetson Nano, Xavier NX, and Orin modules connect through M12 holders screwed to the PCB on a standard 18mm or 20mm hole spacing, in solderable and snap-in variants. Raspberry Pi and most other MIPI-CSI2 board cameras use the same holder pattern. Common sensors are the IMX477 (Raspberry Pi HQ camera), IMX219 (Camera Module v2), and IMX708. Because M12 has no standardized flange distance, focus is set by how far the lens threads in, and back focal length (BFL) varies by design.

That variability is a feature for board-level integration, not a defect. When you swap camera modules, or the same lens design needs to work across two sensor stacks with different cover glass or IR filter thickness, the fix is a holder of the correct height rather than a different lens.

Confirm holder height against the lens's specified back focal length and your full sensor stack (bare sensor, cover glass, IR filter, any spacer) before finalizing the PCB footprint. Commonlands' M12 lens holder selection guide covers holder height selection and thread engagement in detail.

Multi-camera designs raise the bar further. A stereo pair or array must be matched in focal length and distortion profile across every module, since those set the disparity-to-range scale and rectification accuracy and cannot be trimmed at assembly. Back focal length variation between units, by contrast, is absorbed by focusing each lens individually. Bulk-buying from one production lot reduces optical unit-to-unit variation but does not eliminate it, so verify corner focus on each unit during bring-up, not only the center.

Lens Selection by Embedded Application

Edge AI and NVIDIA Jetson Platforms

Jetson Nano, Xavier NX, and Orin modules pair with MIPI-CSI2 camera boards on M12 holders. A mid focal length covers general-purpose vision at arm's length to room scale. A wider one suits surround-view and obstacle detection, trading fine detail for coverage.

도어벨 카메라 초소형 M8 어안 렌즈 D

195°@5.2mm 어안 렌즈

$29.00

.STP 파일 다운로드상품 보기
IMX415용 M8x0.35 렌즈

2.8mm 소형 렌즈

$29.00

.STP 파일 다운로드상품 보기
바슬러 Dart 카메라 IP67 M12 렌즈

왜곡 없는 3.2mm 렌즈

$39.00

.STP 파일 다운로드상품 보기
Blackfly S-마운트 카메라용 6mm M12 렌즈

고속 6mm M12 렌즈

$39.00

.STP 파일 다운로드상품 보기

임베디드 비전 렌즈 둘러보기 | M12 렌즈, S-마운트 렌즈

Robotics and AMR Navigation

Mobile robots usually run two camera roles on two lenses: wide-angle or fisheye for obstacle avoidance, where geometric accuracy does not matter, and low distortion for SLAM, where feature matching depends on accurate geometry. See Commonlands' lenses for robotics for dual-camera architectures.

Surveillance and Security

Day/night operation needs both a way to admit near-infrared light (a switchable IR-cut filter, or none) and an IR-corrected lens to hold focus across both bands. A fixed IR-cut filter blocks near-infrared, so the camera goes blind when an 850nm illuminator switches on. Removing it without an IR-corrected lens leaves the night image out of focus, since visible and near-infrared light focus at different planes.

Top M12 Lenses for Embedded Vision

The Commonlands lenses below span 0.8mm to 7.8mm focal length at F/1.45 to F/2.3, covering general-purpose vision, low-light surveillance, low-distortion SLAM, and ultra-wide surround view on Jetson and Raspberry Pi camera modules. All are stocked, all-glass or hybrid designs that thread into a standard M12x0.5mm holder.

M12 lens picks for embedded vision on Jetson and Raspberry Pi camera modules, spanning 0.8mm to 7.8mm focal length.
순위렌즈EFLF값이미지 서클임베디드 분야에서 가장 적합한 용도
1 CIL078 7.8mm M12 lens 7.8mm F/2.0 9.2mm 최대 1/1.7인치 크기의 8MP 센서를 활용한 범용 비전 (Jetson, Raspberry Pi)
2 CIL059 5.9mm M12 lens 5.9mm F/1.7 9.0mm 고속 범용, 스테레오 및 검사용 카메라; IP67 등급 모델 제공
3 CIL326 2.9mm M12 lens 2.9mm F/1.45 6.8mm 광각 저조도 감시, 실외용 카메라에 적합한 IP67 등급
4 CIL034 3.25mm M12 lens 3.25mm F/2.3 7.8mm 저왜곡 SLAM 및 실외 로봇 공학; M12A 모델의 IP67 등급
5 CIL239 1.8mm M12 fisheye 1.8mm F/2.0 5.2mm 1/4인치~1/3인치 센서를 이용한 적외선 보정 주야간 장애물 회피
6 CIL207 0.8mm M12 fisheye 0.8mm F/1.9 4.0mm 220도 초광각 서라운드 뷰 및 장애물 감지

EFL, F-number, and image circle values are as published on each linked product page. CIL034 lists F/2.3 to F/4.2 across its variants. The CIL239 and CIL207 image circles are deliberate circular-image fisheye configurations, the exception noted in the image circle section. Ranking reflects breadth of embedded use, not optical quality order.

Commonlands M12 lens in an aluminum holder over a compact sensor board with a ribbon cable
A ribbon cable carries the sensor data to the host board.

자주 묻는 질문

임베디드 비전 시스템용 렌즈는 어떻게 선택해야 할까요?

센서 형식, 마운트 유형, 시야각, 작동 환경이라는 네 가지 제약 조건부터 시작하십시오. 센서 형식은 최소 이미지 서클을 결정합니다. 대부분의 임베디드 카메라는 소형화를 위해 M12를 사용합니다. 작동 거리와 필요한 시야각을 바탕으로 초점 거리를 계산한 다음, IP 등급, IR 보정 기능, 그리고 센서의 마이크로렌즈 설계와 CRA 호환성을 기준으로 필터링하십시오.

임베디드 카메라에는 어떤 렌즈 마운트가 가장 적합할까요?

M12 (S-mount) is standard for embedded vision. It weighs 3g-15g, threads directly into a PCB-mounted holder, and covers sensors up to roughly 1/1.8 inch in most models (select models reach 1/1.7 to 1/1.6 inch). Common examples include the IMX477, IMX219, and IMX708. Choose M8 for ultra-compact designs. Choose C-mount or CS-mount when you need a larger sensor, an adjustable iris, or industrial-grade correction that M12 lenses typically are not designed to provide.

M12 렌즈는 NVIDIA Jetson 카메라와 호환되나요?

Yes. Most Jetson-compatible camera modules use M12x0.5mm lens holders. This includes the Raspberry Pi HQ Camera M12 variant, Arducam modules, and other MIPI-CSI2 boards. M12 has no fixed flange distance, so focus is set by threading the lens in or out, which also lets you compensate for different sensor stack thicknesses between camera modules.

임베디드 비전에는 어떤 초점 거리가 필요할까요?

초점 거리는 주어진 센서와 작동 거리에서 시야각을 결정합니다. 0.5m~2m 범위에서 4mm~8mm는 범용 비전 용도에 적합합니다. 2mm~4mm는 장애물 회피 및 주변 시야에 적합합니다. 8mm~16mm는 검사 및 바코드 판독에 적합합니다. 정확한 초점 거리를 구하려면 EFL = (WD × 센서_폭) / FOV_폭 공식을 사용하거나 Commonlands EFL 계산기를 활용하십시오.

CRA는 내장 카메라의 화질에 어떤 영향을 미치나요?

Chief ray angle (CRA) is the angle at which the lens delivers light to each point on the sensor. Sensor microlenses are tuned to a CRA curve, from roughly 0 to 15 degrees at the edge on machine vision sensors up to 25 to 35 degrees on mobile-class parts, so pull the curve for your sensor rather than assuming one value. A lens CRA that does not track that curve produces color shading and corner falloff that software cannot fully correct, since the mismatch is wavelength- and angle-dependent.

Need Help Matching a Lens to Your Embedded Camera?

Send Commonlands your sensor model, target field of view, and operating environment. The optical engineering team can recommend focal length, aperture, and filter configuration, and confirm CRA compatibility before you commit to a design.