CN102946507B - Method and system for reducing shooting background noises of camera - Google Patents
Method and system for reducing shooting background noises of camera Download PDFInfo
- Publication number
- CN102946507B CN102946507B CN201210427060.2A CN201210427060A CN102946507B CN 102946507 B CN102946507 B CN 102946507B CN 201210427060 A CN201210427060 A CN 201210427060A CN 102946507 B CN102946507 B CN 102946507B
- Authority
- CN
- China
- Prior art keywords
- phase
- clock signal
- camera
- signal phase
- labs
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 230000008878 coupling Effects 0.000 claims description 18
- 238000010168 coupling process Methods 0.000 claims description 18
- 238000005859 coupling reaction Methods 0.000 claims description 18
- 238000004891 communication Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
Abstract
A method for reducing shooting background noises of a camera is applied to a system with a main chip and the camera which are mutually connected. The method comprises the following steps: 1, setting a clock signal phase A at a main chip receiving end and a clock signal phase B at a camera transmitting end, wherein X is a permissible phase deviation maximum value; 2, performing phase matching operation on the clock signal phase A at the receiving end and the clock signal phase B at the camera transmitting end, if a matching difference result is smaller than X, entering a step 4, otherwise, entering a step 3; 3, equally dividing the signal phase B at the receiving end according to all-phase 360 degrees and setting as n, namely B1, B2, ..., Bn, performing matching operation on equally divided phase signals of the clock signal phase A at the receiving end and the clock signal phase B at the camera transmitting end till the matching difference is the minimum, and if the matching difference value is smaller than X, A is equal to By and y is equal to 1, 2, 3, ..., n; and 4, ending, and entering a normal shooting process. By the method and the system, the noises are reduced by adjusting the phase matching degree of clock signal input and clock signal output, thus improving the shooting effect of the camera.
Description
Technical field
The present invention relates to a kind of terminal equipment shooting technology, particularly relate to a kind of camera that reduces and to take pictures the method and system of background noise.
Background technology
In prior art, it is mostly the raising about the technique of camera module own, and add corresponding filter circuit and solve the noise problem that camera takes pictures, the improvement of camera module technique and add the increase that corresponding filter circuit must cause cost, take corresponding PCB space, cause unnecessary cost increase and the restriction of layout.
At present, it is no matter the camera of cpu i/f or MIPI interface, cabling all will do corresponding impedance Control, to reach in signals transmission the deviation that there will not be in amplitude or phase place, and then avoid producing the displacement of corresponding signal, when causing camera to be taken pictures, background noise is bigger than normal, affects image quality.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, provide a kind of camera that reduces to take pictures the method and system of background noise, carry out reduction noise by the phase matched degree of adjustment clock signal constrained input, improve camera and to take pictures effect.
In order to achieve the above object, the technical solution used in the present invention is, a kind of camera that reduces is taken pictures the method for background noise, and described method is applied to the system comprising interconnective master chip, camera, comprises the following steps:
Step 1, arrange the clock signal phase A of master chip receiving terminal, camera transmitting terminal clock signal phase B, X are the maximum that phase deviation allows;
Step 2, to receiving terminal clock signal phase A, camera transmitting terminal clock signal phase B carries out the matching operation of phase place, if result coupling difference is less than X, then enters step 4; Otherwise enter step 3;
Step 3, according to all phase 360 degree, decile signal phase is carried out to receiving end signal phase place B, and is set to n, i.e. B1, B2 ..., Bn; Meanwhile, carry out matching operation to the decile phase signal of receiving terminal clock signal phase A and camera transmitting terminal clock signal phase B, until coupling difference is minimum, and coupling difference is less than X, then A=By, wherein y=1,2,3 ... n;
Step 4, end, enter and normally take pictures.
Further, described master chip shows serial line interface with camera by DSI(Display serial interface) or DBI interface communication be connected.
Further, described phase deviation X is default value, namely allows camera to produce the phase deviation of maximum background noise of taking pictures.
Further, the phase place A described in step 2 and the matching operation of phase place B comprise:
Step S201. calculates the deviation of phase place A and phase place B, and formula is Labs (A-B);
Labs (A-B) and X compare by step S202., and Labs (A-B) <X then phase deviation in allowed limits, otherwise enters step 3.
Further, matching operation described in step 3 is Labs (B-B1) <Labs (B-B2) < ... <Labs (B-By) <X, when coupling difference is less than X, then A=By, wherein y=1,2,3 ... n.
Described reduction camera is taken pictures the system of method of background noise, comprises master chip, camera, comprises further:
Clock module, arranges the clock signal phase A of master chip receiving terminal, and camera transmitting terminal clock signal phase B, X are the maximum that phase deviation allows;
First matching unit, for receiving terminal clock signal phase A, camera transmitting terminal clock signal phase B carries out the matching operation of phase place;
Deng subdivision, for carrying out decile signal phase to receiving end signal phase place B according to all phase 360 degree, and be set to n, i.e. B1, B2 ..., Bn;
Second matching unit, carries out matching operation to the decile phase signal of receiving terminal clock signal phase A and camera transmitting terminal clock signal phase B, until coupling difference is minimum, and coupling difference is less than X, then A=By, wherein y=1,2,3 ... n.
Compared with prior art, the invention has the beneficial effects as follows: by obtaining the clock signal phase A of master chip receiving terminal, camera transmitting terminal clock signal phase B, and the maximum that X is phase deviation permission is set; Obtain the deviation of phase place A and phase place B, and carry out reduction noise by the phase matched degree adjusting clock signal constrained input, improve camera and to take pictures effect.
Accompanying drawing explanation
fig. 1 is method flow diagram of the present invention;
Fig. 2 is system principle diagram of the present invention.
Embodiment
Be described in detail, to be interpretated more in-depth technical characteristic of the present invention and advantage with reference to accompanying drawing below in conjunction with embodiment.
As shown in Figure 1, 2, a kind of camera that reduces is taken pictures the method for background noise, and described method is applied to the system comprising interconnective master chip, camera, comprises the following steps:
Step 1, arrange the clock signal phase A of master chip receiving terminal, camera transmitting terminal clock signal phase B, X are the maximum that phase deviation allows;
Step 2, to receiving terminal clock signal phase A, camera transmitting terminal clock signal phase B carries out the matching operation of phase place, if result coupling difference is less than X, then enters step 4; Otherwise enter step 3;
Step 3, according to all phase 360 degree, decile signal phase is carried out to receiving end signal phase place B, and is set to n, i.e. B1, B2 ..., Bn; Meanwhile, carry out matching operation to the decile phase signal of receiving terminal clock signal phase A and camera transmitting terminal clock signal phase B, until coupling difference is minimum, and coupling difference is less than X, then A=By, wherein y=1,2,3 ... n, n be greater than zero integer;
Step 4, end, enter and normally take pictures.
Further, described master chip is connected by DSI or DBI interface communication with camera.
Further, described phase deviation X is default value, namely allows camera to produce the phase deviation of maximum background noise of taking pictures.When receiving terminal clock signal phase A and camera transmitting terminal clock signal phase B phase deviation too large time, the noise of formation is comparatively large, affects image quality.
Further, the phase place A described in step 2 and the matching operation of phase place B comprise:
Step S201. calculates the deviation of phase place A and phase place B, and formula is Labs (A-B);
Labs (A-B) and X compare by step S202., and Labs (A-B) <X then phase deviation in allowed limits, otherwise enters step 3.
Further, matching operation described in step 3 is Labs (A-B1) <Labs (A-B2) < ... <Labs (A-By) <X, when coupling difference is less than X, then A=By, wherein y=1,2,3 ... n.
Because master chip is to camera body, have certain path, this section of path has corresponding capacitance-resistance perception, i.e. corresponding combination parameter, cause, camera signals phase place on the transmission line advanced or delayed, but in actual conditions, the number of plies of pcb board is fewer, the crosstalk of signal is larger, and the integrality of signal is poorer, this advanced or delayed more serious, utilize software algorithm to enter horizontal phasing control, reach and reduce because the noise that causes of the skew of phase place.
The initial phase of such as B is 0, the actual signal phase received 45 degree of camera (actual because the factors such as PCB circuit material are unknowable) after phase place A is through circuit, then the phase place of this signal and phase place B are carried out match and regulate, be equivalent to a closed-loop control system, the deviation of moment adjustment signal, allows the deviation of A, B signal remain in certain scope and noise just can be avoided to affect effect of taking pictures).Suppose that A is 45 degree, but actual conditions receiving terminal software cannot be known, simultaneously, because the cycle of phase place is 360 degree, divide equally 360 degree according to certain ratio, be attached on the initial phase of B, mate, such as, B is divided into 8 parts, B1 is exactly 45 degree, B2 is 90 degree ... B8 is 360 degree, the initial phase of B is 0, and now the initial phase of B adds that 45 degree are just in time equal to the phase place of A, and now phase place reaches unanimously; For another example, A is 40 degree, that B1 be 45 degree closest, that allows A=B1 equally.Labs (A-B1) <Labs (A-B2) < ... <Labs (A-By) <X compares for taking absolute value, adopt Of Bubble Sort Algorithm, compare the size of A and By successively, when phase deviation is minimum, then remove A=By, when A=45 spends, B1 and A is closest, then get A=B1.
Described reduction camera is taken pictures the system of method of background noise, comprises master chip, camera, comprises further:
Clock module, arranges the clock signal phase A of master chip receiving terminal, and camera transmitting terminal clock signal phase B, X are the maximum that phase deviation allows;
First matching unit, for receiving terminal clock signal phase A, camera transmitting terminal clock signal phase B carries out the matching operation of phase place;
Deng subdivision, for carrying out decile signal phase to receiving end signal phase place B according to all phase 360 degree, and be set to n, i.e. B1, B2 ..., Bn;
Second matching unit, carries out matching operation to the decile phase signal of receiving terminal clock signal phase A and camera transmitting terminal clock signal phase B, until coupling difference is minimum, and coupling difference is less than X, then A=By, wherein y=1,2,3 ... n.
Above content is in conjunction with concrete optimal way further description made for the present invention, should not assert that specific embodiment of the invention is confined to above explanation.For those skilled in the art, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, within the protection range that the claim that all should be considered as being submitted to by the present invention is determined.
Claims (4)
1. reduce camera to take pictures the method for background noise, described method is applied to the system comprising interconnective master chip, camera, comprises the following steps:
Step 1, arrange the clock signal phase A of master chip receiving terminal, camera transmitting terminal clock signal phase B, X are the maximum that phase deviation allows;
Step 2, to receiving terminal clock signal phase A, camera transmitting terminal clock signal phase B carries out the matching operation of phase place, if result coupling difference is less than X, then enters step 4; Otherwise enter step 3;
Step 3, according to all phase 360 degree, decile signal phase is carried out to receiving end signal phase place B, and is set to n, i.e. B1, B2 ..., Bn; Meanwhile, carry out matching operation to the decile phase signal of receiving terminal clock signal phase A and camera transmitting terminal clock signal phase B, until coupling difference is minimum, and coupling difference is less than X, then A=By, wherein y=1,2,3 ... n;
Step 4, end, enter and normally take pictures;
Phase place A described in step 2 and the matching operation of phase place B comprise:
Step S201. calculates the deviation of phase place A and phase place B, and formula is Labs (A-B);
Labs (A-B) and X compare by step S202., and Labs (A-B) <X then phase deviation in allowed limits, otherwise enters step 3;
Matching operation described in step 3 is Labs (A-B1) <Labs (A-B2) < ... <Labs (A-By) <X, when coupling difference is less than X, then A=By, wherein y=1,2,3 ... n.
2. reduction camera according to claim 1 is taken pictures the method for background noise, it is characterized in that: described master chip is connected by DSI or DBI interface communication with camera.
3. reduction camera according to claim 2 is taken pictures the method for background noise, it is characterized in that: described phase deviation X is default value, namely allows camera to produce the phase deviation of maximum background noise of taking pictures.
4. the reduction camera according to any one of claim 1-3 is taken pictures the system of method of background noise, comprises master chip, camera, it is characterized in that, comprise further:
Clock module, arranges the clock signal phase A of master chip receiving terminal, and camera transmitting terminal clock signal phase B, X are the maximum that phase deviation allows;
First matching unit, for receiving terminal clock signal phase A, camera transmitting terminal clock signal phase B carries out the matching operation of phase place;
Deng subdivision, for carrying out decile signal phase to receiving end signal phase place B according to all phase 360 degree, and be set to n, i.e. B1, B2 ..., Bn;
Second matching unit, carries out matching operation to the decile phase signal of receiving terminal clock signal phase A and camera transmitting terminal clock signal phase B, until coupling difference is minimum, and coupling difference is less than X, then A=By, wherein y=1,2,3 ... n.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210427060.2A CN102946507B (en) | 2012-10-31 | 2012-10-31 | Method and system for reducing shooting background noises of camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210427060.2A CN102946507B (en) | 2012-10-31 | 2012-10-31 | Method and system for reducing shooting background noises of camera |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102946507A CN102946507A (en) | 2013-02-27 |
CN102946507B true CN102946507B (en) | 2015-04-29 |
Family
ID=47729411
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210427060.2A Expired - Fee Related CN102946507B (en) | 2012-10-31 | 2012-10-31 | Method and system for reducing shooting background noises of camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102946507B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1531179A (en) * | 2003-03-07 | 2004-09-22 | ������������ʽ���� | Power converter and power device |
CN102129189A (en) * | 2010-01-14 | 2011-07-20 | 夏普株式会社 | Image forming apparatus |
CN102667732A (en) * | 2009-12-25 | 2012-09-12 | 富士通株式会社 | Signal receiving circuit, memory controller, processor, computer, and phase control method |
-
2012
- 2012-10-31 CN CN201210427060.2A patent/CN102946507B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1531179A (en) * | 2003-03-07 | 2004-09-22 | ������������ʽ���� | Power converter and power device |
CN102667732A (en) * | 2009-12-25 | 2012-09-12 | 富士通株式会社 | Signal receiving circuit, memory controller, processor, computer, and phase control method |
CN102129189A (en) * | 2010-01-14 | 2011-07-20 | 夏普株式会社 | Image forming apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN102946507A (en) | 2013-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9355054B2 (en) | Digital calibration-based skew cancellation for long-reach MIPI D-PHY serial links | |
US20170041086A1 (en) | Data transmission apparatus for changing clock signal at runtime and data interface system including the same | |
US9436213B2 (en) | Clock data recovery circuit, timing controller including the same, and method of driving the timing controller | |
CN103839528B (en) | The synchronous display method of mosaic display screen, clock controller and mosaic display screen | |
CN103813107A (en) | Multichannel high-definition video overlapping method based on FPGA (field programmable gata array) | |
CN103500555B (en) | A kind of LED display video resolution matched processing method and system | |
CN104506888B (en) | Clock synchronization apparatus, method and system | |
CN104883527A (en) | Method for converting MIPI interface into HDMI interface and application system thereof | |
CN104039076A (en) | Wire wrapping method and system for reducing difference circuit impedance mismatch degree | |
WO2019095788A1 (en) | 10g-kr high-speed signal optimization method and system | |
CN104821802A (en) | Clock operation method and circuit | |
US11126777B2 (en) | Layout routing structure and layout routing method for improving SI performance of signal | |
CN102946507B (en) | Method and system for reducing shooting background noises of camera | |
US8258825B2 (en) | Spread spectrum circuit | |
CN203734741U (en) | Two-channel LVDS video rotating and overlapping system | |
CN105515610A (en) | Digital receiver module, signal processing method thereof, and radio frequency card wiring method | |
US9246497B1 (en) | Integrated circuit (IC) clocking techniques | |
US8793410B2 (en) | Data rate throttling in an internal packet-based interface | |
CN103037222A (en) | Compression transmission device and method of parallel digital video signal | |
US8482359B2 (en) | Equalization apparatus | |
CN104102606A (en) | Method for transmitting PCI (peripheral component interconnect)-EXPRESS signals over long distances | |
CA2983746A1 (en) | Input/output apparatus of multiplexer, and multiplexer | |
CN104052642B (en) | A kind of communication system and communication means | |
CN207992281U (en) | Module occurs for multichannel reference clock | |
US9860092B2 (en) | Asymmetric cross-connect system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150429 |