CN106019531A - Phase position ranging camera module and automatic alarming method thereof - Google Patents

Phase position ranging camera module and automatic alarming method thereof Download PDF

Info

Publication number
CN106019531A
CN106019531A CN201610617722.0A CN201610617722A CN106019531A CN 106019531 A CN106019531 A CN 106019531A CN 201610617722 A CN201610617722 A CN 201610617722A CN 106019531 A CN106019531 A CN 106019531A
Authority
CN
China
Prior art keywords
distance
module
motor
driving instruction
object distance
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.)
Pending
Application number
CN201610617722.0A
Other languages
Chinese (zh)
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.)
SHENZHEN HANGUANG OTT ELECTRONICS CO LTD
Original Assignee
SHENZHEN HANGUANG OTT ELECTRONICS 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 SHENZHEN HANGUANG OTT ELECTRONICS CO LTD filed Critical SHENZHEN HANGUANG OTT ELECTRONICS CO LTD
Priority to CN201610617722.0A priority Critical patent/CN106019531A/en
Publication of CN106019531A publication Critical patent/CN106019531A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/02Mountings, adjusting means, or light-tight connections, for optical elements for lenses
    • G02B7/04Mountings, adjusting means, or light-tight connections, for optical elements for lenses with mechanism for focusing or varying magnification
    • G02B7/09Mountings, adjusting means, or light-tight connections, for optical elements for lenses with mechanism for focusing or varying magnification adapted for automatic focusing or varying magnification
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems

Abstract

The invention discloses a phase position ranging camera module. The phase position ranging camera module comprises a motor and a lens embedded in the motor, and further comprises a phase position ranging module, a control module and a driving module. The phase position ranging module is used for measuring the object distance between the camera module and an object to be shot and sending the measured object distance to the control module. The control module is used for receiving the measured object distance, determining a driving instruction corresponding to the measured object distance according to the corresponding relation between object distances and motor driving instructions and sending the corresponding control instruction to the driving module. The driving module is used for outputting the driving instruction to the motor after receiving the control instruction to make the motor drive the lens to move to a corresponding focusing position to achieve automatic focusing.

Description

Phase ranging camera module and automatic alarm method thereof
Technical field
The present invention relates to electronic technology field, more particularly, it relates to a kind of phase ranging camera module and automatic alarm method thereof.
Background technology
Along with the development of network technology, communication technology and national economy, the safety consciousness of people improves the most therewith, and various intellectualizing systems are more and more ripe, and function is more and more perfect.
At present, safety alarm system has become the important component part of various intellectualizing system.Existing safety alarm system specifically includes that local monitoring device, home server and controlling alarm equipment, and wherein, local monitoring device monitors in real time by protection environment or the site activity of object;Home server, by obtaining the data messages such as the video of local monitoring device collection, audio frequency and being recorded, store, provides best on-the-spot evidence for after the incident.Once local monitoring device finds illegal phenomenon, such as: illegal invasion, then sends alarm control signal to controlling alarm equipment, controls controlling alarm equipment and sends alarm signal, to warn the current situation occurred.
But, safety alarm system of the prior art is all based on this locality and deploys troops on garrison duty the implementation controlled, it is impossible to realizes remotely deploying troops on garrison duty control, therefore, yet suffers from significant limitation in actual applications.
Summary of the invention
In view of this, the invention provides a kind of phase ranging camera module and automatic alarm method thereof, to realize the long-range monitoring and control to controlling alarm equipment.
For achieving the above object, the present invention provides following technical scheme:
A kind of phase ranging camera module, including motor and be embedded in the camera lens in described motor, also including: phase ranging module, described phase ranging module is for measuring the object distance of camera module and object to be shot, and sends the object distance of described measurement to control module;Control module, for receiving the object distance of described measurement, determines the driving instruction corresponding with the object distance of described measurement according to object distance with the corresponding relation of motor driving instruction, and by corresponding control instruction transmission to driving module;Drive module, for after receiving described control instruction, by the output of described driving instruction to described motor, make described motor drive described camera lens to move to corresponding focusing position, it is achieved auto-focusing.
Preferably, described control module is additionally operable to the image of analyzing and processing shooting, and adjusts instruction according to the mass parameter generation of described image, and adjusts instruction transmission to driving module by described;
Described driving module is additionally operable to drive described camera lens to move according to motor described in described adjustment order-driven, and the distance that after adjusting, described camera lens moves feeds back to described control module, so that object distance described in described control module correction and the corresponding relation of motor driving instruction.
Preferably, the corresponding relation of described object distance and motor driving instruction is the corresponding relation foundation of the corresponding relation of the distance to be moved according to object distance and camera lens and camera lens distance to be moved and motor driving instruction.
Preferably, the corresponding relation of the distance that described object distance is to be moved with camera lens obtains according to focal length formula.
Preferably, the slope acquisition that the corresponding relation of the distance that described camera lens is to be moved and motor driving instruction is the distance to be moved of the long shot according to camera module and the driving instruction of measurement and close up shots distance to be moved calculates with driving instruction.
A kind of alarm method of phase ranging camera module, including:
Measure the distance of camera module and object to be shot;
According to the corresponding relation of object distance Yu motor driving instruction, determine the driving instruction corresponding with the object distance of described measurement;
Described driving instruction is exported to motor, makes described motor drive camera lens to move to corresponding focusing position, it is achieved auto-focusing.
Preferably, also include:
After described camera lens moves to focusing position, shoot image, and adjust the position of described camera lens according to the mass parameter of described image;
According to the corresponding relation adjusting object distance described in the distance correction that rear lens moves and motor driving instruction.
Preferably, also include:
When measuring the distance between camera module and object to be shot close to alarm distance, warning devices starts, and gives audible and visible alarm.
When use multiple measurement camera module time, after the position between multiple measurement camera modules mutually calculates, and form warning matrix, to mobile object near this warning matrix time, the alarm activation of arbitrary measurement camera module, give audible and visible alarm.
Compared with prior art, technical scheme provided by the present invention has the advantage that
Phase ranging camera module provided by the present invention and automatic alarm method thereof, the distance driving the distance that moves of camera lens i.e. to move to focusing position due to motor is controlled by driving instruction, and driving instruction is to be determined by the corresponding relation of the object distance measured and object distance and motor driving instruction, measuring camera module, also there is alarm device, and warning matrix between multiple measurement camera module, can be formed, good warning purposes can be played.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in describing below is only embodiments of the invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
The structural representation of the phase ranging camera module that Fig. 1 provides for one embodiment of the present of invention;
Linear relationship curve chart between distance S and motor driving instruction C that camera lens that Fig. 2 provides for one embodiment of the present of invention is to be moved;
The flow chart of the automatic alarm method of the phase ranging camera module that Fig. 3 provides for an alternative embodiment of the invention;
Find range between multiple phase ranging camera modules that Fig. 4 provides by one embodiment of the present of invention the warning matrix that path formed.
In figure: 10, phase ranging module;20, control module;30, module is driven.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under not making creative work premise, broadly fall into the scope of protection of the invention.
An embodiment provides a kind of phase ranging camera module, including motor and be embedded in the camera lens in described motor, as it is shown in figure 1, the camera module that the present embodiment provides also includes phase ranging module 10, control module 20 and drives module 30.
Phase ranging module 10, described phase ranging module is for measuring the object distance of camera module and object to be shot, and the object distance of described measurement is sent to control module 20, this phase ranging module is a kind of photosensitive range finding chip, lens separation phase detection micro has been arrived in the dot structure of imaging sensor by it, the lens of independent assembly of focusing are replaced with the lenticule of Pixel surface, play, by the half of photosensitive mode of pixel, the effect that camera lens light beam separates, replace CCD linear array with the combination of multiple pixels;Control module 20 is processor, for receiving the object distance of described measurement, determines the driving instruction corresponding with the object distance of described measurement with the corresponding relation of motor driving instruction according to object distance, and sends corresponding control instruction to driving module 30;Driving module 30 is driving chip, for after receiving described control instruction, by the output of described driving instruction to described motor, makes described motor drive described camera lens to move to corresponding focusing position, it is achieved auto-focusing.
In the present embodiment, the corresponding relation of object distance and motor driving instruction pre-builds and is stored in table form in control module 20, and it is the corresponding relation foundation of the corresponding relation of the distance to be moved according to object distance and camera lens and camera lens distance to be moved and motor driving instruction.
Wherein, the corresponding relation of the distance that described object distance is to be moved with camera lens obtains according to focal length formula.After measurement obtains object distance, object distance being substituted in focal length formula 1/F=1/H+1/V and calculate image distance, wherein, F is the focal length of camera module, and H is image distance, and V is object distance.Due to the difference that distance is image distance and focal length that camera lens is to be moved, and the focal length of camera module is fixing and known, therefore, it can obtain the corresponding relation of the object distance distance to be moved with camera lens according to focal length formula.
Camera lens distance to be moved and the corresponding relation of motor driving instruction are the distance to be moved of the long shot according to camera module and the driving instruction of measurement and close up shots distance to be moved obtains with driving instruction.
Owing to the distant view object distance of camera module is set as being positioned at unlimited distance, therefore, according to focal length formula, the image distance of distant view is equal to focal length, i.e. during shooting distant view image, long shot distance S1 to be moved is zero, obtains shooting driving instruction C1 during distant view image by actual photographed distant view image simultaneously.And the general 10cm of close shot object distance of camera module, therefore, after calculating image distance according to focal length formula, can go out, according to the mathematic interpolation of image distance and focal length, distance S2 that close up shots is to be moved, obtain shooting driving instruction C2 during close shot image by actual photographed close shot image simultaneously.
According to (S1, C1) (S2, C2) draws the linearity curve between distance S motor driving instruction C that camera lens is to be moved, as in figure 2 it is shown, and calculate slope of a curve K, K=(S1-S2)/(C1-C2).The corresponding relation of camera lens distance to be moved and motor driving instruction can be obtained according to above-mentioned linearity curve.
Based on this, corresponding relation according to the camera lens distance to be moved distance to be moved with camera lens with the corresponding relation of motor driving instruction and object distance can obtain the corresponding relation of object distance and motor driving instruction, such that it is able to after phase ranging module 10 records object distance, corresponding driving instruction can be determined with the corresponding relation of motor driving instruction according to object distance, thus drive motor to drive described camera lens to move to corresponding focusing position, it is achieved auto-focusing.
Additionally, the control module in the present embodiment is additionally operable to the image of analyzing and processing shooting, and adjust instruction according to the mass parameter generation of described image, and adjust instruction transmission to driving module by described;Drive module to drive described camera lens to move according to motor described in described adjustment order-driven, and the distance that moves of described camera lens feeds back to described control module after adjusting, so that the corresponding relation of object distance described in described control module correction and motor driving instruction.
The phase ranging camera module that the present embodiment provides, the distance driving the distance that moves of camera lens i.e. to move to focusing position due to motor is controlled by driving instruction, and driving instruction is to be determined by the corresponding relation of the object distance measured and object distance and motor driving instruction, therefore, the camera module that the present embodiment provides is without by repeatedly analyzing image and moving repeatedly the position of camera lens and realize auto-focusing, focusing time is shorter, speed.
An alternative embodiment of the invention provides the automatic alarm method of a kind of phase ranging camera module, and its flow chart is as it is shown on figure 3, include:
S301: measure the object distance of camera module and object to be shot;
In the present embodiment, the object distance of camera module and object to be shot is measured by phase ranging module, this phase ranging module is a kind of photosensitive range finding chip, lens separation phase detection micro has been arrived in the dot structure of imaging sensor by it, the lens of independent assembly of focusing are replaced with the lenticule of Pixel surface, play, by the half of photosensitive mode of pixel, the effect that camera lens light beam separates, replace CCD linear array with the combination of multiple pixels.
S302: according to the corresponding relation of object distance Yu motor driving instruction, determine the driving instruction corresponding with the object distance of described measurement;
Wherein, the corresponding relation of object distance and motor driving instruction is the corresponding relation foundation of the corresponding relation of the distance to be moved according to object distance and camera lens and camera lens distance to be moved and motor driving instruction.
After measurement obtains object distance, calculate image distance according to focal length formula, and the difference of image distance and focal length is the distance that camera lens is to be moved;Further, distance that long shot according to camera module is to be moved and the driving instruction of measurement and close up shots distance to be moved and driving instruction, after obtaining the corresponding relation of camera lens distance to be moved and motor driving instruction, the driving instruction corresponding with the object distance measured can be obtained.
S303: export described driving instruction to motor, makes described motor drive camera lens to move to corresponding focusing position, it is achieved auto-focusing.After realizing auto-focusing, existence in order to avoid error, also need to detect focusing result, i.e. Atomatic focusing method in the present embodiment also includes: shoots image after described camera lens moves to focusing position, and adjusts the position of described camera lens according to the mass parameter of described image;According to the corresponding relation adjusting object distance described in the distance correction that rear lens moves and motor driving instruction.
Find range between multiple phase ranging camera modules that Fig. 4 provides by one embodiment of the present of invention the warning matrix that path formed.
The maximum measure distance distance of 1# phase ranging camera module is the radius of its finding range, 4 phase ranging camera modules of layout are one group, positive four directions of two adjacent phase ranging camera module maximum measure distances determine coordinate points, wiring path between described coordinate points forms an enclosed region, and this enclosed region is i.e. warning matrix, when object immerses this enclosed region, the alarm device of phase ranging camera module can be triggered, report to the police, and image after focusing, and store as exhibit.

Claims (7)

1. a phase ranging camera module, including motor and be embedded in the camera lens in described motor, also including: phase ranging module, described phase ranging module is for measuring the object distance of camera module and object to be shot, and sends the object distance of described measurement to control module;Control module, for receiving the object distance of described measurement, determines the driving instruction corresponding with the object distance of described measurement according to object distance with the corresponding relation of motor driving instruction, and by corresponding control instruction transmission to driving module;Drive module, for after receiving described control instruction, by the output of described driving instruction to described motor, make described motor drive described camera lens to move to corresponding focusing position, it is achieved auto-focusing.
Phase ranging camera module the most according to claim 1, it is characterised in that: described control module is additionally operable to the image of analyzing and processing shooting, and adjusts instruction according to the mass parameter generation of described image, and adjusts instruction transmission to driving module by described;Described driving module is additionally operable to drive described camera lens to move according to motor described in described adjustment order-driven, and the distance that after adjusting, described camera lens moves feeds back to described control module, so that object distance described in described control module correction and the corresponding relation of motor driving instruction.
Phase ranging camera module the most according to claim 1, it is characterised in that: the corresponding relation of described object distance and motor driving instruction is the corresponding relation foundation of the corresponding relation of the distance to be moved according to object distance and camera lens and camera lens distance to be moved and motor driving instruction.
Phase ranging camera module the most according to claim 1, it is characterised in that: the corresponding relation of the distance that described object distance is to be moved with camera lens obtains according to focal length formula.
Phase ranging camera module the most according to claim 1, it is characterised in that: described camera lens distance to be moved and the corresponding relation of motor driving instruction be the distance to be moved of the long shot according to camera module and the driving instruction of measurement and close up shots distance to be moved with
The slope that driving instruction calculates obtains.
6. an alarm method for phase ranging camera module, including:
Measure the distance of camera module and object to be shot;
According to the corresponding relation of object distance Yu motor driving instruction, determine the driving instruction corresponding with the object distance of described measurement;
Described driving instruction is exported to motor, makes described motor drive camera lens to move to corresponding focusing position, it is achieved auto-focusing;
Preferably, also include:
After described camera lens moves to focusing position, shoot image, and adjust the position of described camera lens according to the mass parameter of described image;
According to the corresponding relation adjusting object distance described in the distance correction that rear lens moves and motor driving instruction.
The alarm method of phase ranging camera module the most according to claim 1, it is characterised in that: also include:
When measuring the distance between camera module and object to be shot close to alarm distance, warning devices starts, and gives audible and visible alarm;
When use multiple measurement camera module time, after the position between multiple measurement camera modules mutually calculates, and form warning matrix, to mobile object near this warning matrix time, the alarm activation of arbitrary measurement camera module, give audible and visible alarm.
CN201610617722.0A 2016-07-29 2016-07-29 Phase position ranging camera module and automatic alarming method thereof Pending CN106019531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610617722.0A CN106019531A (en) 2016-07-29 2016-07-29 Phase position ranging camera module and automatic alarming method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610617722.0A CN106019531A (en) 2016-07-29 2016-07-29 Phase position ranging camera module and automatic alarming method thereof

Publications (1)

Publication Number Publication Date
CN106019531A true CN106019531A (en) 2016-10-12

Family

ID=57114417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610617722.0A Pending CN106019531A (en) 2016-07-29 2016-07-29 Phase position ranging camera module and automatic alarming method thereof

Country Status (1)

Country Link
CN (1) CN106019531A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106646819A (en) * 2016-12-02 2017-05-10 深圳天珑无线科技有限公司 Single-hole laser focusing realization device and method
CN107682691A (en) * 2017-09-12 2018-02-09 深圳市金立通信设备有限公司 A kind of method, terminal and the computer-readable recording medium of camera focus calibration
CN109639974A (en) * 2018-12-20 2019-04-16 Oppo广东移动通信有限公司 Control method, control device, electronic device and medium
CN113067981A (en) * 2021-03-25 2021-07-02 浙江大华技术股份有限公司 Focal length adjusting method of camera and camera
CN114598813A (en) * 2022-02-13 2022-06-07 昆山丘钛微电子科技股份有限公司 Camera module automatic focusing control method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106646819A (en) * 2016-12-02 2017-05-10 深圳天珑无线科技有限公司 Single-hole laser focusing realization device and method
CN107682691A (en) * 2017-09-12 2018-02-09 深圳市金立通信设备有限公司 A kind of method, terminal and the computer-readable recording medium of camera focus calibration
CN107682691B (en) * 2017-09-12 2019-08-09 深圳市金立通信设备有限公司 A kind of method, terminal and the computer readable storage medium of camera focus calibration
CN109639974A (en) * 2018-12-20 2019-04-16 Oppo广东移动通信有限公司 Control method, control device, electronic device and medium
CN113067981A (en) * 2021-03-25 2021-07-02 浙江大华技术股份有限公司 Focal length adjusting method of camera and camera
CN113067981B (en) * 2021-03-25 2022-11-29 浙江大华技术股份有限公司 Focal length adjusting method of camera and camera
CN114598813A (en) * 2022-02-13 2022-06-07 昆山丘钛微电子科技股份有限公司 Camera module automatic focusing control method and device

Similar Documents

Publication Publication Date Title
CN106019531A (en) Phase position ranging camera module and automatic alarming method thereof
JP4844844B2 (en) Vibration measurement system and computer program
US9497388B2 (en) Zooming factor computation
JP4589261B2 (en) Surveillance camera device
CN110784641B (en) Method for combining views from multiple cameras and camera system
US20150156423A1 (en) System for following an object marked by a tag device with a camera
KR101494066B1 (en) Generation of depth data based on spatial light pattern
CN109922251A (en) The method, apparatus and system quickly captured
KR101827494B1 (en) Image acquisition system and image acquisition method
JP2007116666A (en) Surveillance camera apparatus and surveillance camera system
CN108353148A (en) Nolo flight quality testing examining system and nolo flight object detecting method
JP2018119942A (en) Imaging device, method of monitoring the same, and program
CN108020200B (en) Depth measurement method and system
WO2006012859A3 (en) Method for focussing the shooting lens of a motion-picture or video camera
US8934766B2 (en) Image pickup apparatus
CN108833795B (en) Focusing method and device of image acquisition equipment
CN107403447B (en) Depth image acquisition method
CN105874384B (en) Based on a variety of distance measuring methods with burnt system, method and camera system
CN104469169A (en) Phase ranging camera shooting module and automatic focusing method thereof
CN108234897B (en) Method and device for controlling night vision system, storage medium and processor
CN102980517A (en) Monitoring measurement method
CN104822019A (en) Method for calculating camera field angle
JP2011095112A (en) Three-dimensional position measuring apparatus, mapping system of flying object, and computer program
KR101421700B1 (en) real-time location trace system using intelligent analysis function of cctv and location trace method thereof
CN105301279B (en) A kind of speed measurement method based on camera, device and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161012