当前位置:网站首页>Camera module and hardware interface of Camera1 camera
Camera module and hardware interface of Camera1 camera
2022-06-24 19:23:00 【Me-Space】
One 、Camera Module introduction
The picture of the camera structure module is as follows :
Camera The module is mainly composed of the following parts :
(1) working principle
Objects pass through the lens (lens) Aggregated light , adopt CMOS or CCD The integrated circuit , Convert optical signals into electrical signals , And then through the internal image processor (ISP) It is converted into a digital image signal and output to a digital signal processor (DSP) Processing , Convert to standard GRB、YUV Equal format image signal .
(2)CCM It contains four pieces
The lens (lens)、 sensor (sensor)、 Soft plate (FPC)、 Image processing chip (DSP).
The components that determine the quality of a camera are : The lens (lens)、 Image processing chip (DSP)、 sensor (sensor).
The lens (lens):
Lens is the soul of camera , The lens (lens) It plays an important role in imaging effect , It uses the refraction principle of the lens , The scene light passes through the lens , Form a clear image on the focus plane , Through photosensitive materials CMOS or CCD The photoreceptor records the image of the scene .
sensor (sensor):
Sensor is CCM Core module , At present, there are two widely used :
One is CCD( Charge coupling ) Components ;
The other is CMOS( Complementary metal oxide conductor ) device .
Image processing chip (DSP):
DSP yes CCM An important part of , Its function is to transmit the data obtained by the photosensitive chip to the central processing unit in time and quickly and refresh the photosensitive chip , therefore DSP The quality of the chip , Directly affect the quality of the picture ( Such as color saturation 、 Clarity, etc ).
(3) Image processing format
①YUV:
“Y” Indicates brightness (Luminance、Luma),“U” Said the chromaticity (Chrominance),“V” Indicates the concentration (Chroma). In general sensor Support YUV422 Format is by Y-U-Y-V Sequential output .
②JPEG:
As a storage format, it is very common , But as a sensor The output format of , Generally low resolution comes with JPEG engine, You can directly output compressed jpg Format data .
③RGB:
Traditional red and blue format , Such as RGB565. Generally speaking, its color mixing method seems to have red 、 green 、 Three blue lights , When their light overlaps with each other , Mix colors , The brightness is equal to the sum of the two brightness , The brighter the mixture is , That's additive mixing .
④RAW:
The image sensor converts the captured light source signal into the original data of the digital signal .RAW A file is a record of the original information of a digital camera sensor , At the same time, some original data generated by camera shooting are recorded (Metadata, Such as ISO Set up 、 shutter speed 、 Aperture value 、 White balance and so on ) The file of .RAW It's unprocessed 、 Also uncompressed format , You can put RAW Conceptualized as “ Raw image encoded data ” Also known as “ Digital film ”.
Different output formats , Contains data of different sizes :
First , If the amount of data is the smallest , Then nothing is better than RAW Format , however , The information in the data can only be extracted after a large amount of calculation at one time , If you want to use , commonly 5M The above senseor Just output RAW Data to ensure faster output speed , Hang one at the back end DSP To process the output data . The second is JPEG, The amount of data is also very small , But it also requires faster processing speed . and RGB and YUV One pixel is occupied 2B Size , however RGB But the data can be read out and directly displayed on the screen .
Why choose YUV Format ?
The reason lies in YUV The output brightness signal has no loss , The human eye is not particularly sensitive to color shift signals ,RGB565 The output format is R5、G3、B5 Will lose a lot of original information , therefore YUV Image quality and stability are better than RGB565 Much better .
(4) Relationship between sensor size and image quality
The influence of sensor size on image quality , It's the same as before , Is the difference between the correctness and integrity of the collected light data . With the same pixels :
① The larger the sensor area , The larger the area of the photosensitive array , The greater the distance between adjacent photosensitive circuits , The smaller the electromagnetic interference generated when the power is on .
② The larger the sensor area , The larger the area of the photosensitive array , The larger the lens corresponding to a high single pixel , The more light it gathers , The higher the output level of the photodiode after receiving light . Assume that the noise level is constant , Then a larger useful output level , Higher signal-to-noise ratio , The higher the accuracy of the converted information processing .
③ Why when the light is very good , The difference between sensor sizes will be reduced ? Because even if the sensor is small , But the light is strong enough , Each photodiode receives enough light , The greater the signal-to-noise ratio , The noise is reduced .
(4) Image resolution 、 The resolution of the (Resolution)
QSIF/QQVGA | 160 x 120 | 19200 | |
---|---|---|---|
QCIF | 176 x 144 | 25344 | |
SIF/QVGA | 320 x 240 | 76800 | |
CIF | 352 x 288 | 101376 | 10 Mega pixels |
VGA | 640 x 480 | 307200 | 30 Mega pixels (35 Ten thousand means 648 x 488) |
SVGA | 800 x 600 | 480000 | 50 Mega pixels |
XGA | 1024 x 768 | 786438 | 80 Mega pixels |
SXGA | 1280 x 1024 | 1320720 | 130 Mega pixels |
Two 、Camera Hardware interface
1、camera The hardware interface of is shown in the figure below :
It mainly consists of the following five parts , Working together :
(1) Three way voltage AVDD/DVDD/IOVDD:
AVDD Analog power , Mainly for sensitive areas and ADC Partial power supply , It should be clean ;
DVDD Digital power supply , Mainly for ISP Part of the power supply ;
IOVDD Numbers IO Power Supply , to I2C and DVP Partial power supply .
(2)PDN/RST:
RST: be used for reset sensor;RESET Generally, it is low effective , When the pulse is low ,reset sensor, And in normal operation , Should be high .
The reset sequence is usually : high –> low –> high , Add a certain delay according to hardware requirements ;
PWN:PWN Generally highly effective , When the pulse is high , Enter power saving mode , It is low in normal operation . High voltage usually , Everything is right camera All operations are invalid , Including reset . So in RST Before , Be sure to will PWN The pin is set to the normal operating mode , Otherwise, reset is invalid .
(3)I2C Control interface SCL/SDA.
(4)MCLK The clock is used to divide the frequency to others clk Use .
(5)mipi Interface RCP/RCN、RDP/RDN.
2、camera The work sequence of :
camera Power on sequence during operation , Follow exactly datasheet The above sequence and time interval :
Again camera The same is true of the power down sequence :
边栏推荐
- Drawing DEM with GEE gracefully
- Working for 6 years with a monthly salary of 3W and a history of striving for one PM
- Fabric ledger data block structure analysis (I): how to analyze the smart contract transaction data in the ledger
- 8 challenges of BSS application cloud native deployment
- This is not safe
- Introduction and download tutorial of administrative division vector data
- NFT双币质押流动性挖矿系统开发
- The group offsets of the Kafka of the Flink SQL. If the specified groupid is not mentioned
- flink-sql的kafka的这个设置,group-offsets,如果指定的groupid没有提
- Game between apifox and other interface development tools
猜你喜欢
优维低代码:构件渲染子构件
Why is nodejs so fast?
R language 4.1.0 software installation package and installation tutorial
Introduction and download tutorial of administrative division vector data
Introduction and tutorial of SAS planet software
How to customize cursor position in wechat applet rotation chart
Set up your own website (8)
Network security review office starts network security review on HowNet
System design idea of time traceability
starring V6平台开发接出点流程
随机推荐
Introduction and download tutorial of administrative division vector data
应用实践 | 海量数据,秒级分析!Flink+Doris 构建实时数仓方案
Northwestern Polytechnic University attacked by hackers? Two factor authentication changes the situation!
Unityshader world coordinates do not change with the model
Tkde2022: Dialogue recommendation system based on knowledge enhanced sampling
System design idea of time traceability
通过SCCM SQL生成计算机上一次登录用户账户报告
API管理之利剑 -- Eolink
How to select the ECS type and what to consider?
Xiaobai, let me ask you guys, is MySQL binlog extracted by CDC in strict order
小滴课堂海量数据处理商用短链平台大课
Example analysis of corrplot related heat map beautification in R language
finkcdc支持sqlserver2008么?
If the programmer tells the truth during the interview
怎么使用R包ggtreeExtra绘制进化树
subject may not be empty [subject-empty]
Network security review office starts network security review on HowNet
Make track map
Ask a question. Adbhi supports the retention of 100 databases with the latest IDs. Is this an operation like this
Volcano成Spark默认batch调度器