CN109803064A - Enhance the method and device of camera module stability - Google Patents

Enhance the method and device of camera module stability Download PDF

Info

Publication number
CN109803064A
CN109803064A CN201910002309.7A CN201910002309A CN109803064A CN 109803064 A CN109803064 A CN 109803064A CN 201910002309 A CN201910002309 A CN 201910002309A CN 109803064 A CN109803064 A CN 109803064A
Authority
CN
China
Prior art keywords
signal
data
camera module
delay
clock signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910002309.7A
Other languages
Chinese (zh)
Other versions
CN109803064B (en
Inventor
陈凯
张坤
颜栋卿
庄昆瑜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Crystal Morning Semiconductor (shenzhen) Co Ltd
Original Assignee
Crystal Morning Semiconductor (shenzhen) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Crystal Morning Semiconductor (shenzhen) Co Ltd filed Critical Crystal Morning Semiconductor (shenzhen) Co Ltd
Priority to CN201910002309.7A priority Critical patent/CN109803064B/en
Publication of CN109803064A publication Critical patent/CN109803064A/en
Application granted granted Critical
Publication of CN109803064B publication Critical patent/CN109803064B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses the method and devices of enhancing camera module stability, belong to field of communication technology.The present invention obtains the maximum valid window of data-signal by adjusting clock signal, the delay of data-signal;And it obtains camera module and is in normal operating conditions, when the delay of data-signal is identical as the delay of register in processing unit, the reference time delay of corresponding clock signal;The delayed step of clock signal is set according to the reference time delay;And the delayed step of the half setting data-signal of the maximum valid window according to data-signal guarantees that camera module can work normally to realize the purpose of enhancing camera module stability.

Description

Enhance the method and device of camera module stability
Technical field
The present invention relates to field of communication technology more particularly to a kind of method and devices for enhancing camera module stability.
Background technique
Current band MIPI interface (full name: Mobile Industry Processor Interface, Chinese: mobile industry Processor interface) camera smart electronics product, system becomes increasingly complex, and function is more and more, but can not effectively protect Card MIPI interface camera can stablize accurate and effective work under different external working environments, different application scene.
Industry mainly uses two ways to improve the stability of MIPI interface camera at present, and one is high outer by precision Enclose the stability that element improves MIPI interface camera;Another kind is to find that hardware is set using long-time high-volume burn-in test Count hidden danger.However above two mode needs to increase peripheral circuit cost and human cost and can not be fully solved software and hardware system The problem of steady operation.
Summary of the invention
For the stability problem of existing MIPI interface camera, one kind is now provided and is intended to enhance camera module stability Method and device.
A method of collected data are passed through data line by enhancing camera module stability, the camera module It is transmitted to processing unit, is carried out according to data-signal of the clock edges of the camera module to the camera module Sampling;The method includes the following steps:
S1. the delay for adjusting the clock signal, data-signal, records the working condition of the camera module, and obtains Take the maximum valid window of the data-signal;
S2. it obtains when the camera module is in normal operating conditions, the delay of the data-signal and the processing When the delay of register is identical in unit, the reference time delay of the clock signal;
S3., the delayed step of the clock signal is set according to the reference time delay;
S4. the delay rank of the data-signal is arranged in the half according to the maximum valid window of the data-signal Ladder.
Preferably, the step S1 adjusts the delay of the clock signal, data-signal, records the camera module Working condition, and obtain the maximum valid window of the data-signal, comprising:
The clock signal is in default location, and ladder adjusts the delay of the data-signal one by one, and takes the photograph described in acquisition As the working condition of head module, until obtain two boundaries of the data-signal, i.e., the effective window of maximum of the described data-signal Mouthful.
Preferably, the step S2 is obtained when the camera module is in normal operating conditions, the data-signal When being delayed identical as the delay of register in the processing unit, the reference time delay of the clock signal, comprising:
The delay for adjusting the clock signal, data-signal makes in delay and the processing unit of the data-signal The delay of register is identical, and when the camera module is in normal operating conditions, obtains the delay model of the clock signal It encloses.
Preferably, data-signal of the clock edges according to the camera module to the camera module It is sampled, comprising:
It is adopted according to data-signal of the rising edge of the clock signal of the camera module to the camera module Sample.
The present invention also provides a kind of devices for enhancing camera module stability, and the camera module will be collected Data are transmitted to processing unit by data line, according to the clock edges of the camera module to the camera module Data-signal sampled;Include:
Adjustment unit records the work of the camera module for adjusting the delay of the clock signal, data-signal State, and obtain the maximum valid window of the data-signal;
Acquiring unit, for obtaining when the camera module is in normal operating conditions, the delay of the data-signal When identical as the delay of register in the processing unit, the reference time delay of the clock signal;
Setting unit, for the delayed step of the clock signal to be arranged according to the reference time delay, according to the data The delayed step of the data-signal is arranged in the half of the maximum valid window of signal.
Preferably, the adjustment unit is used to be in default location in the clock signal, and ladder adjusts the number one by one It is believed that number delay, and the working condition of the camera module is obtained, until obtaining two boundaries of the data-signal, i.e., The maximum valid window of the data-signal.
Preferably, the acquiring unit is used to adjust the delay of the clock signal, data-signal, makes the data-signal Delay it is identical as the delay of register in the processing unit, and when the camera module is in normal operating conditions, obtain Take the reference time delay of the clock signal.
Preferably, data-signal of the clock edges according to the camera module to the camera module It is sampled, comprising:
It is adopted according to data-signal of the rising edge of the clock signal of the camera module to the camera module Sample.
Above-mentioned technical proposal the utility model has the advantages that
In the technical program, by adjusting clock signal, the delay of data-signal, the effective window of maximum of data-signal is obtained Mouthful;And it obtains camera module and is in normal operating conditions, the delay phase of the delay of data-signal and register in processing unit Meanwhile the reference time delay of corresponding clock signal;The delayed step of clock signal is set according to the reference time delay;And according to data The delayed step of the half setting data-signal of the maximum valid window of signal, to realize that enhancing camera module is stablized The purpose of property, guarantees that camera module can work normally.
Detailed description of the invention
Fig. 1 is a kind of method flow diagram of embodiment of the method for enhancing camera module stability of the present invention;
Fig. 2 a- Fig. 2 e is the schematic diagram of present invention adjustment clock signal, data-signal;
Fig. 3 is the clock signal of camera module of the present invention and the timing diagram of data-signal;
Fig. 4 is a kind of module map of embodiment of the device of enhancing camera module stability of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art without creative labor it is obtained it is all its His embodiment, shall fall within the protection scope of the present invention.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase Mutually combination.
The present invention will be further explained below with reference to the attached drawings and specific examples, but not as the limitation of the invention.
As shown in Figure 1, the camera module will the present invention provides a kind of method for enhancing camera module stability Collected data are transmitted to processing unit by data line, are taken the photograph according to the clock edges of the camera module to described As the data-signal of head module is sampled;
It for example and without limitation, can be according to the rising edge of the clock signal of the camera module to the camera mould The data-signal of block is sampled.
The method includes the following steps:
S1. the delay for adjusting the clock signal, data-signal, records the working condition of the camera module, and obtains Take the maximum valid window of the data-signal;
In this step, the clock signal is in default location, and ladder adjusts the delay of the data-signal one by one, and The working condition of the camera module is obtained, until obtain two boundaries of the data-signal, i.e., the described data-signal Maximum valid window.
S2. it obtains when the camera module is in normal operating conditions, the delay of the data-signal and the processing When the delay of register is identical in unit, the reference time delay of the clock signal;
In this step, the delay for adjusting the clock signal, data-signal, make the delay of the data-signal with it is described The delay of register is identical in processing unit, and when the camera module is in normal operating conditions, obtains the clock letter Number reference time delay.
S3., the delayed step of the clock signal is set according to the reference time delay;
S4. the delay rank of the data-signal is arranged in the half according to the maximum valid window of the data-signal Ladder.Sampled point is set to the maximum valid window middle position of data-signal, to ensure camera module and processing unit Between data transmission stability, prevent because clock signal or data-signal shake or delay etc. in the case where cause to image Head module can not work normally extremely.
In the present embodiment, by adjusting clock signal, the delay of data-signal, the effective window of maximum of data-signal is obtained Mouthful;And it obtains camera module and is in normal operating conditions, the delay phase of the delay of data-signal and register in processing unit Meanwhile the reference time delay of corresponding clock signal;The delayed step of clock signal is set according to the reference time delay;And according to data The delayed step of the half setting data-signal of the maximum valid window of signal, to realize that enhancing camera module is stablized The purpose of property, guarantees that camera module can work normally.
In practical application, the real-time image signal taken can be converted into digital letter by the camera module of MIPI interface Number, processing unit (SOC chip) is then transferred to by the data line of camera module, processing unit is in differential clock signal Crosspoint samples these data;The purpose of the present invention is by adjusting clock signal and data-signal reach processing unit when Between optimize sampling of the clock to data, keep camera module work more stable.
As shown in Figure 2 a: clock signal is not delayed, and adjusts the delay of data-signal, until camera module operation irregularity, It can be seen that the settling time window of data-signal, when clock signal is not delayed, data-signal can be delayed 9 Step (ladder);Bright gray parts indicate that camera is working properly in figure, and dark gray section indicates camera operation irregularity;
With reference to shown in Fig. 2 b- Fig. 2 c: increasing clock signal delay, and adjust data-signal delay, obtain most data and prolong When window when corresponding clock signal delayed step range;When clock signal is delayed 6 step, data-signal can With 14 step that are delayed, when clock signal is delayed 7 or 8 or 9 step, data-signal can be delayed 15 step;
With reference to shown in Fig. 2 d- Fig. 2 e: continuing to increase clock signal delay to maximum value, then adjust data-signal delay, directly To camera module operation irregularity, it can be seen that the retention time window of data-signal, i.e., the maximum of entire data is effectively Window, when clock signal is delayed 10 step, data-signal can be delayed 13 step, when clock signal is delayed 15 When step, data-signal can be delayed 7 step.
Data-signal known to as shown in Fig. 2 a- Fig. 2 e is practical 17 step, but since register limits, can only be arranged 15 step.As shown in figure 3, when use clock signal (CSI_CLK) default value delayed step skew=0 when, actual number it is believed that It is 8 that number (CSI_DATA) setup time (settling time) window, which is 9, hold time (retention time) window, total window size For 17 step;When the delayed step (skew) that CSI_CLK and CSI_DATA is arranged is 7,8,9, it can be seen that practical total Window size is also 17, is consistent, has reached optimal with default value (clock signal and data-signal are not delayed).Sampling When point (sample pointer) is located at the half of the maximum valid window of CSI_DATA, camera module stability is most It is excellent.
It should be noted that the present invention can accurately be truly reflected out processing unit internal MIP PCI interface reality by test The data window that border samples, can be with maximized window, to ensure because working environment, product form, use condition etc. are various Factor causes MIPI camera in the case where there is clock or data dithering or delay etc. also to can work normally.The present invention Method in the register setting that is related to or operating procedure may due to different processor chips somewhat difference, But processing essence be it is identical, also can achieve identical effect.
Collected data are passed through data line by a kind of device for enhancing camera module stability, the camera module It is transmitted to processing unit, is carried out according to data-signal of the clock edges of the camera module to the camera module Sampling;
For example and without limitation, according to the rising edge of the clock signal of the camera module to the camera module Data-signal sampled.
As shown in figure 4, the device of enhancing camera module stability can include: adjustment unit 1, acquiring unit 2 and setting Unit 3;Wherein:
Adjustment unit 1 records the work of the camera module for adjusting the delay of the clock signal, data-signal Make state, and obtains the maximum valid window of the data-signal;
Specifically, adjustment unit 1 can be when the clock signal be in default location, and ladder adjusts the data letter one by one Number delay, and obtain the working condition of the camera module, it is until obtain two boundaries of the data-signal, i.e., described The maximum valid window of data-signal;
Acquiring unit 2, for obtaining when the camera module is in normal operating conditions, the delay of the data-signal When identical as the delay of register in the processing unit, the reference time delay of the clock signal;
Specifically, the acquiring unit 2 can adjust the delay of the clock signal, data-signal, make the data-signal Delay it is identical as the delay of register in the processing unit, and when the camera module is in normal operating conditions, obtain Take the reference time delay of the clock signal.
Setting unit 3, for the delayed step of the clock signal to be arranged according to the reference time delay, according to the data The delayed step of the data-signal is arranged in the half of the maximum valid window of signal.Sampled point is set to data-signal Maximum valid window middle position prevented to ensure the stability that data between camera module and processing unit are transmitted Causing camera module extremely in the case where because of clock signal or data-signal shake or delay etc. can not work normally.
In the present embodiment, by adjusting clock signal, the delay of data-signal, the effective window of maximum of data-signal is obtained Mouthful;And it obtains camera module and is in normal operating conditions, the delay phase of the delay of data-signal and register in processing unit Meanwhile the reference time delay of corresponding clock signal;The delayed step of clock signal is set according to the reference time delay;And according to data The delayed step of the half setting data-signal of the maximum valid window of signal, to realize that enhancing camera module is stablized The purpose of property, guarantees that camera module can work normally.
The foregoing is merely preferred embodiments of the present invention, are not intended to limit embodiments of the present invention and protection model It encloses, to those skilled in the art, should can appreciate that all with made by description of the invention and diagramatic content Equivalent replacement and obviously change obtained scheme, should all be included within the scope of the present invention.

Claims (8)

1. a kind of method for enhancing camera module stability, the camera module passes collected data by data line Processing unit is transported to, is adopted according to data-signal of the clock edges of the camera module to the camera module Sample;It is characterized in that, the method includes the following steps:
S1. the delay for adjusting the clock signal, data-signal, records the working condition of the camera module, and obtains institute State the maximum valid window of data-signal;
S2. it obtains when the camera module is in normal operating conditions, the delay of the data-signal and the processing unit When the delay of middle register is identical, the reference time delay of the clock signal;
S3., the delayed step of the clock signal is set according to the reference time delay;
S4. the delayed step of the data-signal is arranged in the half according to the maximum valid window of the data-signal.
2. the method for enhancing camera module stability according to claim 1, which is characterized in that the step S1 adjustment The delay of the clock signal, data-signal, records the working condition of the camera module, and obtains the data-signal Maximum valid window, comprising:
The clock signal is in default location, and ladder adjusts the delay of the data-signal one by one, and obtains the camera The working condition of module, until obtaining two boundaries of the data-signal, i.e., the maximum valid window of the described data-signal.
3. the method for enhancing camera module stability according to claim 1, which is characterized in that the step S2 is obtained When the camera module is in normal operating conditions, the delay of the data-signal is prolonged with register in the processing unit Phase simultaneously, the reference time delay of the clock signal, comprising:
The delay for adjusting the clock signal, data-signal makes to deposit in the delay of the data-signal and the processing unit The delay of device is identical, and when the camera module is in normal operating conditions, obtains the reference time delay of the clock signal.
4. the method for enhancing camera module stability according to claim 1, which is characterized in that described to be taken the photograph according to As the clock edges of head module sample the data-signal of the camera module, comprising:
It is sampled according to data-signal of the rising edge of the clock signal of the camera module to the camera module.
5. a kind of device for enhancing camera module stability, the camera module passes collected data by data line Processing unit is transported to, is adopted according to data-signal of the clock edges of the camera module to the camera module Sample;It is characterised by comprising:
Adjustment unit records the work shape of the camera module for adjusting the delay of the clock signal, data-signal State, and obtain the maximum valid window of the data-signal;
Acquiring unit, for obtaining when the camera module is in normal operating conditions, the delay of the data-signal and institute State register in processing unit delay it is identical when, the reference time delay of the clock signal;
Setting unit, for the delayed step of the clock signal to be arranged according to the reference time delay, according to the data-signal The half of maximum valid window the delayed step of the data-signal is set.
6. the device of enhancing camera module stability according to claim 5, which is characterized in that the adjustment unit is used In being in default location in the clock signal, ladder adjusts the delay of the data-signal one by one, and obtains the camera The working condition of module, until obtaining two boundaries of the data-signal, i.e., the maximum valid window of the described data-signal.
7. the device of enhancing camera module stability according to claim 5, which is characterized in that the acquiring unit is used In the delay for adjusting the clock signal, data-signal, make register in the delay and the processing unit of the data-signal Delay it is identical, and when the camera module is in normal operating conditions, obtain the reference time delay of the clock signal.
8. the device of enhancing camera module stability according to claim 5, which is characterized in that described to be taken the photograph according to As the clock edges of head module sample the data-signal of the camera module, comprising:
It is sampled according to data-signal of the rising edge of the clock signal of the camera module to the camera module.
CN201910002309.7A 2019-01-02 2019-01-02 Method and device for enhancing stability of camera module Active CN109803064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910002309.7A CN109803064B (en) 2019-01-02 2019-01-02 Method and device for enhancing stability of camera module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910002309.7A CN109803064B (en) 2019-01-02 2019-01-02 Method and device for enhancing stability of camera module

Publications (2)

Publication Number Publication Date
CN109803064A true CN109803064A (en) 2019-05-24
CN109803064B CN109803064B (en) 2021-09-07

Family

ID=66558445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910002309.7A Active CN109803064B (en) 2019-01-02 2019-01-02 Method and device for enhancing stability of camera module

Country Status (1)

Country Link
CN (1) CN109803064B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521505A (en) * 2009-03-27 2009-09-02 福建星网锐捷网络有限公司 Device and method for digital circuit interface time sequence checking and adjustment
WO2010013587A1 (en) * 2008-08-01 2010-02-04 日本電気株式会社 Semiconductor integrated circuit
CN102508804A (en) * 2011-10-20 2012-06-20 豪威科技(上海)有限公司 Secure digital (SD)/secure digital input and output (SDIO) master controller
CN106463162A (en) * 2014-06-06 2017-02-22 高通股份有限公司 Delay structure for a memory interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010013587A1 (en) * 2008-08-01 2010-02-04 日本電気株式会社 Semiconductor integrated circuit
CN101521505A (en) * 2009-03-27 2009-09-02 福建星网锐捷网络有限公司 Device and method for digital circuit interface time sequence checking and adjustment
CN102508804A (en) * 2011-10-20 2012-06-20 豪威科技(上海)有限公司 Secure digital (SD)/secure digital input and output (SDIO) master controller
CN106463162A (en) * 2014-06-06 2017-02-22 高通股份有限公司 Delay structure for a memory interface

Also Published As

Publication number Publication date
CN109803064B (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN104254761B (en) Sensor time synchronization
CN105955011A (en) Method and device for intelligently calibrating time
CN107014381B (en) PLD, DSP, integrated navigation system, data processing method and device
CN103442180A (en) Binocular video splicing device based on SOPC and binocular video splicing method
CN108063640B (en) Method and system, device and the computer readable storage medium of anti-MIPI bus interference
CN206618849U (en) A kind of optical pumped magnetometer magnetic gradient measurements device
CN102508804A (en) Secure digital (SD)/secure digital input and output (SDIO) master controller
CN109803064A (en) Enhance the method and device of camera module stability
CN105550689A (en) Information processing method, first electronic equipment and second electronic equipment
CN105306058A (en) High-speed digital signal acquisition system based on clock phase modulation
CN109586724B (en) Initial phase adjusting method for DAC output signals and multi-channel DAC synchronization method
CN104452555B (en) The pavement disease detection synchronous acquisition system of high-precision signal and synchronous collection method thereof
CN105187701A (en) Spectrometer electronic display system
CN109359010B (en) Method and system for obtaining internal transmission delay of storage module
EP3479176B1 (en) Signal processing apparatus and method, and electronic device comprising the apparatus
CN109685802A (en) A kind of Video segmentation live preview method of low latency
CN109361917A (en) A kind of detection method of intelligent glasses OIS anti-shake effect
CN205901804U (en) Big data file uploads system fast
US11501418B2 (en) Multi-level lookup tables for control point processing and histogram collection
CN109359067A (en) Obtain the method and system of memory module internal delay time ladder time
CN101162958B (en) Method of sampling signal of locating frame head in SDH transmission system
CN109167705B (en) Method and system for acquiring delay step time in storage module
CN111398648B (en) Method for realizing combination of user interface and waveform and oscilloscope
CN105701057A (en) Communication rate matching method and system for 7816 interface and UART interface
CN117407346B (en) Sampling point adjusting system and method for FLASH outside vehicle-gauge chip

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant