WO2021102797A1 - Gimbal control method, control device, and control system - Google Patents

Gimbal control method, control device, and control system Download PDF

Info

Publication number
WO2021102797A1
WO2021102797A1 PCT/CN2019/121595 CN2019121595W WO2021102797A1 WO 2021102797 A1 WO2021102797 A1 WO 2021102797A1 CN 2019121595 W CN2019121595 W CN 2019121595W WO 2021102797 A1 WO2021102797 A1 WO 2021102797A1
Authority
WO
WIPO (PCT)
Prior art keywords
pan
tilt
motion
target
acceleration
Prior art date
Application number
PCT/CN2019/121595
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/121595 priority Critical patent/WO2021102797A1/en
Priority to CN201980038390.2A priority patent/CN112292650A/en
Publication of WO2021102797A1 publication Critical patent/WO2021102797A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D13/00Control of linear speed; Control of angular speed; Control of acceleration or deceleration, e.g. of a prime mover
    • G05D13/62Control of linear speed; Control of angular speed; Control of acceleration or deceleration, e.g. of a prime mover characterised by the use of electric means, e.g. use of a tachometric dynamo, use of a transducer converting an electric value into a displacement

Definitions

  • the present invention relates to the field of electronic technology, in particular to a pan-tilt control method, control device and control system.
  • the motion state of the pan/tilt is relatively stable compared to the mobile platform.
  • the mobile platform accelerates in the direction close to the target scene, but no matter how fast the mobile platform is, the gimbal will raise the pitch angle at a preset fixed speed; another example is on the mobile platform.
  • the mobile platform moves at a constant speed around the target scene.
  • the gimbal raises the pitch angle at a preset fixed speed.
  • the speed of the mobile platform does not closely match the speed of the pan/tilt (such as the rotation speed), which makes the shooting effect of the mobile platform poor.
  • the embodiment of the present invention provides a pan/tilt control method, control device and control system, which can dynamically adjust the movement speed of the pan/tilt.
  • an embodiment of the present invention provides a pan-tilt control method.
  • the pan-tilt is set on a mobile platform, and the method includes:
  • the current motion mode is selected from a plurality of motion modes through a detected motion mode selection operation, wherein the Multiple motion modes correspond to respective reference coefficients of the motion state of the pan/tilt head;
  • the pan-tilt is controlled according to the target motion state parameter.
  • an embodiment of the present invention provides a control device, the control device includes a processor and a memory, the memory and the processor are connected to each other, wherein:
  • the memory is used to store a computer program, and the computer program includes program instructions
  • the processor is used to execute when calling the program instructions:
  • the current motion mode is selected from a plurality of motion modes through a detected motion mode selection operation, wherein the Multiple motion modes correspond to respective reference coefficients of the motion state of the pan/tilt head;
  • the pan-tilt is controlled according to the target motion state parameter.
  • an embodiment of the present invention also provides a device for controlling a pan-tilt, the device includes:
  • An acquisition module configured to acquire lever amount information used for motion control of the pan/tilt
  • the acquiring module is further configured to acquire the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform, and the current motion mode is selected from a plurality of motion modes through a detected motion mode selection operation , Wherein the multiple motion modes correspond to respective reference coefficients of the motion state of the pan/tilt head;
  • a determining module for the user to determine the target motion state parameter of the pan/tilt head according to the lever amount information and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode;
  • the control module is used to control the pan/tilt head according to the target motion state parameter.
  • an embodiment of the present invention also provides a control system.
  • the control system includes the control device, a pan/tilt, and a mobile platform described in the second aspect of the embodiment of the present invention.
  • the pan/tilt is set on the mobile platform.
  • the control device is used to control the pan-tilt during the movement of the mobile platform.
  • the embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned pan-tilt control method is implemented.
  • the control device may determine the target motion state of the pan/tilt head according to the acquired lever amount information used to control the movement of the pan/tilt head and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform Parameters, so that the control device can control the pan/tilt according to the target motion state parameters, so that the control device can automatically adjust the movement state of the pan/tilt according to the movement mode of the mobile platform, and the speed of the mobile platform in different movement modes can be more closely related to the speed of the pan/tilt. It can effectively improve the shooting effect of the mobile platform.
  • FIG. 1 is a schematic diagram of the architecture of a control system provided by an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for controlling a PTZ according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a process for obtaining a reference coefficient of a motion state according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a device for controlling a pan/tilt head provided by an embodiment of the present invention
  • Fig. 5 is a schematic structural diagram of a control device provided by an embodiment of the present invention.
  • the pan-tilt is a supporting device used to install and fix the camera and other task loads in the mobile platform. During the shooting process of the mobile platform, it can assist in rotating the camera or make sure that the camera can shoot images stably during the movement.
  • movable platforms such as drones can control the moving speed automatically or manually, and can set different motion modes for the mobile platform. Different motion modes are set with different moving speeds.
  • the movement mode and the lever amount information used to control the rotation speed of the gimbal are used to comprehensively control the movement of the gimbal, so that the movement of the gimbal under different movement modes and/or different lever amounts
  • the state is different, and the movement state of the pan/tilt includes the movement speed or movement acceleration of the pan/tilt.
  • the pan/tilt control method provided by the embodiments of the present invention can be executed by an independent control device, the control device may be a ground station or a remote control, etc., the mobile platform and the pan/tilt may include a communication interface for directly establishing a communication connection with the control device , Or a communication connection can be established between the PTZ and the mobile platform, and the PTZ communicates with the control device through the mobile platform.
  • the control device may also be set in a mobile platform or a pan/tilt, and process the received lever amount information sent by a ground controller or a user terminal to complete the control of the rotation speed of the pan/tilt.
  • the gimbal is set on a mobile platform, which can be a drone, an unmanned vehicle, an unmanned ship, etc.
  • the motion state reference coefficients can be set for the above-mentioned motion modes, and different motion state reference coefficients can be set for different sports modes, and the motion speed of the pan/tilt, or called the target motion state parameter, can be Calculated based on the lever amount and the reference coefficient of the motion state.
  • the motion state reference coefficient may include a speed coefficient or an acceleration coefficient, and the specific motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform may include a speed threshold or an acceleration threshold.
  • the mobile platform includes multiple motion modes, and the multiple motion modes correspond to the motion state reference coefficients of the respective pan/tilt heads, that is, the multiple motion modes of the mobile platform correspond to the speed thresholds or acceleration thresholds of the respective pan/tilt heads.
  • the target motion state parameter may include target speed or target acceleration.
  • FIG. 1 is a schematic structural diagram of a control system provided by an embodiment of the present invention.
  • the mobile platform is described by taking a drone as an example.
  • the control system may include: an unmanned aerial vehicle 101 and a remote control 102, and a pan/tilt 1011 is arranged on the unmanned aerial vehicle 101.
  • the remote control 102 can obtain the lever amount information used to control the movement of the pan/tilt 1011; the remote control 102
  • the reference coefficient of the motion state of the pan/tilt 1011 corresponding to the current motion mode of the UAV 101 can also be obtained.
  • the current motion mode of the UAV 101 is selected from multiple motion modes by the remote control 102 through the detected motion mode selection operation
  • the multiple motion modes of the drone 101 correspond to the respective motion state reference coefficients of the PTZ 1011; the remote control 102 according to the lever amount information and the motion state of the PTZ 1011 corresponding to the current motion mode of the drone 101
  • the target motion state parameters of the pan/tilt head 1011 are determined; the remote control 102 controls the pan/tilt head 1011 according to the target motion state parameters.
  • control system provided in the embodiments of the present invention is to illustrate the technical solutions of the embodiments of the present invention more clearly, and does not constitute a limitation on the technical solutions provided in the embodiments of the present invention.
  • Those of ordinary skill in the art will know that With the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.
  • FIG. 2 it is a schematic flow chart of a PTZ control method provided by an embodiment of the present invention.
  • the PTZ control method provided by the embodiment of the present invention can be executed by a control device, which can be independent of the mobile platform or the cloud.
  • the control device can also be set on a mobile platform, or a pan-tilt or other equipment, or the control device can also be set in a user terminal.
  • the method includes but is not limited to the following steps.
  • the control device can detect the operation of the joystick of the user terminal by the user, and obtain the lever amount information used to control the movement of the pan/tilt.
  • the lever amount information may include the lever amount value and the control lever amount type.
  • the value of the control stick can correspond to the speed of the pan/tilt, and the speed of a pan/tilt can be obtained through different values of the control stick; the value of the control stick can also correspond to the acceleration of the pan/tilt, and the amount can be measured by different control sticks.
  • the value can correspond to the acceleration of a gimbal.
  • the lever amount type may include the lever amount for controlling the pitch axis pitch and the lever amount for controlling the yaw axis yaw.
  • the value of the control lever can be any value in the interval [0, a], and a can be a real number greater than 0.
  • the value of the control lever corresponds to The speed coefficient of the pan/tilt is "0 degrees per second”.
  • the speed of the pan/tilt corresponding to the value of the control stick is the speed limit value of the movement of the pan/tilt.
  • the value of the control lever can be any value in the interval [0, a], and a can be a real number greater than 0.
  • the value of the control lever corresponds to The acceleration of the pan/tilt is "0 degree per square second”.
  • the acceleration of the pan/tilt corresponding to the value of the control stick is the acceleration limit value of the movement of the pan/tilt.
  • S202 Obtain a reference coefficient of the motion state of the pan/tilt head corresponding to the current motion mode of the mobile platform.
  • the mobile platform may include multiple motion modes, and the motion state reference coefficients of the respective pan/tilt heads corresponding to the multiple motion modes may be set by the user through the user terminal, and the control device may receive and store the motion state reference coefficients set by the user terminal.
  • the user terminal When the user terminal detects the user's exercise mode selection operation, the user terminal can select the exercise mode corresponding to the user's exercise mode selection operation from the multiple exercise modes of the mobile platform, and use this exercise mode as the current exercise mode of the mobile platform , And then the control device can obtain the reference coefficient of the motion state of the pan/tilt corresponding to the current motion mode of the mobile platform, and the multiple motion modes of the mobile platform correspond to the reference coefficient of the motion state of the respective pan/tilt; when the user terminal does not detect the user's motion During the mode selection operation, the current motion state reference coefficient maintained by the pan/tilt head remains unchanged.
  • the current motion state reference coefficient may be the motion state reference coefficient of the pan/tilt head acquired when the control device executed the pan/tilt head control method last time, or It is the reference coefficient of the motion state of the pan/tilt set by default in the control device.
  • the motion state reference coefficient may include a velocity coefficient or an acceleration coefficient
  • the velocity coefficient may include a linear velocity coefficient or an angular velocity coefficient
  • the acceleration coefficient may include a linear acceleration coefficient or an angular acceleration coefficient.
  • the multiple motion modes of the mobile platform correspond to the motion state reference coefficients of the respective pan/tilt heads.
  • the reference coefficients may include a speed threshold or an acceleration threshold, or the speed coefficient may be a speed threshold, and the speed threshold may include a linear velocity threshold or an angular velocity threshold, and the acceleration coefficient may be Is an acceleration threshold, and the acceleration threshold may include a linear acceleration threshold or an angular acceleration threshold.
  • Fig. 3 is a schematic diagram of a flow chart for obtaining the reference coefficients of the motion state provided by the implementation of the present invention.
  • P mode is GPS (Global Positioning System) mode, which is a sport mode that is frequently used in drones. In this mode, the ultimate flight attitude angle of drones can be 25 degrees.
  • GPS Global Positioning System
  • the front-view limit flight line speed can be about 14 meters per second, and the rear-view limit flight line speed can be about 12 meters per second;
  • S mode is the sports mode, in which the drone's limit flight line The speed can be increased to about 20 meters per second;
  • T mode is a tripod mode, which limits the flight speed based on the GPS mode. In this mode, the limit flight line speed of the drone can be reduced to 1 meter per second. About seconds.
  • the three motion modes of the drone correspond to the respective reference coefficients of the motion state of the PTZ.
  • the user terminal detects the user's motion mode selection operation, and selects from the 3 motion modes of the drone the one corresponding to the user's motion mode selection operation Sport mode.
  • the control device When the sport mode is "P mode", the control device obtains the reference coefficient of the motion state of the pan/tilt corresponding to "P mode". When the sport mode is "S mode”, the control device obtains the same "" corresponds to the reference coefficient of the motion state of the pan/tilt. When the motion mode is "T mode”, the control device obtains the reference coefficient of the motion state of the pan/tilt corresponding to "T mode”, and obtains the reference coefficient of the motion state according to the obtained corresponding reference coefficient of the motion state. Controlling the movement of the PTZ mainly refers to the rotation speed or rotation acceleration. When the user terminal does not detect the user's motion mode selection operation, the current motion state reference coefficient maintained by the pan/tilt head remains unchanged.
  • the current motion state reference coefficient may be the cloud motion state reference coefficient obtained when the control device executed the pan/tilt head control method last time.
  • the reference coefficient of the motion state of the platform may also be the reference coefficient of the motion state of the pan/tilt set by default in the control device.
  • control device can automatically determine the reference coefficient of the motion state of the pan/tilt according to the motion mode of the mobile platform, so that the mobile platform and the pan/tilt are closely matched.
  • the multiple motion modes of the mobile platform corresponding to the motion state reference coefficients of the respective pan/tilt can be set by the user through the user terminal.
  • the control device may correspond to the multiple motion modes of the mobile platform acquired.
  • the motion state reference coefficients of the respective pan/tilt heads are stored in the memory of the control device. In this way, the user can set multiple motion modes of the mobile platform corresponding to the motion state reference coefficients of their respective pan/tilt heads according to different shooting requirements for the target scene, thereby improving user experience.
  • the multiple motion modes of the mobile platform corresponding to the motion state reference coefficients of the respective pan/tilt heads may also be set by the control device by default and stored in the memory of the control device.
  • S203 Determine the target motion state parameter of the pan/tilt head according to the lever amount information and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode.
  • the reference coefficient of the motion state of the pan/tilt corresponding to the current motion mode may include a speed threshold. Multiple motion modes correspond to the speed threshold of their respective pan/tilt.
  • the target motion state parameters of the pan/tilt may include the target speed, and the control device may be based on the lever amount information.
  • the speed threshold to determine the target speed of the pan/tilt.
  • the target speed can be calculated according to the lever amount and speed threshold of the lever amount information. For example, the full lever amount value is 1, and the current lever amount information has a lever amount value of 0.5. Then the determined target speed is half of the speed threshold, and the target speed is less than or equal to the speed threshold.
  • the user terminal selects the "S mode” from the three motion modes of the drone through the detected user's motion mode selection operation, and the control device obtains the "S mode” from the drone.
  • the speed threshold of the pan/tilt corresponding to “Mode” is “0.01 degrees per second”
  • the lever amount of the lever amount information used to control the movement of the pan/tilt acquired by the control device is the value in the interval [0,1].” 0.8”
  • the target speed of the PTZ is determined to be "0 degrees per second”
  • the target speed of the PTZ is determined to be The speed threshold is "0.01 degrees per second”.
  • the control lever value is "0.8"
  • the target speed of the pan/tilt is determined to be "0.008 degrees per second”.
  • the reference coefficient of the motion state of the pan/tilt head corresponding to the current motion mode may include an acceleration threshold, and multiple motion modes may correspond to the acceleration threshold values of their respective pan/tilt heads.
  • the target motion state parameters of the pan/tilt may include the target acceleration.
  • the device can determine the target acceleration of the pan/tilt head according to the stick amount information and the acceleration threshold.
  • the target acceleration can be calculated according to the stick amount information and the acceleration threshold, for example, the product of the two.
  • the target acceleration is less than or equal to the acceleration threshold.
  • the user terminal selects the “P mode” from the three movement modes of the drone through the detected user's movement mode selection operation, and the control device obtains the “P mode” from the drone.
  • the acceleration threshold of the pan/tilt corresponding to “Mode” is “0.01 degree per square second”
  • the lever amount of the lever amount information used to control the movement of the pan/tilt acquired by the control device is the value in the interval [0,1] "0.3”
  • the target acceleration of the PTZ is determined to be "0 degrees per second”
  • the value of the control stick is "1
  • the target of the PTZ is determined
  • the acceleration is the acceleration threshold value "0.01 degree per square second”.
  • the determined target speed of the pan/tilt is "0.003 degree per square second”.
  • the control device may calculate the acceleration threshold value according to the smoothness parameter corresponding to the current motion mode of the mobile platform and the speed threshold of the pan-tilt corresponding to the current motion mode of the mobile platform.
  • the multiple motion modes of the mobile platform can correspond to the smoothness parameters of their respective PTZ.
  • the value of the smoothness parameter is related to the size of the acceleration threshold. The larger the smoothness parameter value, the smaller the acceleration threshold, and the smoothness parameter can be passed by the user.
  • smoothness parameters can also be set by default by the control device.
  • the multiple motion modes of the mobile platform may correspond to the speed thresholds of their respective PTZ.
  • the smoothness parameter is marked as smoothing, the speed threshold is marked as V, and the acceleration threshold is marked as A.
  • the control device calculates the acceleration threshold according to the smoothness parameter and the speed threshold as follows:
  • deg2rad is a constant 57.3.
  • the control device when the control device detects that the current motion mode of the drone is "P mode", the control device can use the smoothness parameter and "P mode" of the pan/tilt corresponding to the "P mode".
  • the speed threshold of the gimbal corresponding to mode” is calculated to obtain the acceleration threshold of the gimbal corresponding to "P mode”.
  • the calculation formula is:
  • A_p is the acceleration threshold of the pan/tilt corresponding to "P mode”
  • smoothing_p is the smoothness parameter of the pan/tilt corresponding to "P mode”
  • V_p is the speed threshold of the pan/tilt corresponding to "P mode”.
  • the control device when the control device detects that the current motion mode of the drone is "S mode", the control device can use the smoothness parameter of the pan/tilt corresponding to "S mode” and the speed of the pan/tilt corresponding to "S mode".
  • the threshold value is calculated to obtain the acceleration threshold value of the PTZ corresponding to "S mode”. The calculation formula is:
  • A_s 10 ⁇ deg2rad ⁇ 0.8 smoothing_s ⁇ V_s%
  • A_s is the acceleration threshold of the pan/tilt corresponding to "S mode”
  • smoothing_s is the smoothness parameter of the pan/tilt corresponding to "S mode”
  • V_s is the speed threshold of the pan/tilt corresponding to "S mode”.
  • the control device when the control device detects that the current motion mode of the drone is "T mode", the control device can use the smoothness parameter of the pan/tilt corresponding to "T mode” and the speed of the pan/tilt corresponding to "T mode".
  • the threshold value is calculated to obtain the acceleration threshold value of the gimbal corresponding to "T mode”. The calculation formula is:
  • A_t 10 ⁇ deg2rad ⁇ 0.8 smoothing_t ⁇ V_t%
  • A_t is the acceleration threshold of the pan/tilt corresponding to "T mode”
  • smoothing_t is the smoothness parameter of the pan/tilt corresponding to "T mode”
  • V_t is the speed threshold of the pan/tilt corresponding to "T mode”.
  • the target motion state parameter of the pan/tilt may include the target speed.
  • the target speed may be calculated according to the lever amount and speed threshold of the lever amount information used to control the pan/tilt acquired by the control device.
  • the control device may be calculated according to the speed threshold of the pan/tilt.
  • the target speed determines the initial target acceleration of the pan/tilt. When the initial target acceleration is less than or equal to the acceleration threshold, the control device can determine that the initial target acceleration is the target acceleration of the pan/tilt corresponding to the current motion mode of the mobile platform.
  • the control device may determine that the acceleration threshold is the target acceleration of the pan/tilt corresponding to the current motion mode of the mobile platform, and the determined target acceleration is less than or equal to the acceleration threshold of the pan/tilt corresponding to the current motion mode of the mobile platform.
  • the multiple motion modes of corresponds to the acceleration threshold of the respective pan/tilt, and the control device can control the pan/tilt according to the target acceleration.
  • the specific implementation manner for the control device to determine the initial target acceleration of the pan/tilt head according to the target speed of the pan/tilt may be: the control device may correspond to the lever amount information acquired at the first moment for controlling the pan/tilt.
  • the target speed of the pan/tilt corresponding to the lever amount information for controlling the pan/tilt acquired at the first time by the control device is "0.003 degrees per second", and the target speed acquired by the control device at the second time is used for
  • the target speed of the pan/tilt corresponding to the lever amount information for controlling the pan/tilt is "0.001 degree per second”
  • the first moment is after the second moment
  • the time difference between the first moment and the second moment is “2s”
  • the control device is based on
  • the target speed of the pan/tilt corresponding to the first moment and the target speed of the pan/tilt corresponding to the second moment are determined.
  • the initial target acceleration of the pan/tilt at the first moment is “0.001 degree per square second”.
  • the initial target acceleration "0.001 degree per square second” is less than the acceleration threshold of the gimbal "0.002 degrees per square second"
  • the control device determines the initial target acceleration "0.001 degree per square second" as the target acceleration of the gimbal, and the control device can follow the target
  • the acceleration "0.001 degree per square second” controls the pan/tilt.
  • the target speed of the pan/tilt corresponding to the lever amount information used to control the pan/tilt acquired at the first time by the control device is "0.005 degrees per second"
  • the target speed acquired by the control device at the second time is used for
  • the target speed of the pan/tilt corresponding to the lever amount information for controlling the pan/tilt is "0.001 degree per second”
  • the first moment is after the second moment
  • the time difference between the first moment and the second moment is “2s”
  • the control device is based on
  • the target speed of the pan/tilt corresponding to the first moment and the target speed of the pan/tilt corresponding to the second moment are determined.
  • the initial target acceleration of the pan/tilt at the first moment is “0.002 degrees per square second”.
  • the initial target acceleration "0.002 degrees per square second" is greater than the acceleration threshold of the gimbal "0.001 degrees per square second".
  • the control device determines the acceleration threshold "0.001 degrees per square second" as the target acceleration of the gimbal, and the control device can be based on the target acceleration "0.001 degree per square second" controls the pan/tilt.
  • the target motion state parameter of the pan/tilt head may include target acceleration
  • the target acceleration may be calculated according to the lever amount and acceleration threshold value of the rod amount information used to control the motion of the pan/tilt head acquired by the control device,
  • the control device can control the pan/tilt according to the target acceleration.
  • the control device may use the lever amount used to control the tilt axis of the gimbal and the current motion mode of the mobile platform.
  • the corresponding reference coefficient of the motion state of the pan/tilt is used to determine the target motion state parameters of the pan/tilt.
  • the control device can control the pan/tilt to rotate on the pitch axis according to the target motion state parameters of the pan/tilt; when the lever amount information is used to control the tilt of the pan/tilt
  • the control device can determine the target of the gimbal according to the amount of the control lever used to control the yaw axis of the gimbal and the reference coefficient of the movement state of the gimbal corresponding to the current movement mode of the mobile platform Motion state parameters, the control device can control the pan-tilt to rotate on the yaw axis according to the target motion state parameters of the pan-tilt.
  • the control device may determine the target motion state of the pan/tilt head according to the acquired lever amount information used to control the movement of the pan/tilt head and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform Parameters, so that the control device can control the pan/tilt according to the target motion state parameters.
  • the control device can automatically adjust the movement state of the pan/tilt according to the movement mode of the mobile platform, so that in the process of using the mobile platform to shoot the target scene, the speed of the mobile platform in different movement modes is the same as that of the pan/tilt. The speed is more closely matched, which can effectively improve the shooting effect.
  • FIG. 4 is a schematic structural diagram of an apparatus for controlling a pan-tilt provided in an embodiment of the present invention.
  • the apparatus for controlling a pan-tilt provided in an embodiment of the present invention may be deployed in the control device.
  • the device 40 for controlling a pan-tilt includes:
  • the obtaining module 401 is configured to obtain the lever amount information used for motion control of the pan-tilt;
  • the obtaining module 401 is further configured to obtain a reference coefficient of the motion state of the pan/tilt head corresponding to the current motion mode of the mobile platform.
  • the current motion mode is selected from a plurality of motion modes through a detected motion mode selection operation. Selected, wherein the multiple motion modes correspond to respective reference coefficients of the motion state of the pan/tilt head;
  • the determining module 402 is configured to determine the target motion state parameter of the pan/tilt head according to the lever amount information and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode;
  • the control module 403 is configured to control the pan/tilt head according to the target motion state parameter.
  • the reference coefficients of the motion states of the pan/tilt heads corresponding to the multiple motion modes are set by the user through the user terminal.
  • the motion state reference coefficient includes: a speed coefficient or an acceleration coefficient.
  • the motion state reference coefficients of the respective pan/tilt heads corresponding to the multiple motion modes include: a speed threshold or an acceleration threshold.
  • the target motion state parameter includes a target speed
  • the control module 403 is specifically used for:
  • the target speed determine the target acceleration of the pan/tilt head corresponding to the current motion mode, wherein the determined target acceleration is less than or equal to the target acceleration of the pan/tilt head corresponding to the current motion mode of the mobile platform An acceleration threshold, where the multiple motion modes correspond to the acceleration thresholds of the respective pan/tilt heads;
  • the pan-tilt is controlled according to the target acceleration.
  • control module 403 is specifically used for:
  • the acceleration threshold is the target acceleration.
  • the acceleration thresholds of the pan/tilt heads corresponding to the multiple motion modes are set by the user through the user terminal.
  • the acceleration threshold is calculated according to the smoothness parameter corresponding to the current motion mode and the speed threshold of the pan/tilt head corresponding to the current motion mode, and the multiple motion modes correspond to The respective smoothness parameters, and the multiple motion modes correspond to respective speed thresholds.
  • the smoothness parameter corresponding to the current sports mode is set by the user through the user terminal; or, the smoothness parameter corresponding to the current sports mode is set by default.
  • control module 403 is specifically used for:
  • lever amount information is a lever amount used to control the pitch axis
  • control the pan/tilt head to rotate on the pitch axis according to the target motion state parameter
  • the pan/tilt head is controlled to rotate on the yaw axis according to the target motion state parameter.
  • the acquisition module 401 of the device 40 for controlling the pan/tilt may acquire the lever amount information used for the movement control of the pan/tilt and the reference coefficient of the movement state of the pan/tilt corresponding to the current movement mode of the mobile platform;
  • the determining module 402 can determine the target motion state parameter of the pan/tilt head according to the acquired lever amount information used to control the motion of the pan/tilt head and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform; thereby controlling the module 403 can control the pan/tilt according to the target motion state parameters.
  • the device 40 for controlling the pan/tilt can automatically adjust the movement state of the pan/tilt according to the movement mode of the mobile platform, so that the speed of the mobile platform in different movement modes is more closely matched with the speed of the pan/tilt, and is more effective. Improved the shooting effect of the mobile platform.
  • FIG. 5 is a schematic structural diagram of a control device according to an embodiment of the present invention.
  • the control device 50 described in this embodiment includes a processor 501 and a memory 502.
  • the aforementioned processor 501 and memory 502 are connected by a bus.
  • the above-mentioned processor 501 may be a central processing unit (CPU), and the processor 501 may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and application specific integrated circuits (Application Specific Integrated Circuits). ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the aforementioned memory 502 may include a read-only memory and a random access memory, and provides program instructions and data to the processor 501. A part of the memory 502 may also include a non-volatile random access memory. Wherein, when the processor 501 calls the program instructions, it is used to execute:
  • the current motion mode is selected from a plurality of motion modes through a detected motion mode selection operation, wherein the Multiple motion modes correspond to respective reference coefficients of the motion state of the pan/tilt head;
  • the pan-tilt is controlled according to the target motion state parameter.
  • the reference coefficients of the motion states of the pan/tilt heads corresponding to the multiple motion modes are set by the user through the user terminal.
  • the motion state reference coefficient includes: a speed coefficient or an acceleration coefficient.
  • the motion state reference coefficients of the respective pan/tilt heads corresponding to the multiple motion modes include: a speed threshold or an acceleration threshold.
  • the target motion state parameter includes a target speed
  • the processor 501 is specifically configured to:
  • the controlling the pan/tilt head according to the target motion state parameter includes:
  • the target speed determine the target acceleration of the pan/tilt head corresponding to the current motion mode, wherein the determined target acceleration is less than or equal to the target acceleration of the pan/tilt head corresponding to the current motion mode of the mobile platform An acceleration threshold, where the multiple motion modes correspond to the acceleration thresholds of the respective pan/tilt heads;
  • the pan-tilt is controlled according to the target acceleration.
  • the processor 501 is specifically configured to:
  • the acceleration threshold is the target acceleration.
  • the acceleration thresholds of the pan/tilt heads corresponding to the multiple motion modes are set by the user through the user terminal.
  • the acceleration threshold is set according to the speed threshold.
  • the acceleration threshold is calculated according to the smoothness parameter corresponding to the current motion mode and the speed threshold of the pan/tilt head corresponding to the current motion mode, and the multiple motion modes correspond to The respective smoothness parameters, and the multiple motion modes correspond to respective speed thresholds.
  • the smoothness parameter corresponding to the current sports mode is set by the user through the user terminal; or, the smoothness parameter corresponding to the current sports mode is set by default.
  • the processor 501 is specifically configured to:
  • lever amount information is a lever amount used to control the pitch axis
  • control the pan/tilt head to rotate on the pitch axis according to the target motion state parameter
  • the pan/tilt head is controlled to rotate on the yaw axis according to the target motion state parameter.
  • the processor 501 and the memory 502 described in the embodiment of the present invention can perform the implementation described in the PTZ control method provided in Figure 2 of the embodiment of the present invention, and can also perform the implementation described in Figure 4 of the embodiment of the present invention.
  • the implementation of the device for controlling the PTZ will not be repeated here.
  • the processor 501 of the control device 50 may obtain the lever amount information used to control the movement of the pan/tilt and the movement state reference coefficient of the pan/tilt corresponding to the current movement mode of the mobile platform, and according to the acquired The lever amount information used to control the motion of the pan/tilt and the motion state reference coefficient of the pan/tilt corresponding to the current motion mode of the mobile platform determine the target motion state parameters of the pan/tilt, so that the processor 501 can determine the target motion state parameters of the pan/tilt. Control the PTZ.
  • control device 50 can automatically adjust the movement state of the pan/tilt according to the movement mode of the mobile platform, so that the speed of the mobile platform in different movement modes is more closely matched with the speed of the pan/tilt, and the mobile platform is more effectively improved.
  • the shooting effect can be used to adjust the movement state of the pan/tilt according to the movement mode of the mobile platform, so that the speed of the mobile platform in different movement modes is more closely matched with the speed of the pan/tilt, and the mobile platform is more effectively improved.
  • the embodiment of the present invention also provides a control system.
  • the control system may include the control device, the pan-tilt and the mobile platform described in the embodiment shown in FIG. 5, the pan-tilt is set on the mobile platform, and the control device
  • the structure of each of the foregoing embodiments may be adopted to control the pan-tilt during the movement of the mobile platform.
  • the embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program execution may include part or all of the pan/tilt control method in the corresponding embodiment in FIG. 2 step.
  • the program can be stored in a computer-readable storage medium, and the storage medium can include: Flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), magnetic disk or optical disk, etc.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Studio Devices (AREA)

Abstract

A gimbal control method, a control device (50), and a control system. A gimbal (1011) is provided on a mobile platform. The gimbal control method comprises: acquiring offset information used to control motion of the gimbal (1011); acquiring a motion status reference coefficient of the gimbal (1011) corresponding to a current motion mode of the mobile platform, wherein the current motion mode is selected from multiple motion modes on the basis of a detected motion mode selection operation, and the multiple motion modes respectively correspond to different motion status reference coefficients of the gimbal (1011); determining a target motion status parameter of the gimbal (1011) according to the offset information and the motion status reference coefficient of the gimbal (1011) corresponding to the current motion mode; and controlling the gimbal (1011) according to the target motion status parameter. The control method automatically adjusts a motion status of the gimbal (1011) according to the motion mode of the mobile platform, such that the speed of the mobile platform in different motion modes closely matches the speed of the gimbal (1011), thereby improving the shooting capability of the mobile platform.

Description

一种云台控制方法、控制装置及控制系统PTZ control method, control device and control system 技术领域Technical field
本发明涉及电子技术领域,尤其涉及一种云台控制方法、控制装置及控制系统。The present invention relates to the field of electronic technology, in particular to a pan-tilt control method, control device and control system.
背景技术Background technique
随着科学的进步与技术的发展,各种移动平台的智能移动技术取得了蓬勃的发展,移动平台的应用也越来越广泛,这些移动平台可以是无人机、无人驾驶汽车等等,利用移动平台对某个场景进行拍摄是移动平台的重要应用之一,而云台作为移动平台中用于安装、固定摄像机等任务载荷的支撑设备,在移动平台的拍摄过程中起到了至关重要的作用。With the advancement of science and the development of technology, the intelligent mobile technology of various mobile platforms has achieved vigorous development, and the application of mobile platforms has become more and more extensive. These mobile platforms can be drones, unmanned cars, etc. Using a mobile platform to shoot a certain scene is one of the important applications of the mobile platform, and the PTZ, as a supporting device for the installation and fixing of the camera and other tasks in the mobile platform, plays a vital role in the shooting process of the mobile platform The role of.
目前,在利用移动平台对目标场景进行拍摄的过程中,相比于移动平台,云台的运动状态比较稳定。例如,在移动平台的拍摄过程中,移动平台沿着靠近目标场景的方向加速移动,但无论移动平台的速度有多大,云台都会按照预设的固定速度抬升俯仰角;又如,在移动平台的拍摄过程中,移动平台环绕目标场景匀速移动,同样无论移动平台的速度有多大,云台也都是按照预设的固定速度抬升俯仰角。在这个情况下,存在移动平台的速度与云台的速度(比如转动速度)配合不紧密的问题,使得移动平台的拍摄效果不佳。At present, in the process of using a mobile platform to shoot a target scene, the motion state of the pan/tilt is relatively stable compared to the mobile platform. For example, during the shooting of a mobile platform, the mobile platform accelerates in the direction close to the target scene, but no matter how fast the mobile platform is, the gimbal will raise the pitch angle at a preset fixed speed; another example is on the mobile platform. During the shooting process, the mobile platform moves at a constant speed around the target scene. Similarly, no matter how high the speed of the mobile platform is, the gimbal raises the pitch angle at a preset fixed speed. In this case, there is a problem that the speed of the mobile platform does not closely match the speed of the pan/tilt (such as the rotation speed), which makes the shooting effect of the mobile platform poor.
发明内容Summary of the invention
本发明实施例提供了一种云台控制方法、控制装置及控制系统,可对云台的运动速度进行动态调节。The embodiment of the present invention provides a pan/tilt control method, control device and control system, which can dynamically adjust the movement speed of the pan/tilt.
一方面,本发明实施例提供了一种云台控制方法,云台设置在移动平台上,所述方法包括:On the one hand, an embodiment of the present invention provides a pan-tilt control method. The pan-tilt is set on a mobile platform, and the method includes:
获取用于对所述云台进行运动控制的杆量信息;Acquiring lever amount information used for motion control of the pan/tilt;
获取与所述移动平台当前的运动模式对应的所述云台的运动状态参考系数,所述当前的运动模式是通过检测到的运动模式选择操作从多个运动模式中选中的,其中,所述多个运动模式对应各自的所述云台的运动状态参考系数;Obtain the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform. The current motion mode is selected from a plurality of motion modes through a detected motion mode selection operation, wherein the Multiple motion modes correspond to respective reference coefficients of the motion state of the pan/tilt head;
根据所述杆量信息和所述当前的运动模式对应的所述云台的运动状态参考系数,确定所述云台的目标运动状态参数;Determine the target motion state parameter of the pan/tilt head according to the lever amount information and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode;
根据所述目标运动状态参数控制所述云台。The pan-tilt is controlled according to the target motion state parameter.
另一方面,本发明实施例提供了一种控制装置,所述控制装置包括处理器和存储器,所述存储器和所述处理器相互连接,其中:On the other hand, an embodiment of the present invention provides a control device, the control device includes a processor and a memory, the memory and the processor are connected to each other, wherein:
所述存储器,用于存储计算机程序,所述计算机程序包括程序指令;The memory is used to store a computer program, and the computer program includes program instructions;
所述处理器,调用所述程序指令时用于执行:The processor is used to execute when calling the program instructions:
获取用于对所述云台进行运动控制的杆量信息;Acquiring lever amount information used for motion control of the pan/tilt;
获取与所述移动平台当前的运动模式对应的所述云台的运动状态参考系数,所述当前的运动模式是通过检测到的运动模式选择操作从多个运动模式中选中的,其中,所述多个运动模式对应各自的所述云台的运动状态参考系数;Obtain the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform. The current motion mode is selected from a plurality of motion modes through a detected motion mode selection operation, wherein the Multiple motion modes correspond to respective reference coefficients of the motion state of the pan/tilt head;
根据所述杆量信息和所述当前的运动模式对应的所述云台的运动状态参考系数,确定所述云台的目标运动状态参数;Determine the target motion state parameter of the pan/tilt head according to the lever amount information and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode;
根据所述目标运动状态参数控制所述云台。The pan-tilt is controlled according to the target motion state parameter.
相应地,本发明实施例还提供了一种用于控制云台的装置,所述装置包括:Correspondingly, an embodiment of the present invention also provides a device for controlling a pan-tilt, the device includes:
获取模块,用于获取用于对所述云台进行运动控制的杆量信息;An acquisition module, configured to acquire lever amount information used for motion control of the pan/tilt;
获取模块,还用于获取与所述移动平台当前的运动模式对应的所述云台的运动状态参考系数,所述当前的运动模式是通过检测到的运动模式选择操作从多个运动模式中选中的,其中,所述多个运动模式对应各自的所述云台的运动状态参考系数;The acquiring module is further configured to acquire the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform, and the current motion mode is selected from a plurality of motion modes through a detected motion mode selection operation , Wherein the multiple motion modes correspond to respective reference coefficients of the motion state of the pan/tilt head;
确定模块,用户根据所述杆量信息和所述当前的运动模式对应的所述云台的运动状态参考系数,确定所述云台的目标运动状态参数;A determining module, for the user to determine the target motion state parameter of the pan/tilt head according to the lever amount information and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode;
控制模块,用于根据所述目标运动状态参数控制所述云台。The control module is used to control the pan/tilt head according to the target motion state parameter.
相应地,本发明实施例还提供了一种控制系统,所述控制系统包括本发明实施例第二方面所述的控制装置、云台和移动平台,所述云台设置在移动平台上,所述控制装置用于在所述移动平台移动的过程中控制所述云台。Correspondingly, an embodiment of the present invention also provides a control system. The control system includes the control device, a pan/tilt, and a mobile platform described in the second aspect of the embodiment of the present invention. The pan/tilt is set on the mobile platform. The control device is used to control the pan-tilt during the movement of the mobile platform.
相应地,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述的云台控制方法。Correspondingly, the embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned pan-tilt control method is implemented.
本发明实施例中,控制装置可以根据获取到的用于对云台进行运动控制的杆量信息和与移动平台当前的运动模式对应的云台的运动状态参考系数,确定云台的目标运动状态参数,从而控制装置可以根据目标运动状态参数控制云台,使得控制装置可以根据移动平台的运动模式自动调节云台的运动状态,移动平台在不同运动模式下的速度与云台的速度可以更加紧密地配合,进而可以较为有效地提升移动平台的拍摄效果。In the embodiment of the present invention, the control device may determine the target motion state of the pan/tilt head according to the acquired lever amount information used to control the movement of the pan/tilt head and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform Parameters, so that the control device can control the pan/tilt according to the target motion state parameters, so that the control device can automatically adjust the movement state of the pan/tilt according to the movement mode of the mobile platform, and the speed of the mobile platform in different movement modes can be more closely related to the speed of the pan/tilt. It can effectively improve the shooting effect of the mobile platform.
附图说明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 drawings needed in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative labor, other drawings can be obtained from these drawings.
图1是本发明实施例提供的一种控制系统的架构示意图;FIG. 1 is a schematic diagram of the architecture of a control system provided by an embodiment of the present invention;
图2是本发明实施例提供的一种云台控制方法的流程示意图;FIG. 2 is a schematic flowchart of a method for controlling a PTZ according to an embodiment of the present invention;
图3是本发明实施例提供的一种获取运动状态参考系数的流程示意图;FIG. 3 is a schematic diagram of a process for obtaining a reference coefficient of a motion state according to an embodiment of the present invention;
图4是本发明实施例提供的一种用于控制云台的装置的结构示意图;4 is a schematic structural diagram of a device for controlling a pan/tilt head provided by an embodiment of the present invention;
图5是本发明实施例提供的一种控制装置的结构示意图。Fig. 5 is a schematic structural diagram of a control device provided by an embodiment of the present invention.
具体实施方式Detailed ways
云台是移动平台中用于安装、固定摄像机等任务载荷的支撑设备,在移动平台的拍摄过程中,可以协助转动摄像机,或者确定摄像机在移动过程中能够稳定拍摄影像。同时,无人机等可移动平台可以通过自动或手动方式控制移动速度,可以对移动平台设置不同的运动模式,不同的运动模式下设置有不同的移动速度,在本发明实施例中,针对不同的运动模式和用于对云台的转动速度进行控制的杆量信息,来综合控制云台的运动,以此使得在不同的运动模式下,和/或不同的杆量下,云台的运动状态不相同,而云台的运动状态包括云台的运动速度或运动加速度。The pan-tilt is a supporting device used to install and fix the camera and other task loads in the mobile platform. During the shooting process of the mobile platform, it can assist in rotating the camera or make sure that the camera can shoot images stably during the movement. At the same time, movable platforms such as drones can control the moving speed automatically or manually, and can set different motion modes for the mobile platform. Different motion modes are set with different moving speeds. In the embodiment of the present invention, for different The movement mode and the lever amount information used to control the rotation speed of the gimbal are used to comprehensively control the movement of the gimbal, so that the movement of the gimbal under different movement modes and/or different lever amounts The state is different, and the movement state of the pan/tilt includes the movement speed or movement acceleration of the pan/tilt.
本发明实施例提供的云台控制方法可以由一个独立的控制装置执行,控制装置可以为地面站或者遥控器等等,移动平台和云台可以包括通信接口,用于 直接与控制装置建立通信连接,或者云台与移动平台之间可以建立通信连接,云台通过移动平台与控制装置通信。所述控制装置也可以设置在移动平台或云台中,对接收到的地面控制器或者说用户终端发送的杆量信息进行处理,来完成对云台转动速度的控制。云台设置在移动平台上,移动平台可以为无人机、无人车、无人船等。The pan/tilt control method provided by the embodiments of the present invention can be executed by an independent control device, the control device may be a ground station or a remote control, etc., the mobile platform and the pan/tilt may include a communication interface for directly establishing a communication connection with the control device , Or a communication connection can be established between the PTZ and the mobile platform, and the PTZ communicates with the control device through the mobile platform. The control device may also be set in a mobile platform or a pan/tilt, and process the received lever amount information sent by a ground controller or a user terminal to complete the control of the rotation speed of the pan/tilt. The gimbal is set on a mobile platform, which can be a drone, an unmanned vehicle, an unmanned ship, etc.
在本发明实施例中,可以为上述提及的运动模式设置运动状态参考系数,不同的运动模式可以设置不同的运动状态参考系数,而云台的运动速度或者称之为目标运动状态参数,可以基于杆量和运动状态参考系数计算得到。运动状态参考系数可以包括速度系数或者加速度系数,具体的与移动平台当前的运动模式对应的云台的运动状态参考系数可以包括速度阈值或者加速度阈值。移动平台包括了多个运动模式,多个运动模式对应各自的云台的运动状态参考系数,即移动平台的多个运动模式对应各自的云台的速度阈值或者加速度阈值。目标运动状态参数可以包括目标速度或者目标加速度。In the embodiment of the present invention, the motion state reference coefficients can be set for the above-mentioned motion modes, and different motion state reference coefficients can be set for different sports modes, and the motion speed of the pan/tilt, or called the target motion state parameter, can be Calculated based on the lever amount and the reference coefficient of the motion state. The motion state reference coefficient may include a speed coefficient or an acceleration coefficient, and the specific motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform may include a speed threshold or an acceleration threshold. The mobile platform includes multiple motion modes, and the multiple motion modes correspond to the motion state reference coefficients of the respective pan/tilt heads, that is, the multiple motion modes of the mobile platform correspond to the speed thresholds or acceleration thresholds of the respective pan/tilt heads. The target motion state parameter may include target speed or target acceleration.
为了更好的理解本发明实施例提供的一种云台控制方法、控制装置及控制系统,下面首先对本发明实施例适用的控制系统进行描述。In order to better understand the pan-tilt control method, control device, and control system provided by the embodiments of the present invention, the following first describes the control system applicable to the embodiments of the present invention.
请参见图1,是本发明实施例提供的一种控制系统的架构示意图。本发明实施例中移动平台以无人机为例进行说明。如图1所示,该控制系统可以包括:无人机101和遥控器102,云台1011设置在无人机101上。在由无人机101、遥控器102和设置在无人机101上的云台1011组成的控制系统中,遥控器102可以获取用于对云台1011进行运动控制的杆量信息;遥控器102还可以获取与无人机101当前的运动模式对应的云台1011的运动状态参考系数,无人机101当前的运动模式是遥控器102通过检测到的运动模式选择操作从多个运动模式中选中的,其中,无人机101的多个运动模式对应各自的云台1011的运动状态参考系数;遥控器102根据杆量信息和与无人机101当前的运动模式对应的云台1011的运动状态参考系数,确定云台1011的目标运动状态参数;遥控器102根据目标运动状态参数控制云台1011。Please refer to FIG. 1, which is a schematic structural diagram of a control system provided by an embodiment of the present invention. In the embodiment of the present invention, the mobile platform is described by taking a drone as an example. As shown in FIG. 1, the control system may include: an unmanned aerial vehicle 101 and a remote control 102, and a pan/tilt 1011 is arranged on the unmanned aerial vehicle 101. In the control system consisting of the drone 101, the remote control 102 and the pan/tilt 1011 set on the drone 101, the remote control 102 can obtain the lever amount information used to control the movement of the pan/tilt 1011; the remote control 102 The reference coefficient of the motion state of the pan/tilt 1011 corresponding to the current motion mode of the UAV 101 can also be obtained. The current motion mode of the UAV 101 is selected from multiple motion modes by the remote control 102 through the detected motion mode selection operation Wherein, the multiple motion modes of the drone 101 correspond to the respective motion state reference coefficients of the PTZ 1011; the remote control 102 according to the lever amount information and the motion state of the PTZ 1011 corresponding to the current motion mode of the drone 101 With reference to the coefficients, the target motion state parameters of the pan/tilt head 1011 are determined; the remote control 102 controls the pan/tilt head 1011 according to the target motion state parameters.
可以理解的是,本发明实施例提供的控制系统是为了更加清楚的说明本发明实施例的技术方案,并不构成对于本发明实施例提供的技术方案的限定,本领域普通技术人员可知,随着系统架构的演变和新业务场景的出现,本发明实 施例提供的技术方案对于类似的技术问题,同样适用。It is understandable that the control system provided in the embodiments of the present invention is to illustrate the technical solutions of the embodiments of the present invention more clearly, and does not constitute a limitation on the technical solutions provided in the embodiments of the present invention. Those of ordinary skill in the art will know that With the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.
再参见图2,是本发明实施例提供的一种云台控制方法的流程示意图,本发明实施例提供的云台控制方法可以由一个控制装置执行,该控制装置可以独立于移动平台、或云台,该控制装置也可以设置在移动平台、或云台等设备上,或者该控制装置也可以设置在一个用户终端中,该方法包括但不限于如下步骤。Referring again to FIG. 2, it is a schematic flow chart of a PTZ control method provided by an embodiment of the present invention. The PTZ control method provided by the embodiment of the present invention can be executed by a control device, which can be independent of the mobile platform or the cloud. The control device can also be set on a mobile platform, or a pan-tilt or other equipment, or the control device can also be set in a user terminal. The method includes but is not limited to the following steps.
S201:获取用于对云台进行运动控制的杆量信息。控制装置可以检测用户对用户终端的摇杆的操作,获取用于对云台进行运动控制的杆量信息,其中,杆量信息可以包括控制杆量值和控制杆量类型。控制杆量值可以与云台的速度相对应,通过不同的控制杆量值均可以对应得到一个云台的速度;控制杆量值还可以与云台的加速度相对应,通过不同的控制杆量值可以对应得到一个云台的加速度。控制杆量类型可以包括控制俯仰轴pitch的控制杆量和控制偏航轴yaw的控制杆量。S201: Obtain lever amount information used for motion control of the pan/tilt. The control device can detect the operation of the joystick of the user terminal by the user, and obtain the lever amount information used to control the movement of the pan/tilt. The lever amount information may include the lever amount value and the control lever amount type. The value of the control stick can correspond to the speed of the pan/tilt, and the speed of a pan/tilt can be obtained through different values of the control stick; the value of the control stick can also correspond to the acceleration of the pan/tilt, and the amount can be measured by different control sticks. The value can correspond to the acceleration of a gimbal. The lever amount type may include the lever amount for controlling the pitch axis pitch and the lever amount for controlling the yaw axis yaw.
在一个实施例中,控制杆量值可以为区间[0,a]内的任意一个数值,a可以为大于0的实数,当控制杆量值为“0”时,该控制杆量值对应的云台的速度系数为“0度每秒”,当控制杆量值为“a”时,该控制杆量值对应得到的云台的速度为云台运动时的速度极限值。In one embodiment, the value of the control lever can be any value in the interval [0, a], and a can be a real number greater than 0. When the value of the control lever is "0", the value of the control lever corresponds to The speed coefficient of the pan/tilt is "0 degrees per second". When the value of the control stick is "a", the speed of the pan/tilt corresponding to the value of the control stick is the speed limit value of the movement of the pan/tilt.
在一个实施例中,控制杆量值可以为区间[0,a]内的任意一个数值,a可以为大于0的实数,当控制杆量值为“0”时,该控制杆量值对应的云台的加速度为“0度每平方秒”,当控制杆量值为“a”时,该控制杆量值对应得到的云台的加速度为云台运动时的加速度极限值。In one embodiment, the value of the control lever can be any value in the interval [0, a], and a can be a real number greater than 0. When the value of the control lever is "0", the value of the control lever corresponds to The acceleration of the pan/tilt is "0 degree per square second". When the value of the control stick is "a", the acceleration of the pan/tilt corresponding to the value of the control stick is the acceleration limit value of the movement of the pan/tilt.
S202:获取与移动平台当前的运动模式对应的云台的运动状态参考系数。移动平台可以包括多个运动模式,所述多个运动模式对应各自的云台的运动状态参考系数可以是由用户通过用户终端设置的,控制装置可以接收并存储用户终端设置的运动状态参考系数。当用户终端检测到用户的运动模式选择操作后,用户终端可以从移动平台的多个运动模式中选择与用户的运动模式选择操作对应的运动模式,并将该运动模式作为移动平台当前的运动模式,进而控制装置可以获取与移动平台当前的运动模式对应的云台的运动状态参考系数,移动平台的多个运动模式对应各自的云台的运动状态参考系数;当用户终端未检测到用户的运动模式选择操作时,云台保持的当前的运动状态参考系数不变,当 前的运动状态参考系数可以是控制装置上一次执行该云台控制方法时获取到的云台的运动状态参考系数,也可以是控制装置中默认设置的云台的运动状态参考系数。S202: Obtain a reference coefficient of the motion state of the pan/tilt head corresponding to the current motion mode of the mobile platform. The mobile platform may include multiple motion modes, and the motion state reference coefficients of the respective pan/tilt heads corresponding to the multiple motion modes may be set by the user through the user terminal, and the control device may receive and store the motion state reference coefficients set by the user terminal. When the user terminal detects the user's exercise mode selection operation, the user terminal can select the exercise mode corresponding to the user's exercise mode selection operation from the multiple exercise modes of the mobile platform, and use this exercise mode as the current exercise mode of the mobile platform , And then the control device can obtain the reference coefficient of the motion state of the pan/tilt corresponding to the current motion mode of the mobile platform, and the multiple motion modes of the mobile platform correspond to the reference coefficient of the motion state of the respective pan/tilt; when the user terminal does not detect the user's motion During the mode selection operation, the current motion state reference coefficient maintained by the pan/tilt head remains unchanged. The current motion state reference coefficient may be the motion state reference coefficient of the pan/tilt head acquired when the control device executed the pan/tilt head control method last time, or It is the reference coefficient of the motion state of the pan/tilt set by default in the control device.
在一个实施例中,运动状态参考系数可以包括速度系数或者加速度系数,速度系数可以包括线速度系数或者角速度系数,加速度系数可以包括线加速度系数或者角加速度系数。移动平台的多个运动运动模式对应各自的云台的运动状态参考系数可以包括速度阈值或者加速度阈值,或者说速度系数可以是速度阈值,而速度阈值可以包括线速度阈值或者角速度阈值,加速度系数可以是加速度阈值,加速度阈值可以包括线加速度阈值或者角加速度阈值。In an embodiment, the motion state reference coefficient may include a velocity coefficient or an acceleration coefficient, the velocity coefficient may include a linear velocity coefficient or an angular velocity coefficient, and the acceleration coefficient may include a linear acceleration coefficient or an angular acceleration coefficient. The multiple motion modes of the mobile platform correspond to the motion state reference coefficients of the respective pan/tilt heads. The reference coefficients may include a speed threshold or an acceleration threshold, or the speed coefficient may be a speed threshold, and the speed threshold may include a linear velocity threshold or an angular velocity threshold, and the acceleration coefficient may be Is an acceleration threshold, and the acceleration threshold may include a linear acceleration threshold or an angular acceleration threshold.
以移动平台为无人机为例,请参见图3,为本发明实施提供的一种获取运动状态参考系数的流程示意图,如图3所示,无人机可以包括3个运动模式,分别为“P模式”,“S模式”和“T模式”。其中,“P模式”为GPS(Global Positioning System,全球定位系统)模式,该模式为无人机中使用较频繁的运动模式,在该模式中,无人机的极限飞行姿态角可以为25度左右,前视极限飞行线速度可以为14米每秒左右,后视极限飞行线速度可以为12米每秒左右;“S模式”为运动模式,在该模式中,无人机的极限飞行线速度可以提升至20米每秒左右;“T模式”为三脚架模式,该模式在GPS模式的基础上限制了飞行速度,在该模式中,无人机的极限飞行线速度可以下降至1米每秒左右。无人机的3个运动模式对应各自的云台的运动状态参考系数,用户终端通过检测用户的运动模式选择操作,从无人机的3个运动模式中选择与用户的运动模式选择操作对应的运动模式,当该运动模式为“P模式”时,控制装置获取与“P模式”对应的云台的运动状态参考系数,当该运动模式为“S模式”时,控制装置获取与“S模式”对应的云台的运动状态参考系数,当该运动模式为“T模式”时,控制装置获取与“T模式”对应的云台的运动状态参考系数,根据获取的对应的运动状态参考系数来控制云台的运动,主要是指转动速度或转动加速度。当用户终端未检测到用户的运动模式选择操作时,云台保持的当前的运动状态参考系数不变,当前的运动状态参考系数可以是控制装置上一次执行该云台控制方法时获取到的云台的运动状态参考系数,也可以是控制装置中默认设置的云台的运动状态参考系数。Taking the mobile platform as an unmanned aerial vehicle as an example, please refer to Fig. 3, which is a schematic diagram of a flow chart for obtaining the reference coefficients of the motion state provided by the implementation of the present invention. "P mode", "S mode" and "T mode". Among them, "P mode" is GPS (Global Positioning System) mode, which is a sport mode that is frequently used in drones. In this mode, the ultimate flight attitude angle of drones can be 25 degrees. Left and right, the front-view limit flight line speed can be about 14 meters per second, and the rear-view limit flight line speed can be about 12 meters per second; "S mode" is the sports mode, in which the drone's limit flight line The speed can be increased to about 20 meters per second; "T mode" is a tripod mode, which limits the flight speed based on the GPS mode. In this mode, the limit flight line speed of the drone can be reduced to 1 meter per second. About seconds. The three motion modes of the drone correspond to the respective reference coefficients of the motion state of the PTZ. The user terminal detects the user's motion mode selection operation, and selects from the 3 motion modes of the drone the one corresponding to the user's motion mode selection operation Sport mode. When the sport mode is "P mode", the control device obtains the reference coefficient of the motion state of the pan/tilt corresponding to "P mode". When the sport mode is "S mode", the control device obtains the same "" corresponds to the reference coefficient of the motion state of the pan/tilt. When the motion mode is "T mode", the control device obtains the reference coefficient of the motion state of the pan/tilt corresponding to "T mode", and obtains the reference coefficient of the motion state according to the obtained corresponding reference coefficient of the motion state. Controlling the movement of the PTZ mainly refers to the rotation speed or rotation acceleration. When the user terminal does not detect the user's motion mode selection operation, the current motion state reference coefficient maintained by the pan/tilt head remains unchanged. The current motion state reference coefficient may be the cloud motion state reference coefficient obtained when the control device executed the pan/tilt head control method last time. The reference coefficient of the motion state of the platform may also be the reference coefficient of the motion state of the pan/tilt set by default in the control device.
通过这种方式,控制装置可以根据移动平台的运动模式,自动确定云台的运动状态参考系数,使得移动平台与云台配合紧密。In this way, the control device can automatically determine the reference coefficient of the motion state of the pan/tilt according to the motion mode of the mobile platform, so that the mobile platform and the pan/tilt are closely matched.
在一个实施例中,移动平台的多个运动模式对应各自的云台的运动状态参考系数可以由用户通过用户终端设置,设置完成后,控制装置可以将获取到的移动平台的多个运动模式对应各自的云台的运动状态参考系数存储至控制装置的存储器中。通过这种方式,用户可以根据对目标场景的不同拍摄需求,设置移动平台的多个运动模式对应各自的云台的运动状态参考系数,提升用户体验。In one embodiment, the multiple motion modes of the mobile platform corresponding to the motion state reference coefficients of the respective pan/tilt can be set by the user through the user terminal. After the setting is completed, the control device may correspond to the multiple motion modes of the mobile platform acquired. The motion state reference coefficients of the respective pan/tilt heads are stored in the memory of the control device. In this way, the user can set multiple motion modes of the mobile platform corresponding to the motion state reference coefficients of their respective pan/tilt heads according to different shooting requirements for the target scene, thereby improving user experience.
可选的,移动平台的多个运动模式对应各自的云台的运动状态参考系数还可以是控制装置默认设置并存储至控制装置的存储器中的。Optionally, the multiple motion modes of the mobile platform corresponding to the motion state reference coefficients of the respective pan/tilt heads may also be set by the control device by default and stored in the memory of the control device.
S203:根据杆量信息和当前的运动模式对应的云台的运动状态参考系数,确定云台的目标运动状态参数。当前的运动模式对应的云台的运动状态参考系数可以包括速度阈值,多个运动模式对应各自的云台的速度阈值,云台的目标运动状态参数可以包括目标速度,控制装置可以根据杆量信息和速度阈值,确定云台的目标速度,目标速度可以根据杆量信息的控制杆量值与速度阈值计算得到,例如,满杆量值为1,当前杆量信息的控制杆量值为0.5,则确定的目标速度为速度阈值的一半,目标速度小于或者等于速度阈值。S203: Determine the target motion state parameter of the pan/tilt head according to the lever amount information and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode. The reference coefficient of the motion state of the pan/tilt corresponding to the current motion mode may include a speed threshold. Multiple motion modes correspond to the speed threshold of their respective pan/tilt. The target motion state parameters of the pan/tilt may include the target speed, and the control device may be based on the lever amount information. And the speed threshold to determine the target speed of the pan/tilt. The target speed can be calculated according to the lever amount and speed threshold of the lever amount information. For example, the full lever amount value is 1, and the current lever amount information has a lever amount value of 0.5. Then the determined target speed is half of the speed threshold, and the target speed is less than or equal to the speed threshold.
以移动平台为无人机为例,用户终端通过检测到的用户的运动模式选择操作从无人机的3个运动模式中选中“S模式”,控制装置获取到的与无人机的“S模式”对应的云台的速度阈值为“0.01度每秒”,控制装置获取到的用于对云台进行运动控制的杆量信息的控制杆量值为区间[0,1]中的数值“0.8”,当控制杆量值为“0”时,确定得到的云台的目标速度为“0度每秒”,当控制杆量值为“1”时,确定得到的云台的目标速度为速度阈值“0.01度每秒”,当控制杆量值为“0.8”时,确定得到的云台的目标速度为“0.008度每秒”。Taking the mobile platform as a drone as an example, the user terminal selects the "S mode" from the three motion modes of the drone through the detected user's motion mode selection operation, and the control device obtains the "S mode" from the drone. The speed threshold of the pan/tilt corresponding to “Mode” is “0.01 degrees per second”, and the lever amount of the lever amount information used to control the movement of the pan/tilt acquired by the control device is the value in the interval [0,1].” 0.8", when the value of the control lever is "0", the target speed of the PTZ is determined to be "0 degrees per second", when the value of the control lever is "1", the target speed of the PTZ is determined to be The speed threshold is "0.01 degrees per second". When the control lever value is "0.8", the target speed of the pan/tilt is determined to be "0.008 degrees per second".
在一个实施例中,当前的运动模式对应的云台的运动状态参考系数可以包括加速度阈值,多个运动模式对应各自的云台的加速度阈值,云台的目标运动状态参数可以包括目标加速度,控制装置可以根据杆量信息和加速度阈值,确定云台的目标加速度,目标加速度可以根据杆量信息的控制杆量值与加速度阈值计算得到,例如为两者的乘积,目标加速度小于或者等于加速度阈值。In one embodiment, the reference coefficient of the motion state of the pan/tilt head corresponding to the current motion mode may include an acceleration threshold, and multiple motion modes may correspond to the acceleration threshold values of their respective pan/tilt heads. The target motion state parameters of the pan/tilt may include the target acceleration. The device can determine the target acceleration of the pan/tilt head according to the stick amount information and the acceleration threshold. The target acceleration can be calculated according to the stick amount information and the acceleration threshold, for example, the product of the two. The target acceleration is less than or equal to the acceleration threshold.
以移动平台为无人机为例,用户终端通过检测到的用户的运动模式选择操作从无人机的3个运动模式中选中“P模式”,控制装置获取到的与无人机的“P模式”对应的云台的加速度阈值为“0.01度每平方秒”,控制装置获取到的用于对云台进行运动控制的杆量信息的控制杆量值为区间[0,1]中的数值“0.3”,当控制杆量值为“0”时,确定得到的云台的目标加速度为“0度每平方秒”,当控制杆量值为“1”时,确定得到的云台的目标加速度为加速度阈值“0.01度每平方秒”,当控制杆量值为“0.3”时,确定得到的云台的目标速度为“0.003度每平方秒”。Taking the mobile platform as a drone as an example, the user terminal selects the “P mode” from the three movement modes of the drone through the detected user's movement mode selection operation, and the control device obtains the “P mode” from the drone. The acceleration threshold of the pan/tilt corresponding to “Mode” is “0.01 degree per square second”, and the lever amount of the lever amount information used to control the movement of the pan/tilt acquired by the control device is the value in the interval [0,1] "0.3", when the value of the control stick is "0", the target acceleration of the PTZ is determined to be "0 degrees per second", when the value of the control stick is "1", the target of the PTZ is determined The acceleration is the acceleration threshold value "0.01 degree per square second". When the control stick value is "0.3", the determined target speed of the pan/tilt is "0.003 degree per square second".
在一个实施例中,控制装置可以根据移动平台当前的运动模式对应的平滑度参数和移动平台当前的运动模式对应的云台的速度阈值计算得到加速度阈值。移动平台的多个运动模式可以对应各自的云台的平滑度参数,平滑度参数数值的大小与加速度阈值的大小有关,平滑度参数数值越大,加速度阈值越小,平滑度参数可以由用户通过用户终端设置,平滑度参数也可以由控制装置默认设置。移动平台的多个运动模式可以对应各自的云台的速度阈值。将平滑度参数记为smoothing,将速度阈值记为V,将加速度阈值记为A,控制装置根据平滑度参数和速度阈值计算得到加速度阈值的计算公式为:In one embodiment, the control device may calculate the acceleration threshold value according to the smoothness parameter corresponding to the current motion mode of the mobile platform and the speed threshold of the pan-tilt corresponding to the current motion mode of the mobile platform. The multiple motion modes of the mobile platform can correspond to the smoothness parameters of their respective PTZ. The value of the smoothness parameter is related to the size of the acceleration threshold. The larger the smoothness parameter value, the smaller the acceleration threshold, and the smoothness parameter can be passed by the user. User terminal settings, smoothness parameters can also be set by default by the control device. The multiple motion modes of the mobile platform may correspond to the speed thresholds of their respective PTZ. The smoothness parameter is marked as smoothing, the speed threshold is marked as V, and the acceleration threshold is marked as A. The control device calculates the acceleration threshold according to the smoothness parameter and the speed threshold as follows:
A=10×deg2rad×0.8 smoothing×V% A=10×deg2rad×0.8 smoothing ×V%
其中,deg2rad为常数57.3。Among them, deg2rad is a constant 57.3.
以可移动平台为无人机为例,当控制装置检测到无人机当前的运动模式为“P模式”时,控制装置可以根据“P模式”对应的云台的的平滑度参数和“P模式”对应的云台的速度阈值计算得到“P模式”对应的云台的加速度阈值,计算公式为:Taking the movable platform as the drone as an example, when the control device detects that the current motion mode of the drone is "P mode", the control device can use the smoothness parameter and "P mode" of the pan/tilt corresponding to the "P mode". The speed threshold of the gimbal corresponding to mode" is calculated to obtain the acceleration threshold of the gimbal corresponding to "P mode". The calculation formula is:
A_p=10×deg2rad×0.8 smoothing_p×V_p% A_p=10×deg2rad×0.8 smoothing_p ×V_p%
其中,A_p为“P模式”对应的云台的加速度阈值,smoothing_p为“P模式”对应的云台的的平滑度参数,V_p为“P模式”对应的云台的速度阈值。Among them, A_p is the acceleration threshold of the pan/tilt corresponding to "P mode", smoothing_p is the smoothness parameter of the pan/tilt corresponding to "P mode", and V_p is the speed threshold of the pan/tilt corresponding to "P mode".
同样的,当控制装置检测到无人机当前的运动模式为“S模式”时,控制装置可以根据“S模式”对应的云台的的平滑度参数和“S模式”对应的云台的速度阈值计算得到“S模式”对应的云台的加速度阈值,计算公式为:Similarly, when the control device detects that the current motion mode of the drone is "S mode", the control device can use the smoothness parameter of the pan/tilt corresponding to "S mode" and the speed of the pan/tilt corresponding to "S mode". The threshold value is calculated to obtain the acceleration threshold value of the PTZ corresponding to "S mode". The calculation formula is:
A_s=10×deg2rad×0.8 smoothing_s×V_s% A_s=10×deg2rad×0.8 smoothing_s ×V_s%
其中,A_s为“S模式”对应的云台的加速度阈值,smoothing_s为“S模式”对应的云台的的平滑度参数,V_s为“S模式”对应的云台的速度阈值。Among them, A_s is the acceleration threshold of the pan/tilt corresponding to "S mode", smoothing_s is the smoothness parameter of the pan/tilt corresponding to "S mode", and V_s is the speed threshold of the pan/tilt corresponding to "S mode".
同样的,当控制装置检测到无人机当前的运动模式为“T模式”时,控制装置可以根据“T模式”对应的云台的的平滑度参数和“T模式”对应的云台的速度阈值计算得到“T模式”对应的云台的加速度阈值,计算公式为:Similarly, when the control device detects that the current motion mode of the drone is "T mode", the control device can use the smoothness parameter of the pan/tilt corresponding to "T mode" and the speed of the pan/tilt corresponding to "T mode". The threshold value is calculated to obtain the acceleration threshold value of the gimbal corresponding to "T mode". The calculation formula is:
A_t=10×deg2rad×0.8 smoothing_t×V_t% A_t=10×deg2rad×0.8 smoothing_t ×V_t%
其中,A_t为“T模式”对应的云台的加速度阈值,smoothing_t为“T模式”对应的云台的的平滑度参数,V_t为“T模式”对应的云台的速度阈值。Among them, A_t is the acceleration threshold of the pan/tilt corresponding to "T mode", smoothing_t is the smoothness parameter of the pan/tilt corresponding to "T mode", and V_t is the speed threshold of the pan/tilt corresponding to "T mode".
S204:根据目标运动状态参数控制云台。云台的目标运动状态参数可以包括目标速度,目标速度可以根据控制装置获取到的用于对云台进行控制的杆量信息的控制杆量值与速度阈值计算得到,控制装置可以根据云台的目标速度确定云台的初始目标加速度,当初始目标加速度小于或者等于加速度阈值时,控制装置可以确定初始目标加速度为与移动平台当前的运动模式对应的云台的目标加速度,当初始目标加速度大于加速度阈值时,控制装置可以确定加速度阈值为与移动平台当前的运动模式对应的云台的目标加速度,确定得到的目标加速度小于或者等于与移动平台当前的运动模式对应的云台的加速度阈值,移动平台的多个运动模式对应各自的云台的加速度阈值,控制装置可以根据该目标加速度控制所述云台。S204: Control the pan/tilt according to the target motion state parameter. The target motion state parameter of the pan/tilt may include the target speed. The target speed may be calculated according to the lever amount and speed threshold of the lever amount information used to control the pan/tilt acquired by the control device. The control device may be calculated according to the speed threshold of the pan/tilt. The target speed determines the initial target acceleration of the pan/tilt. When the initial target acceleration is less than or equal to the acceleration threshold, the control device can determine that the initial target acceleration is the target acceleration of the pan/tilt corresponding to the current motion mode of the mobile platform. When the initial target acceleration is greater than the acceleration When setting the threshold, the control device may determine that the acceleration threshold is the target acceleration of the pan/tilt corresponding to the current motion mode of the mobile platform, and the determined target acceleration is less than or equal to the acceleration threshold of the pan/tilt corresponding to the current motion mode of the mobile platform. The multiple motion modes of corresponds to the acceleration threshold of the respective pan/tilt, and the control device can control the pan/tilt according to the target acceleration.
在一个实施例中,控制装置根据云台的目标速度确定云台的初始目标加速度的具体实施方式可以为:控制装置可以根据第一时刻获取到的用于对云台进行控制的杆量信息对应的云台的目标速度和第二时刻获取到的用于对云台进行控制的杆量信息对应的云台的目标速度,确定云台在第一时刻的初始目标加速度,第一时刻位于第二时刻之后。In one embodiment, the specific implementation manner for the control device to determine the initial target acceleration of the pan/tilt head according to the target speed of the pan/tilt may be: the control device may correspond to the lever amount information acquired at the first moment for controlling the pan/tilt. The target speed of the pan/tilt and the target speed of the pan/tilt corresponding to the lever amount information acquired at the second moment for controlling the pan/tilt, determine the initial target acceleration of the pan/tilt at the first moment, and the first moment is at the second moment After the moment.
在一个实施例中,控制装置第一时刻获取到的用于对云台进行控制的杆量信息对应的云台的目标速度为“0.003度每秒”,控制装置第二时刻获取到的用于对云台进行控制的杆量信息对应的云台的目标速度为“0.001度每秒”,第一时刻位于第二时刻之后,第一时刻与第二时刻的时间差为“2s”,控制装置根据第一时刻对应的云台的目标速度和第二时刻对应的云台的目标速度,确定得到云台在第一时刻的初始目标加速度为“0.001度每平方秒”,云台在第一时刻 的初始目标加速度“0.001度每平方秒”小于云台的加速度阈值“0.002度每平方秒”,控制装置确定初始目标加速度“0.001度每平方秒”为云台的目标加速度,控制装置可以根据该目标加速度“0.001度每平方秒”控制云台。In an embodiment, the target speed of the pan/tilt corresponding to the lever amount information for controlling the pan/tilt acquired at the first time by the control device is "0.003 degrees per second", and the target speed acquired by the control device at the second time is used for The target speed of the pan/tilt corresponding to the lever amount information for controlling the pan/tilt is "0.001 degree per second", the first moment is after the second moment, and the time difference between the first moment and the second moment is “2s”, and the control device is based on The target speed of the pan/tilt corresponding to the first moment and the target speed of the pan/tilt corresponding to the second moment are determined. The initial target acceleration of the pan/tilt at the first moment is “0.001 degree per square second”. The initial target acceleration "0.001 degree per square second" is less than the acceleration threshold of the gimbal "0.002 degrees per square second", the control device determines the initial target acceleration "0.001 degree per square second" as the target acceleration of the gimbal, and the control device can follow the target The acceleration "0.001 degree per square second" controls the pan/tilt.
在一个实施例中,控制装置第一时刻获取到的用于对云台进行控制的杆量信息对应的云台的目标速度为“0.005度每秒”,控制装置第二时刻获取到的用于对云台进行控制的杆量信息对应的云台的目标速度为“0.001度每秒”,第一时刻位于第二时刻之后,第一时刻与第二时刻的时间差为“2s”,控制装置根据第一时刻对应的云台的目标速度和第二时刻对应的云台的目标速度,确定得到云台在第一时刻的初始目标加速度为“0.002度每平方秒”,云台在第一时刻的初始目标加速度“0.002度每平方秒”大于云台的加速度阈值“0.001度每平方秒”,控制装置确定加速度阈值“0.001度每平方秒”为云台的目标加速度,控制装置可以根据该目标加速度“0.001度每平方秒”控制云台。In an embodiment, the target speed of the pan/tilt corresponding to the lever amount information used to control the pan/tilt acquired at the first time by the control device is "0.005 degrees per second", and the target speed acquired by the control device at the second time is used for The target speed of the pan/tilt corresponding to the lever amount information for controlling the pan/tilt is "0.001 degree per second", the first moment is after the second moment, and the time difference between the first moment and the second moment is “2s”, and the control device is based on The target speed of the pan/tilt corresponding to the first moment and the target speed of the pan/tilt corresponding to the second moment are determined. The initial target acceleration of the pan/tilt at the first moment is “0.002 degrees per square second”. The initial target acceleration "0.002 degrees per square second" is greater than the acceleration threshold of the gimbal "0.001 degrees per square second". The control device determines the acceleration threshold "0.001 degrees per square second" as the target acceleration of the gimbal, and the control device can be based on the target acceleration "0.001 degree per square second" controls the pan/tilt.
在一个实施例中,云台的目标运动状态参数可以包括目标加速度,目标加速度可以根据控制装置获取到的用于对云台进行运动控制的杆量信息的控制杆量值与加速度阈值计算得到,控制装置可以根据该目标加速度控制云台。In one embodiment, the target motion state parameter of the pan/tilt head may include target acceleration, and the target acceleration may be calculated according to the lever amount and acceleration threshold value of the rod amount information used to control the motion of the pan/tilt head acquired by the control device, The control device can control the pan/tilt according to the target acceleration.
在一个实施例中,当杆量信息是用于控制云台俯仰轴的控制杆量值时,控制装置可以根据该用于控制云台俯仰轴的控制杆量值和与移动平台当前的运动模式对应的云台的运动状态参考系数,确定云台的目标运动状态参数,控制装置可以根据云台的目标运动状态参数控制云台在俯仰轴上转动;当杆量信息是用于控制云台偏航轴的控制杆量值时,控制装置可以根据该用于控制云台偏航轴的控制杆量值和与移动平台当前的运动模式对应的云台的运动状态参考系数,确定云台的目标运动状态参数,控制装置可以根据云台的目标运动状态参数控制云台在偏航轴上转动。In one embodiment, when the lever amount information is a lever amount used to control the tilt axis of the pan/tilt, the control device may use the lever amount used to control the tilt axis of the gimbal and the current motion mode of the mobile platform. The corresponding reference coefficient of the motion state of the pan/tilt is used to determine the target motion state parameters of the pan/tilt. The control device can control the pan/tilt to rotate on the pitch axis according to the target motion state parameters of the pan/tilt; when the lever amount information is used to control the tilt of the pan/tilt When the amount of the control lever of the wing axis, the control device can determine the target of the gimbal according to the amount of the control lever used to control the yaw axis of the gimbal and the reference coefficient of the movement state of the gimbal corresponding to the current movement mode of the mobile platform Motion state parameters, the control device can control the pan-tilt to rotate on the yaw axis according to the target motion state parameters of the pan-tilt.
本发明实施例中,控制装置可以根据获取到的用于对云台进行运动控制的杆量信息和与移动平台当前的运动模式对应的云台的运动状态参考系数,确定云台的目标运动状态参数,从而控制装置可以根据目标运动状态参数控制云台。通过本发明实施例,控制装置可以根据移动平台的运动模式,自动调节云台的运动状态,使得在利用移动平台对目标场景进行拍摄的过程中,移动平台在不同运动模式下的速度与云台的速度配合更加紧密,可以较为有效地提升拍摄效 果。In the embodiment of the present invention, the control device may determine the target motion state of the pan/tilt head according to the acquired lever amount information used to control the movement of the pan/tilt head and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform Parameters, so that the control device can control the pan/tilt according to the target motion state parameters. Through the embodiment of the present invention, the control device can automatically adjust the movement state of the pan/tilt according to the movement mode of the mobile platform, so that in the process of using the mobile platform to shoot the target scene, the speed of the mobile platform in different movement modes is the same as that of the pan/tilt. The speed is more closely matched, which can effectively improve the shooting effect.
请参见图4,是本发明实施例提供的一种用于控制云台的装置的结构示意图,本发明实施例提供的用于控制云台的装置可以部署于控制装置中。所述用于控制云台的装置40包括:Refer to FIG. 4, which is a schematic structural diagram of an apparatus for controlling a pan-tilt provided in an embodiment of the present invention. The apparatus for controlling a pan-tilt provided in an embodiment of the present invention may be deployed in the control device. The device 40 for controlling a pan-tilt includes:
获取模块401,用于获取用于对所述云台进行运动控制的杆量信息;The obtaining module 401 is configured to obtain the lever amount information used for motion control of the pan-tilt;
获取模块401,还用于获取与所述移动平台当前的运动模式对应的所述云台的运动状态参考系数,所述当前的运动模式是通过检测到的运动模式选择操作从多个运动模式中选中的,其中,所述多个运动模式对应各自的所述云台的运动状态参考系数;The obtaining module 401 is further configured to obtain a reference coefficient of the motion state of the pan/tilt head corresponding to the current motion mode of the mobile platform. The current motion mode is selected from a plurality of motion modes through a detected motion mode selection operation. Selected, wherein the multiple motion modes correspond to respective reference coefficients of the motion state of the pan/tilt head;
确定模块402,用于根据所述杆量信息和所述当前的运动模式对应的所述云台的运动状态参考系数,确定所述云台的目标运动状态参数;The determining module 402 is configured to determine the target motion state parameter of the pan/tilt head according to the lever amount information and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode;
控制模块403,用于根据所述目标运动状态参数控制所述云台。The control module 403 is configured to control the pan/tilt head according to the target motion state parameter.
在一个实施例中,所述多个运动模式对应各自的所述云台的运动状态参考系数是由用户通过用户终端设置的。In an embodiment, the reference coefficients of the motion states of the pan/tilt heads corresponding to the multiple motion modes are set by the user through the user terminal.
在一个实施例中,所述运动状态参考系数包括:速度系数或者加速度系数。In an embodiment, the motion state reference coefficient includes: a speed coefficient or an acceleration coefficient.
在一个实施例中,所述多个运动模式对应各自的所述云台的运动状态参考系数包括:速度阈值或者加速度阈值。In an embodiment, the motion state reference coefficients of the respective pan/tilt heads corresponding to the multiple motion modes include: a speed threshold or an acceleration threshold.
在一个实施例中,所述目标运动状态参数包括目标速度;In an embodiment, the target motion state parameter includes a target speed;
控制模块403,具体用于:The control module 403 is specifically used for:
根据所述目标速度,确定所述当前的运动模式对应的所述云台的目标加速度,其中,所述确定的目标加速度小于或者等于与所述移动平台当前的运动模式对应的所述云台的加速度阈值,所述多个运动模式对应各自的所述云台的加速度阈值;According to the target speed, determine the target acceleration of the pan/tilt head corresponding to the current motion mode, wherein the determined target acceleration is less than or equal to the target acceleration of the pan/tilt head corresponding to the current motion mode of the mobile platform An acceleration threshold, where the multiple motion modes correspond to the acceleration thresholds of the respective pan/tilt heads;
根据所述目标加速度控制所述云台。The pan-tilt is controlled according to the target acceleration.
在一个实施例中,控制模块403,具体用于:In one embodiment, the control module 403 is specifically used for:
根据所述目标速度确定所述云台的初始目标加速度;Determining the initial target acceleration of the pan/tilt head according to the target speed;
当所述初始目标加速度小于或者等于所述加速度阈值时,确定所述初始目标加速度为所述目标加速度;When the initial target acceleration is less than or equal to the acceleration threshold, determining that the initial target acceleration is the target acceleration;
当所述初始目标加速度大于所述加速度阈值时,确定所述加速度阈值为所 述目标加速度。When the initial target acceleration is greater than the acceleration threshold, it is determined that the acceleration threshold is the target acceleration.
在一个实施例中,所述多个运动模式对应各自的所述云台的加速度阈值是由用户通过所述用户终端设置的。In one embodiment, the acceleration thresholds of the pan/tilt heads corresponding to the multiple motion modes are set by the user through the user terminal.
在一个实施例中,所述加速度阈值是根据所述当前的运动模式对应的平滑度参数和所述当前的运动模式对应的所述云台的速度阈值计算得到的,所述多个运动模式对应各自的平滑度参数,所述多个运动模式对应各自的速度阈值。In an embodiment, the acceleration threshold is calculated according to the smoothness parameter corresponding to the current motion mode and the speed threshold of the pan/tilt head corresponding to the current motion mode, and the multiple motion modes correspond to The respective smoothness parameters, and the multiple motion modes correspond to respective speed thresholds.
在一个实施例中,所述当前的运动模式对应的平滑度参数是由用户通过所述用户终端设置的;或者,所述当前的运动模式对应的平滑度参数是默认设置的。In an embodiment, the smoothness parameter corresponding to the current sports mode is set by the user through the user terminal; or, the smoothness parameter corresponding to the current sports mode is set by default.
在一个实施例中,控制模块403,具体用于:In one embodiment, the control module 403 is specifically used for:
当所述杆量信息是用于控制俯仰轴的控制杆量值时,根据所述目标运动状态参数控制所述云台在俯仰轴上转动;或者,When the lever amount information is a lever amount used to control the pitch axis, control the pan/tilt head to rotate on the pitch axis according to the target motion state parameter; or,
当所述杆量信息是用于控制偏航轴的控制杆量值时,根据所述目标运动状态参数控制所述云台在偏航轴上转动。When the lever amount information is a lever amount used to control the yaw axis, the pan/tilt head is controlled to rotate on the yaw axis according to the target motion state parameter.
本发明实施例中,用于控制云台的装置40的获取模块401可以获取用于对云台进行运动控制的杆量信息和与移动平台当前的运动模式对应的云台的运动状态参考系数;确定模块402可以根据获取到的用于对云台进行运动控制的杆量信息和与移动平台当前的运动模式对应的云台的运动状态参考系数,确定云台的目标运动状态参数;从而控制模块403可以根据目标运动状态参数控制云台。通过本发明实施例,用于控制云台的装置40可以根据移动平台的运动模式自动调节云台的运动状态,使得移动平台在不同运动模式下的速度与云台速度配合更加紧密,较为有效地提升了移动平台的拍摄效果。In the embodiment of the present invention, the acquisition module 401 of the device 40 for controlling the pan/tilt may acquire the lever amount information used for the movement control of the pan/tilt and the reference coefficient of the movement state of the pan/tilt corresponding to the current movement mode of the mobile platform; The determining module 402 can determine the target motion state parameter of the pan/tilt head according to the acquired lever amount information used to control the motion of the pan/tilt head and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform; thereby controlling the module 403 can control the pan/tilt according to the target motion state parameters. Through the embodiment of the present invention, the device 40 for controlling the pan/tilt can automatically adjust the movement state of the pan/tilt according to the movement mode of the mobile platform, so that the speed of the mobile platform in different movement modes is more closely matched with the speed of the pan/tilt, and is more effective. Improved the shooting effect of the mobile platform.
请参见图5,是本发明实施例提供的一种控制装置的结构示意图。本实施例中所描述的控制装置50,包括:处理器501和存储器502。上述处理器501和存储器502通过总线连接。Please refer to FIG. 5, which is a schematic structural diagram of a control device according to an embodiment of the present invention. The control device 50 described in this embodiment includes a processor 501 and a memory 502. The aforementioned processor 501 and memory 502 are connected by a bus.
上述处理器501可以是中央处理单元(Central Processing Unit,CPU),该处理器501还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器 件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The above-mentioned processor 501 may be a central processing unit (CPU), and the processor 501 may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and application specific integrated circuits (Application Specific Integrated Circuits). ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
上述存储器502可以包括只读存储器和随机存取存储器,并向处理器501提供程序指令和数据。存储器502的一部分还可以包括非易失性随机存取存储器。其中,所述处理器501调用所述程序指令时用于执行:The aforementioned memory 502 may include a read-only memory and a random access memory, and provides program instructions and data to the processor 501. A part of the memory 502 may also include a non-volatile random access memory. Wherein, when the processor 501 calls the program instructions, it is used to execute:
获取用于对所述云台进行运动控制的杆量信息;Acquiring lever amount information used for motion control of the pan/tilt;
获取与所述移动平台当前的运动模式对应的所述云台的运动状态参考系数,所述当前的运动模式是通过检测到的运动模式选择操作从多个运动模式中选中的,其中,所述多个运动模式对应各自的所述云台的运动状态参考系数;Obtain the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform. The current motion mode is selected from a plurality of motion modes through a detected motion mode selection operation, wherein the Multiple motion modes correspond to respective reference coefficients of the motion state of the pan/tilt head;
根据所述杆量信息和所述当前的运动模式对应的所述云台的运动状态参考系数,确定所述云台的目标运动状态参数;Determine the target motion state parameter of the pan/tilt head according to the lever amount information and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode;
根据所述目标运动状态参数控制所述云台。The pan-tilt is controlled according to the target motion state parameter.
在一个实施例中,所述多个运动模式对应各自的所述云台的运动状态参考系数是由用户通过用户终端设置的。In an embodiment, the reference coefficients of the motion states of the pan/tilt heads corresponding to the multiple motion modes are set by the user through the user terminal.
在一个实施例中,所述运动状态参考系数包括:速度系数或者加速度系数。In an embodiment, the motion state reference coefficient includes: a speed coefficient or an acceleration coefficient.
在一个实施例中,所述多个运动模式对应各自的所述云台的运动状态参考系数包括:速度阈值或者加速度阈值。In an embodiment, the motion state reference coefficients of the respective pan/tilt heads corresponding to the multiple motion modes include: a speed threshold or an acceleration threshold.
在一个实施例中,所述目标运动状态参数包括目标速度;In an embodiment, the target motion state parameter includes a target speed;
所述处理器501,具体用于:The processor 501 is specifically configured to:
所述根据所述目标运动状态参数控制所述云台,包括:The controlling the pan/tilt head according to the target motion state parameter includes:
根据所述目标速度,确定所述当前的运动模式对应的所述云台的目标加速度,其中,所述确定的目标加速度小于或者等于与所述移动平台当前的运动模式对应的所述云台的加速度阈值,所述多个运动模式对应各自的所述云台的加速度阈值;According to the target speed, determine the target acceleration of the pan/tilt head corresponding to the current motion mode, wherein the determined target acceleration is less than or equal to the target acceleration of the pan/tilt head corresponding to the current motion mode of the mobile platform An acceleration threshold, where the multiple motion modes correspond to the acceleration thresholds of the respective pan/tilt heads;
根据所述目标加速度控制所述云台。The pan-tilt is controlled according to the target acceleration.
在一个实施例中,所述处理器501,具体用于:In an embodiment, the processor 501 is specifically configured to:
根据所述目标速度确定所述云台的初始目标加速度;Determining the initial target acceleration of the pan/tilt head according to the target speed;
当所述初始目标加速度小于或者等于所述加速度阈值时,确定所述初始目标加速度为所述目标加速度;When the initial target acceleration is less than or equal to the acceleration threshold, determining that the initial target acceleration is the target acceleration;
当所述初始目标加速度大于所述加速度阈值时,确定所述加速度阈值为所述目标加速度。When the initial target acceleration is greater than the acceleration threshold, it is determined that the acceleration threshold is the target acceleration.
在一个实施例中,所述多个运动模式对应各自的所述云台的加速度阈值是由用户通过所述用户终端设置的。In one embodiment, the acceleration thresholds of the pan/tilt heads corresponding to the multiple motion modes are set by the user through the user terminal.
在一个实施例中,所述加速度阈值是根据速度阈值设置的。In one embodiment, the acceleration threshold is set according to the speed threshold.
在一个实施例中,所述加速度阈值是根据所述当前的运动模式对应的平滑度参数和所述当前的运动模式对应的所述云台的速度阈值计算得到的,所述多个运动模式对应各自的平滑度参数,所述多个运动模式对应各自的速度阈值。In an embodiment, the acceleration threshold is calculated according to the smoothness parameter corresponding to the current motion mode and the speed threshold of the pan/tilt head corresponding to the current motion mode, and the multiple motion modes correspond to The respective smoothness parameters, and the multiple motion modes correspond to respective speed thresholds.
在一个实施例中,所述当前的运动模式对应的平滑度参数是由用户通过所述用户终端设置的;或者,所述当前的运动模式对应的平滑度参数是默认设置的。In an embodiment, the smoothness parameter corresponding to the current sports mode is set by the user through the user terminal; or, the smoothness parameter corresponding to the current sports mode is set by default.
在一个实施例中,所述处理器501,具体用于:In an embodiment, the processor 501 is specifically configured to:
当所述杆量信息是用于控制俯仰轴的控制杆量值时,根据所述目标运动状态参数控制所述云台在俯仰轴上转动;或者,When the lever amount information is a lever amount used to control the pitch axis, control the pan/tilt head to rotate on the pitch axis according to the target motion state parameter; or,
当所述杆量信息是用于控制偏航轴的控制杆量值时,根据所述目标运动状态参数控制所述云台在偏航轴上转动。When the lever amount information is a lever amount used to control the yaw axis, the pan/tilt head is controlled to rotate on the yaw axis according to the target motion state parameter.
具体实现中,本发明实施例中所描述的处理器501和存储器502可执行本发明实施例图2提供的云台控制方法中所描述的实现方式,也可执行本发明实施例图4所描述的用于控制云台的装置的实现方式,在此不再赘述。In specific implementation, the processor 501 and the memory 502 described in the embodiment of the present invention can perform the implementation described in the PTZ control method provided in Figure 2 of the embodiment of the present invention, and can also perform the implementation described in Figure 4 of the embodiment of the present invention. The implementation of the device for controlling the PTZ will not be repeated here.
本发明实施例中,控制装置50的处理器501可以获取用于对云台进行运动控制的杆量信息和与移动平台当前的运动模式对应的云台的运动状态参考系数,并根据获取到的用于对云台进行运动控制的杆量信息和与移动平台当前的运动模式对应的云台的运动状态参考系数,确定云台的目标运动状态参数,从而,处理器501可以根据目标运动状态参数控制云台。通过本发明实施例,控制装置50可以根据移动平台的运动模式自动调节云台的运动状态,使得移动平台在不同运动模式下的速度与云台的速度配合更加紧密,较为有效地提升了移动平台的拍摄效果。In the embodiment of the present invention, the processor 501 of the control device 50 may obtain the lever amount information used to control the movement of the pan/tilt and the movement state reference coefficient of the pan/tilt corresponding to the current movement mode of the mobile platform, and according to the acquired The lever amount information used to control the motion of the pan/tilt and the motion state reference coefficient of the pan/tilt corresponding to the current motion mode of the mobile platform determine the target motion state parameters of the pan/tilt, so that the processor 501 can determine the target motion state parameters of the pan/tilt. Control the PTZ. Through the embodiment of the present invention, the control device 50 can automatically adjust the movement state of the pan/tilt according to the movement mode of the mobile platform, so that the speed of the mobile platform in different movement modes is more closely matched with the speed of the pan/tilt, and the mobile platform is more effectively improved. The shooting effect.
本发明实施例还提供了一种控制系统,所述控制系统可以包括图5所示实施例中描述的控制装置、云台和移动平台,所述云台设置在移动平台上,所述 控制装置可以采用上述各个实施例的构造,用于在所述移动平台移动的过程中控制所述云台。The embodiment of the present invention also provides a control system. The control system may include the control device, the pan-tilt and the mobile platform described in the embodiment shown in FIG. 5, the pan-tilt is set on the mobile platform, and the control device The structure of each of the foregoing embodiments may be adopted to control the pan-tilt during the movement of the mobile platform.
本发明实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序执行时可包括如图2对应实施例中的云台控制方法的部分或全部步骤。The embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program execution may include part or all of the pan/tilt control method in the corresponding embodiment in FIG. 2 step.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例为本发明的部分实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described sequence of actions. Because according to the present invention, certain steps can be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are part of the embodiments of the present invention, and the involved actions and modules are not necessarily required by the present invention.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium, and the storage medium can include: Flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), magnetic disk or optical disk, etc.
以上对本发明实施例所提供的一种云台控制方法、控制装置及控制系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above provides a detailed introduction to the pan/tilt control method, control device, and control system provided by the embodiments of the present invention. Specific examples are used in this article to illustrate the principles and implementation of the present invention. The description of the above embodiments is only used To help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and the scope of application. In summary, this specification The content should not be construed as limiting the present invention.

Claims (23)

  1. 一种云台控制方法,其特征在于,所述云台设置在移动平台上,所述方法包括:A method for controlling a pan-tilt, characterized in that the pan-tilt is set on a mobile platform, and the method includes:
    获取用于对所述云台进行运动控制的杆量信息;Acquiring lever amount information used for motion control of the pan/tilt;
    获取与所述移动平台当前的运动模式对应的所述云台的运动状态参考系数,所述当前的运动模式是通过检测到的运动模式选择操作从多个运动模式中选中的,其中,所述多个运动模式对应各自的所述云台的运动状态参考系数;Obtain the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform. The current motion mode is selected from a plurality of motion modes through a detected motion mode selection operation, wherein the Multiple motion modes correspond to respective reference coefficients of the motion state of the pan/tilt head;
    根据所述杆量信息和所述当前的运动模式对应的所述云台的运动状态参考系数,确定所述云台的目标运动状态参数;Determine the target motion state parameter of the pan/tilt head according to the lever amount information and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode;
    根据所述目标运动状态参数控制所述云台。The pan-tilt is controlled according to the target motion state parameter.
  2. 如权利要求1所述的方法,其特征在于,所述多个运动模式对应各自的所述云台的运动状态参考系数是由用户通过用户终端设置的。The method according to claim 1, wherein the reference coefficients of the motion states of the pan/tilt heads corresponding to the multiple motion modes are set by the user through the user terminal.
  3. 如权利要求1或2所述的方法,其特征在于,所述运动状态参考系数包括:速度系数或者加速度系数。The method according to claim 1 or 2, wherein the motion state reference coefficient comprises: a speed coefficient or an acceleration coefficient.
  4. 如权利要求1-3任一项所述的方法,其特征在于,所述多个运动模式对应各自的所述云台的运动状态参考系数包括:速度阈值或者加速度阈值。The method according to any one of claims 1 to 3, wherein the motion state reference coefficients of the pan/tilt heads corresponding to each of the multiple motion modes include: a speed threshold or an acceleration threshold.
  5. 如权利要求1-4任一项所述的方法,其特征在于,所述目标运动状态参数包括目标速度;The method according to any one of claims 1 to 4, wherein the target motion state parameter includes a target speed;
    所述根据所述目标运动状态参数控制所述云台,包括:The controlling the pan/tilt head according to the target motion state parameter includes:
    根据所述目标速度,确定所述当前的运动模式对应的所述云台的目标加速度,其中,所述确定的目标加速度小于或者等于与所述移动平台当前的运动模式对应的所述云台的加速度阈值,所述多个运动模式对应各自的所述云台的加速度阈值;According to the target speed, determine the target acceleration of the pan/tilt head corresponding to the current motion mode, wherein the determined target acceleration is less than or equal to the target acceleration of the pan/tilt head corresponding to the current motion mode of the mobile platform An acceleration threshold, where the multiple motion modes correspond to the acceleration thresholds of the respective pan/tilt heads;
    根据所述目标加速度控制所述云台。The pan-tilt is controlled according to the target acceleration.
  6. 如权利要求5所述的方法,其特征在于,所述根据所述目标速度确定所述云台的目标加速度,包括:The method of claim 5, wherein the determining the target acceleration of the pan/tilt head according to the target speed comprises:
    根据所述目标速度确定所述云台的初始目标加速度;Determining the initial target acceleration of the pan/tilt head according to the target speed;
    当所述初始目标加速度小于或者等于所述加速度阈值时,确定所述初始目标加速度为所述目标加速度;When the initial target acceleration is less than or equal to the acceleration threshold, determining that the initial target acceleration is the target acceleration;
    当所述初始目标加速度大于所述加速度阈值时,确定所述加速度阈值为所述目标加速度。When the initial target acceleration is greater than the acceleration threshold, it is determined that the acceleration threshold is the target acceleration.
  7. 如权利要求5或6所述的方法,其特征在于,所述多个运动模式对应各自的所述云台的加速度阈值是由用户通过所述用户终端设置的。The method according to claim 5 or 6, wherein the acceleration thresholds of the pan/tilt heads corresponding to the multiple motion modes are set by the user through the user terminal.
  8. 如权利要求5或6所述的方法,其特征在于,所述加速度阈值是根据速度阈值设置的。The method according to claim 5 or 6, wherein the acceleration threshold is set according to a speed threshold.
  9. 如权利要求8所述的方法,其特征在于,所述加速度阈值是根据所述当前的运动模式对应的平滑度参数和所述当前的运动模式对应的所述云台的速度阈值计算得到的,所述多个运动模式对应各自的平滑度参数,所述多个运动模式对应各自的速度阈值。The method according to claim 8, wherein the acceleration threshold is calculated according to the smoothness parameter corresponding to the current motion mode and the speed threshold of the pan/tilt head corresponding to the current motion mode, The multiple motion modes correspond to respective smoothness parameters, and the multiple motion modes correspond to respective speed thresholds.
  10. 如权利要求9所述方法,其特征在于,所述当前的运动模式对应的平滑度参数是由用户通过所述用户终端设置的;或者,所述当前的运动模式对应的平滑度参数是默认设置的。The method according to claim 9, wherein the smoothness parameter corresponding to the current sports mode is set by the user through the user terminal; or, the smoothness parameter corresponding to the current sports mode is a default setting of.
  11. 如权利要求1所述的方法,其特征在于,所述根据所述目标运动状态参数控制所述云台,包括:The method according to claim 1, wherein said controlling said pan-tilt according to said target motion state parameter comprises:
    当所述杆量信息是用于控制俯仰轴的控制杆量值时,根据所述目标运动状态参数控制所述云台在俯仰轴上转动;When the lever amount information is a lever amount used to control the pitch axis, controlling the pan/tilt head to rotate on the pitch axis according to the target motion state parameter;
    当所述杆量信息是用于控制偏航轴的控制杆量值时,根据所述目标运动状 态参数控制所述云台在偏航轴上转动。When the lever amount information is a lever amount used to control the yaw axis, control the pan/tilt head to rotate on the yaw axis according to the target motion state parameter.
  12. 一种控制装置,其特征在于,所述控制装置包括:处理器和存储器,所述存储器和所述处理器相互连接,其中:A control device, characterized in that the control device comprises: a processor and a memory, the memory and the processor are connected to each other, wherein:
    所述存储器,用于存储计算机程序,所述计算机程序包括程序指令;The memory is used to store a computer program, and the computer program includes program instructions;
    所述处理器调用所述程序指令时,用于执行:When the processor calls the program instructions, it is used to execute:
    获取用于对所述云台进行运动控制的杆量信息;Acquiring lever amount information used for motion control of the pan/tilt;
    获取与所述移动平台当前的运动模式对应的所述云台的运动状态参考系数,所述当前的运动模式是通过检测用户的运动模式选择操作从多个运动模式中选中的,其中,所述多个运动模式对应各自的所述云台的运动状态参考系数;Obtain the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode of the mobile platform. The current motion mode is selected from a plurality of motion modes by detecting a user's motion mode selection operation, wherein the Multiple motion modes correspond to respective reference coefficients of the motion state of the pan/tilt head;
    根据所述杆量信息和所述当前的运动模式对应的所述云台的运动状态参考系数,确定所述云台的目标运动状态参数;Determine the target motion state parameter of the pan/tilt head according to the lever amount information and the motion state reference coefficient of the pan/tilt head corresponding to the current motion mode;
    根据所述目标运动状态参数控制所述云台。The pan-tilt is controlled according to the target motion state parameter.
  13. 如权利要求12所述的控制装置,其特征在于,所述多个运动模式对应各自的所述云台的运动状态参考系数是由用户通过用户终端设置的。The control device according to claim 12, wherein the reference coefficients of the motion states of the pan/tilt heads corresponding to the multiple motion modes are set by the user through the user terminal.
  14. 如权利要求12或13所述的控制装置,其特征在于,所述运动状态参考系数包括:速度系数或者加速度系数。The control device according to claim 12 or 13, wherein the motion state reference coefficient comprises: a speed coefficient or an acceleration coefficient.
  15. 如权利要求12-14任一项所述的控制装置,其特征在于,所述多个运动模式对应各自的所述云台的运动状态参考系数包括:速度阈值或者加速度阈值。The control device according to any one of claims 12-14, wherein the motion state reference coefficients of the multiple motion modes corresponding to the respective pan/tilt heads comprise: a speed threshold or an acceleration threshold.
  16. 如权利要求12-15任一项所述的控制装置,其特征在于,所述目标运动状态参数包括目标速度;15. The control device according to any one of claims 12-15, wherein the target motion state parameter includes a target speed;
    所述处理器在根据所述目标运动状态参数控制所述云台时,具体用于执行如下步骤:When the processor controls the pan/tilt head according to the target motion state parameter, it is specifically configured to perform the following steps:
    根据所述目标速度,确定所述当前的运动模式对应的所述云台的目标加速 度,其中,所述确定的目标加速度小于或者等于与所述移动平台当前的运动模式对应的所述云台的加速度阈值,所述多个运动模式对应各自的所述云台的加速度阈值;According to the target speed, determine the target acceleration of the pan/tilt head corresponding to the current motion mode, wherein the determined target acceleration is less than or equal to the target acceleration of the pan/tilt head corresponding to the current motion mode of the mobile platform An acceleration threshold, where the multiple motion modes correspond to the acceleration thresholds of the respective pan/tilt heads;
    根据所述目标加速度控制所述云台。The pan-tilt is controlled according to the target acceleration.
  17. 如权利要求16所述的控制装置,其特征在于,所述处理器在根据所述目标速度确定所述云台的目标加速度时,具体用于执行如下步骤:The control device according to claim 16, wherein the processor is specifically configured to perform the following steps when determining the target acceleration of the pan/tilt head according to the target speed:
    根据所述目标速度确定所述云台的初始目标加速度;Determining the initial target acceleration of the pan/tilt head according to the target speed;
    当所述初始目标加速度小于或者等于所述加速度阈值时,确定所述初始目标加速度为所述目标加速度;When the initial target acceleration is less than or equal to the acceleration threshold, determining that the initial target acceleration is the target acceleration;
    当所述初始目标加速度大于所述加速度阈值时,确定所述加速度阈值为所述目标加速度。When the initial target acceleration is greater than the acceleration threshold, it is determined that the acceleration threshold is the target acceleration.
  18. 如权利要求16或17所述的控制装置,其特征在于,所述多个运动模式对应各自的所述云台的加速度阈值是由用户通过所述用户终端设置的。The control device according to claim 16 or 17, wherein the acceleration thresholds of the pan/tilt heads corresponding to the multiple motion modes are set by the user through the user terminal.
  19. 如权利要求16或17所述的控制装置,其特征在于,所述加速度阈值是根据速度阈值设置的。The control device according to claim 16 or 17, wherein the acceleration threshold is set according to a speed threshold.
  20. 如权利要求19所述的控制装置,其特征在于,所述加速度阈值是根据所述当前的运动模式对应的平滑度参数和所述当前的运动模式对应的所述云台的速度阈值计算得到的,所述多个运动模式对应各自的平滑度参数,所述多个运动模式对应各自的速度阈值。The control device of claim 19, wherein the acceleration threshold is calculated based on the smoothness parameter corresponding to the current motion mode and the speed threshold of the pan/tilt head corresponding to the current motion mode. , The multiple motion modes correspond to respective smoothness parameters, and the multiple motion modes correspond to respective speed thresholds.
  21. 如权利要求20所述的控制装置,其特征在于,所述当前的运动模式对应的平滑度参数是由用户通过所述用户终端设置的;或者,所述当前的运动模式对应的平滑度参数是默认设置的。The control device according to claim 20, wherein the smoothness parameter corresponding to the current sports mode is set by the user through the user terminal; or, the smoothness parameter corresponding to the current sports mode is Set by default.
  22. 如权利要求12所述的控制装置,其特征在于,所述处理器在根据所 述目标运动状态参数控制所述云台时,具体用于执行如下步骤:The control device according to claim 12, wherein the processor is specifically configured to perform the following steps when controlling the pan/tilt head according to the target motion state parameter:
    当所述杆量信息是用于控制俯仰轴的控制杆量值时,根据所述目标运动状态参数控制所述云台在俯仰轴上转动;或者,When the lever amount information is a lever amount used to control the pitch axis, control the pan/tilt head to rotate on the pitch axis according to the target motion state parameter; or,
    当所述杆量信息是用于控制偏航轴的控制杆量值时,根据所述目标运动状态参数控制所述云台在偏航轴上转动。When the lever amount information is a lever amount used to control the yaw axis, the pan/tilt head is controlled to rotate on the yaw axis according to the target motion state parameter.
  23. 一种控制系统,其特征在于,所述控制系统包括:A control system, characterized in that the control system includes:
    移动平台;mobile platform;
    云台,所述云台设置在所述移动平台上;PTZ, the PTZ is set on the mobile platform;
    如权利要求12-22任一项所述的控制装置,用于在所述移动平台移动的过程中控制所述云台。The control device according to any one of claims 12-22, which is used to control the pan-tilt during the movement of the mobile platform.
PCT/CN2019/121595 2019-11-28 2019-11-28 Gimbal control method, control device, and control system WO2021102797A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/121595 WO2021102797A1 (en) 2019-11-28 2019-11-28 Gimbal control method, control device, and control system
CN201980038390.2A CN112292650A (en) 2019-11-28 2019-11-28 Cloud deck control method, control device and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/121595 WO2021102797A1 (en) 2019-11-28 2019-11-28 Gimbal control method, control device, and control system

Publications (1)

Publication Number Publication Date
WO2021102797A1 true WO2021102797A1 (en) 2021-06-03

Family

ID=74419646

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/121595 WO2021102797A1 (en) 2019-11-28 2019-11-28 Gimbal control method, control device, and control system

Country Status (2)

Country Link
CN (1) CN112292650A (en)
WO (1) WO2021102797A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116670623A (en) * 2021-06-07 2023-08-29 深圳市大疆创新科技有限公司 Remote controller, rod quantity determining method thereof and cradle head system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205121351U (en) * 2015-11-24 2016-03-30 杨珊珊 A intelligent glasses and system for controlling unmanned aerial vehicle
CN106741892A (en) * 2016-12-05 2017-05-31 广西大学 A kind of many rotor aerial photography aircrafts
CN107074348A (en) * 2016-12-30 2017-08-18 深圳市大疆创新科技有限公司 Control method, device, equipment and unmanned vehicle
JP2018063512A (en) * 2016-10-12 2018-04-19 本郷飛行機株式会社 Attitude control system of moving body
US20190023395A1 (en) * 2017-07-18 2019-01-24 Samsung Electronics Co., Ltd Electronic device moved based on distance from external object and control method thereof
CN110337560A (en) * 2018-05-30 2019-10-15 深圳市大疆创新科技有限公司 Control method, holder, capture apparatus and the readable storage medium storing program for executing of holder

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NO339419B1 (en) * 2015-03-25 2016-12-12 FLIR Unmanned Aerial Systems AS Path-Based Flight Maneuvering System
JP2017062529A (en) * 2015-09-24 2017-03-30 キヤノン株式会社 Direction control method
CN106598081B (en) * 2016-10-27 2019-08-23 纳恩博(北京)科技有限公司 A kind of image-pickup method and electronic equipment
CN107111322B (en) * 2016-12-12 2019-02-22 深圳市大疆创新科技有限公司 Holder and its operating method, control method, and the movable equipment using it
CN108476288B (en) * 2017-05-24 2021-05-07 深圳市大疆创新科技有限公司 Shooting control method and device
CN109074087A (en) * 2017-12-25 2018-12-21 深圳市大疆创新科技有限公司 Yaw attitude control method, unmanned plane, computer readable storage medium
CN109725652B (en) * 2018-11-16 2022-04-01 广州昂宝电子有限公司 Method for resolving and controlling course of unmanned aerial vehicle holder
CN110347171B (en) * 2019-07-12 2022-06-03 深圳市道通智能航空技术股份有限公司 Aircraft control method and aircraft

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205121351U (en) * 2015-11-24 2016-03-30 杨珊珊 A intelligent glasses and system for controlling unmanned aerial vehicle
JP2018063512A (en) * 2016-10-12 2018-04-19 本郷飛行機株式会社 Attitude control system of moving body
CN106741892A (en) * 2016-12-05 2017-05-31 广西大学 A kind of many rotor aerial photography aircrafts
CN107074348A (en) * 2016-12-30 2017-08-18 深圳市大疆创新科技有限公司 Control method, device, equipment and unmanned vehicle
US20190023395A1 (en) * 2017-07-18 2019-01-24 Samsung Electronics Co., Ltd Electronic device moved based on distance from external object and control method thereof
CN110337560A (en) * 2018-05-30 2019-10-15 深圳市大疆创新科技有限公司 Control method, holder, capture apparatus and the readable storage medium storing program for executing of holder

Also Published As

Publication number Publication date
CN112292650A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN113038016B (en) Unmanned aerial vehicle image acquisition method and unmanned aerial vehicle
CN107030699B (en) Pose error correction method and device, robot and storage medium
WO2019126932A1 (en) Cradle head control method and control device
KR20180100608A (en) Systems and methods for use of multi-camera networks to capture static and / or motion scenes
US11265471B2 (en) Gimbal control method, device, gimbal, system, and storage medium
CN108780324B (en) Unmanned aerial vehicle, and unmanned aerial vehicle control method and device
US20200326709A1 (en) Method and device for controlling reset of gimbal, gimbal, and unmanned aerial vehicle
US11272105B2 (en) Image stabilization control method, photographing device and mobile platform
US20200256506A1 (en) Method for controlling gimbal, gimbal, control system, and movable device
WO2018191963A1 (en) Remote control, camera mount, and camera mount control method, device, and system
WO2020019106A1 (en) Gimbal and unmanned aerial vehicle control method, gimbal, and unmanned aerial vehicle
CN108521813B (en) Cloud deck rotation method, cloud deck, aircraft, and cloud deck rotation control method and system
CN110139038B (en) Autonomous surrounding shooting method and device and unmanned aerial vehicle
US11388343B2 (en) Photographing control method and controller with target localization based on sound detectors
JP2017072986A (en) Autonomous flying device, control method and program of autonomous flying device
WO2019119455A1 (en) Tripod head calibration method and tripod head device
WO2023036260A1 (en) Image acquisition method and apparatus, and aerial vehicle and storage medium
WO2021102797A1 (en) Gimbal control method, control device, and control system
WO2020062281A1 (en) Cradle head control method, cradle head, movable platform and readable storage medium
CN111654677B (en) Method and device for determining desynchronization of holder
WO2018191971A1 (en) Cradle head control method and cradle head
WO2017181930A1 (en) Method and device for displaying flight direction, and unmanned aerial vehicle
TWI709011B (en) Method for calculating and controlling UAV heading
JP6026695B1 (en) Control device, moving body, control method, and program
WO2020000423A1 (en) Control method for gimbal, gimbal, aerial vehicle, and computer-readable storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1