没有合适的资源?快使用搜索试试~ 我知道了~
首页OV5670 Camera Module Application Notes
资源详情
资源推荐
OV5670 Camera Module Application Notes
OV5670 Camera Module Application Notes
Last Modified: Sep. 29
th
, 2014
Document Revision: 1.05
OmniVision Technologies, Inc. reserves the right to make changes without further notice to
any product herein to improve reliability, function or design. OmniVision does not assume
any liability arising out of the application or use of any project, circuit described herein;
neither does it convey any license under its patent nor the right of others.
Sensor datasheet is the official document of OmniVision. Software/hardware/dual camera
applicaton notes are application guide lines for reference. If there are any difference
between sensor datasheet and application notes, please follow sensor datasheet and
kindly report the difference to OVT FAE.
This document contains information of a proprietary nature. None of this information shall
be divulged to persons other than OmniVision Technologies, Inc. employee authorized by
the nature of their duties to receive such information, or individuals or organizations
authorized by OmniVision Technologies, Inc.
1
Company Confidential
Confidential For WDS Only
OV5670 Camera Module Application Notes
Table of Contents
Related Documents...............................................................................................................................4
1. Overview of OV5670 Applications..................................................................................................5
2. Hardware Design of OV5670 Camera Module................................................................................6
2.1 Fixed Focus Camera Module with 2 lane MIPI Interface.........................................................6
2.1.1 Description of Camera Interface........................................................................................6
2.1.2 PCB/FPCB Layout Guide..................................................................................................7
2.2 Auto Focus Camera Module with 2 lane MIPI Interface...........................................................8
2.2.1 Description of Camera Interface........................................................................................8
2.2.2 PCB/FPCB Layout Guide..................................................................................................9
2.3 Deal with Lens.........................................................................................................................10
2.3.1 Light fall off.....................................................................................................................10
2.3.2 F# of Lens........................................................................................................................10
2.3.3 Focus Accuracy at infinite...............................................................................................10
2.3.4 Optical contrast................................................................................................................10
2.4 Calibration of Camera Module................................................................................................10
2.4.1 White Balance Calibration...............................................................................................10
2.4.2 VCM setting Calibration..................................................................................................10
2.5 Test of OV5670 Camera Module.............................................................................................11
2.5.1 Resolution Test................................................................................................................11
2.5.2 Focus Test........................................................................................................................11
2.5.3 Shading Test.....................................................................................................................11
2.5.4 Blemish Test....................................................................................................................11
3. Hardware Design with OV5670 Camera........................................................................................12
3.1 Host Interface...........................................................................................................................12
3.1.1 Power Supplies.................................................................................................................12
3.1.2 Clock................................................................................................................................17
3.1.3 Control Signals.................................................................................................................17
3.1.4 Image Data Signals..........................................................................................................17
3.1.5 PCB layout Guide of Host...............................................................................................17
3.2 Mechanical Design..................................................................................................................18
3.2.1 Lens Cover.......................................................................................................................18
3.2.2 Block Wide Angle Light..................................................................................................18
3.2.3 Keep Camera Module Cool..............................................................................................18
4. Hardware Operation of OV5670 Camera Module.........................................................................20
4.1 Controlled with PWDNB.........................................................................................................20
4.1.1. System Power On............................................................................................................20
4.1.2 Enter Camera....................................................................................................................20
4.1.3 Switch to Other Camera...................................................................................................21
4.1.4 Switch from Other Camera..............................................................................................22
4.1.5 Exit Camera......................................................................................................................23
4.1.6 System Power Off............................................................................................................24
4.2 Controlled with Xshutdown.....................................................................................................25
4.2.1 System Power On.............................................................................................................25
4.2.2 Enter Camera....................................................................................................................25
4.2.3 Switch to Other Camera...................................................................................................26
4.2.4 Switch from Other Camera..............................................................................................26
4.2.5 Exit Camera......................................................................................................................27
2
Company Confidential
Confidential For WDS Only
OV5670 Camera Module Application Notes
4.2.6 System Power Off............................................................................................................28
4.3 Camera Control........................................................................................................................28
4.3.1 Drive capability................................................................................................................28
4.3.2 I/O Control.......................................................................................................................28
4.3.3 MIPI Stream Control........................................................................................................28
5. Software Operation of OV5670......................................................................................................30
5.1 Register Settings......................................................................................................................30
5.1.1 Initialization (Global Setting)..........................................................................................30
5.1.2 Preview 1296x960 30fps 24M MCLK 2lane 840Mbps/lane...........................................36
5.1.3 Capture 2592x1944 30fps 24M MCLK 2lane 840Mbps/lane.........................................37
5.1.4 Video 1080p crop 30fps 24M MCLK 2lane 840Mbps/lane............................................38
5.1.5 Video 720p crop 30fps 24M MCLK 2lane 840Mbps/lane..............................................38
5.1.6 Video 640x480 120fps 24M MCLK 2lane 840Mbps/lane..............................................39
5.1.7 DCBLC............................................................................................................................40
5.1.8 Binning-Sum and Binning-Avg.......................................................................................40
5.1.9 VSYNC output and FSIN control....................................................................................40
5.1.10 First Pixel for Mirror/Flip..............................................................................................41
5.1.11 Cropping.........................................................................................................................41
5.1.12 Test Pattern....................................................................................................................41
5.1.13 Embedded line................................................................................................................42
5.1.14 LENC and Sensor Temperature.....................................................................................43
5.2 Load Calibration Data..............................................................................................................44
5.2.1 OTP MAP........................................................................................................................44
5.2.2 OTP Assignment..............................................................................................................44
5.3 Driver Functions......................................................................................................................49
5.3.1 Exposure...........................................................................................................................49
5.3.2 Gain .................................................................................................................................50
5.3.3 Gain Offset.......................................................................................................................50
5.3.4 Digital Gain and MWB Gain Control..............................................................................55
5.3.5 Gain/Exposure Table........................................................................................................55
5.3.6 Capture Sequence.............................................................................................................61
5.4 Verification of Camera Driver Functions................................................................................65
5.5 HDR Function of OV5670.......................................................................................................66
5.5.1 Dynamic Range of Camera..............................................................................................66
5.5.2 High Dynamic Range by Tone Mapping.........................................................................66
5.5.3 High Dynamic Range by Long/Short Exposure..............................................................66
5.5.4 OV5670 HDR Output by Alternate rows of Long/Short Exposure.................................67
5.5.5 OV5670 HDR Output by Long/Short Exposure in 2 Frames..........................................68
6. Tuning Image Quality.....................................................................................................................70
6.1 Using Calibration Data............................................................................................................70
6.2 Find Typical Camera Module and Corner Camera Modules...................................................70
6.3 Capture Pictures.......................................................................................................................70
6.4 Tune with ISP Tools................................................................................................................70
Revision History.................................................................................................................................71
3
Company Confidential
Confidential For WDS Only
OV5670 Camera Module Application Notes
Related Documents
“OV5670 COB Datasheet”
“High Speed Serial Interface Routing Guidelines”
“OV5670 Calibration and OTP Programming Guide”
“Camera Module Image Quality Evaluation Procedure and Criterion – RAW Sensor”
“Camera Analyzer User Guide”
4
Company Confidential
Confidential For WDS Only
OV5670 Camera Module Application Notes
1. Overview of OV5670 Applications
OV5670 is a 1/5 inch high performance 5M camera supporting 2 lane MIPI interface. It can be
used as
High Performance 5M main camera with 2 lane MIPI interface.
High Performance 1080p video camera with 2 lane MIPI interface
High Performance 720p video camera with 2 lane MIPI interface
5
Company Confidential
Confidential For WDS Only
剩余75页未读,继续阅读
ouyang07
- 粉丝: 4
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 构建智慧路灯大数据平台:物联网与节能解决方案
- 智慧开发区建设:探索创新解决方案
- SQL查询实践:员工、商品与销售数据分析
- 2022智慧酒店解决方案:提升服务效率与体验
- 2022年智慧景区信息化整体解决方案:打造数字化旅游新时代
- 2022智慧景区建设:大数据驱动的5A级管理与服务升级
- 2022智慧教育综合方案:迈向2.0时代的创新路径与实施策略
- 2022智慧教育:构建区域教育云,赋能学习新时代
- 2022智慧教室解决方案:融合技术提升教学新时代
- 构建智慧机场:2022年全面信息化解决方案
- 2022智慧机场建设:大数据与物联网引领的生态转型与客户体验升级
- 智慧机场2022安防解决方案:打造高效指挥与全面监控系统
- 2022智慧化工园区一体化管理与运营解决方案
- 2022智慧河长管理系统:科技助力水环境治理
- 伪随机相位编码雷达仿真及FFT增益分析
- 2022智慧管廊建设:工业化与智能化解决方案
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功