WO2021026760A1 - Cradle head system and control method therefor - Google Patents

Cradle head system and control method therefor Download PDF

Info

Publication number
WO2021026760A1
WO2021026760A1 PCT/CN2019/100358 CN2019100358W WO2021026760A1 WO 2021026760 A1 WO2021026760 A1 WO 2021026760A1 CN 2019100358 W CN2019100358 W CN 2019100358W WO 2021026760 A1 WO2021026760 A1 WO 2021026760A1
Authority
WO
WIPO (PCT)
Prior art keywords
pan
mode
tilt
control signal
shooting mode
Prior art date
Application number
PCT/CN2019/100358
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 PCT/CN2019/100358 priority Critical patent/WO2021026760A1/en
Priority to CN201980031010.2A priority patent/CN112119362A/en
Publication of WO2021026760A1 publication Critical patent/WO2021026760A1/en

Links

Images

Classifications

    • 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
    • G05D3/20Control of position or direction using feedback using a digital comparing device

Definitions

  • the invention relates to the field of pan/tilt, in particular to a pan/tilt system and a control method thereof.
  • the invention provides a pan-tilt system and a control method thereof.
  • the present invention is implemented through the following technical solutions:
  • a control method of a pan/tilt system includes a base, a pan/tilt provided on the base, and a rocker for controlling the pan/tilt, so The pan-tilt is used to carry a camera; the method includes:
  • pan-tilt system has a mode switch
  • mapping strategies of different modes are different.
  • a pan-tilt system including:
  • the controller provided on the base is respectively communicatively connected with the pan-tilt and the rocker, and the controller is configured to:
  • pan-tilt system has a mode switch
  • mapping strategies of different modes are different.
  • the pan/tilt system of the present invention dynamically adjusts the mapping strategy between the control signal of the joystick and the joint angle of the pan/tilt after the mode switch occurs, so that the current mode of the pan/tilt system is Corresponding to the mapping strategy, so as to meet the needs of more shooting and bring users a better shooting experience.
  • Figure 1 is an application scenario diagram of a pan-tilt system in an embodiment of the present invention
  • Figure 2 is an application scenario diagram of a pan-tilt system in another embodiment of the present invention.
  • Figure 3A is a perspective view of a handheld pan/tilt in an embodiment of the invention.
  • Figure 3B is a perspective view of the handheld PTZ shown in Figure 3A when it is placed upright;
  • FIG. 3C is a perspective view of the handheld PTZ shown in FIG. 3A in a reverse shooting mode
  • FIG. 3D is a perspective view of the handheld gimbal shown in FIG. 3A in the flashlight mode
  • Figure 3E is a perspective view of the handheld pan/tilt shown in Figure 3A in flashlight mode
  • Fig. 3F is a perspective view of the handheld pan/tilt shown in Fig. 3A in a left shooting mode
  • FIG. 3G is a perspective view of the handheld gimbal shown in FIG. 3A in a right shooting mode
  • FIG. 4 is a method flow chart of a method for controlling a pan-tilt system in an embodiment of the present invention
  • FIG. 5 is a method flowchart of a method for controlling a pan-tilt system in another embodiment of the present invention.
  • Fig. 6 is a structural block diagram of a pan-tilt system in an embodiment of the present invention.
  • the pan/tilt system does not dynamically adjust the mapping relationship between the input of the joystick and the rotation direction of the pan/tilt after the mode switch occurs, which cannot meet more shooting requirements.
  • the joystick is a button that can be triggered in the four directions of "up”, “down”, “left”, and “right”, in the forward mode (the camera is located above the base and the camera is shooting) ,
  • the button “right” is triggered, the gimbal yaw joint angle is rotated clockwise by the corresponding amount of stick; the button “down” is triggered, the gimbal pitch joint angle is turned downward by the corresponding amount of stick.
  • the cloud is controlled according to the mapping relationship corresponding to the forward mode
  • the rotation of the gimbal that is, the "right” of the button is triggered, and the gimbal yaw joint angle is rotated clockwise by the corresponding amount of stick; the "down" of the button is triggered, the gimbal pitch joint angle is rotated downward by the corresponding amount of the stick.
  • the PTZ attitude changes in the forward mode and the reverse mode It is different, resulting in different ways of changing the shooting picture, which cannot meet the shooting needs.
  • the pan/tilt system of the present invention dynamically adjusts the mapping strategy between the control signal of the joystick and the joint angle of the pan/tilt after the mode switch occurs, so that the current mode of the pan/tilt system corresponds to the mapping strategy, thereby satisfying More shooting needs will bring users a better shooting experience.
  • the pan/tilt system of this embodiment may include a base 1, a pan/tilt 2 arranged on the base 1, and a rocker 3 for controlling the pan/tilt 2, wherein the pan/tilt 2 is used for carrying
  • the photographing device 100 may be a photographing device 100 with photographing functions such as a camera or a mobile phone.
  • the base 1 can be controlled automatically or manually to make the posture of the base 1 change.
  • the pan/tilt 2 system is an airborne pan/tilt.
  • the pan/tilt system is mounted on a movable platform. Specifically, the pan/tilt system is connected to the main body of the platform through the base 1.
  • the joystick 3 is provided on a remote control device of a movable platform, and the remote control device is used to control the movable platform.
  • the movable platform may be an unmanned aerial vehicle such as a UAV or other movable platforms.
  • the pan/tilt system is a handheld pan/tilt. See FIG. 2.
  • the base 1 is a handle of the handheld pan/tilt.
  • the rocker 3 is provided on the front of the handle; understandably, the rocker 3 can also be provided on other positions of the handle.
  • the PTZ 2 can be a two-axis PTZ or a three-axis PTZ.
  • the pan/tilt 2 is a three-axis pan/tilt.
  • the pan/tilt 2 may include an outer frame 21, a middle frame 22, and an inner frame.
  • the outer frame 21 is configured to rotate around a first preset direction
  • the middle frame 22 is configured to rotate around a second preset direction
  • the inner frame is configured to rotate around a third preset direction
  • the inner frame is used for carrying photography ⁇ 100 ⁇ Device 100.
  • the middle frame 22 and the inner frame are driven to rotate around the first preset direction, thereby driving the photographing device 100 to rotate around the first preset direction.
  • the middle frame 22 rotates around the second preset direction
  • the inner frame is driven to rotate in the second preset direction, thereby driving the camera 100 to rotate around the second preset direction.
  • the inner frame rotates around the third preset direction, which drives the camera 100 to rotate around the third preset direction.
  • the pan/tilt 2 is a two-axis pan/tilt, and the pan/tilt 2 may include an outer frame 21 and an inner frame.
  • the outer frame 21 is configured to rotate around a first preset direction
  • the inner frame is configured to rotate around a second preset direction or a third preset direction.
  • the outer frame 21 rotates around the first preset direction
  • the inner frame is driven to rotate around the first preset direction, thereby driving the photographing device 100 to rotate around the first preset direction.
  • the inner frame rotates around the second preset direction or the third preset direction, driving the camera 100 to rotate around the second preset direction or the third preset direction.
  • the first preset direction, the second preset direction, and the third preset direction are determined according to the configuration of the pan-tilt 2.
  • the PTZ 2 is a three-axis PTZ
  • the outer frame 21 is configured to rotate around the yaw axis
  • the middle frame 22 is configured to rotate around the roll axis
  • the inner frame is configured to rotate around the roll axis.
  • the tilt axis rotates.
  • the outer frame 21 includes a yaw axis arm and is driven by a yaw axis motor
  • the middle frame 22 includes a roll axis arm and is driven by a roll axis motor
  • the inner frame includes a pitch axis arm and is driven by a pitch axis. motor driven.
  • the rocker 3 may be a button, a knob, or a combination of a button and a knob. Understandably, the rocker 3 is not limited to a button or a knob, but may also be of other types.
  • the photographing mode of the pan/tilt system varies with the positional relationship between the base 1 and the photographing device 100.
  • the photographing mode of the pan/tilt system in this embodiment may include one or a combination of at least two of the following: forward mode, reverse Shooting mode, down flashlight mode, top flashlight mode, left shooting mode, right shooting mode, anyway shooting mode, reverse shooting mode, reverse flashlight mode, reverse flashlight mode.
  • pan-tilt system as a handheld pan-tilt as an example; it is understandable that the following embodiments are also applicable to an airborne pan-tilt.
  • the rocker 3 is arranged on the front of the handheld pan/tilt.
  • the handheld PTZ also includes a screen 4 arranged on the front of the handle.
  • the camera 100 is located above the handle, the screen 4 faces the user, and the camera 100 is shooting (the lens is facing away from the user and the shooting frame is in an upright state).
  • X, Y, and Z respectively correspond to the X axis, Y axis, and Z axis directions in the world coordinate system.
  • the body coordinate system of the handheld gimbal is x1y1z1, where the x1 axis direction points to the front of the handle 1, the y1 axis direction points to the left side of the handle 1, and the z1 axis direction points to the handle 1 above.
  • the photographing device 100 when the pan/tilt system is in the forward shooting mode (as shown in FIG. 3B), the photographing device 100 is located above the handle, and the photographing device 100 is photographing; when the pan/tilt system is in the photographing mode (not shown) anyway, the photographing device 100 is located Below the handle, the camera 100 is shooting.
  • the camera 100 When the pan-tilt system is in the reverse shooting mode (as shown in Figure 3C), the camera 100 is located under the handle, and the camera 100 is in reverse shooting; when the pan-tilt system is in the reverse shooting mode (not shown), the camera 100 is located on the handle Above, the camera 100 is shooting backwards.
  • the camera 100 When the camera 100 is in the flashlight mode (as shown in Figure 3D), the camera 100 is located in front of the handle, and the camera 100 is shooting; when the camera 100 is in the flashlight mode (not shown), the camera 100 is on the handle At the rear of the camera, the camera 100 is shooting.
  • the camera 100 When the camera 100 is in the flashlight mode (as shown in FIG. 3E), the camera 100 is located behind the handle, and the camera 100 is in reverse shooting; when the camera 100 is in the flashlight mode (not shown), the camera 100 is on the handle In front of the camera, the camera 100 is shooting backwards.
  • the photography device 100 When the pan/tilt system is in the left photography mode (as shown in FIG. 3F), the photography device 100 is located on the left side of the handle; when the pan/tilt system is in the right photography mode (as shown in FIG. 3G), the photography device 100 is located on the right side of the handle.
  • the shooting screen displays an upright image
  • the shooting screen displays an upside-down image
  • the lower flashlight mode can be obtained by flipping forward 90 degrees in the forward mode or the reverse mode; the upper flashlight mode can be obtained by flipping backward, such as 90 degrees, by the forward mode or the reverse mode.
  • the left shooting mode can be flipped 90 degrees to the left from the forward mode or the reverse mode; the right shooting mode can be flipped 90 degrees to the right from the forward mode or the reverse mode.
  • the forward shooting mode and the reverse shooting mode can meet the needs of normal camera shooting.
  • the difference between the two is that the shooting screen of the forward shooting mode shows the upright image, and the shooting screen of the reverse shooting mode shows the upside down image.
  • the reverse shooting mode and the forward shooting mode can meet the needs of low camera shooting.
  • the difference between the two is that the shooting screen of the reverse shooting mode shows an upside-down image, and the shooting screen of the forward shooting mode shows an upright image anyway.
  • Down flashlight mode, top flashlight mode, reverse flashlight mode, reverse flashlight mode, left shooting mode, and right shooting mode can meet the needs of horizontal camera shooting.
  • the camera in the down flashlight mode or the reverse flashlight mode, the camera is located on the handle In the upper flashlight mode or reverse flashlight mode, the camera is located behind the handle, so that more attention is paid to the scene behind the handle; in the left shooting mode, the camera is located The left side of the handle allows more attention to the scene on the left side of the handle; in the right shooting mode, the camera is located on the right side of the handle, so that more attention is paid to the scene on the right side of the handle.
  • FIG. 4 is a method flow chart of a method for controlling a pan/tilt system in an embodiment of the present invention. referring to FIG. 4, the method for controlling a pan/tilt system in this embodiment may include the following steps:
  • the pan/tilt system can switch from forward shooting mode to lower flashlight mode, upper flashlight mode, left shooting mode or right shooting mode, and it can also switch from reverse shooting mode to lower flashlight mode, upper flashlight mode, left shooting mode, right shooting Mode or reverse mode, or switch from lower flashlight mode to forward mode, reverse mode, left mode or right mode, or switch from upper flashlight mode to forward mode, reverse mode, left mode or right mode Mode, or switch the left shooting mode to forward shooting mode, reverse shooting mode, down flashlight mode, upper flashlight mode, right shooting mode, anyway shooting mode, reverse shooting mode, reverse down flashlight mode or upside flashlight mode, or shooting from the right Switch the mode to forward shooting mode, reverse shooting mode, down flashlight mode, upper flashlight mode or left shooting mode, or switch from shooting mode anyway to left shooting mode, reverse flashlight mode or reverse flashlight mode, or switch from reverse shooting mode To left shooting mode, reverse flashlight mode or reverse flashlight mode, or switch from reverse flashlight mode to left shooting mode, anyway shooting mode or reverse shooting mode, or switch from reverse flashlight mode to left shooting mode, anyway shooting mode Or reverse shooting mode.
  • S401 detects that the pan/tilt system has a mode switch, it may include one of the following situations:
  • pan/tilt system has switched from the forward shooting mode to the down flashlight mode, the upper flashlight mode, the left shooting mode or the right shooting mode;
  • pan/tilt system has switched from reverse shooting mode to down flashlight mode, upper flashlight mode, left shooting mode, right shooting mode or reverse shooting mode;
  • pan/tilt system has switched from flashlight mode to forward mode, reverse mode, left mode or right mode;
  • pan/tilt system has switched from flashlight mode to forward mode, reverse mode, left mode or right mode;
  • pan/tilt system has switched from left shooting mode to forward shooting mode, reverse shooting mode, down flashlight mode, upper flashlight mode, right shooting mode, anyway shooting mode, reverse shooting mode, reverse down flashlight mode or reverse up Flashlight mode;
  • pan/tilt system has switched from right shooting mode to forward shooting mode, reverse shooting mode, down flashlight mode, upper flashlight mode or left shooting mode;
  • pan/tilt system has switched from shooting mode to left shooting mode, reverse flashlight mode or reverse flashlight mode;
  • pan/tilt system has switched from reverse shooting mode to left shooting mode, reverse flashlight mode or reverse flashlight mode;
  • the current mode may include one of the following: forward shooting mode, reverse shooting mode, down flashlight mode, upper flashlight mode, left shooting mode, right shooting mode, anyway shooting mode, reverse shooting mode, reverse down flashlight Mode, reverse flashlight mode.
  • the pan-tilt system when acquiring the current mode of the pan-tilt system, first, acquire the first attitude information of the camera 100 and the second attitude information of the handle; then, determine the current state of the pan-tilt system according to the first attitude information and the second attitude information. mode.
  • the handheld pan/tilt in this embodiment also includes an accelerometer, which is used to detect the first posture information qmesa of the photographing device 100.
  • the second posture information of the handle is determined according to the first posture information of the camera 100 and the joint angle of the pan/tilt.
  • the outer frame 21 is configured to deviate
  • the navigation axis rotates
  • the middle frame 22 is configured to rotate around the roll axis
  • the inner frame is configured to rotate around the pitch axis.
  • the gimbal joint angle includes yaw joint angle joint_yaw, roll joint angle joint_roll, and pitch joint angle joint_pitch.
  • Each joint angle is the joint angle of the corresponding axis motor.
  • q_yaw, q_roll and q_pitch are obtained.
  • the conjugate or inverse of q_yaw, q_roll and q_pitch are q_yaw_inv, q_roll_inv and q_pitch_inv respectively.
  • the calculation formula of the second posture information qhandle of the handle is as follows:
  • joint represents the joint angle
  • q represents the quaternion
  • the pan/tilt system when the camera 100 is above the handle, the pan/tilt system is in the forward mode or reverse mode; when the camera 100 is below the handle, the pan/tilt system is in the reverse mode or anyway. ; When the camera 100 is located in front of the handle, the pan/tilt system is in the down flashlight mode or the reverse flashlight mode; when the camera 100 is located behind the handle, the pan/tilt system is in the upper flashlight mode or the reverse flashlight mode; when When the camera 100 is on the left side of the handle, the pan/tilt system is in the left shooting mode; when the camera 100 is on the right side of the handle, the pan/tilt system is in the right shooting mode.
  • the current mode of the pan/tilt system can be further determined according to the first posture information.
  • the first posture information is used to indicate that the camera 100 is shooting, and the pan/tilt system is in the forward mode; the first posture information is used to indicate that the camera 100 is shooting backwards, and the pan/tilt system It is in reverse shooting mode.
  • the first posture information is used to indicate that the camera 100 is shooting, and the pan/tilt system is in anyway mode; the first posture information is used to instruct the camera 100 to take a reverse shot, and the pan/tilt system is in Reverse mode.
  • the first posture information is used to indicate that the camera 100 is shooting, and the pan/tilt system is in the flashlight mode; the first posture information is used to instruct the camera 100 to take a reverse shot, and the pan/tilt system is in the flashlight mode. Invert the flashlight mode.
  • the first posture information is used to indicate that the camera 100 is shooting, and the pan-tilt system is in the reverse flashlight mode; the first posture information is used to instruct the camera 100 to take a reverse shot, and the pan-tilt system is In flashlight mode.
  • the control signal includes at least one of the following: a first control signal input by the joystick 3 on the first plane, and a second control signal input by the joystick 3 on the second plane.
  • the first plane is orthogonal to the second plane
  • the extension direction of the handle is parallel to the second plane, as shown in Figure 3A, Figure 3B, and Figure 3C
  • the extension direction of the handle is the vertical direction; as shown in Figure 3D, Figure 3E
  • the extension direction of the handle is the front and rear direction; as shown in Figure 3F and Figure 3G, the extension direction of the handle is the left and right direction.
  • the joystick 3 is a planar control mode.
  • the joystick 3 is a button.
  • buttons include trigger buttons in the "up”, “down”, “left”, and “right” directions.
  • the trigger button in the "up” or “down” directions can be triggered, and one of the trigger buttons in the "left” and “right” directions can be triggered.
  • the trigger button in the "up” or “down” direction is triggered to generate the second control signal;
  • the trigger button in the "left” or “right” direction is triggered to generate the first control signal
  • the control signal includes at least one of the following: a first control signal in which the amount of the joystick 3 is mapped to the first plane, and a second control signal in which the amount of the joystick 3 is mapped to the second plane.
  • the first plane is orthogonal to the second plane
  • the extension direction of the handle is parallel to the second plane, as shown in Figure 3A, Figure 3B, and Figure 3C
  • the extension direction of the handle is the vertical direction; as shown in Figure 3D, Figure 3E
  • the extension direction of the handle is the front and rear direction; as shown in Figure 3F and Figure 3G, the extension direction of the handle is the left and right direction.
  • the rocker 3 may be a three-dimensional, such as a spherical motion control method.
  • the rocker 3 is a knob, and the user operates the knob, and the amount of stick generated by the knob can be mapped to different planes.
  • the first plane when the pan/tilt system is in the forward mode, reverse mode, anyway mode or reverse mode, the first plane is a horizontal plane, and the second plane is a vertical plane.
  • the first plane when the pan/tilt system is in the lower flashlight mode, upper flashlight mode, left shooting mode, right shooting mode, reverse lower flashlight mode or reverse upper flashlight mode, the first plane is a vertical plane and the second plane is a horizontal plane.
  • the first control signal in this embodiment is used to control one of the pitch axis and the yaw axis
  • the second control signal is used to control the other of the pitch axis and the yaw axis, which needs to be determined according to the current mode.
  • the control signal may be the first control signal or the second control signal, and may also include the first control signal or the second control signal.
  • each axis of the handheld gimbal When the multi-axis handheld gimbal is in follow mode, you can set each axis of the handheld gimbal to free mode or follow mode. Among them, in the free mode, the handle of the handheld gimbal moves, and the corresponding axis does not rotate, and the corresponding axis can be used for stabilization; in the follow mode, the corresponding axis moves with the movement of the handheld gimbal.
  • the normal mode is set to follow mode for pitch axis and yaw axis, and free mode for roll axis.
  • the pitch axis and the yaw axis are in the follow mode
  • the roll axis is in the free mode
  • the control signal includes the first control signal or the second control signal.
  • Fig. 5 is an implementation manner of controlling the rotation of the PTZ 2 according to the mapping strategy between the control signal of the joystick 3 corresponding to the current mode and the joint angle of the PTZ. Specifically, when controlling the rotation of the PTZ 2 according to the mapping strategy between the control signal of the joystick 3 corresponding to the current mode and the joint angle of the PTZ, the following steps may be included:
  • S501 Determine the rotation direction of the joint angle of the corresponding axis of the pan-tilt 2 according to the direction of the first control signal and/or the direction of the second control signal;
  • the control signal includes a first control signal.
  • the rotation direction of the joint angle of the corresponding axis of the pan/tilt 2 is determined according to the direction of the first control signal; in some embodiments, the control signal includes The second control signal, in S501, determines the rotation direction of the joint angle of the corresponding axis of the pan/tilt head 2 according to the direction of the second control signal; in some embodiments, the control signal includes the first control signal and the second control signal, In S501, the rotation direction of the joint angle of the corresponding axis of the pan/tilt head 2 is determined according to the direction of the first control signal and the direction of the second control signal.
  • the first direction (the horizontal to the right in FIG. 3B) is set as the positive direction of the first control signal
  • the opposite direction of the first direction (the horizontal to the left in FIG. 3B) is the first control signal
  • the second direction (the horizontal and vertical downward direction in Figure 3B) is the positive direction of the second control signal
  • the opposite direction of the second direction (the horizontal and vertical upward direction in Figure 3B) is the second control signal In the negative direction.
  • the first control signal controls the yaw joint angle of PTZ 2 (corresponding to controlling the yaw attitude of PTZ 2)
  • the second control The signal controls the pitch joint angle of the PTZ 2 (corresponding to control the pitch attitude of the PTZ 2).
  • the first control signal controls the roll joint angle of PTZ 2 (corresponding to control the yaw attitude of PTZ 2)
  • the second control The signal controls the pitch joint angle of the PTZ 2 (corresponding to control the pitch attitude of the PTZ 2).
  • the current mode is left shooting mode or right shooting mode.
  • the first control signal controls the yaw joint angle of gimbal 2 (corresponding to the pitch attitude of gimbal 2), and the second control signal controls the pitch joint angle of gimbal 2 (corresponding to the gimbal 2 yaw attitude).
  • the rotation direction of the joint angle of the corresponding axis of the pan-tilt 2 when determining the rotation direction of the joint angle of the corresponding axis of the pan-tilt 2 according to the direction of the first control signal, optionally, when the photographing device 100 and the handle are in a vertical or horizontal position relationship, according to the first
  • the direction of a control signal determines the direction of rotation of the yaw joint angle of the gimbal 2; optionally, when the camera 100 and the handle are in a front-to-rear position relationship, the roll of the gimbal 2 is determined according to the direction of the first control signal
  • the direction of rotation of the joint angle when determining the rotation direction of the joint angle of the corresponding axis of the pan-tilt 2 according to the direction of the first control signal, optionally, when the photographing device 100 and the handle are in a vertical or horizontal position relationship, according to the first
  • the direction of a control signal determines the direction of rotation of the yaw joint angle of the
  • the yaw of the pan/tilt 2 is determined according to the direction of the first control signal
  • the rotation direction of the joint angle is divided into the following situations:
  • the current mode is forward shooting mode or reverse shooting mode.
  • the direction of the first control signal is the first direction
  • the yaw joint angle When the direction of the first control signal is the opposite direction of the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt 2 is the opposite direction of the first rotation direction, and the yaw joint angle becomes larger accordingly.
  • the current mode is reverse shooting mode or anyway shooting mode.
  • the direction of the first control signal is the first direction
  • the yaw joint angle becomes smaller accordingly; when the direction of the first control signal is the opposite direction of the first direction, the rotation direction of the yaw joint angle of the gimbal 2 is determined to be the first rotation direction, and the yaw joint angle becomes larger accordingly.
  • the current mode is the left shooting mode or the left shooting mode
  • the rotation direction of the yaw joint angle of the pan/tilt 2 according to the direction of the first control signal
  • the current mode is the left shooting mode.
  • the rotation direction of the yaw joint angle of the gimbal 2 is determined to be the opposite direction of the second rotation direction, and the roll joint angle is corresponding
  • the rotation direction of the yaw joint angle of the pan/tilt 2 is determined to be the second rotation direction, and the roll joint angle becomes smaller accordingly.
  • the current mode is the right shooting mode.
  • the rotation direction of the yaw joint angle of the gimbal 2 is determined to be the second rotation direction, and the yaw joint angle becomes smaller accordingly;
  • the direction of the first control signal is the opposite direction of the first direction, it is determined that the rotation direction of the yaw joint angle of the gimbal 2 is the opposite direction of the second rotation direction, and the yaw joint angle becomes larger accordingly.
  • the pan/tilt 2 is determined according to the direction of the first control signal
  • the rotation direction of the yaw joint angle of the yaw joint angle specifically, when the direction of the first control signal is the first direction, it is determined that the rotation direction of the roll joint angle of the pan/tilt 2 is the first rotation direction; when the first control signal is When the direction is the opposite direction of the first direction, it is determined that the rotation direction of the roll joint angle of the pan/tilt head 2 is the opposite direction of the first rotation direction.
  • the roll joint angle becomes larger accordingly; if the rotation direction of the roll joint angle is the first rotation direction In the opposite direction, the roll joint angle becomes smaller accordingly.
  • the current mode is flashlight mode or reverse flashlight, if the rotation direction of the roll joint angle is the first rotation direction, the roll joint angle will decrease accordingly; if the rotation direction of the roll joint angle is the opposite direction of the first rotation direction , The roll joint angle becomes larger accordingly.
  • the current mode is forward shooting mode or reverse shooting mode.
  • the rotation direction of the pitch joint angle of the gimbal 2 is determined to be the second rotation direction, and the pitch joint angle changes accordingly Large;
  • the direction of the second control signal is the opposite direction of the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt 2 is the opposite direction of the second rotation direction, and the pitch joint angle becomes smaller accordingly.
  • the current mode is reverse shooting mode or anyway shooting mode.
  • the rotation direction of the pitch joint angle of the gimbal 2 is determined to be the opposite direction of the second rotation direction, the pitch joint The angle becomes larger accordingly;
  • the rotation direction of the pitch joint angle of the pan/tilt 2 is determined to be the second rotation direction, and the pitch joint angle becomes smaller accordingly.
  • the current mode is the left shooting mode.
  • the rotation direction of the pitch joint angle of the gimbal 2 is determined to be the first rotation direction, and the pitch joint angle becomes larger accordingly;
  • the direction of the second control signal is the opposite direction of the second direction, it is determined that the rotation direction of the pitch joint angle of the gimbal 2 is the opposite direction of the first rotation direction, and the pitch joint angle becomes smaller accordingly.
  • the current mode is the right shooting mode.
  • the direction of the second control signal is the second direction
  • it is determined that the rotation direction of the pitch joint angle of the gimbal 2 is the opposite direction of the first rotation direction, and the pitch joint angle becomes larger accordingly
  • the direction of the second control signal is the opposite direction of the second direction
  • it is determined that the rotation direction of the pitch joint angle of the pan/tilt 2 is the first rotation direction, and the pitch joint angle becomes smaller accordingly.
  • the pan/tilt is determined according to the direction of the second control signal Specifically, when the direction of the second control signal is the second direction, the rotation direction of the pitch joint angle of the gimbal 2 is determined to be the second rotation direction, and the pitch joint angle becomes larger accordingly; When the direction of the two control signals is the opposite direction of the second direction, it is determined that the rotation direction of the pitch joint angle of the gimbal 2 is the opposite direction of the second rotation direction, and the pitch joint angle becomes smaller accordingly.
  • the first rotation direction is a clockwise direction; understandably, the first rotation direction may also be a counterclockwise direction.
  • the second rotation direction is a downward direction; understandably, the second rotation direction may also be an upward direction.
  • the first rotation direction is a clockwise direction, and the second rotation direction is a downward direction.
  • Table 1 The mapping strategy corresponding to each shooting mode is shown in Table 1.
  • the magnitude of the joint angle rotation is positively correlated with the magnitude of the first control signal and the second control signal.
  • the corresponding shooting modes (such as forward shooting mode, reverse shooting mode, anyway shooting mode and reverse shooting mode, down flashlight mode, upper flashlight mode, reverse flashlight mode and reverse
  • the PTZ posture changes corresponding to the flashlight mode, left shooting mode and right shooting mode) are the same, so that the shooting pictures change in the same manner in the corresponding shooting modes to meet the shooting needs.
  • the embodiment of the present invention also provides a pan-tilt system.
  • the pan-tilt system of this embodiment includes a base 1 and a pan/tilt 2.
  • the pan/tilt 2 in this embodiment can be a two-axis pan/tilt or The three-axis pan/tilt can also be other multi-axis pan/tilt.
  • the joystick 3 is used to control the PTZ 2.
  • the PTZ system is an on-board PTZ
  • the joystick 3 is set on the remote control device of the movable platform equipped with the PTZ system; optionally, the PTZ system is handheld
  • the PTZ system is handheld
  • the rocker 3 is set on the handle of the handheld gimbal.
  • the controller 5 is provided in the base 1.
  • the controller 5 is provided in the base 1, and the controller 5 is in communication connection with the pan/tilt 2 and the rocker 3 respectively.
  • the controller 5 is configured to: detect the mode switching of the pan/tilt system; obtain the current mode of the pan/tilt system; and map the control signal between the joystick 3 corresponding to the current mode and the joint angle of the pan/tilt. , Control the rotation of PTZ 2; among them, the mapping strategy of different modes is different.
  • the controller 5 in this embodiment may be a central processing unit (CPU).
  • the controller 5 may further include a hardware chip.
  • the aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
  • CPLD complex programmable logic device
  • FPGA field-programmable gate array
  • GAL generic array logic
  • an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the control method of the pan-tilt system of the above-mentioned embodiment are realized.
  • the computer-readable storage medium may be the internal storage unit of the pan-tilt system described in any of the foregoing embodiments, such as a hard disk or a memory.
  • the computer-readable storage medium may also be an external storage device of the pan-tilt system, for example, a plug-in hard disk, a smart media card (SMC), an SD card, and a flash card (Flash Card) equipped on the device. Wait.
  • the computer-readable storage medium may also include both an internal storage unit of the pan-tilt system and an external storage device.
  • the computer-readable storage medium is used to store the computer program and other programs and data required by the pan-tilt system, and can also be used to temporarily store data that has been output or will be output.
  • the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments.
  • the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.

Abstract

A cradle head system and a control method therefor, the cradle head system comprising a base (1), a cradle head (2) disposed on the base (1), and a joystick (3) for controlling the cradle head (2); and the cradle head (2) is used to mount an image capture device (100). The control method comprises: detecting that the cradle head system generates mode switching; acquiring a current mode of the cradle head system; and according to a control signal of the joystick (3) corresponding to the current mode and a mapping strategy between cradle head joint angles, controlling the cradle head (2) to rotate, wherein the mapping strategy is different for different modes.

Description

云台系统及其控制方法PTZ system and its control method 技术领域Technical field
本发明涉及云台领域,尤其涉及一种云台系统及其控制方法。The invention relates to the field of pan/tilt, in particular to a pan/tilt system and a control method thereof.
背景技术Background technique
在使用手持云台或机载云台等云台系统进行拍摄时,有些画面需要云台系统切换至不同的模式,如正拍模式、倒拍模式、手电筒模式等,从而满足不同的拍摄需求。然而,现有云台系统在进行模式切换后,不会动态地调整摇杆的输入与云台转动方向之间的映射关系,无法满足更多的拍摄需求。When shooting with a handheld gimbal or airborne gimbal system, some pictures require the gimbal system to switch to different modes, such as forward mode, reverse mode, flashlight mode, etc., to meet different shooting needs. However, the existing pan/tilt system does not dynamically adjust the mapping relationship between the input of the joystick and the rotation direction of the pan/tilt after the mode is switched, which cannot meet more shooting requirements.
发明内容Summary of the invention
本发明提供一种云台系统及其控制方法。The invention provides a pan-tilt system and a control method thereof.
具体地,本发明是通过如下技术方案实现的:Specifically, the present invention is implemented through the following technical solutions:
根据本发明的第一方面,提供一种云台系统的控制方法,所述云台系统包括基座、设置于所述基座上的云台和用于控制所述云台的摇杆,所述云台用于搭载拍摄装置;所述方法包括:According to a first aspect of the present invention, there is provided a control method of a pan/tilt system, the pan/tilt system includes a base, a pan/tilt provided on the base, and a rocker for controlling the pan/tilt, so The pan-tilt is used to carry a camera; the method includes:
检测到所述云台系统产生模式切换;It is detected that the pan-tilt system has a mode switch;
获取所述云台系统的当前模式;Acquiring the current mode of the pan-tilt system;
根据所述当前模式对应的所述摇杆的控制信号与云台关节角之间的映射策略,控制所述云台转动;Controlling the rotation of the pan/tilt head according to the mapping strategy between the control signal of the joystick and the joint angle of the pan/tilt head corresponding to the current mode;
其中,不同模式的所述映射策略不相同。Wherein, the mapping strategies of different modes are different.
根据本发明的第二方面,提供一种云台系统,所述云台系统包括:According to a second aspect of the present invention, there is provided a pan-tilt system, the pan-tilt system including:
基座;Base
设置于所述基座上的云台,所述云台用于搭载拍摄装置;A pan/tilt mounted on the base, where the pan/tilt is used to carry a camera;
用于控制所述云台的摇杆;和A joystick for controlling the pan/tilt; and
设于基座的控制器,与所述云台和所述摇杆分别通信连接,所述控制器被配置为用于:The controller provided on the base is respectively communicatively connected with the pan-tilt and the rocker, and the controller is configured to:
检测到所述云台系统产生模式切换;It is detected that the pan-tilt system has a mode switch;
获取所述云台系统的当前模式;Acquiring the current mode of the pan-tilt system;
根据所述当前模式对应的所述摇杆的控制信号与云台关节角之间的映射策略,控 制所述云台转动;Controlling the rotation of the pan/tilt head according to the mapping strategy between the control signal of the joystick and the joint angle of the pan/tilt head corresponding to the current mode;
其中,不同模式的所述映射策略不相同。Wherein, the mapping strategies of different modes are different.
由以上本发明实施例提供的技术方案可见,本发明的云台系统在产生模式切换后,动态地调整摇杆的控制信号与云台关节角之间的映射策略,使得云台系统的当前模式与映射策略相对应,从而满足在更多地拍摄需求,给用户带来更好地拍摄体验。As can be seen from the technical solutions provided by the above embodiments of the present invention, the pan/tilt system of the present invention dynamically adjusts the mapping strategy between the control signal of the joystick and the joint angle of the pan/tilt after the mode switch occurs, so that the current mode of the pan/tilt system is Corresponding to the mapping strategy, so as to meet the needs of more shooting and bring users a better shooting experience.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only 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是本发明一实施例中的云台系统的应用场景图;Figure 1 is an application scenario diagram of a pan-tilt system in an embodiment of the present invention;
图2是本发明另一实施例中的云台系统的应用场景图;Figure 2 is an application scenario diagram of a pan-tilt system in another embodiment of the present invention;
图3A是本发明一实施例中的手持云台的立体图;Figure 3A is a perspective view of a handheld pan/tilt in an embodiment of the invention;
图3B是图3A所示的手持云台正立放置时的立体图;Figure 3B is a perspective view of the handheld PTZ shown in Figure 3A when it is placed upright;
图3C是图3A所示的手持云台处于倒拍模式的立体图;FIG. 3C is a perspective view of the handheld PTZ shown in FIG. 3A in a reverse shooting mode;
图3D是图3A所示的手持云台处于下手电筒模式的立体图;FIG. 3D is a perspective view of the handheld gimbal shown in FIG. 3A in the flashlight mode;
图3E是图3A所示的手持云台处于上手电筒模式的立体图;Figure 3E is a perspective view of the handheld pan/tilt shown in Figure 3A in flashlight mode;
图3F是图3A所示的手持云台处于左拍摄模式的立体图;Fig. 3F is a perspective view of the handheld pan/tilt shown in Fig. 3A in a left shooting mode;
图3G是图3A所示的手持云台处于右拍摄拍模式的立体图;FIG. 3G is a perspective view of the handheld gimbal shown in FIG. 3A in a right shooting mode;
图4是本发明一实施例中的云台系统的控制方法的方法流程图;4 is a method flow chart of a method for controlling a pan-tilt system in an embodiment of the present invention;
图5是本发明另一实施例中的云台系统的控制方法的方法流程图;5 is a method flowchart of a method for controlling a pan-tilt system in another embodiment of the present invention;
图6是本发明一实施例中的云台系统的结构框图。Fig. 6 is a structural block diagram of a pan-tilt system in an embodiment of the present invention.
附图标记:1:基座;2:云台;21:外框架;22:中框架;3:摇杆;4:屏幕;5:控制器;100:拍摄装置。Reference signs: 1: base; 2: pan/tilt; 21: outer frame; 22: middle frame; 3: rocker; 4: screen; 5: controller; 100: camera.
具体实施方式detailed description
相关技术中,云台系统在产生模式切换后,不会动态地调整摇杆的输入与云台转动方向之间的映射关系,无法满足更多的拍摄需求。例如,摇杆为能够朝着“上”、“下”、“左”、“右”四个方向触发的按键,在正拍模式(拍摄装置位于基座的上方,且拍摄装置正拍)下,按键的“右”被触发,云台偏航关节角顺时针转动对应的杆量;按键的“下”被触发,云台俯仰关节角朝下转动对应的杆量。在将云台系统由 正拍模式切换至倒拍模式后,在倒拍模式(拍摄装置位于基座的下方,且拍摄装置倒拍)下,若还按照正拍模式对应的映射关系来控制云台的转动,即按键的“右”被触发,云台偏航关节角顺时针转动对应的杆量;按键的“下”被触发,云台俯仰关节角朝下转动对应的杆量。在正拍模式和倒拍模式下,采用相同的策略触发按键(例如均触发按键的“右”,且触发产生相同大小的杆量)时,正拍模式和倒拍模式下的云台姿态变化是不同的,导致拍摄画面变化方式不同,无法满足拍摄需求。In the related art, the pan/tilt system does not dynamically adjust the mapping relationship between the input of the joystick and the rotation direction of the pan/tilt after the mode switch occurs, which cannot meet more shooting requirements. For example, the joystick is a button that can be triggered in the four directions of "up", "down", "left", and "right", in the forward mode (the camera is located above the base and the camera is shooting) , The button "right" is triggered, the gimbal yaw joint angle is rotated clockwise by the corresponding amount of stick; the button "down" is triggered, the gimbal pitch joint angle is turned downward by the corresponding amount of stick. After switching the gimbal system from the forward mode to the reverse mode, in the reverse mode (the camera is located under the base and the camera is in reverse), if the cloud is controlled according to the mapping relationship corresponding to the forward mode The rotation of the gimbal, that is, the "right" of the button is triggered, and the gimbal yaw joint angle is rotated clockwise by the corresponding amount of stick; the "down" of the button is triggered, the gimbal pitch joint angle is rotated downward by the corresponding amount of the stick. In the forward mode and the reverse mode, when the buttons are triggered by the same strategy (for example, the "right" of the button is triggered, and the trigger produces the same amount of stick), the PTZ attitude changes in the forward mode and the reverse mode It is different, resulting in different ways of changing the shooting picture, which cannot meet the shooting needs.
对于此,本发明的云台系统在产生模式切换后,动态地调整摇杆的控制信号与云台关节角之间的映射策略,使得云台系统的当前模式与映射策略相对应,从而满足在更多地拍摄需求,给用户带来更好地拍摄体验。In this regard, the pan/tilt system of the present invention dynamically adjusts the mapping strategy between the control signal of the joystick and the joint angle of the pan/tilt after the mode switch occurs, so that the current mode of the pan/tilt system corresponds to the mapping strategy, thereby satisfying More shooting needs will bring users a better shooting experience.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely 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 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, in the case of no conflict, the following embodiments and features in the implementation can be combined with each other.
结合图1和图2,本实施例的云台系统可以包括基座1、设置于基座1上的云台2和用于控制云台2的摇杆3,其中,云台2用于搭载拍摄装置100,该拍摄装置100可以为相机、手机等具备拍摄功能的拍摄装置100。可采用自动或手动方式控制基座1,使得基座1的姿态产生变化。1 and 2, the pan/tilt system of this embodiment may include a base 1, a pan/tilt 2 arranged on the base 1, and a rocker 3 for controlling the pan/tilt 2, wherein the pan/tilt 2 is used for carrying The photographing device 100 may be a photographing device 100 with photographing functions such as a camera or a mobile phone. The base 1 can be controlled automatically or manually to make the posture of the base 1 change.
在某些实施例中,云台2系统为机载云台,参见图1,云台系统搭载在可移动平台上,具体地,云台系统通过基座1连接在平台主体上。可选地,摇杆3设于可移动平台的遥控设备上,遥控设备用于控制可移动平台,该可移动平台可以为无人机等无人飞行器,也可以为其他可移动平台。In some embodiments, the pan/tilt 2 system is an airborne pan/tilt. Referring to FIG. 1, the pan/tilt system is mounted on a movable platform. Specifically, the pan/tilt system is connected to the main body of the platform through the base 1. Optionally, the joystick 3 is provided on a remote control device of a movable platform, and the remote control device is used to control the movable platform. The movable platform may be an unmanned aerial vehicle such as a UAV or other movable platforms.
在某些实施例中,云台系统为手持云台,参见图2,本实施例中,基座1为手持云台的手柄。可选地,摇杆3设于手柄正面;可以理解地,摇杆3也可以设于手柄的其他位置。In some embodiments, the pan/tilt system is a handheld pan/tilt. See FIG. 2. In this embodiment, the base 1 is a handle of the handheld pan/tilt. Optionally, the rocker 3 is provided on the front of the handle; understandably, the rocker 3 can also be provided on other positions of the handle.
云台2可以为两轴云台或三轴云台。在一实施例中,云台2为三轴云台,参见图3A,该云台2可包括外框架21、中框架22和内框架。其中,外框架21被配置为绕第一预设方向转动,中框架22被配置为绕第二预设方向转动,内框架被配置为绕第三预设方向转动,且内框架用于搭载拍摄装置100。具体的,外框架21绕第一预设方向转动时,带动中框架22和内框架绕第一预设方向转动,从而带动拍摄装置100绕第一预设方向转动。中框架22绕第二预设方向转动时,带动内框架在第二预设方向转动,从而带动拍摄装置100绕第二预设方向转动。内框架绕第三预设方向转动,带动拍摄装置100绕第三预设方向转动。The PTZ 2 can be a two-axis PTZ or a three-axis PTZ. In an embodiment, the pan/tilt 2 is a three-axis pan/tilt. Referring to FIG. 3A, the pan/tilt 2 may include an outer frame 21, a middle frame 22, and an inner frame. Wherein, the outer frame 21 is configured to rotate around a first preset direction, the middle frame 22 is configured to rotate around a second preset direction, the inner frame is configured to rotate around a third preset direction, and the inner frame is used for carrying photography装置100。 Device 100. Specifically, when the outer frame 21 rotates around the first preset direction, the middle frame 22 and the inner frame are driven to rotate around the first preset direction, thereby driving the photographing device 100 to rotate around the first preset direction. When the middle frame 22 rotates around the second preset direction, the inner frame is driven to rotate in the second preset direction, thereby driving the camera 100 to rotate around the second preset direction. The inner frame rotates around the third preset direction, which drives the camera 100 to rotate around the third preset direction.
在一实施例中,云台2为两轴云台,该云台2可包括外框架21和内框架。其中,外框架21被配置为绕第一预设方向转动,内框架被配置为绕第二预设方向或第三预设方向转动。具体的,外框架21绕第一预设方向转动时,带动内框架绕第一预设方向转动,从而带动拍摄装置100绕第一预设方向转动。内框架绕第二预设方向或第三预设方向转动,带动拍摄装置100绕第二预设方向或第三预设方向转动。In an embodiment, the pan/tilt 2 is a two-axis pan/tilt, and the pan/tilt 2 may include an outer frame 21 and an inner frame. Wherein, the outer frame 21 is configured to rotate around a first preset direction, and the inner frame is configured to rotate around a second preset direction or a third preset direction. Specifically, when the outer frame 21 rotates around the first preset direction, the inner frame is driven to rotate around the first preset direction, thereby driving the photographing device 100 to rotate around the first preset direction. The inner frame rotates around the second preset direction or the third preset direction, driving the camera 100 to rotate around the second preset direction or the third preset direction.
上述实施例中,第一预设方向、第二预设方向和第三预设方向根据云台2的构型确定。例如,如图3A所示实施例中,云台2为三轴云台,外框架21被配置为绕偏航轴转动,中框架22被配置为绕横滚轴转动,内框架被配置为绕俯仰轴转动。其中,外框架21包括偏航轴轴臂,且由偏航轴电机驱动,中框架22包括横滚轴轴臂,且由横滚轴电机驱动,内框架包括俯仰轴轴臂,且由俯仰轴电机驱动。In the above embodiment, the first preset direction, the second preset direction, and the third preset direction are determined according to the configuration of the pan-tilt 2. For example, in the embodiment shown in FIG. 3A, the PTZ 2 is a three-axis PTZ, the outer frame 21 is configured to rotate around the yaw axis, the middle frame 22 is configured to rotate around the roll axis, and the inner frame is configured to rotate around the roll axis. The tilt axis rotates. The outer frame 21 includes a yaw axis arm and is driven by a yaw axis motor, the middle frame 22 includes a roll axis arm and is driven by a roll axis motor, and the inner frame includes a pitch axis arm and is driven by a pitch axis. motor driven.
本实施例中,摇杆3可以为按键,也可以为旋钮,还可以为按键和旋钮的组合,可以理解地,摇杆3不限于按键、旋钮,还可以为其他类型。In this embodiment, the rocker 3 may be a button, a knob, or a combination of a button and a knob. Understandably, the rocker 3 is not limited to a button or a knob, but may also be of other types.
云台系统所处的拍摄模式随基座1与拍摄装置100的位置关系变化,本实施例的云台系统的拍摄模式可以包括以下中的一种或至少两种的组合:正拍模式、倒拍模式、下手电筒模式、上手电筒模式、左拍摄模式、右拍摄模式、反正拍模式、反倒拍模式、反下手电筒模式、反上手电筒模式。The photographing mode of the pan/tilt system varies with the positional relationship between the base 1 and the photographing device 100. The photographing mode of the pan/tilt system in this embodiment may include one or a combination of at least two of the following: forward mode, reverse Shooting mode, down flashlight mode, top flashlight mode, left shooting mode, right shooting mode, anyway shooting mode, reverse shooting mode, reverse flashlight mode, reverse flashlight mode.
下述实施例以云台系统为手持云台为例进行阐述;可以理解地,下述实施例同样适用于机载云台。The following embodiments are described by taking the pan-tilt system as a handheld pan-tilt as an example; it is understandable that the following embodiments are also applicable to an airborne pan-tilt.
本发明实施例中,结合图1和图2,摇杆3设于手持云台的正面。进一步地,手持云台还包括设于手柄正面的屏幕4。手持云台正立放置时,拍摄装置100位于手柄的上方,屏幕4朝向用户,拍摄装置100正拍(镜头背对用户,且拍摄画面处于正立状态)。图3A和图3B中,X、Y、Z分别对应为世界坐标系中的X轴、Y轴、Z轴方向。如图3B所示,手持云台正立放置时,手持云台的机体坐标系为x1y1z1,其中,x1轴方向指向手柄1的前方,y1轴方向指向手柄1的左侧,z1轴方向指向手柄1的上方。In the embodiment of the present invention, in conjunction with FIG. 1 and FIG. 2, the rocker 3 is arranged on the front of the handheld pan/tilt. Furthermore, the handheld PTZ also includes a screen 4 arranged on the front of the handle. When the handheld PTZ is placed upright, the camera 100 is located above the handle, the screen 4 faces the user, and the camera 100 is shooting (the lens is facing away from the user and the shooting frame is in an upright state). In FIGS. 3A and 3B, X, Y, and Z respectively correspond to the X axis, Y axis, and Z axis directions in the world coordinate system. As shown in Figure 3B, when the handheld gimbal is placed upright, the body coordinate system of the handheld gimbal is x1y1z1, where the x1 axis direction points to the front of the handle 1, the y1 axis direction points to the left side of the handle 1, and the z1 axis direction points to the handle 1 above.
其中,云台系统处于正拍模式(如图3B所示)时,拍摄装置100位于手柄的上方,拍摄装置100正拍;云台系统处于反正拍摄模式(未图示)时,拍摄装置100位于手柄的下方,拍摄装置100正拍。Among them, when the pan/tilt system is in the forward shooting mode (as shown in FIG. 3B), the photographing device 100 is located above the handle, and the photographing device 100 is photographing; when the pan/tilt system is in the photographing mode (not shown) anyway, the photographing device 100 is located Below the handle, the camera 100 is shooting.
云台系统处于倒拍模式(如图3C所示)时,拍摄装置100位于手柄的下方,拍摄装置100倒拍;云台系统处于反倒拍摄模式(未图示)时,拍摄装置100位于手柄的上方,拍摄装置100倒拍。When the pan-tilt system is in the reverse shooting mode (as shown in Figure 3C), the camera 100 is located under the handle, and the camera 100 is in reverse shooting; when the pan-tilt system is in the reverse shooting mode (not shown), the camera 100 is located on the handle Above, the camera 100 is shooting backwards.
拍摄装置100处于下手电筒模式(如图3D所示)时,拍摄装置100位于手柄的前方,拍摄装置100正拍;拍摄装置100处于反下手电筒模式(未图示)时,拍摄装置100位于手柄的后方,拍摄装置100正拍。When the camera 100 is in the flashlight mode (as shown in Figure 3D), the camera 100 is located in front of the handle, and the camera 100 is shooting; when the camera 100 is in the flashlight mode (not shown), the camera 100 is on the handle At the rear of the camera, the camera 100 is shooting.
拍摄装置100处于上手电筒模式(如图3E所示)时,拍摄装置100位于手柄的后方,拍摄装置100倒拍;拍摄装置100处于反上手电筒模式(未图示)时,拍摄装置100位于手柄的前方,拍摄装置100倒拍。When the camera 100 is in the flashlight mode (as shown in FIG. 3E), the camera 100 is located behind the handle, and the camera 100 is in reverse shooting; when the camera 100 is in the flashlight mode (not shown), the camera 100 is on the handle In front of the camera, the camera 100 is shooting backwards.
云台系统处于左拍摄模式(如图3F所示)时,拍摄装置100位于手柄的左侧;云台系统处于右拍摄模式(如图3G所示)时,拍摄装置100位于手柄的右侧。When the pan/tilt system is in the left photography mode (as shown in FIG. 3F), the photography device 100 is located on the left side of the handle; when the pan/tilt system is in the right photography mode (as shown in FIG. 3G), the photography device 100 is located on the right side of the handle.
需要说明的是,本发明实施例中,当拍摄装置100正拍时,拍摄装置3的镜头背对用户,拍摄画面显示正立的像;当拍摄装置100倒拍时,拍摄装置3的镜头背对用户,拍摄画面显示倒立的像。It should be noted that, in the embodiment of the present invention, when the camera 100 is shooting, the lens of the camera 3 faces the user, and the shooting screen displays an upright image; when the camera 100 is shooting backwards, the lens of the camera 3 To the user, the shooting screen displays an upside-down image.
下面,将屏幕4所表面设定为手柄的正面,手柄的背面(与正面相对的表面)为“前”,手柄的正面为“后”,手柄的左侧为“左”,手柄的右侧为“右”,采用上述方位基准来说明各模式之间的转换关系。Next, set the surface of the screen 4 as the front of the handle, the back of the handle (the surface opposite to the front) is "front", the front of the handle is "rear", the left side of the handle is "left", and the right side of the handle "Right", using the above-mentioned azimuth reference to illustrate the conversion relationship between the modes.
可以理解地,下手电筒模式可以由正拍模式或者倒拍模式向前翻转90度得到;上手电筒模式可以由正拍模式或者倒拍模式向后翻转诸如90度得到。Understandably, the lower flashlight mode can be obtained by flipping forward 90 degrees in the forward mode or the reverse mode; the upper flashlight mode can be obtained by flipping backward, such as 90 degrees, by the forward mode or the reverse mode.
左拍摄模式可以由正拍模式或者倒拍模式向左翻转90度;右拍摄模式可以由正拍模式或者倒拍模式向右翻转90度。The left shooting mode can be flipped 90 degrees to the left from the forward mode or the reverse mode; the right shooting mode can be flipped 90 degrees to the right from the forward mode or the reverse mode.
正拍模式以及反倒拍模式可以满足正常机位拍摄的需求,两者区别在于,正拍模式的拍摄画面显示正立的像,反倒拍模式的拍摄画面显示倒立的像。The forward shooting mode and the reverse shooting mode can meet the needs of normal camera shooting. The difference between the two is that the shooting screen of the forward shooting mode shows the upright image, and the shooting screen of the reverse shooting mode shows the upside down image.
倒拍模式以及反正拍模式可以满足低机位拍摄的需求,两者区别在于,倒拍模式的拍摄画面显示倒立的像,反正拍模式的拍摄画面显示正立的像。The reverse shooting mode and the forward shooting mode can meet the needs of low camera shooting. The difference between the two is that the shooting screen of the reverse shooting mode shows an upside-down image, and the shooting screen of the forward shooting mode shows an upright image anyway.
下手电筒模式、上手电筒模式、反下手电筒模式、反上手电筒模式、左拍摄模式以及右拍摄模式可以满足水平机位拍摄的需求,其中,在下手电筒模式或反上手电筒模式下,拍摄装置位于手柄的前方,从而更多地关注手柄前方的场景;在上手电筒模式或反下手电筒模式下,拍摄装置位于手柄的后方,从而更多地关注手柄后方的场景;在左拍摄模式下,拍摄装置位于手柄的左侧,从而更多地关注手柄左侧的场景;在右拍摄模式下,拍摄装置位于手柄的右侧,从而更多地关注手柄右侧的场景。Down flashlight mode, top flashlight mode, reverse flashlight mode, reverse flashlight mode, left shooting mode, and right shooting mode can meet the needs of horizontal camera shooting. Among them, in the down flashlight mode or the reverse flashlight mode, the camera is located on the handle In the upper flashlight mode or reverse flashlight mode, the camera is located behind the handle, so that more attention is paid to the scene behind the handle; in the left shooting mode, the camera is located The left side of the handle allows more attention to the scene on the left side of the handle; in the right shooting mode, the camera is located on the right side of the handle, so that more attention is paid to the scene on the right side of the handle.
图4是本发明一实施例中的云台系统的控制方法的方法流程图;参见图4,本实施例的云台系统的控制方法可以包括如下步骤:FIG. 4 is a method flow chart of a method for controlling a pan/tilt system in an embodiment of the present invention; referring to FIG. 4, the method for controlling a pan/tilt system in this embodiment may include the following steps:
S401:检测到云台系统产生模式切换;S401: It is detected that the PTZ system has a mode switch;
其中,云台系统可以由正拍模式切换至下手电筒模式、上手电筒模式、左拍摄模式或右拍摄模式,也可以由倒拍模式切换至下手电筒模式、上手电筒模式、左拍摄模式、右拍摄模式或反倒拍模式,或者由下手电筒模式切换至正拍模式、倒拍模式、左拍摄模式或右拍摄模式,或者由上手电筒模式切换至正拍模式、倒拍模式、左拍摄模式或右拍摄模式,或者左拍摄模式切换至正拍模式、倒拍模式、下手电筒模式、上手 电筒模式、右拍摄模式、反正拍模式、反倒拍模式、反下手电筒模式或反上手电筒模式,或者由右拍摄模式切换至正拍模式、倒拍模式、下手电筒模式、上手电筒模式或左拍摄模式,或者由反正拍摄模式切换至左拍摄模式、反下手电筒模式或反上手电筒模式,或者由反倒拍模式切换至左拍摄模式、反下手电筒模式或反上手电筒模式,或者由反下手电筒模式切换至左拍摄模式、反正拍模式或反倒拍模式,或者由反上手电筒模式切换至左拍摄模式、反正拍模式或反倒拍模式。Among them, the pan/tilt system can switch from forward shooting mode to lower flashlight mode, upper flashlight mode, left shooting mode or right shooting mode, and it can also switch from reverse shooting mode to lower flashlight mode, upper flashlight mode, left shooting mode, right shooting Mode or reverse mode, or switch from lower flashlight mode to forward mode, reverse mode, left mode or right mode, or switch from upper flashlight mode to forward mode, reverse mode, left mode or right mode Mode, or switch the left shooting mode to forward shooting mode, reverse shooting mode, down flashlight mode, upper flashlight mode, right shooting mode, anyway shooting mode, reverse shooting mode, reverse down flashlight mode or upside flashlight mode, or shooting from the right Switch the mode to forward shooting mode, reverse shooting mode, down flashlight mode, upper flashlight mode or left shooting mode, or switch from shooting mode anyway to left shooting mode, reverse flashlight mode or reverse flashlight mode, or switch from reverse shooting mode To left shooting mode, reverse flashlight mode or reverse flashlight mode, or switch from reverse flashlight mode to left shooting mode, anyway shooting mode or reverse shooting mode, or switch from reverse flashlight mode to left shooting mode, anyway shooting mode Or reverse shooting mode.
因此,S401在检测到云台系统产生模式切换时,可以包括以下情况中的一种:Therefore, when S401 detects that the pan/tilt system has a mode switch, it may include one of the following situations:
(1)、检测到云台系统由正拍模式切换至下手电筒模式、上手电筒模式、左拍摄模式或右拍摄模式;(1) It is detected that the pan/tilt system has switched from the forward shooting mode to the down flashlight mode, the upper flashlight mode, the left shooting mode or the right shooting mode;
(2)、检测到云台系统由倒拍模式切换至下手电筒模式、上手电筒模式、左拍摄模式、右拍摄模式或反倒拍模式;(2) It is detected that the pan/tilt system has switched from reverse shooting mode to down flashlight mode, upper flashlight mode, left shooting mode, right shooting mode or reverse shooting mode;
(3)、检测到云台系统由下手电筒模式切换至正拍模式、倒拍模式、左拍摄模式或右拍摄模式;(3) It is detected that the pan/tilt system has switched from flashlight mode to forward mode, reverse mode, left mode or right mode;
(4)、检测到云台系统由上手电筒模式切换至正拍模式、倒拍模式、左拍摄模式或右拍摄模式;(4) It is detected that the pan/tilt system has switched from flashlight mode to forward mode, reverse mode, left mode or right mode;
(5)、检测到云台系统由左拍摄模式切换至正拍模式、倒拍模式、下手电筒模式、上手电筒模式、右拍摄模式、反正拍模式、反倒拍模式、反下手电筒模式或反上手电筒模式;(5) It is detected that the pan/tilt system has switched from left shooting mode to forward shooting mode, reverse shooting mode, down flashlight mode, upper flashlight mode, right shooting mode, anyway shooting mode, reverse shooting mode, reverse down flashlight mode or reverse up Flashlight mode;
(6)、检测到云台系统由右拍摄模式切换至正拍模式、倒拍模式、下手电筒模式、上手电筒模式或左拍摄模式;(6) It is detected that the pan/tilt system has switched from right shooting mode to forward shooting mode, reverse shooting mode, down flashlight mode, upper flashlight mode or left shooting mode;
(7)、检测到云台系统由反正拍摄模式切换至左拍摄模式、反下手电筒模式或反上手电筒模式;(7) It is detected that the pan/tilt system has switched from shooting mode to left shooting mode, reverse flashlight mode or reverse flashlight mode;
(8)、检测到云台系统由反倒拍模式切换至左拍摄模式、反下手电筒模式或反上手电筒模式;(8) It is detected that the pan/tilt system has switched from reverse shooting mode to left shooting mode, reverse flashlight mode or reverse flashlight mode;
(9)、检测到云台系统由反下手电筒模式切换至左拍摄模式、反正拍模式或反倒拍模式;(9) It is detected that the pan/tilt system has switched from the reverse flashlight mode to the left shooting mode, anyway shooting mode or reverse shooting mode;
(10)、检测到云台系统由反上手电筒模式切换至左拍摄模式、反正拍模式或反倒拍模式。(10) It is detected that the pan/tilt system has switched from the reverse flashlight mode to the left shooting mode, anyway shooting mode or reverse shooting mode.
可以理解地,对于两个不能直接进行切换的拍摄模式,可以将上述不同拍摄模式间的切换策略进行组合,从而实现两个不能直接进行切换的拍摄模式间的模式切换。It is understandable that for two shooting modes that cannot be switched directly, the above-mentioned switching strategies between different shooting modes can be combined to realize mode switching between the two shooting modes that cannot be switched directly.
S402:获取云台系统的当前模式;S402: Obtain the current mode of the pan-tilt system;
本实施例中,当前模式可以包括以下中的一种:正拍模式、倒拍模式、下手电筒 模式、上手电筒模式、左拍摄模式、右拍摄模式、反正拍模式、反倒拍模式、反下手电筒模式、反上手电筒模式。In this embodiment, the current mode may include one of the following: forward shooting mode, reverse shooting mode, down flashlight mode, upper flashlight mode, left shooting mode, right shooting mode, anyway shooting mode, reverse shooting mode, reverse down flashlight Mode, reverse flashlight mode.
具体的,在获取云台系统的当前模式时,首先,获取拍摄装置100的第一姿态信息以及手柄的第二姿态信息;再根据第一姿态信息以及第二姿态信息,确定云台系统的当前模式。Specifically, when acquiring the current mode of the pan-tilt system, first, acquire the first attitude information of the camera 100 and the second attitude information of the handle; then, determine the current state of the pan-tilt system according to the first attitude information and the second attitude information. mode.
本实施例的手持云台还包括加速度计,该加速度计用于检测拍摄装置100的第一姿态信息qmesa。手柄的第二姿态信息是根据拍摄装置100的第一姿态信息和云台关节角确定的,以三轴云台为例,当手持云台处于正拍模式时,外框架21被配置为绕偏航轴转动,中框架22被配置为绕横滚轴转动,内框架被配置为绕俯仰轴转动。云台关节角包括偏航关节角joint_yaw、横滚关节角joint_roll和俯仰关节角joint_pitch,各关节角即为对应轴电机的关节角。根据轴角转换公式得到q_yaw、q_roll和q_pitch,q_yaw、q_roll和q_pitch的共轭或逆分别为q_yaw_inv、q_roll_inv和q_pitch_inv。手柄的第二姿态信息qhandle的计算公式如下:The handheld pan/tilt in this embodiment also includes an accelerometer, which is used to detect the first posture information qmesa of the photographing device 100. The second posture information of the handle is determined according to the first posture information of the camera 100 and the joint angle of the pan/tilt. Taking a three-axis pan/tilt as an example, when the handheld pan/tilt is in the forward mode, the outer frame 21 is configured to deviate The navigation axis rotates, the middle frame 22 is configured to rotate around the roll axis, and the inner frame is configured to rotate around the pitch axis. The gimbal joint angle includes yaw joint angle joint_yaw, roll joint angle joint_roll, and pitch joint angle joint_pitch. Each joint angle is the joint angle of the corresponding axis motor. According to the shaft angle conversion formula, q_yaw, q_roll and q_pitch are obtained. The conjugate or inverse of q_yaw, q_roll and q_pitch are q_yaw_inv, q_roll_inv and q_pitch_inv respectively. The calculation formula of the second posture information qhandle of the handle is as follows:
qhandle=qmesa*q_pitch_inv*q_roll_inv*q_yaw_inv      (1)qhandle=qmesa*q_pitch_inv*q_roll_inv*q_yaw_inv (1)
其中,joint表示关节角,q表示四元数。Among them, joint represents the joint angle, and q represents the quaternion.
具体地,在根据第一姿态信息以及第二姿态信息,确定云台系统的当前模式时,包括如下步骤:Specifically, when determining the current mode of the pan-tilt system according to the first posture information and the second posture information, the following steps are included:
(1)、根据第一姿态信息以及第二姿态信息,确定拍摄装置100和手柄的位置关系;(1) Determine the positional relationship between the camera 100 and the handle according to the first posture information and the second posture information;
(2)、根据位置关系,确定云台系统的当前模式。(2) Determine the current mode of the PTZ system according to the position relationship.
本实施例中,当拍摄装置100位于手柄的上方时,云台系统则处于正拍模式或反倒拍模式;当拍摄装置100位于手柄的下方时,云台系统则处于倒拍模式或反正拍模式;当拍摄装置100位于手柄的前方时,云台系统则处于下手电筒模式或反上手电筒模式;当拍摄装置100位于手柄的后方时,云台系统则处于上手电筒模式或反下手电筒模式;当拍摄装置100位于手柄的左侧时,云台系统则处于左拍摄模式;当拍摄装置100位于手柄的右侧时,则云台系统则处于右拍摄模式。In this embodiment, when the camera 100 is above the handle, the pan/tilt system is in the forward mode or reverse mode; when the camera 100 is below the handle, the pan/tilt system is in the reverse mode or anyway. ; When the camera 100 is located in front of the handle, the pan/tilt system is in the down flashlight mode or the reverse flashlight mode; when the camera 100 is located behind the handle, the pan/tilt system is in the upper flashlight mode or the reverse flashlight mode; when When the camera 100 is on the left side of the handle, the pan/tilt system is in the left shooting mode; when the camera 100 is on the right side of the handle, the pan/tilt system is in the right shooting mode.
其中,当拍摄装置100位于手柄的上方、下方、前方或后方时,可以根据第一姿态信息进一步确定云台系统的当前模式。例如,当拍摄装置100位于手柄的上方时,第一姿态信息用于指示拍摄装置100正拍,云台系统则处于正拍模式;第一姿态信息用于指示拍摄装置100倒拍,云台系统则处于反倒拍模式。当拍摄装置100位于手柄的下方时,第一姿态信息用于指示拍摄装置100正拍,云台系统则处于反正拍模式;第一姿态信息用于指示拍摄装置100倒拍,云台系统则处于倒拍模式。当拍摄装置100位于手柄的前方时,第一姿态信息用于指示拍摄装置100正拍,云台系统则处于下手 电筒模式;第一姿态信息用于指示拍摄装置100倒拍,云台系统则处于反上手电筒模式。当拍摄装置100位于手柄的后方时,第一姿态信息用于指示拍摄装置100正拍,云台系统则处于反下手电筒模式;第一姿态信息用于指示拍摄装置100倒拍,云台系统则处于上手电筒模式。Wherein, when the camera 100 is located above, below, in front of, or behind the handle, the current mode of the pan/tilt system can be further determined according to the first posture information. For example, when the camera 100 is located above the handle, the first posture information is used to indicate that the camera 100 is shooting, and the pan/tilt system is in the forward mode; the first posture information is used to indicate that the camera 100 is shooting backwards, and the pan/tilt system It is in reverse shooting mode. When the camera 100 is located under the handle, the first posture information is used to indicate that the camera 100 is shooting, and the pan/tilt system is in anyway mode; the first posture information is used to instruct the camera 100 to take a reverse shot, and the pan/tilt system is in Reverse mode. When the camera 100 is in front of the handle, the first posture information is used to indicate that the camera 100 is shooting, and the pan/tilt system is in the flashlight mode; the first posture information is used to instruct the camera 100 to take a reverse shot, and the pan/tilt system is in the flashlight mode. Invert the flashlight mode. When the camera 100 is located behind the handle, the first posture information is used to indicate that the camera 100 is shooting, and the pan-tilt system is in the reverse flashlight mode; the first posture information is used to instruct the camera 100 to take a reverse shot, and the pan-tilt system is In flashlight mode.
S403:根据当前模式对应的摇杆3的控制信号与云台关节角之间的映射策略,控制云台2转动;其中,不同模式的映射策略不相同。S403: Control the rotation of the pan/tilt 2 according to the mapping strategy between the control signal of the joystick 3 corresponding to the current mode and the joint angle of the pan/tilt; wherein the mapping strategies of different modes are different.
在某些实施例中,控制信号包括以下至少一个:摇杆3在第一平面输入的第一控制信号、摇杆3在第二平面输入的第二控制信号。其中,第一平面与第二平面正交,手柄的延伸方向与第二平面平行,如图3A、图3B、图3C所示,手柄的延伸方向为竖直方向;如图3D、图3E所示,手柄的延伸方向为前后方向;如图3F、图3G所示,手柄的延伸方向为左右方向。本实施例中,摇杆3为平面的控制方式,例如,摇杆3为按键,可选地,按键包括“上”、“下”、“左”、“右”方向的触发按键,在同一时刻,“上”和“下”方向触发按键中的一个可以被触发,“左”和“右”方向的触发按键中的一个可以被触发。其中,触发“上”或“下”方向的触发按键,产生第二控制信号;触发“左”或“右”方向的触发按键,产生第一控制信号In some embodiments, the control signal includes at least one of the following: a first control signal input by the joystick 3 on the first plane, and a second control signal input by the joystick 3 on the second plane. Among them, the first plane is orthogonal to the second plane, the extension direction of the handle is parallel to the second plane, as shown in Figure 3A, Figure 3B, and Figure 3C, the extension direction of the handle is the vertical direction; as shown in Figure 3D, Figure 3E As shown, the extension direction of the handle is the front and rear direction; as shown in Figure 3F and Figure 3G, the extension direction of the handle is the left and right direction. In this embodiment, the joystick 3 is a planar control mode. For example, the joystick 3 is a button. Optionally, the buttons include trigger buttons in the "up", "down", "left", and "right" directions. At the moment, one of the trigger buttons in the "up" and "down" directions can be triggered, and one of the trigger buttons in the "left" and "right" directions can be triggered. Among them, the trigger button in the "up" or "down" direction is triggered to generate the second control signal; the trigger button in the "left" or "right" direction is triggered to generate the first control signal
在某些实施例中,控制信号包括以下至少一个:摇杆3的杆量映射到第一平面的第一控制信号、摇杆3的杆量映射到第二平面的第二控制信号。其中,第一平面与第二平面正交,手柄的延伸方向与第二平面平行,如图3A、图3B、图3C所示,手柄的延伸方向为竖直方向;如图3D、图3E所示,手柄的延伸方向为前后方向;如图3F、图3G所示,手柄的延伸方向为左右方向。本实施例中,摇杆3可以为立体,如球面运动的控制方式,可选地,摇杆3为旋钮,用户操作旋钮,旋钮产生的杆量能够映射到不同的平面上。In some embodiments, the control signal includes at least one of the following: a first control signal in which the amount of the joystick 3 is mapped to the first plane, and a second control signal in which the amount of the joystick 3 is mapped to the second plane. Among them, the first plane is orthogonal to the second plane, the extension direction of the handle is parallel to the second plane, as shown in Figure 3A, Figure 3B, and Figure 3C, the extension direction of the handle is the vertical direction; as shown in Figure 3D, Figure 3E As shown, the extension direction of the handle is the front and rear direction; as shown in Figure 3F and Figure 3G, the extension direction of the handle is the left and right direction. In this embodiment, the rocker 3 may be a three-dimensional, such as a spherical motion control method. Optionally, the rocker 3 is a knob, and the user operates the knob, and the amount of stick generated by the knob can be mapped to different planes.
其中,当云台系统处于正拍模式、倒拍模式、反正拍模式或反倒拍模式时,第一平面为水平面,第二平面为竖直面。当云台系统处于下手电筒模式、上手电筒模式、左拍摄模式、右拍摄模式、反下手电筒模式或反上手电筒模式时,第一平面为竖直面,第二平面为水平面。Wherein, when the pan/tilt system is in the forward mode, reverse mode, anyway mode or reverse mode, the first plane is a horizontal plane, and the second plane is a vertical plane. When the pan/tilt system is in the lower flashlight mode, upper flashlight mode, left shooting mode, right shooting mode, reverse lower flashlight mode or reverse upper flashlight mode, the first plane is a vertical plane and the second plane is a horizontal plane.
本实施例的第一控制信号用于控制俯仰轴和偏航轴中的一个,第二控制信号用于控制俯仰轴和偏航轴中的另一个,具体需要根据当前模式确定。控制信号可以第一控制信号或第二控制信号,也可以包括第一控制信号或第二控制信号。The first control signal in this embodiment is used to control one of the pitch axis and the yaw axis, and the second control signal is used to control the other of the pitch axis and the yaw axis, which needs to be determined according to the current mode. The control signal may be the first control signal or the second control signal, and may also include the first control signal or the second control signal.
当多轴手持云台处于跟随模式时,可以将手持云台的各个轴设置为free模式或follow模式。其中,在free模式下,手持云台的手柄运动,对应轴不转动,对应轴能够用于增稳;在follow模式下,对应轴跟随手持云台的运动而运动。例如,对于三轴云台,常规模式设置为:俯仰轴、偏航轴为follow模式,横滚轴为free模式。本实施例中,俯仰轴、偏航轴为follow模式,横滚轴为free模式,控制信号包括第一控制信 号或第二控制信号。When the multi-axis handheld gimbal is in follow mode, you can set each axis of the handheld gimbal to free mode or follow mode. Among them, in the free mode, the handle of the handheld gimbal moves, and the corresponding axis does not rotate, and the corresponding axis can be used for stabilization; in the follow mode, the corresponding axis moves with the movement of the handheld gimbal. For example, for a three-axis gimbal, the normal mode is set to follow mode for pitch axis and yaw axis, and free mode for roll axis. In this embodiment, the pitch axis and the yaw axis are in the follow mode, the roll axis is in the free mode, and the control signal includes the first control signal or the second control signal.
请参见图5,为一种根据当前模式对应的摇杆3的控制信号与云台关节角之间的映射策略,控制云台2转动的实现方式。具体地,在根据当前模式对应的摇杆3的控制信号与云台关节角之间的映射策略,控制云台2转动时,可以包括如下步骤:Please refer to Fig. 5, which is an implementation manner of controlling the rotation of the PTZ 2 according to the mapping strategy between the control signal of the joystick 3 corresponding to the current mode and the joint angle of the PTZ. Specifically, when controlling the rotation of the PTZ 2 according to the mapping strategy between the control signal of the joystick 3 corresponding to the current mode and the joint angle of the PTZ, the following steps may be included:
S501:根据第一控制信号的方向和/或第二控制信号的方向,确定云台2对应轴的关节角的转动方向;S501: Determine the rotation direction of the joint angle of the corresponding axis of the pan-tilt 2 according to the direction of the first control signal and/or the direction of the second control signal;
在某些实施例中,控制信号包括第一控制信号,在S501中,根据第一控制信号的方向,确定云台2对应轴的关节角的转动方向;在某些实施例中,控制信号包括第二控制信号,在S501中,根据第二控制信号的方向,确定云台2对应轴的关节角的转动方向;在某些实施例中,控制信号包括第一控制信号和第二控制信号,在S501中,根据第一控制信号的方向和第二控制信号的方向,确定云台2对应轴的关节角的转动方向。In some embodiments, the control signal includes a first control signal. In S501, the rotation direction of the joint angle of the corresponding axis of the pan/tilt 2 is determined according to the direction of the first control signal; in some embodiments, the control signal includes The second control signal, in S501, determines the rotation direction of the joint angle of the corresponding axis of the pan/tilt head 2 according to the direction of the second control signal; in some embodiments, the control signal includes the first control signal and the second control signal, In S501, the rotation direction of the joint angle of the corresponding axis of the pan/tilt head 2 is determined according to the direction of the first control signal and the direction of the second control signal.
本实施例中,设定第一方向(图3B中水平向右的方向)为第一控制信号的正方向,第一方向的相反方向(图3B中水平向左的方向)为第一控制信号的负方向;第二方向(图3B中水平竖直向下的方向)为第二控制信号的正方向,第二方向的相反方向(图3B中水平竖直向上的方向)为第二控制信号的负方向。In this embodiment, the first direction (the horizontal to the right in FIG. 3B) is set as the positive direction of the first control signal, and the opposite direction of the first direction (the horizontal to the left in FIG. 3B) is the first control signal. The second direction (the horizontal and vertical downward direction in Figure 3B) is the positive direction of the second control signal, and the opposite direction of the second direction (the horizontal and vertical upward direction in Figure 3B) is the second control signal In the negative direction.
其中,当前模式为正拍模式、倒拍模式、反正拍模式或反倒拍模式时,第一控制信号控制云台2的偏航关节角(对应控制云台2的偏航姿态),第二控制信号控制云台2的俯仰关节角(对应控制云台2的俯仰姿态)。Among them, when the current mode is forward mode, reverse mode, anyway mode, or reverse mode, the first control signal controls the yaw joint angle of PTZ 2 (corresponding to controlling the yaw attitude of PTZ 2), and the second control The signal controls the pitch joint angle of the PTZ 2 (corresponding to control the pitch attitude of the PTZ 2).
当前模式为下手电筒模式、上手电筒模式、反下手电筒模式或反上手电筒模式时,第一控制信号控制云台2的横滚关节角(对应控制云台2的偏航姿态),第二控制信号控制云台2的俯仰关节角(对应控制云台2的俯仰姿态)。When the current mode is down flashlight mode, upper flashlight mode, reverse flashlight mode, or reverse flashlight mode, the first control signal controls the roll joint angle of PTZ 2 (corresponding to control the yaw attitude of PTZ 2), and the second control The signal controls the pitch joint angle of the PTZ 2 (corresponding to control the pitch attitude of the PTZ 2).
当前模式为左拍摄模式或右拍摄模式,第一控制信号控制云台2的偏航关节角(对应云台2的俯仰姿态),第二控制信号控制云台2的俯仰关节角(对应云台2的偏航姿态)。The current mode is left shooting mode or right shooting mode. The first control signal controls the yaw joint angle of gimbal 2 (corresponding to the pitch attitude of gimbal 2), and the second control signal controls the pitch joint angle of gimbal 2 (corresponding to the gimbal 2 yaw attitude).
本实施例中,在根据第一控制信号的方向,确定云台2对应轴的关节角的转动方向时,可选地,当拍摄装置100与手柄呈上下位置关系或左右位置关系时,根据第一控制信号的方向,确定云台2的偏航关节角的转动方向;可选地,当拍摄装置100与手柄呈前后位置关系时,根据第一控制信号的方向,确定云台2的横滚关节角的转动方向,In this embodiment, when determining the rotation direction of the joint angle of the corresponding axis of the pan-tilt 2 according to the direction of the first control signal, optionally, when the photographing device 100 and the handle are in a vertical or horizontal position relationship, according to the first The direction of a control signal determines the direction of rotation of the yaw joint angle of the gimbal 2; optionally, when the camera 100 and the handle are in a front-to-rear position relationship, the roll of the gimbal 2 is determined according to the direction of the first control signal The direction of rotation of the joint angle,
其中,当拍摄装置100与手柄呈上下位置关系时,即当前模式为正拍模式、倒拍模式、反正拍模式或反倒拍模式,在根据第一控制信号的方向,确定云台2的偏航关节角的转动方向时,分为如下情况:Wherein, when the photographing device 100 and the handle are in an up-and-down positional relationship, that is, the current mode is forward shooting mode, reverse shooting mode, anyway shooting mode or reversed shooting mode, the yaw of the pan/tilt 2 is determined according to the direction of the first control signal The rotation direction of the joint angle is divided into the following situations:
(1)、当前模式为正拍模式或反倒拍模式,当第一控制信号的方向为第一方向时,确定云台2的偏航关节角的转动方向为第一转动方向,偏航关节角相应变小;当第一控制信号的方向为第二方向的相反方向时,确定云台2的俯仰关节角的转动方向为第一转动方向的相反方向,偏航关节角相应变大。(1). The current mode is forward shooting mode or reverse shooting mode. When the direction of the first control signal is the first direction, determine the rotation direction of the yaw joint angle of the gimbal 2 as the first rotation direction, and the yaw joint angle When the direction of the first control signal is the opposite direction of the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt 2 is the opposite direction of the first rotation direction, and the yaw joint angle becomes larger accordingly.
(2)、当前模式为倒拍模式或反正拍模式,当第一控制信号的方向为第一方向时,确定云台2的偏航关节角的转动方向为第一转动方向的相反方向,偏航关节角相应变小;当第一控制信号的方向为第一方向的相反方向时,确定云台2的偏航关节角的转动方向为第一转动方向,偏航关节角相应变大。(2). The current mode is reverse shooting mode or anyway shooting mode. When the direction of the first control signal is the first direction, it is determined that the rotation direction of the yaw joint angle of the gimbal 2 is the opposite direction of the first rotation direction. The yaw joint angle becomes smaller accordingly; when the direction of the first control signal is the opposite direction of the first direction, the rotation direction of the yaw joint angle of the gimbal 2 is determined to be the first rotation direction, and the yaw joint angle becomes larger accordingly.
当拍摄装置100与手柄呈左右位置关系时,即当前模式为左拍摄模式或左拍摄模式,在根据第一控制信号的方向,确定云台2的偏航关节角的转动方向时,分为如下两种情况:When the camera 100 and the handle are in a left-right positional relationship, that is, the current mode is the left shooting mode or the left shooting mode, when determining the rotation direction of the yaw joint angle of the pan/tilt 2 according to the direction of the first control signal, it is divided into the following Two situations:
(1)、当前模式为左拍摄模式,当第一控制信号的方向为第一方向时,确定云台2的偏航关节角的转动方向为第二转动方向的相反方向,横滚关节角相应变大;当第一控制信号的方向为第一方向的相反方向时,确定云台2的偏航关节角的转动方向为第二转动方向,横滚关节角相应变小。(1). The current mode is the left shooting mode. When the direction of the first control signal is the first direction, the rotation direction of the yaw joint angle of the gimbal 2 is determined to be the opposite direction of the second rotation direction, and the roll joint angle is corresponding When the direction of the first control signal is the opposite direction of the first direction, the rotation direction of the yaw joint angle of the pan/tilt 2 is determined to be the second rotation direction, and the roll joint angle becomes smaller accordingly.
(2)、当前模式为右拍摄模式,当第一控制信号的方向为第一方向时,确定云台2的偏航关节角的转动方向为第二转动方向,偏航关节角相应变小;当第一控制信号的方向为第一方向的相反方向时,确定云台2的偏航关节角的转动方向为第二转动方向的相反方向,偏航关节角相应变大。(2). The current mode is the right shooting mode. When the direction of the first control signal is the first direction, the rotation direction of the yaw joint angle of the gimbal 2 is determined to be the second rotation direction, and the yaw joint angle becomes smaller accordingly; When the direction of the first control signal is the opposite direction of the first direction, it is determined that the rotation direction of the yaw joint angle of the gimbal 2 is the opposite direction of the second rotation direction, and the yaw joint angle becomes larger accordingly.
当拍摄装置100与手柄呈前后位置关系时,即当前模式为下手电筒模式、上手电筒模式、反下手电筒模式和反上手电筒模式中的一个,在根据第一控制信号的方向,确定云台2的偏航关节角的转动方向时,具体地,当第一控制信号的方向为第一方向时,确定云台2的横滚关节角的转动方向为第一转动方向;当第一控制信号的方向为第一方向的相反方向时,确定云台2的横滚关节角的转动方向为第一转动方向的相反方向。其中,当前模式为下手电筒模式或反下手电筒时,若横滚关节角的转动方向为第一转动方向,横滚关节角相应变大;若横滚关节角的转动方向为第一转动方向的相反方向,横滚关节角相应变小。当前模式为上手电筒模式或反上手电筒时,若横滚关节角的转动方向为第一转动方向,横滚关节角相应变小;若横滚关节角的转动方向为第一转动方向的相反方向,横滚关节角相应变大。When the camera 100 and the handle have a front-to-back positional relationship, that is, the current mode is one of the down flashlight mode, the up flashlight mode, the down flashlight mode, and the up flashlight mode, the pan/tilt 2 is determined according to the direction of the first control signal When the rotation direction of the yaw joint angle of the yaw joint angle, specifically, when the direction of the first control signal is the first direction, it is determined that the rotation direction of the roll joint angle of the pan/tilt 2 is the first rotation direction; when the first control signal is When the direction is the opposite direction of the first direction, it is determined that the rotation direction of the roll joint angle of the pan/tilt head 2 is the opposite direction of the first rotation direction. Among them, when the current mode is the flashlight mode or the flashlight is reversed, if the rotation direction of the roll joint angle is the first rotation direction, the roll joint angle becomes larger accordingly; if the rotation direction of the roll joint angle is the first rotation direction In the opposite direction, the roll joint angle becomes smaller accordingly. When the current mode is flashlight mode or reverse flashlight, if the rotation direction of the roll joint angle is the first rotation direction, the roll joint angle will decrease accordingly; if the rotation direction of the roll joint angle is the opposite direction of the first rotation direction , The roll joint angle becomes larger accordingly.
在根据第二控制信号的方向,确定云台2对应轴的关节角的转动方向时,可选地,当拍摄装置100与手柄呈上下位置关系或左右位置关系或左右时,根据第二控制信号的方向,确定云台2的俯仰关节角的转动方向。When determining the rotation direction of the joint angle of the corresponding axis of the pan/tilt head 2 according to the direction of the second control signal, optionally, when the photographing device 100 and the handle are in an up and down position relationship or a left and right position relationship or left and right, according to the second control signal Determine the direction of rotation of the pitch joint angle of the gimbal 2.
其中,当拍摄装置100与手柄呈上下位置关系时,在根据第二控制信号的方向,确定云台2的俯仰关节角的转动方向时,分为如下两种情况:Wherein, when the photographing device 100 and the handle are in an up-and-down positional relationship, when determining the rotation direction of the pitch joint angle of the pan/tilt head 2 according to the direction of the second control signal, there are two situations as follows:
(1)、当前模式为正拍模式或反倒拍模式,当第二控制信号的方向为第二方向时,确定云台2的俯仰关节角的转动方向为第二转动方向,俯仰关节角相应变大;当第二控制信号的方向为第二方向的相反方向时,确定云台2的俯仰关节角的转动方向为第二转动方向的相反方向,俯仰关节角相应变小。(1). The current mode is forward shooting mode or reverse shooting mode. When the direction of the second control signal is the second direction, the rotation direction of the pitch joint angle of the gimbal 2 is determined to be the second rotation direction, and the pitch joint angle changes accordingly Large; when the direction of the second control signal is the opposite direction of the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt 2 is the opposite direction of the second rotation direction, and the pitch joint angle becomes smaller accordingly.
(2)、当前模式为倒拍模式或反正拍模式,当第二控制信号的方向为第二方向时,确定云台2的俯仰关节角的转动方向为第二转动方向的相反方向,俯仰关节角相应变大;当第二控制信号的方向为第二方向的相反方向时,确定云台2的俯仰关节角的转动方向为第二转动方向,俯仰关节角相应变小。(2). The current mode is reverse shooting mode or anyway shooting mode. When the direction of the second control signal is the second direction, the rotation direction of the pitch joint angle of the gimbal 2 is determined to be the opposite direction of the second rotation direction, the pitch joint The angle becomes larger accordingly; when the direction of the second control signal is the opposite direction of the second direction, the rotation direction of the pitch joint angle of the pan/tilt 2 is determined to be the second rotation direction, and the pitch joint angle becomes smaller accordingly.
其中,当拍摄装置100与手柄呈左右位置关系时,在根据第二控制信号的方向,确定云台2的俯仰关节角的转动方向时,分为如下两种情况:Wherein, when the photographing device 100 and the handle are in a left-right positional relationship, when determining the rotation direction of the pitch joint angle of the pan/tilt 2 according to the direction of the second control signal, there are two situations as follows:
(1)、当前模式为左拍摄模式,当第二控制信号的方向为第二方向时,确定云台2的俯仰关节角的转动方向为第一转动方向,俯仰关节角相应变大;当第二控制信号的方向为第二方向的相反方向时,确定云台2的俯仰关节角的转动方向为第一转动方向的相反方向,俯仰关节角相应变小。(1). The current mode is the left shooting mode. When the direction of the second control signal is the second direction, the rotation direction of the pitch joint angle of the gimbal 2 is determined to be the first rotation direction, and the pitch joint angle becomes larger accordingly; When the direction of the second control signal is the opposite direction of the second direction, it is determined that the rotation direction of the pitch joint angle of the gimbal 2 is the opposite direction of the first rotation direction, and the pitch joint angle becomes smaller accordingly.
(2)、当前模式为右拍摄模式,当第二控制信号的方向为第二方向时,确定云台2的俯仰关节角的转动方向为第一转动方向的相反方向,俯仰关节角相应变大;当第二控制信号的方向为第二方向的相反方向时,确定云台2的俯仰关节角的转动方向为第一转动方向,俯仰关节角相应变小。(2). The current mode is the right shooting mode. When the direction of the second control signal is the second direction, it is determined that the rotation direction of the pitch joint angle of the gimbal 2 is the opposite direction of the first rotation direction, and the pitch joint angle becomes larger accordingly ; When the direction of the second control signal is the opposite direction of the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt 2 is the first rotation direction, and the pitch joint angle becomes smaller accordingly.
当拍摄装置100与手柄呈前后位置关系时,也即,当前模式为下手电筒模式、上手电筒模式、反下手电筒模式和反上手电筒模式中的一个,根据第二控制信号的方向,确定云台的俯仰关节角的转动方向,具体地,当第二控制信号的方向为第二方向时,确定云台2的俯仰关节角的转动方向为第二转动方向,俯仰关节角相应变大;当第二控制信号的方向为第二方向的相反方向时,确定云台2的俯仰关节角的转动方向为第二转动方向的相反方向,俯仰关节角相应变小。When the camera 100 and the handle are in a front-to-back positional relationship, that is, the current mode is one of the down flashlight mode, the up flashlight mode, the down flashlight mode, and the up flashlight mode, the pan/tilt is determined according to the direction of the second control signal Specifically, when the direction of the second control signal is the second direction, the rotation direction of the pitch joint angle of the gimbal 2 is determined to be the second rotation direction, and the pitch joint angle becomes larger accordingly; When the direction of the two control signals is the opposite direction of the second direction, it is determined that the rotation direction of the pitch joint angle of the gimbal 2 is the opposite direction of the second rotation direction, and the pitch joint angle becomes smaller accordingly.
可选地,第一转动方向为顺时针方向;可以理解地,第一转动方向也可以为逆时针方向。可选地,第二转动方向为朝下的方向;可以理解地,第二转动方向也可以为朝上的方向。本实施例中,第一转动方向为顺时针方向,第二转动方向为朝下的方向。每种拍摄模式对应的映射策略如表1所示。Optionally, the first rotation direction is a clockwise direction; understandably, the first rotation direction may also be a counterclockwise direction. Optionally, the second rotation direction is a downward direction; understandably, the second rotation direction may also be an upward direction. In this embodiment, the first rotation direction is a clockwise direction, and the second rotation direction is a downward direction. The mapping strategy corresponding to each shooting mode is shown in Table 1.
表1Table 1
Figure PCTCN2019100358-appb-000001
Figure PCTCN2019100358-appb-000001
S501:根据转动方向,控制对应的关节角转动。S501: Control the rotation of the corresponding joint angle according to the rotation direction.
此外,关节角转动的角度大小与第一控制信号、第二控制信号的大小正相关。In addition, the magnitude of the joint angle rotation is positively correlated with the magnitude of the first control signal and the second control signal.
采用上述映射策略后,采用相同的策略控制摇杆时,相应拍摄模式(如正拍模式、倒拍模式、反正拍模式和反倒拍模式,下手电筒模式、上手电筒模式、反下手电筒模式和反上手电筒模式、左拍摄模式和右拍摄模式)对应的云台姿态变化是相同的,从而使得相应拍摄模式下拍摄画面的变化方式相同,满足拍摄需求。After the above mapping strategy is adopted, when the same strategy is used to control the joystick, the corresponding shooting modes (such as forward shooting mode, reverse shooting mode, anyway shooting mode and reverse shooting mode, down flashlight mode, upper flashlight mode, reverse flashlight mode and reverse The PTZ posture changes corresponding to the flashlight mode, left shooting mode and right shooting mode) are the same, so that the shooting pictures change in the same manner in the corresponding shooting modes to meet the shooting needs.
对应于上述实施例的云台系统的控制方法,本发明实施例还提供一种云台系统,结合图1至图3G以及图6,本实施例的云台系统包括基座1、云台2、摇杆3和控制器5,其中,云台2设置于基座1上,并且,云台2用于搭载拍摄装置100,本实施例的云台2可以为两轴云台,也可以为三轴云台,还可以为其他多轴云台。摇杆3用于控制云台2,可选地,云台系统为机载云台,摇杆3设于搭载云台系统的可移动平台的遥控设备上;可选地,云台系统为手持云台,摇杆3设于手持云台的手柄上。控制器5设于基座1,可选的,控制器5设于基座1内,并且,控制器5与云台2和摇杆3分别通信连接。Corresponding to the control method of the pan-tilt system in the above embodiment, the embodiment of the present invention also provides a pan-tilt system. With reference to FIGS. 1 to 3G and FIG. 6, the pan-tilt system of this embodiment includes a base 1 and a pan/tilt 2. , The joystick 3 and the controller 5, where the pan/tilt 2 is set on the base 1, and the pan/tilt 2 is used to carry the camera 100. The pan/tilt 2 in this embodiment can be a two-axis pan/tilt or The three-axis pan/tilt can also be other multi-axis pan/tilt. The joystick 3 is used to control the PTZ 2. Optionally, the PTZ system is an on-board PTZ, and the joystick 3 is set on the remote control device of the movable platform equipped with the PTZ system; optionally, the PTZ system is handheld The gimbal, the rocker 3 is set on the handle of the handheld gimbal. The controller 5 is provided in the base 1. Optionally, the controller 5 is provided in the base 1, and the controller 5 is in communication connection with the pan/tilt 2 and the rocker 3 respectively.
具体的,控制器5被配置为用于:检测到云台系统产生模式切换;获取云台系统的当前模式;根据当前模式对应的摇杆3的控制信号与云台关节角之间的映射策略,控制云台2转动;其中,不同模式的映射策略不相同。Specifically, the controller 5 is configured to: detect the mode switching of the pan/tilt system; obtain the current mode of the pan/tilt system; and map the control signal between the joystick 3 corresponding to the current mode and the joint angle of the pan/tilt. , Control the rotation of PTZ 2; among them, the mapping strategy of different modes is different.
控制器5的实现过程和工作原理可参见上述实施例的云台系统的控制方法的描述,此处不再赘述。For the implementation process and working principle of the controller 5, please refer to the description of the control method of the pan-tilt system in the foregoing embodiment, and will not be repeated here.
本实施例的控制器5可以是中央处理器(central processing unit,CPU)。控制器5还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。The controller 5 in this embodiment may be a central processing unit (CPU). The controller 5 may further include a hardware chip. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
此外,本发明实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述实施例的云台系统的控制方法的步骤。In addition, an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the control method of the pan-tilt system of the above-mentioned embodiment are realized.
所述计算机可读存储介质可以是前述任一实施例所述的云台系统的内部存储单元,例如硬盘或内存。所述计算机可读存储介质也可以是云台系统的外部存储设备,例如所述设备上配备的插接式硬盘、智能存储卡(Smart Media Card,SMC)、SD卡、闪存卡(Flash Card)等。进一步的,所述计算机可读存储介质还可以既包括云台系统的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述云台系统所需的其他程序和数据,还可以用于暂时地存储已经输出或者将要输出的数据。The computer-readable storage medium may be the internal storage unit of the pan-tilt system described in any of the foregoing embodiments, such as a hard disk or a memory. The computer-readable storage medium may also be an external storage device of the pan-tilt system, for example, a plug-in hard disk, a smart media card (SMC), an SD card, and a flash card (Flash Card) equipped on the device. Wait. Further, the computer-readable storage medium may also include both an internal storage unit of the pan-tilt system and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the pan-tilt system, and can also be used to temporarily store data that has been output or will be output.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
以上所揭露的仅为本发明部分实施例而已,当然不能以此来限定本发明之权利范 围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above-disclosed are only some of the embodiments of the present invention, which of course cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (50)

  1. 一种云台系统的控制方法,其特征在于,所述云台系统包括基座、设置于所述基座上的云台和用于控制所述云台的摇杆,所述云台用于搭载拍摄装置;所述方法包括:A control method of a pan/tilt system, characterized in that, the pan/tilt system includes a base, a pan/tilt set on the base, and a rocker for controlling the pan/tilt, and the pan/tilt is used for Equipped with a camera; the method includes:
    检测到所述云台系统产生模式切换;It is detected that the pan-tilt system has a mode switch;
    获取所述云台系统的当前模式;Acquiring the current mode of the pan-tilt system;
    根据所述当前模式对应的所述摇杆的控制信号与云台关节角之间的映射策略,控制所述云台转动;Controlling the rotation of the pan/tilt head according to the mapping strategy between the control signal of the joystick and the joint angle of the pan/tilt head corresponding to the current mode;
    其中,不同模式的所述映射策略不相同。Wherein, the mapping strategies of different modes are different.
  2. 根据权利要求1所述的方法,其特征在于,所述当前模式包括以下中的一种:The method according to claim 1, wherein the current mode includes one of the following:
    正拍模式、倒拍模式、下手电筒模式、上手电筒模式、左拍摄模式、右拍摄模式、反正拍模式、反倒拍模式、反下手电筒模式、反上手电筒模式;Forward shooting mode, reverse shooting mode, down flashlight mode, upper flashlight mode, left shooting mode, right shooting mode, anyway shooting mode, reverse shooting mode, reverse flashlight mode, reverse flashlight mode;
    其中,所述云台系统处于所述左拍摄模式时,所述拍摄装置位于所述基座的左侧;Wherein, when the pan/tilt system is in the left shooting mode, the shooting device is located on the left side of the base;
    所述云台系统处于所述右拍摄模式时,所述拍摄装置位于所述基座的右侧。When the pan/tilt system is in the right shooting mode, the shooting device is located on the right side of the base.
  3. 根据权利要求2所述的方法,其特征在于,所述控制信号包括以下至少一个:The method according to claim 2, wherein the control signal comprises at least one of the following:
    所述摇杆在第一平面输入的第一控制信号、所述摇杆在第二平面输入的第二控制信号;The first control signal input by the joystick on the first plane, and the second control signal input by the joystick on the second plane;
    其中,所述第一平面与所述第二平面正交,所述基座的延伸方向与所述第二平面平行。Wherein, the first plane is orthogonal to the second plane, and the extension direction of the base is parallel to the second plane.
  4. 根据权利要求2所述的方法,其特征在于,所述控制信号包括以下至少一个:The method according to claim 2, wherein the control signal comprises at least one of the following:
    所述摇杆的杆量映射到第一平面的第一控制信号、所述摇杆的杆量映射到第二平面的第二控制信号;The amount of the joystick is mapped to a first control signal on the first plane, and the amount of the joystick is mapped to a second control signal on the second plane;
    其中,所述第一平面与所述第二平面正交,所述基座的延伸方向与所述第二平面平行。Wherein, the first plane is orthogonal to the second plane, and the extension direction of the base is parallel to the second plane.
  5. 根据权利要求3或4所述的方法,其特征在于,当所述云台系统处于所述正拍模式、所述倒拍模式、所述反正拍模式或所述反倒拍模式时,所述第一平面为水平面,所述第二平面为竖直面。The method according to claim 3 or 4, wherein when the pan/tilt system is in the forward mode, the reverse mode, the reverse forward mode, or the reverse reverse mode, the first One plane is a horizontal plane, and the second plane is a vertical plane.
  6. 根据权利要求3或4所述的方法,其特征在于,当所述云台系统处于所述下手电筒模式、所述上手电筒模式、所述左拍摄模式、所述右拍摄模式、所述反下手电筒模式或所述反上手电筒模式时,所述第一平面为竖直面,所述第二平面为水平面。The method according to claim 3 or 4, wherein when the pan/tilt system is in the lower flashlight mode, the upper flashlight mode, the left shooting mode, the right shooting mode, the reverse down In the flashlight mode or the reverse flashlight mode, the first plane is a vertical plane, and the second plane is a horizontal plane.
  7. 根据权利要求3或4所述的方法,其特征在于,所述根据所述当前模式对应的所述摇杆的控制信号与云台关节角之间的映射策略,控制所述云台转动,包括:The method according to claim 3 or 4, wherein the controlling the rotation of the pan/tilt head according to the mapping strategy between the control signal of the joystick corresponding to the current mode and the joint angle of the pan/tilt head includes :
    根据所述第一控制信号的方向和/或所述第二控制信号的方向,确定云台对应轴的关节角的转动方向;Determining the rotation direction of the joint angle of the corresponding axis of the pan/tilt head according to the direction of the first control signal and/or the direction of the second control signal;
    根据所述转动方向,控制对应的关节角转动。According to the rotation direction, the corresponding joint angle is controlled to rotate.
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述第一控制信号的方向 和/或所述第二控制信号的方向,确定云台对应轴的关节角的转动方向,包括:The method according to claim 7, wherein the determining the rotation direction of the joint angle of the corresponding axis of the pan/tilt head according to the direction of the first control signal and/or the direction of the second control signal comprises:
    当所述拍摄装置与所述基座呈上下位置关系或左右位置关系时,根据所述第一控制信号的方向,确定所述云台的偏航关节角的转动方向,和/或,根据所述第二控制信号的方向,确定所述云台的俯仰关节角的转动方向。When the photographing device and the base are in an up-and-down positional relationship or a left-right positional relationship, the rotation direction of the yaw joint angle of the pan/tilt head is determined according to the direction of the first control signal, and/or, according to The direction of the second control signal determines the rotation direction of the pitch joint angle of the pan/tilt.
  9. 根据权利要求8所述的方法,其特征在于,所述当前模式为所述正拍模式或所述反倒拍模式,所述根据所述第一控制信号的方向,确定所述云台的偏航关节角的转动方向,包括:The method according to claim 8, wherein the current mode is the forward shooting mode or the reverse shooting mode, and the yaw of the pan/tilt is determined according to the direction of the first control signal The rotation direction of the joint angle includes:
    当所述第一控制信号的方向为第一方向时,确定所述云台的偏航关节角的转动方向为第一转动方向。When the direction of the first control signal is the first direction, it is determined that the rotation direction of the yaw joint angle of the pan/tilt is the first rotation direction.
  10. 根据权利要求8所述的方法,其特征在于,所述当前模式为所述正拍模式或所述反倒拍模式,所述根据所述第二控制信号的方向,确定所述云台的俯仰关节角的转动方向,包括:The method according to claim 8, wherein the current mode is the forward shooting mode or the reverse shooting mode, and the pitch joint of the pan/tilt head is determined according to the direction of the second control signal The direction of rotation of the angle includes:
    当所述第二控制信号的方向为第二方向时,确定所述云台的俯仰关节角的转动方向为第二转动方向。When the direction of the second control signal is the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt is the second rotation direction.
  11. 根据权利要求8所述的方法,其特征在于,所述当前模式为所述倒拍模式或所述反正拍模式,所述根据所述第一控制信号的方向,确定所述云台的偏航关节角的转动方向,包括:The method according to claim 8, wherein the current mode is the reverse shot mode or the reverse shot mode, and the yaw of the pan/tilt head is determined according to the direction of the first control signal The rotation direction of the joint angle includes:
    当所述第一控制信号的方向为第一方向时,确定所述云台的偏航关节角的转动方向为第一转动方向的相反方向。When the direction of the first control signal is the first direction, it is determined that the rotation direction of the yaw joint angle of the pan/tilt head is the opposite direction of the first rotation direction.
  12. 根据权利要求8所述的方法,其特征在于,所述当前模式为所述倒拍模式或所述反正拍模式,所述根据所述第二控制信号的方向,确定所述云台的俯仰关节角的转动方向,包括:The method according to claim 8, wherein the current mode is the reverse shot mode or the reverse shot mode, and the pitch joint of the pan/tilt head is determined according to the direction of the second control signal The direction of rotation of the angle includes:
    当所述第二控制信号的方向为第二方向时,确定所述云台的俯仰关节角的转动方向为第二转动方向的相反方向。When the direction of the second control signal is the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt head is the opposite direction of the second rotation direction.
  13. 根据权利要求8所述的方法,其特征在于,所述当前模式为左拍摄模式,所述根据所述第一控制信号的方向,确定所述云台的偏航关节角的转动方向,控制所述云台转动,包括:8. The method according to claim 8, wherein the current mode is a left shooting mode, and the rotation direction of the yaw joint angle of the pan/tilt is determined according to the direction of the first control signal, and all The rotation of the pan/tilt includes:
    当所述第一控制信号的方向为第一方向时,确定所述云台的偏航关节角的转动方向为第二转动方向的相反方向。When the direction of the first control signal is the first direction, it is determined that the rotation direction of the yaw joint angle of the pan/tilt head is the opposite direction of the second rotation direction.
  14. 根据权利要求8所述的方法,其特征在于,所述当前模式为左拍摄模式,所述根据所述第二控制信号的方向,确定所述云台的俯仰关节角的转动方向,包括:The method according to claim 8, wherein the current mode is a left shooting mode, and the determining the rotation direction of the pitch joint angle of the pan/tilt according to the direction of the second control signal comprises:
    当所述第二控制信号的方向为第二方向时,确定所述云台的俯仰关节角的转动方向为第一转动方向。When the direction of the second control signal is the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt head is the first rotation direction.
  15. 根据权利要求8所述的方法,其特征在于,所述当前模式为右拍摄模式,所述根据所述第一控制信号的方向,确定所述云台的偏航关节角的转动方向,控制所述云台转动,包括:The method according to claim 8, wherein the current mode is a right shooting mode, and the rotation direction of the yaw joint angle of the pan/tilt head is determined according to the direction of the first control signal, and all The rotation of the pan/tilt includes:
    当所述第一控制信号的方向为第一方向时,确定所述云台的偏航关节角的转动方向为第二转动方向。When the direction of the first control signal is the first direction, it is determined that the rotation direction of the yaw joint angle of the pan/tilt is the second rotation direction.
  16. 根据权利要求8所述的方法,其特征在于,所述当前模式为右拍摄模式,所述根据所述第二控制信号的方向,确定所述云台的俯仰关节角的转动方向,包括:The method according to claim 8, wherein the current mode is a right shooting mode, and the determining the rotation direction of the pitch joint angle of the pan/tilt according to the direction of the second control signal comprises:
    当所述第二控制信号的方向为第二方向时,确定所述云台的俯仰关节角的转动方向为第一转动方向的相反方向。When the direction of the second control signal is the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt head is the opposite direction of the first rotation direction.
  17. 根据权利要求7所述的方法,其特征在于,所述根据所述第一控制信号的方向和/或所述第二控制信号的方向,确定云台对应轴的关节角的转动方向,包括:The method according to claim 7, wherein the determining the rotation direction of the joint angle of the corresponding axis of the pan/tilt head according to the direction of the first control signal and/or the direction of the second control signal comprises:
    当所述拍摄装置与所述基座呈前后位置关系时,根据所述第一控制信号的方向,确定所述云台的横滚关节角的转动方向,和/或,根据所述第二控制信号的方向,确定所述云台的俯仰关节角的转动方向。When the photographing device and the base are in a front-to-back positional relationship, the rotation direction of the roll joint angle of the pan/tilt head is determined according to the direction of the first control signal, and/or, according to the second control The direction of the signal determines the direction of rotation of the pitch joint angle of the pan/tilt.
  18. 根据权利要求17所述的方法,其特征在于,所述当前模式为所述下手电筒模式、所述上手电筒模式、所述反下手电筒模式和所述反上手电筒模式中的一个,所述根据所述第一控制信号的方向,确定所述云台的横滚关节角的转动方向,包括:The method according to claim 17, wherein the current mode is one of the lower flashlight mode, the upper flashlight mode, the reverse flashlight mode, and the reverse flashlight mode, and the according to The direction of the first control signal to determine the rotation direction of the roll joint angle of the pan/tilt includes:
    当所述第一控制信号的方向为第一方向时,确定所述云台的横滚关节角的转动方向为第一转动方向。When the direction of the first control signal is the first direction, it is determined that the rotation direction of the roll joint angle of the pan/tilt head is the first rotation direction.
  19. 根据权利要求17所述的方法,其特征在于,所述当前模式为所述下手电筒模式、所述上手电筒模式、所述反下手电筒模式和所述反上手电筒模式中的一个,所述根据所述第二控制信号的方向,确定所述云台的俯仰关节角的转动方向,包括:The method according to claim 17, wherein the current mode is one of the lower flashlight mode, the upper flashlight mode, the reverse flashlight mode, and the reverse flashlight mode, and the according to The direction of the second control signal to determine the rotation direction of the pitch joint angle of the pan/tilt head includes:
    当所述第二控制信号的方向为第二方向时,确定所述云台的俯仰关节角的转动方向为第二转动方向。When the direction of the second control signal is the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt is the second rotation direction.
  20. 根据权利要求9、11、14、16或18所述的方法,其特征在于,所述第一转动方向为顺时针方向。The method according to claim 9, 11, 14, 16 or 18, wherein the first rotation direction is a clockwise direction.
  21. 根据权利要求10、12、13、15或19所述的方法,其特征在于,所述第二转动方向为朝下的方向。The method according to claim 10, 12, 13, 15 or 19, wherein the second rotation direction is a downward direction.
  22. 根据权利要求2所述的方法,其特征在于,所述检测到所述云台系统产生模式切换,包括:The method according to claim 2, wherein the detecting that the pan-tilt system has a mode switch comprises:
    检测到所述云台系统由所述正拍模式切换至所述下手电筒模式、所述上手电筒模式、所述左拍摄模式或所述右拍摄模式;或者It is detected that the pan/tilt system has switched from the forward shooting mode to the lower flashlight mode, the upper flashlight mode, the left shooting mode, or the right shooting mode; or
    检测到所述云台系统由所述倒拍模式切换至所述下手电筒模式、所述上手电筒模式、所述左拍摄模式、所述右拍摄模式或所述反倒拍模式;或者It is detected that the pan/tilt system has switched from the reverse shooting mode to the lower flashlight mode, the upper flashlight mode, the left shooting mode, the right shooting mode, or the reverse shooting mode; or
    检测到所述云台系统由所述下手电筒模式切换至所述正拍模式、所述倒拍模式、所述左拍摄模式或所述右拍摄模式;或者It is detected that the pan/tilt system is switched from the down flashlight mode to the forward shooting mode, the reverse shooting mode, the left shooting mode, or the right shooting mode; or
    检测到所述云台系统由所述上手电筒模式切换至所述正拍模式、所述倒拍模式、 所述左拍摄模式或所述右拍摄模式;或者It is detected that the pan/tilt system has switched from the upper flashlight mode to the forward shooting mode, the reverse shooting mode, the left shooting mode, or the right shooting mode; or
    检测到所述云台系统由所述左拍摄模式切换至所述正拍模式、所述倒拍模式、所述下手电筒模式、所述上手电筒模式、所述右拍摄模式、所述反正拍模式、所述反倒拍模式、所述反下手电筒模式或所述反上手电筒模式;或者It is detected that the pan/tilt system has switched from the left shooting mode to the forward shooting mode, the reverse shooting mode, the lower flashlight mode, the upper flashlight mode, the right shooting mode, and the anyway shooting mode , The reverse shooting mode, the reverse flashlight mode, or the reverse flashlight mode; or
    检测到所述云台系统由所述右拍摄模式切换至所述正拍模式、所述倒拍模式、所述下手电筒模式、所述上手电筒模式或所述左拍摄模式;或者It is detected that the pan/tilt system has switched from the right shooting mode to the forward shooting mode, the reverse shooting mode, the lower flashlight mode, the upper flashlight mode, or the left shooting mode; or
    检测到所述云台系统由所述反正拍摄模式切换至所述左拍摄模式、所述反下手电筒模式或所述反上手电筒模式;或者It is detected that the pan/tilt system is switched from the anyway shooting mode to the left shooting mode, the reverse flashlight mode, or the reverse flashlight mode; or
    检测到所述云台系统由所述反倒拍模式切换至所述左拍摄模式、所述反下手电筒模式或所述反上手电筒模式;或者It is detected that the pan/tilt system has switched from the reverse shooting mode to the left shooting mode, the reverse flashlight mode, or the reverse flashlight mode; or
    检测到所述云台系统由所述反下手电筒模式切换至所述左拍摄模式、所述反正拍模式或所述反倒拍模式;或者It is detected that the pan/tilt system has switched from the reverse flashlight mode to the left shooting mode, the anyway shooting mode, or the reversed shooting mode; or
    检测到所述云台系统由所述反上手电筒模式切换至所述左拍摄模式、所述反正拍模式或所述反倒拍模式。It is detected that the pan/tilt system is switched from the reverse flashlight mode to the left shooting mode, the anyway shooting mode, or the reversed shooting mode.
  23. 根据权利要求1所述的方法,其特征在于,所述获取所述云台系统的当前模式,包括:The method according to claim 1, wherein the obtaining the current mode of the pan-tilt system comprises:
    获取所述拍摄装置的第一姿态信息以及所述基座的第二姿态信息;Acquiring first posture information of the photographing device and second posture information of the base;
    根据所述第一姿态信息以及所述第二姿态信息,确定所述云台系统的当前模式。Determine the current mode of the pan-tilt system according to the first posture information and the second posture information.
  24. 根据权利要求23所述的方法,其特征在于,所述根据所述第一姿态信息以及所述第二姿态信息,确定所述云台系统的当前模式,包括:The method according to claim 23, wherein the determining the current mode of the pan/tilt system according to the first posture information and the second posture information comprises:
    根据所述第一姿态信息以及所述第二姿态信息,确定所述拍摄装置和所述基座的位置关系;Determine the positional relationship between the photographing device and the base according to the first posture information and the second posture information;
    根据所述位置关系,确定所述云台系统的当前模式。According to the position relationship, the current mode of the pan-tilt system is determined.
  25. 根据权利要求1所述的方法,其特征在于,所述云台系统为手持云台,所述基座为所述手持云台的手柄。The method according to claim 1, wherein the pan/tilt system is a handheld pan/tilt, and the base is a handle of the handheld pan/tilt.
  26. 一种云台系统,其特征在于,所述云台系统包括:A pan-tilt system, characterized in that the pan-tilt system includes:
    基座;Base
    设置于所述基座上的云台,所述云台用于搭载拍摄装置;A pan/tilt mounted on the base, where the pan/tilt is used to carry a camera;
    用于控制所述云台的摇杆;和A joystick for controlling the pan/tilt; and
    设于基座的控制器,与所述云台和所述摇杆分别通信连接,所述控制器被配置为用于:The controller provided on the base is respectively communicatively connected with the pan-tilt and the rocker, and the controller is configured to:
    检测到所述云台系统产生模式切换;It is detected that the pan-tilt system has a mode switch;
    获取所述云台系统的当前模式;Acquiring the current mode of the pan-tilt system;
    根据所述当前模式对应的所述摇杆的控制信号与云台关节角之间的映射策略,控制所述云台转动;Controlling the rotation of the pan/tilt head according to the mapping strategy between the control signal of the joystick and the joint angle of the pan/tilt head corresponding to the current mode;
    其中,不同模式的所述映射策略不相同。Wherein, the mapping strategies of different modes are different.
  27. 根据权利要求26所述的云台系统,其特征在于,所述当前模式包括以下中的一种:The pan-tilt system according to claim 26, wherein the current mode includes one of the following:
    正拍模式、倒拍模式、下手电筒模式、上手电筒模式、左拍摄模式、右拍摄模式、反正拍模式、反倒拍模式、反下手电筒模式、反上手电筒模式;Forward shooting mode, reverse shooting mode, down flashlight mode, upper flashlight mode, left shooting mode, right shooting mode, anyway shooting mode, reverse shooting mode, reverse flashlight mode, reverse flashlight mode;
    其中,所述云台系统处于所述左拍摄模式时,所述拍摄装置位于所述基座的左侧;Wherein, when the pan/tilt system is in the left shooting mode, the shooting device is located on the left side of the base;
    所述云台系统处于所述右拍摄模式时,所述拍摄装置位于所述基座的右侧。When the pan/tilt system is in the right shooting mode, the shooting device is located on the right side of the base.
  28. 根据权利要求27所述的云台系统,其特征在于,所述控制信号包括以下至少一个:The pan-tilt system according to claim 27, wherein the control signal comprises at least one of the following:
    所述摇杆在第一平面输入的第一控制信号、所述摇杆在第二平面输入的第二控制信号;The first control signal input by the joystick on the first plane, and the second control signal input by the joystick on the second plane;
    其中,所述第一平面与所述第二平面正交,所述基座的延伸方向与所述第二平面平行。Wherein, the first plane is orthogonal to the second plane, and the extension direction of the base is parallel to the second plane.
  29. 根据权利要求27所述的云台系统,其特征在于,所述控制信号包括以下至少一个:The pan-tilt system according to claim 27, wherein the control signal comprises at least one of the following:
    所述摇杆的杆量映射到第一平面的第一控制信号、所述摇杆的杆量映射到第二平面的第二控制信号;The amount of the joystick is mapped to a first control signal on the first plane, and the amount of the joystick is mapped to a second control signal on the second plane;
    其中,所述第一平面与所述第二平面正交,所述基座的延伸方向与所述第二平面平行。Wherein, the first plane is orthogonal to the second plane, and the extension direction of the base is parallel to the second plane.
  30. 根据权利要求28或29所述的云台系统,其特征在于,当所述云台系统处于所述正拍模式、所述倒拍模式、所述反正拍模式或所述反倒拍模式时,所述第一平面为水平面,所述第二平面为竖直面。The pan/tilt system according to claim 28 or 29, wherein when the pan/tilt system is in the forward mode, the reverse mode, the anyway mode, or the reverse mode, The first plane is a horizontal plane, and the second plane is a vertical plane.
  31. 根据权利要求28或29所述的云台系统,其特征在于,当所述云台系统处于所述下手电筒模式、所述上手电筒模式、所述左拍摄模式、所述右拍摄模式、所述反下手电筒模式或所述反上手电筒模式时,所述第一平面为竖直面,所述第二平面为水平面。The pan/tilt system according to claim 28 or 29, wherein when the pan/tilt system is in the lower flashlight mode, the upper flashlight mode, the left shooting mode, the right shooting mode, the In the reverse flashlight mode or the reverse flashlight mode, the first plane is a vertical plane, and the second plane is a horizontal plane.
  32. 根据权利要求28或29所述的云台系统,其特征在于,所述控制器在根据所 述当前模式对应的所述摇杆的控制信号与云台关节角之间的映射策略,控制所述云台转动时,被配置为用于:The pan/tilt system according to claim 28 or 29, wherein the controller controls the control signal according to the mapping strategy between the control signal of the joystick corresponding to the current mode and the joint angle of the pan/tilt. When the gimbal rotates, it is configured to:
    根据所述第一控制信号的方向和/或所述第二控制信号的方向,确定云台对应轴的关节角的转动方向;Determining the rotation direction of the joint angle of the corresponding axis of the pan/tilt head according to the direction of the first control signal and/or the direction of the second control signal;
    根据所述转动方向,控制对应的关节角转动。According to the rotation direction, the corresponding joint angle is controlled to rotate.
  33. 根据权利要求32所述的云台系统,其特征在于,所述控制器在根据所述第一控制信号的方向和/或所述第二控制信号的方向,确定云台对应轴的关节角的转动方向时,被配置为用于:The pan/tilt system according to claim 32, wherein the controller determines the joint angle of the corresponding axis of the pan/tilt according to the direction of the first control signal and/or the direction of the second control signal. When turning direction, it is configured for:
    当所述拍摄装置与所述基座呈上下位置关系或左右位置关系时,根据所述第一控制信号的方向,确定所述云台的偏航关节角的转动方向,和/或,根据所述第二控制信号的方向,确定所述云台的俯仰关节角的转动方向。When the photographing device and the base are in an up-and-down positional relationship or a left-right positional relationship, the rotation direction of the yaw joint angle of the pan/tilt head is determined according to the direction of the first control signal, and/or, according to The direction of the second control signal determines the rotation direction of the pitch joint angle of the pan/tilt.
  34. 根据权利要求33所述的云台系统,其特征在于,所述当前模式为所述正拍模式或所述反倒拍模式,所述控制器在根据所述第一控制信号的方向,确定所述云台的偏航关节角的转动方向时,被配置为用于:The pan-tilt system according to claim 33, wherein the current mode is the forward shooting mode or the reverse shooting mode, and the controller determines the direction according to the first control signal When the rotation direction of the yaw joint angle of the gimbal is configured to:
    当所述第一控制信号的方向为第一方向时,确定所述云台的偏航关节角的转动方向为第一转动方向。When the direction of the first control signal is the first direction, it is determined that the rotation direction of the yaw joint angle of the pan/tilt is the first rotation direction.
  35. 根据权利要求33所述的云台系统,其特征在于,所述当前模式为所述正拍模式或所述反倒拍模式,所述控制器在根据所述第二控制信号的方向,确定所述云台的俯仰关节角的转动方向时,被配置为用于:The pan/tilt head system according to claim 33, wherein the current mode is the forward shooting mode or the reverse shooting mode, and the controller determines the direction according to the second control signal When the rotation direction of the pitch joint angle of the gimbal is configured to:
    当所述第二控制信号的方向为第二方向时,确定所述云台的俯仰关节角的转动方向为第二转动方向。When the direction of the second control signal is the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt is the second rotation direction.
  36. 根据权利要求33所述的云台系统,其特征在于,所述当前模式为所述倒拍模式或所述反正拍模式,所述控制器在根据所述第一控制信号的方向,确定所述云台的偏航关节角的转动方向时,被配置为用于:The pan-tilt system according to claim 33, wherein the current mode is the reverse shooting mode or the anyway shooting mode, and the controller determines the direction according to the first control signal When the rotation direction of the yaw joint angle of the gimbal is configured to:
    当所述第一控制信号的方向为第一方向时,确定所述云台的偏航关节角的转动方向为第一转动方向的相反方向。When the direction of the first control signal is the first direction, it is determined that the rotation direction of the yaw joint angle of the pan/tilt head is the opposite direction of the first rotation direction.
  37. 根据权利要求33所述的云台系统,其特征在于,所述当前模式为所述倒拍模式或所述反正拍模式,所述控制器在根据所述第二控制信号的方向,确定所述云台的俯仰关节角的转动方向时,被配置为用于:The pan-tilt system according to claim 33, wherein the current mode is the reverse shooting mode or the anyway shooting mode, and the controller determines the direction according to the second control signal When the rotation direction of the pitch joint angle of the gimbal is configured to:
    当所述第二控制信号的方向为第二方向时,确定所述云台的俯仰关节角的转动方向为第二转动方向的相反方向。When the direction of the second control signal is the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt head is the opposite direction of the second rotation direction.
  38. 根据权利要求33所述的云台系统,其特征在于,所述当前模式为左拍摄模式,所述控制器在根据所述第一控制信号的方向,确定所述云台的偏航关节角的转动方向,控制所述云台转动时,被配置为用于:The pan/tilt system of claim 33, wherein the current mode is a left shooting mode, and the controller determines the yaw joint angle of the pan/tilt according to the direction of the first control signal. The direction of rotation, when controlling the rotation of the pan/tilt, is configured to:
    当所述第一控制信号的方向为第一方向时,确定所述云台的偏航关节角的转动方向为第二转动方向的相反方向。When the direction of the first control signal is the first direction, it is determined that the rotation direction of the yaw joint angle of the pan/tilt head is the opposite direction of the second rotation direction.
  39. 根据权利要求33所述的云台系统,其特征在于,所述当前模式为左拍摄模式,所述控制器在根据所述第二控制信号的方向,确定所述云台的俯仰关节角的转动方向时,被配置为用于:The pan-tilt system according to claim 33, wherein the current mode is a left shooting mode, and the controller determines the rotation of the pitch joint angle of the pan-tilt according to the direction of the second control signal When the direction, it is configured for:
    当所述第二控制信号的方向为第二方向时,确定所述云台的俯仰关节角的转动方向为第一转动方向。When the direction of the second control signal is the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt head is the first rotation direction.
  40. 根据权利要求33所述的云台系统,其特征在于,所述当前模式为右拍摄模式,所述控制器在根据所述第一控制信号的方向,确定所述云台的偏航关节角的转动方向,控制所述云台转动时,被配置为用于:The pan/tilt system of claim 33, wherein the current mode is a right shooting mode, and the controller determines the yaw joint angle of the pan/tilt according to the direction of the first control signal. The direction of rotation, when controlling the rotation of the pan/tilt, is configured to:
    当所述第一控制信号的方向为第一方向时,确定所述云台的偏航关节角的转动方向为第二转动方向。When the direction of the first control signal is the first direction, it is determined that the rotation direction of the yaw joint angle of the pan/tilt is the second rotation direction.
  41. 根据权利要求33所述的云台系统,其特征在于,所述当前模式为右拍摄模式,所述控制器在根据所述第二控制信号的方向,确定所述云台的俯仰关节角的转动方向时,被配置为用于:The pan-tilt system according to claim 33, wherein the current mode is a right shooting mode, and the controller determines the rotation of the pitch joint angle of the pan-tilt according to the direction of the second control signal When the direction, it is configured for:
    当所述第二控制信号的方向为第二方向时,确定所述云台的俯仰关节角的转动方向为第一转动方向的相反方向。When the direction of the second control signal is the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt head is the opposite direction of the first rotation direction.
  42. 根据权利要求32所述的云台系统,其特征在于,所述控制器在根据所述第一控制信号的方向和/或所述第二控制信号的方向,确定云台对应轴的关节角的转动方向时,被配置为用于:The pan/tilt system according to claim 32, wherein the controller determines the joint angle of the corresponding axis of the pan/tilt according to the direction of the first control signal and/or the direction of the second control signal. When turning direction, it is configured for:
    当所述拍摄装置与所述基座呈前后位置关系时,根据所述第一控制信号的方向,确定所述云台的横滚关节角的转动方向,和/或,根据所述第二控制信号的方向,确定所述云台的俯仰关节角的转动方向。When the photographing device and the base are in a front-to-back positional relationship, the rotation direction of the roll joint angle of the pan/tilt head is determined according to the direction of the first control signal, and/or, according to the second control The direction of the signal determines the direction of rotation of the pitch joint angle of the pan/tilt.
  43. 根据权利要求42所述的云台系统,其特征在于,所述当前模式为所述下手电筒模式、所述上手电筒模式、所述反下手电筒模式和所述反上手电筒模式中的一个,所述控制器在根据所述第一控制信号的方向,确定所述云台的横滚关节角的转动方向时,被配置为用于:The pan/tilt system according to claim 42, wherein the current mode is one of the lower flashlight mode, the upper flashlight mode, the reverse flashlight mode, and the reverse flashlight mode. When determining the rotation direction of the roll joint angle of the pan/tilt head according to the direction of the first control signal, the controller is configured to:
    当所述第一控制信号的方向为第一方向时,确定所述云台的横滚关节角的转动方 向为第一转动方向。When the direction of the first control signal is the first direction, it is determined that the rotation direction of the roll joint angle of the pan/tilt head is the first rotation direction.
  44. 根据权利要求42所述的云台系统,其特征在于,所述当前模式为所述下手电筒模式、所述上手电筒模式、所述反下手电筒模式和所述反上手电筒模式中的一个,所述控制器在根据所述第二控制信号的方向,确定所述云台的俯仰关节角的转动方向时,被配置为用于:The pan/tilt system according to claim 42, wherein the current mode is one of the lower flashlight mode, the upper flashlight mode, the reverse flashlight mode, and the reverse flashlight mode. When determining the rotation direction of the pitch joint angle of the pan/tilt according to the direction of the second control signal, the controller is configured to:
    当所述第二控制信号的方向为第二方向时,确定所述云台的俯仰关节角的转动方向为第二转动方向。When the direction of the second control signal is the second direction, it is determined that the rotation direction of the pitch joint angle of the pan/tilt is the second rotation direction.
  45. 根据权利要求34、36、39、41或43所述的云台系统,其特征在于,所述第一转动方向为顺时针方向。The pan-tilt system according to claim 34, 36, 39, 41 or 43, wherein the first rotation direction is a clockwise direction.
  46. 根据权利要求35、37、38、40或44所述的云台系统,其特征在于,所述第二转动方向为朝下的方向。The pan-tilt system according to claim 35, 37, 38, 40 or 44, wherein the second rotation direction is a downward direction.
  47. 根据权利要求27所述的云台系统,其特征在于,所述控制器在检测到所述云台系统产生模式切换时,被配置为用于:The pan/tilt system according to claim 27, wherein the controller is configured to: when detecting that the pan/tilt system has a mode switch:
    检测到所述云台系统由所述正拍模式切换至所述下手电筒模式、所述上手电筒模式、所述左拍摄模式或所述右拍摄模式;或者It is detected that the pan/tilt system has switched from the forward shooting mode to the lower flashlight mode, the upper flashlight mode, the left shooting mode, or the right shooting mode; or
    检测到所述云台系统由所述倒拍模式切换至所述下手电筒模式、所述上手电筒模式、所述左拍摄模式、所述右拍摄模式或所述反倒拍模式;或者It is detected that the pan/tilt system has switched from the reverse shooting mode to the lower flashlight mode, the upper flashlight mode, the left shooting mode, the right shooting mode, or the reverse shooting mode; or
    检测到所述云台系统由所述下手电筒模式切换至所述正拍模式、所述倒拍模式、所述左拍摄模式或所述右拍摄模式;或者It is detected that the pan/tilt system is switched from the down flashlight mode to the forward shooting mode, the reverse shooting mode, the left shooting mode, or the right shooting mode; or
    检测到所述云台系统由所述上手电筒模式切换至所述正拍模式、所述倒拍模式、所述左拍摄模式或所述右拍摄模式;或者It is detected that the pan/tilt system is switched from the upper flashlight mode to the forward shooting mode, the reverse shooting mode, the left shooting mode, or the right shooting mode; or
    检测到所述云台系统由所述左拍摄模式切换至所述正拍模式、所述倒拍模式、所述下手电筒模式、所述上手电筒模式、所述右拍摄模式、所述反正拍模式、所述反倒拍模式、所述反下手电筒模式或所述反上手电筒模式;或者It is detected that the pan/tilt system has switched from the left shooting mode to the forward shooting mode, the reverse shooting mode, the lower flashlight mode, the upper flashlight mode, the right shooting mode, and the anyway shooting mode , The reverse shooting mode, the reverse flashlight mode, or the reverse flashlight mode; or
    检测到所述云台系统由所述右拍摄模式切换至所述正拍模式、所述倒拍模式、所述下手电筒模式、所述上手电筒模式或所述左拍摄模式;或者It is detected that the pan/tilt system has switched from the right shooting mode to the forward shooting mode, the reverse shooting mode, the lower flashlight mode, the upper flashlight mode, or the left shooting mode; or
    检测到所述云台系统由所述反正拍摄模式切换至所述左拍摄模式、所述反下手电筒模式或所述反上手电筒模式;或者It is detected that the pan/tilt system is switched from the anyway shooting mode to the left shooting mode, the reverse flashlight mode, or the reverse flashlight mode; or
    检测到所述云台系统由所述反倒拍模式切换至所述左拍摄模式、所述反下手电筒模式或所述反上手电筒模式;或者It is detected that the pan/tilt system has switched from the reverse shooting mode to the left shooting mode, the reverse flashlight mode, or the reverse flashlight mode; or
    检测到所述云台系统由所述反下手电筒模式切换至所述左拍摄模式、所述反正拍 模式或所述反倒拍模式;或者It is detected that the pan/tilt system has switched from the reverse flashlight mode to the left shooting mode, the anyway shooting mode, or the reversed shooting mode; or
    检测到所述云台系统由所述反上手电筒模式切换至所述左拍摄模式、所述反正拍模式或所述反倒拍模式。It is detected that the pan/tilt system is switched from the reverse flashlight mode to the left shooting mode, the anyway shooting mode, or the reversed shooting mode.
  48. 根据权利要求26所述的云台系统,其特征在于,所述控制器在获取所述云台系统的当前模式时,被配置为用于:The pan/tilt system according to claim 26, wherein the controller is configured to: when acquiring the current mode of the pan/tilt system:
    获取所述拍摄装置的第一姿态信息以及所述基座的第二姿态信息;Acquiring first posture information of the photographing device and second posture information of the base;
    根据所述第一姿态信息以及所述第二姿态信息,确定所述云台系统的当前模式。Determine the current mode of the pan-tilt system according to the first posture information and the second posture information.
  49. 根据权利要求48所述的云台系统,其特征在于,所述控制器在根据所述第一姿态信息以及所述第二姿态信息,确定所述云台系统的当前模式时,被配置为用于:The pan-tilt system according to claim 48, wherein the controller is configured to use when determining the current mode of the pan-tilt system according to the first posture information and the second posture information in:
    根据所述第一姿态信息以及所述第二姿态信息,确定所述拍摄装置和所述基座的位置关系;Determine the positional relationship between the photographing device and the base according to the first posture information and the second posture information;
    根据所述位置关系,确定所述云台系统的当前模式。According to the position relationship, the current mode of the pan-tilt system is determined.
  50. 根据权利要求26所述的云台系统,其特征在于,所述云台系统为手持云台,所述基座为所述手持云台的手柄。The pan/tilt system of claim 26, wherein the pan/tilt system is a handheld pan/tilt, and the base is a handle of the handheld pan/tilt.
PCT/CN2019/100358 2019-08-13 2019-08-13 Cradle head system and control method therefor WO2021026760A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/100358 WO2021026760A1 (en) 2019-08-13 2019-08-13 Cradle head system and control method therefor
CN201980031010.2A CN112119362A (en) 2019-08-13 2019-08-13 Holder system and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/100358 WO2021026760A1 (en) 2019-08-13 2019-08-13 Cradle head system and control method therefor

Publications (1)

Publication Number Publication Date
WO2021026760A1 true WO2021026760A1 (en) 2021-02-18

Family

ID=73799621

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/100358 WO2021026760A1 (en) 2019-08-13 2019-08-13 Cradle head system and control method therefor

Country Status (2)

Country Link
CN (1) CN112119362A (en)
WO (1) WO2021026760A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022241756A1 (en) * 2021-05-21 2022-11-24 深圳市大疆创新科技有限公司 Gimbal control method and robotic arm

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180095345A1 (en) * 2014-12-12 2018-04-05 Chips Unlimited, Inc. Systems and methods for mounting photographic equipment
CN107975661A (en) * 2015-09-29 2018-05-01 深圳市大疆灵眸科技有限公司 Handle holder and its control method
CN108475074A (en) * 2017-04-10 2018-08-31 深圳市大疆创新科技有限公司 Holder follow-up control method and control device
CN109642701A (en) * 2018-11-15 2019-04-16 深圳市大疆创新科技有限公司 The control method of hand-held holder and hand-held holder
CN109803088A (en) * 2016-05-31 2019-05-24 深圳市大疆灵眸科技有限公司 Cloud platform control method, device and holder

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008153842A (en) * 2006-12-15 2008-07-03 Hitachi Kokusai Electric Inc Monitor system
CN105611155B (en) * 2015-12-22 2019-01-01 深圳市浩瀚卓越科技有限公司 A kind of method that hand-held cradle head control mobile terminal is photographed and hand-held holder
CN106200692A (en) * 2016-08-11 2016-12-07 零度智控(北京)智能科技有限公司 Ground cloud platform control method, device and ground The Cloud Terrace
CN206407158U (en) * 2017-01-13 2017-08-15 东莞市银燕电气科技有限公司 A kind of head aircraft
CN109196266B (en) * 2017-09-25 2020-09-01 深圳市大疆灵眸科技有限公司 Control method of holder, holder controller and holder
KR102387819B1 (en) * 2017-12-27 2022-04-15 에스지 디제이아이 테크놀러지 코., 엘티디 How to switch gimbal operating mode, controller and image stabilization device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180095345A1 (en) * 2014-12-12 2018-04-05 Chips Unlimited, Inc. Systems and methods for mounting photographic equipment
CN107975661A (en) * 2015-09-29 2018-05-01 深圳市大疆灵眸科技有限公司 Handle holder and its control method
CN109803088A (en) * 2016-05-31 2019-05-24 深圳市大疆灵眸科技有限公司 Cloud platform control method, device and holder
CN108475074A (en) * 2017-04-10 2018-08-31 深圳市大疆创新科技有限公司 Holder follow-up control method and control device
CN109642701A (en) * 2018-11-15 2019-04-16 深圳市大疆创新科技有限公司 The control method of hand-held holder and hand-held holder

Also Published As

Publication number Publication date
CN112119362A (en) 2020-12-22

Similar Documents

Publication Publication Date Title
US11560920B2 (en) Gimbal for image capturing
WO2020233683A1 (en) Gimbal control method and apparatus, control terminal and aircraft system
CN111213002B (en) Cloud deck control method, equipment, cloud deck, system and storage medium
CN111279113B (en) Handheld holder control method and handheld holder
WO2017020150A1 (en) Image processing method, device and camera
WO2022032538A1 (en) Panorama photographing method, apparatus and system, and computer-readable storage medium
WO2018035764A1 (en) Method for taking wide-angle pictures, device, cradle heads, unmanned aerial vehicle and robot
WO2019227384A1 (en) Pan-tilt control method and pan-tilt
WO2020097890A1 (en) Method for controlling handheld gimbal, and handheld gimbal
WO2021134644A1 (en) Gimbal control method and gimbal
CN113875222B (en) Shooting control method and device, unmanned aerial vehicle and computer readable storage medium
WO2020062281A1 (en) Cradle head control method, cradle head, movable platform and readable storage medium
WO2021026790A1 (en) Handheld gimbal, gimbal control method, and computer readable storage medium
WO2021026760A1 (en) Cradle head system and control method therefor
WO2019227410A1 (en) Attitude conversion method, attitude display method, and pan-tilt system
WO2020107284A1 (en) Mode switching method and device for tripod head, movable platform, and storage medium
WO2021168821A1 (en) Mobile platform control method and device
CN110785726A (en) Control method of holder, handheld holder and handheld equipment
WO2021051302A1 (en) Handheld gimbal and control method therefor
WO2022109860A1 (en) Target object tracking method and gimbal
WO2020237570A1 (en) Control method and device for gimbal, handheld gimbal and storage medium
WO2022253018A1 (en) Video display method and display system based on unmanned aerial vehicle viewing angle
WO2021146908A1 (en) Gimbal and control method therefor
WO2021134643A1 (en) Method for controlling cradle head and cradle head
WO2021217371A1 (en) Control method and apparatus for movable platform

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

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

Country of ref document: EP

Kind code of ref document: A1