WO2021127927A1 - Photographing apparatus, method for controlling movement of photographing apparatus, and electronic device - Google Patents
Photographing apparatus, method for controlling movement of photographing apparatus, and electronic device Download PDFInfo
- Publication number
- WO2021127927A1 WO2021127927A1 PCT/CN2019/127640 CN2019127640W WO2021127927A1 WO 2021127927 A1 WO2021127927 A1 WO 2021127927A1 CN 2019127640 W CN2019127640 W CN 2019127640W WO 2021127927 A1 WO2021127927 A1 WO 2021127927A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- slider
- movement
- magnetic field
- drive
- camera
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/50—Constructional details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/50—Constructional details
- H04N23/51—Housings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/695—Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
Definitions
- the invention provides a camera device, a method for controlling the movement of the camera device, and electronic equipment to realize smoother and precise control of the lifting movement and rotation movement of the lens, and at the same time improve the pressing protection and torsion protection capabilities of the lens.
- the magnetic steel magnetic field intensity generated by the magnetic steel changes monotonously.
- step S30 includes:
- Step S410 Receive a signal of linear movement of the lens mechanism of the camera device
- Step S520 Determine whether the slider is at the predetermined position according to the magnetic field strength; when the position of the slider is at the predetermined position, end; when the position of the slider is not at the predetermined position, perform step S530:
- Step S530 Calculate the number of steps required to be compensated according to the second formula, and drive the operation of the stepping motor to drive the slider to move;
- the lens mechanism when the position of the slider is the first position, the lens mechanism is in the initial position; when the position of the slider is the second position, the lens mechanism changes from linear motion to rotational motion; when When the position of the slider is the third position, the rotational movement of the lens mechanism reaches a lens angle of 360 degrees.
- the housing 200 includes a frame body 201 and a cover plate 202 covering the frame body 201.
- the cover plate 202 and the frame body 201 are enclosed to form a housing cavity 203.
- the camera device 100 is installed in the housing cavity 203.
- the cavity 203 communicates with the through port 204, and the camera mechanism 10 and the through port 204 are arranged directly opposite.
- the transmission mechanism 30 includes a first transmission assembly 31 and a second transmission assembly 32.
- One end of the first transmission assembly 31 is connected to the first driving portion 222 of the slider 22, and the other end passes through the second transmission assembly.
- the transmission component 32 is connected with the camera mechanism 10 to drive the camera mechanism 10 for linear motion.
- the second transmission component 32 is connected with the camera mechanism 10 for driving the camera mechanism 10 to rotate.
- the slider 22 drives the second transmission assembly 32 to rotate, thereby driving the camera mechanism 10 to rotate.
- the magnetic steel 50 is provided in the slider 22, the Hall element 60 is provided in a fixed position near the magnetic steel 50, and the Hall element 60 is used In the fixed position, the magnetic field intensity generated by the magnetic steel 50 is detected, and used to obtain the position information of the slider 22 according to the detected change in the magnetic field intensity of the magnetic steel 50; The magnetic field intensity of the magnetic steel changes monotonously.
- An embodiment of the present invention provides a method for controlling the movement of a camera device. As shown in FIG. 5, the method includes:
- Step S20 Determine the current position of the slider.
- the initial position is the position of the slider closest to the end of the stepping motor; the first formula is:
- Step S50 When receiving the rotation motion signal of the lens mechanism of the camera device, calculate the number of steps required to be compensated according to the second formula to drive the operation of the stepping motor to drive the slider to move to a predetermined position; wherein, The second formula is:
- the driving mechanism drives the slider to move, and then drives the lens mechanism to perform linear or rotational movement of lifting and lowering.
- the lens mechanism when the position of the slider is the first position, the lens mechanism is in the initial position; When the position of the slider is the second position, the lens mechanism changes from linear motion to rotational motion; when the position of the slider is the third position, the rotational motion of the lens mechanism reaches a lens angle of 360 degrees.
- the movement of the lens mechanism is a linear movement
- the position of the corresponding slider is between the first position and the second position.
- the position of the corresponding slider is between the second position and the third position. Between locations.
- the motor of the drive mechanism is connected with one end of the drive shaft to drive the drive shaft to rotate, and the reducer is sleeved between the slider and the stepping motor located on the drive shaft;
- the rotation of the stepping motor is transmitted to the reducer, and after being decelerated by the reducer, it is transmitted to the drive shaft, and the drive shaft converts the rotation into movement along the axial direction of the drive shaft.
- the stepping motor is driven by pulses. One pulse takes one step, and one revolution is N1 steps. Each step is subdivided into s steps.
- the pulse is an electrical signal.
- the stepper motor transfers one revolution.
- the output is converted into the rotation of the reducer, which drives the drive shaft to rotate, and drives the slide to perform linear movement of ascending or descending.
- the first formula is used to calculate the number of steps required for the stepping motor to operate when the lens mechanism performs a linear movement of ascending or descending
- the second formula is used to calculate the required steps when the lens mechanism performs a rotational movement. The number of steps the motor is running.
- the Hall element When powered on, firstly, the Hall element detects the intensity of the magnetic field generated by the magnetic steel, determines the current position of the slider and initializes it, and restores the slider to the initial position. When it is judged that the current position of the slider is not at the initial position, the first formula is used to calculate the frequency required for the operation of the stepping motor to drive the slider to move; and then the magnetic field strength is judged.
- Step S310 Drive the operation of the stepping motor according to the calculated number of compensated steps
- Step S410 Receive a signal of linear movement of the lens mechanism of the camera device
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention relates to the field of lens control, and provided are a photographing apparatus, a method for controlling movement of the photographing apparatus, and an electronic device. The photographing apparatus comprises a photographing mechanism, a transmission mechanism, which is connected to the photographing mechanism and used for driving the photographing mechanism to move, a driving mechanism, which is connected to the transmission mechanism and used for providing power for the transmission mechanism, magnetic steel, which is used for controlling power of the driving mechanism according to a magnetic field intensity, and a Hall element, which is arranged at a fixed position near the magnetic steel and used for measuring the magnetic field intensity of the magnetic steel. Further provided are the method for controlling movement of the photographing apparatus, and the electronic device. By means of the technical solution provided in the present invention, the movement of a lens can be controlled more smoothly and accurately, and pressing protection and torsion protection capabilities of the lens are improved.
Description
本发明涉及镜头控制领域,尤其涉及一种摄像装置、控制摄像装置运动的方法及电子设备。The present invention relates to the field of lens control, in particular to a camera device, a method for controlling the movement of the camera device, and electronic equipment.
目前消费者对屏占比的要求越来越高;弹出式镜头作为一种全面屏的解决方案,已经被各大厂商采用,不仅可以实现真正的全面屏,而且具有结构上的美感。但如何控制镜头的移动和旋转,目前还没有一个满意的技术方案,直接通过电机控制镜头的移动和旋转,一方面镜头升降位置和旋转移动的切换不平滑,位置不精确,另一方向容易造成过度移动或过度旋转,造成故障,同时角度控制不精准,易损坏。At present, consumers have higher and higher requirements for the screen-to-body ratio; as a full-screen solution, the pop-up lens has been adopted by major manufacturers. It can not only achieve a true full-screen, but also has a structural aesthetic. However, there is no satisfactory technical solution for how to control the movement and rotation of the lens. The movement and rotation of the lens are directly controlled by the motor. On the one hand, the switch between the lifting position and the rotation movement of the lens is not smooth, the position is not accurate, and the other direction is easy to cause Excessive movement or excessive rotation will cause malfunctions, and the angle control will be inaccurate and easy to damage.
发明内容Summary of the invention
本发明提供的一种摄像装置、控制摄像装置运动的方法及电子设备,实现更加平滑和精确地控制镜头的升降运动和旋转运动,同时提升镜头的按压保护和扭转保护能力。The invention provides a camera device, a method for controlling the movement of the camera device, and electronic equipment to realize smoother and precise control of the lifting movement and rotation movement of the lens, and at the same time improve the pressing protection and torsion protection capabilities of the lens.
为实现上述目的,本发明提供的所述摄像装置包括摄像机构、与所述摄像机构连接以用于驱动所述摄像机构运动的传动机构、与所述传动机构连接以用于向所述传动机构提供动力驱动机构、用于依据磁场强度控制所述驱动机构动力的磁钢以及设于所述磁钢附近固定位置用于检测所述磁钢磁场强度的霍尔元件;所述驱动机构包括驱动轴和套设于所述驱动轴上并可沿所述驱动轴之轴向运动的滑块;所述传动机构包括与所述摄像机构和所述滑块连接以用于驱动所述摄像机构作线性运动的第一传动组件和与所述摄像机构连接以用于驱动所述摄像机构旋转的第二传动组件;所述第一传动组件包括与所述摄像机构连接的支撑座和连接于所述支撑座与所述滑块之间的弹性件;在所述摄像机构作线性运动过程中,所述滑块通过所述弹性件驱动所述支撑座和所述摄像机构作线性运动,在所述摄像机构旋转过程中,所述弹性件发生 变形,所述滑块相对所述支撑座运动,所述滑块驱动所述第二传动组件带动所述摄像机构旋转,在所述摄像机构作线性运动或旋转运动过程中,所述霍尔元件检测所述磁钢产生的磁场强度以确定所述霍尔元件与所述磁钢之间的相对位置,通过改变所述驱动机构的输入信号,进而改变输出动力,从而带动所述摄像机构作线性运动以及旋转运动。In order to achieve the above-mentioned object, the camera device provided by the present invention includes a camera mechanism, a transmission mechanism connected with the camera mechanism for driving the motion of the camera mechanism, and connected with the transmission mechanism for driving the transmission mechanism Provide a power driving mechanism, a magnet for controlling the power of the driving mechanism according to the magnetic field strength, and a Hall element arranged at a fixed position near the magnet for detecting the magnetic field strength of the magnet; the driving mechanism includes a drive shaft And a slider sleeved on the drive shaft and movable along the axial direction of the drive shaft; the transmission mechanism includes a connection with the camera mechanism and the slider for driving the camera mechanism for linear motion A moving first transmission assembly and a second transmission assembly connected to the camera mechanism for driving the camera mechanism to rotate; the first transmission assembly includes a support seat connected to the camera mechanism and a support seat connected to the support The elastic member between the seat and the slider; during the linear motion of the camera mechanism, the slider drives the support base and the camera mechanism to make linear motion through the elastic member, and the camera During the rotation of the mechanism, the elastic member is deformed, the slider moves relative to the support base, the slider drives the second transmission assembly to drive the camera mechanism to rotate, and the camera mechanism performs linear motion or During the rotational movement, the Hall element detects the intensity of the magnetic field generated by the magnet to determine the relative position between the Hall element and the magnet, and changes the output by changing the input signal of the driving mechanism. Power, thereby driving the camera mechanism to perform linear and rotational motions.
优选地,所述磁钢设于所述滑块内,所述霍尔元件设于所述磁钢附近固定位置,所述霍尔元件用于在所述固定位置时检测所述磁钢产生的磁场强度、并用于根据检测到的磁钢的磁场强度的变化得到所述滑块的位置信息。Preferably, the magnetic steel is arranged in the slider, the Hall element is arranged in a fixed position near the magnetic steel, and the Hall element is used to detect the magnetic steel produced in the fixed position. The magnetic field strength is used to obtain the position information of the slider according to the detected change in the magnetic field strength of the magnetic steel.
优选地,所述霍尔元件设于所述滑块内,所述磁钢设于所述霍尔元件附近固定位置,所述霍尔元件用于在所述固定位置时检测所述磁钢产生的磁场强度、并用于根据检测到的磁钢的磁场强度的变化得到所述滑块的位置信息。Preferably, the Hall element is arranged in the slider, the magnetic steel is arranged at a fixed position near the Hall element, and the Hall element is used to detect the generation of the magnetic steel at the fixed position. The intensity of the magnetic field is used to obtain the position information of the slider according to the detected change in the intensity of the magnetic field of the magnetic steel.
优选地,所述驱动机构还包括步进电机和减速器,所述电机与所述驱动轴的一端连接以驱动所述驱动轴旋转,所述减速器套设于驱动轴上位于的所述滑块与所述步进电机之间;所述步进电机的转动传给所述减速器,经过所述减速器减速后传给所述驱动轴,所述驱动轴将转动转化为沿所述驱动轴之轴向运动。Preferably, the drive mechanism further includes a stepping motor and a reducer, the motor is connected to one end of the drive shaft to drive the drive shaft to rotate, and the reducer is sleeved on the slide on the drive shaft. Between the block and the stepping motor; the rotation of the stepping motor is transmitted to the reducer, and after being decelerated by the reducer, it is transmitted to the drive shaft, and the drive shaft converts the rotation into the drive along the The axial movement of the shaft.
优选地,所述磁钢产生的磁钢磁场强度呈单调变化。Preferably, the magnetic steel magnetic field intensity generated by the magnetic steel changes monotonously.
本发明提供一种控制摄像装置运动的方法,所述方法包括:The present invention provides a method for controlling the movement of a camera device, the method including:
步骤S10:通过摄像装置的霍尔元件检测摄像装置的磁钢的当前磁场强度,并根据所述当前磁场强度得到摄像装置的滑块的当前位置;Step S10: Detect the current magnetic field strength of the magnet of the camera device through the Hall element of the camera device, and obtain the current position of the slider of the camera device according to the current magnetic field strength;
步骤S20:判断所述滑块的当前位置,当所述滑块的当前位置不在初始位置时,根据第一公式计算所述滑块恢复到初始位置所需要的摄像装置的步进电机补偿的步数;其中,所述初始位置是所述滑块在最靠近所述步进电机端的位置;所述第一公式为:Step S20: Determine the current position of the slider. When the current position of the slider is not at the initial position, calculate the stepping motor compensation step of the camera device required for the slider to return to the initial position according to the first formula. Wherein, the initial position is the position of the slider closest to the end of the stepping motor; the first formula is:
其中,Gr为摄像机构的驱动机构的减速器的减速比;N1为所述步进电机运转一圈所需要的步数;s为所述步进电机驱动芯片细分的细分数;D为所述步骤电机运转一圈运行的距离;t1为当前位置,t2为预定位置;Wherein, Gr is the reduction ratio of the reducer of the drive mechanism of the camera mechanism; N1 is the number of steps required for the stepper motor to run one revolution; s is the number of subdivisions of the stepper motor drive chip; D is In the step, the distance that the motor runs for one revolution; t1 is the current position, and t2 is the predetermined position;
步骤S30:根据所述计算的补偿的步数驱动所述步进电机的运行带动所述滑块运动到初始位置,完成初始化;Step S30: drive the operation of the stepping motor to drive the slider to the initial position according to the calculated number of compensated steps, and complete the initialization;
步骤S40:当接收到摄像装置的镜头机构进行线性运动信号时,根据所述第一公式计算所需补偿的步数驱动所述步进电机的运行带动所述滑块运动到预定位置;Step S40: When a linear motion signal of the lens mechanism of the camera device is received, the number of steps required to be compensated is calculated according to the first formula to drive the operation of the stepping motor to drive the slider to move to a predetermined position;
步骤S50:当接收到摄像装置的镜头机构进行旋转运动信号时,根据所述第二公式计算所需补偿的步数驱动所述步进电机的运行带动所述滑块运动到预定位置;其中,所述第二公式为:Step S50: When receiving the rotation motion signal of the lens mechanism of the camera device, calculate the number of steps required to be compensated according to the second formula to drive the operation of the stepping motor to drive the slider to move to a predetermined position; wherein, The second formula is:
进一步地,所述步骤S30包括:Further, the step S30 includes:
步骤S310:根据所述计算的补偿的步数驱动所述步进电机的运行;Step S310: Drive the operation of the stepping motor according to the calculated number of compensated steps;
步骤S320:根据所述磁场强度判断所述滑块的位置是否在初始位置;当所述滑块的位置在初始位置时,初始化结束;当所述滑块的位置不在初始位置时,执行步骤S330:Step S320: Determine whether the position of the slider is at the initial position according to the magnetic field strength; when the position of the slider is at the initial position, the initialization ends; when the position of the slider is not at the initial position, perform step S330 :
步骤S330:根据所述磁场的变化判断所述滑块的运动是否有阻挡;当所述滑块的运动有阻挡时,初始化结束;当所述滑块的运动没有阻挡时,返回执行步骤S20。Step S330: Determine whether the movement of the slider is blocked according to the change of the magnetic field; when the movement of the slider is blocked, the initialization ends; when the movement of the slider is not blocked, return to step S20.
进一步地,所述步骤S40包括:Further, the step S40 includes:
步骤S410:接收到摄像装置的镜头机构进行线性运动的信号;Step S410: Receive a signal of linear movement of the lens mechanism of the camera device;
步骤S420:根据所述磁场强度判断所述滑块是否在预定位置;当所述滑块的位置在预定位置时,结束;当所述滑块的位置不在预定位置时,执行步骤S430:Step S420: Determine whether the slider is at the predetermined position according to the magnetic field strength; when the position of the slider is at the predetermined position, end; when the position of the slider is not at the predetermined position, perform step S430:
步骤S430:根据所述第一公式计算所需补偿的步数,驱动所述步进电机的运行带动所述滑块运动;Step S430: Calculate the number of steps required to be compensated according to the first formula, and drive the operation of the stepping motor to drive the slider to move;
步骤S440:根据所述磁场强度判断所述滑块是否在预定位置;当所述滑块的位置在预定位置时,结束;当所述滑块的位置不在预定位置时,执行步骤S450:Step S440: Determine whether the slider is at the predetermined position according to the magnetic field strength; when the position of the slider is at the predetermined position, end; when the position of the slider is not at the predetermined position, perform step S450:
步骤S450:根据所述磁场的变化判断所述滑块的运动是否有阻挡;当所述滑块的运动有阻挡时,执行步骤S20;当所述滑块的运动没有阻挡时,返回执行步骤S430。Step S450: Determine whether the movement of the slider is blocked according to the change in the magnetic field; when the movement of the slider is blocked, perform step S20; when the movement of the slider is not blocked, return to step S430 .
进一步地,所述步骤S50包括:Further, the step S50 includes:
步骤S510:接收到摄像装置的镜头机构进行旋转运动的信号;Step S510: Receive a signal of the rotation movement of the lens mechanism of the camera device;
步骤S520:根据所述磁场强度判断所述滑块是否在预定位置;当所述滑块的位置在预定位置时,结束;当所述滑块的位置不在预定位置时,执行步骤S530:Step S520: Determine whether the slider is at the predetermined position according to the magnetic field strength; when the position of the slider is at the predetermined position, end; when the position of the slider is not at the predetermined position, perform step S530:
步骤S530:根据所述第二公式计算所需补偿的步数,驱动所述步进电机的运行带动所述滑块运动;Step S530: Calculate the number of steps required to be compensated according to the second formula, and drive the operation of the stepping motor to drive the slider to move;
步骤S540:根据所述磁场强度判断所述滑块是否在预定位置;当所述滑块的位置在预定位置时,结束;当所述滑块的位置不在预定位置时,执行步骤S550:Step S540: Determine whether the slider is at a predetermined position according to the magnetic field strength; when the position of the slider is at the predetermined position, end; when the position of the slider is not at the predetermined position, perform step S550:
步骤S550:根据所述磁场的变化判断所述滑块的运动是否有阻挡;当所述滑块的运动有阻挡时,执行步骤S20;当所述滑块的运动没有阻挡时,返回执行步骤S530。Step S550: Determine whether the movement of the slider is blocked according to the change in the magnetic field; when the movement of the slider is blocked, perform step S20; when the movement of the slider is not blocked, return to perform step S530 .
进一步地,当所述滑块的位置为第一位置时,所述镜头机构处于初始位置;当所述滑块的位置为第二位置时,所述镜头机构从线性运动改变为旋转运动;当所述滑块的位置为第三位置时,所述镜头机构的旋转运动达到旋转360度的镜头转角。Further, when the position of the slider is the first position, the lens mechanism is in the initial position; when the position of the slider is the second position, the lens mechanism changes from linear motion to rotational motion; when When the position of the slider is the third position, the rotational movement of the lens mechanism reaches a lens angle of 360 degrees.
此外,本发明提供一种电子设备,所述电子设备包括如上所述的摄像装置。In addition, the present invention provides an electronic device including the above-mentioned camera device.
本发明提供的一种摄像装置、控制摄像装置运动的方法及电子设备,通过霍尔元件检测磁钢的磁场强度变化确定滑块位置,进一步实现更加平滑和精确地控制镜头的升降运动和旋转运动,同时提升镜头的按压保护和扭转保护能力。The invention provides a camera device, a method for controlling the movement of the camera device, and electronic equipment. The position of the slider is determined by the Hall element detecting the magnetic field intensity change of the magnetic steel, thereby further achieving smoother and more precise control of the lifting and rotating movements of the lens , At the same time, the press protection and torsion protection capabilities of the lens are improved.
图1为本发明实施例一提供的电子设备的分解示意图;FIG. 1 is an exploded schematic diagram of an electronic device provided by Embodiment 1 of the present invention;
图2为本发明实施例一提供的摄像装置的结构示意图;2 is a schematic structural diagram of a camera device provided by Embodiment 1 of the present invention;
图3为图2中所示摄像装置的分解示意图;FIG. 3 is an exploded schematic diagram of the camera device shown in FIG. 2;
图4为图3中所示滑块的结构示意图;Fig. 4 is a schematic diagram of the structure of the slider shown in Fig. 3;
图5为本发明一实施例提供的控制摄像装置运动方法的流程示意图;5 is a schematic flowchart of a method for controlling the movement of a camera device according to an embodiment of the present invention;
图6为图5中的步骤S30的流程示意图;FIG. 6 is a schematic flowchart of step S30 in FIG. 5;
图7为图5中的步骤S40的流程示意图;FIG. 7 is a schematic flowchart of step S40 in FIG. 5;
图8为图5中的步骤S50的流程示意图。FIG. 8 is a schematic flowchart of step S50 in FIG. 5.
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not used to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
请结合参照图1和图2,依照本发明一实施例提供的一种电子设备1,包括摄像装置100和外壳200,摄像装置100包括摄像机构10、驱动机构20、传动机构30、导向机构40、磁钢50以及霍尔元件50;驱动机构20向传动机构30提供动力后,传动机构30驱动摄像机构10进行伸缩和旋转,导向机构40用于引导摄像机构10运动;磁钢50产生磁场,磁场强度控制所述驱动机构20动力;霍尔元件60检测磁钢50产生的磁场强度;在所述摄像机构10作线性运动或旋转运动过程中,所述霍尔元件60检测所述磁钢50产生的磁场强度以确定所述霍尔元件60与所述磁钢50之间的相对位置,通过改变所述驱动机构的输入信号,进而改变输出动力,从而带动所述摄像机构10作线性运动或旋转运动。外壳200包括框体201和盖设于框体201的盖板202,盖板202和框体201围合形成收容腔203,摄像装置100安装于收容腔203内,框体201贯穿开设有与收容腔203连通的通口204,摄像机构10与通口204正对设置。1 and 2 in combination, an electronic device 1 according to an embodiment of the present invention includes a camera device 100 and a housing 200. The camera device 100 includes a camera mechanism 10, a drive mechanism 20, a transmission mechanism 30, and a guide mechanism 40. , The magnetic steel 50 and the Hall element 50; after the drive mechanism 20 provides power to the transmission mechanism 30, the transmission mechanism 30 drives the camera mechanism 10 to expand and rotate, and the guide mechanism 40 is used to guide the movement of the camera mechanism 10; the magnetic steel 50 generates a magnetic field, The intensity of the magnetic field controls the power of the driving mechanism 20; the Hall element 60 detects the intensity of the magnetic field generated by the magnet 50; during the linear or rotational movement of the camera mechanism 10, the Hall element 60 detects the magnet 50 The intensity of the generated magnetic field determines the relative position between the Hall element 60 and the magnet 50. By changing the input signal of the driving mechanism, the output power is changed, thereby driving the camera mechanism 10 to perform linear motion or Rotational movement. The housing 200 includes a frame body 201 and a cover plate 202 covering the frame body 201. The cover plate 202 and the frame body 201 are enclosed to form a housing cavity 203. The camera device 100 is installed in the housing cavity 203. The cavity 203 communicates with the through port 204, and the camera mechanism 10 and the through port 204 are arranged directly opposite.
电子设备1在本实施例中优选为智能手机,但也可以是平板电脑或者相机。The electronic device 1 is preferably a smart phone in this embodiment, but it may also be a tablet computer or a camera.
请参阅图2和图3,摄像机构10包括壳体11和安装于壳体11内的摄像头12,壳体11上设有与摄像头12对位的开口13,开口13的数量与摄像头12数量相同,且每个开口13都对应一个摄像头12,壳体11的底部还设有供导线伸出的线管14。摄像头12在本实施例中优选为两个但不局限于两个,两个摄像头12对称设置在壳体11内,从而增强了摄像装置100的拍摄质量。2 and 3, the camera mechanism 10 includes a housing 11 and a camera 12 installed in the housing 11. The housing 11 is provided with an opening 13 aligned with the camera 12, and the number of the openings 13 is the same as the number of the cameras 12 , And each opening 13 corresponds to a camera 12, and the bottom of the housing 11 is also provided with a wire tube 14 for wires to extend. In this embodiment, there are preferably two cameras 12 but not limited to two, and the two cameras 12 are symmetrically arranged in the housing 11, thereby enhancing the shooting quality of the camera device 100.
请参阅图2和图3,驱动机构20包括驱动轴21、滑块22以及用于向驱动轴21提供动力的电机23和减速箱24,驱动轴21优选为丝杆,驱动轴21的一端穿过滑块22后与减速箱24连接,且驱动轴21与滑块22螺纹连接,因此当驱动轴21转动时,滑块22会沿驱动轴21的轴向作线性运动,并带动传动机构30和摄 像机构10同步作线性运动,同时减速箱24会对电机23的旋转输出进行降速增矩处理,从而使驱动轴21获得更大的扭矩。优选地,在本实施例中,电机23为步进电机,当给所述步进电机一个脉冲信号时,所述步进电机走一步,整步情况下,步进电机每走20步为电机23运转一圈,则所述步进电机每走一步转一个步进角18°;减速箱24为行星减速箱。2 and 3, the drive mechanism 20 includes a drive shaft 21, a sliding block 22, and a motor 23 for providing power to the drive shaft 21 and a reduction box 24. The drive shaft 21 is preferably a screw rod, and one end of the drive shaft 21 penetrates After passing through the slider 22, it is connected with the reduction box 24, and the drive shaft 21 is threadedly connected with the slider 22. Therefore, when the drive shaft 21 rotates, the slider 22 will move linearly along the axial direction of the drive shaft 21 and drive the transmission mechanism 30. The linear motion is synchronized with the camera mechanism 10, and at the same time, the reduction box 24 will reduce the speed and increase the torque of the rotation output of the motor 23, so that the drive shaft 21 can obtain a larger torque. Preferably, in this embodiment, the motor 23 is a stepper motor. When a pulse signal is given to the stepper motor, the stepper motor takes one step. In the case of the entire step, the stepper motor takes every 20 steps as the motor. When 23 rotates for one revolution, the stepping motor rotates at a step angle of 18° for each step; the gearbox 24 is a planetary gearbox.
请参阅图2、图3和图4,滑块22包括套设于驱动轴21上的滑块主体221、位于滑块主体221一侧的第一驱动部222及位于滑块主体221另一侧的第二驱动部223,第一驱动部222和第二驱动部223用于与传动机构30连接,滑块主体221和第二驱动部223内部分别安装有具有内螺纹的螺母,滑块22通过滑块主体221内的螺母与驱动轴21螺纹连接,第一驱动部222上凹设有一缺口。可以理解地,滑块主体221和第二驱动部223内不一定要安装螺母,例如,在滑块主体221和第二驱动部223相应部位设置通孔,在通孔的孔壁上设置螺纹也是可以的。Please refer to Figures 2, 3 and 4, the slider 22 includes a slider body 221 sleeved on the drive shaft 21, a first drive portion 222 located on one side of the slider body 221, and on the other side of the slider body 221 The second driving part 223, the first driving part 222 and the second driving part 223 are used to connect with the transmission mechanism 30. The slider body 221 and the second driving part 223 are respectively installed with nuts with internal threads, and the slider 22 passes The nut in the slider body 221 is threadedly connected with the drive shaft 21, and the first drive portion 222 is recessed with a notch. Understandably, it is not necessary to install nuts in the slider body 221 and the second driving portion 223. For example, a through hole is provided in the corresponding part of the slider body 221 and the second driving portion 223, and a thread is also provided on the hole wall of the through hole. It is possible.
请参阅图1、图2和图3,传动机构30包括第一传动组件31和第二传动组件32,第一传动组件31一端与滑块22的第一驱动部222连接、另一端通过第二传动组件32与摄像机构10连接,从而驱动摄像机构10作线性运动,第二传动组件32与摄像机构10连接以用于驱动摄像机构10旋转,当摄像机构10作线性运动被推出至指定位置后,滑块22驱动第二传动组件32旋转,进而带动摄像机构10旋转。此种设计方式,使摄像机构10既能作线性运动,又能进行旋转运动,丰富了摄像装置100的功能,当用户需要使用电子设备1的拍摄功能时,不用转动整个电子设备1就能拍摄不同角度的图片,方便用户使用,提升了用户的操作体验。Please refer to Figures 1, 2 and 3, the transmission mechanism 30 includes a first transmission assembly 31 and a second transmission assembly 32. One end of the first transmission assembly 31 is connected to the first driving portion 222 of the slider 22, and the other end passes through the second transmission assembly. The transmission component 32 is connected with the camera mechanism 10 to drive the camera mechanism 10 for linear motion. The second transmission component 32 is connected with the camera mechanism 10 for driving the camera mechanism 10 to rotate. When the camera mechanism 10 is pushed out to a designated position in a linear motion , The slider 22 drives the second transmission assembly 32 to rotate, thereby driving the camera mechanism 10 to rotate. This design method enables the camera mechanism 10 to perform both linear motion and rotational motion, which enriches the functions of the camera device 100. When the user needs to use the shooting function of the electronic device 1, he can shoot without rotating the entire electronic device 1 Pictures from different angles are convenient for users to use and enhance the user's operating experience.
第一传动组件31包括支撑座311、支撑杆312、弹簧313以及套筒314,支撑座311位于摄像机构10靠近驱动机构20的一侧并通过第二传动组件32与摄像机构10连接,支撑杆312的一端与支撑座311连接,另一端通过套筒314与第一驱动部222连接,套筒314和弹簧313均套设于支撑杆312的外周,且弹簧313的两端分别与支撑座311和套筒314连接,滑块22沿驱动轴21的轴向向外运动时,滑块22会对套筒314产生一个推力该推力作用在弹簧313上,使弹簧313推动支撑座311和支撑杆312线性运动,支撑座313通过第二传动组件32将摄像机构10推出至预定位置。The first transmission assembly 31 includes a support base 311, a support rod 312, a spring 313, and a sleeve 314. The support base 311 is located on the side of the camera mechanism 10 close to the drive mechanism 20 and is connected to the camera mechanism 10 through the second transmission assembly 32. The support rod One end of 312 is connected to the support base 311, and the other end is connected to the first driving portion 222 through a sleeve 314. The sleeve 314 and the spring 313 are sleeved on the outer circumference of the support rod 312, and both ends of the spring 313 are respectively connected to the support base 311. Connected to the sleeve 314, when the slider 22 moves outward along the axial direction of the drive shaft 21, the slider 22 generates a thrust on the sleeve 314. The thrust acts on the spring 313, causing the spring 313 to push the support seat 311 and the support rod 312 moves linearly, and the support base 313 pushes the camera mechanism 10 out to a predetermined position through the second transmission assembly 32.
请参阅图2和图3,在一实施例中,磁钢50设于所述滑块22内,所述霍尔元件60设于所述磁钢50附近固定位置,所述霍尔元件60用于在所述固定位置时检测所述磁钢50产生的磁场强度,并用于根据检测到的磁钢50的磁场强度的变化得到所述滑块22的位置信息;其中,所述磁钢产生的磁钢磁场强度呈单调变化。2 and 3, in an embodiment, the magnetic steel 50 is provided in the slider 22, the Hall element 60 is provided in a fixed position near the magnetic steel 50, and the Hall element 60 is used In the fixed position, the magnetic field intensity generated by the magnetic steel 50 is detected, and used to obtain the position information of the slider 22 according to the detected change in the magnetic field intensity of the magnetic steel 50; The magnetic field intensity of the magnetic steel changes monotonously.
而在另一实施例中,所述霍尔元件60设于所述滑块22内,所述磁钢50设于所述霍尔元件60附近固定位置,所述霍尔元件60用于在所述固定位置时检测所述磁钢50产生的磁场强度,并用于根据检测到的磁钢50的磁场强度的变化得到所述滑块22的位置信息;其中,所述磁钢产生的磁钢磁场强度呈单调变化。In another embodiment, the Hall element 60 is provided in the slider 22, the magnet 50 is provided in a fixed position near the Hall element 60, and the Hall element 60 is used in the In the fixed position, the magnetic field intensity generated by the magnet 50 is detected, and used to obtain the position information of the slider 22 according to the detected change in the magnetic field intensity of the magnet 50; wherein, the magnetic steel magnetic field generated by the magnet The intensity changes monotonously.
本发明一实施例提供了一种控制摄像装置运动的方法,如图5所示,所述方法包括:An embodiment of the present invention provides a method for controlling the movement of a camera device. As shown in FIG. 5, the method includes:
步骤S10:通过摄像装置的霍尔元件检测摄像装置的磁钢的当前磁场强度,并根据所述当前磁场强度得到摄像装置的滑块的当前位置;Step S10: Detect the current magnetic field strength of the magnet of the camera device through the Hall element of the camera device, and obtain the current position of the slider of the camera device according to the current magnetic field strength;
步骤S20:判断所述滑块的当前位置,当所述滑块的当前位置不在初始位置时,根据第一公式计算所述滑块恢复到初始位置所需要的摄像装置的步进电机补偿的步数;其中,所述初始位置是所述滑块在最靠近所述步进电机端的位置;所述第一公式为:Step S20: Determine the current position of the slider. When the current position of the slider is not at the initial position, calculate the stepping motor compensation step of the camera device required for the slider to return to the initial position according to the first formula. Wherein, the initial position is the position of the slider closest to the end of the stepping motor; the first formula is:
其中,Gr为摄像机构的驱动机构的减速器的减速比;N1为所述步进电机运转一圈所需要的步数;s为所述步进电机驱动芯片细分的细分数;D为所述步骤电机运转一圈运行的距离;t1为当前位置,t2为预定位置;Wherein, Gr is the reduction ratio of the reducer of the drive mechanism of the camera mechanism; N1 is the number of steps required for the stepper motor to run one revolution; s is the number of subdivisions of the stepper motor drive chip; D is In the step, the distance that the motor runs for one revolution; t1 is the current position, and t2 is the predetermined position;
步骤S30:根据所述计算的补偿的步数驱动所述步进电机的运行带动所述滑块运动到初始位置,完成初始化;Step S30: drive the operation of the stepping motor to drive the slider to the initial position according to the calculated number of compensated steps, and complete the initialization;
步骤S40:当接收到摄像装置的镜头机构进行线性运动信号时,根据所述第一公式计算所需补偿的步数驱动所述步进电机的运行带动所述滑块运动到预定位置;Step S40: When a linear motion signal of the lens mechanism of the camera device is received, the number of steps required to be compensated is calculated according to the first formula to drive the operation of the stepping motor to drive the slider to move to a predetermined position;
步骤S50:当接收到摄像装置的镜头机构进行旋转运动信号时,根据所述第二公式计算所需补偿的步数驱动所述步进电机的运行带动所述滑块运动到预定位置;其中,所述第二公式为:Step S50: When receiving the rotation motion signal of the lens mechanism of the camera device, calculate the number of steps required to be compensated according to the second formula to drive the operation of the stepping motor to drive the slider to move to a predetermined position; wherein, The second formula is:
具体地,驱动机构带动滑块运动,进而驱动镜头机构进行升降的线性运动或者旋转运动,对应地,当所述滑块的位置为第一位置时,所述镜头机构处于初始位置;当所述滑块的位置为第二位置时,所述镜头机构从线性运动改变为旋转运动;当所述滑块的位置为第三位置时,所述镜头机构的旋转运动达到旋转360度的镜头转角。当所述镜头机构的运动为线性运动时,对应滑块位置在第一位置至第二位置之间,当所述镜头机构的运动为旋转运动时,对应滑块位置在第二位置至第三位置之间。根据结构运行原理,在第二位置至第三位置之间的滑块直线移动位移,和镜头机构的0°~360°的镜头转角一一对应。由于磁钢产生的磁钢磁场强度呈单调连续变化,同时镜头机构的升降线性运动过程和旋转运动过程相互独立,因此设定滑块的第二位置为运动状态判断的阈值,根据所述滑块所处的位置与第二位置的判断,选择第一公式或者第二公式进行计算。Specifically, the driving mechanism drives the slider to move, and then drives the lens mechanism to perform linear or rotational movement of lifting and lowering. Correspondingly, when the position of the slider is the first position, the lens mechanism is in the initial position; When the position of the slider is the second position, the lens mechanism changes from linear motion to rotational motion; when the position of the slider is the third position, the rotational motion of the lens mechanism reaches a lens angle of 360 degrees. When the movement of the lens mechanism is a linear movement, the position of the corresponding slider is between the first position and the second position. When the movement of the lens mechanism is a rotational movement, the position of the corresponding slider is between the second position and the third position. Between locations. According to the operating principle of the structure, the linear movement displacement of the slider between the second position and the third position corresponds to the lens rotation angle of the lens mechanism from 0° to 360°. Since the magnetic field intensity of the magnetic steel produced by the magnetic steel changes monotonously and continuously, and the linear movement process and the rotational movement process of the lens mechanism are independent of each other, the second position of the slider is set as the threshold value for judging the movement state, according to the slider To determine the position and the second position, select the first formula or the second formula for calculation.
进一步地,所述驱动机构的电机与驱动轴的一端连接以驱动所述驱动轴旋转,所述减速器套设于驱动轴上位于的所述滑块与所述步进电机之间;所述步进电机的转动传给所述减速器,经过所述减速器减速后传给所述驱动轴,所述驱动轴将转动转化为沿所述驱动轴之轴向运动。步进电机是以脉冲驱动步动,一个脉冲走一步,转动一圈为N1步,每步细分为s步,脉冲为电信号,步进电机转运一圈,根据减速器的减速比Gr,转换为减速器转动的输出,进而带动驱动轴转动,带动滑动进行上升或下降的线性运动。所述第一公式用于计算当镜头机构进行上升或下降的线性运动时的所需要的步进电机运转的步数,第二公式用于计算当镜头机构进行旋转运动时的所需要的步进电机运转的步数。Further, the motor of the drive mechanism is connected with one end of the drive shaft to drive the drive shaft to rotate, and the reducer is sleeved between the slider and the stepping motor located on the drive shaft; The rotation of the stepping motor is transmitted to the reducer, and after being decelerated by the reducer, it is transmitted to the drive shaft, and the drive shaft converts the rotation into movement along the axial direction of the drive shaft. The stepping motor is driven by pulses. One pulse takes one step, and one revolution is N1 steps. Each step is subdivided into s steps. The pulse is an electrical signal. The stepper motor transfers one revolution. According to the reduction ratio Gr of the reducer, The output is converted into the rotation of the reducer, which drives the drive shaft to rotate, and drives the slide to perform linear movement of ascending or descending. The first formula is used to calculate the number of steps required for the stepping motor to operate when the lens mechanism performs a linear movement of ascending or descending, and the second formula is used to calculate the required steps when the lens mechanism performs a rotational movement. The number of steps the motor is running.
当上电运行时,首先由霍尔元件检测所述磁钢产生的磁场强度,判断所述滑块的当前位置并进行初始化,恢复所述滑块到初始位置。当判断所述滑块的当前位置不在初始位置时,通过第一公式计算需要所述步进电机运转补偿的频数,带动滑块运动;再进行所述磁场强度的判断。When powered on, firstly, the Hall element detects the intensity of the magnetic field generated by the magnetic steel, determines the current position of the slider and initializes it, and restores the slider to the initial position. When it is judged that the current position of the slider is not at the initial position, the first formula is used to calculate the frequency required for the operation of the stepping motor to drive the slider to move; and then the magnetic field strength is judged.
请参阅图6所示,步骤S30具体包括:Please refer to FIG. 6, where step S30 specifically includes:
步骤S310:根据所述计算的补偿的步数驱动所述步进电机的运行;Step S310: Drive the operation of the stepping motor according to the calculated number of compensated steps;
步骤S320:根据所述磁场强度判断所述滑块的位置是否在初始位置;当 所述滑块的位置在初始位置时,初始化结束;当所述滑块的位置不在初始位置时,执行步骤S330:Step S320: Determine whether the position of the slider is at the initial position according to the magnetic field strength; when the position of the slider is at the initial position, the initialization ends; when the position of the slider is not at the initial position, perform step S330 :
步骤S330:根据所述磁场的变化判断所述滑块的运动是否有阻挡;当所述滑块的运动有阻挡时,初始化结束;当所述滑块的运动没有阻挡时,返回执行步骤S20。Step S330: Determine whether the movement of the slider is blocked according to the change of the magnetic field; when the movement of the slider is blocked, the initialization ends; when the movement of the slider is not blocked, return to step S20.
请参阅图7,步骤S40的具体包括:Please refer to Fig. 7, the step S40 specifically includes:
步骤S410:接收到摄像装置的镜头机构进行线性运动的信号;Step S410: Receive a signal of linear movement of the lens mechanism of the camera device;
步骤S420:根据所述磁场强度判断所述滑块是否在预定位置;当所述滑块的位置在预定位置时,结束;当所述滑块的位置不在预定位置时,执行步骤S430:Step S420: Determine whether the slider is at the predetermined position according to the magnetic field strength; when the position of the slider is at the predetermined position, end; when the position of the slider is not at the predetermined position, perform step S430:
步骤S430:根据所述第一公式计算所需补偿的步数,驱动所述步进电机的运行带动所述滑块运动;Step S430: Calculate the number of steps required to be compensated according to the first formula, and drive the operation of the stepping motor to drive the slider to move;
步骤S440:根据所述磁场强度判断所述滑块是否在预定位置;当所述滑块的位置在预定位置时,结束;当所述滑块的位置不在预定位置时,执行步骤S450:Step S440: Determine whether the slider is at the predetermined position according to the magnetic field strength; when the position of the slider is at the predetermined position, end; when the position of the slider is not at the predetermined position, perform step S450:
步骤S450:根据所述磁场的变化判断所述滑块的运动是否有阻挡;当所述滑块的运动有阻挡时,执行步骤S20;当所述滑块的运动没有阻挡时,返回执行步骤S430。Step S450: Determine whether the movement of the slider is blocked according to the change in the magnetic field; when the movement of the slider is blocked, perform step S20; when the movement of the slider is not blocked, return to step S430 .
请参阅图8,所述步骤S50包括:Please refer to FIG. 8. The step S50 includes:
步骤S510:接收到摄像装置的镜头机构进行旋转运动的信号;Step S510: Receive a signal of the rotation movement of the lens mechanism of the camera device;
步骤S520:根据所述磁场强度判断所述滑块是否在预定位置;当所述滑块的位置在预定位置时,结束;当所述滑块的位置不在预定位置时,执行步骤S530:Step S520: Determine whether the slider is at the predetermined position according to the magnetic field strength; when the position of the slider is at the predetermined position, end; when the position of the slider is not at the predetermined position, perform step S530:
步骤S530:根据所述第二公式计算所需补偿的步数,驱动所述步进电机的运行带动所述滑块运动;Step S530: Calculate the number of steps required to be compensated according to the second formula, and drive the operation of the stepping motor to drive the slider to move;
步骤S540:根据所述磁场强度判断所述滑块是否在预定位置;当所述滑块的位置在预定位置时,结束;当所述滑块的位置不在预定位置时,执行步骤S550:Step S540: Determine whether the slider is at a predetermined position according to the magnetic field strength; when the position of the slider is at the predetermined position, end; when the position of the slider is not at the predetermined position, perform step S550:
步骤S550:根据所述磁场的变化判断所述滑块的运动是否有阻挡;当所述滑块的运动有阻挡时,执行步骤S20;当所述滑块的运动没有阻挡时,返回 执行步骤S530。Step S550: Determine whether the movement of the slider is blocked according to the change in the magnetic field; when the movement of the slider is blocked, perform step S20; when the movement of the slider is not blocked, return to perform step S530 .
与现有技术相比,本发明提供的摄像装置、控制摄像装置运动的方法及电子设备,通过霍尔元件检测磁钢的磁场强度变化确定滑块位置,进一步实现更加平滑和精确地控制镜头的升降运动和旋转运动,同时提升镜头的按压保护和扭转保护能力。Compared with the prior art, the camera device, the method for controlling the movement of the camera device and the electronic equipment provided by the present invention determine the position of the slider through the Hall element detecting the magnetic field intensity change of the magnetic steel, and further realize smoother and more precise control of the lens. Lifting movement and rotating movement, while enhancing the lens's compression protection and torsion protection capabilities.
以上所述的仅是本发明的实施方式,在此应当指出,对于本领域的普通技术人员来说,在不脱离本发创造构思的前提下,还可以做出改进,但这些均属于本发明的保护范围。The above are only the embodiments of the present invention. It should be pointed out here that for those of ordinary skill in the art, improvements can be made without departing from the inventive concept of the present invention, but these all belong to the present invention. The scope of protection.
Claims (11)
- 一种摄像装置,其特征在于,所述摄像装置包括摄像机构、与所述摄像机构连接以用于驱动所述摄像机构运动的传动机构、与所述传动机构连接以用于向所述传动机构提供动力驱动机构、用于依据磁场强度控制所述驱动机构动力的磁钢以及设于所述磁钢附近固定位置用于检测所述磁钢磁场强度的霍尔元件;所述驱动机构包括驱动轴和套设于所述驱动轴上并可沿所述驱动轴之轴向运动的滑块;所述传动机构包括与所述摄像机构和所述滑块连接以用于驱动所述摄像机构作线性运动的第一传动组件和与所述摄像机构连接以用于驱动所述摄像机构旋转的第二传动组件;所述第一传动组件包括与所述摄像机构连接的支撑座和连接于所述支撑座与所述滑块之间的弹性件;在所述摄像机构作线性运动过程中,所述滑块通过所述弹性件驱动所述支撑座和所述摄像机构作线性运动,在所述摄像机构旋转过程中,所述弹性件发生变形,所述滑块相对所述支撑座运动,所述滑块驱动所述第二传动组件带动所述摄像机构旋转,在所述摄像机构作线性运动或旋转运动过程中,所述霍尔元件检测所述磁钢产生的磁场强度以确定所述霍尔元件与所述磁钢之间的相对位置,通过改变所述驱动机构的输入信号,进而改变输出动力,从而带动所述摄像机构作线性运动以及旋转运动。A camera device, characterized in that the camera device comprises a camera mechanism, a transmission mechanism connected with the camera mechanism for driving the motion of the camera mechanism, and connected with the transmission mechanism for driving the transmission mechanism Provide a power driving mechanism, a magnet for controlling the power of the driving mechanism according to the magnetic field strength, and a Hall element arranged at a fixed position near the magnet for detecting the magnetic field strength of the magnet; the driving mechanism includes a drive shaft And a slider sleeved on the drive shaft and movable along the axial direction of the drive shaft; the transmission mechanism includes a connection with the camera mechanism and the slider for driving the camera mechanism for linear motion A moving first transmission assembly and a second transmission assembly connected to the camera mechanism for driving the camera mechanism to rotate; the first transmission assembly includes a support seat connected to the camera mechanism and a support seat connected to the support The elastic member between the seat and the slider; during the linear motion of the camera mechanism, the slider drives the support base and the camera mechanism to make linear motion through the elastic member, and the camera During the rotation of the mechanism, the elastic member is deformed, the slider moves relative to the support base, the slider drives the second transmission assembly to drive the camera mechanism to rotate, and the camera mechanism performs linear motion or During the rotational movement, the Hall element detects the intensity of the magnetic field generated by the magnet to determine the relative position between the Hall element and the magnet, and changes the output by changing the input signal of the driving mechanism. Power, thereby driving the camera mechanism to perform linear and rotational motions.
- 根据权利要求1所述的摄像装置,其特征在于,所述磁钢设于所述滑块内,所述霍尔元件设于所述磁钢附近固定位置,所述霍尔元件用于在所述固定位置时检测所述磁钢产生的磁场强度、并用于根据检测到的磁钢的磁场强度的变化得到所述滑块的位置信息。The imaging device according to claim 1, wherein the magnetic steel is arranged in the slider, the Hall element is arranged in a fixed position near the magnetic steel, and the Hall element is used in the In the fixed position, the intensity of the magnetic field generated by the magnet is detected, and used to obtain the position information of the slider according to the change of the detected magnetic field intensity of the magnet.
- 根据权利要求1所述的摄像装置,其特征在于,所述霍尔元件设于所述滑块内,所述磁钢设于所述霍尔元件附近固定位置,所述霍尔元件用于在所述固定位置时检测所述磁钢产生的磁场强度、并用于根据检测到的磁钢的磁场强度的变化得到所述滑块的位置信息。The imaging device according to claim 1, wherein the Hall element is provided in the slider, the magnetic steel is provided in a fixed position near the Hall element, and the Hall element is used in In the fixed position, the intensity of the magnetic field generated by the magnet is detected and used to obtain the position information of the slider according to the detected change in the intensity of the magnet.
- 根据权利要求1所述的摄像装置,其特征在于,所述驱动机构还包括步进电机和减速器,所述电机与所述驱动轴的一端连接以驱动所述驱动轴旋转,所述减速器套设于驱动轴上位于的所述滑块与所述步进电机之间;所述步进电机的转动传给所述减速器,经过所述减速器减速后传给所述驱动轴,所述驱动轴将转动转化为沿所述驱动轴之轴向运动。The imaging device according to claim 1, wherein the drive mechanism further comprises a stepping motor and a reducer, the motor is connected to one end of the drive shaft to drive the drive shaft to rotate, and the reducer It is sleeved between the sliding block and the stepping motor located on the drive shaft; the rotation of the stepping motor is transmitted to the reducer, and after being decelerated by the reducer, it is transmitted to the drive shaft, so The drive shaft converts rotation into movement along the axial direction of the drive shaft.
- 根据权利要求1所述的摄像装置,其特征在于,所述磁钢产生的磁钢磁场强度呈单调变化。The imaging device according to claim 1, wherein the magnetic steel magnetic field intensity generated by the magnetic steel changes monotonously.
- 一种控制摄像装置运动的方法,其特征在于,所述方法包括:A method for controlling the movement of a camera device, characterized in that the method includes:步骤S10:通过摄像装置的霍尔元件检测摄像装置的磁钢的当前磁场强度,并根据所述当前磁场强度得到摄像装置的滑块的当前位置;Step S10: Detect the current magnetic field strength of the magnet of the camera device through the Hall element of the camera device, and obtain the current position of the slider of the camera device according to the current magnetic field strength;步骤S20:判断所述滑块的当前位置,当所述滑块的当前位置不在初始位置时,根据第一公式计算所述滑块恢复到初始位置所需要的摄像装置的步进电机补偿的步数;其中,所述初始位置是所述滑块在最靠近所述步进电机端的位置;所述第一公式为:Step S20: Determine the current position of the slider. When the current position of the slider is not at the initial position, calculate the stepping motor compensation step of the camera device required for the slider to return to the initial position according to the first formula. Wherein, the initial position is the position of the slider closest to the end of the stepping motor; the first formula is:其中,Gr为摄像机构的驱动机构的减速器的减速比;N1为所述步进电机运转一圈所需要的步数;s为所述步进电机驱动芯片细分的细分数;D为所述步骤电机运转一圈运行的距离;t1为当前位置,t2为预定位置;Wherein, Gr is the reduction ratio of the reducer of the drive mechanism of the camera mechanism; N1 is the number of steps required for the stepper motor to run one revolution; s is the number of subdivisions of the stepper motor drive chip; D is In the step, the distance that the motor runs for one revolution; t1 is the current position, and t2 is the predetermined position;步骤S30:根据所述计算的补偿的步数驱动所述步进电机的运行带动所述滑块运动到初始位置,完成初始化;Step S30: drive the operation of the stepping motor to drive the slider to the initial position according to the calculated number of compensated steps, and complete the initialization;步骤S40:当接收到摄像装置的镜头机构进行线性运动信号时,根据所述第一公式计算所需补偿的步数驱动所述步进电机的运行带动所述滑块运动到预定位置;Step S40: When a linear motion signal of the lens mechanism of the camera device is received, the number of steps required to be compensated is calculated according to the first formula to drive the operation of the stepping motor to drive the slider to move to a predetermined position;步骤S50:当接收到摄像装置的镜头机构进行旋转运动信号时,根据第二公式计算所需补偿的步数驱动所述步进电机的运行带动所述滑块运动到预定位置;其中,所述第二公式为:Step S50: When receiving the rotational motion signal of the lens mechanism of the camera device, calculate the number of steps required to be compensated according to the second formula to drive the operation of the stepping motor to drive the slider to move to a predetermined position; wherein The second formula is:
- 根据权利要求6所述的控制摄像装置运动的方法,其特征在于,所述步骤S30包括:The method for controlling the movement of a camera device according to claim 6, wherein the step S30 comprises:步骤S310:根据所述计算的补偿的步数驱动所述步进电机的运行;Step S310: Drive the operation of the stepping motor according to the calculated number of compensated steps;步骤S320:根据所述磁场强度判断所述滑块的位置是否在初始位置;当所述滑块的位置在初始位置时,初始化结束;当所述滑块的位置不在初始位置时,执行步骤S330:Step S320: Determine whether the position of the slider is at the initial position according to the magnetic field strength; when the position of the slider is at the initial position, the initialization ends; when the position of the slider is not at the initial position, perform step S330 :步骤S330:根据所述磁场的变化判断所述滑块的运动是否有阻挡;当所述滑块的运动有阻挡时,初始化结束;当所述滑块的运动没有阻挡时,返回 执行步骤S20。Step S330: Determine whether the movement of the slider is blocked according to the change in the magnetic field; when the movement of the slider is blocked, the initialization ends; when the movement of the slider is not blocked, return to step S20.
- 根据权利要求6所述的控制摄像装置运动的方法,其特征在于,所述步骤S40包括:The method for controlling the movement of a camera device according to claim 6, wherein the step S40 comprises:步骤S410:接收到摄像装置的镜头机构进行线性运动的信号;Step S410: Receive a signal of linear movement of the lens mechanism of the camera device;步骤S420:根据所述磁场强度判断所述滑块是否在预定位置;当所述滑块的位置在预定位置时,结束;当所述滑块的位置不在预定位置时,执行步骤S430:Step S420: Determine whether the slider is at the predetermined position according to the magnetic field strength; when the position of the slider is at the predetermined position, end; when the position of the slider is not at the predetermined position, perform step S430:步骤S430:根据所述第一公式计算所需补偿的步数,驱动所述步进电机的运行带动所述滑块运动;Step S430: Calculate the number of steps required to be compensated according to the first formula, and drive the operation of the stepping motor to drive the slider to move;步骤S440:根据所述磁场强度判断所述滑块是否在预定位置;当所述滑块的位置在预定位置时,结束;当所述滑块的位置不在预定位置时,执行步骤S450:Step S440: Determine whether the slider is at the predetermined position according to the magnetic field strength; when the position of the slider is at the predetermined position, end; when the position of the slider is not at the predetermined position, perform step S450:步骤S450:根据所述磁场的变化判断所述滑块的运动是否有阻挡;当所述滑块的运动有阻挡时,执行步骤S20;当所述滑块的运动没有阻挡时,返回执行步骤S430。Step S450: Determine whether the movement of the slider is blocked according to the change in the magnetic field; when the movement of the slider is blocked, perform step S20; when the movement of the slider is not blocked, return to step S430 .
- 根据权利要求6所述的控制摄像装置运动的方法,其特征在于,所述步骤S50包括:The method for controlling the movement of a camera device according to claim 6, wherein the step S50 comprises:步骤S510:接收到摄像装置的镜头机构进行旋转运动的信号;Step S510: Receive a signal of the rotation movement of the lens mechanism of the camera device;步骤S520:根据所述磁场强度判断所述滑块是否在预定位置;当所述滑块的位置在预定位置时,结束;当所述滑块的位置不在预定位置时,执行步骤S530:Step S520: Determine whether the slider is at the predetermined position according to the magnetic field strength; when the position of the slider is at the predetermined position, end; when the position of the slider is not at the predetermined position, perform step S530:步骤S530:根据所述第二公式计算所需补偿的步数,驱动所述步进电机的运行带动所述滑块运动;Step S530: Calculate the number of steps required to be compensated according to the second formula, and drive the operation of the stepping motor to drive the slider to move;步骤S540:根据所述磁场强度判断所述滑块是否在预定位置;当所述滑块的位置在预定位置时,结束;当所述滑块的位置不在预定位置时,执行步骤S550:Step S540: Determine whether the slider is at a predetermined position according to the magnetic field strength; when the position of the slider is at the predetermined position, end; when the position of the slider is not at the predetermined position, perform step S550:步骤S550:根据所述磁场的变化判断所述滑块的运动是否有阻挡;当所述滑块的运动有阻挡时,执行步骤S20;当所述滑块的运动没有阻挡时,返回执行步骤S530。Step S550: Determine whether the movement of the slider is blocked according to the change in the magnetic field; when the movement of the slider is blocked, perform step S20; when the movement of the slider is not blocked, return to perform step S530 .
- 根据权利要求6至9任一步骤所述的控制摄像装置运动的方法,其 特征在于,当所述滑块的位置为第一位置时,所述镜头机构处于初始位置;当所述滑块的位置为第二位置时,所述镜头机构从线性运动改变为旋转运动;当所述滑块的位置为第三位置时,所述镜头机构的旋转运动达到旋转360度的镜头转角。The method for controlling the movement of a camera device according to any one of claims 6 to 9, wherein when the position of the slider is the first position, the lens mechanism is in the initial position; when the position of the slider is When the position is the second position, the lens mechanism changes from linear motion to rotational motion; when the position of the slider is the third position, the rotational motion of the lens mechanism reaches a lens angle of 360 degrees.
- 一种电子设备,其特征在于,所述电子设备包括如权利要求1至5中任一项所述的摄像装置。An electronic device, characterized in that the electronic device comprises the imaging device according to any one of claims 1 to 5.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911342416.0 | 2019-12-23 | ||
CN201911342416.0A CN111147715B (en) | 2019-12-23 | 2019-12-23 | Image pickup device, method for controlling movement of image pickup device, and electronic apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021127927A1 true WO2021127927A1 (en) | 2021-07-01 |
Family
ID=70519596
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/127640 WO2021127927A1 (en) | 2019-12-23 | 2020-02-24 | Photographing apparatus, method for controlling movement of photographing apparatus, and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111147715B (en) |
WO (1) | WO2021127927A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115086460A (en) * | 2022-06-07 | 2022-09-20 | 宁波伟峰智能科技有限公司 | Mobile phone camera equipment |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN212588391U (en) * | 2020-07-06 | 2021-02-23 | 瑞声科技(南京)有限公司 | Camera module and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170126979A1 (en) * | 2015-10-30 | 2017-05-04 | Essential Products, Inc. | Apparatus and method to maximize the display area of a mobile device |
CN108989499A (en) * | 2018-07-25 | 2018-12-11 | 维沃移动通信有限公司 | A kind of mobile terminal |
CN109819079A (en) * | 2019-04-08 | 2019-05-28 | 维沃移动通信(杭州)有限公司 | A kind of terminal and camera control method |
CN209057291U (en) * | 2018-12-13 | 2019-07-02 | 北京小米移动软件有限公司 | Electronic equipment |
CN109958870A (en) * | 2019-03-29 | 2019-07-02 | 深圳市万普拉斯科技有限公司 | Rotatable lifting camera and display device |
CN110107784A (en) * | 2019-05-24 | 2019-08-09 | 领先科技(东台)有限公司 | A kind of lifting camera |
CN110113452A (en) * | 2019-04-23 | 2019-08-09 | 瑞声光电科技(常州)有限公司 | The application method of photographic device, electronic equipment and electronic equipment |
CN110581938A (en) * | 2019-08-06 | 2019-12-17 | 深圳传音控股股份有限公司 | Mobile terminal, mobile terminal control method, and computer storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110298921A1 (en) * | 2010-06-08 | 2011-12-08 | Panasonic Corporation | Rotational driving device, image capturing device, and network camera system |
CN105049686B (en) * | 2015-06-30 | 2018-09-04 | 广东欧珀移动通信有限公司 | Double-camera mobile terminal |
TWI690793B (en) * | 2018-01-18 | 2020-04-11 | 仁寶電腦工業股份有限公司 | Camera module and electronic device |
CN108600596B (en) * | 2018-07-16 | 2020-01-31 | 维沃移动通信有限公司 | camera device and mobile terminal |
CN108712539B (en) * | 2018-07-28 | 2023-07-11 | 贵州维讯光电科技有限公司 | Rotary mobile phone camera |
-
2019
- 2019-12-23 CN CN201911342416.0A patent/CN111147715B/en not_active Expired - Fee Related
-
2020
- 2020-02-24 WO PCT/CN2019/127640 patent/WO2021127927A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170126979A1 (en) * | 2015-10-30 | 2017-05-04 | Essential Products, Inc. | Apparatus and method to maximize the display area of a mobile device |
CN108989499A (en) * | 2018-07-25 | 2018-12-11 | 维沃移动通信有限公司 | A kind of mobile terminal |
CN209057291U (en) * | 2018-12-13 | 2019-07-02 | 北京小米移动软件有限公司 | Electronic equipment |
CN109958870A (en) * | 2019-03-29 | 2019-07-02 | 深圳市万普拉斯科技有限公司 | Rotatable lifting camera and display device |
CN109819079A (en) * | 2019-04-08 | 2019-05-28 | 维沃移动通信(杭州)有限公司 | A kind of terminal and camera control method |
CN110113452A (en) * | 2019-04-23 | 2019-08-09 | 瑞声光电科技(常州)有限公司 | The application method of photographic device, electronic equipment and electronic equipment |
CN110107784A (en) * | 2019-05-24 | 2019-08-09 | 领先科技(东台)有限公司 | A kind of lifting camera |
CN110581938A (en) * | 2019-08-06 | 2019-12-17 | 深圳传音控股股份有限公司 | Mobile terminal, mobile terminal control method, and computer storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115086460A (en) * | 2022-06-07 | 2022-09-20 | 宁波伟峰智能科技有限公司 | Mobile phone camera equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111147715A (en) | 2020-05-12 |
CN111147715B (en) | 2021-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110581938B (en) | Mobile terminal, mobile terminal control method, and computer storage medium | |
WO2021127927A1 (en) | Photographing apparatus, method for controlling movement of photographing apparatus, and electronic device | |
CN109958870A (en) | Rotatable lifting camera and display device | |
US9897895B2 (en) | Method for controlling a camera module, and associated camera module | |
CN114545719B (en) | Automatic focusing device, projection equipment and automatic focusing method | |
CN111064872B (en) | Lens lifting and rotating device and electronic equipment | |
CN111131673B (en) | Camera system and mobile terminal | |
CN111147631B (en) | Imaging device, electronic apparatus, and method for using electronic apparatus | |
WO2022007048A1 (en) | Photographing module and electronic device | |
CN112235442A (en) | Electronic device | |
CN110809734A (en) | Camera lens adjusting method and device, control equipment and control system | |
US11366525B2 (en) | Handwheels and associated control consoles | |
CN107121947B (en) | Automatic induction telescopic intelligent switch | |
CN111193848A (en) | Imaging device, electronic apparatus, and method for using electronic apparatus | |
WO2021127904A1 (en) | Camera system and mobile terminal | |
CN110730294A (en) | Camera system and mobile terminal | |
CN103076707B (en) | Implementation method, module and the portable equipment of photographic head module lens barrel step motion | |
WO2021127934A1 (en) | Photographing apparatus, electronic device, and method for using electronic device | |
CN210201946U (en) | Camera telescoping device and electronic product with same | |
WO2021072824A1 (en) | Photographing apparatus, electronic device, and method for using electronic device | |
CN111140745B (en) | Imaging device, electronic apparatus, and method for using electronic apparatus | |
CN110650233B (en) | Electronic device | |
CN212181321U (en) | Driving system and electronic equipment | |
WO2021128241A1 (en) | Photographing device, electronic apparatus, and method of using electronic apparatus | |
CN112964164A (en) | Calibration method, calibration device, computer-readable storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19957301 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19957301 Country of ref document: EP Kind code of ref document: A1 |