WO2020237570A1 - Control method and device for gimbal, handheld gimbal and storage medium - Google Patents

Control method and device for gimbal, handheld gimbal and storage medium Download PDF

Info

Publication number
WO2020237570A1
WO2020237570A1 PCT/CN2019/089263 CN2019089263W WO2020237570A1 WO 2020237570 A1 WO2020237570 A1 WO 2020237570A1 CN 2019089263 W CN2019089263 W CN 2019089263W WO 2020237570 A1 WO2020237570 A1 WO 2020237570A1
Authority
WO
WIPO (PCT)
Prior art keywords
attitude
pan
base
tilt
gimbal
Prior art date
Application number
PCT/CN2019/089263
Other languages
French (fr)
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 CN201980012177.4A priority Critical patent/CN111699340B/en
Priority to PCT/CN2019/089263 priority patent/WO2020237570A1/en
Publication of WO2020237570A1 publication Critical patent/WO2020237570A1/en

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16MFRAMES, CASINGS OR BEDS OF ENGINES, MACHINES OR APPARATUS, NOT SPECIFIC TO ENGINES, MACHINES OR APPARATUS PROVIDED FOR ELSEWHERE; STANDS; SUPPORTS
    • F16M13/00Other supports for positioning apparatus or articles; Means for steadying hand-held apparatus or articles
    • F16M13/04Other supports for positioning apparatus or articles; Means for steadying hand-held apparatus or articles for supporting on, or holding steady relative to, a person, e.g. by chains, e.g. rifle butt or pistol grip supports, supports attached to the chest or head
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16MFRAMES, CASINGS OR BEDS OF ENGINES, MACHINES OR APPARATUS, NOT SPECIFIC TO ENGINES, MACHINES OR APPARATUS PROVIDED FOR ELSEWHERE; STANDS; SUPPORTS
    • F16M11/00Stands or trestles as supports for apparatus or articles placed thereon Stands for scientific apparatus such as gravitational force meters
    • F16M11/02Heads
    • F16M11/04Means for attachment of apparatus; Means allowing adjustment of the apparatus relatively to the stand
    • F16M11/043Allowing translations
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16MFRAMES, CASINGS OR BEDS OF ENGINES, MACHINES OR APPARATUS, NOT SPECIFIC TO ENGINES, MACHINES OR APPARATUS PROVIDED FOR ELSEWHERE; STANDS; SUPPORTS
    • F16M11/00Stands or trestles as supports for apparatus or articles placed thereon Stands for scientific apparatus such as gravitational force meters
    • F16M11/02Heads
    • F16M11/04Means for attachment of apparatus; Means allowing adjustment of the apparatus relatively to the stand
    • F16M11/06Means for attachment of apparatus; Means allowing adjustment of the apparatus relatively to the stand allowing pivoting
    • F16M11/10Means for attachment of apparatus; Means allowing adjustment of the apparatus relatively to the stand allowing pivoting around a horizontal axis
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16MFRAMES, CASINGS OR BEDS OF ENGINES, MACHINES OR APPARATUS, NOT SPECIFIC TO ENGINES, MACHINES OR APPARATUS PROVIDED FOR ELSEWHERE; STANDS; SUPPORTS
    • F16M11/00Stands or trestles as supports for apparatus or articles placed thereon Stands for scientific apparatus such as gravitational force meters
    • F16M11/02Heads
    • F16M11/18Heads with mechanism for moving the apparatus relatively to the stand
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D3/00Control of position or direction
    • G05D3/12Control of position or direction using feedback

Definitions

  • the embodiment of the present invention relates to the field of control technology, and in particular to a method, equipment, handheld pan/tilt and storage medium for controlling a pan/tilt.
  • the pan/tilt can carry the camera to stabilize the camera.
  • a pan/tilt carrying a camera is usually housed in a waterproof device.
  • the existing control strategy of the pan/tilt is not suitable for underwater shooting scenes.
  • Embodiments of the present invention provide a pan-tilt control method, equipment, handheld pan-tilt, and storage medium, so as to provide a pan-tilt control method, so that the pan-tilt carrying the camera can meet the requirements of underwater shooting scenes.
  • the first aspect of the embodiments of the present invention is to provide a method for controlling a pan/tilt, the pan/tilt is used to carry a camera, the pan/tilt and the camera are housed in a waterproof device, and the method includes:
  • the first control mode is adopted to control the attitude of the pan/tilt head, wherein, in the first control mode, the pan/tilt head is controlled
  • the roll attitude remains horizontal
  • the yaw attitude of the gimbal is controlled according to the yaw attitude of the base
  • the pitch attitude of the gimbal is controlled according to the pitch attitude and a preset angle of the base, and the preset The angle is determined according to the structure of the waterproof device;
  • the second control mode is used to control the posture of the pan/tilt head, wherein, in the second control mode, according to the base
  • the deviation of the attitude and the preset attitude controls the attitude of the pan-tilt.
  • a second aspect of the embodiments of the present invention is to provide a control device for a pan/tilt, the pan/tilt is used to carry a photographing device, the pan/tilt and the photographing device are housed in a waterproof device, and the control device includes: a memory And processor;
  • the memory is used to store program codes
  • the processor calls the program code, and when the program code is executed, is used to perform the following operations:
  • the first control mode is adopted to control the attitude of the pan/tilt head, wherein, in the first control mode, the pan/tilt head is controlled
  • the roll attitude remains horizontal
  • the yaw attitude of the gimbal is controlled according to the yaw attitude of the base
  • the pitch attitude of the gimbal is controlled according to the pitch attitude and a preset angle of the base, and the preset The angle is determined according to the structure of the waterproof device;
  • the second control mode is used to control the posture of the pan/tilt head, wherein, in the second control mode, according to the base
  • the deviation of the attitude and the preset attitude controls the attitude of the pan-tilt.
  • the third aspect of the embodiments of the present invention is to provide a handheld PTZ, including:
  • PTZ used to carry the camera
  • a base, the head and the base are connected;
  • control device as described in the second aspect.
  • the fourth aspect of the embodiments of the present invention is to provide a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the method described in the first aspect.
  • the control method, equipment, handheld pan/tilt and storage medium of this embodiment provide the pan/tilt and the photographing device carried by the pan/tilt in the waterproof device, and obtain the roll posture indication of the base of the pan/tilt. Parameter.
  • the first control mode is used to control the attitude of the gimbal so that the roll attitude of the gimbal remains level, and the yaw attitude of the gimbal follows the base
  • the yaw attitude of the base, the deviation of the pitch attitude of the gimbal relative to the pitch attitude of the base is maintained at a preset angle determined by the structure of the waterproof device;
  • the second control mode is used to control the attitude of the pan/tilt so that the attitude of the pan/tilt follows the attitude of the base with a certain preset attitude deviation, thereby providing a control method of the pan/tilt so as to carry
  • FIG. 1 is a schematic structural diagram of a waterproof device provided by an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of another waterproof device provided by an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for controlling a PTZ according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a world coordinate system and a body coordinate system provided by an embodiment of the present invention
  • FIG. 5 is a schematic diagram of the roll posture indicating parameters of the base provided by the embodiment of the present invention.
  • Fig. 6 is a schematic diagram of controlling the rolling attitude of the pan/tilt head to keep level according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of the inclination angle of the upper housing relative to the lower housing provided by an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of the pitch attitude of the gimbal according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for controlling a pan-tilt according to another embodiment of the present invention.
  • Fig. 10 is a structural diagram of a pan-tilt control device provided by an embodiment of the present invention.
  • 100 Waterproof device; 10: Lower case; 20: Upper case;
  • a component when a component is said to be “fixed to” another component, it can be directly on the other component or a central component may also exist. When a component is considered to be “connected” to another component, it can be directly connected to the other component or a centered component may exist at the same time.
  • the embodiment of the present invention provides a method for controlling a pan-tilt.
  • the pan/tilt is used to carry a camera, and the pan/tilt and the camera are housed in a waterproof device.
  • the waterproof device includes a lower casing for a user to hold and an upper casing connected with the lower casing.
  • FIG. 1 is a schematic structural diagram of a waterproof device provided by an embodiment of the present invention.
  • the waterproof device 100 includes a lower housing 10 for a user to hold and an upper housing 20 connected to the lower housing 10, wherein the lower housing 10 and the upper housing 20 can be connected in various ways, Specifically, the lower housing 10 and the upper housing 20 may be connected by connecting components. For example, as shown in FIG.
  • the lower housing 10 and the upper housing 20 may be connected by a fastener 30.
  • the lower housing 10 and the upper housing 20 may also be integrally formed.
  • the lower housing 10 and the upper housing 20 may form a sealed cavity, and the pan/tilt and its carrying camera can be placed in the sealed cavity.
  • This embodiment does not limit the number of axes of the pan/tilt.
  • the pan/tilt may be a three-axis pan/tilt or a two-axis pan/tilt.
  • the photographing device carried on the platform may specifically be a visible light photographing device or a thermal infrared photographing device.
  • the upper housing includes a viewing end surface for viewing the shooting device.
  • the viewing end surface 40 is an end surface of the upper housing 20.
  • the viewing end surface 40 can be used for viewing by the camera.
  • the pan/tilt and the pan/tilt placed in the waterproof device 100 can be seen.
  • 50 denotes a pan/tilt
  • 60 denotes a camera carried on the pan/tilt 50.
  • the pan-tilt 50 and the camera 60 can move in the cavity in the upper housing 20.
  • the base (not shown) of the pan/tilt head 50 is located in the cavity in the lower housing 10. The base is connected to the three-axis stabilization mechanism of the pan/tilt.
  • the pan/tilt may be a handheld pan/tilt
  • the base is a handheld rod of the pan/tilt.
  • the whole composed of the three-axis stabilization mechanism and the base can be referred to as a handheld pan/tilt.
  • the processor of the pan/tilt head determines that the pan/tilt head is located in the waterproof device, the processor of the pan/tilt head does not respond to the user's posture control instruction.
  • a method for controlling the pan/tilt head is introduced by taking the waterproof device 100 shown in FIGS. 1 and 2 as an example.
  • FIG. 3 is a flowchart of a method for controlling a pan-tilt according to an embodiment of the present invention. As shown in Figure 3, the method in this embodiment may include:
  • Step S301 Obtain the roll posture indication parameter of the base of the pan-tilt.
  • the three-dimensional coordinate system XYZ represents the body coordinate system of the base of the pan/tilt.
  • the front of the base is the X axis of the body coordinate system
  • the left side of the base is the body coordinate system.
  • the Y axis of the system is perpendicular to the X axis and Y axis
  • the downward direction is the Z axis of the body coordinate system.
  • the base can rotate with the three axes of the body coordinate system as the rotation axis.
  • the base rotates with the X axis of the body coordinate system as the rotation axis, the roll posture of the base will change.
  • the control device used to control the pan/tilt head can obtain the roll posture indication parameters of the base.
  • the control device may be a control device in the handheld pan/tilt, and the control device may include a processor.
  • the roll posture indicating parameter of the base refers to a parameter that can be used to indicate the roll posture of the base in a three-dimensional space.
  • the roll attitude indicating parameter of the base may specifically be the roll angle of the base.
  • the roll posture indication parameter of the base includes the angle between the Z axis of the world coordinate system defined by the base and the Y axis of the body coordinate system defined by the pan/tilt.
  • the three-dimensional coordinate system formed by X1, Y1 and Z1 is a world coordinate system defined by the base, where Z1 represents the Z axis of the world coordinate system defined by the base, and the direction of the Z1 axis is perpendicular to the ground, and X1
  • the axis direction is the direct front of the base when the pan/tilt is turned on
  • the Y1 axis direction is the right direction of the base when the pan/tilt is turned on.
  • the body coordinate system defined by the pan/tilt may specifically be the body coordinate system of the base represented by the three-dimensional coordinate system XYZ as described above.
  • the body coordinate system can be changed with the change of the attitude of the pan/tilt or the base.
  • the base rotates with the X axis of the body coordinate system as the rotation axis
  • the Y of the body coordinate system The directions of the axis and Z axis are constantly changing.
  • the world coordinate system does not change with the attitude of the pan/tilt or the base.
  • the Z axis of the world coordinate system that is, the Z1 axis direction, always remains perpendicular to the ground, and will not follow the base in the body coordinate system.
  • the three axes of the rotation axis change for rotation.
  • the angle between the Y or Z axis direction of the body coordinate system and the Z1 axis direction of the world coordinate system is constantly changing .
  • the angle between the Y or Z axis direction of the body coordinate system and the Z1 axis direction of the world coordinate system can be used To measure the roll posture of the base.
  • the angle between the Z1 axis direction of the world coordinate system and the Y axis of the body coordinate system is used as a parameter indicating the roll posture of the base in the three-dimensional space, that is, the The roll posture of the base indicates the parameter.
  • Step S302 If the roll posture indicating parameter of the base is within a first preset range, the first control mode is used to control the posture of the pan/tilt head, wherein, in the first control mode, the The roll attitude of the gimbal is kept horizontal, the yaw attitude of the gimbal is controlled according to the yaw attitude of the base, the pitch attitude of the gimbal is controlled according to the pitch attitude of the base and a preset angle, so The preset angle is determined according to the structure of the waterproof device.
  • the control mode of the pan/tilt may include a first control mode and a second control mode.
  • the control device of the pan/tilt adopts the first control mode.
  • One control mode controls the attitude of the PTZ.
  • the control device of the pan/tilt head adopts the second control mode to control the attitude of the pan/tilt head.
  • the first control mode may specifically be a ROLL horizontal mode
  • the second control mode may specifically be a full follow mode.
  • the Z1 axis is the Z axis of the world coordinate system as shown in FIG. 4, and the Y axis is the Y axis of the body coordinate system as shown in FIG.
  • the angle between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system is recorded as ⁇ , as shown in Figures 4 and 5, as the base uses the X axis of the body coordinate system as the axis of rotation Rotating, the angle ⁇ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system will continue to change.
  • the The control device of the pan/tilt uses the first control mode to control the attitude of the pan/tilt.
  • the first preset range of the included angle ⁇ is not limited to the included angle ⁇ being less than 130 degrees and greater than 50 degrees, and the base is rotated with the X axis of the body coordinate system as the rotation.
  • the control device controls the roll posture of the pan/tilt to remain level.
  • the target roll posture of the pan/tilt is 0; the controlling the roll posture of the pan/tilt to keep level includes: rolling according to the target roll of the pan/tilt The posture controls the roll posture of the pan/tilt so that the roll posture of the pan/tilt remains level.
  • the handheld pan/tilt placed in the waterproof device may specifically include a base 61 and a pan/tilt 62, and the pan/tilt 62 carries a camera 60.
  • the schematic diagram shown in FIG. 6 is a front view of the handheld PTZ.
  • the control device can determine that the target roll attitude of the pan/tilt is 0, and control the rotation of the drive motor of the roll axis of the pan/tilt according to the target roll attitude of the pan/tilt, that is, control the roll attitude of the pan/tilt.
  • the roll posture of the pan/tilt head is kept horizontal, so that the roll posture of the camera 60 is kept horizontal.
  • the yaw attitude of the pan/tilt is controlled according to the yaw attitude of the base.
  • the yaw attitude of the gimbal can be controlled to follow the yaw attitude of the base.
  • the controlling the yaw attitude of the gimbal according to the yaw attitude of the base includes: determining the cloud according to the yaw attitude of the base The target yaw attitude of the platform, wherein the target yaw attitude of the gimbal is the yaw attitude of the base; the yaw attitude of the gimbal is controlled according to the target yaw attitude of the gimbal.
  • the control device can use the changed yaw attitude of the base as the target yaw attitude of the gimbal, and control the cloud according to the target yaw attitude of the gimbal.
  • the yaw attitude of the platform enables the yaw attitude of the gimbal to follow the change of the yaw attitude of the base.
  • 71 represents the longitudinal axis of the lower housing 10 of the waterproof device 100
  • 72 represents the axis of the upper housing 20 of the waterproof device 100. Since the upper housing 20 is inclined relative to the lower housing 10, Therefore, there is an included angle between the axis 71 and the axis 72, and the included angle may be ⁇ as shown in FIG. 7 or ⁇ as shown in FIG. 7. As shown in Figure 7, ⁇ is an acute angle and ⁇ is an obtuse angle. Therefore, when the handheld pan/tilt is placed in the waterproof device 100, it is necessary to adjust the pitch angle of the pan/tilt 62 according to the inclination angle of the upper housing 20 relative to the lower housing 10.
  • the control device can also control the pitch posture of the pan/tilt head according to the pitch posture of the base and the preset angle, wherein the preset angle is determined according to the upper shell and the lower shell of the waterproof device .
  • the controlling the pitch attitude of the gimbal according to the pitch attitude and the preset angle of the base includes: according to the pitch attitude and the preset angle of the base Set the angle to determine the target pitch attitude of the pan/tilt; control the pitch attitude of the pan/tilt according to the target pitch attitude of the pan/tilt.
  • the preset angle is an inclination angle of the upper housing relative to the lower housing.
  • the target pitch attitude of the pan/tilt head is the pitch attitude of the base plus the preset angle.
  • this embodiment sets the angle between the axis 72 of the upper housing 20 and the horizontal plane Denoted as a preset angle
  • the preset angle is the inclination angle of the upper housing 20 relative to the lower housing 10.
  • the control device can determine the target pitch attitude of the gimbal 62 according to the pitch attitude of the base 61 and the preset angle.
  • the target pitch attitude of the gimbal 62 is the base 61 pitch attitude plus preset angle As shown in FIG.
  • the control device can control the pitch attitude of the gimbal 62 according to the target pitch attitude of the gimbal 62, so that the pitch attitude of the gimbal 62 is the target pitch attitude of the gimbal 62.
  • 74 denotes the optical axis of the imaging device 60
  • 73 denotes the longitudinal axis of the base 61.
  • the control device can also add the preset angle to the changed pitch attitude of the base 61 Obtain the new target pitch attitude of the gimbal 62, and continue to control the pitch attitude of the gimbal 62 according to the new target pitch attitude of the gimbal 62, so that the pitch attitude of the gimbal 62 is the new target pitch attitude of the gimbal 62 .
  • the control device can control the roll attitude of the gimbal to maintain the level, control the yaw attitude of the gimbal to follow the yaw attitude of the base, and according to the pitch attitude and pre-position of the base
  • the angle is set to control the pitch attitude of the pan/tilt head, so that the deviation of the pitch attitude of the pan/tilt head relative to the pitch attitude of the base is maintained at the preset angle as described above.
  • the optical axis of the camera carried by the pan/tilt head and the axis of the viewfinder end surface substantially coincide.
  • the axis 72 of the upper housing 20 shown in FIG. 7 may be the axis of the viewing end surface 40. Therefore, when the optical axis 74 of the imaging device 60 substantially coincides with the axis 72 of the upper housing 20 as shown in FIG. 7, the optical axis 74 of the imaging device 60 and the axis of the viewing end surface 40 also substantially coincide.
  • the photographing device 60 may only photograph the part inside the viewfinder end surface 40, but not the part outside the viewfinder end surface 40.
  • Step S303 If the roll posture indicating parameter of the base is within a second preset range, adopt a second control mode to control the posture of the pan/tilt head, wherein, in the second control mode, according to the The deviation of the attitude of the base and the preset attitude controls the attitude of the pan/tilt.
  • the included angle ⁇ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system is within the second preset range, for example, the included angle ⁇ is greater than 140 degrees and less than 180 degrees, or , When the included angle ⁇ is less than 40 degrees and greater than 0 degrees, the roll angle of the base 61 is relatively large. In order to keep the roll attitude of the pan/tilt head horizontal, the roll angle of the pan/tilt head 62 may be limited. At this time, the control device of the pan/tilt uses the second control mode to control the attitude of the pan/tilt.
  • control device when the control device can control the pan/tilt's roll posture to be level, it will try its best to control the pan/tilt's roll posture to be level. If it cannot control the pan/tilt's roll posture to be level, then the first control The mode is switched to the second control mode.
  • the second preset range of the included angle ⁇ is not limited to the included angle ⁇ greater than 140 degrees and less than 180 degrees, or the included angle ⁇ is less than 40 degrees and greater than 0.
  • the control device can control the attitude of the pan/tilt according to the attitude of the base and a preset attitude deviation.
  • the controlling the attitude of the pan/tilt head according to the attitude of the base and the preset attitude deviation includes: according to the attitude of the base and the preset attitude Deviation, determine the target attitude of the pan/tilt; control the attitude of the pan/tilt according to the target attitude of the pan/tilt.
  • the posture of the base is determined according to the posture of the pan/tilt and the joint angle corresponding to the drive motor of each axis of the pan/tilt.
  • an inertial measurement unit may be provided in the pan/tilt or camera, and the IMU can detect the posture of the pan/tilt or camera in real time.
  • the gimbal may be a three-axis gimbal.
  • the three axes include a pitch axis, a yaw axis, and a roll axis.
  • Each axis corresponds to a drive motor.
  • the drive motor of the pitch axis is recorded as the pitch axis motor
  • the roll The drive motor of the shaft is recorded as the roll axis motor
  • the drive motor of the yaw axis is recorded as the yaw drive motor.
  • the pitch axis motor, roll axis motor, and yaw drive motor can each have an angle sensor.
  • the angle sensor corresponding to the pitch axis motor can detect the joint angle corresponding to the pitch axis motor in real time
  • the angle sensor corresponding to the roll axis motor can detect the joint angle corresponding to the roll axis motor in real time.
  • the joint angle corresponding to the roll axis motor can be detected in real time
  • the angle sensor corresponding to the yaw axis motor can detect the joint angle corresponding to the yaw axis motor in real time.
  • the attitude of the base can be determined according to the attitude of the pan/tilt or the camera, the joint angle corresponding to the pitch axis motor, the joint angle corresponding to the roll axis motor, and the joint angle corresponding to the yaw axis motor.
  • the attitude of the gimbal is expressed as q_camera with a quaternion
  • the joint angle corresponding to the pitch axis motor is expressed as a quaternion as joint_x
  • the joint angle corresponding to the roll axis motor is expressed as a quaternion
  • the number is expressed as joint_y
  • the joint angle corresponding to the yaw axis motor is expressed as a quaternion as joint_z, so that 4 quaternions are obtained. Multiply these 4 quaternions continuously, and the quaternion obtained after continuous multiplication can express the attitude of the base.
  • the quaternion obtained by multiplying these 4 quaternions can be represented by
  • the posture of the base is denoted as q_handle.
  • the quaternion obtained after continuous multiplication can be further converted into the attitude angle of the base, that is, the Euler angle.
  • the Euler angle includes the yaw angle, roll angle, and pitch of the base. angle.
  • the angle ⁇ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system can also be obtained according to the posture q_handle of the base.
  • the preset attitude deviation is the attitude deviation of the pan/tilt head relative to the base when the pan/tilt head is switched from the first control mode to the second control mode.
  • the control device of the pan/tilt uses the first control mode to control the pan/tilt attitude.
  • is greater than 140 degrees and less than 180 degrees, or the included angle ⁇ is less than 40 degrees and greater than 0 degrees, the control device of the pan/tilt head adopts the second control mode to control the attitude of the pan/tilt head.
  • the control device uses the second control mode to control the attitude of the pan/tilt.
  • the control mode of the pan/tilt continues to maintain the previous control mode.
  • the second control mode At 130 degrees, the control mode of the pan/tilt will be switched from the second control mode to the first control mode.
  • the control device adopts the first control mode to control the attitude of the pan/tilt, and in the range of 40 degrees to 50 degrees, the control mode of the pan/tilt continues to maintain the first control mode. At 40 degrees, the control mode of the pan/tilt will be switched from the first control mode to the second control mode. In the range of 0 degrees to 40 degrees, the control device adopts the second control mode to control the attitude of the pan/tilt.
  • the control mode of the pan/tilt will switch from the first control mode to the second control mode.
  • the attitude deviation of the pan/tilt relative to the base can be recorded, and This attitude deviation is recorded as the preset attitude deviation q_offset, and the q_offset is specifically a quaternion.
  • the preset attitude deviation is determined according to the joint angle corresponding to the drive motor of each axis of the pan/tilt when the pan/tilt is switched from the first control mode to the second control mode.
  • the control mode of the pan/tilt head will switch from the first control mode to the second control mode.
  • the joint angle corresponding to the drive motor of each axis of the pan/tilt head can be recorded.
  • the joint angle corresponding to the pitch axis motor is expressed as a quaternion as cur_joint_x
  • the joint angle corresponding to the roll axis motor is expressed as a quaternion as cur_joint_y
  • the joint angle corresponding to the yaw axis motor is expressed as a quaternion.
  • the control device can control the attitude of the pan/tilt according to the attitude of the base and the deviation of the preset attitude. Specifically, the control device can determine the target attitude of the pan/tilt head according to the attitude of the base and the preset attitude deviation, the target attitude of the pan/tilt head is q_handle*q_offset, and further, control the pan/tilt head according to the target attitude The attitude of the gimbal.
  • the controlling the posture of the gimbal according to the target posture of the gimbal includes: controlling the posture of the gimbal according to the target posture of the gimbal so that the gimbal is relative to the
  • the attitude deviation of the base is the preset attitude deviation.
  • the control mode of the pan/tilt head will be switched from the first control mode to the second control mode.
  • the preset attitude deviation q_offset as described above is recorded.
  • the control device uses q_handle*q_offset as the target attitude of the pan/tilt, where q_handle is the attitude of the base.
  • the attitude deviation of the pan/tilt head relative to the base is the preset attitude deviation q_offset. That is to say, in the second control mode, the control device controls the attitude of the pan/tilt to follow the attitude of the base with a certain preset attitude deviation q_offset, so that when the pan/tilt is switched from the first control mode to the second control mode, The shooting image of the camera is relatively stable and will not move randomly.
  • the roll posture indication parameter of the base when switching from the first control mode to the second control mode is different from that when switching from the second control mode to the first control mode.
  • the roll posture of the base indicates the parameter.
  • the control device adopts the first control mode to control the attitude of the pan/tilt.
  • the control mode of the pan/tilt continues to maintain the previous control mode, that is, the first control mode.
  • the control mode of the pan/tilt head will switch from the first control mode to the second control mode.
  • the control device uses the second control mode to control the pan/tilt
  • the control mode of the pan/tilt head continues to maintain the previous control mode, that is, the second control mode.
  • the control mode of the pan/tilt will be switched from the second control mode to the first control mode.
  • the angle ⁇ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system is equal to 130 degrees, which is the indication parameter of the roll attitude of the base when the second control mode is switched to the first control mode.
  • the world coordinate system The angle ⁇ between the Z1 axis and the Y axis of the body coordinate system equals to 140 degrees is the roll attitude indicator parameter of the base when the first control mode is switched to the second control mode. That is, in this embodiment, from the The roll attitude indicating parameter of the base when the first control mode is switched to the second control mode may be different from the roll attitude of the base when the second control mode is switched to the first control mode Indicates the parameter.
  • the optical axis of the camera in the second control mode, it is also possible to control the optical axis of the camera to substantially coincide with the axis of the viewfinder end surface, so that the pan/tilt can only capture the viewfinder regardless of whether it is in the first control mode or the second control mode.
  • the part inside the end surface 40 will not be photographed outside the viewfinder end surface 40.
  • the control mode of the pan/tilt head is switched from the second control mode to the first control mode
  • the roll posture of the pan/tilt head is not horizontal in the second control mode
  • it is switched from the second control mode to the first control mode.
  • the roll attitude of the gimbal needs to be restored to the horizontal state.
  • the yaw attitude of the gimbal needs to be controlled to follow the yaw attitude of the base, and the cloud is controlled according to the pitch attitude and preset angle of the base.
  • the pitch posture of the platform is such that the deviation of the pitch posture of the platform relative to the pitch posture of the base is maintained at the preset angle as described above.
  • the target attitude of the pan/tilt is recorded as q_handle*q_offset.
  • this can be obtained according to q_handle*q_offset
  • the target attitude angle of the gimbal for example, the target roll angle of the gimbal is recorded as roll_a, the target pitch angle of the gimbal is recorded as pitch_a, and the target yaw angle of the gimbal is recorded as yaw_a.
  • the target roll angle roll_a gradually decays until roll_a decays to 0, so that after the pan/tilt head enters the first control mode, the roll attitude of the pan/tilt head returns to a horizontal state.
  • the target yaw angle yaw_a of the gimbal can also be modified to the yaw angle of the base, so that after the gimbal enters the first control mode, the yaw attitude of the gimbal follows the yaw attitude of the base.
  • the pan/tilt and the camera carried by the pan/tilt are housed in the waterproof device, and the roll posture indicating parameters of the base of the pan/tilt are acquired.
  • the first control mode is used to control the gimbal's attitude so that the gimbal's roll attitude remains level.
  • the gimbal's yaw attitude follows the base's yaw attitude, and the gimbal's pitch attitude is relative to that of the base.
  • the pitch attitude deviation is maintained at a preset angle determined by the structure of the waterproof device; when the roll attitude indication parameter of the base is within the second preset range, the second control mode is used to control the attitude of the pan/tilt, so that The posture of the gimbal follows the posture of the base with a certain preset posture deviation, thereby realizing the stabilization control of the gimbal when the gimbal is under water through the waterproof device.
  • the embodiment of the present invention provides a method for controlling a pan-tilt.
  • the method for controlling the pan-tilt described in the above embodiment can be applied to control the pan-tilt after the pan-tilt is turned on.
  • this embodiment provides a method for controlling the pan-tilt when the pan-tilt is turned on. Control Method.
  • FIG. 9 is a flowchart of a method for controlling a pan-tilt according to another embodiment of the present invention.
  • the obtaining the roll posture indicating parameter of the base of the pan/tilt head includes: when the pan/tilt head is turned on, obtaining the roll posture indicating parameter of the base .
  • the roll attitude indicator parameter of the base may specifically be the roll angle of the base, or the clip between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system as described in the above embodiment.
  • Angle ⁇ In this embodiment, the included angle ⁇ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system is taken as an example for schematic description.
  • the method described in this embodiment further includes:
  • Step S901 If the roll posture indicating parameter of the base is within the second preset range when the pan/tilt is turned on, control the roll of the gimbal according to the roll posture of the base Attitude, the yaw attitude of the pan/tilt is controlled according to the yaw attitude of the base, and the pitch attitude of the pan/tilt is controlled according to the pitch attitude and a preset angle of the base.
  • the angle ⁇ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system is within the second preset range as described above when the gimbal is turned on, it indicates that the roll angle of the base is relatively large.
  • the roll attitude of the gimbal is horizontal, and the roll angle of the gimbal may be limited.
  • the control device of the gimbal can control the roll attitude of the gimbal to follow the roll attitude of the base, control the yaw attitude of the gimbal to follow the yaw attitude of the base, and according to the pitch attitude and the base
  • the preset angle controls the pitch attitude of the pan/tilt head, so that the deviation of the pitch attitude of the pan/tilt head relative to the pitch attitude of the base is maintained at the preset angle as described above.
  • Step S902 If the roll attitude indication parameter of the base is within the first preset range when the pan/tilt is turned on, the first control mode is used to control the attitude of the pan/tilt.
  • the control device adopts the first control mode as described above to control the attitude of the pan/tilt. Specifically, the control device controls the roll attitude of the pan/tilt to keep level, and controls the yaw attitude of the pan/tilt to follow the base.
  • the roll posture indicating parameter of the base is acquired when the pan/tilt is turned on, and when the roll posture indicating parameter of the base is within the second preset range, the roll posture of the gimbal is controlled to follow the base Control the yaw attitude of the gimbal to follow the yaw attitude of the base, and control the pitch attitude of the gimbal according to the pitch attitude and preset angle of the base, so that the pitch attitude of the gimbal is relative to the base
  • the deviation of the pitch attitude is maintained at a preset angle determined by the structure of the waterproof device; when the roll attitude indication parameter of the base is within the first preset range, the first control mode is used to control the attitude of the pan/tilt,
  • the roll posture of the gimbal is kept level, thereby realizing the stabilization control of the gimbal when the gimbal is turned on.
  • the embodiment of the present invention provides a control device for a pan-tilt.
  • the pan/tilt is used to carry a photographing device, and the pan/tilt and the photographing device are housed in a waterproof device.
  • the structural schematic diagram of the waterproof device is as described above and will not be repeated here.
  • FIG. 10 is a structural diagram of a control device for a pan/tilt head provided by an embodiment of the present invention.
  • the control device 101 includes a memory 102 and a processor 103.
  • the control device 101 may further include a communication interface 104, which is used to communicate with a user terminal.
  • the memory 102 is used for storing program code; the processor 103 is used for calling the program code, and when the program code is executed, it is used for performing the following operations: Obtain the roll posture indication parameters of the base of the pan/tilt; If the roll posture indicating parameter of the base is within the first preset range, the first control mode is adopted to control the posture of the pan/tilt, wherein, in the first control mode, the roll posture of the pan/tilt is controlled Keep level, control the yaw attitude of the gimbal according to the yaw attitude of the base, control the pitch attitude of the gimbal according to the pitch attitude of the base and a preset angle, and the preset angle is based on The structure of the waterproof device is determined; if the roll attitude indicator parameter of the base is within a second preset range, the second control mode is used to control the attitude of the pan/tilt, wherein, in the second control In the mode, the attitude of the pan/tilt head is controlled according to the attitude of
  • the target roll posture of the pan/tilt is 0; when the processor 103 controls the roll posture of the pan/tilt to remain level, it is specifically configured to: The target roll posture of controls the roll posture of the pan/tilt so that the roll posture of the pan/tilt remains level.
  • the processor 103 controls the yaw attitude of the gimbal according to the yaw attitude of the base, it is specifically configured to: according to the yaw attitude of the base, Determine the target yaw attitude of the gimbal, wherein the target yaw attitude of the gimbal is the yaw attitude of the base; and control the yaw of the gimbal according to the target yaw attitude of the gimbal attitude.
  • the processor 103 controls the pitch attitude of the gimbal according to the pitch attitude and the preset angle of the base, it is specifically configured to: according to the pitch attitude of the base And the preset angle, determine the target pitch attitude of the pan/tilt; control the pitch attitude of the pan/tilt according to the target pitch attitude of the pan/tilt.
  • the processor 103 controls the attitude of the pan/tilt according to the attitude and preset attitude deviation of the base, it is specifically configured to:
  • the preset attitude deviation determines the target attitude of the pan/tilt; and controls the attitude of the pan/tilt according to the target attitude of the pan/tilt.
  • the waterproof device includes a lower housing for a user to hold and an upper housing connected to the lower housing, and the preset angle is an inclination angle of the upper housing relative to the lower housing .
  • the upper housing includes a viewing end surface for the shooting device to view a view; the optical axis of the shooting device carried by the pan/tilt head and the axis of the viewing end surface substantially coincide.
  • the preset attitude deviation is the attitude deviation of the pan/tilt head relative to the base when the pan/tilt head is switched from the first control mode to the second control mode.
  • the preset attitude deviation is determined according to a joint angle corresponding to a drive motor of each axis of the pan/tilt when the pan/tilt is switched from the first control mode to the second control mode.
  • the roll posture indication parameter of the base when switching from the first control mode to the second control mode is different from that when switching from the second control mode to the first control mode.
  • the roll posture of the base indicates the parameter.
  • the posture of the base is determined according to the posture of the pan/tilt and the joint angle corresponding to the drive motor of each axis of the pan/tilt.
  • the roll posture indication parameter of the base includes an angle between the Z axis of the world coordinate system defined by the base and the Y axis of the body coordinate system defined by the pan/tilt.
  • the processor 103 when the processor 103 obtains the roll posture indication parameter of the base of the pan/tilt head, it is specifically used to: obtain the roll posture indication parameter of the base when the gimbal is powered on; the processor 103 also uses In: if the roll posture indicating parameter of the base is within the second preset range when the pan/tilt is turned on, the roll posture of the pan/tilt is controlled according to the roll posture of the base , Controlling the yaw attitude of the gimbal according to the yaw attitude of the base, and controlling the pitch attitude of the gimbal according to the pitch attitude and preset angle of the base; if the gimbal is turned on, If the roll posture indicating parameter of the base is within the first preset range, the first control mode is used to control the posture of the pan/tilt.
  • the base is a handheld pole of a pan-tilt.
  • the pan/tilt and the camera carried by the pan/tilt are housed in the waterproof device, and the roll posture indicating parameters of the base of the pan/tilt are acquired.
  • the first control mode is used to control the gimbal's attitude so that the gimbal's roll attitude remains level.
  • the gimbal's yaw attitude follows the base's yaw attitude, and the gimbal's pitch attitude is relative to that of the base.
  • the pitch attitude deviation is maintained at a preset angle determined by the structure of the waterproof device; when the roll attitude indication parameter of the base is within the second preset range, the second control mode is used to control the attitude of the pan/tilt, so that The posture of the gimbal follows the posture of the base with a certain preset posture deviation, thereby realizing the stabilization control of the gimbal when the gimbal is under water through the waterproof device.
  • the embodiment of the present invention provides a handheld PTZ.
  • the handheld pan/tilt includes: a pan/tilt, a base, and the control device as described in the above embodiments, wherein the pan/tilt is used to carry a photographing device, the pan/tilt is connected to the base, and the control device is
  • the specific principles and implementation manners of the executed pan-tilt control method are consistent with the foregoing embodiment, and will not be repeated here.
  • the pan-tilt and the photographing device are housed in a waterproof device.
  • the schematic diagram of the structure of the waterproof device is shown in FIG. 1 or FIG. 2.
  • this embodiment also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the pan-tilt control method described in the foregoing embodiment.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be realized in the form of hardware, or in the form of hardware plus software functional unit.
  • the above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium.
  • the above-mentioned software functional unit is stored in a storage medium and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute the method described in the various embodiments of the present invention. Part of the steps.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Abstract

A control method and device for a gimbal, a handheld gimbal (50) and a storage medium. The gimbal (50) and an image capture apparatus (60) carried by the gimbal (50) are housed within a waterproof apparatus (100); the method comprises: acquiring a roll posture indication parameter of a base of the gimbal (50) (S301); when the roll posture indication parameter of the base is within a first preset range, using a first control mode to control the posture of the gimbal (50) so that the roll posture of the gimbal (50) is maintained as horizontal, the yaw posture of the gimbal (50) follows the yaw posture of the base, and the deviation of the pitch posture of the gimbal (50) relative to the pitch posture of the base is maintained at a preset angle determined by the structure of the waterproof device (100) (S302); and when the roll posture indication parameter of the base is within a second preset range, using a second control mode to control the posture of the gimbal (50) so that the posture of the gimbal (50) follows the posture of the base at a certain preset posture deviation (S303). The described method achieves stabilization control for the gimbal (50) by means of the waterproof device (100) when the gimbal (50) is located underwater.

Description

云台的控制方法、设备、手持云台及存储介质PTZ control method, equipment, handheld PTZ and storage medium 技术领域Technical field
本发明实施例涉及控制技术领域,尤其涉及一种云台的控制方法、设备、手持云台及存储介质。The embodiment of the present invention relates to the field of control technology, and in particular to a method, equipment, handheld pan/tilt and storage medium for controlling a pan/tilt.
背景技术Background technique
现有技术中云台能够承载拍摄装置以为拍摄装置增稳。为了应对水下拍摄场景中,通常将承载有拍摄装置的云台收容在防水装置中,然而,现有的云台的控制策略不适用于水下拍摄场景。In the prior art, the pan/tilt can carry the camera to stabilize the camera. In order to cope with underwater shooting scenes, a pan/tilt carrying a camera is usually housed in a waterproof device. However, the existing control strategy of the pan/tilt is not suitable for underwater shooting scenes.
发明内容Summary of the invention
本发明实施例提供一种云台的控制方法、设备、手持云台及存储介质,以提供一种云台的控制方法,以使承载拍摄装置的云台适应水下拍摄场景的需求。Embodiments of the present invention provide a pan-tilt control method, equipment, handheld pan-tilt, and storage medium, so as to provide a pan-tilt control method, so that the pan-tilt carrying the camera can meet the requirements of underwater shooting scenes.
本发明实施例的第一方面是提供一种云台的控制方法,所述云台用于承载拍摄装置,所述云台和所述拍摄装置收容在防水装置内,所述方法包括:The first aspect of the embodiments of the present invention is to provide a method for controlling a pan/tilt, the pan/tilt is used to carry a camera, the pan/tilt and the camera are housed in a waterproof device, and the method includes:
获取云台的基座的横滚姿态指示参数;Obtain the roll attitude indication parameters of the base of the pan/tilt;
若所述基座的横滚姿态指示参数在第一预设范围内,则采用第一控制模式控制所述云台的姿态,其中,在所述第一控制模式中,控制所述云台的横滚姿态保持水平,根据所述基座的偏航姿态控制所述云台的偏航姿态,根据所述基座的俯仰姿态和预设角度控制所述云台的俯仰姿态,所述预设角度是根据所述防水装置的结构确定的;If the roll attitude indicator parameter of the base is within the first preset range, the first control mode is adopted to control the attitude of the pan/tilt head, wherein, in the first control mode, the pan/tilt head is controlled The roll attitude remains horizontal, the yaw attitude of the gimbal is controlled according to the yaw attitude of the base, and the pitch attitude of the gimbal is controlled according to the pitch attitude and a preset angle of the base, and the preset The angle is determined according to the structure of the waterproof device;
若所述基座的横滚姿态指示参数在第二预设范围内,则采用第二控制模式控制所述云台的姿态,其中,在所述第二控制模式中,根据所述基座的姿态和预设姿态偏差控制所述云台的姿态。If the roll posture indication parameter of the base is within the second preset range, the second control mode is used to control the posture of the pan/tilt head, wherein, in the second control mode, according to the base The deviation of the attitude and the preset attitude controls the attitude of the pan-tilt.
本发明实施例的第二方面是提供一种云台的控制设备,所述云台用于承载拍摄装置,所述云台和所述拍摄装置收容在防水装置内,所述控制设 备包括:存储器和处理器;A second aspect of the embodiments of the present invention is to provide a control device for a pan/tilt, the pan/tilt is used to carry a photographing device, the pan/tilt and the photographing device are housed in a waterproof device, and the control device includes: a memory And processor;
所述存储器用于存储程序代码;The memory is used to store program codes;
所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor calls the program code, and when the program code is executed, is used to perform the following operations:
获取云台的基座的横滚姿态指示参数;Obtain the roll attitude indication parameters of the base of the pan/tilt;
若所述基座的横滚姿态指示参数在第一预设范围内,则采用第一控制模式控制所述云台的姿态,其中,在所述第一控制模式中,控制所述云台的横滚姿态保持水平,根据所述基座的偏航姿态控制所述云台的偏航姿态,根据所述基座的俯仰姿态和预设角度控制所述云台的俯仰姿态,所述预设角度是根据所述防水装置的结构确定的;If the roll attitude indicator parameter of the base is within the first preset range, the first control mode is adopted to control the attitude of the pan/tilt head, wherein, in the first control mode, the pan/tilt head is controlled The roll attitude remains horizontal, the yaw attitude of the gimbal is controlled according to the yaw attitude of the base, and the pitch attitude of the gimbal is controlled according to the pitch attitude and a preset angle of the base, and the preset The angle is determined according to the structure of the waterproof device;
若所述基座的横滚姿态指示参数在第二预设范围内,则采用第二控制模式控制所述云台的姿态,其中,在所述第二控制模式中,根据所述基座的姿态和预设姿态偏差控制所述云台的姿态。If the roll posture indication parameter of the base is within the second preset range, the second control mode is used to control the posture of the pan/tilt head, wherein, in the second control mode, according to the base The deviation of the attitude and the preset attitude controls the attitude of the pan-tilt.
本发明实施例的第三方面是提供一种手持云台,包括:The third aspect of the embodiments of the present invention is to provide a handheld PTZ, including:
云台,用于承载拍摄装置;PTZ, used to carry the camera;
基座,所述云台和所述基座连接;以及A base, the head and the base are connected; and
如第二方面所述的控制设备。The control device as described in the second aspect.
本发明实施例的第四方面是提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现第一方面所述的方法。The fourth aspect of the embodiments of the present invention is to provide a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the method described in the first aspect.
本实施例提供的云台的控制方法、设备、手持云台及存储介质,通过将云台和该云台所承载的拍摄装置收容在防水装置内,并获取云台的基座的横滚姿态指示参数,当该基座的横滚姿态指示参数在第一预设范围内时,采用第一控制模式控制云台的姿态,使得云台的横滚姿态保持水平,云台的偏航姿态跟随基座的偏航姿态,云台的俯仰姿态相对于该基座的俯仰姿态的偏差保持为一个由该防水装置的结构确定的预设角度;当该基座的横滚姿态指示参数在第二预设范围内时,采用第二控制模式控制云台的姿态,使得该云台的姿态以一定的预设姿态偏差跟随基座的姿态,从而提供一种云台的控制方法,以使承载拍摄装置的云台适应水下拍摄场景的需求。The control method, equipment, handheld pan/tilt and storage medium of this embodiment provide the pan/tilt and the photographing device carried by the pan/tilt in the waterproof device, and obtain the roll posture indication of the base of the pan/tilt. Parameter. When the roll attitude indication parameter of the base is within the first preset range, the first control mode is used to control the attitude of the gimbal so that the roll attitude of the gimbal remains level, and the yaw attitude of the gimbal follows the base The yaw attitude of the base, the deviation of the pitch attitude of the gimbal relative to the pitch attitude of the base is maintained at a preset angle determined by the structure of the waterproof device; when the roll attitude indicator parameter of the base is in the second preset When the range is set, the second control mode is used to control the attitude of the pan/tilt so that the attitude of the pan/tilt follows the attitude of the base with a certain preset attitude deviation, thereby providing a control method of the pan/tilt so as to carry the camera The PTZ adapts to the needs of underwater shooting scenes.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present invention more clearly, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1为本发明实施例提供的一种防水装置的结构示意图;FIG. 1 is a schematic structural diagram of a waterproof device provided by an embodiment of the present invention;
图2为本发明实施例提供的另一种防水装置的结构示意图;2 is a schematic structural diagram of another waterproof device provided by an embodiment of the present invention;
图3为本发明实施例提供的云台的控制方法的流程图;FIG. 3 is a flowchart of a method for controlling a PTZ according to an embodiment of the present invention;
图4为本发明实施例提供的世界坐标系和机体坐标系的示意图;4 is a schematic diagram of a world coordinate system and a body coordinate system provided by an embodiment of the present invention;
图5为本发明实施例提供的基座的横滚姿态指示参数的示意图;5 is a schematic diagram of the roll posture indicating parameters of the base provided by the embodiment of the present invention;
图6为本发明实施例提供的控制该云台的横滚姿态保持水平的示意图;Fig. 6 is a schematic diagram of controlling the rolling attitude of the pan/tilt head to keep level according to an embodiment of the present invention;
图7为本发明实施例提供的上壳体相对于下壳体的倾斜角的示意图;FIG. 7 is a schematic diagram of the inclination angle of the upper housing relative to the lower housing provided by an embodiment of the present invention;
图8为本发明实施例提供的该云台的俯仰姿态的示意图;FIG. 8 is a schematic diagram of the pitch attitude of the gimbal according to an embodiment of the present invention;
图9为本发明另一实施例提供的云台的控制方法的流程图;FIG. 9 is a flowchart of a method for controlling a pan-tilt according to another embodiment of the present invention;
图10为本发明实施例提供的云台的控制设备的结构图。Fig. 10 is a structural diagram of a pan-tilt control device provided by an embodiment of the present invention.
附图标记:Reference signs:
100:防水装置;        10:下壳体;          20:上壳体;100: Waterproof device; 10: Lower case; 20: Upper case;
30:紧固件;           40:取景端面;        50:云台;30: Fastener; 40: Viewfinder end surface; 50: PTZ;
60:拍摄装置;               61:基座;            62:云台;60: Camera; 61: Base; 62: PTZ;
71:下壳体10的长度方向的轴线;      72:上壳体20的轴线;71: the longitudinal axis of the lower housing 10; 72: the axis of the upper housing 20;
73:基座61的长度方向的轴线;        74:拍摄装置60的光轴;73: the longitudinal axis of the base 61; 74: the optical axis of the camera 60;
101:控制设备;                        102:存储器;101: control equipment; 102: memory;
103:处理器;                          104:通讯接口。103: Processor; 104: Communication interface.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. 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.
需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一 个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。It should be noted that when a component is said to be "fixed to" another component, it can be directly on the other component or a central component may also exist. When a component is considered to be "connected" to another component, it can be directly connected to the other component or a centered component may exist at the same time.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the description of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The term "and/or" as used herein includes any and all combinations of one or more related listed items.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
本发明实施例提供一种云台的控制方法。在本实施例中,所述云台用于承载拍摄装置,所述云台和所述拍摄装置收容在防水装置内。可选的,所述防水装置包括供用户手持的下壳体和与所述下壳体连接的上壳体。图1为本发明实施例提供的一种防水装置的结构示意图。如图1所示,防水装置100包括供用户手持的下壳体10和与下壳体10连接的上壳体20,其中,下壳体10和上壳体20的连接方式可以有多种,具体的,下壳体10和上壳体20可以通过连接部件进行连接,例如图1所示,下壳体10和上壳体20可以通过紧固件30连接。另外,在其他实施例中,下壳体10和上壳体20还可以是一体成型的。下壳体10和上壳体20可以形成密闭腔,云台及其承载的拍摄装置可放置在该密闭腔内。本实施例并不限定云台的轴的数量,例如,该云台具体可以是三轴云台或两轴云台。该云台上承载的拍摄装置具体可以是可见光拍摄装置或者热红外拍摄装置等。The embodiment of the present invention provides a method for controlling a pan-tilt. In this embodiment, the pan/tilt is used to carry a camera, and the pan/tilt and the camera are housed in a waterproof device. Optionally, the waterproof device includes a lower casing for a user to hold and an upper casing connected with the lower casing. FIG. 1 is a schematic structural diagram of a waterproof device provided by an embodiment of the present invention. As shown in FIG. 1, the waterproof device 100 includes a lower housing 10 for a user to hold and an upper housing 20 connected to the lower housing 10, wherein the lower housing 10 and the upper housing 20 can be connected in various ways, Specifically, the lower housing 10 and the upper housing 20 may be connected by connecting components. For example, as shown in FIG. 1, the lower housing 10 and the upper housing 20 may be connected by a fastener 30. In addition, in other embodiments, the lower housing 10 and the upper housing 20 may also be integrally formed. The lower housing 10 and the upper housing 20 may form a sealed cavity, and the pan/tilt and its carrying camera can be placed in the sealed cavity. This embodiment does not limit the number of axes of the pan/tilt. For example, the pan/tilt may be a three-axis pan/tilt or a two-axis pan/tilt. The photographing device carried on the platform may specifically be a visible light photographing device or a thermal infrared photographing device.
可选的,所述上壳体包括供所述拍摄装置取景的取景端面。如图1所示,取景端面40是上壳体20的一个端面,取景端面40可以供拍摄装置取景,沿着取景端面40的方向可以看到该防水装置100内放置的云台和该云台上承载的拍摄装置。如图2所示,50表示云台,60表示云台50上承载的拍摄装置。云台50和拍摄装置60可以在上壳体20内的空腔内活动。云台50的基座(未示出)位于下壳体10内的空腔内。该基座和该云台的三轴稳定机构连接,可选的,所述云台可以为手持云台,所述基座为云台的手持杆。在本实施例中,可以将该三轴稳定机构和该基座构成的整体记为手持云台。可选的,当该云台的处理器确定所述云台位于防水装置内时,该云台的处理器不响应用户的姿态控制指令。Optionally, the upper housing includes a viewing end surface for viewing the shooting device. As shown in FIG. 1, the viewing end surface 40 is an end surface of the upper housing 20. The viewing end surface 40 can be used for viewing by the camera. Along the viewing end surface 40, the pan/tilt and the pan/tilt placed in the waterproof device 100 can be seen. Camera mounted on top. As shown in FIG. 2, 50 denotes a pan/tilt, and 60 denotes a camera carried on the pan/tilt 50. The pan-tilt 50 and the camera 60 can move in the cavity in the upper housing 20. The base (not shown) of the pan/tilt head 50 is located in the cavity in the lower housing 10. The base is connected to the three-axis stabilization mechanism of the pan/tilt. Optionally, the pan/tilt may be a handheld pan/tilt, and the base is a handheld rod of the pan/tilt. In this embodiment, the whole composed of the three-axis stabilization mechanism and the base can be referred to as a handheld pan/tilt. Optionally, when the processor of the pan/tilt head determines that the pan/tilt head is located in the waterproof device, the processor of the pan/tilt head does not respond to the user's posture control instruction.
下面以如图1、图2所示的防水装置100为例介绍一种云台的控制方法。Hereinafter, a method for controlling the pan/tilt head is introduced by taking the waterproof device 100 shown in FIGS. 1 and 2 as an example.
图3为本发明实施例提供的云台的控制方法的流程图。如图3所示,本实施例中的方法,可以包括:FIG. 3 is a flowchart of a method for controlling a pan-tilt according to an embodiment of the present invention. As shown in Figure 3, the method in this embodiment may include:
步骤S301、获取云台的基座的横滚姿态指示参数。Step S301: Obtain the roll posture indication parameter of the base of the pan-tilt.
如图4所示,三维坐标系XYZ表示云台的基座的机体坐标系,具体的,该基座的正前方为该机体坐标系的X轴,该基座的左侧方向为该机体坐标系的Y轴,垂直于X轴和Y轴、且向下的方向为该机体坐标系的Z轴。可以理解,该基座可以分别以该机体坐标系的三轴为转动轴线进行转动。例如,当该基座以该机体坐标系的X轴为转动轴线进行转动时,该基座的横滚姿态将发生变化。此时,用于控制该云台的控制设备可获取该基座的横滚姿态指示参数。其中,该控制设备可以是该手持云台中的控制设备,该控制设备可包括处理器。该基座的横滚姿态指示参数是指能够用于指示该基座在三维空间中的横滚姿态的参数。例如,该基座的横滚姿态指示参数具体可以是该基座的横滚角。或者,所述基座的横滚姿态指示参数包括根据所述基座定义的世界坐标系的Z轴与根据所述云台定义的机体坐标系的Y轴之间的夹角。As shown in Figure 4, the three-dimensional coordinate system XYZ represents the body coordinate system of the base of the pan/tilt. Specifically, the front of the base is the X axis of the body coordinate system, and the left side of the base is the body coordinate system. The Y axis of the system is perpendicular to the X axis and Y axis, and the downward direction is the Z axis of the body coordinate system. It can be understood that the base can rotate with the three axes of the body coordinate system as the rotation axis. For example, when the base rotates with the X axis of the body coordinate system as the rotation axis, the roll posture of the base will change. At this time, the control device used to control the pan/tilt head can obtain the roll posture indication parameters of the base. The control device may be a control device in the handheld pan/tilt, and the control device may include a processor. The roll posture indicating parameter of the base refers to a parameter that can be used to indicate the roll posture of the base in a three-dimensional space. For example, the roll attitude indicating parameter of the base may specifically be the roll angle of the base. Alternatively, the roll posture indication parameter of the base includes the angle between the Z axis of the world coordinate system defined by the base and the Y axis of the body coordinate system defined by the pan/tilt.
如图4所示,X1、Y1和Z1构成的三维坐标系是根据基座定义的世界坐标系,其中,Z1表示根据基座定义的世界坐标系的Z轴,Z1轴方向垂直于地面,X1轴方向是该云台开机时基座的正前方,Y1轴方向是该云台开机时基座的右侧方向。可以理解,根据云台定义的机体坐标系具体可以是如上所述的三维坐标系XYZ所表示的基座的机体坐标系。As shown in Figure 4, the three-dimensional coordinate system formed by X1, Y1 and Z1 is a world coordinate system defined by the base, where Z1 represents the Z axis of the world coordinate system defined by the base, and the direction of the Z1 axis is perpendicular to the ground, and X1 The axis direction is the direct front of the base when the pan/tilt is turned on, and the Y1 axis direction is the right direction of the base when the pan/tilt is turned on. It can be understood that the body coordinate system defined by the pan/tilt may specifically be the body coordinate system of the base represented by the three-dimensional coordinate system XYZ as described above.
可以理解,该机体坐标系是可以随着云台或基座的姿态的变化而变化的,例如,当基座以该机体坐标系的X轴为转动轴线进行转动时,该机体坐标系的Y轴和Z轴的方向是不断变化的。而世界坐标系是不随着云台或基座的姿态的变化而变化的,例如,该世界坐标系的Z轴即Z1轴方向始终保持垂直于地面,不会随着基座以该机体坐标系的三轴为转动轴线进行转动而变化。因此,当基座以该机体坐标系的X轴为转动轴线进行转动时,该机体坐标系的Y轴方向或Z轴方向与该世界坐标系的Z1轴方向之间的夹角是不断变化的。也就是说,当基座以该机体坐标系的X轴为转动轴线 进行转动时,该机体坐标系的Y轴方向或Z轴方向与该世界坐标系的Z1轴方向之间的夹角可以用来衡量该基座的横滚姿态。可选的,在本实施例中,将该世界坐标系的Z1轴方向和该机体坐标系的Y轴之间的夹角作为指示该基座在三维空间中的横滚姿态的参数,即该基座的横滚姿态指示参数。It can be understood that the body coordinate system can be changed with the change of the attitude of the pan/tilt or the base. For example, when the base rotates with the X axis of the body coordinate system as the rotation axis, the Y of the body coordinate system The directions of the axis and Z axis are constantly changing. The world coordinate system does not change with the attitude of the pan/tilt or the base. For example, the Z axis of the world coordinate system, that is, the Z1 axis direction, always remains perpendicular to the ground, and will not follow the base in the body coordinate system. The three axes of the rotation axis change for rotation. Therefore, when the base rotates with the X axis of the body coordinate system as the axis of rotation, the angle between the Y or Z axis direction of the body coordinate system and the Z1 axis direction of the world coordinate system is constantly changing . In other words, when the base rotates with the X axis of the body coordinate system as the axis of rotation, the angle between the Y or Z axis direction of the body coordinate system and the Z1 axis direction of the world coordinate system can be used To measure the roll posture of the base. Optionally, in this embodiment, the angle between the Z1 axis direction of the world coordinate system and the Y axis of the body coordinate system is used as a parameter indicating the roll posture of the base in the three-dimensional space, that is, the The roll posture of the base indicates the parameter.
步骤S302、若所述基座的横滚姿态指示参数在第一预设范围内,则采用第一控制模式控制所述云台的姿态,其中,在所述第一控制模式中,控制所述云台的横滚姿态保持水平,根据所述基座的偏航姿态控制所述云台的偏航姿态,根据所述基座的俯仰姿态和预设角度控制所述云台的俯仰姿态,所述预设角度是根据所述防水装置的结构确定的。Step S302: If the roll posture indicating parameter of the base is within a first preset range, the first control mode is used to control the posture of the pan/tilt head, wherein, in the first control mode, the The roll attitude of the gimbal is kept horizontal, the yaw attitude of the gimbal is controlled according to the yaw attitude of the base, the pitch attitude of the gimbal is controlled according to the pitch attitude of the base and a preset angle, so The preset angle is determined according to the structure of the waterproof device.
在本实施例中,云台的控制模式可以包括第一控制模式和第二控制模式,当该基座的横滚姿态指示参数在第一预设范围内时,该云台的控制设备采用第一控制模式控制云台的姿态。当该基座的横滚姿态指示参数在第二预设范围内时,该云台的控制设备采用第二控制模式控制云台的姿态。在本实施例中,第一控制模式具体可以是ROLL水平模式,第二控制模式具体可以是全跟随模式。In this embodiment, the control mode of the pan/tilt may include a first control mode and a second control mode. When the roll attitude indicator parameter of the base is within the first preset range, the control device of the pan/tilt adopts the first control mode. One control mode controls the attitude of the PTZ. When the roll attitude indication parameter of the base is within the second preset range, the control device of the pan/tilt head adopts the second control mode to control the attitude of the pan/tilt head. In this embodiment, the first control mode may specifically be a ROLL horizontal mode, and the second control mode may specifically be a full follow mode.
如图5所示,Z1轴是如图4所示的世界坐标系的Z轴,Y轴是如图4所示的机体坐标系的Y轴。此处,将世界坐标系的Z1轴和机体坐标系的Y轴之间夹角记为θ,如图4和图5所示,随着基座以该机体坐标系的X轴为转动轴线进行转动,世界坐标系的Z1轴和机体坐标系的Y轴之间夹角θ会不断变化。如图5所示,当世界坐标系的Z1轴和机体坐标系的Y轴之间夹角θ在第一预设范围内,例如,该夹角θ小于130度,且大于50度时,该云台的控制设备采用第一控制模式控制云台的姿态。可以理解的是,在其他实施例中,该夹角θ的第一预设范围并不限于该夹角θ小于130度,且大于50度,在基座以该机体坐标系的X轴为转动轴线转动的过程中,只要不导致云台的横滚角发生限位时世界坐标系的Z1轴和机体坐标系的Y轴之间的夹角θ可在的角度范围即可作为该第一预设范围。As shown in FIG. 5, the Z1 axis is the Z axis of the world coordinate system as shown in FIG. 4, and the Y axis is the Y axis of the body coordinate system as shown in FIG. Here, the angle between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system is recorded as θ, as shown in Figures 4 and 5, as the base uses the X axis of the body coordinate system as the axis of rotation Rotating, the angle θ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system will continue to change. As shown in Figure 5, when the angle θ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system is within the first preset range, for example, the angle θ is less than 130 degrees and greater than 50 degrees, the The control device of the pan/tilt uses the first control mode to control the attitude of the pan/tilt. It can be understood that, in other embodiments, the first preset range of the included angle θ is not limited to the included angle θ being less than 130 degrees and greater than 50 degrees, and the base is rotated with the X axis of the body coordinate system as the rotation. In the process of axis rotation, as long as the angle range of the angle θ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system when the roll angle of the pan/tilt is not limited, can be used as the first prediction. Set range.
在该第一控制模式中,该控制设备控制该云台的横滚姿态保持水平。可选的,在所述第一控制模式中,所述云台的目标横滚姿态为0;所述控制所述云台的横滚姿态保持水平,包括:根据所述云台的目标横滚姿态控 制所述云台的横滚姿态,以使所述云台的横滚姿态保持水平。In the first control mode, the control device controls the roll posture of the pan/tilt to remain level. Optionally, in the first control mode, the target roll posture of the pan/tilt is 0; the controlling the roll posture of the pan/tilt to keep level includes: rolling according to the target roll of the pan/tilt The posture controls the roll posture of the pan/tilt so that the roll posture of the pan/tilt remains level.
如图6所示,放置在防水装置内的手持云台具体可以包括基座61和云台62,云台62上承载有拍摄装置60。具体的,如图6所示的示意图是该手持云台的正视图。当基座61的横滚姿态发生变化时,世界坐标系的Z1轴和机体坐标系的Y轴之间夹角随着变化,当该夹角小于130度,且大于50度时,基座61的横滚角较小,不会导致云台62的横滚角发生限位。此时,控制设备可以确定云台的目标横滚姿态为0,并根据该云台的目标横滚姿态控制该云台的横滚轴的驱动电机转动,即控制该云台的横滚姿态,使得该云台的横滚姿态保持水平,从而使得拍摄装置60的横滚姿态保持水平。As shown in FIG. 6, the handheld pan/tilt placed in the waterproof device may specifically include a base 61 and a pan/tilt 62, and the pan/tilt 62 carries a camera 60. Specifically, the schematic diagram shown in FIG. 6 is a front view of the handheld PTZ. When the roll posture of the base 61 changes, the angle between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system changes accordingly. When the angle is less than 130 degrees and greater than 50 degrees, the base 61 The roll angle of is small, which will not cause the roll angle of the pan/tilt 62 to be limited. At this time, the control device can determine that the target roll attitude of the pan/tilt is 0, and control the rotation of the drive motor of the roll axis of the pan/tilt according to the target roll attitude of the pan/tilt, that is, control the roll attitude of the pan/tilt. The roll posture of the pan/tilt head is kept horizontal, so that the roll posture of the camera 60 is kept horizontal.
另外,在所述第一控制模式中,根据所述基座的偏航姿态控制所述云台的偏航姿态。具体的,可控制该云台的偏航姿态跟随该基座的偏航姿态。In addition, in the first control mode, the yaw attitude of the pan/tilt is controlled according to the yaw attitude of the base. Specifically, the yaw attitude of the gimbal can be controlled to follow the yaw attitude of the base.
可选的,在所述第一控制模式中,所述根据所述基座的偏航姿态控制所述云台的偏航姿态,包括:根据所述基座的偏航姿态,确定所述云台的目标偏航姿态,其中,所述云台的目标偏航姿态为所述基座的偏航姿态;根据所述云台的目标偏航姿态控制所述云台的偏航姿态。Optionally, in the first control mode, the controlling the yaw attitude of the gimbal according to the yaw attitude of the base includes: determining the cloud according to the yaw attitude of the base The target yaw attitude of the platform, wherein the target yaw attitude of the gimbal is the yaw attitude of the base; the yaw attitude of the gimbal is controlled according to the target yaw attitude of the gimbal.
例如,当基座的偏航姿态发生变化时,该控制设备可将该基座变化后的偏航姿态作为该云台的目标偏航姿态,并根据该云台的目标偏航姿态控制该云台的偏航姿态,使得该云台的偏航姿态可以跟随该基座的偏航姿态的变化而变化。For example, when the yaw attitude of the base changes, the control device can use the changed yaw attitude of the base as the target yaw attitude of the gimbal, and control the cloud according to the target yaw attitude of the gimbal. The yaw attitude of the platform enables the yaw attitude of the gimbal to follow the change of the yaw attitude of the base.
如图7所示,71表示防水装置100的下壳体10的长度方向的轴线,72表示防水装置100的上壳体20的轴线,由于上壳体20相对于下壳体10是倾斜的,所以,轴线71和轴线72之间有一个夹角,该夹角可以是如图7所示的α,也可以是如图7所示的β。如图7所示,α是锐角,β是钝角。因此,在将手持云台放入防水装置100时,需要根据上壳体20相对于下壳体10的倾斜角,调整云台62的俯仰角。在第一控制模式中,控制设备还可以根据基座的俯仰姿态和预设角度控制该云台的俯仰姿态,其中,该预设角度是根据该防水装置的上壳体和下壳体确定的。As shown in FIG. 7, 71 represents the longitudinal axis of the lower housing 10 of the waterproof device 100, and 72 represents the axis of the upper housing 20 of the waterproof device 100. Since the upper housing 20 is inclined relative to the lower housing 10, Therefore, there is an included angle between the axis 71 and the axis 72, and the included angle may be α as shown in FIG. 7 or β as shown in FIG. 7. As shown in Figure 7, α is an acute angle and β is an obtuse angle. Therefore, when the handheld pan/tilt is placed in the waterproof device 100, it is necessary to adjust the pitch angle of the pan/tilt 62 according to the inclination angle of the upper housing 20 relative to the lower housing 10. In the first control mode, the control device can also control the pitch posture of the pan/tilt head according to the pitch posture of the base and the preset angle, wherein the preset angle is determined according to the upper shell and the lower shell of the waterproof device .
可选的,在所述第一控制模式中,所述根据所述基座的俯仰姿态和预设角度控制所述云台的俯仰姿态,包括:根据所述基座的俯仰姿态和所述 预设角度,确定所述云台的目标俯仰姿态;根据所述云台的目标俯仰姿态控制所述云台的俯仰姿态。可选的,所述预设角度是所述上壳体相对于所述下壳体的倾斜角。所述云台的目标俯仰姿态为所述基座的俯仰姿态加上所述预设角度。Optionally, in the first control mode, the controlling the pitch attitude of the gimbal according to the pitch attitude and the preset angle of the base includes: according to the pitch attitude and the preset angle of the base Set the angle to determine the target pitch attitude of the pan/tilt; control the pitch attitude of the pan/tilt according to the target pitch attitude of the pan/tilt. Optionally, the preset angle is an inclination angle of the upper housing relative to the lower housing. The target pitch attitude of the pan/tilt head is the pitch attitude of the base plus the preset angle.
如图7所示,本实施例将上壳体20的轴线72与水平面之间的夹角
Figure PCTCN2019089263-appb-000001
记为预设角度,该预设角度是上壳体20相对于下壳体10的倾斜角。夹角
Figure PCTCN2019089263-appb-000002
Figure PCTCN2019089263-appb-000003
或者,夹角
Figure PCTCN2019089263-appb-000004
在第一控制模式中,控制设备可根据该基座61的俯仰姿态和该预设角度,确定该云台62的目标俯仰姿态,可选的,该云台62的目标俯仰姿态为该基座61的俯仰姿态加上预设角度
Figure PCTCN2019089263-appb-000005
如图8所示,假设基座61的俯仰姿态为0,则该云台62的目标俯仰姿态为预设角度
Figure PCTCN2019089263-appb-000006
进一步,该控制设备可根据该云台62的目标俯仰姿态控制该云台62的俯仰姿态,使得该云台62的俯仰姿态为该云台62的目标俯仰姿态。如图8所示,74表示拍摄装置60的光轴,73表示基座61的长度方向的轴线。在调整云台62的俯仰姿态后,可使得拍摄装置60的光轴74与如图7所示的上壳体20的轴线72基本重合。
As shown in Figure 7, this embodiment sets the angle between the axis 72 of the upper housing 20 and the horizontal plane
Figure PCTCN2019089263-appb-000001
Denoted as a preset angle, the preset angle is the inclination angle of the upper housing 20 relative to the lower housing 10. Included angle
Figure PCTCN2019089263-appb-000002
Figure PCTCN2019089263-appb-000003
Or, the angle
Figure PCTCN2019089263-appb-000004
In the first control mode, the control device can determine the target pitch attitude of the gimbal 62 according to the pitch attitude of the base 61 and the preset angle. Optionally, the target pitch attitude of the gimbal 62 is the base 61 pitch attitude plus preset angle
Figure PCTCN2019089263-appb-000005
As shown in FIG. 8, assuming that the pitch attitude of the base 61 is 0, the target pitch attitude of the gimbal 62 is a preset angle
Figure PCTCN2019089263-appb-000006
Further, the control device can control the pitch attitude of the gimbal 62 according to the target pitch attitude of the gimbal 62, so that the pitch attitude of the gimbal 62 is the target pitch attitude of the gimbal 62. As shown in FIG. 8, 74 denotes the optical axis of the imaging device 60, and 73 denotes the longitudinal axis of the base 61. After adjusting the pitch attitude of the pan/tilt 62, the optical axis 74 of the camera 60 can be made to substantially coincide with the axis 72 of the upper housing 20 as shown in FIG. 7.
在第一控制模式中,当基座61的俯仰姿态发生变化时,该控制设备还可以在该基座61变化后的俯仰姿态的基础上加上该预设角度
Figure PCTCN2019089263-appb-000007
得到该云台62新的目标俯仰姿态,并根据该云台62新的目标俯仰姿态继续控制该云台62的俯仰姿态,使得该云台62的俯仰姿态为该云台62新的目标俯仰姿态。
In the first control mode, when the pitch attitude of the base 61 changes, the control device can also add the preset angle to the changed pitch attitude of the base 61
Figure PCTCN2019089263-appb-000007
Obtain the new target pitch attitude of the gimbal 62, and continue to control the pitch attitude of the gimbal 62 according to the new target pitch attitude of the gimbal 62, so that the pitch attitude of the gimbal 62 is the new target pitch attitude of the gimbal 62 .
综上所述,可见在第一控制模式下,控制设备可控制云台的横滚姿态保持水平,控制云台的偏航姿态跟随基座的偏航姿态,以及根据基座的俯仰姿态和预设角度控制云台的俯仰姿态,使得该云台的俯仰姿态相对于该基座的俯仰姿态的偏差保持为如上所述的预设角度。In summary, it can be seen that in the first control mode, the control device can control the roll attitude of the gimbal to maintain the level, control the yaw attitude of the gimbal to follow the yaw attitude of the base, and according to the pitch attitude and pre-position of the base The angle is set to control the pitch attitude of the pan/tilt head, so that the deviation of the pitch attitude of the pan/tilt head relative to the pitch attitude of the base is maintained at the preset angle as described above.
可选的,所述云台承载的拍摄装置的光轴与所述取景端面的轴线基本重合。在本实施例中,如图7所示的上壳体20的轴线72可以是取景端面40的轴线。因此,当拍摄装置60的光轴74与如图7所示的上壳体20的轴线72基本重合时,拍摄装置60的光轴74与该取景端面40的轴线也是基本重合的,在这种情况下,拍摄装置60可以只拍摄到该取景端面40以内的部分,而不会拍摄到该取景端面40以外的部分。Optionally, the optical axis of the camera carried by the pan/tilt head and the axis of the viewfinder end surface substantially coincide. In this embodiment, the axis 72 of the upper housing 20 shown in FIG. 7 may be the axis of the viewing end surface 40. Therefore, when the optical axis 74 of the imaging device 60 substantially coincides with the axis 72 of the upper housing 20 as shown in FIG. 7, the optical axis 74 of the imaging device 60 and the axis of the viewing end surface 40 also substantially coincide. In this case, the photographing device 60 may only photograph the part inside the viewfinder end surface 40, but not the part outside the viewfinder end surface 40.
步骤S303、若所述基座的横滚姿态指示参数在第二预设范围内,则采用第二控制模式控制所述云台的姿态,其中,在所述第二控制模式中,根据所述基座的姿态和预设姿态偏差控制所述云台的姿态。Step S303: If the roll posture indicating parameter of the base is within a second preset range, adopt a second control mode to control the posture of the pan/tilt head, wherein, in the second control mode, according to the The deviation of the attitude of the base and the preset attitude controls the attitude of the pan/tilt.
如图5所示,当世界坐标系的Z1轴和机体坐标系的Y轴之间的夹角θ在第二预设范围内,例如,该夹角θ大于140度,且小于180度,或者,该夹角θ小于40度,且大于0度时,基座61的横滚角较大,为了保持该云台的横滚姿态水平,云台62的横滚角可能会发生限位,此时,该云台的控制设备采用第二控制模式控制云台的姿态。也就是说,当该控制设备能够控制云台的横滚姿态水平时,则尽力控制该云台的横滚姿态保持水平,如果无法控制该云台的横滚姿态保持水平,则从第一控制模式切换到第二控制模式。As shown in Figure 5, when the included angle θ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system is within the second preset range, for example, the included angle θ is greater than 140 degrees and less than 180 degrees, or , When the included angle θ is less than 40 degrees and greater than 0 degrees, the roll angle of the base 61 is relatively large. In order to keep the roll attitude of the pan/tilt head horizontal, the roll angle of the pan/tilt head 62 may be limited. At this time, the control device of the pan/tilt uses the second control mode to control the attitude of the pan/tilt. That is to say, when the control device can control the pan/tilt's roll posture to be level, it will try its best to control the pan/tilt's roll posture to be level. If it cannot control the pan/tilt's roll posture to be level, then the first control The mode is switched to the second control mode.
可以理解的是,在其他实施例中,该夹角θ的第二预设范围并不限于该夹角θ大于140度,且小于180度,或者,该夹角θ小于40度,且大于0度,在基座以该机体坐标系的X轴为转动轴线转动的过程中,只要导致云台的横滚角发生限位时世界坐标系的Z1轴和机体坐标系的Y轴之间的夹角θ可在的角度范围即可作为第二预设范围。在该第二控制模式中,控制设备可根据该基座的姿态和预设姿态偏差控制该云台的姿态。It can be understood that, in other embodiments, the second preset range of the included angle θ is not limited to the included angle θ greater than 140 degrees and less than 180 degrees, or the included angle θ is less than 40 degrees and greater than 0. When the base rotates with the X axis of the body coordinate system as the rotation axis, as long as the roll angle of the pan/tilt is limited, the Z1 axis of the world coordinate system and the Y axis of the body coordinate system are clamped. The angle range within which the angle θ can be can be used as the second preset range. In the second control mode, the control device can control the attitude of the pan/tilt according to the attitude of the base and a preset attitude deviation.
可选的,在所述第二控制模式中,所述根据所述基座的姿态和预设姿态偏差控制所述云台的姿态,包括:根据所述基座的姿态和所述预设姿态偏差,确定所述云台的目标姿态;根据所述云台的目标姿态控制所述云台的姿态。可选的,所述基座的姿态是根据所述云台的姿态和所述云台的每一个轴的驱动电机对应的关节角确定的。Optionally, in the second control mode, the controlling the attitude of the pan/tilt head according to the attitude of the base and the preset attitude deviation includes: according to the attitude of the base and the preset attitude Deviation, determine the target attitude of the pan/tilt; control the attitude of the pan/tilt according to the target attitude of the pan/tilt. Optionally, the posture of the base is determined according to the posture of the pan/tilt and the joint angle corresponding to the drive motor of each axis of the pan/tilt.
在本实施例中,云台或拍摄装置内可设置有惯性测量单元(Inertial measurement unit,IMU),该IMU可以实时检测该云台或拍摄装置的姿态。该云台具体可以是三轴云台,三轴具体包括俯仰轴、偏航轴、横滚轴,每个轴对应有一个驱动电机,例如,俯仰轴的驱动电机记为俯仰轴电机,横滚轴的驱动电机记为横滚轴电机,偏航轴的驱动电机记为偏航驱动电机。俯仰轴电机、横滚轴电机和偏航驱动电机可分别对应有一个角度传感器,例如,俯仰轴电机对应的角度传感器可实时检测出俯仰轴电机对应的关节角,横滚轴电机对应的角度传感器可实时检测出横滚轴电机对应的关节角, 偏航轴电机对应的角度传感器可实时检测出偏航轴电机对应的关节角。In this embodiment, an inertial measurement unit (IMU) may be provided in the pan/tilt or camera, and the IMU can detect the posture of the pan/tilt or camera in real time. The gimbal may be a three-axis gimbal. The three axes include a pitch axis, a yaw axis, and a roll axis. Each axis corresponds to a drive motor. For example, the drive motor of the pitch axis is recorded as the pitch axis motor, and the roll The drive motor of the shaft is recorded as the roll axis motor, and the drive motor of the yaw axis is recorded as the yaw drive motor. The pitch axis motor, roll axis motor, and yaw drive motor can each have an angle sensor. For example, the angle sensor corresponding to the pitch axis motor can detect the joint angle corresponding to the pitch axis motor in real time, and the angle sensor corresponding to the roll axis motor. The joint angle corresponding to the roll axis motor can be detected in real time, and the angle sensor corresponding to the yaw axis motor can detect the joint angle corresponding to the yaw axis motor in real time.
在本实施例中,根据云台或拍摄装置的姿态、俯仰轴电机对应的关节角、横滚轴电机对应的关节角和偏航轴电机对应的关节角,可确定出该基座的姿态。作为一种可行的实现方式,将云台的姿态以一个四元数表示为q_camera,俯仰轴电机对应的关节角以一个四元数表示为joint_x,横滚轴电机对应的关节角以一个四元数表示为joint_y,偏航轴电机对应的关节角以一个四元数表示为joint_z,如此得到4个四元数。将这4个四元数进行连乘,连乘后得到的四元数可表示该基座的姿态,此处,可以将这4个四元数进行连乘后得到的四元数所表示的该基座的姿态记为q_handle。在其他实施例中,还可以进一步将连乘后得到的四元数转变成该基座的姿态角也就是欧拉角,该欧拉角包括该基座的偏航角、横滚角、俯仰角。In this embodiment, the attitude of the base can be determined according to the attitude of the pan/tilt or the camera, the joint angle corresponding to the pitch axis motor, the joint angle corresponding to the roll axis motor, and the joint angle corresponding to the yaw axis motor. As a feasible way to achieve, the attitude of the gimbal is expressed as q_camera with a quaternion, the joint angle corresponding to the pitch axis motor is expressed as a quaternion as joint_x, and the joint angle corresponding to the roll axis motor is expressed as a quaternion The number is expressed as joint_y, and the joint angle corresponding to the yaw axis motor is expressed as a quaternion as joint_z, so that 4 quaternions are obtained. Multiply these 4 quaternions continuously, and the quaternion obtained after continuous multiplication can express the attitude of the base. Here, the quaternion obtained by multiplying these 4 quaternions can be represented by The posture of the base is denoted as q_handle. In other embodiments, the quaternion obtained after continuous multiplication can be further converted into the attitude angle of the base, that is, the Euler angle. The Euler angle includes the yaw angle, roll angle, and pitch of the base. angle.
另外,在计算出该基座的姿态q_handle后,还可以根据该基座的姿态q_handle得到如上所述的世界坐标系的Z1轴和机体坐标系的Y轴之间的夹角θ。In addition, after the posture q_handle of the base is calculated, the angle θ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system can also be obtained according to the posture q_handle of the base.
可选的,所述预设姿态偏差是所述云台从所述第一控制模式切换到所述第二控制模式时,所述云台相对于所述基座的姿态偏差。如图5所示,当世界坐标系的Z1轴和机体坐标系的Y轴之间夹角θ小于130度,且大于50度时,该云台的控制设备采用第一控制模式控制云台的姿态。当θ大于140度,且小于180度,或者,该夹角θ小于40度,且大于0度时,该云台的控制设备采用第二控制模式控制云台的姿态。也就是说,当世界坐标系的Z1轴和机体坐标系的Y轴之间夹角θ为180度,且机体坐标系的Y轴按照如图5所述的顺时针方向靠近世界坐标系的Z1轴时,在140度到180度的范围内,控制设备采用第二控制模式控制云台的姿态,在130度到140度的范围内,该云台的控制模式继续保持上一次的控制模式即第二控制模式。在130度的时候,该云台的控制模式将从第二控制模式切换为第一控制模式。在50度到130度的范围内,控制设备采用第一控制模式控制云台的姿态,在40度到50度的范围内,该云台的控制模式继续保持为该第一控制模式。在40度的时候,该云台的控制模式将从第一控制模式切换为第二控制模式,在0度到40度的范围内,控制设备采用第二控制模式控制云台的姿态。Optionally, the preset attitude deviation is the attitude deviation of the pan/tilt head relative to the base when the pan/tilt head is switched from the first control mode to the second control mode. As shown in Figure 5, when the angle θ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system is less than 130 degrees and greater than 50 degrees, the control device of the pan/tilt uses the first control mode to control the pan/tilt attitude. When θ is greater than 140 degrees and less than 180 degrees, or the included angle θ is less than 40 degrees and greater than 0 degrees, the control device of the pan/tilt head adopts the second control mode to control the attitude of the pan/tilt head. In other words, when the angle θ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system is 180 degrees, and the Y axis of the body coordinate system is close to Z1 of the world coordinate system in the clockwise direction as shown in Figure 5 When the axis is in the range of 140 degrees to 180 degrees, the control device uses the second control mode to control the attitude of the pan/tilt. Within the range of 130 degrees to 140 degrees, the control mode of the pan/tilt continues to maintain the previous control mode. The second control mode. At 130 degrees, the control mode of the pan/tilt will be switched from the second control mode to the first control mode. In the range of 50 degrees to 130 degrees, the control device adopts the first control mode to control the attitude of the pan/tilt, and in the range of 40 degrees to 50 degrees, the control mode of the pan/tilt continues to maintain the first control mode. At 40 degrees, the control mode of the pan/tilt will be switched from the first control mode to the second control mode. In the range of 0 degrees to 40 degrees, the control device adopts the second control mode to control the attitude of the pan/tilt.
以40度为例,由于在40度的时候,该云台的控制模式将从第一控制模式切换为第二控制模式,此时,可记录云台相对于所述基座的姿态偏差,并将该姿态偏差记为预设姿态偏差q_offset,该q_offset具体为四元数。Taking 40 degrees as an example, since at 40 degrees, the control mode of the pan/tilt will switch from the first control mode to the second control mode. At this time, the attitude deviation of the pan/tilt relative to the base can be recorded, and This attitude deviation is recorded as the preset attitude deviation q_offset, and the q_offset is specifically a quaternion.
或者,所述预设姿态偏差是根据所述云台从所述第一控制模式切换到所述第二控制模式时所述云台的每一个轴的驱动电机对应的关节角确定的。Alternatively, the preset attitude deviation is determined according to the joint angle corresponding to the drive motor of each axis of the pan/tilt when the pan/tilt is switched from the first control mode to the second control mode.
以40度为例,由于在40度的时候,该云台的控制模式将从第一控制模式切换为第二控制模式,此时,可记录云台的每一个轴的驱动电机对应的关节角,例如,俯仰轴电机对应的关节角以一个四元数表示为cur_joint_x,横滚轴电机对应的关节角以一个四元数表示为cur_joint_y,偏航轴电机对应的关节角以一个四元数表示为cur_joint_z,进一步,根据此时记录的每一个轴的驱动电机对应的关节角,确定该云台相对于所述基座的姿态偏差,并将该姿态偏差记为预设姿态偏差q_offset,该q_offset具体为一个四元数,q_offset=cur_joint_x*cur_joint_y*cur_joint_z。Taking 40 degrees as an example, since at 40 degrees, the control mode of the pan/tilt head will switch from the first control mode to the second control mode. At this time, the joint angle corresponding to the drive motor of each axis of the pan/tilt head can be recorded. For example, the joint angle corresponding to the pitch axis motor is expressed as a quaternion as cur_joint_x, the joint angle corresponding to the roll axis motor is expressed as a quaternion as cur_joint_y, and the joint angle corresponding to the yaw axis motor is expressed as a quaternion. Is cur_joint_z, and further, according to the joint angle corresponding to the drive motor of each axis recorded at this time, the attitude deviation of the pan/tilt head relative to the base is determined, and the attitude deviation is recorded as the preset attitude deviation q_offset, the q_offset Specifically, it is a quaternion, q_offset=cur_joint_x*cur_joint_y*cur_joint_z.
在第二控制模式中,控制设备可根据该基座的姿态和该预设姿态偏差控制该云台的姿态。具体的,该控制设备可根据该基座的姿态和该预设姿态偏差,确定该云台的目标姿态,该云台的目标姿态为q_handle*q_offset,进一步,根据该云台的目标姿态控制该云台的姿态。In the second control mode, the control device can control the attitude of the pan/tilt according to the attitude of the base and the deviation of the preset attitude. Specifically, the control device can determine the target attitude of the pan/tilt head according to the attitude of the base and the preset attitude deviation, the target attitude of the pan/tilt head is q_handle*q_offset, and further, control the pan/tilt head according to the target attitude The attitude of the gimbal.
可选的,所述根据所述云台的目标姿态控制所述云台的姿态,包括:根据所述云台的目标姿态控制所述云台的姿态,以使所述云台相对于所述基座的姿态偏差为所述预设姿态偏差。如图5所示,在40度的时候,该云台的控制模式将从第一控制模式切换为第二控制模式,此时,记录如上所述的预设姿态偏差q_offset。在进入第二控制模式之后,该控制设备将q_handle*q_offset作为该云台的目标姿态,其中,q_handle是该基座的姿态,因此,在根据q_handle*q_offset控制该云台的姿态时,可使得该云台相对于该基座的姿态偏差为该预设姿态偏差q_offset。也就是说,在第二控制模式中,该控制设备控制云台的姿态以一定的预设姿态偏差q_offset跟随基座的姿态,以便该云台从第一控制模式切换为第二控制模式时,拍摄装置的拍摄画面较为稳定,不会乱动。Optionally, the controlling the posture of the gimbal according to the target posture of the gimbal includes: controlling the posture of the gimbal according to the target posture of the gimbal so that the gimbal is relative to the The attitude deviation of the base is the preset attitude deviation. As shown in Figure 5, at 40 degrees, the control mode of the pan/tilt head will be switched from the first control mode to the second control mode. At this time, the preset attitude deviation q_offset as described above is recorded. After entering the second control mode, the control device uses q_handle*q_offset as the target attitude of the pan/tilt, where q_handle is the attitude of the base. Therefore, when controlling the attitude of the pan/tilt according to q_handle*q_offset, it can make The attitude deviation of the pan/tilt head relative to the base is the preset attitude deviation q_offset. That is to say, in the second control mode, the control device controls the attitude of the pan/tilt to follow the attitude of the base with a certain preset attitude deviation q_offset, so that when the pan/tilt is switched from the first control mode to the second control mode, The shooting image of the camera is relatively stable and will not move randomly.
可选的,从所述第一控制模式切换到所述第二控制模式时所述基座的 横滚姿态指示参数不同于从所述第二控制模式切换到所述第一控制模式时所述基座的横滚姿态指示参数。Optionally, the roll posture indication parameter of the base when switching from the first control mode to the second control mode is different from that when switching from the second control mode to the first control mode. The roll posture of the base indicates the parameter.
如图5所示,以130度到140度这个范围为例,当机体坐标系的Y轴沿着如图5所示的逆时针方向远离世界坐标系的Z1轴方向时,在50度到130度的范围内,控制设备采用第一控制模式控制云台的姿态,在130度到140度的范围内,该云台的控制模式继续保持上一次的控制模式即第一控制模式。在140度的时候,该云台的控制模式将从第一控制模式切换为第二控制模式。而当机体坐标系的Y轴沿着如图5所示的顺时针方向靠近世界坐标系的Z1轴方向时,在140度到180度的范围内,控制设备采用第二控制模式控制云台的姿态,在130度到140度的范围内,该云台的控制模式继续保持上一次的控制模式即第二控制模式。在130度的时候,该云台的控制模式将从第二控制模式切换为第一控制模式。也就是说,世界坐标系的Z1轴和机体坐标系的Y轴之间夹角θ等于130度是从第二控制模式切换为第一控制模式时基座的横滚姿态指示参数,世界坐标系的Z1轴和机体坐标系的Y轴之间夹角θ等于140度是从第一控制模式切换为第二控制模式时基座的横滚姿态指示参数,即在本实施例中,从所述第一控制模式切换到所述第二控制模式时所述基座的横滚姿态指示参数可以不同于从所述第二控制模式切换到所述第一控制模式时所述基座的横滚姿态指示参数。As shown in Figure 5, taking the range of 130 degrees to 140 degrees as an example, when the Y axis of the body coordinate system is away from the Z1 axis of the world coordinate system along the counterclockwise direction as shown in Figure 5, it is between 50 degrees and 130 degrees. Within the range of degrees, the control device adopts the first control mode to control the attitude of the pan/tilt. In the range of 130 degrees to 140 degrees, the control mode of the pan/tilt continues to maintain the previous control mode, that is, the first control mode. At 140 degrees, the control mode of the pan/tilt head will switch from the first control mode to the second control mode. When the Y axis of the body coordinate system is close to the Z1 axis of the world coordinate system in the clockwise direction as shown in Figure 5, within the range of 140 degrees to 180 degrees, the control device uses the second control mode to control the pan/tilt When the posture is in the range of 130 degrees to 140 degrees, the control mode of the pan/tilt head continues to maintain the previous control mode, that is, the second control mode. At 130 degrees, the control mode of the pan/tilt will be switched from the second control mode to the first control mode. That is to say, the angle θ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system is equal to 130 degrees, which is the indication parameter of the roll attitude of the base when the second control mode is switched to the first control mode. The world coordinate system The angle θ between the Z1 axis and the Y axis of the body coordinate system equals to 140 degrees is the roll attitude indicator parameter of the base when the first control mode is switched to the second control mode. That is, in this embodiment, from the The roll attitude indicating parameter of the base when the first control mode is switched to the second control mode may be different from the roll attitude of the base when the second control mode is switched to the first control mode Indicates the parameter.
另外,在第二控制模式中,也可以控制拍摄装置的光轴与取景端面的轴线基本重合,从而使得该云台不论在第一控制模式或第二控制模式下,均可以只拍摄到该取景端面40以内的部分,而不会拍摄到该取景端面40以外的部分。In addition, in the second control mode, it is also possible to control the optical axis of the camera to substantially coincide with the axis of the viewfinder end surface, so that the pan/tilt can only capture the viewfinder regardless of whether it is in the first control mode or the second control mode. The part inside the end surface 40 will not be photographed outside the viewfinder end surface 40.
此外,当云台的控制模式从第二控制模式切换到第一控制模式时,由于在第二控制模式时,云台的横滚姿态不是水平的,因此,从第二控制模式切换到第一控制模式之后,需要将该云台的横滚姿态恢复到水平状态,同时,需要控制该云台的偏航姿态跟随基座的偏航姿态,以及根据基座的俯仰姿态和预设角度控制云台的俯仰姿态,使得该云台的俯仰姿态相对于该基座的俯仰姿态的偏差保持为如上所述的预设角度。In addition, when the control mode of the pan/tilt head is switched from the second control mode to the first control mode, since the roll posture of the pan/tilt head is not horizontal in the second control mode, it is switched from the second control mode to the first control mode. After the control mode, the roll attitude of the gimbal needs to be restored to the horizontal state. At the same time, the yaw attitude of the gimbal needs to be controlled to follow the yaw attitude of the base, and the cloud is controlled according to the pitch attitude and preset angle of the base. The pitch posture of the platform is such that the deviation of the pitch posture of the platform relative to the pitch posture of the base is maintained at the preset angle as described above.
具体的,在从第二控制模式切换到第一控制模式的这一时刻,记录该 云台的目标姿态为q_handle*q_offset,根据四元数转换欧拉角的公式,可根据q_handle*q_offset得到该云台的目标姿态角,例如,该云台的目标横滚角记为roll_a,该云台的目标俯仰角记为pitch_a,该云台的目标偏航角记为yaw_a,进一步,控制云台的目标横滚角roll_a逐渐衰减,直到roll_a衰减为0,使得该云台进入第一控制模式后,该云台的横滚姿态恢复到水平状态。同时,还可以将该云台的目标偏航角yaw_a修改为基座的偏航角,使得该云台进入第一控制模式后,该云台的偏航姿态跟随基座的偏航姿态。以及将该云台的目标俯仰角pitch_a修改为基座的俯仰角加上如上所述的预设角度
Figure PCTCN2019089263-appb-000008
使得该云台进入第一控制模式后,该云台的俯仰姿态相对于该基座的俯仰姿态的偏差保持为如上所述的预设角度
Figure PCTCN2019089263-appb-000009
Specifically, at the moment when the second control mode is switched to the first control mode, the target attitude of the pan/tilt is recorded as q_handle*q_offset. According to the formula of quaternion conversion Euler angle, this can be obtained according to q_handle*q_offset The target attitude angle of the gimbal, for example, the target roll angle of the gimbal is recorded as roll_a, the target pitch angle of the gimbal is recorded as pitch_a, and the target yaw angle of the gimbal is recorded as yaw_a. The target roll angle roll_a gradually decays until roll_a decays to 0, so that after the pan/tilt head enters the first control mode, the roll attitude of the pan/tilt head returns to a horizontal state. At the same time, the target yaw angle yaw_a of the gimbal can also be modified to the yaw angle of the base, so that after the gimbal enters the first control mode, the yaw attitude of the gimbal follows the yaw attitude of the base. And modify the target pitch angle pitch_a of the gimbal to the pitch angle of the base plus the preset angle as described above
Figure PCTCN2019089263-appb-000008
After the gimbal enters the first control mode, the deviation of the pitch attitude of the gimbal relative to the pitch attitude of the base is maintained at the preset angle as described above
Figure PCTCN2019089263-appb-000009
本实施例通过将云台和该云台所承载的拍摄装置收容在防水装置内,并获取云台的基座的横滚姿态指示参数,当该基座的横滚姿态指示参数在第一预设范围内时,采用第一控制模式控制云台的姿态,使得云台的横滚姿态保持水平,云台的偏航姿态跟随基座的偏航姿态,云台的俯仰姿态相对于该基座的俯仰姿态的偏差保持为一个由该防水装置的结构确定的预设角度;当该基座的横滚姿态指示参数在第二预设范围内时,采用第二控制模式控制云台的姿态,使得该云台的姿态以一定的预设姿态偏差跟随基座的姿态,从而实现了云台通过防水装置位于水下时对云台的增稳控制。In this embodiment, the pan/tilt and the camera carried by the pan/tilt are housed in the waterproof device, and the roll posture indicating parameters of the base of the pan/tilt are acquired. When the roll posture indicating parameters of the base are in the first preset When within the range, the first control mode is used to control the gimbal's attitude so that the gimbal's roll attitude remains level. The gimbal's yaw attitude follows the base's yaw attitude, and the gimbal's pitch attitude is relative to that of the base. The pitch attitude deviation is maintained at a preset angle determined by the structure of the waterproof device; when the roll attitude indication parameter of the base is within the second preset range, the second control mode is used to control the attitude of the pan/tilt, so that The posture of the gimbal follows the posture of the base with a certain preset posture deviation, thereby realizing the stabilization control of the gimbal when the gimbal is under water through the waterproof device.
本发明实施例提供一种云台的控制方法。上述实施例所述的云台的控制方法可适用于云台开机后对该云台的控制,本实施例在上述实施例的基础上,提供了一种在云台开机时对该云台的控制方法。图9为本发明另一实施例提供的云台的控制方法的流程图。如图9所示,在上述实施例的基础上,所述获取云台的基座的横滚姿态指示参数,包括:在所述云台开机时,获取所述基座的横滚姿态指示参数。The embodiment of the present invention provides a method for controlling a pan-tilt. The method for controlling the pan-tilt described in the above embodiment can be applied to control the pan-tilt after the pan-tilt is turned on. On the basis of the above-mentioned embodiment, this embodiment provides a method for controlling the pan-tilt when the pan-tilt is turned on. Control Method. FIG. 9 is a flowchart of a method for controlling a pan-tilt according to another embodiment of the present invention. As shown in FIG. 9, on the basis of the above-mentioned embodiment, the obtaining the roll posture indicating parameter of the base of the pan/tilt head includes: when the pan/tilt head is turned on, obtaining the roll posture indicating parameter of the base .
在本实施例中,基座的横滚姿态指示参数具体可以是基座的横滚角,或者是如上述实施例所述的世界坐标系的Z1轴和机体坐标系的Y轴之间的夹角θ。本实施例以世界坐标系的Z1轴和机体坐标系的Y轴之间的夹角θ为例进行示意性说明。In this embodiment, the roll attitude indicator parameter of the base may specifically be the roll angle of the base, or the clip between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system as described in the above embodiment. Angle θ. In this embodiment, the included angle θ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system is taken as an example for schematic description.
另外,本实施例所述的方法还包括:In addition, the method described in this embodiment further includes:
步骤S901、若在所述云台开机时,所述基座的横滚姿态指示参数在所述第二预设范围内,则根据所述基座的横滚姿态控制所述云台的横滚姿态,根据所述基座的偏航姿态控制所述云台的偏航姿态,根据所述基座的俯仰姿态和预设角度控制所述云台的俯仰姿态。Step S901: If the roll posture indicating parameter of the base is within the second preset range when the pan/tilt is turned on, control the roll of the gimbal according to the roll posture of the base Attitude, the yaw attitude of the pan/tilt is controlled according to the yaw attitude of the base, and the pitch attitude of the pan/tilt is controlled according to the pitch attitude and a preset angle of the base.
若在云台开机时,世界坐标系的Z1轴和机体坐标系的Y轴之间的夹角θ在如上所述的第二预设范围内,说明基座的横滚角较大,为了保持该云台的横滚姿态水平,云台的横滚角可能会发生限位。此时,该云台的控制设备可以控制该云台的横滚姿态跟随基座的横滚姿态,控制该云台的偏航姿态跟随基座的偏航姿态,以及根据基座的俯仰姿态和预设角度控制云台的俯仰姿态,使得该云台的俯仰姿态相对于该基座的俯仰姿态的偏差保持为如上所述的预设角度。If the angle θ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system is within the second preset range as described above when the gimbal is turned on, it indicates that the roll angle of the base is relatively large. The roll attitude of the gimbal is horizontal, and the roll angle of the gimbal may be limited. At this time, the control device of the gimbal can control the roll attitude of the gimbal to follow the roll attitude of the base, control the yaw attitude of the gimbal to follow the yaw attitude of the base, and according to the pitch attitude and the base The preset angle controls the pitch attitude of the pan/tilt head, so that the deviation of the pitch attitude of the pan/tilt head relative to the pitch attitude of the base is maintained at the preset angle as described above.
步骤S902、若在所述云台开机时,所述基座的横滚姿态指示参数在所述第一预设范围内,则采用所述第一控制模式控制所述云台的姿态。Step S902: If the roll attitude indication parameter of the base is within the first preset range when the pan/tilt is turned on, the first control mode is used to control the attitude of the pan/tilt.
若在云台开机时,世界坐标系的Z1轴和机体坐标系的Y轴之间的夹角θ在如上所述的第一预设范围内,说明基座的横滚角较小,为了保持该云台的横滚姿态水平,云台的横滚角不会发生限位。此时,该控制设备采用如上所述的第一控制模式来控制该云台的姿态,具体的,该控制设备控制云台的横滚姿态保持水平,控制云台的偏航姿态跟随基座的偏航姿态,以及根据基座的俯仰姿态和预设角度控制云台的俯仰姿态,使得该云台的俯仰姿态相对于该基座的俯仰姿态的偏差保持为如上所述的预设角度。If the angle θ between the Z1 axis of the world coordinate system and the Y axis of the body coordinate system is within the first preset range as described above when the gimbal is turned on, it means that the roll angle of the base is small. In order to maintain The roll attitude of the gimbal is horizontal, and the roll angle of the gimbal will not be limited. At this time, the control device adopts the first control mode as described above to control the attitude of the pan/tilt. Specifically, the control device controls the roll attitude of the pan/tilt to keep level, and controls the yaw attitude of the pan/tilt to follow the base. The yaw attitude and the control of the pitch attitude of the gimbal according to the pitch attitude and the preset angle of the base, so that the deviation of the pitch attitude of the gimbal relative to the pitch attitude of the base is maintained at the preset angle as described above.
本实施例通过在云台开机时,获取基座的横滚姿态指示参数,当该基座的横滚姿态指示参数在第二预设范围内时,控制该云台的横滚姿态跟随基座的横滚姿态,控制该云台的偏航姿态跟随基座的偏航姿态,以及根据基座的俯仰姿态和预设角度控制云台的俯仰姿态,使得云台的俯仰姿态相对于该基座的俯仰姿态的偏差保持为一个由该防水装置的结构确定的预设角度;当该基座的横滚姿态指示参数在第一预设范围内时,采用第一控制模式控制云台的姿态,使得云台的横滚姿态保持水平,从而实现了云台在开机时对该云台的增稳控制。In this embodiment, the roll posture indicating parameter of the base is acquired when the pan/tilt is turned on, and when the roll posture indicating parameter of the base is within the second preset range, the roll posture of the gimbal is controlled to follow the base Control the yaw attitude of the gimbal to follow the yaw attitude of the base, and control the pitch attitude of the gimbal according to the pitch attitude and preset angle of the base, so that the pitch attitude of the gimbal is relative to the base The deviation of the pitch attitude is maintained at a preset angle determined by the structure of the waterproof device; when the roll attitude indication parameter of the base is within the first preset range, the first control mode is used to control the attitude of the pan/tilt, The roll posture of the gimbal is kept level, thereby realizing the stabilization control of the gimbal when the gimbal is turned on.
本发明实施例提供一种云台的控制设备。所述云台用于承载拍摄装置, 所述云台和所述拍摄装置收容在防水装置内,该防水装置的结构示意图如上所述,此处不再赘述。图10为本发明实施例提供的云台的控制设备的结构图,如图10所示,该控制设备101包括:存储器102和处理器103。另外,在其他实施例中,该控制设备101还可以包括通讯接口104,该通讯接口104用于和用户终端进行通信。具体的,存储器102用于存储程序代码;处理器103,调用所述程序代码,当程序代码被执行时,用于执行以下操作:获取云台的基座的横滚姿态指示参数;若所述基座的横滚姿态指示参数在第一预设范围内,则采用第一控制模式控制所述云台的姿态,其中,在所述第一控制模式中,控制所述云台的横滚姿态保持水平,根据所述基座的偏航姿态控制所述云台的偏航姿态,根据所述基座的俯仰姿态和预设角度控制所述云台的俯仰姿态,所述预设角度是根据所述防水装置的结构确定的;若所述基座的横滚姿态指示参数在第二预设范围内,则采用第二控制模式控制所述云台的姿态,其中,在所述第二控制模式中,根据所述基座的姿态和预设姿态偏差控制所述云台的姿态。The embodiment of the present invention provides a control device for a pan-tilt. The pan/tilt is used to carry a photographing device, and the pan/tilt and the photographing device are housed in a waterproof device. The structural schematic diagram of the waterproof device is as described above and will not be repeated here. FIG. 10 is a structural diagram of a control device for a pan/tilt head provided by an embodiment of the present invention. As shown in FIG. 10, the control device 101 includes a memory 102 and a processor 103. In addition, in other embodiments, the control device 101 may further include a communication interface 104, which is used to communicate with a user terminal. Specifically, the memory 102 is used for storing program code; the processor 103 is used for calling the program code, and when the program code is executed, it is used for performing the following operations: Obtain the roll posture indication parameters of the base of the pan/tilt; If the roll posture indicating parameter of the base is within the first preset range, the first control mode is adopted to control the posture of the pan/tilt, wherein, in the first control mode, the roll posture of the pan/tilt is controlled Keep level, control the yaw attitude of the gimbal according to the yaw attitude of the base, control the pitch attitude of the gimbal according to the pitch attitude of the base and a preset angle, and the preset angle is based on The structure of the waterproof device is determined; if the roll attitude indicator parameter of the base is within a second preset range, the second control mode is used to control the attitude of the pan/tilt, wherein, in the second control In the mode, the attitude of the pan/tilt head is controlled according to the attitude of the base and a preset attitude deviation.
可选的,在所述第一控制模式中,所述云台的目标横滚姿态为0;处理器103控制所述云台的横滚姿态保持水平时,具体用于:根据所述云台的目标横滚姿态控制所述云台的横滚姿态,以使所述云台的横滚姿态保持水平。Optionally, in the first control mode, the target roll posture of the pan/tilt is 0; when the processor 103 controls the roll posture of the pan/tilt to remain level, it is specifically configured to: The target roll posture of controls the roll posture of the pan/tilt so that the roll posture of the pan/tilt remains level.
可选的,在所述第一控制模式中,处理器103根据所述基座的偏航姿态控制所述云台的偏航姿态时,具体用于:根据所述基座的偏航姿态,确定所述云台的目标偏航姿态,其中,所述云台的目标偏航姿态为所述基座的偏航姿态;根据所述云台的目标偏航姿态控制所述云台的偏航姿态。Optionally, in the first control mode, when the processor 103 controls the yaw attitude of the gimbal according to the yaw attitude of the base, it is specifically configured to: according to the yaw attitude of the base, Determine the target yaw attitude of the gimbal, wherein the target yaw attitude of the gimbal is the yaw attitude of the base; and control the yaw of the gimbal according to the target yaw attitude of the gimbal attitude.
可选的,在所述第一控制模式中,处理器103根据所述基座的俯仰姿态和预设角度控制所述云台的俯仰姿态时,具体用于:根据所述基座的俯仰姿态和所述预设角度,确定所述云台的目标俯仰姿态;根据所述云台的目标俯仰姿态控制所述云台的俯仰姿态。Optionally, in the first control mode, when the processor 103 controls the pitch attitude of the gimbal according to the pitch attitude and the preset angle of the base, it is specifically configured to: according to the pitch attitude of the base And the preset angle, determine the target pitch attitude of the pan/tilt; control the pitch attitude of the pan/tilt according to the target pitch attitude of the pan/tilt.
可选的,在所述第二控制模式中,处理器103根据所述基座的姿态和预设姿态偏差控制所述云台的姿态时,具体用于:根据所述基座的姿态和所述预设姿态偏差,确定所述云台的目标姿态;根据所述云台的目标姿态控制所述云台的姿态。Optionally, in the second control mode, when the processor 103 controls the attitude of the pan/tilt according to the attitude and preset attitude deviation of the base, it is specifically configured to: The preset attitude deviation determines the target attitude of the pan/tilt; and controls the attitude of the pan/tilt according to the target attitude of the pan/tilt.
可选的,所述防水装置包括供用户手持的下壳体和与所述下壳体连接的上壳体,所述预设角度是所述上壳体相对于所述下壳体的倾斜角。Optionally, the waterproof device includes a lower housing for a user to hold and an upper housing connected to the lower housing, and the preset angle is an inclination angle of the upper housing relative to the lower housing .
可选的,所述上壳体包括供所述拍摄装置取景的取景端面;所述云台承载的拍摄装置的光轴与所述取景端面的轴线基本重合。Optionally, the upper housing includes a viewing end surface for the shooting device to view a view; the optical axis of the shooting device carried by the pan/tilt head and the axis of the viewing end surface substantially coincide.
可选的,所述预设姿态偏差是所述云台从所述第一控制模式切换到所述第二控制模式时,所述云台相对于所述基座的姿态偏差。Optionally, the preset attitude deviation is the attitude deviation of the pan/tilt head relative to the base when the pan/tilt head is switched from the first control mode to the second control mode.
可选的,所述预设姿态偏差是根据所述云台从所述第一控制模式切换到所述第二控制模式时所述云台的每一个轴的驱动电机对应的关节角确定的。Optionally, the preset attitude deviation is determined according to a joint angle corresponding to a drive motor of each axis of the pan/tilt when the pan/tilt is switched from the first control mode to the second control mode.
可选的,从所述第一控制模式切换到所述第二控制模式时所述基座的横滚姿态指示参数不同于从所述第二控制模式切换到所述第一控制模式时所述基座的横滚姿态指示参数。Optionally, the roll posture indication parameter of the base when switching from the first control mode to the second control mode is different from that when switching from the second control mode to the first control mode. The roll posture of the base indicates the parameter.
可选的,所述基座的姿态是根据所述云台的姿态和所述云台的每一个轴的驱动电机对应的关节角确定的。Optionally, the posture of the base is determined according to the posture of the pan/tilt and the joint angle corresponding to the drive motor of each axis of the pan/tilt.
可选的,所述基座的横滚姿态指示参数包括根据所述基座定义的世界坐标系的Z轴与根据所述云台定义的机体坐标系的Y轴之间的夹角。Optionally, the roll posture indication parameter of the base includes an angle between the Z axis of the world coordinate system defined by the base and the Y axis of the body coordinate system defined by the pan/tilt.
可选的,处理器103获取云台的基座的横滚姿态指示参数时,具体用于:在所述云台开机时,获取所述基座的横滚姿态指示参数;处理器103还用于:若在所述云台开机时,所述基座的横滚姿态指示参数在所述第二预设范围内,则根据所述基座的横滚姿态控制所述云台的横滚姿态,根据所述基座的偏航姿态控制所述云台的偏航姿态,根据所述基座的俯仰姿态和预设角度控制所述云台的俯仰姿态;若在所述云台开机时,所述基座的横滚姿态指示参数在所述第一预设范围内,则采用所述第一控制模式控制所述云台的姿态。Optionally, when the processor 103 obtains the roll posture indication parameter of the base of the pan/tilt head, it is specifically used to: obtain the roll posture indication parameter of the base when the gimbal is powered on; the processor 103 also uses In: if the roll posture indicating parameter of the base is within the second preset range when the pan/tilt is turned on, the roll posture of the pan/tilt is controlled according to the roll posture of the base , Controlling the yaw attitude of the gimbal according to the yaw attitude of the base, and controlling the pitch attitude of the gimbal according to the pitch attitude and preset angle of the base; if the gimbal is turned on, If the roll posture indicating parameter of the base is within the first preset range, the first control mode is used to control the posture of the pan/tilt.
可选的,所述基座为云台的手持杆。Optionally, the base is a handheld pole of a pan-tilt.
本发明实施例提供的控制设备的具体原理和实现方式均与上述实施例类似,此处不再赘述。The specific principles and implementation manners of the control device provided in the embodiment of the present invention are similar to those in the foregoing embodiment, and will not be repeated here.
本实施例通过将云台和该云台所承载的拍摄装置收容在防水装置内,并获取云台的基座的横滚姿态指示参数,当该基座的横滚姿态指示参数在第一预设范围内时,采用第一控制模式控制云台的姿态,使得云台的横滚 姿态保持水平,云台的偏航姿态跟随基座的偏航姿态,云台的俯仰姿态相对于该基座的俯仰姿态的偏差保持为一个由该防水装置的结构确定的预设角度;当该基座的横滚姿态指示参数在第二预设范围内时,采用第二控制模式控制云台的姿态,使得该云台的姿态以一定的预设姿态偏差跟随基座的姿态,从而实现了云台通过防水装置位于水下时对云台的增稳控制。In this embodiment, the pan/tilt and the camera carried by the pan/tilt are housed in the waterproof device, and the roll posture indicating parameters of the base of the pan/tilt are acquired. When the roll posture indicating parameters of the base are in the first preset When within the range, the first control mode is used to control the gimbal's attitude so that the gimbal's roll attitude remains level. The gimbal's yaw attitude follows the base's yaw attitude, and the gimbal's pitch attitude is relative to that of the base. The pitch attitude deviation is maintained at a preset angle determined by the structure of the waterproof device; when the roll attitude indication parameter of the base is within the second preset range, the second control mode is used to control the attitude of the pan/tilt, so that The posture of the gimbal follows the posture of the base with a certain preset posture deviation, thereby realizing the stabilization control of the gimbal when the gimbal is under water through the waterproof device.
本发明实施例提供一种手持云台。该手持云台包括:云台、基座和如上述实施例所述的控制设备,其中,所述云台用于承载拍摄装置,所述云台和所述基座连接,所述控制设备所执行的云台的控制方法的具体原理和实现方式均与上述实施例一致,此处不再赘述。The embodiment of the present invention provides a handheld PTZ. The handheld pan/tilt includes: a pan/tilt, a base, and the control device as described in the above embodiments, wherein the pan/tilt is used to carry a photographing device, the pan/tilt is connected to the base, and the control device is The specific principles and implementation manners of the executed pan-tilt control method are consistent with the foregoing embodiment, and will not be repeated here.
可选的,所述云台和所述拍摄装置收容在防水装置内。该防水装置的结构示意图具体如图1或图2所示。Optionally, the pan-tilt and the photographing device are housed in a waterproof device. The schematic diagram of the structure of the waterproof device is shown in FIG. 1 or FIG. 2.
另外,本实施例还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现上述实施例所述的云台的控制方法。In addition, this embodiment also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the pan-tilt control method described in the foregoing embodiment.
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬 件加软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be realized in the form of hardware, or in the form of hardware plus software functional unit.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute the method described in the various embodiments of the present invention. Part of the steps. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned functions can be allocated by different functional modules as required, namely, the device The internal structure is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not repeated here.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: It is still possible to modify the technical solutions described in the foregoing embodiments, or equivalently replace some or all of the technical features; these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention range.

Claims (31)

  1. 一种云台的控制方法,其特征在于,所述云台用于承载拍摄装置,所述云台和所述拍摄装置收容在防水装置内,所述方法包括:A method for controlling a pan-tilt, characterized in that the pan-tilt is used to carry a camera, the pan-tilt and the camera are housed in a waterproof device, and the method includes:
    获取云台的基座的横滚姿态指示参数;Obtain the roll attitude indication parameters of the base of the pan/tilt;
    若所述基座的横滚姿态指示参数在第一预设范围内,则采用第一控制模式控制所述云台的姿态,其中,在所述第一控制模式中,控制所述云台的横滚姿态保持水平,根据所述基座的偏航姿态控制所述云台的偏航姿态,根据所述基座的俯仰姿态和预设角度控制所述云台的俯仰姿态,所述预设角度是根据所述防水装置的结构确定的;If the roll attitude indicator parameter of the base is within the first preset range, the first control mode is adopted to control the attitude of the pan/tilt head, wherein, in the first control mode, the pan/tilt head is controlled The roll attitude remains horizontal, the yaw attitude of the gimbal is controlled according to the yaw attitude of the base, and the pitch attitude of the gimbal is controlled according to the pitch attitude and a preset angle of the base. The preset The angle is determined according to the structure of the waterproof device;
    若所述基座的横滚姿态指示参数在第二预设范围内,则采用第二控制模式控制所述云台的姿态,其中,在所述第二控制模式中,根据所述基座的姿态和预设姿态偏差控制所述云台的姿态。If the roll posture indication parameter of the base is within the second preset range, the second control mode is used to control the posture of the pan/tilt head, wherein, in the second control mode, according to the base The deviation of the attitude and the preset attitude controls the attitude of the pan-tilt.
  2. 根据权利要求1所述的方法,其特征在于,在所述第一控制模式中,所述云台的目标横滚姿态为0;The method according to claim 1, wherein in the first control mode, the target roll attitude of the pan/tilt is 0;
    所述控制所述云台的横滚姿态保持水平,包括:The controlling the roll posture of the pan/tilt head to keep level includes:
    根据所述云台的目标横滚姿态控制所述云台的横滚姿态,以使所述云台的横滚姿态保持水平。The rolling attitude of the pan/tilt head is controlled according to the target rolling attitude of the pan/tilt head, so that the rolling attitude of the pan/tilt head is kept level.
  3. 根据权利要求1或2所述的方法,其特征在于,在所述第一控制模式中,所述根据所述基座的偏航姿态控制所述云台的偏航姿态,包括:The method according to claim 1 or 2, wherein in the first control mode, the controlling the yaw attitude of the pan/tilt according to the yaw attitude of the base comprises:
    根据所述基座的偏航姿态,确定所述云台的目标偏航姿态,其中,所述云台的目标偏航姿态为所述基座的偏航姿态;Determining the target yaw attitude of the gimbal according to the yaw attitude of the base, wherein the target yaw attitude of the gimbal is the yaw attitude of the base;
    根据所述云台的目标偏航姿态控制所述云台的偏航姿态。The yaw attitude of the gimbal is controlled according to the target yaw attitude of the gimbal.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,在所述第一控制模式中,所述根据所述基座的俯仰姿态和预设角度控制所述云台的俯仰姿态,包括:The method according to any one of claims 1 to 3, wherein in the first control mode, the control of the pitch attitude of the pan/tilt head according to the pitch attitude of the base and a preset angle, include:
    根据所述基座的俯仰姿态和所述预设角度,确定所述云台的目标俯仰姿态;Determining the target pitch attitude of the pan/tilt head according to the pitch attitude of the base and the preset angle;
    根据所述云台的目标俯仰姿态控制所述云台的俯仰姿态。Controlling the pitch attitude of the gimbal according to the target pitch attitude of the gimbal.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,在所述第二控制模式中,所述根据所述基座的姿态和预设姿态偏差控制所述云台的姿态, 包括:The method according to any one of claims 1 to 4, wherein in the second control mode, the controlling the attitude of the pan/tilt according to the attitude of the base and a preset attitude deviation comprises :
    根据所述基座的姿态和所述预设姿态偏差,确定所述云台的目标姿态;Determining the target posture of the pan/tilt head according to the posture of the base and the preset posture deviation;
    根据所述云台的目标姿态控制所述云台的姿态。The attitude of the pan/tilt is controlled according to the target attitude of the pan/tilt.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述防水装置包括供用户手持的下壳体和与所述下壳体连接的上壳体,所述预设角度是所述上壳体相对于所述下壳体的倾斜角。The method according to any one of claims 1 to 5, wherein the waterproof device comprises a lower casing for a user to hold and an upper casing connected to the lower casing, and the preset angle is The inclination angle of the upper casing relative to the lower casing.
  7. 根据权利要求6所述的方法,其特征在于,所述上壳体包括供所述拍摄装置取景的取景端面;The method according to claim 6, wherein the upper housing comprises a viewing end surface for viewing the shooting device;
    所述云台承载的拍摄装置的光轴与所述取景端面的轴线基本重合。The optical axis of the imaging device carried by the pan/tilt is substantially coincident with the axis of the viewfinder end surface.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述预设姿态偏差是所述云台从所述第一控制模式切换到所述第二控制模式时,所述云台相对于所述基座的姿态偏差。The method according to any one of claims 1-7, wherein the preset attitude deviation is that when the pan/tilt is switched from the first control mode to the second control mode, the pan/tilt The attitude deviation relative to the base.
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述预设姿态偏差是根据所述云台从所述第一控制模式切换到所述第二控制模式时所述云台的每一个轴的驱动电机对应的关节角确定的。The method according to any one of claims 1-8, wherein the preset attitude deviation is based on when the pan/tilt is switched from the first control mode to the second control mode. The corresponding joint angle of the drive motor of each axis is determined.
  10. 根据权利要求8或9所述的方法,其特征在于,从所述第一控制模式切换到所述第二控制模式时所述基座的横滚姿态指示参数不同于从所述第二控制模式切换到所述第一控制模式时所述基座的横滚姿态指示参数。The method according to claim 8 or 9, characterized in that when switching from the first control mode to the second control mode, the roll attitude indication parameter of the base is different from that of the second control mode. The roll posture of the base indicates a parameter when switching to the first control mode.
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述基座的姿态是根据所述云台的姿态和所述云台的每一个轴的驱动电机对应的关节角确定的。The method according to any one of claims 1-10, wherein the posture of the base is determined according to the posture of the pan/tilt and the joint angle corresponding to the drive motor of each axis of the pan/tilt. .
  12. 根据权利要求1-11任一项所述的方法,其特征在于,所述基座的横滚姿态指示参数包括根据所述基座定义的世界坐标系的Z轴与根据所述云台定义的机体坐标系的Y轴之间的夹角。The method according to any one of claims 1-11, wherein the roll attitude indication parameters of the base include the Z axis of the world coordinate system defined by the base and the Z axis defined by the pan/tilt. The angle between the Y-axis of the body coordinate system.
  13. 根据权利要求1-12任一项所述的方法,其特征在于,所述获取云台的基座的横滚姿态指示参数,包括:The method according to any one of claims 1-12, wherein the obtaining a roll attitude indication parameter of the base of the pan-tilt head comprises:
    在所述云台开机时,获取所述基座的横滚姿态指示参数;When the pan/tilt head is turned on, acquiring the roll attitude indication parameters of the base;
    所述方法还包括:The method also includes:
    若在所述云台开机时,所述基座的横滚姿态指示参数在所述第二预设 范围内,则根据所述基座的横滚姿态控制所述云台的横滚姿态,根据所述基座的偏航姿态控制所述云台的偏航姿态,根据所述基座的俯仰姿态和预设角度控制所述云台的俯仰姿态;If the roll posture indicating parameter of the base is within the second preset range when the platform is turned on, then the roll posture of the platform is controlled according to the roll posture of the base, according to The yaw attitude of the base controls the yaw attitude of the gimbal, and controls the pitch attitude of the gimbal according to the pitch attitude and a preset angle of the base;
    若在所述云台开机时,所述基座的横滚姿态指示参数在所述第一预设范围内,则采用所述第一控制模式控制所述云台的姿态。If the roll attitude indication parameter of the base is within the first preset range when the pan/tilt head is turned on, the first control mode is used to control the attitude of the pan/tilt head.
  14. 根据权利要求1-13任一项所述的方法,其特征在于,所述基座为云台的手持杆。The method according to any one of claims 1-13, wherein the base is a handheld pole of a pan-tilt.
  15. 一种云台的控制设备,其特征在于,所述云台用于承载拍摄装置,所述云台和所述拍摄装置收容在防水装置内,所述控制设备包括:存储器和处理器;A control device for a pan-tilt, characterized in that the pan-tilt is used to carry a camera, the pan-tilt and the camera are housed in a waterproof device, and the control device includes a memory and a processor;
    所述存储器用于存储程序代码;The memory is used to store program codes;
    所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor calls the program code, and when the program code is executed, is used to perform the following operations:
    获取云台的基座的横滚姿态指示参数;Obtain the roll attitude indication parameters of the base of the pan/tilt;
    若所述基座的横滚姿态指示参数在第一预设范围内,则采用第一控制模式控制所述云台的姿态,其中,在所述第一控制模式中,控制所述云台的横滚姿态保持水平,根据所述基座的偏航姿态控制所述云台的偏航姿态,根据所述基座的俯仰姿态和预设角度控制所述云台的俯仰姿态,所述预设角度是根据所述防水装置的结构确定的;If the roll attitude indicator parameter of the base is within the first preset range, the first control mode is adopted to control the attitude of the pan/tilt head, wherein, in the first control mode, the pan/tilt head is controlled The roll attitude remains horizontal, the yaw attitude of the gimbal is controlled according to the yaw attitude of the base, and the pitch attitude of the gimbal is controlled according to the pitch attitude and a preset angle of the base, and the preset The angle is determined according to the structure of the waterproof device;
    若所述基座的横滚姿态指示参数在第二预设范围内,则采用第二控制模式控制所述云台的姿态,其中,在所述第二控制模式中,根据所述基座的姿态和预设姿态偏差控制所述云台的姿态。If the roll posture indicating parameter of the base is within the second preset range, the second control mode is adopted to control the posture of the pan/tilt head, wherein, in the second control mode, according to the base The deviation of the attitude and the preset attitude controls the attitude of the pan/tilt.
  16. 根据权利要求15所述的控制设备,其特征在于,在所述第一控制模式中,所述云台的目标横滚姿态为0;The control device according to claim 15, wherein in the first control mode, the target roll attitude of the pan/tilt is 0;
    所述处理器控制所述云台的横滚姿态保持水平时,具体用于:When the processor controls the roll posture of the pan/tilt to remain level, it is specifically used for:
    根据所述云台的目标横滚姿态控制所述云台的横滚姿态,以使所述云台的横滚姿态保持水平。The rolling attitude of the pan/tilt head is controlled according to the target rolling attitude of the pan/tilt head, so that the rolling attitude of the pan/tilt head is kept level.
  17. 根据权利要求15或16所述的控制设备,其特征在于,在所述第一控制模式中,所述处理器根据所述基座的偏航姿态控制所述云台的偏航姿态时,具体用于:The control device according to claim 15 or 16, wherein in the first control mode, when the processor controls the yaw attitude of the pan/tilt according to the yaw attitude of the base, specifically Used for:
    根据所述基座的偏航姿态,确定所述云台的目标偏航姿态,其中,所述云台的目标偏航姿态为所述基座的偏航姿态;Determining the target yaw attitude of the gimbal according to the yaw attitude of the base, wherein the target yaw attitude of the gimbal is the yaw attitude of the base;
    根据所述云台的目标偏航姿态控制所述云台的偏航姿态。The yaw attitude of the gimbal is controlled according to the target yaw attitude of the gimbal.
  18. 根据权利要求15-17任一项所述的控制设备,其特征在于,在所述第一控制模式中,所述处理器根据所述基座的俯仰姿态和预设角度控制所述云台的俯仰姿态时,具体用于:The control device according to any one of claims 15-17, wherein, in the first control mode, the processor controls the pan/tilt head according to the pitch attitude and a preset angle of the base In the pitch attitude, it is specifically used for:
    根据所述基座的俯仰姿态和所述预设角度,确定所述云台的目标俯仰姿态;Determine the target pitch attitude of the gimbal according to the pitch attitude of the base and the preset angle;
    根据所述云台的目标俯仰姿态控制所述云台的俯仰姿态。Controlling the pitch attitude of the gimbal according to the target pitch attitude of the gimbal.
  19. 根据权利要求15-18任一项所述的控制设备,其特征在于,在所述第二控制模式中,所述处理器根据所述基座的姿态和预设姿态偏差控制所述云台的姿态时,具体用于:The control device according to any one of claims 15-18, wherein in the second control mode, the processor controls the pan/tilt head according to the attitude of the base and a preset attitude deviation In posture, it is specifically used for:
    根据所述基座的姿态和所述预设姿态偏差,确定所述云台的目标姿态;Determining the target posture of the pan/tilt head according to the posture of the base and the preset posture deviation;
    根据所述云台的目标姿态控制所述云台的姿态。The attitude of the pan/tilt is controlled according to the target attitude of the pan/tilt.
  20. 根据权利要求15-19任一项所述的控制设备,其特征在于,所述防水装置包括供用户手持的下壳体和与所述下壳体连接的上壳体,所述预设角度是所述上壳体相对于所述下壳体的倾斜角。The control device according to any one of claims 15-19, wherein the waterproof device comprises a lower housing for a user to hold and an upper housing connected to the lower housing, and the preset angle is The inclination angle of the upper casing relative to the lower casing.
  21. 根据权利要求20所述的控制设备,其特征在于,所述上壳体包括供所述拍摄装置取景的取景端面;22. The control device according to claim 20, wherein the upper housing comprises a viewing end surface for viewing the shooting device;
    所述云台承载的拍摄装置的光轴与所述取景端面的轴线基本重合。The optical axis of the imaging device carried by the pan/tilt is substantially coincident with the axis of the viewfinder end surface.
  22. 根据权利要求15-21任一项所述的控制设备,其特征在于,所述预设姿态偏差是所述云台从所述第一控制模式切换到所述第二控制模式时,所述云台相对于所述基座的姿态偏差。The control device according to any one of claims 15-21, wherein the preset attitude deviation is that when the pan/tilt is switched from the first control mode to the second control mode, the cloud The attitude deviation of the table relative to the base.
  23. 根据权利要求15-22任一项所述的控制设备,其特征在于,所述预设姿态偏差是根据所述云台从所述第一控制模式切换到所述第二控制模式时所述云台的每一个轴的驱动电机对应的关节角确定的。The control device according to any one of claims 15-22, wherein the preset attitude deviation is based on when the pan/tilt is switched from the first control mode to the second control mode. The joint angle corresponding to the drive motor of each axis of the table is determined.
  24. 根据权利要求22或23所述的控制设备,其特征在于,从所述第一控制模式切换到所述第二控制模式时所述基座的横滚姿态指示参数不同于从所述第二控制模式切换到所述第一控制模式时所述基座的横滚姿态指示参数。The control device according to claim 22 or 23, wherein when switching from the first control mode to the second control mode, the roll posture indicating parameter of the base is different from that from the second control mode. When the mode is switched to the first control mode, the roll posture of the base indicates a parameter.
  25. 根据权利要求15-24任一项所述的控制设备,其特征在于,所述基座的姿态是根据所述云台的姿态和所述云台的每一个轴的驱动电机对应的关节角确定的。The control device according to any one of claims 15-24, wherein the attitude of the base is determined according to the attitude of the pan/tilt and the joint angle corresponding to the drive motor of each axis of the pan/tilt. of.
  26. 根据权利要求15-25任一项所述的控制设备,其特征在于,所述基座的横滚姿态指示参数包括根据所述基座定义的世界坐标系的Z轴与根据所述云台定义的机体坐标系的Y轴之间的夹角。The control device according to any one of claims 15-25, wherein the roll attitude indication parameters of the base include the Z axis of the world coordinate system defined by the base and the Z axis defined by the pan/tilt. The angle between the Y axis of the body coordinate system.
  27. 根据权利要求15-26任一项所述的控制设备,其特征在于,所述处理器获取云台的基座的横滚姿态指示参数时,具体用于:The control device according to any one of claims 15-26, wherein when the processor obtains the roll attitude indication parameter of the base of the pan/tilt head, it is specifically used for:
    在所述云台开机时,获取所述基座的横滚姿态指示参数;When the pan/tilt head is turned on, acquiring the roll attitude indication parameters of the base;
    所述处理器还用于:The processor is also used for:
    若在所述云台开机时,所述基座的横滚姿态指示参数在所述第二预设范围内,则根据所述基座的横滚姿态控制所述云台的横滚姿态,根据所述基座的偏航姿态控制所述云台的偏航姿态,根据所述基座的俯仰姿态和预设角度控制所述云台的俯仰姿态;If the roll posture indicating parameter of the base is within the second preset range when the platform is turned on, then the roll posture of the platform is controlled according to the roll posture of the base, according to The yaw attitude of the base controls the yaw attitude of the gimbal, and controls the pitch attitude of the gimbal according to the pitch attitude and a preset angle of the base;
    若在所述云台开机时,所述基座的横滚姿态指示参数在所述第一预设范围内,则采用所述第一控制模式控制所述云台的姿态。If the roll attitude indication parameter of the base is within the first preset range when the pan/tilt head is turned on, the first control mode is used to control the attitude of the pan/tilt head.
  28. 根据权利要求15-27任一项所述的控制设备,其特征在于,所述基座为云台的手持杆。The control device according to any one of claims 15-27, wherein the base is a handheld pole of a pan-tilt.
  29. 一种手持云台,其特征在于,包括A handheld PTZ, characterized in that it comprises
    如权利要求15-28任一项所述的控制设备。The control device according to any one of claims 15-28.
  30. 根据权利要求29所述的手持云台,其特征在于,所述云台和所述拍摄装置收容在防水装置内。The handheld pan/tilt according to claim 29, wherein the pan/tilt and the camera are housed in a waterproof device.
  31. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器执行以实现如权利要求1-14任一项所述的方法。A computer-readable storage medium, characterized in that a computer program is stored thereon, and the computer program is executed by a processor to implement the method according to any one of claims 1-14.
PCT/CN2019/089263 2019-05-30 2019-05-30 Control method and device for gimbal, handheld gimbal and storage medium WO2020237570A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980012177.4A CN111699340B (en) 2019-05-30 2019-05-30 Control method and device of holder, handheld holder and storage medium
PCT/CN2019/089263 WO2020237570A1 (en) 2019-05-30 2019-05-30 Control method and device for gimbal, handheld gimbal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/089263 WO2020237570A1 (en) 2019-05-30 2019-05-30 Control method and device for gimbal, handheld gimbal and storage medium

Publications (1)

Publication Number Publication Date
WO2020237570A1 true WO2020237570A1 (en) 2020-12-03

Family

ID=72476458

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/089263 WO2020237570A1 (en) 2019-05-30 2019-05-30 Control method and device for gimbal, handheld gimbal and storage medium

Country Status (2)

Country Link
CN (1) CN111699340B (en)
WO (1) WO2020237570A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114687562B (en) * 2020-12-31 2023-11-17 三一汽车制造有限公司 Control method and device for working machine and working machine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049440A (en) * 2014-06-13 2014-09-17 桂林智云电子科技有限公司 Moving camera stabilizer and stability control method thereof
US20150285429A1 (en) * 2014-04-04 2015-10-08 Letus Corporation Electronic stabilizing system for a camera
CN106444859A (en) * 2016-11-10 2017-02-22 广州市景沃电子有限公司 Transverse-rolling-angular-motion-isolated single-axis stable holder and control method
US20180106422A1 (en) * 2015-05-27 2018-04-19 Gopro, Inc. Camera System Using Stabilizing Gimbal
CN108513637A (en) * 2017-04-21 2018-09-07 深圳市大疆创新科技有限公司 Holder and cloud platform control method
CN109668037A (en) * 2019-02-01 2019-04-23 桂林智神信息技术有限公司 A kind of folding hand-held stabilizer

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE202013009045U1 (en) * 2013-10-11 2013-12-05 Rolf Meincke Automatic longitudinal alignment of rotating tilt lasers by means of remote-controlled turning device integrated in the laser, in the tripod head, on a tripod head or another laser holder for longitudinal alignment of the lasers in one axis
US20180244365A1 (en) * 2017-02-24 2018-08-30 Vantage Robotics, Llc Modular uav with module identification
WO2019095139A1 (en) * 2017-11-15 2019-05-23 深圳市大疆创新科技有限公司 Data processing method and device
WO2019126958A1 (en) * 2017-12-25 2019-07-04 深圳市大疆创新科技有限公司 Yaw attitude control method, unmanned aerial vehicle, and computer readable storage medium
CN113086228A (en) * 2017-12-27 2021-07-09 深圳市大疆创新科技有限公司 Method for switching operating modes of holder, controller and image stability augmentation equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150285429A1 (en) * 2014-04-04 2015-10-08 Letus Corporation Electronic stabilizing system for a camera
CN104049440A (en) * 2014-06-13 2014-09-17 桂林智云电子科技有限公司 Moving camera stabilizer and stability control method thereof
US20180106422A1 (en) * 2015-05-27 2018-04-19 Gopro, Inc. Camera System Using Stabilizing Gimbal
CN106444859A (en) * 2016-11-10 2017-02-22 广州市景沃电子有限公司 Transverse-rolling-angular-motion-isolated single-axis stable holder and control method
CN108513637A (en) * 2017-04-21 2018-09-07 深圳市大疆创新科技有限公司 Holder and cloud platform control method
CN109668037A (en) * 2019-02-01 2019-04-23 桂林智神信息技术有限公司 A kind of folding hand-held stabilizer

Also Published As

Publication number Publication date
CN111699340A (en) 2020-09-22
CN111699340B (en) 2021-10-26

Similar Documents

Publication Publication Date Title
CN107466385B (en) Cloud deck control method and system
CN110719392B (en) Movable image pickup apparatus, image pickup control method, control apparatus, and storage medium
CN111279113B (en) Handheld holder control method and handheld holder
CN111213002B (en) Cloud deck control method, equipment, cloud deck, system and storage medium
WO2022032538A1 (en) Panorama photographing method, apparatus and system, and computer-readable storage medium
WO2019242553A1 (en) Method and device for controlling capturing angle of image capturing device, and wearable device
WO2019227384A1 (en) Pan-tilt control method and pan-tilt
WO2018035764A1 (en) Method for taking wide-angle pictures, device, cradle heads, unmanned aerial vehicle and robot
CN111406401B (en) Mode switching method and device of holder, movable platform and storage medium
CN113875222B (en) Shooting control method and device, unmanned aerial vehicle and computer readable storage medium
WO2021134644A1 (en) Gimbal control method and gimbal
WO2018191971A1 (en) Cradle head control method and cradle head
JP2018007051A (en) Photographing apparatus, movable photographing device, photographing mobile body, and mobile body photographing control device
CN110291777B (en) Image acquisition method, device and machine-readable storage medium
WO2020062281A1 (en) Cradle head control method, cradle head, movable platform and readable storage medium
WO2020237570A1 (en) Control method and device for gimbal, handheld gimbal and storage medium
WO2022000138A1 (en) Photographing control method and apparatus, and gimbal and photographing system
WO2021217371A1 (en) Control method and apparatus for movable platform
CN109451216B (en) Display processing method and device for shot photos
WO2022041013A1 (en) Control method, handheld gimbal, system, and computer readable storage medium
WO2021026760A1 (en) Cradle head system and control method therefor
WO2021243527A1 (en) Gimbal control method, handheld gimbal, and computer-readable storage medium
WO2021223126A1 (en) Image switching method and apparatus, terminal device, system and storage medium
CN112292846B (en) Shooting control method, shooting control equipment, imaging system and storage medium
CN112119255A (en) Handheld holder and control method thereof

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: 19930958

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: 19930958

Country of ref document: EP

Kind code of ref document: A1