CN103197490A - Focusing motor out-of-adjustment restoration method of camera movement - Google Patents

Focusing motor out-of-adjustment restoration method of camera movement Download PDF

Info

Publication number
CN103197490A
CN103197490A CN2013101189001A CN201310118900A CN103197490A CN 103197490 A CN103197490 A CN 103197490A CN 2013101189001 A CN2013101189001 A CN 2013101189001A CN 201310118900 A CN201310118900 A CN 201310118900A CN 103197490 A CN103197490 A CN 103197490A
Authority
CN
China
Prior art keywords
lens
step
position
origin
current position
Prior art date
Application number
CN2013101189001A
Other languages
Chinese (zh)
Inventor
倪榕斌
储燕
Original Assignee
日立数字安防系统(上海)有限公司
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 日立数字安防系统(上海)有限公司 filed Critical 日立数字安防系统(上海)有限公司
Priority to CN2013101189001A priority Critical patent/CN103197490A/en
Publication of CN103197490A publication Critical patent/CN103197490A/en

Links

Abstract

The invention belongs to an electronic technical field, and particular relates to a focusing motor out-of-adjustment restoration method of a camera movement. The focusing motor out-of-adjustment restoration method of the camera movement comprises a remote monitoring center and a camera movement. The remote monitoring center sequentially controls the camera movement to reads a lens state and confirms a situation that the lens is abnormal by setting a focusing mode into a manual mode, closes an original point detection function, removes the abnormal state of the lens, starts a drive of the lens, sets a numerical value of a wide angle end of the lens and a long-focus end of the lens so as to set the focusing mode into an adjustment mode and close an address changing function, and initiates current position information of the lens, and therefore restoration of a focusing motor is finished. Compared with the prior art, due to the adoption of the focusing motor out-of adjustment restoration method of the camera movement, when the focusing motor of the camera is out of adjustment, the remote monitoring center sequentially control the camera movement to finish restoration, and therefore persistence of monitoring pictures are guaranteed.

Description

一种摄像机机芯的聚焦电机脱调修复方法 A camera movement of the focus motor off modulation fixes

技术领域 FIELD

[0001] 本发明属于电子技术领域,具体的说是一种摄像机机芯的聚焦电机脱调修复方法。 [0001] The present invention belongs to the field of electronic technology, specifically the movement of a camera focus motor de-modulation fixes.

背景技术 Background technique

[0002] 监控用的摄像机一般安装在室内外的高处,摄像机与远程监控中心之间通过电缆连接,摄像机获取的图像通过视频电缆传输到远程监控中心,远程监控中心通过通信电缆将指令发送至摄像机机芯以控制摄像机的各项动作。 [0002] Usually the monitor camera installed in height between the indoor and outdoor, and the remote monitoring center via the camera cable, the camera image acquired by a video cable to transmit to the remote monitoring center, remote monitoring center via the communication cable instruction to camera movements to control the action of the camera.

[0003] 摄像机机芯是指一种集成变焦镜头,智能控制的一体化机芯。 [0003] camera movement refers to a movement of the zoom lens for Integration, Intelligent Control. 用户发送相应的指令到摄像机机芯,从而控制摄像机机芯动作,譬如:控制图像效果,改变功能,驱动镜头的电机变倍聚焦等等。 The user sends a corresponding instruction to the camera movement, thereby controlling the operation of camera movement, such as: control the image effect, change function, focus zoom lens driving motor and the like. 摄像机机芯内包含聚焦电机、镜头、轴承和位置感应器,聚焦电机根据移动指令驱动镜头在轴承上移动,形成变倍变焦的效果,位置感应器用于获取当前的镜头位置。 The camera includes a focus motor movement, lenses, bearings and position sensor, the focus motor to move in accordance with movement instructions bearing drive the lens, the effect of forming the zoom magnification, a position sensor for acquiring a current lens position.

[0004] 参见图1,摄像机的物理驱动范围为轴承的实际长度,镜头驱动范围为镜片实际可以动作的范围。 [0004] Referring to FIG. 1, the driving range of the camera for the physical actual length of the bearing, the lens driving range of the lens can actually range operation. 镜头驱动范围大于物理驱动范围,当错误的指令企图使镜头往物理驱动范围以外位置移动时,会导致镜头碰到轴承的物理端而强制停止,出于保护镜头的目的,聚焦电机停止工作进入脱调故障状态。 When the lens driving range is greater than the range of the physical drive, when a command error attempts to move the lens to the driving range to the physical location, can cause the lens comes into physical end bearing forcibly stopped, for the purpose of protecting the lens, the focus motor is stopped goes offline tune fault condition. 具体来讲,就是摄像机用预置位指令变更广角端(WIDE端)或者长焦端(TELE端)的信息后,在发送“WIDE move”或者是“TELE move”的移动指令时,由于广角端或者长焦端的信息出错,设定了超过物理驱动范围的动作,于是镜头在轴承上移动时碰到了物理端,造成了镜头的故障。 After specifically, is the wide-angle end (WIDE end) information or a telephoto end (TELE end) with the preset instruction to change the camera, while sending "WIDE move" or "TELE move" move command, since the wide-angle end the telephoto end or the error information is set up over a physical drive range operation, thus moving lens comes into physical side, resulting in a failure of the lens on the bearing. 在这之后,下一次镜头动作时,镜头的原点检查功能运作,以检查位置感应器识别到的镜头位置和原点位置是否相符。 After that, the lens operation the next time, the origin of the lens checking operation to check for matches to identify the position of the sensor lens position and the home position. 当原点检查功能判断位置感应器识别到的镜头位置和原点位置偏移时,出于镜头保护的目的,聚焦电机停止工作进入脱调故障状态。 When checking the origin position sensor is determined to identify the origin position and a lens position shift, for the purpose of protection of the lens, the focus motor is stopped to enter the de-tune fault state. 这就是聚焦电机的脱调。 This is the de-focusing adjustment motor.

[0005]目前,要修复聚焦电机的脱调,只能在摄像机断电后,对摄像机机芯进行复位,使位置感应器识别到的镜头位置和原点位置相符。 [0005] Currently, to fix the focus adjustment motor off, powered off only after the camera, the camera movement is reset, the position of the sensor and the lens position to identify the home position match. 但是断电会造成监控的中断,对用户造成极大的不便,不适用于实际应用中。 But the power failure will cause interruption of surveillance, causing great inconvenience to the user, not suitable for practical applications.

[0006] 因此,设计一种能够在摄像机通电的情况下,修复聚焦电机脱调的方法是至关重要的。 Method [0006] Thus, to design a camera in the case of energization, de-tune the focus motor repair is essential.

发明内容 SUMMARY

[0007] 本发明的目的是提供一种能够在摄像机通电的情况下,修复聚焦电机脱调的方法。 [0007] The object of the present invention is to provide a method capable of the camera in the case of energization, de-tune the focus motor repair.

[0008] 本发明采用设计了一种摄像机机芯的聚焦电机脱调修复方法,包括远程监控中心和摄像机机芯,其特征在于:远程监控中心依次控制摄像机机芯完成如下步骤: [0008] The present invention employs a video camera is designed to focus motor off adjusting movement repair method, including remote monitoring center and camera movement, characterized by: remote monitoring center to control the camera movement sequence to complete the steps of:

步骤一,将聚焦模式设定为手动模式; Step one, the focus mode is set to manual mode;

步骤二,读取镜头状态并确认镜头存在异常,具体如下: 步骤al,读取镜头状态,并接收返回的一字节数据; Step two, the lens reads the lens state and confirm the presence of abnormality as follows: Step Al, reading lens state, and receives a byte of data returned;

步骤a2,根据一子节数据的标志位bit6确定镜头存在异常,标志位bit6为I,则镜头存在异常; Step A2, the lens bit6 determined there is an abnormality flag in accordance with a sub-section data, flags bit6 is I, the lens is abnormal;

步骤三,关闭原点检查功能; Step three, checking off origin;

步骤四,解除镜头异常状态并开启镜头驱动; Step four, the abnormal state is released and open the camera lens drive;

步骤五,设定镜头的广角端和长焦端的数值; Step five, the wide-angle end of the lens set and a telephoto end of the numerical value;

步骤六,将聚焦模式设定为调整模式并关闭地址变换功能; Step six, the focus adjustment mode to the off mode and the address conversion function;

步骤七,初始化镜头当前的位置信息; Step seven, initialize the lens current location information;

步骤八,读取原点位置信息并判断镜头当前的位置位于原点的广角侧还是长焦侧; 步骤九,若镜头当前的位置位于原点的广角侧,则按如下步骤进行原点位置粗略检 Step 8 judges the reading position of the origin information and the telephoto side or the current position of the lens at the origin of the wide-angle side; Step 9, when the current position of the lens at the wide side of the origin, the step of press for detecting the origin position coarse

索: Cable:

步骤bl,读取镜头当前的位置信息,计算长焦方向驱动值并根据长焦方向驱动值设定目标镜头位置; Step BL, read the current location information of the lens, the telephoto direction is calculated drive value, and sets the target drive value telephoto lens position according to the direction;

步骤b2,镜头向长焦端方向移动,移动过程中读取镜头当前的位置信息,当镜头当前的位置信息与目标镜头位置一致时,停止移动; Step b2, the lens moves in the direction of the telephoto end, the current position information is read during movement of the lens, when the lens position information is consistent with the current target lens position, stop moving;

步骤b3,读取原点位置信息并判断镜头当前的位置位于原点的广角侧还是长焦侧,若镜头当前的位置位于广角侧,则返回步骤al ;若镜头当前的位置位于长焦侧,则镜头向广角端方向移动,移动步数与步骤b2的步数相同,完成移动后,继续进行步骤十; Step b3, the reading position of the origin information and determines the current position or the telephoto side to the wide angle lens side is at the origin, when the current position of the lens at the wide side, and returns to step al; if the current position of the lens is located in the telephoto side, the lens moved in the direction of the wide-angle end, the number of steps and the step of moving the same number of steps b2, after the movement, proceed step 10;

若镜头当前的位置位于原点的长焦侧,则按如下步骤进行原点位置粗略检索: If the current lens position is at the origin of the telephoto side, press the steps performed to retrieve the origin position roughly:

步骤Cl,读取镜头当前的位置信息,计算广角方向驱动值并根据广角方向驱动值设定目标镜头位置; Step Cl, reads the current position information of the lens, the wide angular direction is calculated drive value, and sets the target value of the driving position of the wide angle lens direction;

步骤c2,镜头向广角端方向移动,移动过程中读取镜头当前的位置信息,当镜头当前的位置信息与目标镜头位置一致时,停止移动; Step c2, the lens moves in the direction of the wide angle end, the current position information is read during movement of the lens, when the lens position information is consistent with the current target lens position, stop moving;

步骤c3,读取原点位置信息并判断镜头当前的位置位于原点的广角侧还是长焦侧,若镜头当前的位置位于长焦侧,则返回步骤Cl ;若镜头当前的位置位于广角侧,则继续进行步骤十; Step c3, the reading position of the origin information and determines the current position or the telephoto side to the wide angle lens side is at the origin, when the current position of the lens is located on a telephoto side, it returns to step Cl; if the current position of the lens at the wide side, continued carried step 10;

步骤十,进行原点位置详细检索,具体步骤如下: Step 10, a detail retrieval origin position, the following steps:

步骤dl,读取镜头当前的位置信息,计算长焦方向驱动值并根据长焦方向驱动值设定目标镜头位置; Step DL, reads the current position information of the lens, the telephoto direction is calculated drive value, and sets the target position in accordance with the telephoto lens direction driving values;

步骤d2,镜头向长焦端方向移动I步并确认移动完成; Step d2, the lens moves toward the telephoto end step I and confirm completion of the movement direction;

步骤d3,读取原点位置信息并判断镜头当前的位置位于原点的广角侧还是长焦侧,若镜头当前的位置位于广角侧,则返回步骤dl ;若镜头当前的位置位于长焦侧,则刚由广角侧到达长焦侧的位置即为检测出的原点位置,继续进行步骤十一; Step d3, and judges the reading position of the origin information of the current position or the telephoto side to the wide angle lens side is at the origin, when the current position of the lens at the wide side, returns to the step dl; if the current position of the lens is located in the telephoto side, just position reached by the wide-angle side is the telephoto side origin position is detected, proceed to step eleven;

步骤十一,关闭镜头驱动并开启地址变换功能; Step 11, the lens drive and turn off the address conversion function;

步骤十二,设定原点位置; Step 12, set home position;

步骤十三,将镜头的广角端和长焦端的数值设定为物理驱动范围值; Step XIII, the wide-angle end of the lens and a telephoto end of the set value of a physical drive to a range of values;

步骤十四,开启镜头驱动; Fourteen step, open the lens drive;

步骤十五,开启原点检查功能; Step five, open checking the origin;

步骤十六,将聚焦模式设定为正常模式。 Step sixteen, the focus mode is set to the normal mode. [0009] 所述的步骤五具体为,将镜头的广角端和长焦端的数值设定为物理驱动范围值的2倍。 [0009] The five steps specifically, the wide-angle end of the lens and the telephoto end is set to the value 2 times the range of values ​​of physical drives.

[0010] 所述的步骤八具体如下: [0010] The eight steps as follows:

步骤el,读取原点感应器记录的原点位置信息,并接收返回的一字节数据; EL step, the home position reading recorded information home position sensor, and receives a byte of data returned;

步骤e2,根据一字节数据的标志位bit5确定镜头当前的位置,若标志位bit5为0,则镜头当前的位置位于原点的长焦侧;若标志位bit5为1,则镜头当前的位置位于原点的广角侧。 Step e2, to determine the current position of the lens in accordance with a flag bit byte data bit5, bit5 if the flag is 0, the current position of the lens at the origin of the telephoto side; a flag if the current location bit5 1, the lens the origin of the wide-angle side.

[0011] 所述的步骤十二具体如下: [0011] according to Step 12, as follows:

步骤H,读取相位补偿信息,对相位信息进行移位和倍乘后得到原点位置数据; Step H, the phase compensation read information, phase information obtained to the home position and multiplying the shifted data;

步骤f2,根据原点位置数据设定原点位置并校正镜头当前的位置信息。 Step f2, the origin position is set according to the data and corrects the current position of the origin of the lens position information.

[0012] 本发明同现有技术相比,在摄像机发生聚焦电机脱调故障时,在摄像机通电的状态下,由远程监控中心依次控制摄像机机芯完成脱调修复,保证了监视画面的持续性。 [0012] Compared with the prior art of the present invention, it occurs when the camera focus motor fault tone off, the camera at the energized state, the monitoring center by the remote control camera movement sequentially Demethylation Repairment to ensure continuous monitoring screen .

附图说明 BRIEF DESCRIPTION

[0013] 图1为摄像机的物理驱动范围与镜头驱动范围的示意图。 [0013] FIG. 1 is a schematic view of physical drive range of the camera lens driving range.

[0014] 图2为本发明的工作流程图一。 [0014] FIG 2 working a flowchart of the present invention.

[0015] 图3为本发明的工作流程图二。 [0015] FIG. 3 is a work flow chart of the invention II.

具体实施方式 Detailed ways

[0016] 现结合附图对本发明作进一步地说明。 [0016] The present invention now will be further incorporated to the accompanying drawings.

[0017] 参见图2和图3,其中“:R”开头的指令为读指令,“:W”开头的为写指令。 [0017] Referring to FIGS. 2 and 3, wherein ": R" is the beginning of the instruction read instruction, ": W" for the beginning of the write command.

[0018] 本发明在工作时,由工作人员按下远程监控中心的按钮后,远程监控中心依次控制摄像机机芯完成如下步骤。 After [0018] the present invention at work by the staff of the remote monitoring center button is pressed, the remote monitoring control center of the camera movement sequence to complete the steps.

[0019] 步骤一,将聚焦模式设定为手动模式,以避免镜头不必要的动作。 [0019] Step a, the focusing mode is set to manual mode, in order to avoid unnecessary operation of the lens.

[0020] 步骤二,读取镜头状态并确认镜头存在异常:通过指令“:RF750XX”读取镜头状态,并接收返回的一字节数据XX ;若一字节数据XX的标志位bite为1,则镜头存在异常,需要修复,若标志位bit6为0,则镜头正常,不需要修复。 [0020] Step two, read and confirm the presence of an abnormal state of the camera lens: through the command ": RF750XX" read lens state, and receives a byte of data returned XX; if a byte of data XX bite flag is 1, the lens there is an exception, needs to be repaired, if bit6 flag is 0, then the lens is normal, does not require repair.

[0021] 步骤三,通过指令“:WA2A414”关闭原点检查功能,因为此时的镜头原点信息存在异常,如果不关闭原点检查功能,那么原点检查功能会一直检查出镜头原点信息的异常状态而造成镜头的聚焦电机无法动作。 [0021] Step three, by instruction ": WA2A414" check off the origin, at this time because there is an abnormality of the origin lens information, if checking the origin is not closed, then the check will always check the origin of an abnormal state caused by the lens information origin lens focus motor can not be operated.

[0022] 步骤四,解除镜头异常状态并开启镜头驱动,由于进入脱调故障状态,聚焦电机已被禁止动作,先通过指令“:W9C420C”解除镜头异常状态,再通过指令“:W9C4300 ”开启镜头驱动,使聚焦电机能正常动作。 [0022] Step 4 is released lens abnormal state and powered lens driving, due to enter the de-tune the fault state, the focus motor has been disabled action, the first through the command ": W9C420C" released lens abnormal state, and then through the command ": W9C4300" open lens driving the focus motor can operate normally.

[0023] 步骤五,设定镜头的广角端和长焦端的数值,因为镜头端点的设定值可能存在错误,所以将广角端和长焦端的数值设为物理驱动范围值的2倍。 [0023] Step 5 the wide angle end of the lens set and a telephoto end of the numerical value, the set value of the lens as an endpoint may exist errors, so the wide angle end and telephoto end of the numerical value is doubled physical drive range of values. 镜头的现在位置不明确,为了在原点检测时,使用镜头端点检测控制而镜头不会停止,因此将镜头驱动范围设为2倍。 Lens position is not clear now, in order to detect the origin when using endpoint detection lens controlled without stopping the lens, so the lens driving range is doubled.

[0024] 步骤六,将聚焦模式设定为调整模式并关闭地址变换功能,先通过指令“:WF75303”将聚焦模式设定为调整模式,再通过指令“:WA17002”关闭地址变换功能。 [0024] Step six, the focus adjustment mode to the off mode and the address conversion function, the first through the command ": WF75303" mode is set to the focus adjustment mode, and then through the command ": WA17002" off address conversion function.

[0025] 步骤七,初始化镜头当前的位置信息,由于镜头的当前位置不明确,为了让镜头能移动到镜头驱动范围的2倍,初始化镜头当前的位置信息。 [0025] Step 7 initializes the current location information of the lens, because the current position of the lens is not clear, in order to allow the lens can be moved to 2 times the lens drive range, the initialization current lens position information.

[0026] 步骤八,读取原点位置信息并判断镜头当前的位置位于原点的广角侧还是长焦侧:通过指令“:RFE46xx”读取原点感应器记录的原点位置信息,并接收返回的一字节数据XX ;根据一字节数据XX的标志位bit5确定镜头当前的位置,若标志位bit5为0,则镜头当前的位置位于原点的长焦侧;若标志位bit5为1,则镜头当前的位置位于原点的广角侧。 [0026] Step 8 judges the reading position of the origin information and the telephoto side or the current position of the lens at the origin of the wide-angle side: instruction by: the word "RFE46xx" origin position information reading recorded home position sensor, and receives the returned data section XX; bit5 determine a current position of the lens in accordance with a data byte flag XX, bit5 if flag is 0, the current position of the lens at the origin of the telephoto side; bit5 if flag is 1, the lens current position at the wide side of the origin.

[0027] 步骤九,若镜头当前的位置位于原点的广角侧,则按如下步骤进行原点位置粗略检索:步骤bl,通过指令“:RB75Exxxx”读取镜头当前的位置信息xxxx,计算长焦方向驱动值并根据长焦方向驱动值设定目标镜头位yyyy=xxxx-H' 10。 [0027] Step 9, when the current position of the lens at the wide side of the origin, the step of press for retrieving the origin position roughly: Step BL, through the command: reading the current location information of the lens xxxx "RB75Exxxx", the driving direction is calculated telephoto setting a target value and the lens position yyyy = xxxx-H '10 in accordance with the direction of the telephoto drive values. 步骤b2,镜头向长焦端方向移动12步,移动过程中读取镜头当前的位置信息xxxx,当镜头当前的位置信息xxxx与目标镜头位置yyyy —致时,停止移动。 Step b2, the lens 12 moves in the direction of the telephoto end step, the lens movement during reading current location information of xxxx, when the current position of the lens and the target lens position information of xxxx yyyy - when activated, stops moving. 步骤b3,通过指令“:RFE46xx”读取原点感应器记录的原点位置信息并判断镜头当前的位置位于原点的广角侧还是长焦侧,若镜头当前的位置位于广角侧,则返回步骤bl ;若镜头当前的位置位于长焦侧,则镜头向广角端方向移动12步,完成移动后,继续进行步骤十。 Step b3, by instruction ": RFE46xx" home position sensor to read recorded information and determining the home position or the telephoto side current position of the lens at the origin of the wide-angle side, when the current position of the lens at the wide side, returns to step bl; if current position of the lens is located in the telephoto side, the lens 12 is moved further toward the direction of the wide angle end, after the movement, step 10 proceeds.

[0028] 若镜头当前的位置位于原点的长焦侧,则按如下步骤进行原点位置粗略检索:步骤cl,通过指令“:RB75Exxxx”读取镜头当前的位置信息xxxx,计算广角方向驱动值并根据广角方向驱动值设定目标镜头位置yyyy=xxxx+ H' 10。 [0028] If the current position of the origin lens is located on a telephoto side, press the steps performed to retrieve the origin position roughly: step cl, by the command: reading the current location information of the lens xxxx "RB75Exxxx", is calculated in accordance with the wide-angle direction and drive value setting a target drive value wide-angle direction lens position yyyy = xxxx + H '10. 步骤c2,镜头向广角端方向移动12步,移动过程中读取镜头当前的位置信息xxxx,当镜头当前的位置信息xxxx与目标镜头位置yyyy —致时,停止移动。 Step c2, the lens 12 moves in the direction of the wide-angle end step, the lens movement during reading current location information of xxxx, when the current position of the lens and the target lens position information of xxxx yyyy - when activated, stops moving. 步骤c3,通过指令“:RFE46xx”读取原点感应器记录的原点位置信息并判断镜头当前的位置位于原点的广角侧还是长焦侧,若镜头当前的位置位于长焦侦牝则返回步骤Cl ;若镜头当前的位置位于广角侧,则继续进行步骤十。 Step c3, by instruction ": RFE46xx" home position sensor to read recorded information and determining the home position or the telephoto side current position of the lens at the origin of the wide-angle side, when the current position of the telephoto lens is located detect female returns to step Cl; If the current position of the lens at the wide side, step 10 is continued.

[0029] 步骤十,进行原点位置详细检索,通过原点位置粗略检索后,镜头已处于靠近原点位置的广角侧,并且镜头当前的位置与原点之间的距离在12步之内。 [0029] Step 10, the origin position for detailed retrieval, the retrieved through rough origin position, the lens is in the wide angle side position near the origin, and the distance between the lens and the present position of the origin in step 12. 再通过详细检索,找到原点的具体位置。 Then detailed search, find the specific location of the origin. 原点位置详细检索的具体步骤如下:步骤dl,通过指令“:RB75EXXXX”读取镜头当前的位置信息xxxx,计算长焦方向驱动值并根据长焦方向驱动值设定目标镜头位置yyyy=xxxx-H' 04。 Retrieving the origin position specific steps detailed below: Step dl, by the command: reading the current location information of the lens xxxx "RB75EXXXX", the value calculated telephoto direction driving target value setting and drive yyyy The telephoto lens position direction = xxxx-H '04. 步骤d2,镜头向长焦端方向移动I步并确认移动完成。 Step d2, the lens moves toward the telephoto end I step movement direction and confirm completion. 步骤d3,通过指令“:RFE46xx”读取原点感应器记录的原点位置信息并判断镜头当前的位置位于原点的广角侧还是长焦侧,若镜头当前的位置位于广角侧,则返回步骤dl直至判断出镜头当前的位置到达长焦侧;若镜头当前的位置位于长焦侧,这时,刚由广角侧到达长焦侧的位置即为原点位置,继续进行步骤十一。 Step d3, through the command ": RFE46xx" home position sensor to read recorded information and determining the home position or the telephoto side current position of the lens at the origin of the wide-angle side, when the current position of the lens at the wide side, until it is determined in step dl return the current location reaches the telephoto lens side; if the current location is located in the telephoto lens side, then, reaches the position of just the telephoto side is the origin position of the wide-angle side, proceed to step XI.

[0030] 步骤十一,关闭镜头驱动并开启地址变换功能,先通过指令“:W9C4380”关闭镜头驱动,再通过指令“:WA17003”开启地址变换功能,为设定原点做准备。 [0030] Step 11, the lens drive and turn off the address conversion function, the first through the command ": W9C4380" lens driving off, and then through the command ": WA17003" address conversion function is turned on, in preparation for setting the origin.

[0031] 步骤十二,设定原点位置,具体步骤如下:步骤fl,通过指令“:R12A6xx”读取相位补偿信息,对相位信息进行移位和倍乘后得到原点位置数据,具体如下:取相位补偿信息的高四位并乘以4:yy = (XX » 4) * 4 ;将数据长度由一字节填充为两字节:zzzz =H' 0000 I yy;ZZZZ即为原点位置数据。 [0031] Step 12, setting the origin position, the following steps: Step fl, instruction by: reading the phase compensation information "R12A6xx", of the phase information to obtain the original position and multiplying the shifted data, as follows: Take phase compensation information is higher four and multiplied by 4: yy = (XX »4) * 4; filled by a length of the data bytes 2 bytes: zzzz = H '0000 I yy; ZZZZ is the origin position data. 步骤f2,根据原点位置数据设定原点位置并校正镜头当前的位置信息。 Step f2, the origin position is set according to the data and corrects the current position of the origin of the lens position information.

[0032] 步骤十三,将镜头的广角端和长焦端的数值设定为物理驱动范围值。 [0032] Step XIII, the wide-angle end of the lens and a telephoto end of the set value of a physical drive to a range of values.

[0033] 步骤十四,通过指令“:W9C4380 ”开启镜头驱动,设置完毕后,聚焦电机开始动作,镜头重新恢复工作状态。 [0033] Step XIV, by instruction ": W9C4380" open lens driving, after setting up the operation of the focus motor starts, the lens to restore the operating state. [0034] 步骤十五,通过指令“:WA2A404”开启原点检查功能,脱调的异常状态被修复后,重新开启原点检查功能将不会再检查出异常,继续监视原点的状态。 [0034] Step XV by instruction ": WA2A404" Open origin check, the abnormal condition is repaired off tune, will reopen origin check does not check for an abnormality continues to monitor the state of origin.

[0035] 步骤十六,通过指令“:WF75302”将聚焦模式设定为正常模式,至此,摄像机机芯聚焦电机的脱调修复全部完成。 [0035] Step sixteen, by instruction ": WF75302" focus mode is set to the normal mode, thus, the camera movement focusing motor off Repairment completed.

Claims (4)

1.一种摄像机机芯的聚焦电机脱调修复方法,包括远程监控中心和摄像机机芯,其特征在于:远程监控中心依次控制摄像机机芯完成如下步骤: 步骤一,将聚焦模式设定为手动模式; 步骤二,读取镜头状态并确认镜头存在异常,具体如下: 步骤al,读取镜头状态,并接收返回的一字节数据; 步骤a2,根据一子节数据的标志位bit6确定镜头存在异常,标志位bit6为I,则镜头存在异常; 步骤三,关闭原点检查功能; 步骤四,解除镜头异常状态并开启镜头驱动; 步骤五,设定镜头的广角端和长焦端的数值; 步骤六,将聚焦模式设定为调整模式并关闭地址变换功能; 步骤七,初始化镜头当前的位置信息; 步骤八,读取原点位置信息并判断镜头当前的位置位于原点的广角侧还是长焦侧; 步骤九,若镜头当前的位置位于原点的广角侧,则按如下步骤进行原点位 A movement of the camera focus motor off tone repair method, including remote monitoring center and camera movement, characterized by: remote monitoring center complete turn controls the camera movement the following steps: Step 1, the manual focusing mode is set to mode; step two, read and verify camera lens state is abnormal, as follows: step Al, reading lens state, and receives a byte of data returned; step a2, bit6 lens is determined according to the presence of a flag bit data subsection abnormality flag bit6 is I, the lens is abnormal; step three, checking off origin; step four, the abnormal state is released and open the camera lens drive; step 5 set value wide-angle end and telephoto lens end; step six , the focus adjustment mode to the off mode and the address conversion function; step seven, the current position information to initialize the lens; step 8 reads the information of the home position or the telephoto side and determines the current position of the lens at the origin of the wide-angle side; step nine, when the current position of the lens at the wide side of the origin, the step of press position of the origin for 粗略检索: 步骤bl,读取镜头当前的位置信息,计算长焦方向驱动值并根据长焦方向驱动值设定目标镜头位置; 步骤b2,镜头向长焦端方向移动,移动过程中读取镜头当前的位置信息,当镜头当前的位置信息与目标镜头位置一致时,停止移动; 步骤b3,读取原点位置信息并判断镜头当前的位置位于原点的广角侧还是长焦侧,若镜头当前的位置位于广角侧,则返回步骤bl ;若镜头当前的位置位于长焦侧,则镜头向广角端方向移动,移动步数与步骤b2的步数相同,完成移动后,继续进行步骤十; 若镜头当前的位置位于原点的长焦侧,则按如下步骤进行原点位置粗略检索: 步骤Cl,读取镜头当前的位置信息,计算广角方向驱动值并根据广角方向驱动值设定目标镜头位置; 步骤c2,镜头向广角端方向移动,移动过程中读取镜头当前的位置信息,当镜头当前的位 Coarse search of the steps of: BL, read the current location information of the lens, the telephoto direction is calculated drive value, and sets the target position in accordance with the telephoto lens direction driving value; step b2, the lens moving direction to the telephoto end, the lens movement during reading current position information, when the lens position information is consistent with the target current position of the lens, stop moving; step b3, the reading position of the origin information and determines the telephoto side or the current position of the lens at the origin of the wide-angle side, if the current position of the lens at the wide side, then returns to step BL; if the current position of the lens is located in the telephoto side, the lens moves in the direction of the wide-angle end, moving the same number of steps of the step number step b2, after the movement, proceed step 10; if the current lens position at the origin of the telephoto side, press the steps performed to retrieve the origin position coarse steps of: Cl, reads the current position information of the lens, the wide angular direction is calculated drive value, and sets the target position of the wide angle lens direction driving value; step c2, lens movement direction of the wide-angle end, the current position information is read during movement of the lens, when the current position of the lens 置信息与目标镜头位置一致时,停止移动; 步骤c3,读取原点位置信息并判断镜头当前的位置位于原点的广角侧还是长焦侧,若镜头当前的位置位于长焦侧,则返回步骤Cl ;若镜头当前的位置位于广角侧,则继续进行步骤十; 步骤十,进行原点位置详细检索,具体步骤如下: 步骤dl,读取镜头当前的位置信息,计算长焦方向驱动值并根据长焦方向驱动值设定目标镜头位置; 步骤d2,镜头向长焦端方向移动I步并确认移动完成; 步骤d3,读取原点位置信息并判断镜头当前的位置位于原点的广角侧还是长焦侧,若镜头当前的位置位于广角侧,则返回步骤dl ;若镜头当前的位置位于长焦侧,则刚由广角侧到达长焦侧的位置即为检测出的原点位置,继续进行步骤十一; 步骤十一,关闭镜头驱动并开启地址变换功能; 步骤十二,设定原点位置;步骤十三,将镜头 Position information coincides with the target lens position, stop moving; Step c3, the reading position of the origin information and determines the current position or the telephoto side to the wide angle lens side is at the origin, when the current position of the lens is located on a telephoto side, it returns to step Cl ; If the current position of the lens at the wide side, step 10 is continued; step 10, a detail retrieval origin position, the following steps: step DL, reads the current position information of the lens, and the drive value is calculated in accordance with the direction of the telephoto telephoto setting a target value of the driving direction of lens position; step d2, the lens moves toward the telephoto end step I and confirm completion of the movement direction; step d3, the reading position of the origin information and determines the telephoto side or the current position of the lens at the origin of the wide-angle side, If the current position of the lens at the wide side, returns to the step dl; if the current position of the lens is located in the telephoto side, just arrived from the telephoto side position is the wide-angle side origin position is detected, proceed step 11; step eleven, the lens drive and turn off the address conversion function; step 12, setting the origin position; step thirteen, the lens 的广角端和长焦端的数值设定为物理驱动范围值; 步骤十四,开启镜头驱动; 步骤十五,开启原点检查功能; 步骤十六,将聚焦模式设定为正常模式。 Wide-angle end and the telephoto end is set to a value of a physical drive range value; fourteen step, open the lens drive; fifteen step, open the origin check; step six, the focus mode is set to the normal mode.
2.根据权利要求1所述的一种摄像机机芯的聚焦电机脱调修复方法,其特征在于:所述的步骤五具体为,将镜头的广角端和长焦端的数值设定为物理驱动范围值的2倍。 Focus motor A camera according to claim 1, movement of the de-tone repair method, wherein: said step five specifically, the wide-angle end of the lens and a telephoto end of the set value for the physical drive range 2 times the value.
3.根据权利要求1所述的一种摄像机机芯的聚焦电机脱调修复方法,其特征在于所述的步骤八具体如下: 步骤el,读取原点感应器记录的原点位置信息,并接收返回的一字节数据; 步骤e2,根据一字节数据的标志位bit5确定镜头当前的位置,若标志位bit5为O,则镜头当前的位置位于原点的长焦侧;若标志位bit5为1,则镜头当前的位置位于原点的广角侧。 A camera according to claim 1, movement of the focus motor is de-tone repair method, wherein said eight steps as follows: Step EL, the home position reading recorded information home position sensor, and receiving a return the one byte of data; a step e2, the current position of the lens is determined according to a flag byte of data bit5, if the flag bit5 is O, then the current position of the lens at the origin of the telephoto side; bit5 if flag is 1, the current position of the lens at the origin of the wide-angle side.
4.根据权利要求1所述的一种摄像机机芯的聚焦电机脱调修复方法,其特征在于所述的步骤十二具体如下: 步骤H,读取相位补偿信息,对相位信息进行移位和倍乘后得到原点位置数据; 步骤f2,根据原点位置数据设定原点位置并校正镜头当前的位置信息。 A camera according to claim 1, movement of the focus adjusting motor off repair method, wherein said Step 12, as follows: Step H, the phase compensation read information, phase shift information and multiplying times the origin location data obtained; step f2, the origin position is set according to the data and corrects the current position of the origin of the lens position information.
CN2013101189001A 2013-04-08 2013-04-08 Focusing motor out-of-adjustment restoration method of camera movement CN103197490A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013101189001A CN103197490A (en) 2013-04-08 2013-04-08 Focusing motor out-of-adjustment restoration method of camera movement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013101189001A CN103197490A (en) 2013-04-08 2013-04-08 Focusing motor out-of-adjustment restoration method of camera movement

Publications (1)

Publication Number Publication Date
CN103197490A true CN103197490A (en) 2013-07-10

Family

ID=48720161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013101189001A CN103197490A (en) 2013-04-08 2013-04-08 Focusing motor out-of-adjustment restoration method of camera movement

Country Status (1)

Country Link
CN (1) CN103197490A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63252215A (en) * 1987-04-08 1988-10-19 Minolta Camera Co Ltd Automatic distance measuring apparatus
JPH07333691A (en) * 1994-06-08 1995-12-22 Nikon Corp Finder controller for camera
CN1135271A (en) * 1994-07-25 1996-11-06 大金工业株式会社 High efficiency motor apparatus and method for controlling same
JPH1078541A (en) * 1996-09-04 1998-03-24 Minolta Co Ltd Lens
JPH10253877A (en) * 1997-03-12 1998-09-25 Olympus Optical Co Ltd Camera
CN1414296A (en) * 2001-10-22 2003-04-30 林内株式会社 Fire regulating device
CN102545742A (en) * 2012-02-27 2012-07-04 固高科技(深圳)有限公司 Position sensorless control device and control method for permanent magnet synchronous motor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63252215A (en) * 1987-04-08 1988-10-19 Minolta Camera Co Ltd Automatic distance measuring apparatus
JPH07333691A (en) * 1994-06-08 1995-12-22 Nikon Corp Finder controller for camera
CN1135271A (en) * 1994-07-25 1996-11-06 大金工业株式会社 High efficiency motor apparatus and method for controlling same
JPH1078541A (en) * 1996-09-04 1998-03-24 Minolta Co Ltd Lens
JPH10253877A (en) * 1997-03-12 1998-09-25 Olympus Optical Co Ltd Camera
CN1414296A (en) * 2001-10-22 2003-04-30 林内株式会社 Fire regulating device
CN102545742A (en) * 2012-02-27 2012-07-04 固高科技(深圳)有限公司 Position sensorless control device and control method for permanent magnet synchronous motor

Similar Documents

Publication Publication Date Title
US5671387A (en) Method of automatically assigning device addresses to devices communicating over a common data bus
US6493511B2 (en) FPC (flexible printed circuit) board arrangement structure for zoom lens barrels
JP2005198242A (en) Optical filter switching apparatus in optical instrument
US6224271B1 (en) Device and method for opening and closing a barrier in a zoom camera
KR20080064869A (en) Lens barrel, camera and mobile information terminal
JP2001086486A (en) Monitor camera system and display method for monitor camera
US7872683B2 (en) Lens barrel for an imaging apparatus
US7151565B1 (en) Monitor camera capable of recording operation history, and method of recording operation history
FR2676838A1 (en) Camera system with automatic focusing device and motorized zoom.
CN100498408C (en) Projection image pattern, laser drive apparatus, camera apparatus
US7433137B2 (en) Lens barrel, camera and portable information terminal apparatus
CN1018231B (en) Interlocked zooming apparatus
CN102714711A (en) Tracking and monitoring camera device and remote monitoring system using same
US7382553B2 (en) Lens barrel, camera and portable information terminal
US20060209192A1 (en) Digital camera and mobile information terminal apparatus
KR101215199B1 (en) Information processing system, information processing apparatus and information processing method, and recording medium
US7768545B2 (en) Panoramic image management system and method
US6825991B2 (en) Lens driving device
JP4331510B2 (en) A method to learn the running limit of roller blind actuator
CA2671807C (en) Method and apparatus for video surveillance system field alignment
CA2599193A1 (en) System and method for controlling motorized window coverings
US6944396B2 (en) Lens barrel and image taking apparatus
US7855746B2 (en) Lens barrel, camera, and mobile information terminal
US5930054A (en) Lens position control apparatus
CN101197938B (en) Apparatus and method for controlling camera according to temperature

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)