M12レンズとは? Sマウントの定義、M12×0.5ネジ、および選定ガイド
M12×0.5ネジ、Sマウントの名称、センサーのカバー範囲、レンズホルダー、そしてオールガラス構造とハイブリッド構造の比較を、1つの選定ガイドにまとめました。
An M12 lens (also called an S-mount lens or board camera lens) is a compact camera lens with an M12 x 0.5 thread. The "M12" means 12mm nominal thread diameter. The "0.5" means 0.5mm thread pitch. M12 lenses screw directly into a camera holder and have no fixed flange distance. Focus is set by threading the lens in or out, then locking it.
M12 optics show up in cars, QR scanners, surveillance cameras, robots, and medical devices. Comparing M12 vs C-mount: M12 wins for compactness and board-level integration, C-mount for larger sensors and a standardized flange distance.
M12レンズとは何ですか?
M12レンズとは、直径12mm、ねじピッチ0.5mmのネジ式マウントを備えた小型カメラレンズのことです。このマウントは、カメラモジュールやPCB上のレンズホルダーに直接ねじ込みます。M12レンズは、重量が数十グラムではなく数グラム程度であり、より大型の産業用フォーマットよりも低コストであるため、組み込みビジョンシステムの標準的な光学系として採用されています。
The Commonlands M12 lens collection runs from 0.8mm fisheye to 100mm telephoto, covering sensor formats from 1/6" through 1/1.6".
What Does M12 x 0.5 Mean?
"M12 x 0.5" is the thread specification for the lens mount: M12 means the nominal major diameter of the thread is 12mm, and 0.5 means the thread pitch is 0.5mm, the distance between adjacent thread peaks. The spec follows the ISO metric screw thread standard and defines the mechanical interface only. It says nothing about optical performance, focal length, sensor coverage, or image quality. Those come from the lens design itself.
What Is an M12 Lens Used For?
M12 lenses go into any smart device that needs to see under board-level packaging constraints. Field of view, resolution, and ingress protection vary widely across the Commonlands catalog. The application defines the lens, not the mount.
- 自律移動ロボットおよび倉庫用AMR(ナビゲーション、障害物検知)
- 工場用マシンビジョンノード(バーコード読み取り、存在検知、検査)
- ドローンおよびUAV(重量制限が厳しい場合の搭載カメラ)
- スマート交通・駐車監視カメラ(コンパクトな屋外用筐体)
- 医療用および携帯型デバイス(短い光学スタック、コスト重視)
- 民生用電子機器およびウェブカメラ(コンパクトカメラモジュール)
What Sensor Sizes Work With M12 Lenses?
Most Commonlands M12 lenses support sensor formats from 1/6" through 1/1.8". Some models extend coverage to 1/1.7" or even 1/1.6". The lens image circle must be larger than the sensor diagonal. If the image circle is too small, you get vignetting (dark corners) and soft edges.
イメージサークル以外にも、主光線角(CRA)の適合性を確認してください。マイクロレンズを搭載した最新のCMOSセンサーには、CRAに関する要件があります。CRAの不一致は、カラーシェーディングや四隅の応答性の低下を引き起こします。詳細については、「主光線角と不一致に関するガイド」を参照してください。
M12 Lens vs C-Mount: Which Should You Choose?
| パラメータ | M12 / Sマウント | Cマウント | CSマウント |
|---|---|---|---|
| ねじの仕様 | M12 × 0.5 | 1"-32 UN | 1"-32 UN |
| フランジ焦点距離 | 規格なし(レンズによって異なる) | 17.526mmに固定 | 12.526mmに固定 |
| フォーカス法 | レンズ全体を完全に差し込んだり引き抜いたりしてから、ロックしてください | カム駆動式フォーカスリングまたはバックフォーカス調整 | フォーカスリングまたはバックフォーカス調整 |
| アイリス制御 | 通常、固定絞り(アイリスリングなし) | 多くのレンズに搭載されている調整可能な絞りリング | レンズによっては、絞り羽根が付いているものもあります |
| 代表的なレンズの質量 | 3~15グラム | 50~200グラム | 30~100グラム |
| 一般的なセンサーの検知範囲 | 最大 1/1.8 インチ(一部のモデルでは 1/1.7 インチ~1/1.6 インチ) | 最大1インチ以上 | 約2/3インチ |
| こんな方に最適 | 組み込みシステム、ドローン、ロボティクス、小型センサー | 産業用検査、大型センサー | ITS、セキュリティ、Raspberry Pi HQ |
A C-mount lens focuses through an internal cam that moves lens groups relative to each other, rebalancing aberrations across the focus range (Kingslake, Lens Design Fundamentals). An M12 lens is rigid: threading it in or out moves the whole lens, with no internal rebalancing, so the two behave differently at short working distances.
See the lens mount guide: M12 vs C-mount vs CS-mount, or browse Commonlands C-mount lenses for larger formats.
How Do You Choose an M12 Lens Holder?
The holder provides the M12 x 0.5 threaded bore, screws to the board over the sensor, and sets the starting distance between board and lens. Too short and the image plane falls behind the sensor. Too tall and the lens bottoms out before infinity focus. The height has to place the lens mechanical back focal length (MBFL) within the thread's few millimeters of travel, not match it exactly, so check the MBFL on the lens datasheet before ordering.
Black PC is fine for prototyping. LCP (liquid crystal polymer) holds its dimensions better across temperature swings, which matters because holder drift becomes focus shift. Aluminum is the choice for sealed assemblies. The IP rating guide covers when IP67 or IP69K is required. Avoid 3D-printed holders in production.
Commonlands M12 Lens Holders
All holders below use the M12 x 0.5 thread and are $4.50 each. Lens not included. See the product pages for mechanical drawings.
| ホルダー | 高さ | 穴の間隔 | 素材 | こんな方に最適 |
|---|---|---|---|---|
| CLA020 | 10mm | 20mm | ブラックのPC | 汎用、試作 |
| CLA021 | 7mm | 20mm | LCP | 薄型設計、熱的安定性 |
| CLA022 | 8mm | 22mm | ブラックのPC | 薄型、基板間ピッチ22mm |
| CLA024 | 12mm | 22mm | LCP | より長いMBFLレンズ |
Adapters and Motorized Mounts
To run an M12 lens on a C-mount or CS-mount camera, the M12-to-CS adapter ($12.00) threads into the body and adds an internal M12 thread with a focus lock ring. It adds optical path length, so check the lens MBFL against the combined depth. The CLA811 M8-to-M12 adapter mounts smaller M8 x 0.5 lenses in an M12 bore.
For remote or closed-loop focus, the CLA322 piezoelectric mount holds position with no power applied, while the CLA321 voice coil mount drives continuous autofocus but needs power to hold. Both take standard M12 x 0.5 lenses. The CLA321 uses 23.5mm hole spacing.
How Do You Focus an M12 Lens?
M12レンズのピント合わせは、ライブビューを見ながらレンズ本体をホルダーにねじ込んで出したり引き出したりし、目的の距離で像が鮮明になったらバレルをロックすることで行います。フォーカスリングはありません。M12のボディは剛性が高く、ネジ山そのものがピント調整機構となっているからです。
ピントの位置は撮影距離によって異なります。無限遠にピントを合わせたレンズは、近距離ではぼやけてしまい、その逆も同様です。詳しい手順については、「カメラのピント合わせ方」をご覧ください。
A focused lens that is not locked will drift under vibration. Lock it with a lock ring against the holder face (re-focusable), thread adhesive such as Loctite 222 or 243 (the standard production method), or a set screw, which can introduce tilt if overtightened. Confirm focus before the adhesive cures.
All-Glass vs Hybrid M12 Lenses: Which Construction Do You Need?
An all-glass M12 lens uses only glass optical elements. A hybrid glass-plastic lens mixes glass with molded polymer elements. All-glass construction holds focus more consistently across temperature because glass has lower thermal expansion and a more stable refractive index. Hybrid construction costs and weighs less. The operating environment decides which you need.
Construction shows up on spec sheets as element notation: "8G" means eight glass elements (all-glass). "2G4P" means two glass and four plastic (hybrid). If a datasheet omits it, ask the supplier, since hybrid is common at low price points. Molded plastic aspheres are not a shortcut. They hit surface shapes that are expensive to grind in glass. The difference that matters is thermal behavior, not baseline image quality.
| 建設 | 次のような場合に選択してください | 主な妥協点 |
|---|---|---|
| 全面ガラス、全面金属 | 屋外、車載、または温度サイクルが繰り返される環境での導入。画素サイズの小さい高解像度センサーで、被写界深度の余裕が限られている場合。設置後の再フォーカス調整ができない場合。 | コストが高くなり、数グラム重くなる |
| ガラス・プラスチック複合材 | 温度管理された屋内環境;解像度が低い、あるいは画素サイズが大きく、被写界深度の許容範囲が広いセンサー;コストや重量に制約のあるシステム構成 | 温度の変化に伴い、焦点のずれがさらに大きくなる |
Validate either construction the same way: fix a resolution target at the working distance, cycle the assembly across the full operating temperature range, and confirm sharpness holds. Focus shift depends on the lens, sensor, and housing together, so do not rely on datasheets alone. For deployments with shock, vibration, or ingress, see the Commonlands ruggedized lens guide.
How Do You Choose the Right Focal Length?
Focal length determines field of view: shorter focal lengths give wider views, longer focal lengths narrow the view and magnify the scene. The right choice follows from sensor width, working distance, and required scene coverage. That is why focal length is calculated from those three numbers, not guessed.
- センサーデータベースから、お使いのセンサーの幅を確認してください。
- 作業距離において、どの程度の範囲のシーンを撮影する必要があるかを明確にしてください。
- 焦点距離計算ツールを使用して、必要なEFLを推定してください。
- 視野計算ツールを使って結果を確認してください。
- 歪みについて考えてみましょう。広角レンズは、低歪みの直線型として特別に設計されていない限り、樽型歪みが生じやすい傾向があります。歪みが気になる場合は、歪みに関するガイドをご確認ください。
Top 4 M12 Lenses for Machine Vision
The best M12 lens for machine vision depends on sensor format and working distance, so no single part number wins every build. For most 1/1.8" to 1/1.7" embedded cameras a 6mm low-distortion lens (CIL059) is the general-purpose starting point, with an 8mm all-glass lens (CIL085) for tighter distortion, and a 25mm IR-corrected lens (CIL250) for long standoff. All four are Commonlands M12 lenses in stock in San Diego and ship same day on orders placed before 12 PM PST.
| ランク | レンズ | EFL | F# | 対応センサーフォーマット | こんな方に最適 |
|---|---|---|---|---|---|
| 1 | CIL059 | 5.9mm | F/1.7 (F/2.8, F/4.0, F/5.6 variants) | 最大 1/1.7インチ | 汎用マシンビジョン、バーコード読み取り、IP67対応の屋外用オプション |
| 2 | CIL085 | 8.2mm | F/3.0 (F/4.4 variant) | 1/1.8インチ(8.9mmのイメージサークル) | 低歪み(-0.9%)、12MP解像度、内蔵ステレオ、全ガラス構造による熱安定性 |
| 3 | CIL250 | 25mm | F/2.0 | 1/1.7インチ | 長い作動距離、昼夜を問わない近赤外(NIR)イメージング |
| 4 | CIL083 | 8.0mm | F/2.8 | 1/1.8インチ(9.0mmのイメージサークル) | Lightweight, cost-sensitive indoor builds |
CIL085 and CIL083 sit at the same 8mm focal length but different construction: the all-glass CIL085 holds focus across temperature, while the hybrid CIL083 trades some thermal stability for lower weight and cost. The all-glass vs hybrid comparison above covers when that difference matters.
M12 Lens Suppliers Compared: Manufacturers vs Resellers
| サプライヤー | 拠点を置く | 役割 | 彼らの得意分野 |
|---|---|---|---|
| コモンランズ | 米国(サンディエゴ) | 米国でのカスタム設計・組み立て。また、カタログ掲載レンズの販売も行っています。 | 0.8mm~100mmのM12カタログ(MTFおよび歪みデータ掲載)、SKUごとのデータシートおよびCADデータ、米国在庫による当日発送、およびエンジニアリング部門による直接サポート |
| エドマンド・オプティクス | アメリカ | 製造・販売業者 | 詳細な技術資料を掲載した、幅広いマウントに対応したカタログ |
| Lensation | ドイツ | デザインサービスを提供する販売代理店。製造は行わない。 | 取締役会レベルでのレンズ調達およびOEMプログラム向け特注M12光学系 |
| Arducam | 中国 | カメラモジュールメーカー。M12レンズを再販している。 | Raspberry Piおよび組み込みプロトタイピング向けの、M12レンズとセンサーボードを組み合わせたカメラモジュールおよび開発キット |
| トウィン | 中国 | 販売代理店;製造は行っていません | 低単価かつ大量生産が可能な標準M12ボードレンズ |
よくある質問
Commonlands stocks M12 lenses from fisheye to 25mm telephoto, with same-day shipping on orders before 12 PM PST. These answers cover the standard itself.
M12レンズとCマウント:どちらを選べばいい?
サイズ、重量、コストが優先されるコンパクトな組み込みシステムには、M12をお選びください。約1/1.8"を超えるセンサー、絞り調整機能が必要な用途、または17.526mmの固定された標準フランジ距離を必要とするシステムには、Cマウントをお選びください。詳細な比較については、レンズマウントの比較表をご覧ください。
M12レンズのピントはどのように合わせればよいですか?
M12レンズには固定のフランジ距離がありません。ライブ画像を確認しながら、ホルダーにレンズをねじ込みたり引き出したりしてピントを合わせてください。作業距離で画像が鮮明になったら、止めネジ、ロックリング、またはネジロック剤を使用してレンズを固定してください。ピント合わせの手順については、「カメラのピント合わせ方法」をご覧ください。
自分のカメラにぴったりのM12レンズホルダーをどのように選べばよいですか?
3つのパラメータを一致させる必要があります。それは、穴間隔(基板の取り付け穴間の中心間距離。通常は18mm、20mm、または22mm)、ホルダーの高さ(レンズの機械的後焦点距離がネジ調整範囲内にあること)、およびネジの種類(M1.6、M1.7、またはM1.8)です。形状が適合していれば、材質(PC、LCP、またはアルミニウム)は二次的な要素となります。
全ガラス製のM12レンズと、ガラスとプラスチックのハイブリッド製のM12レンズの違いは何ですか?
An all-glass M12 lens uses only glass optical elements, usually in a metal barrel. A hybrid glass-plastic lens combines glass with molded polymer elements. All-glass construction holds focus more consistently across temperature swings. Hybrid designs cost and weigh less. Outdoor and automotive systems favor all-glass. Temperature-controlled indoor systems can use hybrid designs successfully.
CSマウントのカメラにM12レンズは取り付けられますか?
はい、CSマウント本体にねじ込み、内部にM12ネジとフォーカスロックリングを備えたM12-CSアダプターを使用します。このアダプターは光路長を延長するため、ご注文の前に、レンズの機械的後焦点距離と組み合わせた際の奥行きを確認してください。
Need Help Choosing an M12 Lens?
Commonlands社は、マシンビジョンおよび組み込みビジョン向けのM12、Cマウント、M8レンズを製造しています。センサーの型番と用途を、engineering@commonlands.comまでサンディエゴのエンジニアリングチーム宛てにお送りいただくか、+1 (858) 333-7325 までお電話ください。太平洋標準時(PST)正午までにご注文いただいた場合は、当日発送いたします。



