The content of the invention
In view of this, it is necessary to which a kind of information carrying means that can be used for testing camera module group is provided.
A kind of information carrying means, for connecting a camera module and an image analysis apparatus.Information transmission dress
Put including one be used for connect the camera module first interface, one be used for connect the image analysis apparatus second interface,
One caching and a processor being connected with the first interface, the second interface and the caching.The processor includes one the
One controller, a second controller, the 3rd controller.First controller is used to receive the figure by the second interface
The instruction of acquisition parameters being sent as analytical equipment, including the camera module is simultaneously sent to the camera module to control this should
Camera module sets the acquisition parameters.The second controller is used for the multiframe for receiving the camera module by the first interface and shooting
The multiple image is simultaneously cached in the caching by image.3rd controller is used to read the multiframe figure from the caching by set rate
As and by the first interface will be sent to the image analysis apparatus per the complete image of frame.
A kind of information carrying means, for connecting a camera module and an image analysis apparatus;Information transmission dress
Put including one be used for connect the camera module first interface, one be used for connect the image analysis apparatus second interface,
One caching and a processor being connected with the first interface, the second interface and the caching;The processor includes one
Central processing unit, a bus, first driver, second driver, the 3rd driver and a 4 wheel driven
Dynamic device;First driver, second driver, the 3rd driver and the fourth drive pass through the bus and the centre
Manage device communication;The central processing unit is used to control first driver to drive the first interface to read image analysis apparatus transmission
, the instructions of acquisition parameters that include the camera module, which is used to read the instruction by the bus and drive
Move the second interface and send the instruction to the camera module to control the camera module to set the acquisition parameters;3rd driving
Device is used for the multiple image for driving the second interface to read camera module shooting;The fourth drive is used for the multiple image
Write the caching;The fourth drive be additionally operable to first driver coordinate by the multiple image read to the second interface from
And read to the image analysis apparatus.
In this way, the information carrying means can transmit the acquisition parameters of the camera module to the phase by first controller
Machine module.The multiple image is cached in the caching can realize will send the figure to per the complete image of frame by the set rate
As analytical equipment, and High Speed Transfer can be realized by set rate, data can be prevented by being transmitted by the complete image of every frame
Lose and falsehood occur.
Embodiment
Referring to Fig. 1, the information carrying means 10 of better embodiment of the present invention, for connect a camera module 20 and
One image analysis apparatus 30.The camera module 20 needs to be tested after being completed, and the content of test generally comprises the camera
The image analysis apparatus 30 is transmitted to after 20 shooting image of module, the computer of image analysis software is such as installed, carries out image point
Analysis, judges whether the camera module 20 is qualified from analysis result.Such test request camera module 20 can press set bat
Take the photograph parameter shooting image and by the image of shooting at a high speed, without falsehood be transmitted to the image analysis apparatus 30.Present embodiment
Information carrying means 10 is exactly to be used to connect the camera module 20 and the image analysis apparatus, and the camera module is transmitted between
The information such as 20 acquisition parameters and image.Certainly, the application of the information carrying means 10 is not limited to present embodiment, can also
Information for terminal user is transmitted.The setting of the acquisition parameters of the camera module 20 is to build the test of the camera module 20
Condition, can be the parameters such as resolution ratio, the vertical sync period of the camera module 20.
The information carrying means 10 includes a first interface 100, one for being used to connect the camera module 20 and is used to connect
Connect 200, cachings 300 of second interface and one and the first interface 100, the second interface of the image analysis apparatus 30
200 and the caching 300 connection processor 400.The processor 400 includes 402, second controllers of first controller
404th, the 3rd controller 406.First controller 402 is used to receive the image analysis apparatus by the second interface 200
The instruction of 30 acquisition parameters sending, including the camera module 20 is simultaneously sent to the camera mould by the first interface 100
20 are organized to control the camera module 20 to set the acquisition parameters.The second controller 404 is used to receive by the first interface 100
The multiple image is simultaneously cached in the caching 300 by the multiple image of the camera module 20 shooting.3rd controller 406 is used to press
Set rate reads the multiple image from the caching 300 and will be sent to this per the complete image of frame by the second interface 200
Image analysis apparatus 30.
In this way, the information carrying means 10 can transmit the acquisition parameters by first controller 402 gives the camera mould
Group 20.It the multiple image is cached in the caching 300 can realize and send this to per two field picture by complete by the set rate
Image analysis apparatus 30, and can realize High Speed Transfer by set rate, it is transmitted and can be prevented by the complete image of every frame
Loss of data and there is falsehood.
The camera module 20 can be applied to the electronic products such as mobile phone or laptop, therefore, the second interface 200
It can be connected and realize and the connection of the camera module 20 with such electronic product.
To realize High Speed Transfer, which uses high-speed interface with the second interface 200, specifically refers to hand over
Tape swapping wide (transmission degree of sending) the order of magnitude (i.e. 1-10Gbps) of 1024 megabit per seconds (1024Mbps=1Gbps) interface, for example,
The first interface 100 is exchanged bandwidth and is existed using Universal Serial Interface 3.0 (universal serial bus, USB 3.0)
2.0Gbps or so, if in this way, the data volume of every two field picture of the camera module 20 is 800Mb, then the first interface 100
Bandwidth is exchanged at 15 frames/second (15fps).In another example the second interface 200 can use mobile industry processor interface
(mobile industry processor interface, MIPI), and with two differential clocks passages (lane, number
According to passage), the exchange bandwidth of each lane is 800Mbps or so, and in other words total bandwidth that exchanges of the second interface 200 exists
1.5Gbps left and right.
The caching 300 can use second generation Double Data Rate synchronous DRAM (double data rate
Synchronous dynamic random access memory, DDR2), its capacity can delay in 10Gb or more at the same time
Deposit the multiple image (10 frames or so or more).
The processor 400, which can use, supports the programmable of the first interface 100, the second interface 200 and the caching 300
Chip, such as field programmable gate array (field-programmable gate array, FPGA).
Referring to Fig. 2, in a more specifical embodiment, which includes a central processing unit
408th, the 3rd driver 416 of the first driver 412, one of bus 410, one the second driver 414, one and one
Four drivers 418.First driver 412, second driver 414, the 3rd driver 416 and the fourth drive 418
Communicated by the bus 410 and the central processing unit 408.The central processing unit 408, the bus 410, first driver 412
And second driver 414 coordinates the function of realizing first controller 402.The central processing unit 408, the bus 410, this
Three drivers 416, the fourth drive 418 coordinate the function of realizing the second controller 404.The central processing unit 408, this is total
Line 410, the fourth drive 418, first driver 412 coordinate the function of realizing the 3rd controller 406.
Specifically, the central processing unit 408 is used to control first driver 412 to drive the first interface 100 reading should
Instruction, decodes the instruction.If specifically, the first interface 100 uses USB 3.0, which drives for USB 3.0
Device.More specifically, which generally also includes the first interface in addition to including the acquisition parameters of the camera module 20
100th, the configured transmission of the second interface 200 and first driver 412, second driver 414, the 3rd driver 416
And the driving parameter of the fourth drive 418.
Second driver 414 is used to read the instruction by the bus 410 and is driven by driving parameter as defined in the instruction
Move the second interface 200 and send the instruction to the camera module 20, so as to set the acquisition parameters of the camera module 20.Specifically
, which can use internal integrated circuit (inter-integrated circuit, I2C) driver.
3rd driver 416 is used to read the instruction by the bus 410, and is driven by driving parameter as defined in the instruction
Move the configured transmission as defined in the instruction of second interface 200 and read the multiple image.
The fourth drive 418 is used to read the instruction by the bus 410, and will by driving parameter as defined in the instruction
Multiple image configured transmission as defined in the instruction writes the caching 300.The fourth drive 418 is additionally operable to and first drive
Dynamic device 412, which coordinates, reads the multiple image to the second interface 200, which is used for as defined in the instruction
The driving driving parameter second interface 200 sends the complete image of every frame to the image analysis apparatus 30.Specifically, the 4 wheel driven
Dynamic device 418 includes 420, cache drivers 424 of a write driver and a read driver 422.The write driver 420 is used
In driving the cache driver 424 that the multiple image is write the caching 300, which is used to drive the caching to drive
Dynamic device 424 reads the multiple image from the caching 300.More specifically, if the caching 300 uses DDR2, the cache driver
424 can use multiport DDR2 drivers, to support the extension of DDR2.
In short, those skilled in the art are it should be appreciated that the embodiment of the above is intended merely to explanation originally
Invention, and be not used as limitation of the invention, as long as within the spirit of the present invention, to above example institute
The appropriate change and variation made all falls within the scope of protection of present invention.