CN100424580C - Automatic focusing system of traditional camera and its automatic forcusing method - Google Patents

Automatic focusing system of traditional camera and its automatic forcusing method Download PDF

Info

Publication number
CN100424580C
CN100424580C CNB2005100526291A CN200510052629A CN100424580C CN 100424580 C CN100424580 C CN 100424580C CN B2005100526291 A CNB2005100526291 A CN B2005100526291A CN 200510052629 A CN200510052629 A CN 200510052629A CN 100424580 C CN100424580 C CN 100424580C
Authority
CN
China
Prior art keywords
focusing
image capture
host computer
slave computer
capture unit
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
Application number
CNB2005100526291A
Other languages
Chinese (zh)
Other versions
CN1831627A (en
Inventor
洪育江
Original Assignee
PULIER SCIENCE AND TECHNOLOGY 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 PULIER SCIENCE AND TECHNOLOGY Co Ltd filed Critical PULIER SCIENCE AND TECHNOLOGY Co Ltd
Priority to CNB2005100526291A priority Critical patent/CN100424580C/en
Publication of CN1831627A publication Critical patent/CN1831627A/en
Application granted granted Critical
Publication of CN100424580C publication Critical patent/CN100424580C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a traditional camera automatic focusing system and an automatic focusing method. The traditional camera automatic focusing system comprises an upper position machine, a lower position machine connected with the upper position machine, a focusing machine connected with the upper position machine and the lower position machine, a pneumatic switch connected with the lower position machine, and an image pick-up device connected with the lower position computer. The automatic focusing method of a traditional camera comprises an upper machine with a control procedure, and the focusing instruction of the control procedure is touched to make the focusing instruction sent to the lower position machine. By the focusing instruction sent to the lower position computer, the driven pneumatic switch is positioned and connected to the image pick-up device of the lower position computer. Theoretical focal position data are conveyed to the image pick-up device, and back signal is sent to the upper position computer. The focusing instruction is conveyed to the focusing machine to carry out the focusing of the image pick-up device, and the focusing data is sent back to the upper position machine for generating the correcting focusing data. The correcting focusing data are conveyed to the image pick-up device for carrying out the focusing confirmation.

Description

The traditional camera autofocus system and the method for focusing automatically thereof
Technical field
The present invention is relevant for a kind of traditional camera autofocus system and the method for focusing automatically thereof, especially refer to a kind of action that utilizes simple calculation machine interface to finish automatic focusing, and can test automatically oppositely poor, judge automatically and store data and by the traditional camera autofocus system of EXECL tabular analysis and the method for focusing automatically thereof.
Background technology
Generally speaking, focusing is exactly to take thing to pass through moving of camera lens, to obtain imaging the most clearly.That is, the optical system of camera is as the design starting point with the infinite distance, the front and back group who behind the planar development is exactly machinery moves, polar biased meter radar (the Polarimetric Radar that utilizes electronics to use, PR) detection signal, move to preposition to drive zoom lens (ZOOM) motor, electronic section is exactly that the stepping (step) of control step motor is to reach the position of articulation point.Yet, known because of adopting the human eye focusing, produce the shortcoming that the focusing error is big, the camera focusing time is long and equipment requirements is many, employee's long working is easily tired.
See also shown in Figure 1ly, it is the process flow diagram of known focusing method.As seen from the figure, its step includes: at first, utilize the PR detection signal, move to preposition (S100) to drive the zoom lens motor; Utilize human eye, with the stepping of control step motor to reach the position (S102) of articulation point.
As from the foregoing, the above-mentioned known traditional camera autofocus system and the method for focusing automatically thereof on reality is used, obviously have inconvenience and exist with defective, and can treat in addition improver.
Summary of the invention
Fundamental purpose of the present invention provides a kind of traditional camera autofocus system and the method for focusing automatically thereof, it integrates host computer, slave computer, focusing machine, pneumatic switch and image capture unit, finish the action of automatic focusing to utilize simple calculation machine interface, and can test automatically oppositely poor, automatically judge and store data, and by the EXECL form so that analyze, with reach automaticity height, focusing accurately, and the good purpose of fiduciary level.
To achieve the above object, the invention provides a kind of traditional camera autofocus system, include: host computer, be connected with this slave computer, have control program, in order to when a focusing instruction of this control program is touched, receive this focusing instruction; The focusing machine is connected in this host computer and this slave computer, carries out computing in order to pass focus data to this host computer back, to produce the focus data of proofreading and correct; Image capture unit is connected in this slave computer; Pneumatic switch is connected in this slave computer, is driven by the focusing instruction that reaches slave computer, in order to locate this image capture unit; Wherein, transmit the theoretical focal point position data to this image capture unit by this host computer by this slave computer, send it back induction signal to this host computer by this image capture unit by this slave computer, transmit a focusing instruction to this focusing machine by this host computer, to carry out the focusing of this image capture unit, the focus data that transmits this correction by this slave computer by this host computer is to this image capture unit, with the affirmation of the focusing of carrying out this image capture unit.
According to design of the present invention, this host computer is one to be used for the computing machine of keyholed back plate and deal with data.
According to design of the present invention, this host computer further includes a control program that utilizes program language to write.
According to design of the present invention, this program language is the VB program language under the Microsoft EXCEL interface.
According to design of the present invention, this slave computer is an I/F tool.
According to design of the present invention, this image capture unit is a camera.
According to design of the present invention, this focusing machine further is connected to this host computer and this slave computer by RS232 port and RS232 port.
To achieve the above object, the invention provides a kind of automatic focusing method of traditional camera autofocus system, its step includes: at first, provide a host computer with control program; Then, touch the focusing instruction of this control program, make this focusing instruction reach a slave computer that is connected with this host computer; Then,, be connected in the pneumatic switch of this slave computer, and locate an image capture unit that is connected in this slave computer in order to drive one by this focusing instruction that reaches slave computer; Continue, pass through this slave computer, to transmit the theoretical focal point position data to this image capture unit by this host computer.
Then, pass through this slave computer by this image capture unit, to send it back induction signal to this host computer; Then, by this host computer, be connected in the focusing machine of this slave computer to transmit the focusing instruction to one, and carry out the focusing of this image capture unit; Next,, carry out computing, and produce the focus data of proofreading and correct to pass focus data to this host computer back by this focusing machine; At last, by this slave computer, to this image capture unit, and carry out the affirmation of the focusing of this image capture unit by this host computer with the focus data that transmits this correction.
According to design of the present invention, this focus data that transmits this correction further includes to the step of this image capture unit: judge focusing situation and storage focusing data automatically.
According to design of the present invention, this is judged automatically in the step of focusing situation, further includes: judgement focusing situation is then warned generation problem part automatically if any problem.
Description of drawings
Reach technology, means and the effect that predetermined purpose is taked in order further to understand the present invention, see also following about detailed description of the present invention and accompanying drawing, believe purpose of the present invention, feature and characteristics, go deep into and concrete understanding when getting one thus, yet appended accompanying drawing only provides reference and explanation usefulness, is not to be used for the present invention is limited.
Fig. 1 is the process flow diagram of known focusing method;
Fig. 2 is the synoptic diagram of traditional camera autofocus system of the present invention; And
Fig. 3 is the process flow diagram of the automatic focusing method of traditional camera autofocus system of the present invention;
Wherein, description of reference numerals is as follows:
The 1-host computer; The 2-slave computer; The 3-machine of focusing; 4; Pneumatic switch; The 5-image capture unit.
Embodiment
See also shown in Figure 2ly, it is for the synoptic diagram of traditional camera autofocus system of the present invention.By among the figure as can be known, the invention provides a kind of traditional camera autofocus system, include: host computer 1, slave computer 2, focusing machine 3, pneumatic switch 4 and image capture unit 5.
Wherein, this host computer 1 is one to be used for the computing machine of keyholed back plate and deal with data, and this host computer 1 further includes a control program that utilizes program language to write, and this program language is the VB under the MicrosoftEXCEL interface (Visual Basic) program language.
In addition, this slave computer 2 is connected in this host computer 1, be used to receive the instruction of this host computer 1, and this slave computer is an I/F (ITA/FIXTURE) tool, this focusing machine 3 is connected to this host computer and this slave computer by RS232 port (PORT) and RS232 port (PORT).This pneumatic switch 4 is connected in this slave computer 2, reach this image capture unit 5 and be connected in this slave computer 2, and this image capture unit 5 is a camera.
See also shown in Figure 3ly, it is the process flow diagram of the automatic focusing method of traditional camera autofocus system of the present invention.As seen from the figure, its step includes: at first, provide a host computer 1 (S200) with control program; Then, touch the focusing instruction of this control program, make this focusing instruction reach a slave computer 2 (S202) that is connected with this host computer 1; Then,, be connected in the pneumatic switch 4 of this slave computer 2, and locate an image capture unit 5 (S204) that is connected in this slave computer 2 in order to drive one by this focusing instruction that reaches slave computer 2; Continue, pass through this slave computer 2, to transmit the theoretical focal point position data to this image capture unit 5 (S206) by this host computer 1.
Then, pass through this slave computer 2 by this image capture unit 5, to send it back induction signal to this host computer 1 (S208); Then, by this host computer 1, be connected in the focusing machine 3 of this slave computer 2 to transmit the focusing instruction to one, and carry out the focusing (S210) of this image capture unit 5; Next,, carry out computing, and produce the focus data (S212) of proofreading and correct to pass focus data to this host computer 1 back by this focusing machine 3; At last, by this slave computer 2, to this image capture unit 5, and carry out the affirmation (S214) of the focusing of this image capture unit 5 by this host computer 1 with the focus data that transmits this correction.
In addition, this focus data that transmits this correction further includes to the step of this image capture unit: judge focusing situation and storage focusing data automatically; Then, judgement focusing situation is then warned generation problem part automatically if any problem.
That is this slave computer 2 connects this focusing machine 3 and this pneumatic switch 4.And program is opened pneumatic means 4 with the location camera, slave computer 2 by probe with camera communication.Computing machine is as interactive amboceptor, and computing machine biconditional operation person gets in touch and uses keyboard or mouse.The flicking keyboard " ENTER " button or click the mouse slightly, camera is focused automatically, directly after finishing movingly judges and storage, if there is problem in system, can report to the police automatically, and tell fault there, is convenient in time fix a breakdown.Software section: consider man-machine conversation, computing machine is write with VB, and writes with the VB of EXECL interface, and the entire process data are considered at computing machine, the calculation function of performance computing machine.Single-chip microcomputer C51 is as to the compiling and the parsing of computer instruction, instruction pneumatic part, focusing machine, the associative operation of camera.Use the C language compilation, clear in structure is revised easily and is transplanted, and this system largely depends on software systems, and slave computer 2 adopts 89C52 as master control, J6﹠amp; J7﹠amp; GND connects RS232CON1﹠amp; CON2 connects pneumatic switch.FB_PRINT connects the focusing machine.WUP, CSI, CSO, MKB, SCLK connect the camera probe.
Host computer adopts ibm computer, realization is to the centralized control and the data processing of total system, adopt the higher level lanquage VB (VISUAL BASIC) of object-oriented (Object-oriented Program) to weave into, make full use of the good effect of visualization of VB under the EXECL, GUI (Graphic User Interface) close friend, has good operability, readability.Slave computer 2 is made up of the AT89C51 single-chip microcomputer, realizes data collection task, realizes the part control function.Slave computer adopts Keil C51 programming, and modularity is strong, has good readability, portability, the convenient maintenance of system later on.
In addition, the focusing principle is: the source of parallel light of simulation infinite distance, by black and white figure (chart) at interval, camera is gone to the position (camera lens runs N step) of theoretical infinite distance, open front shutter, with photosensitive coupling component (CCD) emulation egative film face, stepper motor moves CCD, utilize CCD to sense black white contrast, thereby the maximal value present position of contrast is the focal position of camera lens as can be known, corresponding is exactly the stepping (step) of stepper motor, the stepping (step) during infinite distance that calculating can get camera.The electronics that data are write camera erase the formula ROM (read-only memory) (Electrically Erasable ProgrammableRead-Only Memory, EEPROM)
Set up the communication protocol of each system, computing machine is connected with the focusing machine with slave computer by 2 232PORT, and the RS232 coverage is 10m, strong interference immunity.Computer interface is by the focusing button, and computing machine is opened PORT1 (figure does not show), and with slave computer 2 communications, slave computer 2 is complied with the instruction action, 4 actions of instruction pneumatic switch, and camera is fixed on the slave computer 2.Computing machine reaches slave computer 2 with the theoretical focal point position data, and slave computer 2 is passed to camera with the data of receiving.The computer instruction focusing, as wide-angle (WIDE), after slave computer 2 is received instruction, the gross data of WIDE is put into camera assigned address (Address), camera lens reaches WIDE earlier, reach position, theoretical infinite distance according to data again, the induction signal that makes sound is notified computing machine, calculates machine-operated PORT 1, opens PROT 2 (figure does not show), the motor-driven work of slave computer 2 instruction focusings, focusing machine 3 is passed to computing machine with data, and computing machine carries out computing with data, and the data of adjusting are passed to slave computer 2, slave computer 2 is write data the EEPROM of phase modifier again, remakes the confirming operation of once focusing.Using such method all obtains accordingly to coke number for every section.
In sum, the traditional camera autofocus system of the present invention and the method for focusing automatically thereof, not only integrate host computer 1, slave computer 2, focusing machine 3, pneumatic switch 4 and image capture unit 5, and utilize simple calculation machine interface to finish the action of automatic focusing, and can test automatically oppositely poor, automatically judge and store data, and by the EXECL form so that the advantage of analyzing.
The above; only be the detailed description and the accompanying drawing of the specific embodiment of one of the best of the present invention; feature of the present invention is not limited thereto; be not in order to restriction the present invention; all scopes of the present invention should be as the criterion with the scope that following claim is asked for protection; all closing in the embodiment of spirit of the present invention variation similar with it; all should be contained in the protection category of the present invention; anyly be familiar with this operator in the field of the invention, can think easily and variation or modify all can be encompassed within protection scope of the present invention.

Claims (10)

1. traditional camera autofocus system, comprising having:
Slave computer,
Host computer is connected with this slave computer, has control program, in order to when a focusing instruction of this control program is touched, receives this focusing instruction,
The focusing machine is connected in this host computer and this slave computer, carries out computing in order to pass focus data to this host computer back, to produce the focus data of proofreading and correct;
Image capture unit is connected in this slave computer;
Pneumatic switch is connected in this slave computer, is driven by the focusing instruction that reaches slave computer, in order to locate this image capture unit;
Wherein, transmit the theoretical focal point position data to this image capture unit by this host computer by this slave computer, send it back induction signal to this host computer by this image capture unit by this slave computer, transmit a focusing instruction to this focusing machine by this host computer, to carry out the focusing of this image capture unit, the focus data that transmits this correction by this slave computer by this host computer is to this image capture unit, with the affirmation of the focusing of carrying out this image capture unit.
2. traditional camera autofocus system as claimed in claim 1 is characterized in that this host computer is one to be used for the computing machine of keyholed back plate and deal with data.
3. traditional camera autofocus system as claimed in claim 1 is characterized in that this host computer further includes a control program that utilizes program language to write.
4. traditional camera autofocus system as claimed in claim 3 is characterized in that this program language is the VB program language under the Microsoft EXCEL interface.
5. traditional camera autofocus system as claimed in claim 1 is characterized in that this slave computer is an I/F tool.
6. traditional camera autofocus system as claimed in claim 1 is characterized in that this image capture unit is a camera.
7. traditional camera autofocus system as claimed in claim 1 is characterized in that this focusing machine further is connected to this host computer and this slave computer by RS232 port and RS232 port.
8. the automatic focusing method of a traditional camera autofocus system, comprising step have:
One host computer with control program is provided;
Touch the focusing instruction of this control program, make this focusing instruction reach a slave computer that is connected with this host computer;
Drive a pneumatic switch that is connected in this slave computer, reach focusing instruction of slave computer, in order to locate an image capture unit that is connected in this slave computer by this;
Transmit the theoretical focal point position data to this image capture unit, pass through this slave computer by this host computer;
Send it back induction signal to this host computer, pass through this slave computer by this image capture unit;
Transmit the focusing instruction to a focusing machine that is connected in this slave computer, by this host computer, to carry out the focusing of this image capture unit;
Pass focus data to this host computer back and carry out computing, by this focusing machine, to produce the focus data of proofreading and correct; And
The focus data that transmits this correction is to this image capture unit, by this host computer by this slave computer, with the affirmation of the focusing of carrying out this image capture unit.
9. the automatic focusing method of traditional camera autofocus system as claimed in claim 8 is characterized in that this focus data that transmits this correction to the step of this image capture unit, further includes: judge focusing situation and storage focusing data automatically.
10. the automatic focusing method of traditional camera autofocus system as claimed in claim 9, it is characterized in that further including in the step of this automatic judgement focusing situation: judgement focusing situation is then warned generation problem part automatically if any problem.
CNB2005100526291A 2005-03-07 2005-03-07 Automatic focusing system of traditional camera and its automatic forcusing method Expired - Fee Related CN100424580C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100526291A CN100424580C (en) 2005-03-07 2005-03-07 Automatic focusing system of traditional camera and its automatic forcusing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100526291A CN100424580C (en) 2005-03-07 2005-03-07 Automatic focusing system of traditional camera and its automatic forcusing method

Publications (2)

Publication Number Publication Date
CN1831627A CN1831627A (en) 2006-09-13
CN100424580C true CN100424580C (en) 2008-10-08

Family

ID=36994004

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100526291A Expired - Fee Related CN100424580C (en) 2005-03-07 2005-03-07 Automatic focusing system of traditional camera and its automatic forcusing method

Country Status (1)

Country Link
CN (1) CN100424580C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387812B (en) * 2007-09-13 2011-03-23 鸿富锦精密工业(深圳)有限公司 Camera auto-focusing system and method
CN107167984A (en) * 2017-06-30 2017-09-15 福建新大陆电脑股份有限公司 A kind of stepping motor control apparatus of automatic focusing apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0961705A (en) * 1995-06-14 1997-03-07 Sony Corp Autofocusing device
JPH11338041A (en) * 1998-05-26 1999-12-10 Canon Inc Optical device and camera provided with line-of-sight detecting function
CN2425370Y (en) * 2000-06-09 2001-03-28 浙江大学 USB camera with automatic focusing function
JP2003289467A (en) * 2002-03-27 2003-10-10 Casio Comput Co Ltd Imaging apparatus and automatic focusing method therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0961705A (en) * 1995-06-14 1997-03-07 Sony Corp Autofocusing device
JPH11338041A (en) * 1998-05-26 1999-12-10 Canon Inc Optical device and camera provided with line-of-sight detecting function
CN2425370Y (en) * 2000-06-09 2001-03-28 浙江大学 USB camera with automatic focusing function
JP2003289467A (en) * 2002-03-27 2003-10-10 Casio Comput Co Ltd Imaging apparatus and automatic focusing method therefor

Also Published As

Publication number Publication date
CN1831627A (en) 2006-09-13

Similar Documents

Publication Publication Date Title
CN101785026B (en) Method and system for determining the position and orientation of a camera relative to a real object
CN105929827A (en) Mobile robot and positioning method thereof
CN106493468B (en) Integrated femtosecond laser micro/nano processing system and processing method based on LabVIEW
US20060282248A1 (en) Integrated simulation system
CN109186636B (en) IMU automatic calibration test method and system
FR2395669A1 (en) X-RAY DIAGNOSIS SYSTEM PROGRAM BASED ON ANATOMY
JPS60114819A (en) Apparatus for photographic camera having lens holder and image holder mutually displaceable
CN107421722A (en) Based on CCD camera image intensifier modulation transfer function test method and system
CN108881724A (en) A kind of image acquiring method, device, equipment and storage medium
CN104423721A (en) Frameless multipoint touch man-machine interaction method and system based on radar eye
CN100424580C (en) Automatic focusing system of traditional camera and its automatic forcusing method
CN109117368A (en) A kind of interface test method, electronic equipment and storage medium
CN109242762A (en) Image-recognizing method, device, storage medium and electronic equipment
CN106628250A (en) Function-modularization comprehensive automatic detecting system for JL9 airplane
CN108182277A (en) It is a kind of to carry out searching the method and system of topic, hand-held photographing device based on dominant point
CN105912172A (en) Multi-point touch device for laser scanning
CN104739508A (en) Moving position setting method and system of moving component and medical device
CN112904692B (en) Interactive holographic projection system
CN110661974B (en) Image acquisition method and device and electronic equipment
CN112305553B (en) Measuring system based on laser rangefinder
CN103399672B (en) Optical touch screen system and felt pen combined system
CN105912376A (en) TMS320F28335PFGA based program rewriting system
WO2016144027A1 (en) Object dimension information obtaining device using laser beam
Cheng Computer-television analysis of biped locomotion.
CN107403050A (en) Assembled architecture inspection method, apparatus and 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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20081212

Address after: No. two, No. 2, East Ring Road, Pinus tabulaeformis Industrial Zone, Longhua Town, Shenzhen, Guangdong, Baoan District, China

Co-patentee after: Hon Hai Precision Industry Co., Ltd.

Patentee after: Fujin Precision Industry (Shenzhen) Co., Ltd.

Address before: Taipei city of Taiwan Province

Patentee before: Pulier Science and Technology Co., Ltd.

ASS Succession or assignment of patent right

Owner name: HONGFUJIN PRECISION INDUSTRY (SHENZHEN) CO., LTD.

Free format text: FORMER OWNER: PULIER SCI-TECH CO., LTD.

Effective date: 20081212

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081008

Termination date: 20150307

EXPY Termination of patent right or utility model