# 自动对焦

自动对焦（AF）是相机中自动调节镜头、使所选主体清晰成像的系统：它检测主体、测定其距离，并相应地移动光学系统。<sup>[1](https://www.nikon.com/company/technology/technology_fields/software_and_systems/af_system/)</sup> 它大致分为两大类：被动式系统根据穿过镜头的光来判断对焦，主动式系统则发射红外光或激光等信号，直接测量距离。<sup>[2](https://cdn.cambridgeincolour.com/tutorials/camera-autofocus.htm)</sup>

| 关键事实 | 详情 |
|---|---|
| 被动式方法 | 对比度检测通过调整镜头来提高图像对比度；相位检测将入射光分成两束，读取两幅图像之间的错位，以找到正确的镜头位置<sup>[1](https://www.nikon.com/company/technology/technology_fields/software_and_systems/af_system/)</sup> |
| 主动式方法 | 胶片紧凑型相机中的红外三角测距；智能手机中的激光飞行时间测距，在弱光下有效<sup>[3](https://global.canon/en/c-museum/history/story06.html)</sup><sup> • </sup><sup>[4](https://www.qualcomm.com/news/onq/2015/06/super-fast-precise-image-capture-snapdragon-hybrid-auto-focus)</sup> |
| 首台自动对焦相机 | 柯尼卡（Konica）C35AF，1977 年，采用霍尼韦尔（Honeywell）的 Visitronic 被动三角测距模块<sup>[3](https://global.canon/en/c-museum/history/story06.html)</sup> |
| 首台自动对焦单反 | 1985 年推出；佳能（Canon）EOS 650 于 1987 年跟进，采用电子卡口和环形超声波马达<sup>[5](https://global.canon/en/intellectual-property/history/imaging.html)</sup> |
| 传感器上相位检测 | 全像素双核 CMOS AF，首次应用于佳能 EOS 70D（2013 年），使每个像素同时承担成像与相位检测<sup>[5](https://global.canon/en/intellectual-property/history/imaging.html)</sup> |
| 对焦模式 | AF-S（单次），适用于静止主体；AF-C（连续，佳能称为人工智能伺服），用于追踪运动主体<sup>[6](https://digitalcamera-support-en.fujifilm.com/digitalcameraengpcdetail?aid=000008363)</sup> |
| 性能限制 | 光线水平、主体对比度和相机或主体运动是影响自动对焦的三个最重要因素<sup>[2](https://cdn.cambridgeincolour.com/tutorials/camera-autofocus.htm)</sup> |

## 被动式自动对焦如何工作

**对比度检测**利用图像传感器本身测量场景中的对比度。相机软件让镜头遍历对焦位置范围，评估对比度如何变化，并停在对焦结果最锐利的位置；这里假定最大对比度对应最大锐利度。<sup>[2](https://cdn.cambridgeincolour.com/tutorials/camera-autofocus.htm)</sup><sup> • </sup><sup>[4](https://www.qualcomm.com/news/onq/2015/06/super-fast-precise-image-capture-snapdragon-hybrid-auto-focus)</sup> 由于系统必须搜索，它无法预知该朝哪个方向、移动多远，因此比相位检测慢。<sup>[7](https://www.youtube.com/watch?v=Tk-Y34nMkeY)</sup>

**相位检测**将入射光分成两束，并像测距仪那样，根据两幅所得图像之间的错位来判断正确的镜头位置。<sup>[1](https://www.nikon.com/company/technology/technology_fields/software_and_systems/af_system/)</sup> 在数码单反中，这由反光镜后的专用传感器完成；在现代无反相机和智能手机中，则由成像传感器本身完成，使用成对像素或掩膜像素，从略微不同的位置观察场景，就像两只眼睛由一小段基线隔开。读取相位差能让处理器精确知道镜头该移动多少、朝哪个方向移动，因此可以一步到位完成对焦，而不必搜索。<sup>[4](https://www.qualcomm.com/news/onq/2015/06/super-fast-precise-image-capture-snapdragon-hybrid-auto-focus)</sup>

**双像素传感器**将这一能力扩展到整个画面。在佳能于 2013 年在 EOS 70D 上推出的全像素双核 CMOS AF 中，每个像素由两个水平错开的光电二极管组成，因此每个有效像素都同时执行成像和相位差检测。<sup>[5](https://global.canon/en/intellectual-property/history/imaging.html)</sup><sup> • </sup><sup>[8](https://www.jstage.jst.go.jp/article/mta/4/2/4_123/_article/-char/en)</sup> 佳能报告的一种此类传感器设计，每个光电二极管的暗随机噪声为 1.8e−，每个绿色像素的灵敏度为 78Ke−/lx·sec，同时在所有像素中承担自动对焦功能。<sup>[8](https://www.jstage.jst.go.jp/article/mta/4/2/4_123/_article/-char/en)</sup> 双像素数据还能在单次拍摄中记录场景的两个子孔径视图，研究人员已将其用于对焦之外的任务，例如散焦图估计和去模糊。<sup>[9](https://arxiv.org/abs/2005.00305)</sup>

许多相机在混合系统中结合这两种被动式方法，用相位检测保证速度，用对比度检测提高精度。<sup>[10](https://www.youtube.com/watch?v=jokbIyzLde0)</sup> 例如，徕卡（Leica）SL3-P 将相位检测和对比度检测与深度映射结合，后者构建主体的三维地图以锁定主体。<sup>[11](https://www.tomsguide.com/cameras-photography/mirrorless-cameras/leica-sl3-p-review)</sup>

## 主动式自动对焦

主动式系统发射信号并测量反射。1979 年 11 月的佳能 AF35M（Autoboy）采用近红外三角测距：不再使用可动的测距镜，而是让一只发光二极管沿弧线摆动；该系统可在黑暗中以及近距离对焦，不受主体亮度或对比度影响。<sup>[3](https://global.canon/en/c-museum/history/story06.html)</sup> 佳能曾拒绝采用柯尼卡 C35AF——1977 年世界首台自动对焦相机——所使用的被动式 Visitronic 模块，因为它不适合弱光或低对比度主体。<sup>[3](https://global.canon/en/c-museum/history/story06.html)</sup>

在智能手机中，激光自动对焦使用红外激光发射器和接收器；处理器计算脉冲往返物体所需的时间来确定距离。它在弱光下尤其有效，因为此时图像传感器看到的内容太少，难以判断对比度。<sup>[4](https://www.qualcomm.com/news/onq/2015/06/super-fast-precise-image-capture-snapdragon-hybrid-auto-focus)</sup> 基于同一原理的飞行时间传感器被用于一些高端手机，以实现自动对焦和背景虚化，不过这类功能也可以只依靠 RGB 对比度或 AI 处理。<sup>[12](https://www.sony-semicon.com/en/feature/2022022201.html)</sup> 随着对完整三维相机模块的兴趣减退，大多数厂商选择了成本更低的激光自动对焦测距器，例如 VL53L5。<sup>[13](https://www.imagesensors.org/Past%20Workshops/2024%20ISSW/Papers/R06.1.pdf)</sup> 混合系统会根据光照条件在被动式和主动式方法之间切换，或同时运行两者。<sup>[4](https://www.qualcomm.com/news/onq/2015/06/super-fast-precise-image-capture-snapdragon-hybrid-auto-focus)</sup>

## 历史

这些里程碑从紧凑型相机延伸到单反，再到传感器上系统。1977 年柯尼卡的 C35AF 是世界首台自动对焦相机；1979 年佳能的 AF35M 带来了红外主动式自动对焦，并使“Autoboy”成为全自动自动对焦紧凑型相机的通称。<sup>[3](https://global.canon/en/c-museum/history/story06.html)</sup> 世界首台自动对焦单反于 1985 年问世；佳能于 1987 年以 EOS 650 作出回应，该机围绕高精度测距传感器、全电子镜头卡口和用于快速、安静移动镜头的环形超声波马达而设计。<sup>[5](https://global.canon/en/intellectual-property/history/imaging.html)</sup> 1992 年的 EOS 5 QD 和 1995 年的 EOS 55 成为世界首批具备眼控对焦的相机，它根据摄影师的视线移动来对准相机；这一思路以眼控自动对焦的形式在现代无反机身中回归：只需在取景器中看向某个主体，即可将其选中。<sup>[5](https://global.canon/en/intellectual-property/history/imaging.html)</sup><sup> • </sup><sup>[14](https://www.digitalcameraworld.com/cameras/these-are-the-best-c2pa-cameras-that-add-content-credentials-to-your-images-for-every-photographer-tired-of-the-question-is-this-ai)</sup> 全像素双核 CMOS AF 于 2013 年问世，并延续到佳能的 EOS R 无反系统。<sup>[5](https://global.canon/en/intellectual-property/history/imaging.html)</sup>

## 主体追踪与人工智能

现代自动对焦不只是设定镜头距离；它还会识别该对什么对焦，并持续跟随。连续自动对焦（AF-C，佳能称为人工智能伺服）会持续调整对焦以跟随运动主体，预测其运动，在距离变化时保持清晰。<sup>[6](https://digitalcamera-support-en.fujifilm.com/digitalcameraengpcdetail?aid=000008363)</sup><sup> • </sup><sup>[15](https://photographyicon.com/af-tracking/)</sup> 主体追踪结合高速传感器读出、片上相位检测像素、深度学习推理和预测性运动建模，即使眼睛、人脸、动物或车辆旋转或短暂被遮挡，也能持续跟随。<sup>[16](https://frameandfocal.com/photography-glossary/subject-tracking-explained)</sup>

厂商把这些取舍呈现为可调设置。佳能的伺服自动对焦追踪灵敏度从“锁定”设置到“响应”设置不等：“锁定”会较长时间保持追踪目标，但如果相机锁定了错误主体，切换会更慢；“响应”会迅速跳转到新主体，但更容易对焦到非预期主体；另有加速/减速设置，用于处理突然开始或停止运动的主体。<sup>[17](https://cam.start.canon/en/C023/manual/html/UG-05_AF-Drive_0100.html)</sup> 尼康（Nikon）Z 9 将每秒 120 次的自动对焦计算速度、深度学习主体检测，以及通过 Z 卡口进行的镜头与机身持续通信结合在一起，在高速连续拍摄中追踪无规律运动的主体；自动对焦控制与曝光分开进行，因此在逆光场景中性能依然稳定。<sup>[1](https://www.nikon.com/company/technology/technology_fields/software_and_systems/af_system/)</sup> 索尼（Sony）Alpha 7 V 系列以实时识别自动对焦和实时追踪为卖点，并具备 AI 驱动的主体识别。<sup>[18](https://www.tvtechnology.com/news/sony-unveils-alpha-7-v-full-frame-mirrorless-camera)</sup> 哈苏（Hasselblad）X2D II 100C 是该公司的首款具备连续自动对焦以及针对人、动物和车辆的主体检测自动对焦的相机，并增加了激光雷达对焦。<sup>[19](https://www.techradar.com/cameras/mirrorless-cameras/i-tested-the-minimalist-hasselblad-x2d-ii-100c-its-my-dream-portrait-and-landscape-photography-camera-that-sets-the-image-quality-bar)</sup>

## 限制

自动对焦会在一些可预见的条件下失效。三个主要因素是光线水平、主体对比度以及相机或主体运动；弱光和低对比度都会降低性能，两者叠加时更糟。<sup>[2](https://cdn.cambridgeincolour.com/tutorials/camera-autofocus.htm)</sup> 佳能的手册列出了会使自动对焦失效的主体：蓝天或平坦纯色等低对比度表面、弱光中的主体、摩天楼窗户等重复图案、细线和轮廓、强逆光或反光主体、同一自动对焦点覆盖的近处和远处主体，以及在自动对焦点内无规律运动的主体。<sup>[20](https://cam.start.canon/en/C010/manual/html/UG-04_AF-Drive_0060.html)</sup> 索尼指出，在连续拍摄中，当主体位于相位检测传感器区域之外、处于黑暗环境、以低对比度背景为衬，或使用超过 F11 至 F16 的光圈（视配置而定）时，对焦可能无法保持。<sup>[21](https://www.sony.com/electronics/support/e-mount-body-nex-3-series/articles/00059736)</sup> 浅景深留下的误差余地很小，因此在昏暗光线下用 f/2.8 拍摄的野生动物摄影师，其容错空间远小于在日光下用 f/8 测试 50 mm 镜头的评测者。<sup>[22](https://www.digitalcameraworld.com/cameras/mirrorless-cameras/modern-autofocus-isnt-the-cheat-code-everyone-says-it-is-you-can-still-miss-regularly)</sup> 针对这些限制，实际中有一些变通办法：长焦镜头上的对焦限制器可防止主体短暂离开画面时镜头向无穷远反复搜索；在自动对焦时把相机旋转 90 度，可以让竖线传感器在弱光中捕捉水平对比度。<sup>[15](https://photographyicon.com/af-tracking/)</sup><sup> • </sup><sup>[2](https://cdn.cambridgeincolour.com/tutorials/camera-autofocus.htm)</sup>

## References

1. [AF System, Nikon Technology](https://www.nikon.com/company/technology/technology_fields/software_and_systems/af_system/)
2. [Understanding Camera Autofocus, Cambridge in Colour](https://cdn.cambridgeincolour.com/tutorials/camera-autofocus.htm)
3. [Canon Camera Museum: 1976–1986](https://global.canon/en/c-museum/history/story06.html)
4. [Super-fast, precise image capture with Snapdragon hybrid auto focus, Qualcomm](https://www.qualcomm.com/news/onq/2015/06/super-fast-precise-image-capture-snapdragon-hybrid-auto-focus)
5. [The history of Canon's intellectual properties in the imaging field, Canon Global](https://global.canon/en/intellectual-property/history/imaging.html)
6. [Fujifilm digital camera support: focus modes](https://digitalcamera-support-en.fujifilm.com/digitalcameraengpcdetail?aid=000008363)
7. [What's the Difference Between Phase vs. Contrast Autofocus?, B&H Photo Video (YouTube)](https://www.youtube.com/watch?v=Tk-Y34nMkeY)
8. [A Low Noise and High Sensitivity Image Sensor with Imaging and Phase-Difference Detection AF in All Pixels, ITE Transactions on Media Technology and Communications (2016)](https://www.jstage.jst.go.jp/article/mta/4/2/4_123/_article/-char/en)
9. [Defocus Deblurring Using Dual-Pixel Data, arXiv](https://arxiv.org/abs/2005.00305)
10. [Contrast vs Phase Detection & Hybrid Autofocus (Simplified), John Peltier (YouTube)](https://www.youtube.com/watch?v=jokbIyzLde0)
11. [Leica SL3-P review, Tom's Guide](https://www.tomsguide.com/cameras-photography/mirrorless-cameras/leica-sl3-p-review)
12. [Time-of-flight (ToF) image sensor for mobile phone applications, Sony Semiconductor Solutions](https://www.sony-semicon.com/en/feature/2022022201.html)
13. [Physical and Cost Comparison of Smartphone Laser Autofocus Solutions, Image Sensor Workshop 2024](https://www.imagesensors.org/Past%20Workshops/2024%20ISSW/Papers/R06.1.pdf)
14. [The best C2PA enabled cameras, Digital Camera World](https://www.digitalcameraworld.com/cameras/these-are-the-best-c2pa-cameras-that-add-content-credentials-to-your-images-for-every-photographer-tired-of-the-question-is-this-ai)
15. [AF Tracking – Continuous Focus on Moving Subjects, Icon Photography School](https://photographyicon.com/af-tracking/)
16. [Subject Tracking Explained, Frame & Focal](https://frameandfocal.com/photography-glossary/subject-tracking-explained)
17. [Canon EOS R6 V manual: Servo AF Characteristics](https://cam.start.canon/en/C023/manual/html/UG-05_AF-Drive_0100.html)
18. [Sony Unveils Alpha 7 V Full-Frame Mirrorless Camera, TV Technology](https://www.tvtechnology.com/news/sony-unveils-alpha-7-v-full-frame-mirrorless-camera)
19. [Hasselblad X2D II 100C review, TechRadar](https://www.techradar.com/cameras/mirrorless-cameras/i-tested-the-minimalist-hasselblad-x2d-ii-100c-its-my-dream-portrait-and-landscape-photography-camera-that-sets-the-image-quality-bar)
20. [Canon EOS R3 manual: Selecting the AF Area](https://cam.start.canon/en/C010/manual/html/UG-04_AF-Drive_0060.html)
21. [Does autofocus work in Continuous Shooting modes?, Sony support](https://www.sony.com/electronics/support/e-mount-body-nex-3-series/articles/00059736)
22. [Modern autofocus isn't the cheat code everyone says it is, Digital Camera World](https://www.digitalcameraworld.com/cameras/mirrorless-cameras/modern-autofocus-isnt-the-cheat-code-everyone-says-it-is-you-can-still-miss-regularly)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 物理学 › 经典物理学 › Waves and optics › Optical technologies and instruments › Optical instrumentation › Cameras and imaging instruments

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/autofocus

English original: https://www.edgepedia.org/autofocus
