WO2022061772A1 - Gimbal control method and apparatus, movable platform, and storage medium - Google Patents

Gimbal control method and apparatus, movable platform, and storage medium Download PDF

Info

Publication number
WO2022061772A1
WO2022061772A1 PCT/CN2020/117907 CN2020117907W WO2022061772A1 WO 2022061772 A1 WO2022061772 A1 WO 2022061772A1 CN 2020117907 W CN2020117907 W CN 2020117907W WO 2022061772 A1 WO2022061772 A1 WO 2022061772A1
Authority
WO
WIPO (PCT)
Prior art keywords
ptz
parameter
gimbal
parameters
pan
Prior art date
Application number
PCT/CN2020/117907
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/CN2020/117907 priority Critical patent/WO2022061772A1/en
Priority to CN202080008000.XA priority patent/CN113302569A/en
Publication of WO2022061772A1 publication Critical patent/WO2022061772A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D3/00Control of position or direction
    • G05D3/12Control of position or direction using feedback
    • G05D3/20Control of position or direction using feedback using a digital comparing device

Definitions

  • Embodiments of the present invention relate to the field of PTZ technology, and in particular, to a PTZ control method, device, movable platform and storage medium.
  • the replacement operation of the gimbal is generally realized through an after-sales approach.
  • the above operations will be time-consuming and laborious, and the maintenance cost will be relatively high, especially for the traversing machine with the main sports scene, the daily damage is more common, if the replacement operation of the gimbal is realized through after-sales channels, it will greatly Increased labor cost and time cost.
  • Embodiments of the present invention provide a pan-tilt control method, device, removable platform and storage medium, which are used to solve the time-consuming and laborious operation of replacing the pan-tilt in the prior art through an after-sales approach. , The maintenance cost is also relatively high.
  • a first aspect of the present invention is to provide a pan-tilt control method, wherein the pan-tilt is detachably arranged on a movable platform, and the method includes:
  • the PTZ When the PTZ cannot be controlled through the movable platform, the PTZ is controlled to perform parameter calibration operation, so that the PTZ can be controlled through the movable platform.
  • a second aspect of the present invention is to provide a pan-tilt control device, the pan-tilt is detachably arranged on a movable platform, the pan-tilt includes a shaft assembly and a pan-tilt motor, and the pan-tilt motor is used for driving The shaft assembly rotates; the device includes:
  • a processor for running a computer program stored in the memory to achieve:
  • the PTZ When the PTZ cannot be controlled through the movable platform, the PTZ is controlled to perform parameter calibration operation, so that the PTZ can be controlled through the movable platform.
  • a third aspect of the present invention is to provide a movable platform, comprising:
  • a gimbal is used to support a load, the gimbal is detachably arranged on the body, the gimbal includes a shaft assembly and a gimbal motor, and the gimbal motor is used to drive the shaft assembly to rotate;
  • the pan-tilt control device is used to control the pan-tilt.
  • a fourth aspect of the present invention is to provide a computer-readable storage medium, the storage medium is a computer-readable storage medium, and program instructions are stored in the computer-readable storage medium, and the program instructions are used in the first aspect.
  • the gimbal is detachably connected to the movable platform, which provides the possibility for the user to replace the gimbal by himself.
  • the power-on signal of the gimbal obtains the identification information of the gimbal, and then automatically determines whether the gimbal on the movable platform has been replaced based on the identification information. After confirming that the gimbal has been replaced, the corresponding parameters of each gimbal may be inconsistent. At this time, it may not be possible to control the replaced gimbal through the movable platform.
  • the gimbal can be controlled to perform parameter calibration operation, so as to realize the control of the replaced gimbal through the movable platform, which is not only convenient and fast It satisfies the user's requirement that the gimbal can be replaced manually, and after detecting that the gimbal has been replaced, the gimbal parameter calibration operation can be automatically realized without after-sales channels, which brings a more friendly user experience to the user and further improves the performance of the gimbal.
  • the practicability of the method is beneficial to the promotion and application of the market.
  • FIG. 1 is a schematic flowchart of a pan-tilt control method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of controlling the pan/tilt to perform parameter calibration operation provided by an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of controlling the pan/tilt to perform parameter calibration operation provided by another embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of obtaining the preset calibration parameters corresponding to the PTZ based on the identity information provided by an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of controlling a motor on the pan/tilt head and an inertial measurement unit IMU to perform a parameter calibration operation according to an embodiment of the present invention
  • FIG. 6 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention.
  • FIG. 9 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention.
  • FIG. 10 is a schematic flowchart of controlling the pan/tilt to perform a parameter calibration operation again based on the at least one recalibration instruction provided by an embodiment of the present invention
  • FIG. 11 is a schematic flowchart of still another pan-tilt control method provided by an embodiment of the present invention.
  • FIG. 12 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention.
  • FIG. 13 is a schematic flowchart of a pan-tilt control method provided by an application embodiment of the present invention.
  • FIG. 14 is a schematic flowchart of another pan-tilt control method provided by an application embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of a pan-tilt control device according to an embodiment of the present invention.
  • FIG. 16 is a schematic structural diagram of a movable platform according to an embodiment of the present invention.
  • the gimbal parameters corresponding to the gimbal can be stored in the chip for controlling the gimbal, and the above-mentioned chip for controlling the gimbal can be set on the body of the movable platform or on the gimbal.
  • the gimbal detachably installed on the movable platform or other equipment installed on the gimbal for example, the camera module installed on the gimbal
  • the user can purchase the gimbal separately and replace it by himself Cloud platform.
  • the gimbal is detachably installed on the movable platform through connectors (connectors such as screws, nuts, or cables), and when the gimbal is damaged or other equipment installed on the gimbal is damaged, the gimbal can be removed. Or other devices installed on the PTZ can be replaced.
  • the pan-tilt parameters used to realize the parameter calibration operation are stored in the chip that controls the pan-tilt, that is, when the movable platform leaves the factory, the chip can record the pan-tilt parameters of the original pan-tilt.
  • the gimbal is replaced alone, since the gimbal parameters corresponding to the replaced gimbal are inconsistent with the parameters of the original gimbal recorded in the chip, there is a possibility that the replaced gimbal cannot be used directly and matches the gimbal parameters before the replacement. Case.
  • the parameters corresponding to the gimbal motor and the Inertial Measurement Unit (IMU) can be recorded in the preset memory.
  • the factory original camera module will be recorded.
  • the product serial number Serial Number, SN for short.
  • the parameters recorded in the preset memory match the gimbal corresponding to the factory, and different gimbal parameters correspond to different gimbal parameters. Therefore, after replacing the gimbal, parameter calibration and calibration must be performed again for the current gimbal. After the parameter calibration and calibration are completed, the parameters recorded in the preset memory can be updated, and then the gimbal can be accurately controlled and calibrated. Use action.
  • the user can individually replace the camera module or the gimbal according to application requirements and design requirements.
  • the IMU located on the gimbal may be set in the camera module, at this time, the IMU set in the camera module will also follow the camera module. changes due to the replacement operation.
  • the IMU parameters in the gimbal parameters recorded on the movable platform match the IMU parameters corresponding to the factory, and different IMUs may correspond to different IMU parameters. Therefore, when replacing the camera module on the gimbal alone, it is also necessary to perform parameter calibration and calibration operations again to achieve precise control and use of the gimbal.
  • the gimbal parameter calibration operation In the process of gimbal maintenance, the gimbal parameter calibration operation generally solves the problems of gimbal damage, gimbal replacement and gimbal parameter re-calibration through after-sales channels.
  • the above operations will be time-consuming and laborious, and the maintenance cost will be relatively high, especially for the main sports scene, the daily damage is more common. Increased labor cost and time cost.
  • the present embodiment provides a pan-tilt control method, device, Removable platform and storage medium.
  • the gimbal is detachably connected to the movable platform, which provides the possibility for users to replace the gimbal by themselves.
  • the gimbal is installed on the UAV, by obtaining the power-on signal of the gimbal, it can be Obtain the identity information of the PTZ according to the power-on signal of the PTZ, and then automatically determine whether the PTZ on the movable platform has been replaced based on the identity information.
  • the gimbal can be controlled to perform parameter calibration operation, so that the replaced gimbal can be controlled through the movable platform, which is not only convenient and fast It satisfies the user's requirement that the gimbal can be replaced manually, and after detecting that the gimbal has been replaced, the gimbal parameter calibration operation can be automatically realized without after-sales channels, which brings a more friendly user experience to the user and further improves the performance of the gimbal.
  • the practicability of the method is beneficial to the promotion and application of the market.
  • FIG. 1 is a schematic flowchart of a pan-tilt control method provided by an embodiment of the present invention; with reference to FIG. 1 , the present embodiment provides a pan-tilt control method, wherein the pan-tilt is detachably arranged on a movable platform
  • the above-mentioned PTZ can be any one of the following: all types of PTZ control chips such as airborne PTZ, handheld PTZ and the PTZ are independent of each other, and the movable platform can include at least one of the following: Drones, unmanned vehicles, unmanned ships, mobile robots, etc.
  • the execution body of the method may be a pan-tilt control device, and it can be understood that the pan-tilt control device may be implemented as software, or a combination of software and hardware.
  • the PTZ control device may be an electronic device with data processing capability, such as a computer, server, cloud server, electronic terminal, etc., or a computer chip or integrated circuit with data processing capability, such as a central processing unit (Central Processing Unit, CPU), digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) and so on.
  • CPU Central Processing Unit
  • DSP digital signal processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the PTZ control method may include:
  • Step S101 Acquire a PTZ power-on signal.
  • Step S102 Acquire the identity information of the PTZ according to the power-on signal of the PTZ.
  • Step S103 Based on the identification information, it is determined whether the PTZ can be controlled through the movable platform.
  • Step S104 when the PTZ cannot be controlled through the movable platform, the PTZ is controlled to perform parameter calibration operation, so that the PTZ can be controlled through the movable platform.
  • Step S101 Acquire a PTZ power-on signal.
  • the gimbal power-on signal is used to identify that the gimbal has been powered on, that is, every time the gimbal is powered on, the gimbal that is used to identify that the gimbal has been powered on is obtained.
  • electric signal is not limit the specific acquisition method of the gimbal power-on signal, and those skilled in the art can set it according to specific application requirements and design requirements, for example: pre-configured to monitor whether the gimbal is powered on The operating sensor, through which the gimbal power-on signal used to identify whether to power on the gimbal can be obtained.
  • PTZ power-on signal can also use other methods to obtain the PTZ power-on signal, for example: obtaining the PTZ power-on signal through a pre-configured monitoring interface, etc., as long as the PTZ power-on signal can be obtained. The accuracy and reliability are sufficient, and will not be repeated here.
  • Step S102 Acquire the identity information of the PTZ according to the power-on signal of the PTZ.
  • the identification information of the gimbal can have different representations. For example, during the production stage of the gimbal, the product serial number (Serial Number, SN for short) of the original camera module configured on the gimbal will be recorded. ), and then determine the product serial number of the camera module as the identification information of the gimbal. Alternatively, during the production stage of the gimbal, the product serial number of the gimbal can be recorded, and then the product serial number of the gimbal can be determined as the identification information of the gimbal.
  • the identity information of the PTZ can also be other types of information, as long as different PTZs can correspond to different identity information, which will not be repeated here.
  • the gimbal's identity information can be obtained based on the gimbal power-on signal.
  • the gimbal power-on signal includes the gimbal's identity information
  • the gimbal power-on signal can be analyzed and processed to obtain the gimbal's power-on signal.
  • identification information is stored in a preset area, and the mapping relationship between the identity information and the identity information of the PTZ is preconfigured.
  • a preset area for example, the storage of the gimbal, may be accessed based on the gimbal power-on signal to obtain the identification information of the gimbal.
  • another achievable manner is: acquiring the load identification information of the load located on the gimbal according to the power-on signal of the gimbal; and determining the load identification information as the identification information of the gimbal.
  • the identification information is such as the product serial number of the gimbal instead of the load identification information
  • the load is a camera module, there is a detachable connection between it and the gimbal
  • the parameters of the gimbal are calibrated Before and after the gimbal is powered on, it can be pre-detected whether the gimbal and the camera module are electrically connected. If the gimbal and the camera module are electrically connected, proceed to step S103;
  • the methods include but are not limited to lighting, voice, image, text, vibration, etc., for example: prompting through display devices, remote control devices, and indicators on movable platforms.
  • the loads may include at least one of the following: a camera module, a follow-spot light, a ranging sensor, and the like.
  • the load identification information is determined as the identification information of the gimbal, in order to accurately obtain the identification information of the gimbal, after the power-on signal of the gimbal is obtained, the location on the gimbal can be obtained based on the power-on signal of the gimbal.
  • the payload identification information of the payload can be stored in the memory of the load.
  • the load After obtaining the power-on signal of the gimbal, it can actively send an information acquisition request to the load, and the load can return the load of the load on the gimbal based on the information acquisition request. identification information, thereby effectively ensuring the accuracy and reliability of acquiring the load identification information of the load on the PTZ. After acquiring the load identification information of the load on the gimbal, the load identification information can be determined as the gimbal identification information, thereby effectively ensuring the accuracy and reliability of acquiring the gimbal identification information.
  • Step S103 Based on the identity information, it is judged whether the PTZ can be controlled through the movable platform.
  • the identification information can be analyzed and processed to determine whether the PTZ can be controlled through the movable platform based on the analysis and processing results. Specifically, based on the identity information, judging whether the PTZ can be controlled through the movable platform may include: acquiring the original PTZ identity information stored in the movable platform; when the identity information matches the original PTZ identity information , it is determined that the PTZ can be controlled through the movable platform; when the identity information does not match the identity information of the original PTZ, it is determined that the PTZ cannot be controlled through the movable platform.
  • original PTZ identity information corresponding to the original PTZ set on the movable platform is preset, and the original PTZ identity information can be stored in a memory in the movable platform.
  • the original PTZ identity information stored in the movable platform can be acquired based on the identity information.
  • the original PTZ identity information can be analyzed and matched with the identity information.
  • the identity information matches the original PTZ identity information, it means that the PTZ set on the movable platform It has not been replaced, so it can be determined that the PTZ can be controlled through the movable platform.
  • identity information does not match the original PTZ identity information, it means that the PTZ set on the movable platform has been replaced, and it can be determined that the PTZ cannot be controlled through the movable platform.
  • the original PTZ identity information corresponding to the identity information also has different expressions.
  • the product serial number of the camera module is determined as the identification information of the gimbal
  • the original gimbal identification information may be the pre-stored product serial number of the camera module before replacement.
  • the identification information can be compared with the product serial number of the camera module before replacement, and the identification information can be compared with the product serial number of the camera module before replacement. If they do not match, it means that the gimbal set on the movable platform has been replaced, and it can be determined that the gimbal cannot be controlled through the movable platform.
  • the identification information matches the product serial number of the camera module before replacement, it means that the gimbal set on the movable platform has not been replaced, and it can be determined that the gimbal can be controlled through the movable platform.
  • the original gimbal identity information may be the product serial number of the gimbal before the replacement of the gimbal stored in advance.
  • the identification information can be compared with the product serial number of the gimbal before the replacement.
  • the numbers do not match, it means that the gimbal set on the movable platform has been replaced, and it can be determined that the gimbal cannot be controlled through the movable platform.
  • the identification information matches the product serial number of the gimbal before the replacement, it means that the gimbal set on the movable platform has not been replaced, and it can be determined that the gimbal can be controlled through the movable platform.
  • Step S104 when the PTZ cannot be controlled through the movable platform, the PTZ is controlled to perform parameter calibration operation, so that the PTZ can be controlled through the movable platform.
  • the gimbal can be controlled to perform parameter calibration, wherein the parameters for controlling the gimbal to perform parameter calibration can include at least one of the following: an angle sensor arranged on the gimbal
  • the parameters of the PTZ, the parameters of the inertial measurement unit IMU set on the PTZ, etc. after the parameter calibration operation, the PTZ can be controlled through the movable platform.
  • the angle sensor is installed on the motor of the gimbal, and is used to obtain the rotation angle of the motor, and control the motor according to the attitude data detected by the IMU, thereby achieving the stabilization of the gimbal or the angle adjustment of the sensing range of the load.
  • Angle sensors include but are not limited to Hall sensors and photoelectric encoders.
  • the method in this embodiment may further include: when the identity information matches the original PTZ identity information, it means that no replacement operation has occurred on the PTZ set on the movable platform.
  • the PTZ power-on signal is acquired, the PTZ's identity information is acquired according to the PTZ's power-on signal, and then the mobile platform is automatically determined based on the identity information.
  • the gimbal can be controlled to perform parameter calibration, so that the movable platform can
  • the control of the PTZ not only conveniently and quickly meets the user's need to manually replace the PTZ, but also can automatically realize the PTZ parameter calibration operation without the need of after-sales after detecting that the PTZ has been replaced, so as to provide users with It brings a more friendly user experience, further improves the practicability of the method, and is beneficial to the promotion and application of the market.
  • FIG. 2 is a schematic flowchart of a parameter calibration operation for controlling a pan/tilt according to an embodiment of the present invention; on the basis of the above embodiment, and continuing to refer to FIG. 2 , this embodiment provides an implementation manner of a parameter calibration operation.
  • the parameter calibration operation of controlling the PTZ in this embodiment may include:
  • Step S201 Acquire a network operating state corresponding to the movable platform.
  • Step S202 when the network running state is a non-networking state, control the pan/tilt to perform a parameter calibration operation based on the measurement and calibration parameters.
  • Step S203 when the network running state is the networking state, control the PTZ to perform a parameter calibration operation based on the preset calibration parameters.
  • the network operation state may include a non-networked state and a networked state.
  • the network operation state corresponding to the movable platform mainly refers to whether the remote control device corresponding to the movable platform can access the online server or cloud server through the network.
  • Server or cloud server specifically, the remote control device can send data packets to the online server or cloud server, and detect whether it can receive the feedback information returned by the online server or cloud server based on the data packet within a preset time period.
  • the feedback information returned by the online server or the cloud server can be received within the preset time period, it can be determined that the remote control device corresponding to the mobile platform can access the online server or the cloud server, and it can be further determined that the remote control device corresponding to the mobile platform can access the online server or the cloud server.
  • the corresponding network running state is the online state.
  • the network running state corresponding to the mobile platform is a non-networking state.
  • the measurement calibration parameters can be obtained.
  • the measurement calibration parameters can be parameters detected by controlling the gimbal to perform preset actions, and then the measurement and calibration parameters can be used to control the gimbal to perform parameter calibration.
  • the operation specifically, controls the motor on the gimbal and the inertial measurement unit IMU to perform the parameter calibration operation based on the measured calibration parameters.
  • the network operation state corresponding to the mobile platform is the network state
  • the preset calibration parameters of the calibration operation therefore, the PTZ can be directly controlled to perform the parameter calibration operation based on the preset calibration parameters.
  • the pan/tilt is controlled based on the measurement and calibration parameters to perform a parameter calibration operation; when the network operating state is a networked state
  • the gimbal is controlled to perform parameter calibration operation, which effectively realizes different parameter calibration operations based on different network operating states corresponding to the movable platform, which not only greatly improves the parameter calibration of the gimbal.
  • the quality and efficiency of the calibration operation, and also the flexibility and reliability of the use of the method are improved.
  • FIG. 3 is a schematic flowchart of a parameter calibration operation for controlling a pan/tilt according to another embodiment of the present invention; on the basis of the above embodiment, with continued reference to FIG. 3 , this embodiment provides another parameter calibration operation.
  • the implementation manner, specifically, in this embodiment, the parameter calibration operation of controlling the PTZ may include:
  • Step S301 Acquire the current operating state corresponding to the PTZ.
  • Step S302 Based on the current operating state, control the PTZ to perform a parameter calibration operation.
  • the PTZ set on the movable platform can correspond to different operating states, and the operating states can include static state and non-static state. rest state.
  • this embodiment does not limit the specific implementation manner of acquiring the current operating state corresponding to the PTZ, and those skilled in the art can set according to specific application requirements and design requirements, for example: a movable platform can set There is a fuselage IMU, and the data of the fuselage IMU can determine whether the movable platform is in a static state, and then judge whether the gimbal is in a static state.
  • the deviation between the IMU data at the previous moment and the IMU data at the next moment is greater than or equal to the preset threshold, it means that the body of the movable platform at this moment is in a shaking state, and it can be determined that the movable platform is set in the movable platform.
  • the gimbal on the platform is in a non-static state; if the deviation between the IMU data at the previous moment and the IMU data at the next moment is less than the preset threshold, it means that the body of the movable platform is not in a shaking state at this time, and then It can be determined that the gimbal set on the movable platform is in a stationary state.
  • controlling the PTZ to perform parameter calibration based on the current operating state may include: when the current operating state is a stationary state, controlling the PTZ to perform a parameter calibration operation based on the measured calibration parameters; when the current operating state is a non-static state , the gimbal is controlled to perform parameter calibration based on the preset calibration parameters.
  • the measurement calibration parameters are obtained at this time.
  • the measurement calibration parameters may be parameters detected by controlling the gimbal to perform preset actions, and then the measurement calibration parameters can be used. to control the gimbal to perform parameter calibration operations. Specifically, based on the measurement and calibration parameters, control the motor on the gimbal and the inertial measurement unit IMU to perform parameter calibration operations.
  • the preset calibration parameters can be obtained, and then based on The preset calibration parameters are used to control the gimbal to perform parameter calibration operations, which can effectively ensure the accuracy and reliability of parameter calibration operations on the gimbal.
  • preset calibration parameters may also be acquired, and then the gimbal is controlled to perform parameter calibration operations based on the preset calibration parameters.
  • the motor on the gimbal and the inertial measurement unit IMU are controlled to perform parameter calibration operations; or, in the current operating state When it is in a non-stationary state, the gimbal is controlled based on the preset calibration parameters to perform parameter calibration operations, thereby effectively realizing different parameter calibration operations based on different operating states of the gimbal, which not only greatly improves the parameter calibration.
  • the quality and efficiency of the operation and also ensure the accuracy and reliability of the parameter calibration operation of the PTZ.
  • the method in this embodiment may further include: acquiring preset calibration parameters corresponding to the gimbal based on the identification information.
  • the identification information can be analyzed and processed to obtain preset calibration parameters corresponding to the gimbal, and the above preset calibration parameters can include at least one of the following: motor parameters, IMU parameters , the motor parameters include but are not limited to the motor neutral position, the parameters of the angle sensor, etc.
  • the preset calibration parameters corresponding to the PTZ may include:
  • Step S401 Generate a parameter acquisition request corresponding to the PTZ based on the identity information.
  • Step S402 Send a parameter acquisition request to the server, where the server stores preset calibration parameters corresponding to multiple standard PTZs.
  • Step S403 Receive the PTZ calibration parameters corresponding to the PTZ sent by the server based on the parameter acquisition request.
  • different types of PTZs can correspond to different preset calibration parameters
  • different preset calibration parameters can be stored in the server in advance, so that most types or even all types of PTZs can be calibrated.
  • the identification information can be analyzed and processed to generate a parameter acquisition request corresponding to the PTZ, and the parameter acquisition request is used to obtain the calibration parameters of the PTZ corresponding to the current PTZ.
  • the preset calibration parameters corresponding to multiple types of PTZs are stored in the server. In order to accurately obtain the PTZ calibration parameters corresponding to the current PTZ, after the parameter acquisition request is obtained, the parameters can be obtained. The request is sent to the server.
  • the parameter acquisition request includes the identity information corresponding to the current pan/tilt
  • the server may determine, from the preset calibration parameters corresponding to multiple types of pan/tilts based on the parameter acquisition request, the identification information corresponding to the current pan/tilt
  • the PTZ calibration parameters corresponding to the PTZ can then be sent to the PTZ control device, so that the PTZ control device can receive the PTZ calibration corresponding to the PTZ sent by the server based on the parameter acquisition request. parameter.
  • the plurality of standard PTZs stored in the server may include the first type PTZ, the second type PTZ, the third type PTZ, the fourth type PTZ, and the fifth type PTZ, the first type PTZ.
  • There are preset calibration parameters a the second type of PTZ corresponds to preset calibration parameters b
  • the third type PTZ corresponds to preset calibration parameters c
  • the fourth type PTZ corresponds to preset calibration parameters d
  • the gimbal corresponds to a preset calibration parameter e.
  • a parameter acquisition request may be generated based on the identity information corresponding to the third-type pan-tilt, and then the parameter acquisition request may be sent to the server.
  • the server acquires the parameter acquisition request, it can be determined that the identity information corresponding to the parameter acquisition request is the identity information corresponding to the third type of pan-tilt.
  • the preset calibration parameter c is determined as the gimbal calibration parameter corresponding to the current gimbal, and then the preset calibration parameter c can be sent to the gimbal control device, so that the gimbal control device can obtain the cloud corresponding to the gimbal.
  • the platform calibration parameters further improve the accuracy and reliability of the acquisition of the calibration parameters of the gimbal.
  • the process of the server sending the PTZ calibration parameters corresponding to the PTZ to the PTZ control device may include the following steps: encrypting and compressing the PTZ calibration parameters corresponding to the PTZ, and obtaining the encrypted PTZ calibration parameters , send the encrypted PTZ calibration parameters to the PTZ control device, and after the PTZ control device obtains the encrypted PTZ calibration parameters, it can decrypt the encrypted PTZ calibration parameters, so as to obtain the same parameters as the PTZ.
  • Corresponding PTZ calibration parameters which not only ensures the accuracy and reliability of the acquisition of PTZ calibration parameters, but also improves the safety and reliability of acquisition of PTZ calibration parameters.
  • a parameter acquisition request corresponding to the PTZ is generated based on the identity information, wherein the server stores preset calibration parameters corresponding to multiple standard PTZs, and then a parameter acquisition request can be sent to the server, thereby
  • the PTZ control device can receive the PTZ calibration parameters corresponding to the PTZ sent by the server based on the parameter acquisition request, thus effectively ensuring the accuracy and reliability of acquiring the PTZ calibration parameters, and further improving the performance of the method. practicality.
  • FIG. 5 is a schematic flowchart of a parameter calibration operation for controlling a motor on a pan/tilt head and an inertial measurement unit IMU provided by an embodiment of the present invention; on the basis of the foregoing embodiment, with continued reference to FIG. 5 , in this embodiment, the control
  • the specific implementation of the parameter calibration operation performed by the motor on the gimbal and the inertial measurement unit IMU is not limited, and those skilled in the art can set it according to specific application requirements and design requirements.
  • the measurement-based calibration in this embodiment is Parameter controlling the pan/tilt to perform parameter calibration operation may include:
  • Step S501 Acquire motor parameters corresponding to the motors on the gimbal and IMU parameters corresponding to the inertial measurement unit IMU.
  • Step S502 Based on the motor parameters, control the motor on the gimbal to perform a parameter calibration operation.
  • Step S503 Based on the IMU parameters, the IMU located on the PTZ is controlled to perform a parameter calibration operation.
  • different types of PTZs can be provided with different numbers of motors, for example, one motor can be set on a single-axis PTZ, two motors can be set on a dual-axis PTZ, and three motors can be set on a three-axis PTZ Motors.
  • Multiple motors may be provided on the multi-axis gimbal.
  • the motors on the gimbal can include at least one of the following: yaw motor, roll motor, pitch motor, etc.
  • the parameter calibration operation for the motor may include: Hall peak-to-peak calibration operation, Hall neutral calibration operation, and motor neutral calibration operation.
  • Hall peak-to-peak calibration operation Hall neutral calibration operation
  • motor neutral calibration operation motor neutral calibration operation
  • the Hall peak-to-peak calibration operation may include the following steps: acquiring the magnetic field electrodes of the motor, the magnetic field electrodes including the magnetic field south pole S and the magnetic field north pole N, and then placing a Hall sensor at the lower end of the magnetic field electrode of the motor to control the motor to rotate, so as to obtain the Hall element at the lower end of the magnetic field electrode.
  • the Hall peak-to-peak value in one cycle specifically, the Hall sensor can be a bidirectional Hall sensor, or the number of Hall sensors can be two, so that the peak-to-peak value of the two Hall signals can be obtained.
  • the peak-to-peak value of the signal is the calibration parameter obtained after the calibration operation is implemented.
  • the Hall median calibration operation may include the following steps: acquiring the peak-to-peak values corresponding to the two-way Hall signals, and determining the median value of the two-way Hall signals based on the above-mentioned peak-to-peak values, where the median value is obtained after the calibration operation is implemented calibration parameters.
  • the Hall center calibration operation can be performed after the Hall peak-to-peak calibration operation, so that the Hall center calibration can be performed directly using the peak-to-peak value after the Hall peak-to-peak calibration operation. operate.
  • the motor neutral position calibration operation may include the following steps: controlling the shaft arm of the gimbal to rotate through the motor, obtaining the result that the shaft arm of the gimbal collides with the preset limit, and obtaining the mechanical angle of the motor according to the result of the collision with the preset limit.
  • the median is the calibration parameter obtained after the calibration operation.
  • the IMU located on the gimbal is controlled based on the IMU parameters to perform the parameter calibration operation.
  • the above-mentioned parameter calibration operation mainly includes the accelerometer zero offset calibration operation.
  • the acceleration parameters output by the accelerometers located at different positions can be obtained, and then the correlation between the acceleration parameters and the acceleration of gravity can be determined, and the above correlation relationship can be used to calibrate Get the zero-bias parameter of the accelerometer.
  • the accelerometer set on the gimbal may be a three-axis accelerometer, so that when performing the zero-bias calibration operation of the accelerometer, the three-axis zero-bias parameters of the accelerometer can be obtained.
  • the calibrated accelerometer can be used to perform the zero-bias calibration operation of the Hall sensor.
  • the accelerometer after the parameter calibration operation can be used for the zero-bias calibration operation of the Hall sensor.
  • the zero offset parameters of the Hall sensors at the two horizontal axes can be calibrated, so that the zero position of the Hall sensor corresponds to the reference level, thus completing the parameter calibration operation for the motor and IMU .
  • the measured calibration parameters may include motor parameters corresponding to the motors on the gimbal and IMU parameters corresponding to the IMU.
  • the preset calibration parameters are of the same category as the parameters of the measurement calibration.
  • the motor parameters corresponding to the motor on the gimbal and the IMU parameters corresponding to the IMU are obtained, and then the motor on the gimbal is controlled based on the motor parameters to perform parameter calibration operation, and based on the IMU parameters, the The IMU on the gimbal performs parameter calibration operation, thereby realizing the parameter calibration operation on the gimbal.
  • FIG. 6 is a schematic flowchart of another pan/tilt control method provided by an embodiment of the present invention.
  • the motor parameters used for the parameter calibration operation can be calibrated in real time before the parameter calibration operation of the motor or during the parameter calibration operation of the motor.
  • the method in this embodiment may further include:
  • Step S601 Obtain a first parameter range corresponding to the motor parameters.
  • Step S602 Identify whether the motor parameters are valid based on the first parameter range.
  • Step S603 When it is determined that the motor parameters are valid, control the motor on the gimbal based on the motor parameters to perform parameter calibration operations.
  • any parameters used for the parameter calibration operation may include valid data and invalid data.
  • the valid data may refer to the data of the motor parameters within the preset standard range
  • the invalid data may refer to the motor Data whose parameters are beyond the preset standard range, such as: some infinite data, some infinitely small data, etc. Therefore, in order to accurately identify whether the motor parameters used for the parameter calibration operation are valid, the first parameter range corresponding to the motor parameters can be obtained.
  • a parameter range may be the same or different, and the first parameter range corresponding to different motor parameters of the same type of gimbal may be the same or different.
  • the first parameter range corresponding to the motor parameters may be stored in a preset area, and the first parameter range corresponding to the motor parameters may be acquired by accessing the preset area. After the first parameter range is obtained, whether the motor parameters are valid can be identified based on the first parameter range. Specifically, the first parameter range can be analyzed and compared with the motor parameters. When the motor parameters are within the first parameter range, the It is determined that the motor parameters are valid. At this time, it is allowed to control the motor on the gimbal for parameter calibration based on the valid motor parameters; when the motor parameters exceed the first parameter range, it can be determined that the motor parameters are invalid, and the invalid motor parameters are prohibited. To control the motor on the PTZ to perform parameter calibration operation, so as to avoid invalid parameter calibration operation by the PTZ control device and waste of data processing resources.
  • the first parameter range may include multiple ones, depending on the number of motor parameters. For details, refer to the motor parameters mentioned above.
  • the first parameter ranges corresponding to the respective motor parameters may be the same, and the first parameter ranges corresponding to the motor parameters of the respective motors may also be different.
  • the motor on the gimbal is allowed to be controlled based on the valid motor parameters
  • the parameter calibration operation is performed, thereby effectively ensuring the stability and reliability of the parameter calibration operation on the motor on the gimbal, and further improving the stability and reliability of the parameter calibration operation on the gimbal, which is conducive to ensuring that the mobile platform is based on the cloud.
  • the stable and reliable control of the platform is performed, thereby effectively ensuring the stability and reliability of the parameter calibration operation on the motor on the gimbal, and further improving the stability and reliability of the parameter calibration operation on the gimbal, which is conducive to ensuring that the mobile platform is based on the cloud.
  • FIG. 7 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention.
  • the IMU parameters used for the parameter calibration operation can be calibrated in real time before the parameter calibration operation on the IMU or during the parameter calibration operation on the IMU.
  • the data detection operation is used to determine whether the IMU parameters used for the parameter calibration operation are valid.
  • the method in this embodiment may further include:
  • Step S701 Acquire a second parameter range corresponding to the IMU parameter.
  • Step S702 Identify whether the IMU parameters are valid based on the second parameter range.
  • Step S703 When it is determined that the IMU parameters are valid, the IMU located on the PTZ is allowed to perform parameter calibration based on the IMU parameters.
  • any parameters used for the parameter calibration operation may include valid data and invalid data.
  • the valid data may refer to the data whose IMU parameters are within the preset standard range
  • the invalid data may refer to the IMU Data whose parameters are beyond the preset standard range, such as: some infinite data, some infinitely small data, etc. Therefore, in order to accurately identify whether the IMU parameters used for the parameter calibration operation are valid, the second parameter range corresponding to the IMU parameters can be obtained.
  • the second parameter ranges may be the same or different, and the second parameter ranges corresponding to different IMU parameters of the same type of PTZ may be the same or different.
  • the second parameter range corresponding to the IMU parameter may be stored in a preset area, and the second parameter range corresponding to the IMU parameter may be acquired by accessing the preset area. After the second parameter range is acquired, whether the IMU parameters are valid can be identified based on the second parameter range. Specifically, the second parameter range can be analyzed and compared with the IMU parameters. When the IMU parameters are within the second parameter range, the It is determined that the IMU parameters are valid. At this time, the IMU on the gimbal can be controlled to perform parameter calibration based on the valid IMU parameters. When the IMU parameters exceed the second parameter range, it can be determined that the IMU parameters are invalid, and the invalid IMU parameters are prohibited. It can control the IMU on the PTZ to perform parameter calibration operation, so as to avoid the invalid parameter calibration operation performed by the PTZ control device and waste data processing resources.
  • the second parameter range may correspond to the aforementioned accelerometer bias, and the second parameter range corresponding to each IMU may be different.
  • the IMU on the gimbal is allowed to be controlled based on the valid IMU parameters
  • the parameter calibration operation is carried out, thereby effectively ensuring the stability and reliability of the parameter calibration operation on the IMU on the gimbal, and further improving the stability and reliability of the parameter calibration operation on the gimbal, which is conducive to ensuring that the cloud-based platform is based on the mobile platform.
  • the stable and reliable control of the platform is carried out, thereby effectively ensuring the stability and reliability of the parameter calibration operation on the IMU on the gimbal, and further improving the stability and reliability of the parameter calibration operation on the gimbal, which is conducive to ensuring that the cloud-based platform is based on the mobile platform.
  • FIG. 8 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention; on the basis of the above-mentioned embodiment, with continued reference to FIG. 8 , when performing parameter calibration on the pan-tilt, two methods may be included.
  • the results of the calibration operation that is, the success of the calibration operation and the failure of the calibration operation, in order to allow the user to know the results of the parameter calibration operation on the PTZ in time, after controlling the PTZ to perform the parameter calibration operation, the method in this embodiment may also include:
  • Step S801 Identify whether the parameter calibration operation on the pan/tilt head is successful.
  • Step S802 Generate prompt information based on the recognition result.
  • identifying whether the parameter calibration operation on the gimbal is successful may include: obtaining the calibrated parameters corresponding to the gimbal. ; Determine the parameter standard range corresponding to the calibrated parameters; when the calibrated parameters are within the parameter standard range, it is determined that the parameter calibration operation of the gimbal is successful; when the calibrated parameters are outside the parameter standard range, it is determined to The parameter calibration operation of the gimbal was unsuccessful.
  • the calibrated parameters corresponding to the gimbal can be obtained, and then the standard range of parameters corresponding to the calibrated parameters can be determined. It can be understood that the calibrated parameters of the same type of gimbal correspond to The parameter standard ranges of , can be the same or different, and the parameter standard ranges corresponding to the calibrated parameters of different types of PTZs can be the same or different.
  • the parameter standard range corresponding to the calibrated parameter can be stored in the preset area, and the parameter standard range corresponding to the calibrated parameter can be obtained by accessing the preset area. After the parameter standard range is obtained, whether the parameter calibration operation of the gimbal is successful can be identified based on the parameter standard range. Specifically, the parameter standard range can be analyzed and compared with the calibrated parameters. When the calibrated parameters are within the parameter standard range , it can be determined that the parameter calibration operation of the gimbal is successful; when the parameters after calibration exceed the parameter standard range, it can be determined that the parameter calibration operation of the gimbal is unsuccessful.
  • the identification result After identifying whether the parameter calibration operation on the gimbal is successful, the identification result can be obtained.
  • prompt information can be generated based on the identification result. Generating prompt information based on the recognition result may include: generating first prompt information based on the recognition result of successful parameter calibration on the pan/tilt; or generating second prompt information based on the recognition result of unsuccessful parameter calibration on the pan/tilt.
  • first prompt information may be generated, and the first prompt information may include: voice prompt information, display light prompt information, interface prompt information, etc.
  • the above-mentioned first prompt information is used to prompt the user that the parameter calibration operation on the PTZ is successful.
  • second prompt information can be generated, and the second prompt information can include: voice prompt information, display light prompt information, interface prompt information, vibration Prompt information, etc.
  • the above-mentioned second prompt information is used to prompt the user that the parameter calibration operation on the PTZ fails.
  • the first prompt information and/or the second prompt information may be displayed through a display device, and the above-mentioned display device may include a mobile phone terminal, a glasses terminal, or a Indicator lights installed on the movable platform, etc.
  • prompt information is generated based on the recognition result, and then the prompt information can be displayed on the display device, so that the user can know the parameter calibration on the PTZ in time through the display device. Whether the operation is successful further ensures the friendliness of interaction with the user and improves the practicability of the method.
  • the method in this embodiment may further include:
  • Step S803 Based on the calibrated parameters, perform an update operation on the original PTZ parameters stored in the movable platform and corresponding to the original PTZ identity information.
  • Step S804 Based on the identity information, perform an update operation on the original PTZ identity information stored in the movable platform.
  • the movable platform stores the original PTZ parameters corresponding to the original PTZ identity information.
  • the quality and efficiency of the control of the gimbal each time, after the calibration parameters corresponding to the gimbal are obtained, the original gimbal corresponding to the original gimbal identity information stored in the movable platform can be stored based on the calibrated parameters.
  • the parameters are updated, so that when the gimbal is powered on later, the updated gimbal parameters stored in the movable platform can be directly obtained.
  • the original PTZ identity information corresponding to the original PTZ identity information is stored in the movable platform.
  • the PTZ on the movable platform is replaced and it is determined that the parameter calibration operation of the PTZ is successful, in order to be able to
  • the execution sequence between the above steps S803 and S804 is not limited to the execution sequence in the above embodiment.
  • the step S803 may be executed after the step S804, or the step S803 and the step S804 may be executed simultaneously.
  • those skilled in the art can adjust the execution order of the above steps S803 and S804 according to specific application scenarios and design requirements, and details are not repeated here.
  • the preset calibration parameters can be used to directly update the original gimbal parameters stored in the movable platform and corresponding to the original gimbal identity information. , and can use the identity information to update the original PTZ identity information stored in the removable platform. That is, the calibrated parameters may include preset calibration parameters.
  • the original PTZ parameters stored in the movable platform corresponding to the original PTZ identity information are updated based on the calibrated parameters, and the original PTZ identity information stored in the movable platform is updated based on the identity information.
  • the update operation effectively realizes that when the PTZ is powered on, the PTZ parameters after the update operation and the identity information of the updated PTZ can be obtained directly through the movable platform, so as to realize the operation of the cloud platform. After the PTZ is powered on, the PTZ can be controlled directly based on the PTZ parameters and identification information, which further improves the quality and efficiency of the PTZ control.
  • the method in this embodiment may further include: prohibiting the PTZ and/or the movable platform from being controlled by the remote control device.
  • the device controls the pan/tilt and/or movable platform.
  • an implementation method is that the PTZ is set on the movable platform, and the movable platform is communicatively connected with a remote control device. Under normal circumstances, the remote control device can control the PTZ through the movable platform. After it is determined that the parameter calibration operation of the PTZ fails, it means that the remote control device at this time cannot accurately control the PTZ through the movable platform. PTZ control.
  • the movable platform when the PTZ is set on the movable platform, the movable platform can be communicatively connected with a remote control device, and under normal circumstances, the remote control device can control the movable platform. However, after it is determined that the parameter calibration operation on the PTZ fails, it means that the remote control device at this time cannot precisely control the movable platform.
  • the gimbal is the main component on the movable platform.
  • the load set on the gimbal cannot be controlled through the gimbal, and the corresponding load cannot be obtained. load status information.
  • the remote control device For example: in an aerial camera, if real-time image transmission is not possible, the drone will lose its meaning of aerial photography, and the user cannot take the initiative to avoid obstacles, which makes the drone at risk of bombing.
  • the station cannot be controlled normally, it is also forbidden to control the drone through remote control equipment, which is conducive to ensuring the safe use of the drone and the user experience.
  • the PTZ is set on the movable platform, and the movable platform is communicatively connected with a remote control device. control. After it is determined that the parameter calibration operation of the PTZ fails, it means that the remote control device at this time cannot accurately control the movable platform and the PTZ located on the movable platform. At this time, in order to ensure the operation of the movable platform and the PTZ The safety and reliability of the mobile platform and the PTZ can be prohibited from being controlled by the remote control device.
  • FIG. 9 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention. on the basis of the above embodiment, referring to FIG. 9 , after it is determined that the parameter calibration operation on the pan-tilt is unsuccessful, you can Attempt to perform parameter calibration operation on the PTZ.
  • the method in this embodiment may further include:
  • Step S901 Generate at least one recalibration instruction corresponding to the PTZ.
  • Step S902 Based on the at least one re-calibration instruction, control the PTZ to perform a parameter calibration operation again.
  • At least one re-calibration command corresponding to the PTZ can be generated; it can be understood that the number of the at least one re-calibration command can be one or more. Yes, those skilled in the art can set the number of recalibration instructions according to specific application requirements and design requirements.
  • the gimbal can be controlled to re-calibrate the parameters based on the at least one re-calibration command. It should be noted that one re-calibration command can control the gimbal to re-calibrate the parameters once.
  • the calibration command can control the PTZ to re-calibrate parameters for many times.
  • controlling the pan/tilt to perform the parameter calibration operation again may include:
  • Step S9021 During the parameter calibration operation, obtain an operation node that fails to perform parameter calibration on the gimbal.
  • the operation node includes at least one of the following: a motor located on the gimbal and an inertial measurement unit IMU located on the gimbal.
  • Step S9022 Based on the at least one re-calibration instruction, the control operation node performs the parameter calibration operation again.
  • the gimbal to perform parameter calibration when controlling the gimbal to perform parameter calibration, it may include parameter calibration of the motor located on the gimbal and parameter calibration of the IMU located on the gimbal, and when the parameter calibration of the gimbal fails, It may be caused by the failure to perform parameter calibration on the motor located on the PTZ, and/or the failure to perform parameter calibration on the IMU on the PTZ.
  • the operation nodes on the gimbal that fail to perform parameter calibration can be acquired during the parameter calibration operation.
  • the above-mentioned operation nodes may include the following At least one of: a motor on the gimbal, an inertial measurement unit IMU on the gimbal. After the at least one recalibration instruction is acquired, the operation node may be controlled to perform the parameter calibration operation again based on the at least one recalibration instruction.
  • the IMU on the gimbal can be controlled to re-calibrate the parameters based on the at least one re-calibration command, without the need to re-calibrate the parameters of the IMU on the gimbal.
  • the motor performs the parameter calibration operation again, which can effectively improve the quality and efficiency of the parameter calibration operation again.
  • the motor on the gimbal can be controlled to re-calibrate the parameters based on the at least one re-calibration command, without the need to re-calibrate the parameters on the gimbal.
  • the IMU performs the parameter calibration operation, thereby effectively realizing the parameter calibration operation of the gimbal again, and further improving the stability and reliability of the parameter calibration operation on the gimbal.
  • the operation node on the PTZ whose parameter calibration operation fails to be obtained is obtained, and then based on at least one re-calibration instruction, the operation node is controlled to perform the parameter calibration operation again, which effectively realizes that only for The operation node that has not successfully performed the parameter calibration operation does not need to perform the parameter calibration operation again, which greatly improves the quality and efficiency of the re-parameter calibration operation, and further improves the The stability and reliability of the method are obtained.
  • FIG. 11 is a schematic flowchart of still another pan-tilt control method provided by an embodiment of the present invention; on the basis of any of the above embodiments, referring to FIG. 11 , when controlling the pan-tilt to perform parameter calibration, in order to allow The user obtains the process of performing parameter calibration on the PTZ in time, and the method in this embodiment may further include:
  • Step 1101 Generate status prompt information for identifying that the PTZ is performing a parameter calibration operation.
  • Step 1102 Output status prompt information.
  • a state prompt information for identifying the gimbal in the process of parameter calibration can be generated, and the state prompt information can include any one of the following: voice prompt information, display light prompt information, interface information, etc.
  • the status prompt information can be output.
  • the prompt information is displayed, and the above-mentioned display device may include a mobile phone terminal, a glasses terminal, an indicator light provided on the movable platform, and the like.
  • the corresponding status prompt information can be displayed through the display interface of the mobile phone terminal or the display interface of the glasses terminal; the voice prompt information can be displayed through the voice broadcast module set on the mobile phone terminal and the glasses terminal. broadcast.
  • the status prompt information when the status prompt information is the display light prompt information, the status prompt information can also be displayed through an indicator light provided on the movable platform.
  • the status prompt information for identifying that the PTZ is performing the parameter calibration operation is generated, and the status prompt information is output, so that the user can know the correctness of the parameters in time through the status prompt information.
  • the state of the PTZ performing parameter calibration operation ensures the friendliness of interaction with users and further improves the practicability of the method.
  • FIG. 12 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention; on the basis of the above embodiment, referring to FIG. 12, before outputting the status prompt information, in order to ensure that the status prompt information
  • the method in this embodiment may further include:
  • Step S1201 Detect the communication connection state between the remote control device and the display device.
  • Step S1202 When the remote control device is in communication connection with the display device, it is allowed to display the status prompt information through the display device.
  • Step S1203 when the remote control device and the display device are not connected, display the status prompt information through the indicator light set on the movable platform.
  • the corresponding status prompt information can be displayed through the display interface of the mobile phone or the display interface of the glasses;
  • the voice prompt information can be broadcast through the voice broadcast module set on the mobile phone terminal and the glasses terminal.
  • the application scenarios of the mobile platform may include video aerial photography scenes, power inspection scenes, etc., such as aerial photography machines, inspection machines, and so on.
  • the application scene of the movable platform may include a virtual reality scene, such as a traversing machine and the like.
  • the communication connection state between the remote control device and the display device can be detected.
  • the remote control device can be controlled to send data packets to the display device. Then, it is detected whether the feedback data returned by the display device based on the data packet is obtained within the preset time period.
  • the remote control device receives the feedback data returned by the display device based on the data packet within the preset time period, the remote control device can be determined. communicate with the display device; when the remote control device does not receive the feedback data returned by the display device based on the data packet within the preset time period, it can be determined that the remote control device and the display device are not in communication connection.
  • the remote control device When the remote control device is communicatively connected with the display device, it means that the state prompt information at this time can be displayed on the display device, and then the state prompt information can be displayed through the display device.
  • the status prompt information can also be displayed through the indicator lights set on the movable platform.
  • the indicator light on the movable platform can be controlled to display green; when the parameter calibration operation of the gimbal fails, the indicator light on the movable platform can be controlled to display red; During the parameter calibration operation of the gimbal, the indicator light on the movable platform can be controlled to display yellow.
  • the indicator light on the movable platform can be controlled to keep on; during the parameter calibration operation of the gimbal or when the parameter calibration fails, the movable platform can be controlled. The light on it flashes. In this way, the user can directly know the process state of the parameter calibration operation of the PTZ through the display device and the indicator light on the mobile platform to display the state prompt information, which further improves the practicability of the method.
  • the remote control device and the display device are not connected in communication, it means that the status prompt information at this time cannot be displayed on the display device.
  • the indicator light on the mobile platform displays the status prompt information, so that the user can directly know the process state of the parameter calibration operation of the PTZ through the indicator light on the mobile platform, which further improves the practicability of the method.
  • this application embodiment provides a pan-tilt control method, wherein the pan-tilt is detachably arranged on the fuselage of the drone.
  • the gimbal control method can solve the problem in the prior art that if the user replaces the gimbal, he needs to manually trigger the parameter calibration operation of the entire gimbal, and the gimbal itself cannot automatically detect the replacement and trigger the parameter calibration operation.
  • a camera module is provided on the gimbal, the camera module corresponds to a camera module serial number SN, and the camera module SN is the identification information of the gimbal.
  • the PTZ control method may include the following steps:
  • Step 1 When the PTZ is powered on, a parameter acquisition request for acquiring the identity information of the current PTZ is generated.
  • the PTZ or the control terminal may generate a parameter acquisition request based on the power-on signal of the PTZ power-on operation, wherein the control terminal is used to power on the PTZ and/or the movable The platform controls, and the above parameter acquisition request is used to acquire the identity information of the current PTZ.
  • Step 2 Obtain and request the first serial number SN of the camera module on the current gimbal based on the parameters.
  • the current gimbal refers to the gimbal set on the drone body after the replacement operation.
  • the first serial number SN of the camera module on the current gimbal stores the gimbal chip of the first serial number SN, and the first serial number SN can be obtained by accessing the gimbal chip.
  • Step 3 Obtain the second serial number SN of the camera module on the original gimbal.
  • the original gimbal may refer to the gimbal set on the drone body before the replacement operation, and the second serial number SN of the camera module on the original gimbal may be stored in the control chip of the drone or in the camera. In the module, the second serial number SN of the camera module on the original gimbal can be obtained by accessing the control chip of the drone or the camera module.
  • Step 4 Compare whether the first serial number SN matches the second serial number SN.
  • Step 5 When the first serial number SN matches the second serial number SN, there is no need to perform parameter calibration on the PTZ.
  • the first serial number SN matches the second serial number SN, it means that the gimbal located on the UAV has not been replaced, and therefore, it is unnecessary to perform a parameter calibration operation on the gimbal.
  • Step 6 When the first serial number SN does not match the second serial number SN, perform a parameter calibration operation on the PTZ.
  • the operation specifically includes: firstly performing a parameter calibration operation on the motor located on the PTZ, then performing a parameter calibrating operation on the IMU located on the PTZ, and performing validity detection on the data used for the parameter calibration operation.
  • Step 7 In the process of performing parameter calibration on the PTZ, generate prompt information.
  • a prompt message can be generated, and the prompt message can be "Gimbal calibration is in progress, please do not intervene".
  • the prompt information can be displayed through the display module of the remote control device and the display module of the wearable terminal, so that the user can know the process of the parameter calibration operation of the PTZ through the prompt information displayed on the display module.
  • the wearable terminal may include wearable glasses, wearable watches, and the like.
  • Step 8 After performing the parameter calibration operation on the PTZ, check whether the parameter calibration operation is successful.
  • Step 9 After it is determined that the gimbal parameter calibration operation is successful, the new SN data of the camera module on the current gimbal and the gimbal parameters obtained after the gimbal calibration operation are saved.
  • Step 10 After it is determined that the pan-tilt parameter calibration operation fails, a re-calibration instruction is generated, and the parameter calibration operation is performed again on the pan-tilt based on the re-calibration instruction.
  • Step 11 After the PTZ calibration operation is successful, a first prompt message for identifying the successful PTZ parameter calibration operation can be generated; after the PTZ calibration operation fails, a message used to identify the PTZ parameter calibration failure can be generated. second prompt information; and display the second prompt information through the display module.
  • the first prompt information is used to inform the user to use the gimbal normally after the parameter calibration of the gimbal is completed, so as to ensure that all functions and accuracy corresponding to the drone and the gimbal are not affected.
  • the first prompt information may include progress information of the parameter calibration operation performed by the gimbal, that is, the progress information of the parameter calibration operation performed with the gimbal is represented by a progress bar.
  • the PTZ can perform parameter calibration operation on the PTZ, and the process of identifying whether the PTZ is replaced can be judged by the PTZ or the control terminal. After it is determined that the PTZ has been replaced , you can send a PTZ calibration command to the PTZ, so that the PTZ can perform parameter calibration operation, thus effectively realizing that it can be independent of external modules, networks, servers, data transmission encryption/decryption, and no information security risks.
  • the gimbal can be replaced at any time and the parameter calibration operation can be performed at any time.
  • the gimbal and movable platform can be controlled normally through the control terminal, which is not only more convenient and fast for users to manually replace the cloud It can automatically detect whether the gimbal is replaced. After the gimbal is replaced, the parameter calibration operation of the gimbal can be performed automatically, thereby improving the friendliness of interaction with users.
  • the pan-tilt control method in this embodiment may implement the parameter calibration operation of the pan-tilt by using pre-downloaded data.
  • the pan-tilt control method may include the following steps:
  • Step 11 Before leaving the factory, obtain the standard calibration data corresponding to each type of PTZ, and store the standard calibration data of each type of PTZ in the server.
  • Step 12 When the PTZ is powered on, a parameter acquisition request for acquiring the identity information of the current PTZ is generated.
  • Step 13 Obtain and request the first serial number SN of the camera module on the current gimbal based on the parameters.
  • Step 14 Obtain the second serial number SN of the camera module on the original gimbal.
  • Step 15 Compare whether the first serial number SN matches the second serial number SN.
  • Step 16 When the first serial number SN matches the second serial number SN, there is no need to perform parameter calibration on the PTZ.
  • the first serial number SN matches the second serial number SN, it means that the gimbal located on the UAV has not been replaced, and therefore, it is unnecessary to perform a parameter calibration operation on the gimbal.
  • Step 17 When the first serial number SN does not match the second serial number SN, a parameter calibration operation needs to be performed on the pan/tilt head.
  • Step 18 When it is determined that a parameter calibration operation of the pan/tilt is required, standard calibration data corresponding to the current pan/tilt is obtained from the server based on the module serial number SN.
  • the first serial number SN corresponding to the camera module on the current gimbal can be uploaded to the server, so that the server can return the standard calibration of the corresponding gimbal based on the first serial number SN data packets to the drone.
  • Step 19 Perform a calibration operation of the parameters of the pan/tilt based on the standard calibration data corresponding to the current pan/tilt.
  • the main control of the aircraft can decompress the standard calibration data package. After the decompression operation, the standard calibration data can be directly stored in the memory on the gimbal, so that no gimbal is required. Performing the motor parameter calibration operation and the IMU parameter calibration operation separately can realize the parameter calibration operation of the gimbal.
  • the server transmits the standard calibration data to the UAV
  • the standard calibration data can be compressed and encrypted, so that encrypted data packets can be obtained.
  • the remote control device or the aircraft master control on the UAV can decompress and decrypt the encrypted data packet, so as to obtain the standard calibration data corresponding to the current PTZ.
  • the standard calibration parameters are also the above-mentioned preset calibration parameters.
  • the parameter calibration operation is automatically triggered by the server, thereby improving the quality and efficiency of the parameter calibration operation on the PTZ, and also preventing the PTZ from being damaged. After the replacement, it enters an abnormal state and cannot be used normally, which further ensures the safety and reliability of the use of the PTZ and the movable platform, and also improves the user experience and effectively improves the stability and reliability of the method.
  • FIG. 15 is a schematic structural diagram of a pan-tilt control device provided by an embodiment of the present invention; with reference to FIG. 15 , the present embodiment provides a pan-tilt control device, wherein the pan-tilt is detachably arranged on a movable platform Furthermore, the pan/tilt may include a shaft assembly and a pan/tilt motor, and the pan/tilt motor is used to drive the shaft assembly to rotate; the pan/tilt control device may be used to execute the pan/tilt control method corresponding to FIG. 1 above.
  • the PTZ control device may include:
  • the processor 11 is used for running the computer program stored in the memory 12 to realize:
  • the PTZ When the PTZ cannot be controlled through the movable platform, the PTZ is controlled to perform parameter calibration operation, so that the PTZ can be controlled through the movable platform.
  • the structure of the image coding apparatus may further include a communication interface 13 for implementing the communication between the PTZ control apparatus and other devices or a communication network.
  • the processor 11 when the processor 11 obtains the identification information of the gimbal according to the power-on signal of the gimbal, the processor 11 is configured to: obtain the load identification information of the load located on the gimbal according to the power-on signal of the gimbal; The payload identification information is determined as the identification information of the PTZ.
  • the processor 11 determines whether the PTZ can be controlled through the movable platform based on the identity information
  • the processor 11 is configured to: obtain the original PTZ identity information stored in the movable platform; When the identification information matches the original gimbal identity information, it is determined that the gimbal can be controlled through the movable platform; when the identification information does not match the original gimbal identity information, it is determined that the gimbal cannot be controlled through the movable platform. control.
  • the processor 11 when the processor 11 controls the PTZ to perform a parameter calibration operation, the processor 11 is configured to: obtain the network operating state corresponding to the movable platform; when the network operating state is a non-networked state, perform calibration based on measurement The parameter controls the PTZ to perform the parameter calibration operation; when the network running state is the networking state, the PTZ is controlled to perform the parameter calibration operation based on the preset calibration parameters.
  • the processor 11 when the processor 11 controls the pan-tilt to perform a parameter calibration operation, the processor 11 is configured to: obtain a current operating state corresponding to the pan-tilt; and control the pan-tilt to perform a parameter calibration operation based on the current operating state.
  • the processor 11 when the processor 11 controls the pan/tilt to perform a parameter calibration operation based on the current operating state, the processor 11 is configured to: control the pan/tilt based on the measurement and calibration parameters to perform a parameter calibration operation when the current operating state is a stationary state. Parameter calibration operation; when the current running state is a non-stationary state, control the PTZ to perform parameter calibration operation based on the preset calibration parameters.
  • the processor 11 before controlling the pan/tilt to perform a parameter calibration operation based on the preset calibration parameters, the processor 11 is configured to: obtain the preset calibration parameters corresponding to the pan/tilt based on the identification information.
  • the processor 11 when the processor 11 acquires preset calibration parameters corresponding to the PTZ based on the identity information, the processor 11 is configured to: generate a parameter acquisition request corresponding to the PTZ based on the identity information; A parameter acquisition request is sent, and the server stores preset calibration parameters corresponding to a plurality of standard PTZs; and the PTZ calibration parameters corresponding to the PTZs sent by the server based on the parameter acquisition request are received.
  • the processor 11 when the processor 11 controls the gimbal to perform a parameter calibration operation based on the measurement and calibration parameters, the processor 11 is configured to: obtain motor parameters corresponding to the motors on the gimbal and motor parameters corresponding to the inertial measurement unit IMU IMU parameters; based on motor parameters, control the motor on the gimbal to perform parameter calibration operations; based on IMU parameters, control the IMU located on the gimbal to perform parameter calibration operations.
  • the processor 11 after acquiring the motor parameters corresponding to the motors on the gimbal, the processor 11 is configured to: acquire a first parameter range corresponding to the motor parameters; identify whether the motor parameters are valid based on the first parameter range; When it is determined that the motor parameters are valid, it is allowed to control the motor on the gimbal to perform parameter calibration based on the motor parameters.
  • the processor 11 is configured to: obtain a second parameter range corresponding to the IMU parameters; identify whether the IMU parameters are valid based on the second parameter range; When the IMU parameters are valid, it is allowed to control the IMU located on the gimbal to perform parameter calibration based on the IMU parameters.
  • the processor 11 is configured to: identify whether the parameter calibration operation on the pan-tilt head is successful; and generate prompt information based on the recognition result.
  • the processor 11 when the processor 11 identifies whether the parameter calibration operation on the PTZ is successful, the processor 11 is configured to: obtain the calibrated parameters corresponding to the PTZ; determine the parameter standard range corresponding to the calibrated parameters; When the parameters after calibration are within the parameter standard range, it is determined that the parameter calibration operation of the gimbal is successful; when the parameters after calibration are outside the parameter standard range, it is determined that the parameter calibration operation of the gimbal is unsuccessful.
  • the processor 11 when the processor 11 generates prompt information based on the identification result, the processor 11 is configured to: generate the first prompt information based on the identification result of the successful parameter calibration operation on the gimbal; or, based on the parameter calibration on the gimbal If the operation is unsuccessful, a second prompt message is generated.
  • the processor 11 is configured to: based on the calibrated parameters, update the original PTZ parameters corresponding to the original PTZ identity information stored in the movable platform Operation; based on the identity information, update the original PTZ identity information stored in the removable platform.
  • the processor 11 is configured to: generate at least one re-calibration instruction corresponding to the pan/tilt; based on the at least one re-calibration instruction, control the pan/tilt to re-calibrate the parameters Calibration operation.
  • the processor 11 when the processor 11 controls the pan-tilt head to perform the parameter calibration operation again based on at least one re-calibration instruction, the processor 11 is configured to: during the parameter calibration operation process, acquire the information about the unsuccessful parameter calibration operation on the pan-tilt head.
  • An operation node the operation node includes at least one of the following: a motor located on the PTZ, and an inertial measurement unit IMU located on the PTZ; based on at least one re-calibration instruction, the operation node is controlled to perform a parameter calibration operation again.
  • the processor 11 is configured to: prohibit the control of the pan/tilt and/or the movable platform by the remote control device.
  • the processor 11 when the processor 11 controls the pan/tilt to perform a parameter calibration operation, the processor 11 is configured to: generate status prompt information for identifying that the pan/tilt is performing a parameter calibration operation; and output the status prompt information.
  • the processor 11 before outputting the state prompt information, is configured to: detect the communication connection state between the remote control device and the display device; when the remote control device and the display device are in communication connection, allow the display device to display the state prompt information ; When the remote control device and the display device are not connected, the state prompt information is displayed through the indicator light arranged on the movable platform.
  • the apparatus shown in FIG. 15 may execute the method of the embodiment shown in FIG. 1 to FIG. 14 .
  • the apparatus shown in FIG. 15 may execute the method of the embodiment shown in FIG. 1 to FIG. 14 .
  • FIG. 16 is a schematic structural diagram of a movable platform provided by an embodiment of the present invention.
  • this embodiment provides a movable platform.
  • the movable platform may include at least one of the following: an unmanned aerial vehicle. , unmanned vehicles and handheld gimbals, etc.
  • the movable platform may include:
  • the pan/tilt head 22 is used to support the load, and the pan/tilt head 22 is detachably arranged on the fuselage 21, the pan/tilt head includes a shaft assembly and a pan/tilt motor, and the pan/tilt motor is used to drive the shaft assembly to rotate;
  • the pan-tilt control device 23 shown in FIG. 15 is used to control the pan-tilt 22 .
  • an embodiment of the present invention provides a storage medium, where the storage medium is a computer-readable storage medium, and program instructions are stored in the computer-readable storage medium, and the program instructions are used to implement the above-mentioned embodiments shown in FIG. 1 to FIG. 14 .
  • PTZ control method in .
  • the disclosed related remote control devices and methods may be implemented in other manners.
  • the embodiments of the remote control device described above are only illustrative.
  • the division of the modules or units is only a logical function division.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, and the indirect coupling or communication connection of the remote control device or unit may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium.
  • the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a computer processor (processor) to perform all or part of the steps of the methods described in the various embodiments of the present invention.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.

Landscapes

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

Abstract

A gimbal control method and apparatus, a movable platform, and a storage medium. A gimbal is detachably arranged on a movable platform; the method comprises: acquiring a gimbal power-on signal; on the basis of the gimbal power-on signal, acquiring identity identification information of the gimbal; on the basis of the identity identification information, determining whether the gimbal can be controlled by means of the movable platform; and, when the gimbal cannot be controlled by means of the movable platform, controlling the gimbal to implement a parameter calibration operation so that the gimbal can be controlled by means of the movable platform. In the technical solution provided in the present embodiments, after it is determined that a gimbal has been replaced, the gimbal can be controlled to perform a parameter calibration operation so that the gimbal can be controlled by means of the movable platform, conveniently and quickly meeting the needs of users to manually replace gimbals, and also enabling a gimbal parameter calibration operation to be implemented automatically after detecting that the gimbal has been replaced, without the need for an after-sales approach, thereby providing a better user experience.

Description

云台控制方法、装置、可移动平台和存储介质PTZ control method, device, removable platform and storage medium 技术领域technical field
本发明实施例涉及云台技术领域,尤其涉及一种云台控制方法、装置、可移动平台和存储介质。Embodiments of the present invention relate to the field of PTZ technology, and in particular, to a PTZ control method, device, movable platform and storage medium.
背景技术Background technique
现有技术中,在进行云台维修操作的过程中,云台的更换操作一般通过售后途径来实现。然而,上述操作会比较费时、费力,维修成本也比较高,特别是对于主打运动场景的穿越机而言,日常损坏更是比较普遍,若均通过售后途径来实现云台的更换操作,极大地增加了人工成本和时间成本。In the prior art, during the maintenance operation of the gimbal, the replacement operation of the gimbal is generally realized through an after-sales approach. However, the above operations will be time-consuming and laborious, and the maintenance cost will be relatively high, especially for the traversing machine with the main sports scene, the daily damage is more common, if the replacement operation of the gimbal is realized through after-sales channels, it will greatly Increased labor cost and time cost.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种云台控制方法、装置、可移动平台和存储介质,用于解决现有技术中存在的在通过售后途径来实现云台的更换操作时所存在的比较费时、费力、维修成本也比较高的问题。Embodiments of the present invention provide a pan-tilt control method, device, removable platform and storage medium, which are used to solve the time-consuming and laborious operation of replacing the pan-tilt in the prior art through an after-sales approach. , The maintenance cost is also relatively high.
本发明的第一方面是为了提供一种云台控制方法,所述云台可拆卸地设置于可移动平台上,所述方法包括:A first aspect of the present invention is to provide a pan-tilt control method, wherein the pan-tilt is detachably arranged on a movable platform, and the method includes:
获取云台上电信号;Obtain the power-on signal of the gimbal;
根据所述云台上电信号,获取所述云台的身份标识信息;Acquire the identity information of the PTZ according to the power-on signal of the PTZ;
基于所述身份标识信息,判断通过所述可移动平台能否对所述云台进行控制;Based on the identity information, judging whether the PTZ can be controlled by the movable platform;
在通过所述可移动平台无法对所述云台进行控制时,则控制所述云台进行参数标定操作,以通过所述可移动平台能够对所述云台进行控制。When the PTZ cannot be controlled through the movable platform, the PTZ is controlled to perform parameter calibration operation, so that the PTZ can be controlled through the movable platform.
本发明的第二方面是为了提供一种云台控制装置,所述云台可拆卸地设置于可移动平台上,所述云台包括轴组件和云台电机,所述云台电机用于驱动所述轴组件进行转动;所述装置包括:A second aspect of the present invention is to provide a pan-tilt control device, the pan-tilt is detachably arranged on a movable platform, the pan-tilt includes a shaft assembly and a pan-tilt motor, and the pan-tilt motor is used for driving The shaft assembly rotates; the device includes:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于运行所述存储器中存储的计算机程序以实现:A processor for running a computer program stored in the memory to achieve:
获取云台上电信号;Obtain the power-on signal of the gimbal;
根据所述云台上电信号,获取所述云台的身份标识信息;Acquire the identity information of the PTZ according to the power-on signal of the PTZ;
基于所述身份标识信息,判断通过所述可移动平台能否对所述云台进行控制;Based on the identity information, judging whether the PTZ can be controlled by the movable platform;
在通过所述可移动平台无法对所述云台进行控制时,则控制所述云台进行参数标定操作,以通过所述可移动平台能够对所述云台进行控制。When the PTZ cannot be controlled through the movable platform, the PTZ is controlled to perform parameter calibration operation, so that the PTZ can be controlled through the movable platform.
本发明的第三方面是为了提供一种可移动平台,包括:A third aspect of the present invention is to provide a movable platform, comprising:
机身;body;
云台,用于支撑负载,所述云台可拆卸地设置于所述机身上,所述云台包括轴组件和云台电机,所述云台电机用于驱动所述轴组件进行转动;A gimbal is used to support a load, the gimbal is detachably arranged on the body, the gimbal includes a shaft assembly and a gimbal motor, and the gimbal motor is used to drive the shaft assembly to rotate;
上述第二方面所述的云台控制装置,所述云台控制装置用于对所述云台进行控制。In the pan-tilt control device according to the second aspect, the pan-tilt control device is used to control the pan-tilt.
本发明的第四方面是为了提供一种计算机可读存储介质,所述存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序指令用于第一方面所述的云台控制方法。A fourth aspect of the present invention is to provide a computer-readable storage medium, the storage medium is a computer-readable storage medium, and program instructions are stored in the computer-readable storage medium, and the program instructions are used in the first aspect. The PTZ control method described above.
本发明实施例提供的技术方案,云台与可移动平台可拆卸连接,提供了用户自己更换云台的可能,且在云台安装于无人机时,通过获取云台上电信号,可以根据云台上电信号获取云台的身份标识信息,而后基于身份标识信息自动判断可移动平台上的云台是否发生更换,在确定云台已发生更换之后,由于各个云台的相应参数可能不一致,此时通过可移动平台可能无法对更换后的云台进行控制,因此,可以控制云台进行参数标定操作,以实现通过所述可移动平台能够对更换后的云台进行控制,这样不仅方便快速地满足了用户可以手动更换云台的需求,还可以在检测到云台被更换之后,无需售后途径自动实现云台参数标定操作,从而给用户带来了较为友好的用户体验,进一步提高了该方法的实用性,有利于市场的推广与应用。In the technical solution provided by the embodiments of the present invention, the gimbal is detachably connected to the movable platform, which provides the possibility for the user to replace the gimbal by himself. The power-on signal of the gimbal obtains the identification information of the gimbal, and then automatically determines whether the gimbal on the movable platform has been replaced based on the identification information. After confirming that the gimbal has been replaced, the corresponding parameters of each gimbal may be inconsistent. At this time, it may not be possible to control the replaced gimbal through the movable platform. Therefore, the gimbal can be controlled to perform parameter calibration operation, so as to realize the control of the replaced gimbal through the movable platform, which is not only convenient and fast It satisfies the user's requirement that the gimbal can be replaced manually, and after detecting that the gimbal has been replaced, the gimbal parameter calibration operation can be automatically realized without after-sales channels, which brings a more friendly user experience to the user and further improves the performance of the gimbal. The practicability of the method is beneficial to the promotion and application of the market.
附图说明Description of drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the attached image:
图1为本发明实施例提供的一种云台控制方法的流程示意图;1 is a schematic flowchart of a pan-tilt control method according to an embodiment of the present invention;
图2为本发明一实施例提供的控制所述云台进行参数标定操作的流程示意图;2 is a schematic flowchart of controlling the pan/tilt to perform parameter calibration operation provided by an embodiment of the present invention;
图3为本发明另一实施例提供的控制所述云台进行参数标定操作的流程示意图;3 is a schematic flowchart of controlling the pan/tilt to perform parameter calibration operation provided by another embodiment of the present invention;
图4为本发明实施例提供的基于所述身份标识信息,获取与所述云台相对应的所述预设标定参数的流程示意图;4 is a schematic flowchart of obtaining the preset calibration parameters corresponding to the PTZ based on the identity information provided by an embodiment of the present invention;
图5为本发明实施例提供的控制所述云台上的电机和惯性测量单元IMU进行参数标定操作的流程示意图;5 is a schematic flowchart of controlling a motor on the pan/tilt head and an inertial measurement unit IMU to perform a parameter calibration operation according to an embodiment of the present invention;
图6为本发明实施例提供的又一种云台控制方法的流程示意图;6 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention;
图7为本发明实施例提供的另一种云台控制方法的流程示意图;7 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention;
图8为本发明实施例提供的又一种云台控制方法的流程示意图;FIG. 8 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention;
图9为本发明实施例提供的另一种云台控制方法的流程示意图;9 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention;
图10为本发明实施例提供的基于所述至少一个重新标定指令,控制所述云台重新进行参数标定操作的流程示意图;10 is a schematic flowchart of controlling the pan/tilt to perform a parameter calibration operation again based on the at least one recalibration instruction provided by an embodiment of the present invention;
图11为本发明实施例提供的再一种云台控制方法的流程示意图;11 is a schematic flowchart of still another pan-tilt control method provided by an embodiment of the present invention;
图12为本发明实施例提供的又一种云台控制方法的流程示意图;FIG. 12 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention;
图13为本发明应用实施例提供的一种云台控制方法的流程示意图;13 is a schematic flowchart of a pan-tilt control method provided by an application embodiment of the present invention;
图14为本发明应用实施例提供的另一种云台控制方法的流程示意图;14 is a schematic flowchart of another pan-tilt control method provided by an application embodiment of the present invention;
图15为本发明实施例提供的一种云台控制装置的结构示意图;15 is a schematic structural diagram of a pan-tilt control device according to an embodiment of the present invention;
图16为本发明实施例提供的一种可移动平台的结构示意图。FIG. 16 is a schematic structural diagram of a movable platform according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention.
为了便于理解本申请的技术方案,下面对现有技术进行简要说明:In order to facilitate the understanding of the technical solutions of the present application, the prior art is briefly described below:
对于可拆卸云台(云台可拆卸地设置于可移动平台上)而言,与云台相对应的云台参数(例如:与设置于云台上的电机相关的参数、与设置于云台上的传感器相关的参数)可以存储在用于控制云台的芯片中时,而上述用于控制云台的芯片可以设置于可移动平台的机身或者云台上。在可拆卸地设置于可移动平台上的云台或者设置于云台上的其他设备(例如:设置于云台上的相机模组)受损时,用户可以单独购买云台,并可以自行更换云台。举例来说,云台通过连接件(螺钉、螺母或者排线等连接件)可拆卸地设置于可移动平台上,在云台损坏或者设置于云台上的其他设备损坏时,可以对云台或者设置于云台上的其他设备进行更换操作。For a detachable gimbal (the gimbal is detachably installed on the movable platform), the gimbal parameters corresponding to the gimbal (for example: parameters related to the motor set on the gimbal, and parameters set on the gimbal sensor-related parameters) can be stored in the chip for controlling the gimbal, and the above-mentioned chip for controlling the gimbal can be set on the body of the movable platform or on the gimbal. When the gimbal detachably installed on the movable platform or other equipment installed on the gimbal (for example, the camera module installed on the gimbal) is damaged, the user can purchase the gimbal separately and replace it by himself Cloud platform. For example, the gimbal is detachably installed on the movable platform through connectors (connectors such as screws, nuts, or cables), and when the gimbal is damaged or other equipment installed on the gimbal is damaged, the gimbal can be removed. Or other devices installed on the PTZ can be replaced.
一般情况下,在进行云台更换操作的过程中,都需要进行云台参数标定操作。具体的,由于用于实现参数标定操作的云台参数存储在控制云台的芯片中,即在可移动平台出厂时,芯片中可以记录原始云台的云台参数。在单独更换云台之后,由于更换后的云台所对应的云台参数与芯片中所记录的原始云台的参数不一致,因此,存在更换后的云台不能直接使用、匹配更换前的云台参数的情况。为了能够对更换后的云台进行应用和控制,需要对更换后的云台进行参数标定操作。Under normal circumstances, in the process of performing the gimbal replacement operation, it is necessary to perform the gimbal parameter calibration operation. Specifically, because the pan-tilt parameters used to realize the parameter calibration operation are stored in the chip that controls the pan-tilt, that is, when the movable platform leaves the factory, the chip can record the pan-tilt parameters of the original pan-tilt. After the gimbal is replaced alone, since the gimbal parameters corresponding to the replaced gimbal are inconsistent with the parameters of the original gimbal recorded in the chip, there is a possibility that the replaced gimbal cannot be used directly and matches the gimbal parameters before the replacement. Case. In order to be able to apply and control the replaced PTZ, it is necessary to perform parameter calibration on the replaced PTZ.
举例来说,云台电机和惯性测量单元(Inertial Measurement Unit,简称IMU)所对应的参数可以被记录在预设存储器中,例如:在对云台进行生产的阶段,会记录出厂原装相机模组的产品序列号(Serial Number,简称SN)。在出厂之后,若用户自行更换了云台,由于预设存储器中所记录的参数匹配的是出厂时所对应的云台,而不同云台对应有不同的云台参数。因此,在更换云台之后,针对当前云台必须重新做参数标定和校准操作,在参数标定和校准操作完毕后,可以更新预设存储器中记录的参数,而后可以对云台进行精确地控制和使用操作。For example, the parameters corresponding to the gimbal motor and the Inertial Measurement Unit (IMU) can be recorded in the preset memory. For example, during the production stage of the gimbal, the factory original camera module will be recorded. The product serial number (Serial Number, SN for short). After leaving the factory, if the user replaces the gimbal, the parameters recorded in the preset memory match the gimbal corresponding to the factory, and different gimbal parameters correspond to different gimbal parameters. Therefore, after replacing the gimbal, parameter calibration and calibration must be performed again for the current gimbal. After the parameter calibration and calibration are completed, the parameters recorded in the preset memory can be updated, and then the gimbal can be accurately controlled and calibrated. Use action.
需要说明的是,在相机模组与云台可拆卸连接时,用户可以根据应用需求和设计需求对相机模组或者云台单独进行更换操作。然而,在单独对云台上的相机模组进行更换操作时,由于位于云台上的IMU可能设置于相机模组中,此时,设置于相机模组中的IMU也会随着相机模组的更换操作而发生变化。而可移动平台上所记录的云台参数中的IMU参数匹配的是出厂时所对应的IMU参数,而不同的IMU可以对应有不同的IMU参数。因此,在单独更换位于云台上 的相机模组时,也需要重新做参数标定和校准操作,以实现对云台进行精确地控制和使用操作。It should be noted that when the camera module and the gimbal are detachably connected, the user can individually replace the camera module or the gimbal according to application requirements and design requirements. However, when replacing the camera module on the gimbal alone, since the IMU located on the gimbal may be set in the camera module, at this time, the IMU set in the camera module will also follow the camera module. changes due to the replacement operation. The IMU parameters in the gimbal parameters recorded on the movable platform match the IMU parameters corresponding to the factory, and different IMUs may correspond to different IMU parameters. Therefore, when replacing the camera module on the gimbal alone, it is also necessary to perform parameter calibration and calibration operations again to achieve precise control and use of the gimbal.
在进行云台维修操作的过程中,云台参数标定操作一般通过售后途径来解决云台损坏、云台被更换以及云台参数重新标定的问题。然而,上述操作会比较费时、费力,维修成本也比较高,特别是对于主打运动场景的穿越机而言,日常损坏更是比较普遍,若均通过售后途径来实现云台参数标定操作,极大地增加了人工成本和时间成本。In the process of gimbal maintenance, the gimbal parameter calibration operation generally solves the problems of gimbal damage, gimbal replacement and gimbal parameter re-calibration through after-sales channels. However, the above operations will be time-consuming and laborious, and the maintenance cost will be relatively high, especially for the main sports scene, the daily damage is more common. Increased labor cost and time cost.
为了解决现有技术中存在的在通过售后途径来实现云台参数标定操作时所存在的比较费时、费力、维修成本也比较高的问题,本实施例提供了一种云台控制方法、装置、可移动平台和存储介质,具体的,云台与可移动平台可拆卸连接,提供了用户自己更换云台的可能,且在云台安装于无人机时,通过获取云台上电信号,可以根据云台上电信号获取云台的身份标识信息,而后基于身份标识信息自动判断可移动平台上的云台是否发生更换,在确定云台已发生更换之后,由于各个云台的相应参数可能不一致,此时通过可移动平台可能无法对更换后的云台进行控制,因此,可以控制云台进行参数标定操作,以实现可以通过可移动平台能够对更换后的云台进行控制,这样不仅方便快速地满足了用户可以手动更换云台的需求,还可以在检测到云台被更换之后,无需售后途径自动实现云台参数标定操作,从而给用户带来了较为友好的用户体验,进一步提高了该方法的实用性,有利于市场的推广与应用。In order to solve the problems of time-consuming, labor-intensive, and high maintenance cost in the prior art when the calibration operation of pan-tilt parameters is realized through after-sales channels, the present embodiment provides a pan-tilt control method, device, Removable platform and storage medium. Specifically, the gimbal is detachably connected to the movable platform, which provides the possibility for users to replace the gimbal by themselves. When the gimbal is installed on the UAV, by obtaining the power-on signal of the gimbal, it can be Obtain the identity information of the PTZ according to the power-on signal of the PTZ, and then automatically determine whether the PTZ on the movable platform has been replaced based on the identity information. After confirming that the PTZ has been replaced, the corresponding parameters of each PTZ may be inconsistent. , at this time, it may not be possible to control the replaced gimbal through the movable platform. Therefore, the gimbal can be controlled to perform parameter calibration operation, so that the replaced gimbal can be controlled through the movable platform, which is not only convenient and fast It satisfies the user's requirement that the gimbal can be replaced manually, and after detecting that the gimbal has been replaced, the gimbal parameter calibration operation can be automatically realized without after-sales channels, which brings a more friendly user experience to the user and further improves the performance of the gimbal. The practicability of the method is beneficial to the promotion and application of the market.
下面结合附图,对本发明的一些实施方式作详细说明。在各实施例之间不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following embodiments and features in the embodiments may be combined with each other without conflict between the embodiments.
图1为本发明实施例提供的一种云台控制方法的流程示意图;参考附图1所示,本实施例提供了一种云台控制方法,其中,云台可拆卸地设置于可移动平台上,上述的云台可以为以下任意之一:机载云台、手持云台等云台控制芯片与云台之间相互独立的所有类型云台,而可移动平台可以包括以下至少之一:无人机、无人车、无人船、移动机器人等等。FIG. 1 is a schematic flowchart of a pan-tilt control method provided by an embodiment of the present invention; with reference to FIG. 1 , the present embodiment provides a pan-tilt control method, wherein the pan-tilt is detachably arranged on a movable platform Above, the above-mentioned PTZ can be any one of the following: all types of PTZ control chips such as airborne PTZ, handheld PTZ and the PTZ are independent of each other, and the movable platform can include at least one of the following: Drones, unmanned vehicles, unmanned ships, mobile robots, etc.
另外,该方法的执行主体可以为云台控制装置,可以理解的是,该云台控制装置可以实现为软件、或者软件和硬件的组合。具体实现时,该云台控制装置可以是具有数据处理能力的电子设备,如电脑、服务器、云端服务器、电子终端等设备,也可以是具有数据处理能力的计算机芯片或者集成电路, 例如中央处理单元(Central Processing Unit,CPU)、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)或者现成可编程门阵列(Field-Programmable Gate Array,FPGA)等。In addition, the execution body of the method may be a pan-tilt control device, and it can be understood that the pan-tilt control device may be implemented as software, or a combination of software and hardware. During specific implementation, the PTZ control device may be an electronic device with data processing capability, such as a computer, server, cloud server, electronic terminal, etc., or a computer chip or integrated circuit with data processing capability, such as a central processing unit (Central Processing Unit, CPU), digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) and so on.
具体的,该云台控制方法可以包括:Specifically, the PTZ control method may include:
步骤S101:获取云台上电信号。Step S101: Acquire a PTZ power-on signal.
步骤S102:根据云台上电信号,获取云台的身份标识信息。Step S102: Acquire the identity information of the PTZ according to the power-on signal of the PTZ.
步骤S103:基于身份标识信息,判断通过可移动平台能否对云台进行控制。Step S103: Based on the identification information, it is determined whether the PTZ can be controlled through the movable platform.
步骤S104:在通过可移动平台无法对云台进行控制时,则控制云台进行参数标定操作,以通过可移动平台能够对云台进行控制。Step S104 : when the PTZ cannot be controlled through the movable platform, the PTZ is controlled to perform parameter calibration operation, so that the PTZ can be controlled through the movable platform.
下面对上述各个步骤的具体实现过程和实现效果进行详细说明:The specific implementation process and implementation effect of each of the above steps are described in detail below:
步骤S101:获取云台上电信号。Step S101: Acquire a PTZ power-on signal.
其中,云台上电信号用于标识已对云台进行上电操作,即在每次对云台进行上电操作时,即获取到用于标识已对云台进行上电操作的云台上电信号。具体的,本实施例对于云台上电信号的具体获取方式不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,例如:预先配置有用于监测是否对云台进行上电操作的传感器,通过传感器可以获取到用于标识是否对云台进行上电操作的云台上电信号。当然的,本领域技术人员也可以采用其他的方式来获取云台上电信号中,例如:通过预先配置的监测接口获取云台上电信号等等,只要能够保证对云台上电信号进行获取的准确可靠性即可,在此不再赘述。Among them, the gimbal power-on signal is used to identify that the gimbal has been powered on, that is, every time the gimbal is powered on, the gimbal that is used to identify that the gimbal has been powered on is obtained. electric signal. Specifically, this embodiment does not limit the specific acquisition method of the gimbal power-on signal, and those skilled in the art can set it according to specific application requirements and design requirements, for example: pre-configured to monitor whether the gimbal is powered on The operating sensor, through which the gimbal power-on signal used to identify whether to power on the gimbal can be obtained. Of course, those skilled in the art can also use other methods to obtain the PTZ power-on signal, for example: obtaining the PTZ power-on signal through a pre-configured monitoring interface, etc., as long as the PTZ power-on signal can be obtained. The accuracy and reliability are sufficient, and will not be repeated here.
步骤S102:根据云台上电信号,获取云台的身份标识信息。Step S102: Acquire the identity information of the PTZ according to the power-on signal of the PTZ.
对于云台而言,在对云台进行生产的阶段,会针对每个云台配置唯一的身份标识信息,从而使得不同的云台可以对应有不同的身份标识信息。具体的,云台的身份标识信息可以具有不同的表现形式,例如:在对云台进行生产的阶段,会记录云台上所配置的出厂原装相机模组的产品序列号(Serial Number,简称SN),而后将相机模组的产品序列号确定为云台的身份标识信息。或者,在对云台进行生产的阶段,可以记录云台产品序列号,而后将云台产品序列号确定为云台的身份标识信息。当然的,云台的身份标识信息还可以为其他类型的信息,只要能够使得不同的云台对应有不同的身份标识信 息即可,在此不再赘述。For the PTZ, during the production stage of the PTZ, unique identification information will be configured for each PTZ, so that different PTZs can correspond to different identification information. Specifically, the identification information of the gimbal can have different representations. For example, during the production stage of the gimbal, the product serial number (Serial Number, SN for short) of the original camera module configured on the gimbal will be recorded. ), and then determine the product serial number of the camera module as the identification information of the gimbal. Alternatively, during the production stage of the gimbal, the product serial number of the gimbal can be recorded, and then the product serial number of the gimbal can be determined as the identification information of the gimbal. Of course, the identity information of the PTZ can also be other types of information, as long as different PTZs can correspond to different identity information, which will not be repeated here.
在获取到云台上电信号之后,可以基于云台上电信号获取云台的身份标识信息。其中,一种可实现的方式为:云台上电信号中包括有云台的身份标识信息,在获取到云台上电信号之后,可以对云台上电信号进行分析处理,以获取云台的身份标识信息。或者,另一种可实现的方式为:身份标识信息存储在预设区域,预先配置有身份标识信息与云台的身份标识信息之间的映射关系。在获取到云台上电信号之后,可以基于云台上电信号访问预设区域,例如,云台的存储器,以获得云台的身份标识信息。或者,又一种可实现的方式为:根据云台上电信号,获取位于云台上负载的负载标识信息;将负载标识信息,确定为云台的身份标识信息。After the gimbal power-on signal is acquired, the gimbal's identity information can be obtained based on the gimbal power-on signal. Among them, an achievable way is: the gimbal power-on signal includes the gimbal's identity information, and after the gimbal power-on signal is obtained, the gimbal power-on signal can be analyzed and processed to obtain the gimbal's power-on signal. identification information. Or, another achievable manner is: the identity information is stored in a preset area, and the mapping relationship between the identity information and the identity information of the PTZ is preconfigured. After the gimbal power-on signal is acquired, a preset area, for example, the storage of the gimbal, may be accessed based on the gimbal power-on signal to obtain the identification information of the gimbal. Or, another achievable manner is: acquiring the load identification information of the load located on the gimbal according to the power-on signal of the gimbal; and determining the load identification information as the identification information of the gimbal.
其中,当身份标识信息为诸如云台产品序列号而非负载标识信息时,基于负载为相机模组时,其与云台之间存在可拆卸连接的情况,那么,在对云台进行参数标定之前,且在云台上电之后,可以预先检测云台与相机模组之间是否通电连接,若通电连接,则继续执行步骤S103,反之,则结束步骤,且输出相应的提示信息,具体提示方式包括但不限于灯光、语音、图像、文字、振动等,例如:通过显示设备、遥控设备、可移动平台上的指示灯进行提示。Among them, when the identification information is such as the product serial number of the gimbal instead of the load identification information, based on the fact that when the load is a camera module, there is a detachable connection between it and the gimbal, then, when the parameters of the gimbal are calibrated Before and after the gimbal is powered on, it can be pre-detected whether the gimbal and the camera module are electrically connected. If the gimbal and the camera module are electrically connected, proceed to step S103; The methods include but are not limited to lighting, voice, image, text, vibration, etc., for example: prompting through display devices, remote control devices, and indicators on movable platforms.
具体的,云台上可以设置有不同类型的负载,负载可以包括以下至少之一:相机模组、追光灯、测距传感器等等。在将负载标识信息确定为云台的身份标识信息时,为了能够准确地获取到云台的身份标识信息,在获取到云台上电信号之后,可以基于云台上电信号获取位于云台上负载的负载标识信息。其中,云台上负载的负载标识信息可以存储在负载的存储器中,在获取到云台上电信号之后,可以主动向负载发送信息获取请求,负载可以基于信息获取请求返回云台上负载的负载标识信息,从而有效地保证了对云台上负载的负载标识信息进行获取的准确可靠性。在获取到位于云台上负载的负载标识信息之后,可以将负载标识信息确定为云台的身份标识信息,从而有效地保证了对云台的身份标识信息进行获取的准确可靠性。Specifically, different types of loads may be provided on the gimbal, and the loads may include at least one of the following: a camera module, a follow-spot light, a ranging sensor, and the like. When the load identification information is determined as the identification information of the gimbal, in order to accurately obtain the identification information of the gimbal, after the power-on signal of the gimbal is obtained, the location on the gimbal can be obtained based on the power-on signal of the gimbal. The payload identification information of the payload. Among them, the load identification information of the load on the gimbal can be stored in the memory of the load. After obtaining the power-on signal of the gimbal, it can actively send an information acquisition request to the load, and the load can return the load of the load on the gimbal based on the information acquisition request. identification information, thereby effectively ensuring the accuracy and reliability of acquiring the load identification information of the load on the PTZ. After acquiring the load identification information of the load on the gimbal, the load identification information can be determined as the gimbal identification information, thereby effectively ensuring the accuracy and reliability of acquiring the gimbal identification information.
当然的,本领域技术人员也可以采用其他的方式来获取云台的身份标识信息,只要能够保证对云台的身份标识信息进行获取的准确可靠性即可,在此不再赘述。Of course, those skilled in the art can also obtain the identity information of the PTZ in other ways, as long as the accuracy and reliability of acquiring the identity information of the PTZ can be ensured, which will not be repeated here.
步骤S103:基于身份标识信息,判断通过可移动平台能否对云台进行控 制。Step S103: Based on the identity information, it is judged whether the PTZ can be controlled through the movable platform.
在获取到身份标识信息之后,可以对身份标识信息进行分析处理,以基于分析处理结果来判断通过可移动平台能否对云台进行控制。具体的,基于身份标识信息,判断通过可移动平台能否对云台进行控制可以包括:获取存储在可移动平台内的原始云台身份信息;在身份标识信息与原始云台身份信息相匹配时,则确定通过可移动平台能够对云台进行控制;在身份标识信息与原始云台身份信息不匹配时,则确定通过可移动平台无法对云台进行控制。After the identification information is acquired, the identification information can be analyzed and processed to determine whether the PTZ can be controlled through the movable platform based on the analysis and processing results. Specifically, based on the identity information, judging whether the PTZ can be controlled through the movable platform may include: acquiring the original PTZ identity information stored in the movable platform; when the identity information matches the original PTZ identity information , it is determined that the PTZ can be controlled through the movable platform; when the identity information does not match the identity information of the original PTZ, it is determined that the PTZ cannot be controlled through the movable platform.
其中,预先设置有与设置于可移动平台上原始云台相对应的原始云台身份信息,该原始云台身份信息可以存储在可移动平台内的存储器中。在获取到当前云台所对应的身份标识信息之后,可以基于身份标识信息获取存储在可移动平台内的原始云台身份信息。在获取到原始云台身份信息之后,可以将原始云台身份信息与身份标识信息进行分析匹配,在身份标识信息与原始云台身份信息相匹配时,则说明设置于可移动平台上的云台未被更换,进而可以确定通过可移动平台能够对云台进行控制。在身份标识信息与原始云台身份信息不匹配时,则说明设置于可移动平台上的云台已经被更换,进而可以确定通过可移动平台不能对云台进行控制。Wherein, original PTZ identity information corresponding to the original PTZ set on the movable platform is preset, and the original PTZ identity information can be stored in a memory in the movable platform. After acquiring the identity information corresponding to the current PTZ, the original PTZ identity information stored in the movable platform can be acquired based on the identity information. After the original PTZ identity information is obtained, the original PTZ identity information can be analyzed and matched with the identity information. When the identity information matches the original PTZ identity information, it means that the PTZ set on the movable platform It has not been replaced, so it can be determined that the PTZ can be controlled through the movable platform. When the identity information does not match the original PTZ identity information, it means that the PTZ set on the movable platform has been replaced, and it can be determined that the PTZ cannot be controlled through the movable platform.
需要注意的是,由于身份标识信息具有不同的表达形式,因此,与身份标识信息相对应的原始云台身份信息也具有不同的表达形式。举例来说,在将相机模组的产品序列号确定为云台的身份标识信息时,原始云台身份信息可以为预先存储的更换前相机模组的产品序列号。此时,在获取到更换前相机模组的产品序列号之后,则可以将身份标识信息与更换前相机模组的产品序列号进行比较,在身份标识信息与更换前相机模组的产品序列号不匹配时,则说明设置于可移动平台上的云台已经被更换,进而可以确定通过可移动平台不能对云台进行控制。在身份标识信息与更换前相机模组的产品序列号相匹配时,则说明设置于可移动平台上的云台未被更换,进而可以确定通过可移动平台能够对云台进行控制。It should be noted that since the identity information has different expressions, the original PTZ identity information corresponding to the identity information also has different expressions. For example, when the product serial number of the camera module is determined as the identification information of the gimbal, the original gimbal identification information may be the pre-stored product serial number of the camera module before replacement. At this time, after obtaining the product serial number of the camera module before replacement, the identification information can be compared with the product serial number of the camera module before replacement, and the identification information can be compared with the product serial number of the camera module before replacement. If they do not match, it means that the gimbal set on the movable platform has been replaced, and it can be determined that the gimbal cannot be controlled through the movable platform. When the identification information matches the product serial number of the camera module before replacement, it means that the gimbal set on the movable platform has not been replaced, and it can be determined that the gimbal can be controlled through the movable platform.
在将云台产品序列号确定为云台的身份标识信息时,原始云台身份信息可以为预先存储的更换前云台的云台产品序列号。此时,在获取到更换前云台的产品序列号之后,则可以将身份标识信息与更换前云台的云台产品序列号进行比较,在身份标识信息与更换前云台的云台产品序列号不匹配时,则说明设置于可移动平台上的云台已经被更换,进而可以确定通过可移动平台 不能对云台进行控制。在身份标识信息与更换前云台的云台产品序列号相匹配时,则说明设置于可移动平台上的云台未被更换,进而可以确定通过可移动平台能够对云台进行控制。When the product serial number of the gimbal is determined as the identification information of the gimbal, the original gimbal identity information may be the product serial number of the gimbal before the replacement of the gimbal stored in advance. At this time, after obtaining the product serial number of the gimbal before the replacement, the identification information can be compared with the product serial number of the gimbal before the replacement. When the numbers do not match, it means that the gimbal set on the movable platform has been replaced, and it can be determined that the gimbal cannot be controlled through the movable platform. When the identification information matches the product serial number of the gimbal before the replacement, it means that the gimbal set on the movable platform has not been replaced, and it can be determined that the gimbal can be controlled through the movable platform.
步骤S104:在通过可移动平台无法对云台进行控制时,则控制云台进行参数标定操作,以通过可移动平台能够对云台进行控制。Step S104 : when the PTZ cannot be controlled through the movable platform, the PTZ is controlled to perform parameter calibration operation, so that the PTZ can be controlled through the movable platform.
当确定通过可移动平台无法对云台进行控制时,则可以控制云台进行参数标定操作,其中,控制云台进行参数标定操作的参数可以包括以下至少之一:设置于云台上的角度传感器的参数、设置于云台上的惯性测量单元IMU的参数等等,在进行参数标定操作之后,则可以通过可移动平台实现对云台进行控制。其中,角度传感器设于云台的电机上,用于获取电机的转动角度,以配合IMU检测的姿态数据来控制电机,进而达到云台的增稳或负载的感测范围的角度调节。角度传感器包括但不限于霍尔传感器、光电编码器。When it is determined that the gimbal cannot be controlled through the movable platform, the gimbal can be controlled to perform parameter calibration, wherein the parameters for controlling the gimbal to perform parameter calibration can include at least one of the following: an angle sensor arranged on the gimbal The parameters of the PTZ, the parameters of the inertial measurement unit IMU set on the PTZ, etc., after the parameter calibration operation, the PTZ can be controlled through the movable platform. Among them, the angle sensor is installed on the motor of the gimbal, and is used to obtain the rotation angle of the motor, and control the motor according to the attitude data detected by the IMU, thereby achieving the stabilization of the gimbal or the angle adjustment of the sensing range of the load. Angle sensors include but are not limited to Hall sensors and photoelectric encoders.
在一些实例中,本实施例中的方法还可以包括:在身份标识信息与原始云台身份信息相匹配时,则说明通过设置于可移动平台上的云台未发生更换操作,此时,无需对云台进行参数标定操作,即可通过可移动平台直接对云台进行控制。In some instances, the method in this embodiment may further include: when the identity information matches the original PTZ identity information, it means that no replacement operation has occurred on the PTZ set on the movable platform. By calibrating the parameters of the gimbal, you can directly control the gimbal through the movable platform.
本实施例提供的云台控制方法,通过获取云台上电信号,根据所述云台上电信号获取所述云台的身份标识信息,而后基于所述身份标识信息自动判断可移动平台上的云台是否发生更换,在确定云台已发生更换之后,由于此时通过可移动平台无法对云台进行控制,因此,可以控制云台进行参数标定操作,以实现可以通过所述可移动平台能够对所述云台进行控制,这样不仅方便快速地满足了用户可以手动更换云台的需求,还可以在检测到云台被更换之后,无需售后途径自动实现云台参数标定操作,从而给用户带来了较为友好的用户体验,进一步提高了该方法的实用性,有利于市场的推广与应用。In the pan-tilt control method provided by this embodiment, the PTZ power-on signal is acquired, the PTZ's identity information is acquired according to the PTZ's power-on signal, and then the mobile platform is automatically determined based on the identity information. Whether the gimbal has been replaced, after it is determined that the gimbal has been replaced, since the gimbal cannot be controlled through the movable platform at this time, the gimbal can be controlled to perform parameter calibration, so that the movable platform can The control of the PTZ not only conveniently and quickly meets the user's need to manually replace the PTZ, but also can automatically realize the PTZ parameter calibration operation without the need of after-sales after detecting that the PTZ has been replaced, so as to provide users with It brings a more friendly user experience, further improves the practicability of the method, and is beneficial to the promotion and application of the market.
图2为本发明一实施例提供的控制云台进行参数标定操作的流程示意图;在上述实施例的基础上,继续参考附图2所示,本实施例提供了一种参数标定操作的实现方式,具体的,本实施例中的控制云台进行参数标定操作可以包括:FIG. 2 is a schematic flowchart of a parameter calibration operation for controlling a pan/tilt according to an embodiment of the present invention; on the basis of the above embodiment, and continuing to refer to FIG. 2 , this embodiment provides an implementation manner of a parameter calibration operation. , Specifically, the parameter calibration operation of controlling the PTZ in this embodiment may include:
步骤S201:获取与可移动平台相对应的网络运行状态。Step S201: Acquire a network operating state corresponding to the movable platform.
步骤S202:在网络运行状态为非联网状态时,则基于测量标定参数控制所述云台进行参数标定操作。Step S202: when the network running state is a non-networking state, control the pan/tilt to perform a parameter calibration operation based on the measurement and calibration parameters.
步骤S203:在网络运行状态为联网状态时,则基于预设标定参数控制云台进行参数标定操作。Step S203 : when the network running state is the networking state, control the PTZ to perform a parameter calibration operation based on the preset calibration parameters.
其中,对于可移动平台而言,在对可移动平台进行应用时,不同的应用场景中可以对应有不同的网络运行状态,网络运行状态可以包括非联网状态和联网状态。具体的,与可移动平台相对应的网络运行状态主要是指与可移动平台相对应的遥控设备能否通过网络访问线上服务器或者云服务器,上述的线上服务器或者云服务器内存储有用于对云台进行参数标定操作的预设标定参数。Wherein, for the mobile platform, when the mobile platform is applied, different application scenarios may correspond to different network operation states, and the network operation state may include a non-networked state and a networked state. Specifically, the network operation state corresponding to the movable platform mainly refers to whether the remote control device corresponding to the movable platform can access the online server or cloud server through the network. The preset calibration parameters for the gimbal to perform parameter calibration operations.
本实施例对于网络运行状态的具体获取方式不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,例如:可以直接检测与可移动平台通信连接的遥控设备能否访问线上服务器或者云服务器,具体的,遥控设备可以向线上服务器或者云服务器发送数据包,在预设时间段内检测能否接收到线上服务器或者云服务器基于数据包所返回的反馈信息,当在预设时间段内能够接收到线上服务器或者云服务器所返回的反馈信息时,则可以确定与可移动平台相对应的遥控设备能够访问线上服务器或者云上服务器,进一步可以确定与可移动平台相对应的网络运行状态为联网状态。当在预设时间段内不能接收到线上服务器或者云服务器所返回的反馈信息时,则可以确定与可移动平台相对应的遥控设备不能访问线上服务器或者云上服务器,进一步可以确定与可移动平台相对应的网络运行状态为非联网状态。This embodiment does not limit the specific acquisition method of the network running state, and those skilled in the art can set it according to specific application requirements and design requirements. Server or cloud server, specifically, the remote control device can send data packets to the online server or cloud server, and detect whether it can receive the feedback information returned by the online server or cloud server based on the data packet within a preset time period. When the feedback information returned by the online server or the cloud server can be received within the preset time period, it can be determined that the remote control device corresponding to the mobile platform can access the online server or the cloud server, and it can be further determined that the remote control device corresponding to the mobile platform can access the online server or the cloud server. The corresponding network running state is the online state. When the feedback information returned by the online server or the cloud server cannot be received within the preset time period, it can be determined that the remote control device corresponding to the mobile platform cannot access the online server or the cloud server, and it can be further determined that the remote control device corresponding to the movable platform cannot access the online server or the cloud server. The network running state corresponding to the mobile platform is a non-networking state.
在确定可移动平台所对应的网络运行状态为非联网状态时,则说明此时无法直接通过遥控设备访问线上服务器或者云服务器,进而无法通过线上服务器或者云服务器获取到用于对云台进行参数标定操作的标准参数,因此,则可以获取测量标定参数,该测量标定参数可以是通过控制云台执行预设动作所检测获得的参数,而后可以利用测量标定参数来控制云台进行参数标定操作,具体的,基于测量标定参数控制云台上的电机和惯性测量单元IMU进行参数标定操作。在确定可移动平台所对应的网络运行状态为联网状态时,则说明此时通过遥控设备访问线上服务器或者云服务器,进而可以直接通过线上服务器或者云服务器获取到用于对云台进行参数标定操作的预设标定参数,因此,可以基于预设标定参数直接控制云台进行参数标定操作。When it is determined that the network operation state corresponding to the mobile platform is not connected to the Internet, it means that the online server or cloud server cannot be directly accessed through the remote control device at this time, and the online server or cloud server cannot be obtained. The standard parameters for the parameter calibration operation, therefore, the measurement calibration parameters can be obtained. The measurement calibration parameters can be parameters detected by controlling the gimbal to perform preset actions, and then the measurement and calibration parameters can be used to control the gimbal to perform parameter calibration. The operation, specifically, controls the motor on the gimbal and the inertial measurement unit IMU to perform the parameter calibration operation based on the measured calibration parameters. When it is determined that the network operation state corresponding to the mobile platform is the network state, it means that the online server or cloud server is accessed through the remote control device at this time, and then the parameters used for the PTZ can be obtained directly through the online server or cloud server. The preset calibration parameters of the calibration operation, therefore, the PTZ can be directly controlled to perform the parameter calibration operation based on the preset calibration parameters.
本实施例中,通过获取与可移动平台相对应的网络运行状态,在网络运行状态为非联网状态时,则基于测量标定参数控制所述云台进行参数标定操 作;在网络运行状态为联网状态时,则基于预设标定参数控制云台进行参数标定操作,有效地实现了可以基于可移动平台所对应的不同网络运行状态进行不同的参数标定操作,这样不仅极大地提高了对云台进行参数标定操作的质量和效率,并且也提高了该方法使用的灵活可靠性。In this embodiment, by acquiring the network operating state corresponding to the movable platform, when the network operating state is a non-networked state, the pan/tilt is controlled based on the measurement and calibration parameters to perform a parameter calibration operation; when the network operating state is a networked state When the preset calibration parameters are used, the gimbal is controlled to perform parameter calibration operation, which effectively realizes different parameter calibration operations based on different network operating states corresponding to the movable platform, which not only greatly improves the parameter calibration of the gimbal. The quality and efficiency of the calibration operation, and also the flexibility and reliability of the use of the method are improved.
图3为本发明另一实施例提供的控制云台进行参数标定操作的流程示意图;在上述实施例的基础上,继续参考附图3所示,本实施例提供了另一种参数标定操作的实现方式,具体的,本实施例中的控制云台进行参数标定操作可以包括:FIG. 3 is a schematic flowchart of a parameter calibration operation for controlling a pan/tilt according to another embodiment of the present invention; on the basis of the above embodiment, with continued reference to FIG. 3 , this embodiment provides another parameter calibration operation. The implementation manner, specifically, in this embodiment, the parameter calibration operation of controlling the PTZ may include:
步骤S301:获取与云台相对应的当前运行状态。Step S301: Acquire the current operating state corresponding to the PTZ.
步骤S302:基于当前运行状态,控制云台进行参数标定操作。Step S302: Based on the current operating state, control the PTZ to perform a parameter calibration operation.
其中,对于可移动平台而言,在对可移动平台进行应用时,不同的应用场景中,设置于可移动平台上的云台可以对应有不同的运行状态,运行状态可以包括静置状态和非静置状态。具体的,本实施例对于与云台相对应的当前运行状态进行获取的具体实现方式不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,例如:可移动平台上可以设置有机身IMU,通过机身IMU的数据可以判断可移动平台是否处于静置状态,进而判断云台是否处于静置状态。具体的,如果前一时刻的IMU数据与后一时刻的IMU数据之间的偏差大于或等于预设阈值,则说明此时的可移动平台的机身处于摇晃状态,进而可以确定设置于可移动平台上的云台处于非静置状态;如果前一时刻的IMU数据与后一时刻的IMU数据之间的偏差小于预设阈值,则说明此时可移动平台的机身未处于摇晃状态,进而可以确定设置于可移动平台上的云台处于静置状态。Among them, for the movable platform, when the movable platform is applied, in different application scenarios, the PTZ set on the movable platform can correspond to different operating states, and the operating states can include static state and non-static state. rest state. Specifically, this embodiment does not limit the specific implementation manner of acquiring the current operating state corresponding to the PTZ, and those skilled in the art can set according to specific application requirements and design requirements, for example: a movable platform can set There is a fuselage IMU, and the data of the fuselage IMU can determine whether the movable platform is in a static state, and then judge whether the gimbal is in a static state. Specifically, if the deviation between the IMU data at the previous moment and the IMU data at the next moment is greater than or equal to the preset threshold, it means that the body of the movable platform at this moment is in a shaking state, and it can be determined that the movable platform is set in the movable platform. The gimbal on the platform is in a non-static state; if the deviation between the IMU data at the previous moment and the IMU data at the next moment is less than the preset threshold, it means that the body of the movable platform is not in a shaking state at this time, and then It can be determined that the gimbal set on the movable platform is in a stationary state.
当然的,本领域技术人员也可以采用其他的方式来获取与云台相对应的当前运行状态,只要能够保证对云台所对应的当前运行状态进行获取的准确可靠性即可,在此不再赘述。Of course, those skilled in the art can also use other methods to obtain the current operating state corresponding to the PTZ, as long as the accuracy and reliability of the acquisition of the current operating state corresponding to the PTZ can be ensured, which will not be repeated here. .
在获取到与云台相对应的当前运行状态之后,可以基于当前运行状态控制云台进行参数标定操作。具体的,基于当前运行状态,控制云台进行参数标定操作可以包括:在当前运行状态为静置状态时,则基于测量标定参数控制云台进行参数标定操作;在当前运行状态为非静置状态时,则基于预设标定参数控制云台进行参数标定操作。After acquiring the current running state corresponding to the gimbal, the gimbal can be controlled to perform parameter calibration based on the current running state. Specifically, controlling the PTZ to perform parameter calibration based on the current operating state may include: when the current operating state is a stationary state, controlling the PTZ to perform a parameter calibration operation based on the measured calibration parameters; when the current operating state is a non-static state , the gimbal is controlled to perform parameter calibration based on the preset calibration parameters.
具体的,在云台所对应的当前运行状态为静置状态时,此时获取测量标 定参数,该测量标定参数可以是通过控制云台执行预设动作所检测获得的参数,而后可以利用测量标定参数来控制云台进行参数标定操作,具体的,基于测量标定参数控制云台上的电机和惯性测量单元IMU进行参数标定操作。在云台所对应的当前运行状态为非静置状态时,由于处于非静置状态的云台无法准确地进行电机和惯性测量单元IMU的参数标定操作,因此,可以获取预设标定参数,而后基于预设标定参数来控制云台进行参数标定操作,这样可以有效地保证对云台进行参数标定操作的准确可靠性。Specifically, when the current operating state corresponding to the gimbal is the stationary state, the measurement calibration parameters are obtained at this time. The measurement calibration parameters may be parameters detected by controlling the gimbal to perform preset actions, and then the measurement calibration parameters can be used. to control the gimbal to perform parameter calibration operations. Specifically, based on the measurement and calibration parameters, control the motor on the gimbal and the inertial measurement unit IMU to perform parameter calibration operations. When the current operating state corresponding to the gimbal is a non-stationary state, since the gimbal in the non-stationary state cannot accurately calibrate the parameters of the motor and the inertial measurement unit IMU, the preset calibration parameters can be obtained, and then based on The preset calibration parameters are used to control the gimbal to perform parameter calibration operations, which can effectively ensure the accuracy and reliability of parameter calibration operations on the gimbal.
在另一些实例中,在当前运行状态为静置状态时,也可以获取预设标定参数,而后基于预设标定参数控制云台进行参数标定操作。In some other instances, when the current operating state is a stationary state, preset calibration parameters may also be acquired, and then the gimbal is controlled to perform parameter calibration operations based on the preset calibration parameters.
本实施例中,通过获取与云台相对应的当前运行状态,在当前运行状态为静置状态时,则控制云台上的电机和惯性测量单元IMU进行参数标定操作;或者,在当前运行状态为非静置状态时,则基于预设标定参数控制云台进行参数标定操作,从而有效地实现了可以基于云台所对应的不同运行状态进行不同的参数标定操作,这样不仅极大地提高了参数标定操作进行的质量和效率,并且也保证了对云台进行参数标定操作的准确可靠性。In this embodiment, by acquiring the current operating state corresponding to the gimbal, when the current operating state is a stationary state, the motor on the gimbal and the inertial measurement unit IMU are controlled to perform parameter calibration operations; or, in the current operating state When it is in a non-stationary state, the gimbal is controlled based on the preset calibration parameters to perform parameter calibration operations, thereby effectively realizing different parameter calibration operations based on different operating states of the gimbal, which not only greatly improves the parameter calibration. The quality and efficiency of the operation, and also ensure the accuracy and reliability of the parameter calibration operation of the PTZ.
在一些实例中,在基于预设标定参数控制云台进行参数标定操作之前,本实施例中的方法还可以包括:基于身份标识信息,获取与云台相对应的预设标定参数。In some instances, before controlling the gimbal to perform parameter calibration based on the preset calibration parameters, the method in this embodiment may further include: acquiring preset calibration parameters corresponding to the gimbal based on the identification information.
其中,在获取到身份标识信息之后,可以对身份标识信息进行分析处理,以获取与云台相对应的预设标定参数,上述的预设标定参数可以包括以下至少之一:电机参数、IMU参数,电机参数包括但不限于电机中位、角度传感器的参数等等。具体的,参考附图4所示,基于身份标识信息,获取与云台相对应的预设标定参数可以包括:Wherein, after the identification information is obtained, the identification information can be analyzed and processed to obtain preset calibration parameters corresponding to the gimbal, and the above preset calibration parameters can include at least one of the following: motor parameters, IMU parameters , the motor parameters include but are not limited to the motor neutral position, the parameters of the angle sensor, etc. Specifically, referring to FIG. 4 , based on the identity information, obtaining the preset calibration parameters corresponding to the PTZ may include:
步骤S401:基于身份标识信息生成与云台相对应的参数获取请求。Step S401: Generate a parameter acquisition request corresponding to the PTZ based on the identity information.
步骤S402:向服务器发送参数获取请求,服务器中存储有与多个标准云台相对应的预设标定参数。Step S402: Send a parameter acquisition request to the server, where the server stores preset calibration parameters corresponding to multiple standard PTZs.
步骤S403:接收服务器基于参数获取请求所发送的与云台相对应的云台标定参数。Step S403: Receive the PTZ calibration parameters corresponding to the PTZ sent by the server based on the parameter acquisition request.
由于不同类型的云台可以对应有不同的预设标定参数,而不同的预设标定参数可以预先存储在服务器中,以实现可以对大部分类型甚至是所有类型的云台均可以进行参数标定操作。在获取到身份标识信息之后,可以对身份 标识信息进行分析处理,以生成与云台相对应的参数获取请求,参数获取请求用于获取与当前云台相对应的云台标定参数。其中,与多个类型云台相对应的预设标定参数存储在服务器中,为了能够准确地获取到与当前云台相对应的云台标定参数,在获取到参数获取请求之后,可以将参数获取请求发送至服务器。Because different types of PTZs can correspond to different preset calibration parameters, and different preset calibration parameters can be stored in the server in advance, so that most types or even all types of PTZs can be calibrated. . After the identification information is obtained, the identification information can be analyzed and processed to generate a parameter acquisition request corresponding to the PTZ, and the parameter acquisition request is used to obtain the calibration parameters of the PTZ corresponding to the current PTZ. Among them, the preset calibration parameters corresponding to multiple types of PTZs are stored in the server. In order to accurately obtain the PTZ calibration parameters corresponding to the current PTZ, after the parameter acquisition request is obtained, the parameters can be obtained. The request is sent to the server.
具体的,参数获取请求中包括与当前云台所对应的身份标识信息,在服务器获取到参数获取请求之后,可以基于参数获取请求在与多个类型云台相对应的预设标定参数中确定与当前云台相对应的云台标定参数,而后可以将云台标定参数发送至云台控制装置,从而使得云台控制装置可以接收到服务器基于参数获取请求所发送的与云台相对应的云台标定参数。Specifically, the parameter acquisition request includes the identity information corresponding to the current pan/tilt, and after the server acquires the parameter acquisition request, it may determine, from the preset calibration parameters corresponding to multiple types of pan/tilts based on the parameter acquisition request, the identification information corresponding to the current pan/tilt The PTZ calibration parameters corresponding to the PTZ can then be sent to the PTZ control device, so that the PTZ control device can receive the PTZ calibration corresponding to the PTZ sent by the server based on the parameter acquisition request. parameter.
举例来说,服务器内存储的多个标准云台可以包括第一类型云台、第二类型云台、第三类型云台、第四类型云台和第五类型云台,第一类型云台对应有预设标定参数a、第二类型云台对应有预设标定参数b、第三类型云台对应有预设标定参数c、第四类型云台对应有预设标定参数d和第五类型云台对应有预设标定参数e。For example, the plurality of standard PTZs stored in the server may include the first type PTZ, the second type PTZ, the third type PTZ, the fourth type PTZ, and the fifth type PTZ, the first type PTZ. There are preset calibration parameters a, the second type of PTZ corresponds to preset calibration parameters b, the third type PTZ corresponds to preset calibration parameters c, the fourth type PTZ corresponds to preset calibration parameters d and the fifth type The gimbal corresponds to a preset calibration parameter e.
若当前云台所对应的云台类型为第三类型云台时,则可以基于第三类型云台所对应的身份标识信息生成参数获取请求,而后可以将参数获取请求发送至服务器。在服务器获取到参数获取请求之后,可以确定与参数获取请求相对应的身份标识信息为第三类型云台所对应的身份标识信息,因此,可以将服务器中存储的与第三类型云台相对应的预设标定参数c确定为与当前云台相对应的云台标定参数,而后可以将预设标定参数c发送至云台控制装置,从而使得云台控制装置可以获取到与云台相对应的云台标定参数,进一步提高了对云台标定参数进行获取的准确可靠性。If the pan-tilt type corresponding to the current pan-tilt is the third-type pan-tilt, a parameter acquisition request may be generated based on the identity information corresponding to the third-type pan-tilt, and then the parameter acquisition request may be sent to the server. After the server acquires the parameter acquisition request, it can be determined that the identity information corresponding to the parameter acquisition request is the identity information corresponding to the third type of pan-tilt. The preset calibration parameter c is determined as the gimbal calibration parameter corresponding to the current gimbal, and then the preset calibration parameter c can be sent to the gimbal control device, so that the gimbal control device can obtain the cloud corresponding to the gimbal. The platform calibration parameters further improve the accuracy and reliability of the acquisition of the calibration parameters of the gimbal.
在另一些实例中,在服务器获取到与云台相对应的云台标定参数、并将云台标定参数发送至云台控制装置的过程中,为了能够保证对数据进行传输的安全可靠性,在服务器将与云台相对应的云台标定参数发送至云台控制装置的过程中,可以包括如下步骤:对与云台相对应的云台标定参数进行加密压缩处理,获得加密后云台标定参数,将加密后云台标定参数发送至云台控制装置,在云台控制装置获取到加密后云台标定参数之后,可以对加密后云台标定参数进行解密处理,从而可以获取到与云台相对应的云台标定参数,这样不仅保证了对云台标定参数进行获取的准确可靠性,并且也提高了对云 台标定参数进行获取的安全可靠性。In other instances, in the process that the server obtains the calibration parameters of the PTZ corresponding to the PTZ and sends the calibration parameters of the PTZ to the PTZ control device, in order to ensure the safety and reliability of data transmission, in The process of the server sending the PTZ calibration parameters corresponding to the PTZ to the PTZ control device may include the following steps: encrypting and compressing the PTZ calibration parameters corresponding to the PTZ, and obtaining the encrypted PTZ calibration parameters , send the encrypted PTZ calibration parameters to the PTZ control device, and after the PTZ control device obtains the encrypted PTZ calibration parameters, it can decrypt the encrypted PTZ calibration parameters, so as to obtain the same parameters as the PTZ. Corresponding PTZ calibration parameters, which not only ensures the accuracy and reliability of the acquisition of PTZ calibration parameters, but also improves the safety and reliability of acquisition of PTZ calibration parameters.
本实施例中,基于身份标识信息生成与云台相对应的参数获取请求,其中,服务器中存储有与多个标准云台相对应的预设标定参数,而后可以向服务器发送参数获取请求,从而使得云台控制装置可以接收到服务器基于参数获取请求所发送的与云台相对应的云台标定参数,这样有效地保证了对云台标定参数进行获取的准确可靠性,进一步提高了该方法的实用性。In this embodiment, a parameter acquisition request corresponding to the PTZ is generated based on the identity information, wherein the server stores preset calibration parameters corresponding to multiple standard PTZs, and then a parameter acquisition request can be sent to the server, thereby The PTZ control device can receive the PTZ calibration parameters corresponding to the PTZ sent by the server based on the parameter acquisition request, thus effectively ensuring the accuracy and reliability of acquiring the PTZ calibration parameters, and further improving the performance of the method. practicality.
图5为本发明实施例提供的控制云台上的电机和惯性测量单元IMU进行参数标定操作的流程示意图;在上述实施例的基础上,继续参考附图5所示,本实施例中对于控制云台上的电机和惯性测量单元IMU进行参数标定操作的具体实现方式不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,较为优选的,本实施例中的基于测量标定参数控制所述云台进行参数标定操作可以包括:FIG. 5 is a schematic flowchart of a parameter calibration operation for controlling a motor on a pan/tilt head and an inertial measurement unit IMU provided by an embodiment of the present invention; on the basis of the foregoing embodiment, with continued reference to FIG. 5 , in this embodiment, the control The specific implementation of the parameter calibration operation performed by the motor on the gimbal and the inertial measurement unit IMU is not limited, and those skilled in the art can set it according to specific application requirements and design requirements. Preferably, the measurement-based calibration in this embodiment is Parameter controlling the pan/tilt to perform parameter calibration operation may include:
步骤S501:获取与云台上的电机相对应的电机参数、以及与惯性测量单元IMU相对应的IMU参数。Step S501: Acquire motor parameters corresponding to the motors on the gimbal and IMU parameters corresponding to the inertial measurement unit IMU.
步骤S502:基于电机参数,控制云台上的电机进行参数标定操作。Step S502: Based on the motor parameters, control the motor on the gimbal to perform a parameter calibration operation.
步骤S503:基于IMU参数,控制位于云台上的IMU进行参数标定操作。Step S503: Based on the IMU parameters, the IMU located on the PTZ is controlled to perform a parameter calibration operation.
其中,不同类型的云台上可以设置有不同数量的电机,例如:单轴云台上可以设置有一个电机,双轴云台上可以设置有两个电机,三轴云台上可以设置有三个电机,多轴云台上可以设置有多个电机,具体的,本领域技术人员可以根据具体的应用场景和应用需求来选择不同类型的云台。一般来说,云台上的电机可以包括以下至少之一:偏航yaw电机、横滚roll电机、俯仰pitch电机等等,在对云台上的电机进行参数标定操作时,需要对位于云台上的所有电机进行参数标定操作。Among them, different types of PTZs can be provided with different numbers of motors, for example, one motor can be set on a single-axis PTZ, two motors can be set on a dual-axis PTZ, and three motors can be set on a three-axis PTZ Motors. Multiple motors may be provided on the multi-axis gimbal. Specifically, those skilled in the art can select different types of gimbal according to specific application scenarios and application requirements. Generally speaking, the motors on the gimbal can include at least one of the following: yaw motor, roll motor, pitch motor, etc. When calibrating the parameters of the motors on the gimbal, it is necessary to calibrate the motors on the gimbal. Perform parameter calibration for all motors on the
以电机上的角度传感器为霍尔传感器为例,在对电机进行参数标定操作时,可以包括:霍尔峰峰值标定操作、霍尔中位标定操作、电机中位标定操作,下面对上述各个标定操作进行简要说明:Taking the angle sensor on the motor as the Hall sensor as an example, the parameter calibration operation for the motor may include: Hall peak-to-peak calibration operation, Hall neutral calibration operation, and motor neutral calibration operation. The above calibration operations are described below. To give a brief description:
霍尔峰峰值标定操作可以包括如下步骤:获取电机的磁场电极,磁场电极包括磁场南极S和磁场北极N,而后在电机的磁场电极下端放置霍尔传感器,控制电机进行旋转,从而获取到霍尔元件在一个周期内的霍尔峰峰值,具体的,霍尔传感器可以为双向霍尔传感器,或者,霍尔传感器的个数可以为两个,从而可以获取到两路霍尔信号的峰峰值,上述两路霍尔信号的峰峰值即 为实现校准操作之后所获得的校准参数。The Hall peak-to-peak calibration operation may include the following steps: acquiring the magnetic field electrodes of the motor, the magnetic field electrodes including the magnetic field south pole S and the magnetic field north pole N, and then placing a Hall sensor at the lower end of the magnetic field electrode of the motor to control the motor to rotate, so as to obtain the Hall element at the lower end of the magnetic field electrode. The Hall peak-to-peak value in one cycle, specifically, the Hall sensor can be a bidirectional Hall sensor, or the number of Hall sensors can be two, so that the peak-to-peak value of the two Hall signals can be obtained. The peak-to-peak value of the signal is the calibration parameter obtained after the calibration operation is implemented.
霍尔中位标定操作可以包括如下步骤:获取两路霍尔信号所对应的峰峰值,基于上述峰峰值确定两路霍尔信号的中位值,该中位值即为实现校准操作之后所获得的校准参数。在一些实例中,为了提高标定操作进行的质量和效率,霍尔中位标定操作可以在霍尔峰峰值标定操作之后执行,这样可以直接利用经过霍尔峰峰值标定操作后的峰峰值来进行霍尔中位标定操作。The Hall median calibration operation may include the following steps: acquiring the peak-to-peak values corresponding to the two-way Hall signals, and determining the median value of the two-way Hall signals based on the above-mentioned peak-to-peak values, where the median value is obtained after the calibration operation is implemented calibration parameters. In some instances, in order to improve the quality and efficiency of the calibration operation, the Hall center calibration operation can be performed after the Hall peak-to-peak calibration operation, so that the Hall center calibration can be performed directly using the peak-to-peak value after the Hall peak-to-peak calibration operation. operate.
电机中位标定操作可以包括如下步骤:通过电机控制云台的轴臂进行转动,获取云台的轴臂碰撞预设限位的结果,根据上述碰撞预设限位的结果获取到电机机械角度的中位,该中位即为进行标定操作之后所获得的校准参数。The motor neutral position calibration operation may include the following steps: controlling the shaft arm of the gimbal to rotate through the motor, obtaining the result that the shaft arm of the gimbal collides with the preset limit, and obtaining the mechanical angle of the motor according to the result of the collision with the preset limit. The median is the calibration parameter obtained after the calibration operation.
在完成电机参数的标定操作之后,则基于IMU参数控制位于云台上的IMU进行参数标定操作,上述的参数标定操作主要包括加速度计零偏标定操作,其中,由于云台上可以设置有位于不同位置处的加速度计,为了能够实现加速度计的零偏标定操作,可以获取位于不同位置处的加速度计所输出的加速度参数,而后确定加速度参数与重力加速度之间的关联关系,利用上述关联关系标定出加速度计的零偏参数。在一些实例中,云台上所设置的加速度计可以为三轴加速度计,这样,在进行加速度计零偏标定操作时,可以获取到加速度计三轴零偏参数。After the calibration operation of the motor parameters is completed, the IMU located on the gimbal is controlled based on the IMU parameters to perform the parameter calibration operation. The above-mentioned parameter calibration operation mainly includes the accelerometer zero offset calibration operation. For the accelerometer at the position, in order to realize the zero offset calibration operation of the accelerometer, the acceleration parameters output by the accelerometers located at different positions can be obtained, and then the correlation between the acceleration parameters and the acceleration of gravity can be determined, and the above correlation relationship can be used to calibrate Get the zero-bias parameter of the accelerometer. In some instances, the accelerometer set on the gimbal may be a three-axis accelerometer, so that when performing the zero-bias calibration operation of the accelerometer, the three-axis zero-bias parameters of the accelerometer can be obtained.
在完成加速度计零偏标定操作之后,可以利用标定好的加速度计来进行霍尔传感器的零偏标定操作,具体的,通过进行参数标定操作后的加速度计可以为霍尔传感器的零偏标定操作提供较为准确的参考水平面,基于参考水平面可以标定出水平两轴处的霍尔传感器的零偏参数,以使得霍尔传感器零位与参考水平面相对应,从而完成了对电机和IMU进行参数标定操作。After completing the zero-bias calibration operation of the accelerometer, the calibrated accelerometer can be used to perform the zero-bias calibration operation of the Hall sensor. Specifically, the accelerometer after the parameter calibration operation can be used for the zero-bias calibration operation of the Hall sensor. Provide a more accurate reference level, based on the reference level, the zero offset parameters of the Hall sensors at the two horizontal axes can be calibrated, so that the zero position of the Hall sensor corresponds to the reference level, thus completing the parameter calibration operation for the motor and IMU .
通过上述可知,测量标定参数可以包括与云台上的电机相对应的电机参数、以及与IMU相对应的IMU参数。其中,预设标定参数与测量标定的参数的类别相同。It can be known from the above that the measured calibration parameters may include motor parameters corresponding to the motors on the gimbal and IMU parameters corresponding to the IMU. Wherein, the preset calibration parameters are of the same category as the parameters of the measurement calibration.
本实施例中,通过获取与云台上的电机相对应的电机参数、以及与IMU相对应的IMU参数,而后基于电机参数来控制云台上的电机进行参数标定操作,且基于IMU参数控制位于云台上的IMU进行参数标定操作,从而实现了对云台进行参数标定操作,在完成对云台进行参数标定操作之后,可以方便用户通过可移动平台对云台进行控制,进一步提高了该方法使用的稳定可靠性。In this embodiment, the motor parameters corresponding to the motor on the gimbal and the IMU parameters corresponding to the IMU are obtained, and then the motor on the gimbal is controlled based on the motor parameters to perform parameter calibration operation, and based on the IMU parameters, the The IMU on the gimbal performs parameter calibration operation, thereby realizing the parameter calibration operation on the gimbal. After completing the parameter calibration operation on the gimbal, it is convenient for the user to control the gimbal through the movable platform, which further improves the method. Stable reliability of use.
图6为本发明实施例提供的又一种云台控制方法的流程示意图;在上述实 施例的基础上,继续参考附图6所示,在获取与云台上的电机相对应的电机参数之后,为了能够保证对电机进行参数标定操作的质量和效率,可以在对电机进行参数标定操作之前或者在对电机进行参数标定操作的过程中,可以实时地对用于进行参数标定操作的电机参数进行数据检测操作,以确定用于进行参数标定操作的电机参数是否有效。具体的,本实施例中的方法还可以包括:FIG. 6 is a schematic flowchart of another pan/tilt control method provided by an embodiment of the present invention; on the basis of the above-mentioned embodiment, referring to FIG. 6 , after obtaining the motor parameters corresponding to the motors on the pan/tilt , in order to ensure the quality and efficiency of the parameter calibration operation of the motor, the motor parameters used for the parameter calibration operation can be calibrated in real time before the parameter calibration operation of the motor or during the parameter calibration operation of the motor. Data detection operation to determine whether the motor parameters used for parameter calibration operation are valid. Specifically, the method in this embodiment may further include:
步骤S601:获取与电机参数相对应的第一参数范围。Step S601: Obtain a first parameter range corresponding to the motor parameters.
步骤S602:基于第一参数范围识别电机参数是否有效。Step S602: Identify whether the motor parameters are valid based on the first parameter range.
步骤S603:在确定电机参数有效时,则允许基于电机参数控制云台上的电机进行参数标定操作。Step S603: When it is determined that the motor parameters are valid, control the motor on the gimbal based on the motor parameters to perform parameter calibration operations.
在对电机进行参数标定操作的过程中,用于进行参数标定操作的任何参数可以包括有效数据和无效数据,有效数据可以是指电机参数在预设标准范围内的数据,无效数据可以是指电机参数超出预设标准范围的数据,例如:某些无穷大的数据、某些无穷小的数据等等。因此,为了能够准确地识别用于进行参数标定操作的电机参数是否有效,可以获取与电机参数相对应的第一参数范围,可以理解的是,对于不同类型的云台的电机参数所对应的第一参数范围可以相同或者不同,对于同一类型的云台的不同电机参数所对应的第一参数范围可以相同或不同。During the parameter calibration operation of the motor, any parameters used for the parameter calibration operation may include valid data and invalid data. The valid data may refer to the data of the motor parameters within the preset standard range, and the invalid data may refer to the motor Data whose parameters are beyond the preset standard range, such as: some infinite data, some infinitely small data, etc. Therefore, in order to accurately identify whether the motor parameters used for the parameter calibration operation are valid, the first parameter range corresponding to the motor parameters can be obtained. A parameter range may be the same or different, and the first parameter range corresponding to different motor parameters of the same type of gimbal may be the same or different.
其中,与电机参数相对应的第一参数范围可以存储在预设区域内,通过访问预设区域即可获取到与电机参数相对应的第一参数范围。在获取到第一参数范围之后,可以基于第一参数范围识别电机参数是否有效,具体的,可以将第一参数范围与电机参数进行分析比较,在电机参数位于第一参数范围内时,则可以确定电机参数有效,此时可以允许基于有效的电机参数来控制云台上的电机进行参数标定操作;在电机参数超出第一参数范围时,则可以确定电机参数无效,进而禁止基于无效的电机参数来控制云台上的电机进行参数标定操作,以避免云台控制装置进行无效的参数标定操作,浪费数据处理资源。The first parameter range corresponding to the motor parameters may be stored in a preset area, and the first parameter range corresponding to the motor parameters may be acquired by accessing the preset area. After the first parameter range is obtained, whether the motor parameters are valid can be identified based on the first parameter range. Specifically, the first parameter range can be analyzed and compared with the motor parameters. When the motor parameters are within the first parameter range, the It is determined that the motor parameters are valid. At this time, it is allowed to control the motor on the gimbal for parameter calibration based on the valid motor parameters; when the motor parameters exceed the first parameter range, it can be determined that the motor parameters are invalid, and the invalid motor parameters are prohibited. To control the motor on the PTZ to perform parameter calibration operation, so as to avoid invalid parameter calibration operation by the PTZ control device and waste of data processing resources.
其中,第一参数范围可以包括多个,视电机参数的数量而定,具体可以参考前述提到的电机参数。各个电机参数对应的第一参数范围可以相同,各个电机的电机参数对应的第一参数范围也可以不同。Wherein, the first parameter range may include multiple ones, depending on the number of motor parameters. For details, refer to the motor parameters mentioned above. The first parameter ranges corresponding to the respective motor parameters may be the same, and the first parameter ranges corresponding to the motor parameters of the respective motors may also be different.
本实施例中,通过获取与电机参数相对应的第一参数范围,而后基于第 一参数范围识别电机参数是否有效,在确定电机参数有效时,则允许基于有效的电机参数控制云台上的电机进行参数标定操作,从而有效地保证了对云台上的电机进行参数标定操作的稳定可靠性,进一步提高了对云台进行参数标定操作的稳定可靠性,从而有利于保证基于可移动平台对云台进行控制的稳定可靠性。In this embodiment, by acquiring the first parameter range corresponding to the motor parameters, and then identifying whether the motor parameters are valid based on the first parameter range, when it is determined that the motor parameters are valid, the motor on the gimbal is allowed to be controlled based on the valid motor parameters The parameter calibration operation is performed, thereby effectively ensuring the stability and reliability of the parameter calibration operation on the motor on the gimbal, and further improving the stability and reliability of the parameter calibration operation on the gimbal, which is conducive to ensuring that the mobile platform is based on the cloud. The stable and reliable control of the platform.
图7为本发明实施例提供的另一种云台控制方法的流程示意图;在上述实施例的基础上,继续参考附图7所示,在获取与云台上的IMU相对应的IMU参数之后,为了能够保证对IMU进行参数标定操作的质量和效率,可以在对IMU进行参数标定操作之前或者在对IMU进行参数标定操作的过程中,可以实时地对用于进行参数标定操作的IMU参数进行数据检测操作,以确定用于进行参数标定操作的IMU参数是否有效。具体的,本实施例中的方法还可以包括:FIG. 7 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention; on the basis of the above-mentioned embodiment, referring to FIG. 7, after acquiring the IMU parameters corresponding to the IMU on the pan-tilt , in order to ensure the quality and efficiency of the parameter calibration operation on the IMU, the IMU parameters used for the parameter calibration operation can be calibrated in real time before the parameter calibration operation on the IMU or during the parameter calibration operation on the IMU. The data detection operation is used to determine whether the IMU parameters used for the parameter calibration operation are valid. Specifically, the method in this embodiment may further include:
步骤S701:获取与IMU参数相对应的第二参数范围。Step S701: Acquire a second parameter range corresponding to the IMU parameter.
步骤S702:基于第二参数范围识别IMU参数是否有效。Step S702: Identify whether the IMU parameters are valid based on the second parameter range.
步骤S703:在确定IMU参数有效时,则允许基于IMU参数控制位于云台上的IMU进行参数标定操作。Step S703: When it is determined that the IMU parameters are valid, the IMU located on the PTZ is allowed to perform parameter calibration based on the IMU parameters.
在对IMU进行参数标定操作的过程中,用于进行参数标定操作的任何参数可以包括有效数据和无效数据,有效数据可以是指IMU参数在预设标准范围内的数据,无效数据可以是指IMU参数超出预设标准范围的数据,例如:某些无穷大的数据、某些无穷小的数据等等。因此,为了能够准确地识别用于进行参数标定操作的IMU参数是否有效,可以获取与IMU参数相对应的第二参数范围,可以理解的是,对于不同类型的云台的IMU参数所对应的第二参数范围可以相同或者不同,对于同一类型的云台的不同IMU参数所对应的第二参数范围可以相同或不同。During the parameter calibration operation on the IMU, any parameters used for the parameter calibration operation may include valid data and invalid data. The valid data may refer to the data whose IMU parameters are within the preset standard range, and the invalid data may refer to the IMU Data whose parameters are beyond the preset standard range, such as: some infinite data, some infinitely small data, etc. Therefore, in order to accurately identify whether the IMU parameters used for the parameter calibration operation are valid, the second parameter range corresponding to the IMU parameters can be obtained. The second parameter ranges may be the same or different, and the second parameter ranges corresponding to different IMU parameters of the same type of PTZ may be the same or different.
其中,与IMU参数相对应的第二参数范围可以存储在预设区域内,通过访问预设区域即可获取到与IMU参数相对应的第二参数范围。在获取到第二参数范围之后,可以基于第二参数范围识别IMU参数是否有效,具体的,可以将第二参数范围与IMU参数进行分析比较,在IMU参数位于第二参数范围内时,则可以确定IMU参数有效,此时可以允许基于有效的IMU参数来控制云台上的IMU进行参数标定操作;在IMU参数超出第二参数范围时,则可以确定IMU参数无效,进而禁止基于无效的IMU参数来控制云台上的IMU进行参数标定操作,以避免云台控制装置进行无效的参数标定操作,浪费数据处理资源。The second parameter range corresponding to the IMU parameter may be stored in a preset area, and the second parameter range corresponding to the IMU parameter may be acquired by accessing the preset area. After the second parameter range is acquired, whether the IMU parameters are valid can be identified based on the second parameter range. Specifically, the second parameter range can be analyzed and compared with the IMU parameters. When the IMU parameters are within the second parameter range, the It is determined that the IMU parameters are valid. At this time, the IMU on the gimbal can be controlled to perform parameter calibration based on the valid IMU parameters. When the IMU parameters exceed the second parameter range, it can be determined that the IMU parameters are invalid, and the invalid IMU parameters are prohibited. It can control the IMU on the PTZ to perform parameter calibration operation, so as to avoid the invalid parameter calibration operation performed by the PTZ control device and waste data processing resources.
其中,第二参数范围可以对应前述的加速度计零偏,各个IMU对应的第二参数范围可以不同。The second parameter range may correspond to the aforementioned accelerometer bias, and the second parameter range corresponding to each IMU may be different.
本实施例中,通过获取与IMU参数相对应的第二参数范围,而后基于第二参数范围识别IMU参数是否有效,在确定IMU参数有效时,则允许基于有效的IMU参数控制云台上的IMU进行参数标定操作,从而有效地保证了对云台上的IMU进行参数标定操作的稳定可靠性,进一步提高了对云台进行参数标定操作的稳定可靠性,从而有利于保证基于可移动平台对云台进行控制的稳定可靠性。In this embodiment, by acquiring the second parameter range corresponding to the IMU parameters, and then identifying whether the IMU parameters are valid based on the second parameter range, when it is determined that the IMU parameters are valid, the IMU on the gimbal is allowed to be controlled based on the valid IMU parameters The parameter calibration operation is carried out, thereby effectively ensuring the stability and reliability of the parameter calibration operation on the IMU on the gimbal, and further improving the stability and reliability of the parameter calibration operation on the gimbal, which is conducive to ensuring that the cloud-based platform is based on the mobile platform. The stable and reliable control of the platform.
图8为本发明实施例提供的又一种云台控制方法的流程示意图;在上述实施例的基础上,继续参考附图8所示,在对云台进行参数标定操作时,可以包括两种标定操作结果,即标定操作成功和标定操作失败,为了能够让用户及时获知到对云台进行参数标定操作的结果,在控制云台进行参数标定操作之后,本实施例中的方法还可以包括:FIG. 8 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention; on the basis of the above-mentioned embodiment, with continued reference to FIG. 8 , when performing parameter calibration on the pan-tilt, two methods may be included. The results of the calibration operation, that is, the success of the calibration operation and the failure of the calibration operation, in order to allow the user to know the results of the parameter calibration operation on the PTZ in time, after controlling the PTZ to perform the parameter calibration operation, the method in this embodiment may also include:
步骤S801:识别对云台进行参数标定操作是否成功。Step S801: Identify whether the parameter calibration operation on the pan/tilt head is successful.
步骤S802:基于识别结果生成提示信息。Step S802: Generate prompt information based on the recognition result.
其中,在控制云台进行参数标定操作之后,可以识别对云台进行参数标定操作是否成功,具体的,识别对云台进行参数标定操作是否成功可以包括:获取与云台相对应的标定后参数;确定与标定后参数相对应的参数标准范围;在标定后参数位于参数标准范围内时,则确定对云台进行参数标定操作成功;在标定后参数位于参数标准范围之外时,则确定对云台进行参数标定操作未成功。After controlling the gimbal to perform the parameter calibration operation, it can be identified whether the parameter calibration operation on the gimbal is successful. Specifically, identifying whether the parameter calibration operation on the gimbal is successful may include: obtaining the calibrated parameters corresponding to the gimbal. ; Determine the parameter standard range corresponding to the calibrated parameters; when the calibrated parameters are within the parameter standard range, it is determined that the parameter calibration operation of the gimbal is successful; when the calibrated parameters are outside the parameter standard range, it is determined to The parameter calibration operation of the gimbal was unsuccessful.
在控制云台进行参数标定操作之后,可以获取与云台相对应的标定后参数,而后确定与标定后参数相对应的参数标准范围,可以理解的是,同一类型云台的标定后参数所对应的参数标准范围可以相同或者不同,对于不同类型云台的标定后参数所对应的参数标准范围可以相同或者不同。After controlling the gimbal to perform parameter calibration, the calibrated parameters corresponding to the gimbal can be obtained, and then the standard range of parameters corresponding to the calibrated parameters can be determined. It can be understood that the calibrated parameters of the same type of gimbal correspond to The parameter standard ranges of , can be the same or different, and the parameter standard ranges corresponding to the calibrated parameters of different types of PTZs can be the same or different.
可以理解的是,与标定后参数相对应的参数标准范围可以存储在预设区域内,通过访问预设区域即可获取到与标定后参数相对应的参数标准范围。在获取到参数标准范围之后,可以基于参数标准范围识别对云台进行参数标定操作是否成功,具体的,可以将参数标准范围与标定后参数进行分析比较,在标定后参数位于参数标准范围内时,则可以确定对云台进行参数标定操作成功;在标定后参数超出参数标准范围时,则可以确定对云台进行参数标定 操作未成功。It can be understood that the parameter standard range corresponding to the calibrated parameter can be stored in the preset area, and the parameter standard range corresponding to the calibrated parameter can be obtained by accessing the preset area. After the parameter standard range is obtained, whether the parameter calibration operation of the gimbal is successful can be identified based on the parameter standard range. Specifically, the parameter standard range can be analyzed and compared with the calibrated parameters. When the calibrated parameters are within the parameter standard range , it can be determined that the parameter calibration operation of the gimbal is successful; when the parameters after calibration exceed the parameter standard range, it can be determined that the parameter calibration operation of the gimbal is unsuccessful.
在识别出对云台进行参数标定操作是否成功之后,可以获取到识别结果,为了能够使得用户可以及时获知到对云台进行参数标定操作是否成功的识别结果,可以基于识别结果来生成提示信息,基于识别结果生成提示信息可以包括:基于对云台进行参数标定操作成功的识别结果,生成第一提示信息;或者,基于对云台进行参数标定操作未成功的识别结果,生成第二提示信息。After identifying whether the parameter calibration operation on the gimbal is successful, the identification result can be obtained. In order to enable the user to know the identification result of whether the parameter calibration operation on the gimbal is successful in time, prompt information can be generated based on the identification result. Generating prompt information based on the recognition result may include: generating first prompt information based on the recognition result of successful parameter calibration on the pan/tilt; or generating second prompt information based on the recognition result of unsuccessful parameter calibration on the pan/tilt.
具体的,在对云台进行参数标定操作进行识别的识别结果为参数标定操作成功时,则可以生成第一提示信息,该第一提示信息可以包括:语音提示信息、显示灯提示信息、界面提示信息等等,上述的第一提示信息用于向用户提示对云台进行的参数标定操作成功。在对云台进行参数标定操作进行识别的识别结果为参数标定操作失败时,则可以生成第二提示信息,该第二提示信息可以包括:语音提示信息、显示灯提示信息、界面提示信息、振动提示信息等等,上述的第二提示信息用于向用户提示对云台进行的参数标定操作失败。在获取到第一提示信息和/或第二提示信息之后,则可以通过显示设备对第一提示信息和/或第二提示信息进行显示,上述的显示设备可以包括手机端、眼镜端、或者是设置于可移动平台上的指示灯等等。Specifically, when the recognition result of the parameter calibration operation on the PTZ is that the parameter calibration operation is successful, first prompt information may be generated, and the first prompt information may include: voice prompt information, display light prompt information, interface prompt information, etc., the above-mentioned first prompt information is used to prompt the user that the parameter calibration operation on the PTZ is successful. When the recognition result of the parameter calibration operation on the PTZ is that the parameter calibration operation fails, second prompt information can be generated, and the second prompt information can include: voice prompt information, display light prompt information, interface prompt information, vibration Prompt information, etc. The above-mentioned second prompt information is used to prompt the user that the parameter calibration operation on the PTZ fails. After acquiring the first prompt information and/or the second prompt information, the first prompt information and/or the second prompt information may be displayed through a display device, and the above-mentioned display device may include a mobile phone terminal, a glasses terminal, or a Indicator lights installed on the movable platform, etc.
本实施例中,通过识别对云台进行参数标定操作是否成功,基于识别结果生成提示信息,而后可以通过显示设备来显示提示信息,从而使得用户通过显示设备可以及时获知到对云台进行参数标定操作是否成功,进一步保证了与用户进行交互的友好性,提高了该方法的实用性。In this embodiment, by identifying whether the parameter calibration operation on the PTZ is successful, prompt information is generated based on the recognition result, and then the prompt information can be displayed on the display device, so that the user can know the parameter calibration on the PTZ in time through the display device. Whether the operation is successful further ensures the friendliness of interaction with the user and improves the practicability of the method.
在一些实例中,在确定对云台进行参数标定操作成功之后,本实施例中的方法还可以包括:In some instances, after it is determined that the parameter calibration operation on the pan-tilt head is successful, the method in this embodiment may further include:
步骤S803:基于标定后参数,对可移动平台内存储的与原始云台身份信息相对应的原始云台参数进行更新操作。Step S803: Based on the calibrated parameters, perform an update operation on the original PTZ parameters stored in the movable platform and corresponding to the original PTZ identity information.
步骤S804:基于身份标识信息,对可移动平台内存储的原始云台身份信息进行更新操作。Step S804: Based on the identity information, perform an update operation on the original PTZ identity information stored in the movable platform.
其中,可移动平台内存储有与原始云台身份信息相对应的原始云台参数,在对可移动平台上的云台进行更换操作,且确定对云台进行参数标定操作成功之后,为了能够保证每次对云台进行控制的质量和效率,在获取到与云台相对应的标定后参数之后,可以基于标定后参数对可移动平台内存储的与原始云台身份信息相对应的原始云台参数进行更新操作,以便之后对云台进行 上电操作时,可以直接获取到存储在可移动平台内的更新后云台参数。Among them, the movable platform stores the original PTZ parameters corresponding to the original PTZ identity information. The quality and efficiency of the control of the gimbal each time, after the calibration parameters corresponding to the gimbal are obtained, the original gimbal corresponding to the original gimbal identity information stored in the movable platform can be stored based on the calibrated parameters. The parameters are updated, so that when the gimbal is powered on later, the updated gimbal parameters stored in the movable platform can be directly obtained.
另外,可移动平台内存储有与原始云台身份信息相对应的原始云台身份信息,在对可移动平台上的云台进行更换操作,且确定对云台进行参数标定操作成功之后,为了能够保证每次对云台进行控制的质量和效率,在获取到与云台相对应的身份标识信息之后,可以基于身份标识信息对可移动平台内存储的与原始云台身份信息进行更新操作,以便之后对云台进行上电操作时,可以直接获取到存储在可移动平台内的更新后的身份标识信息。In addition, the original PTZ identity information corresponding to the original PTZ identity information is stored in the movable platform. After the PTZ on the movable platform is replaced and it is determined that the parameter calibration operation of the PTZ is successful, in order to be able to To ensure the quality and efficiency of the control of the PTZ each time, after obtaining the identity information corresponding to the PTZ, you can update the original PTZ identity information stored in the removable platform based on the identity information, so as to After the PTZ is powered on, the updated identity information stored in the movable platform can be directly obtained.
需要注意的是,本实施例中上述步骤S803与步骤S804之间的执行顺序并不限于上述实施例中的执行顺序,例如,步骤S803可以在步骤S804之后执行,或者,步骤S803与步骤S804同时执行,本领域技术人员可以根据具体的应用场景和设计需求对上述步骤S803与步骤S804的执行顺序进行调整,在此不再赘述。It should be noted that, in this embodiment, the execution sequence between the above steps S803 and S804 is not limited to the execution sequence in the above embodiment. For example, the step S803 may be executed after the step S804, or the step S803 and the step S804 may be executed simultaneously. For execution, those skilled in the art can adjust the execution order of the above steps S803 and S804 according to specific application scenarios and design requirements, and details are not repeated here.
可以理解的是,在基于预设标定参数对云台进行参数标定操作时,可以利用预设标定参数直接对可移动平台内存储的与原始云台身份信息相对应的原始云台参数进行更新操作,并可以利用身份标识信息对可移动平台内存储的原始云台身份信息进行更新操作。也即,标定后参数可以包括预设标定参数。It can be understood that when the parameter calibration operation is performed on the gimbal based on the preset calibration parameters, the preset calibration parameters can be used to directly update the original gimbal parameters stored in the movable platform and corresponding to the original gimbal identity information. , and can use the identity information to update the original PTZ identity information stored in the removable platform. That is, the calibrated parameters may include preset calibration parameters.
本实施例中,基于标定后参数对可移动平台内存储的与原始云台身份信息相对应的原始云台参数进行更新操作,并基于身份标识信息对可移动平台内存储的原始云台身份信息进行更新操作,有效地实现了可以在对云台进行上电操作时,可以直接通过可移动平台获取到进行更新操作之后的云台参数和更新后云台的身份标识信息,以实现在对云台进行上电操作之后,可以直接基于云台参数和身份标识信息对云台进行控制,进一步提高了对云台进行控制的质量和效率。In this embodiment, the original PTZ parameters stored in the movable platform corresponding to the original PTZ identity information are updated based on the calibrated parameters, and the original PTZ identity information stored in the movable platform is updated based on the identity information. The update operation effectively realizes that when the PTZ is powered on, the PTZ parameters after the update operation and the identity information of the updated PTZ can be obtained directly through the movable platform, so as to realize the operation of the cloud platform. After the PTZ is powered on, the PTZ can be controlled directly based on the PTZ parameters and identification information, which further improves the quality and efficiency of the PTZ control.
在一些实例中,在确定对云台进行参数标定操作未成功之后,本实施例中的方法还可以包括:禁止通过遥控设备对云台和/或可移动平台进行控制。In some instances, after it is determined that the parameter calibration operation on the PTZ is unsuccessful, the method in this embodiment may further include: prohibiting the PTZ and/or the movable platform from being controlled by the remote control device.
在确定对云台进行参数标定操作失败之后,则说明此时无法通过可移动平台对云台进行精确的控制,此时,为了保证可移动平台和云台运行的安全可靠性,可以禁止通过遥控设备对云台和/或可移动平台进行控制。After it is determined that the parameter calibration operation of the gimbal fails, it means that the gimbal cannot be accurately controlled through the movable platform at this time. The device controls the pan/tilt and/or movable platform.
具体的,一种实现的方式为,在云台设置于可移动平台上,可移动平台通信连接有遥控设备,正常情况下,该遥控设备可以通过可移动平台对云台 进行控制。在确定对云台进行参数标定操作失败之后,说明此时的遥控设备无法通过可移动平台对云台进行精确的控制,此时,为了保证云台运行的安全可靠性,可以禁止通过遥控设备对云台进行控制。Specifically, an implementation method is that the PTZ is set on the movable platform, and the movable platform is communicatively connected with a remote control device. Under normal circumstances, the remote control device can control the PTZ through the movable platform. After it is determined that the parameter calibration operation of the PTZ fails, it means that the remote control device at this time cannot accurately control the PTZ through the movable platform. PTZ control.
又一种实现的方式为,在云台设置于可移动平台上时,可移动平台可以通信连接有遥控设备,正常情况下,该遥控设备可以对可移动平台进行控制。然而,在确定对云台进行参数标定操作失败之后,说明此时的遥控设备无法对可移动平台进行精确的控制。In another implementation manner, when the PTZ is set on the movable platform, the movable platform can be communicatively connected with a remote control device, and under normal circumstances, the remote control device can control the movable platform. However, after it is determined that the parameter calibration operation on the PTZ fails, it means that the remote control device at this time cannot precisely control the movable platform.
另外,云台作为可移动平台上的主要部件,在位于可移动平台上的云台无法正常工作时,即也无法通过云台对设置于云台上的负载进行控制,并且也无法获取相对应的负载状态信息。此时,为了保证可移动平台运行的安全可靠性,可以禁止通过遥控设备对可移动平台进行控制。举例来说:在航拍机中,如果不能实时图传,那么无人机将会失去其航拍的意义,且用户无法主动进行避障操作,从而使得无人机存在炸机的风险,所以对云台无法正常控制时,也禁止通过遥控设备对无人机进行控制,有利于保障无人机的安全使用以及用户体验。In addition, the gimbal is the main component on the movable platform. When the gimbal located on the movable platform fails to work normally, the load set on the gimbal cannot be controlled through the gimbal, and the corresponding load cannot be obtained. load status information. At this time, in order to ensure the safe and reliable operation of the movable platform, it may be prohibited to control the movable platform through the remote control device. For example: in an aerial camera, if real-time image transmission is not possible, the drone will lose its meaning of aerial photography, and the user cannot take the initiative to avoid obstacles, which makes the drone at risk of bombing. When the station cannot be controlled normally, it is also forbidden to control the drone through remote control equipment, which is conducive to ensuring the safe use of the drone and the user experience.
再一种实现的方式为,在云台设置于可移动平台上,可移动平台通信连接有遥控设备,正常情况下,该遥控设备可以对可移动平台以及设置于可移动平台上的云台进行控制。在确定对云台进行参数标定操作失败之后,说明此时的遥控设备无法对可移动平台、以及位于可移动平台上的云台进行精确的控制,此时,为了保证可移动平台和云台运行的安全可靠性,可以禁止通过遥控设备对可移动平台和云台进行控制。Another way of realizing it is that the PTZ is set on the movable platform, and the movable platform is communicatively connected with a remote control device. control. After it is determined that the parameter calibration operation of the PTZ fails, it means that the remote control device at this time cannot accurately control the movable platform and the PTZ located on the movable platform. At this time, in order to ensure the operation of the movable platform and the PTZ The safety and reliability of the mobile platform and the PTZ can be prohibited from being controlled by the remote control device.
图9为本发明实施例提供的另一种云台控制方法的流程示意图;在上述实施例的基础上,参考附图9所示,在确定对云台进行参数标定操作未成功之后,可以再次尝试对云台进行参数标定操作,具体的,本实施例中的方法还可以包括:FIG. 9 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention; on the basis of the above embodiment, referring to FIG. 9 , after it is determined that the parameter calibration operation on the pan-tilt is unsuccessful, you can Attempt to perform parameter calibration operation on the PTZ. Specifically, the method in this embodiment may further include:
步骤S901:生成与云台相对应的至少一个重新标定指令。Step S901: Generate at least one recalibration instruction corresponding to the PTZ.
步骤S902:基于至少一个重新标定指令,控制云台重新进行参数标定操作。Step S902: Based on the at least one re-calibration instruction, control the PTZ to perform a parameter calibration operation again.
其中,在确定对云台进行参数标定操作未成功之后,可以生成与云台相对应的至少一个重新标定指令;可以理解的是,至少一个重新标定指令的个数可以为一个或多个,具体的,本领域技术人员可以根据具体的应用需求和 设计需求来对重新标定指令的个数进行设置。Wherein, after it is determined that the parameter calibration operation on the PTZ is unsuccessful, at least one re-calibration command corresponding to the PTZ can be generated; it can be understood that the number of the at least one re-calibration command can be one or more. Yes, those skilled in the art can set the number of recalibration instructions according to specific application requirements and design requirements.
在获取到至少一个重新标定指令之后,可以基于至少一个重新标定指令来控制云台重新进行参数标定操作,需要注意的是,一个重新标定指令可以控制云台重新进行一次参数标定操作,多个重新标定指令可以控制云台重新进行多次参数标定操作。After obtaining at least one re-calibration command, the gimbal can be controlled to re-calibrate the parameters based on the at least one re-calibration command. It should be noted that one re-calibration command can control the gimbal to re-calibrate the parameters once. The calibration command can control the PTZ to re-calibrate parameters for many times.
在一些实例中,参考附图10所示,本实施例中的基于至少一个重新标定指令,控制云台重新进行参数标定操作可以包括:In some instances, referring to FIG. 10 , in this embodiment, based on at least one re-calibration instruction, controlling the pan/tilt to perform the parameter calibration operation again may include:
步骤S9021:在参数标定操作过程中,获取云台上进行参数标定操作未成功的操作节点,操作节点包括以下至少之一:位于云台上的电机、位于云台上的惯性测量单元IMU。Step S9021: During the parameter calibration operation, obtain an operation node that fails to perform parameter calibration on the gimbal. The operation node includes at least one of the following: a motor located on the gimbal and an inertial measurement unit IMU located on the gimbal.
步骤S9022:基于至少一个重新标定指令,控制操作节点重新进行参数标定操作。Step S9022: Based on the at least one re-calibration instruction, the control operation node performs the parameter calibration operation again.
具体的,在控制云台进行参数标定操作时,可以包括对位于云台上的电机进行参数标定操作和对位于云台上的IMU进行参数标定操作,而对云台进行参数标定操作失败时,可以是由于对位于云台上的电机进行参数标定操作失败、和/或对位于云台上的IMU进行参数标定操作失败而导致的。在控制云台重新进行参数标定操作时,为了能够提高重新进行参数标定操作的效率,可以在参数标定操作过程中,获取云台上进行参数标定操作未成功的操作节点,上述操作节点可以包括以下至少之一:位于云台上的电机、位于云台上的惯性测量单元IMU。在获取到至少一个重新标定指令之后,可以基于至少一个重新标定指令控制操作节点重新进行参数标定操作。Specifically, when controlling the gimbal to perform parameter calibration, it may include parameter calibration of the motor located on the gimbal and parameter calibration of the IMU located on the gimbal, and when the parameter calibration of the gimbal fails, It may be caused by the failure to perform parameter calibration on the motor located on the PTZ, and/or the failure to perform parameter calibration on the IMU on the PTZ. When controlling the gimbal to re-calibrate parameters, in order to improve the efficiency of re-calibrating parameters, the operation nodes on the gimbal that fail to perform parameter calibration can be acquired during the parameter calibration operation. The above-mentioned operation nodes may include the following At least one of: a motor on the gimbal, an inertial measurement unit IMU on the gimbal. After the at least one recalibration instruction is acquired, the operation node may be controlled to perform the parameter calibration operation again based on the at least one recalibration instruction.
举例1,在对云台进行参数标定操作时,可以对位于云台上的电机和对位于云台上的IMU进行参数标定操作,在对位于云台上的电机进行参数标定成功、而对位于云台上的IMU进行参数标定失败时,则在生成至少一个重新标定指令之后,可以基于至少一个重新标定指令,控制位于云台上的IMU重新进行参数标定操作,而无需对位于云台上的电机重新进行参数标定操作,这样可以有效地提高了重新进行参数标定操作的质量和效率。For example 1, when performing parameter calibration on the gimbal, you can perform parameter calibration on the motor on the gimbal and on the IMU on the gimbal. When the parameter calibration of the IMU on the gimbal fails, after generating at least one re-calibration command, the IMU on the gimbal can be controlled to re-calibrate the parameters based on the at least one re-calibration command, without the need to re-calibrate the parameters of the IMU on the gimbal. The motor performs the parameter calibration operation again, which can effectively improve the quality and efficiency of the parameter calibration operation again.
举例2,在对云台进行参数标定操作时,可以对位于云台上的电机和对位于云台上的IMU进行参数标定操作,在对位于云台上的电机进行参数标定失败、和对位于云台上的IMU进行参数标定失败时,则在生成至少一个重新标定指令之后,可以基于至少一个重新标定指令,控制对位于云台上的电机和位于云 台上的IMU重新进行参数标定操作,从而有效地实现了对云台重新进行参数标定操作,进一步提高了对云台进行参数标定操作的稳定可靠性。For example 2, when performing parameter calibration on the gimbal, you can perform parameter calibration on the motor on the gimbal and on the IMU on the gimbal. When the IMU on the gimbal fails to perform parameter calibration, after at least one re-calibration command is generated, the motor on the gimbal and the IMU on the gimbal can be controlled to re-calibrate the parameters based on the at least one re-calibration command. Therefore, the parameter calibration operation for the PTZ is effectively realized again, and the stability and reliability of the parameter calibration operation on the PTZ is further improved.
举例3,在对云台进行参数标定操作时,可以对位于云台上的电机和对位于云台上的IMU进行参数标定操作,在对位于云台上的电机进行参数标定失败、而对位于云台上的IMU进行参数标定成功时,则在生成至少一个重新标定指令之后,可以基于至少一个重新标定指令,控制对位于云台上的电机重新进行参数标定操作,而无需对位于云台上的IMU进行参数标定操作,从而有效地实现了对云台重新进行参数标定操作,进一步提高了对云台进行参数标定操作的稳定可靠性。For example 3, when performing parameter calibration on the gimbal, you can perform parameter calibration on the motor located on the gimbal and the IMU on the gimbal. When the parameter calibration of the IMU on the gimbal is successful, after at least one re-calibration command is generated, the motor on the gimbal can be controlled to re-calibrate the parameters based on the at least one re-calibration command, without the need to re-calibrate the parameters on the gimbal. The IMU performs the parameter calibration operation, thereby effectively realizing the parameter calibration operation of the gimbal again, and further improving the stability and reliability of the parameter calibration operation on the gimbal.
本实施例中,通过在参数标定操作过程中,获取云台上进行参数标定操作未成功的操作节点,而后基于至少一个重新标定指令,控制操作节点重新进行参数标定操作,有效地实现了只针对未成功进行参数标定操作的操作节点重新进行参数标定操作,而针对已成功进行参数标定操作的操作节点无需再次进行参数标定操作,这样极大地提高了重新进行参数标定操作的质量和效率,进一步提高了该方法使用的稳定可靠性。In this embodiment, in the process of parameter calibration operation, the operation node on the PTZ whose parameter calibration operation fails to be obtained is obtained, and then based on at least one re-calibration instruction, the operation node is controlled to perform the parameter calibration operation again, which effectively realizes that only for The operation node that has not successfully performed the parameter calibration operation does not need to perform the parameter calibration operation again, which greatly improves the quality and efficiency of the re-parameter calibration operation, and further improves the The stability and reliability of the method are obtained.
图11为本发明实施例提供的再一种云台控制方法的流程示意图;在上述任意一个实施例的基础上,参考附图11所示,在控制云台进行参数标定操作时,为了能够让用户及时获取到对云台进行参数标定操作的过程,本实施例中的方法还可以包括:11 is a schematic flowchart of still another pan-tilt control method provided by an embodiment of the present invention; on the basis of any of the above embodiments, referring to FIG. 11 , when controlling the pan-tilt to perform parameter calibration, in order to allow The user obtains the process of performing parameter calibration on the PTZ in time, and the method in this embodiment may further include:
步骤1101:生成用于标识云台正在进行参数标定操作的状态提示信息。Step 1101: Generate status prompt information for identifying that the PTZ is performing a parameter calibration operation.
步骤1102:输出状态提示信息。Step 1102: Output status prompt information.
在控制云台进行参数标定操作的过程中,可以生成用于标识云台正在进行参数标定操作的状态提示信息,该状态提示信息可以包括以下任意之一:语音提示信息、显示灯提示信息、界面提示信息等等。为了能够使得用户可以及时获知到对云台进行参数标定操作的状态,可以在获取用于标识云台正在进行参数标定操作的状态提示信息之后,输出状态提示信息,例如:可以通过显示设备对状态提示信息进行显示,上述的显示设备可以包括手机端、眼镜端、设置于可移动平台上的指示灯等等。具体的,在状态提示信息为界面提示信息时,可以通过手机端的显示界面或者眼镜端的显示界面来显示相对应的状态提示信息;可以通过设置于手机端和眼镜端的语音播报模块来对语音提示信息进行播报。In the process of controlling the gimbal to perform parameter calibration, a state prompt information for identifying the gimbal in the process of parameter calibration can be generated, and the state prompt information can include any one of the following: voice prompt information, display light prompt information, interface information, etc. In order to enable the user to know the status of the parameter calibration operation on the PTZ in time, after obtaining the status prompt information used to identify that the PTZ is performing the parameter calibration operation, the status prompt information can be output. The prompt information is displayed, and the above-mentioned display device may include a mobile phone terminal, a glasses terminal, an indicator light provided on the movable platform, and the like. Specifically, when the status prompt information is interface prompt information, the corresponding status prompt information can be displayed through the display interface of the mobile phone terminal or the display interface of the glasses terminal; the voice prompt information can be displayed through the voice broadcast module set on the mobile phone terminal and the glasses terminal. broadcast.
在一些实例中,在状态提示信息为显示灯提示信息时,还可以通过设置于可移动平台上的指示灯来显示状态提示信息。In some instances, when the status prompt information is the display light prompt information, the status prompt information can also be displayed through an indicator light provided on the movable platform.
本实施例中,在控制云台进行参数标定操作时,通过生成用于标识云台正在进行参数标定操作的状态提示信息,并输出状态提示信息,从而使得用户通过状态提示信息可以及时获知到对云台进行参数标定操作的状态,保证了与用户进行交互的友好性,进一步提高了该方法的实用性。In this embodiment, when the PTZ is controlled to perform the parameter calibration operation, the status prompt information for identifying that the PTZ is performing the parameter calibration operation is generated, and the status prompt information is output, so that the user can know the correctness of the parameters in time through the status prompt information. The state of the PTZ performing parameter calibration operation ensures the friendliness of interaction with users and further improves the practicability of the method.
图12为本发明实施例提供的又一种云台控制方法的流程示意图;在上述实施例的基础上,继续参考附图12所示,在输出状态提示信息之前,为了能够保证对状态提示信息进行显示的稳定可靠性,本实施例中的方法还可以包括:FIG. 12 is a schematic flowchart of another pan-tilt control method provided by an embodiment of the present invention; on the basis of the above embodiment, referring to FIG. 12, before outputting the status prompt information, in order to ensure that the status prompt information For the stability and reliability of the display, the method in this embodiment may further include:
步骤S1201:检测遥控设备与显示设备之间的通信连接状态。Step S1201: Detect the communication connection state between the remote control device and the display device.
步骤S1202:在遥控设备与显示设备通信连接时,则允许通过显示设备显示状态提示信息。Step S1202: When the remote control device is in communication connection with the display device, it is allowed to display the status prompt information through the display device.
步骤S1203:在遥控设备与显示设备未连接时,则通过设置于可移动平台上的指示灯显示状态提示信息。Step S1203: when the remote control device and the display device are not connected, display the status prompt information through the indicator light set on the movable platform.
由于不同类型的状态提示信息可以通过不同类型的显示设备来进行显示,例如:在状态提示信息为界面提示信息时,可以通过手机端的显示界面或者眼镜端的显示界面来显示相对应的状态提示信息;在状态提示信息为语音提示信息时,可以通过设置于手机端和眼镜端的语音播报模块来对语音提示信息进行播报。具体的,在状态提示信息通过手机端的显示界面进行显示时,可移动平台的应用场景可以包括影视航拍场景、电力巡检场景等,例如:航拍机、巡检机等等。在状态提示信息通过眼镜端的显示界面来显示时,可移动平台的应用场景可以包括虚拟现实场景,例如:穿越机等。Because different types of status prompt information can be displayed through different types of display devices, for example: when the status prompt information is interface prompt information, the corresponding status prompt information can be displayed through the display interface of the mobile phone or the display interface of the glasses; When the status prompt information is voice prompt information, the voice prompt information can be broadcast through the voice broadcast module set on the mobile phone terminal and the glasses terminal. Specifically, when the status prompt information is displayed through the display interface of the mobile phone, the application scenarios of the mobile platform may include video aerial photography scenes, power inspection scenes, etc., such as aerial photography machines, inspection machines, and so on. When the status prompt information is displayed through the display interface of the glasses side, the application scene of the movable platform may include a virtual reality scene, such as a traversing machine and the like.
在获取到状态提示信息之后,为了能够保证对状态提示信息进行显示的稳定可靠性,可以检测遥控设备与显示设备之间的通信连接状态,具体的,可以控制遥控设备向显示设备发送数据包,而后检测在预设时间段内是否获取到显示设备基于数据包所返回的反馈数据,当遥控设备在预设时间段内接收到显示设备基于数据包所返回的反馈数据时,则可以确定遥控设备与显示设备通信连接;当遥控设备在预设时间段内未接收到显示设备基于数据包所返回的反馈数据时,则可以确定遥控设备与显示设备未通信连接。After obtaining the status prompt information, in order to ensure the stability and reliability of displaying the status prompt information, the communication connection state between the remote control device and the display device can be detected. Specifically, the remote control device can be controlled to send data packets to the display device. Then, it is detected whether the feedback data returned by the display device based on the data packet is obtained within the preset time period. When the remote control device receives the feedback data returned by the display device based on the data packet within the preset time period, the remote control device can be determined. communicate with the display device; when the remote control device does not receive the feedback data returned by the display device based on the data packet within the preset time period, it can be determined that the remote control device and the display device are not in communication connection.
在遥控设备与显示设备通信连接时,则说明此时的状态提示信息可以通 过显示设备进行显示,进而可以允许通过显示设备显示状态提示信息。当然的,为了能够保证用户可以及时获知到状态提示信息的稳定可靠性,除了可以通过显示设备对状态提示信息进行显示之外,还可以通过设置于可移动平台上的指示灯显示状态提示信息,例如:在对云台进行参数标定操作成功时,则可以控制可移动平台上的指示灯显示绿色;在对云台进行参数标定操作失败时,则可以控制可移动平台上的指示灯显示红色;在对云台进行参数标定操作的过程中时,则可以控制可移动平台上的指示灯显示黄色。或者,在对云台进行参数标定操作成功时,则可以控制可移动平台上的指示灯长亮;在对云台进行参数标定操作的过程中或者进行参数标定失败时,则可以控制可移动平台上的指示灯闪亮。这样使得用户可以直接通过移动平台上的显示设备和指示灯显示状态提示信息来获知到云台进行参数标定操作的过程状态,进一步提高了该方法的实用性。When the remote control device is communicatively connected with the display device, it means that the state prompt information at this time can be displayed on the display device, and then the state prompt information can be displayed through the display device. Of course, in order to ensure that the user can know the stability and reliability of the status prompt information in time, in addition to displaying the status prompt information through the display device, the status prompt information can also be displayed through the indicator lights set on the movable platform. For example: when the parameter calibration operation of the gimbal is successful, the indicator light on the movable platform can be controlled to display green; when the parameter calibration operation of the gimbal fails, the indicator light on the movable platform can be controlled to display red; During the parameter calibration operation of the gimbal, the indicator light on the movable platform can be controlled to display yellow. Alternatively, when the parameter calibration operation of the gimbal is successful, the indicator light on the movable platform can be controlled to keep on; during the parameter calibration operation of the gimbal or when the parameter calibration fails, the movable platform can be controlled. The light on it flashes. In this way, the user can directly know the process state of the parameter calibration operation of the PTZ through the display device and the indicator light on the mobile platform to display the state prompt information, which further improves the practicability of the method.
在遥控设备与显示设备未通信连接时,则说明此时的状态提示信息无法通过显示设备进行显示,为了能够保证用户可以及时获知到状态提示信息的稳定可靠性,则可以通过设置于可移动平台上的指示灯显示状态提示信息,这样使得用户可以直接通过移动平台上的指示灯来获知到云台进行参数标定操作的过程状态,进一步提高了该方法的实用性。When the remote control device and the display device are not connected in communication, it means that the status prompt information at this time cannot be displayed on the display device. The indicator light on the mobile platform displays the status prompt information, so that the user can directly know the process state of the parameter calibration operation of the PTZ through the indicator light on the mobile platform, which further improves the practicability of the method.
具体应用时,参考附图13所示,本应用实施例提供了一种云台控制方法,其中,云台可拆卸地设置于无人机的机身上。该云台控制方法可以解决现有技术中存在的如果用户更换了云台,需要自行手动触发整个云台的参数标定操作,而云台本身并不能自动检测到被更换、触发参数标定操作。具体的,云台上设置有相机模组,相机模组对应有相机模组序列号SN,该相机模组SN即为云台的身份标识信息。具体的,该云台控制方法可以包括如下步骤:In a specific application, referring to FIG. 13 , this application embodiment provides a pan-tilt control method, wherein the pan-tilt is detachably arranged on the fuselage of the drone. The gimbal control method can solve the problem in the prior art that if the user replaces the gimbal, he needs to manually trigger the parameter calibration operation of the entire gimbal, and the gimbal itself cannot automatically detect the replacement and trigger the parameter calibration operation. Specifically, a camera module is provided on the gimbal, the camera module corresponds to a camera module serial number SN, and the camera module SN is the identification information of the gimbal. Specifically, the PTZ control method may include the following steps:
步骤1:在对云台进行上电时,则生成用于获取当前云台的身份标识信息的参数获取请求。Step 1: When the PTZ is powered on, a parameter acquisition request for acquiring the identity information of the current PTZ is generated.
具体的,在对云台进行上电操作时,云台或者控制终端可以基于对云台进行上电操作的上电信号生成参数获取请求,其中,控制终端用于对云台和/或可移动平台进行控制,上述的参数获取请求用于获取当前云台的身份标识信息。Specifically, when the PTZ is powered on, the PTZ or the control terminal may generate a parameter acquisition request based on the power-on signal of the PTZ power-on operation, wherein the control terminal is used to power on the PTZ and/or the movable The platform controls, and the above parameter acquisition request is used to acquire the identity information of the current PTZ.
步骤2:基于参数获取请求当前云台上相机模组的第一序列号SN。Step 2: Obtain and request the first serial number SN of the camera module on the current gimbal based on the parameters.
其中,当前云台是指进行更换操作之后设置于无人机机身上的云台。当 前云台上相机模组的第一序列号SN存储第一序列号SN的云台芯片,通过访问云台芯片即可获取到第一序列号SN。Among them, the current gimbal refers to the gimbal set on the drone body after the replacement operation. The first serial number SN of the camera module on the current gimbal stores the gimbal chip of the first serial number SN, and the first serial number SN can be obtained by accessing the gimbal chip.
步骤3:获取原始云台上相机模组的第二序列号SN。Step 3: Obtain the second serial number SN of the camera module on the original gimbal.
其中,原始云台可以是指在进行更换操作之前设置于无人机机身上的云台,原始云台上相机模组的第二序列号SN可以存储在无人机的控制芯片中或者相机模组中,通过访问无人机的控制芯片或者相机模组可以获取原始云台上相机模组的第二序列号SN。The original gimbal may refer to the gimbal set on the drone body before the replacement operation, and the second serial number SN of the camera module on the original gimbal may be stored in the control chip of the drone or in the camera. In the module, the second serial number SN of the camera module on the original gimbal can be obtained by accessing the control chip of the drone or the camera module.
步骤4:比较第一序列号SN与第二序列号SN是否匹配。Step 4: Compare whether the first serial number SN matches the second serial number SN.
步骤5:在第一序列号SN与第二序列号SN相匹配,则无需对云台进行参数标定操作。Step 5: When the first serial number SN matches the second serial number SN, there is no need to perform parameter calibration on the PTZ.
具体的,在第一序列号SN与第二序列号SN相匹配时,则说明位于无人机上的云台未发生更换,因此,无需对云台进行参数标定操作。Specifically, when the first serial number SN matches the second serial number SN, it means that the gimbal located on the UAV has not been replaced, and therefore, it is unnecessary to perform a parameter calibration operation on the gimbal.
步骤6:在第一序列号SN与第二序列号SN不匹配时,则对云台进行参数标定操作。Step 6: When the first serial number SN does not match the second serial number SN, perform a parameter calibration operation on the PTZ.
其中,在第一序列号SN与第二序列号SN不匹配时,则说明位于无人机上的云台已发生更换,因此,为了能够对云台进行精准地控制,可以对云台进行参数标定操作,具体包括:先对位于云台上的电机进行参数标定操作、而后对位于云台上的IMU进行参数标定操作以及对用于进行参数标定操作的数据进行有效性检测。Among them, when the first serial number SN does not match the second serial number SN, it means that the gimbal located on the UAV has been replaced. Therefore, in order to accurately control the gimbal, the parameters of the gimbal can be calibrated. The operation specifically includes: firstly performing a parameter calibration operation on the motor located on the PTZ, then performing a parameter calibrating operation on the IMU located on the PTZ, and performing validity detection on the data used for the parameter calibration operation.
步骤7:在对云台进行参数标定操作的过程中,生成用于提示信息。Step 7: In the process of performing parameter calibration on the PTZ, generate prompt information.
其中,在对云台进行参数标定操作的过程中,为了能够让用户可以及时获知到参数标定操作的过程,可以生成提示信息,该提示信息可以为“云台标定进行中,请勿干预”。在生成提示信息之后,可以通过遥控设备的显示模块、可穿戴终端的显示模块来显示提示信息,以使得用户可以通过显示模块上显示的提示信息来获知到云台进行参数标定操作的进程,可穿戴终端可以包括可穿戴眼镜、可穿戴手表等等。Among them, in the process of parameter calibration of the gimbal, in order to allow the user to know the process of parameter calibration in time, a prompt message can be generated, and the prompt message can be "Gimbal calibration is in progress, please do not intervene". After the prompt information is generated, the prompt information can be displayed through the display module of the remote control device and the display module of the wearable terminal, so that the user can know the process of the parameter calibration operation of the PTZ through the prompt information displayed on the display module. The wearable terminal may include wearable glasses, wearable watches, and the like.
步骤8:在对云台进行参数标定操作之后,检测参数标定操作是否成功。Step 8: After performing the parameter calibration operation on the PTZ, check whether the parameter calibration operation is successful.
在对云台进行参数标定操作之后,获取与云台相对应的标定后参数,确定与标定后参数相对应的参数标定范围,在标定后参数位于参数标定范围内时,则确定对云台进行参数标定操作成功;在标定后参数位于参数标定范围外时,则确定对云台进行参数标定操作失败。After performing parameter calibration on the gimbal, obtain the calibrated parameters corresponding to the gimbal, and determine the parameter calibration range corresponding to the calibrated parameters. When the calibrated parameters are within the parameter calibration range, determine the gimbal The parameter calibration operation is successful; when the parameter is outside the parameter calibration range after calibration, it is determined that the parameter calibration operation of the gimbal fails.
步骤9:在确定云台参数标定操作成功之后,则保存当前云台上相机模组新的SN数据和对云台进行标定操作之后所获取到的云台参数。Step 9: After it is determined that the gimbal parameter calibration operation is successful, the new SN data of the camera module on the current gimbal and the gimbal parameters obtained after the gimbal calibration operation are saved.
步骤10:在确定云台参数标定操作失败之后,则生成重新标定指令,并基于重新标定指令对云台再次执行参数标定操作。Step 10: After it is determined that the pan-tilt parameter calibration operation fails, a re-calibration instruction is generated, and the parameter calibration operation is performed again on the pan-tilt based on the re-calibration instruction.
步骤11:在云台标定操作成功之后,则可以生成用于标识云台参数标定操作成功的第一提示信息;在云台标定操作失败之后,则可以生成用于标识云台参数标定操作失败的第二提示信息;并通过显示模块来显示第二提示信息。Step 11: After the PTZ calibration operation is successful, a first prompt message for identifying the successful PTZ parameter calibration operation can be generated; after the PTZ calibration operation fails, a message used to identify the PTZ parameter calibration failure can be generated. second prompt information; and display the second prompt information through the display module.
其中,第一提示信息用于在对云台进行参数校准完成后,即可告知用户对云台进行正常的使用,以保证无人机以及云台所对应的一切功能、精度不受影响。在一些实例中,第一提示信息中可以包括云台进行参数标定操作的进度信息,即通过进度条来体现与云台进行参数标定操作的进度信息。Among them, the first prompt information is used to inform the user to use the gimbal normally after the parameter calibration of the gimbal is completed, so as to ensure that all functions and accuracy corresponding to the drone and the gimbal are not affected. In some instances, the first prompt information may include progress information of the parameter calibration operation performed by the gimbal, that is, the progress information of the parameter calibration operation performed with the gimbal is represented by a progress bar.
本实施例提供的云台控制方法,对云台进行参数标定操作可以由云台来执行,而识别云台是否被更换的过程可以由云台或者控制终端来判断,在确定云台被更换之后,可以发送一个云台标定指令给云台,从而使得云台可以进行参数标定操作,从而有效地实现了可以不依赖外部模块、不依赖网络、服务器、数据传输加/解密、无信息安全风险,对于用户来说,可以随时更换完毕云台随时执行参数标定操作,完成参数标定操作之后,即可通过控制终端对云台和可移动平台进行正常控制,这样不仅更加方便快速地满足用户手动更换云台的需求,并且可以自动检测云台是否被更换,在云台被更换之后,可以对云台自动进行参数标定操作,从而提高了与用户进行交互的友好性。In the PTZ control method provided in this embodiment, the PTZ can perform parameter calibration operation on the PTZ, and the process of identifying whether the PTZ is replaced can be judged by the PTZ or the control terminal. After it is determined that the PTZ has been replaced , you can send a PTZ calibration command to the PTZ, so that the PTZ can perform parameter calibration operation, thus effectively realizing that it can be independent of external modules, networks, servers, data transmission encryption/decryption, and no information security risks. For users, the gimbal can be replaced at any time and the parameter calibration operation can be performed at any time. After the parameter calibration operation is completed, the gimbal and movable platform can be controlled normally through the control terminal, which is not only more convenient and fast for users to manually replace the cloud It can automatically detect whether the gimbal is replaced. After the gimbal is replaced, the parameter calibration operation of the gimbal can be performed automatically, thereby improving the friendliness of interaction with users.
在另一些实例中,本实施例中的云台控制方法可以通过预先下载的数据来实现云台的参数标定操作,具体的,该云台控制方法可以包括如下步骤:In other instances, the pan-tilt control method in this embodiment may implement the parameter calibration operation of the pan-tilt by using pre-downloaded data. Specifically, the pan-tilt control method may include the following steps:
步骤11:在出厂之前,获取各个类型云台所对应的标准标定数据,并将各个类型云台的标准标定数据存储在服务器中。Step 11: Before leaving the factory, obtain the standard calibration data corresponding to each type of PTZ, and store the standard calibration data of each type of PTZ in the server.
步骤12:在对云台进行上电时,则生成用于获取当前云台的身份标识信息的参数获取请求。Step 12: When the PTZ is powered on, a parameter acquisition request for acquiring the identity information of the current PTZ is generated.
步骤13:基于参数获取请求当前云台上相机模组的第一序列号SN。Step 13: Obtain and request the first serial number SN of the camera module on the current gimbal based on the parameters.
步骤14:获取原始云台上相机模组的第二序列号SN。Step 14: Obtain the second serial number SN of the camera module on the original gimbal.
步骤15:比较第一序列号SN与第二序列号SN是否匹配。Step 15: Compare whether the first serial number SN matches the second serial number SN.
步骤16:在第一序列号SN与第二序列号SN相匹配,则无需对云台进行参 数标定操作。Step 16: When the first serial number SN matches the second serial number SN, there is no need to perform parameter calibration on the PTZ.
具体的,在第一序列号SN与第二序列号SN相匹配时,则说明位于无人机上的云台未发生更换,因此,无需对云台进行参数标定操作。Specifically, when the first serial number SN matches the second serial number SN, it means that the gimbal located on the UAV has not been replaced, and therefore, it is unnecessary to perform a parameter calibration operation on the gimbal.
步骤17:在第一序列号SN与第二序列号SN不匹配时,则需要对云台进行参数标定操作。Step 17: When the first serial number SN does not match the second serial number SN, a parameter calibration operation needs to be performed on the pan/tilt head.
步骤18:在确定需要对云台进行参数标定操作,基于模组序列号SN在服务器中获取与当前云台相对应的标准标定数据。Step 18: When it is determined that a parameter calibration operation of the pan/tilt is required, standard calibration data corresponding to the current pan/tilt is obtained from the server based on the module serial number SN.
具体的,在检测到云台被更换之后,可以将当前云台上相机模组所对应的第一序列号SN上传服务器,以使服务器可以基于第一序列号SN返回对应的云台的标准标定数据包给到无人机。Specifically, after detecting that the gimbal is replaced, the first serial number SN corresponding to the camera module on the current gimbal can be uploaded to the server, so that the server can return the standard calibration of the corresponding gimbal based on the first serial number SN data packets to the drone.
步骤19:基于与当前云台相对应的标准标定数据进行云台参数标定操作。Step 19: Perform a calibration operation of the parameters of the pan/tilt based on the standard calibration data corresponding to the current pan/tilt.
在无人机获取到标准标定数据包时,可以由飞机主控对标准标定数据包进行解压操作,在解压操作之后,可以直接将标准标定数据存储在云台上的存储器中,这样无需云台单独进行电机参数标定操作和IMU参数标定操作,即可实现对云台进行参数标定操作。When the UAV obtains the standard calibration data package, the main control of the aircraft can decompress the standard calibration data package. After the decompression operation, the standard calibration data can be directly stored in the memory on the gimbal, so that no gimbal is required. Performing the motor parameter calibration operation and the IMU parameter calibration operation separately can realize the parameter calibration operation of the gimbal.
在一些实例中,参考图14,在服务器将标准标定数据传输至无人机时,为了能够保证数据传输的安全可靠性,可以对标准标定数据进行压缩和加密处理,从而可以获取到加密数据包。这样在无人机获取到加密数据包之后,遥控设备或者无人机上的飞机主控可以对加密数据包进行解压、解密处理,从而可以获取到与当前云台相对应的标准标定数据。其中,标准标定参数也即上述的预设标定参数。In some instances, referring to FIG. 14 , when the server transmits the standard calibration data to the UAV, in order to ensure the safety and reliability of data transmission, the standard calibration data can be compressed and encrypted, so that encrypted data packets can be obtained. . In this way, after the UAV obtains the encrypted data packet, the remote control device or the aircraft master control on the UAV can decompress and decrypt the encrypted data packet, so as to obtain the standard calibration data corresponding to the current PTZ. The standard calibration parameters are also the above-mentioned preset calibration parameters.
本实施例中提供的云台控制方法,在检测到云台被更换之后,通过服务器自动触发参数标定操作,从而提高了对云台进行参数标定操作的质量和效率,同时也避免了云台被更换之后进入异常状态而无法正常使用,进一步保证了对云台和可移动平台进行使用的安全可靠性,同时也提升了用户体验,有效地提高了该方法使用的稳定可靠性。In the PTZ control method provided in this embodiment, after it is detected that the PTZ is replaced, the parameter calibration operation is automatically triggered by the server, thereby improving the quality and efficiency of the parameter calibration operation on the PTZ, and also preventing the PTZ from being damaged. After the replacement, it enters an abnormal state and cannot be used normally, which further ensures the safety and reliability of the use of the PTZ and the movable platform, and also improves the user experience and effectively improves the stability and reliability of the method.
图15为本发明实施例提供的一种云台控制装置的结构示意图;参考附图15所示,本实施例提供了一种云台控制装置,其中,云台可拆卸地设置于可移动平台上,并且,云台可以包括轴组件和云台电机,云台电机用于驱动轴组件进行转动;该云台控制装置可以用于执行上述图1所对应的云台控制方法。具体的,该云台控制装置可以包括:FIG. 15 is a schematic structural diagram of a pan-tilt control device provided by an embodiment of the present invention; with reference to FIG. 15 , the present embodiment provides a pan-tilt control device, wherein the pan-tilt is detachably arranged on a movable platform Furthermore, the pan/tilt may include a shaft assembly and a pan/tilt motor, and the pan/tilt motor is used to drive the shaft assembly to rotate; the pan/tilt control device may be used to execute the pan/tilt control method corresponding to FIG. 1 above. Specifically, the PTZ control device may include:
存储器12,用于存储计算机程序;a memory 12 for storing computer programs;
处理器11,用于运行存储器12中存储的计算机程序以实现:The processor 11 is used for running the computer program stored in the memory 12 to realize:
获取云台上电信号;Obtain the power-on signal of the gimbal;
根据云台上电信号,获取云台的身份标识信息;According to the power-on signal of the gimbal, obtain the identification information of the gimbal;
基于身份标识信息,判断通过可移动平台能否对云台进行控制;Based on the identification information, determine whether the PTZ can be controlled through the movable platform;
在通过可移动平台无法对云台进行控制时,则控制云台进行参数标定操作,以通过可移动平台能够对云台进行控制。When the PTZ cannot be controlled through the movable platform, the PTZ is controlled to perform parameter calibration operation, so that the PTZ can be controlled through the movable platform.
此外,图像编码装置的结构中还可以包括通信接口13,用于实现云台控制装置与其他设备或通信网络通信。In addition, the structure of the image coding apparatus may further include a communication interface 13 for implementing the communication between the PTZ control apparatus and other devices or a communication network.
在一些实例中,在处理器11根据云台上电信号,获取云台的身份标识信息时,处理器11用于:根据云台上电信号,获取位于云台上负载的负载标识信息;将负载标识信息,确定为云台的身份标识信息。In some instances, when the processor 11 obtains the identification information of the gimbal according to the power-on signal of the gimbal, the processor 11 is configured to: obtain the load identification information of the load located on the gimbal according to the power-on signal of the gimbal; The payload identification information is determined as the identification information of the PTZ.
在一些实例中,在处理器11基于身份标识信息,判断通过可移动平台能否对云台进行控制时,处理器11用于:获取存储在可移动平台内的原始云台身份信息;在身份标识信息与原始云台身份信息相匹配时,则确定通过可移动平台能够对云台进行控制;在身份标识信息与原始云台身份信息不匹配时,则确定通过可移动平台无法对云台进行控制。In some instances, when the processor 11 determines whether the PTZ can be controlled through the movable platform based on the identity information, the processor 11 is configured to: obtain the original PTZ identity information stored in the movable platform; When the identification information matches the original gimbal identity information, it is determined that the gimbal can be controlled through the movable platform; when the identification information does not match the original gimbal identity information, it is determined that the gimbal cannot be controlled through the movable platform. control.
在一些实例中,在处理器11控制云台进行参数标定操作时,处理器11用于:获取与可移动平台相对应的网络运行状态;在网络运行状态为非联网状态时,则基于测量标定参数控制云台进行参数标定操作;在网络运行状态为联网状态时,则基于预设标定参数控制云台进行参数标定操作。In some instances, when the processor 11 controls the PTZ to perform a parameter calibration operation, the processor 11 is configured to: obtain the network operating state corresponding to the movable platform; when the network operating state is a non-networked state, perform calibration based on measurement The parameter controls the PTZ to perform the parameter calibration operation; when the network running state is the networking state, the PTZ is controlled to perform the parameter calibration operation based on the preset calibration parameters.
在一些实例中,在处理器11控制云台进行参数标定操作时,处理器11用于:获取与云台相对应的当前运行状态;基于当前运行状态,控制云台进行参数标定操作。In some instances, when the processor 11 controls the pan-tilt to perform a parameter calibration operation, the processor 11 is configured to: obtain a current operating state corresponding to the pan-tilt; and control the pan-tilt to perform a parameter calibration operation based on the current operating state.
在一些实例中,在处理器11基于当前运行状态,控制云台进行参数标定操作时,处理器11用于:在当前运行状态为静置状态时,则基于测量标定参数控制所述云台进行参数标定操作;在当前运行状态为非静置状态时,则基于预设标定参数控制云台进行参数标定操作。In some instances, when the processor 11 controls the pan/tilt to perform a parameter calibration operation based on the current operating state, the processor 11 is configured to: control the pan/tilt based on the measurement and calibration parameters to perform a parameter calibration operation when the current operating state is a stationary state. Parameter calibration operation; when the current running state is a non-stationary state, control the PTZ to perform parameter calibration operation based on the preset calibration parameters.
在一些实例中,在基于预设标定参数控制云台进行参数标定操作之前,处理器11用于:基于身份标识信息,获取与云台相对应的预设标定参数。In some instances, before controlling the pan/tilt to perform a parameter calibration operation based on the preset calibration parameters, the processor 11 is configured to: obtain the preset calibration parameters corresponding to the pan/tilt based on the identification information.
在一些实例中,在处理器11基于身份标识信息,获取与云台相对应的预 设标定参数时,处理器11用于:基于身份标识信息生成与云台相对应的参数获取请求;向服务器发送参数获取请求,服务器中存储有与多个标准云台相对应的预设标定参数;接收服务器基于参数获取请求所发送的与云台相对应的云台标定参数。In some instances, when the processor 11 acquires preset calibration parameters corresponding to the PTZ based on the identity information, the processor 11 is configured to: generate a parameter acquisition request corresponding to the PTZ based on the identity information; A parameter acquisition request is sent, and the server stores preset calibration parameters corresponding to a plurality of standard PTZs; and the PTZ calibration parameters corresponding to the PTZs sent by the server based on the parameter acquisition request are received.
在一些实例中,在处理器11基于测量标定参数控制云台进行参数标定操作时,处理器11用于:获取与云台上的电机相对应的电机参数、以及与惯性测量单元IMU相对应的IMU参数;基于电机参数,控制云台上的电机进行参数标定操作;基于IMU参数,控制位于云台上的IMU进行参数标定操作。In some instances, when the processor 11 controls the gimbal to perform a parameter calibration operation based on the measurement and calibration parameters, the processor 11 is configured to: obtain motor parameters corresponding to the motors on the gimbal and motor parameters corresponding to the inertial measurement unit IMU IMU parameters; based on motor parameters, control the motor on the gimbal to perform parameter calibration operations; based on IMU parameters, control the IMU located on the gimbal to perform parameter calibration operations.
在一些实例中,在获取与云台上的电机相对应的电机参数之后,处理器11用于:获取与电机参数相对应的第一参数范围;基于第一参数范围识别电机参数是否有效;在确定电机参数有效时,则允许基于电机参数控制云台上的电机进行参数标定操作。In some instances, after acquiring the motor parameters corresponding to the motors on the gimbal, the processor 11 is configured to: acquire a first parameter range corresponding to the motor parameters; identify whether the motor parameters are valid based on the first parameter range; When it is determined that the motor parameters are valid, it is allowed to control the motor on the gimbal to perform parameter calibration based on the motor parameters.
在一些实例中,在获取与惯性测量单元IMU相对应的IMU参数之后,处理器11用于:获取与IMU参数相对应的第二参数范围;基于第二参数范围识别IMU参数是否有效;在确定IMU参数有效时,则允许基于IMU参数控制位于云台上的IMU进行参数标定操作。In some instances, after obtaining the IMU parameters corresponding to the inertial measurement unit IMU, the processor 11 is configured to: obtain a second parameter range corresponding to the IMU parameters; identify whether the IMU parameters are valid based on the second parameter range; When the IMU parameters are valid, it is allowed to control the IMU located on the gimbal to perform parameter calibration based on the IMU parameters.
在一些实例中,在控制云台进行参数标定操作之后,处理器11用于:识别对云台进行参数标定操作是否成功;基于识别结果生成提示信息。In some instances, after controlling the pan-tilt head to perform the parameter calibration operation, the processor 11 is configured to: identify whether the parameter calibration operation on the pan-tilt head is successful; and generate prompt information based on the recognition result.
在一些实例中,在处理器11识别对云台进行参数标定操作是否成功时,处理器11用于:获取与云台相对应的标定后参数;确定与标定后参数相对应的参数标准范围;在标定后参数位于参数标准范围内时,则确定对云台进行参数标定操作成功;在标定后参数位于参数标准范围之外时,则确定对云台进行参数标定操作未成功。In some instances, when the processor 11 identifies whether the parameter calibration operation on the PTZ is successful, the processor 11 is configured to: obtain the calibrated parameters corresponding to the PTZ; determine the parameter standard range corresponding to the calibrated parameters; When the parameters after calibration are within the parameter standard range, it is determined that the parameter calibration operation of the gimbal is successful; when the parameters after calibration are outside the parameter standard range, it is determined that the parameter calibration operation of the gimbal is unsuccessful.
在一些实例中,处理器11基于识别结果生成提示信息时,处理器11用于:基于对云台进行参数标定操作成功的识别结果,生成第一提示信息;或者,基于对云台进行参数标定操作未成功的识别结果,生成第二提示信息。In some instances, when the processor 11 generates prompt information based on the identification result, the processor 11 is configured to: generate the first prompt information based on the identification result of the successful parameter calibration operation on the gimbal; or, based on the parameter calibration on the gimbal If the operation is unsuccessful, a second prompt message is generated.
在一些实例中,在确定对云台进行参数标定操作成功之后,处理器11用于:基于标定后参数,对可移动平台内存储的与原始云台身份信息相对应的原始云台参数进行更新操作;基于身份标识信息,对可移动平台内存储的原始云台身份信息进行更新操作。In some instances, after it is determined that the parameter calibration operation on the PTZ is successful, the processor 11 is configured to: based on the calibrated parameters, update the original PTZ parameters corresponding to the original PTZ identity information stored in the movable platform Operation; based on the identity information, update the original PTZ identity information stored in the removable platform.
在一些实例中,在确定对云台进行参数标定操作未成功之后,处理器11 用于:生成与云台相对应的至少一个重新标定指令;基于至少一个重新标定指令,控制云台重新进行参数标定操作。In some instances, after it is determined that the parameter calibration operation on the pan/tilt is unsuccessful, the processor 11 is configured to: generate at least one re-calibration instruction corresponding to the pan/tilt; based on the at least one re-calibration instruction, control the pan/tilt to re-calibrate the parameters Calibration operation.
在一些实例中,在处理器11基于至少一个重新标定指令,控制云台重新进行参数标定操作时,处理器11用于:在参数标定操作过程中,获取云台上进行参数标定操作未成功的操作节点,操作节点包括以下至少之一:位于云台上的电机、位于云台上的惯性测量单元IMU;基于至少一个重新标定指令,控制操作节点重新进行参数标定操作。In some instances, when the processor 11 controls the pan-tilt head to perform the parameter calibration operation again based on at least one re-calibration instruction, the processor 11 is configured to: during the parameter calibration operation process, acquire the information about the unsuccessful parameter calibration operation on the pan-tilt head. An operation node, the operation node includes at least one of the following: a motor located on the PTZ, and an inertial measurement unit IMU located on the PTZ; based on at least one re-calibration instruction, the operation node is controlled to perform a parameter calibration operation again.
在一些实例中,在确定对云台进行参数标定操作未成功之后,处理器11用于:禁止通过遥控设备对云台和/或可移动平台进行控制。In some instances, after determining that the parameter calibration operation on the pan/tilt is unsuccessful, the processor 11 is configured to: prohibit the control of the pan/tilt and/or the movable platform by the remote control device.
在一些实例中,在处理器11控制云台进行参数标定操作时,处理器11用于:生成用于标识云台正在进行参数标定操作的状态提示信息;输出状态提示信息。In some instances, when the processor 11 controls the pan/tilt to perform a parameter calibration operation, the processor 11 is configured to: generate status prompt information for identifying that the pan/tilt is performing a parameter calibration operation; and output the status prompt information.
在一些实例中,在输出状态提示信息之前,处理器11用于:检测遥控设备与显示设备之间的通信连接状态;在遥控设备与显示设备通信连接时,则允许通过显示设备显示状态提示信息;在遥控设备与显示设备未连接时,则通过设置于所述可移动平台上的指示灯显示状态提示信息。In some instances, before outputting the state prompt information, the processor 11 is configured to: detect the communication connection state between the remote control device and the display device; when the remote control device and the display device are in communication connection, allow the display device to display the state prompt information ; When the remote control device and the display device are not connected, the state prompt information is displayed through the indicator light arranged on the movable platform.
图15所示装置可以执行图1-图14所示实施例的方法,本实施例未详细描述的部分,可参考对图1-图14所示实施例的相关说明。该技术方案的执行过程和技术效果参见图1-图14所示实施例中的描述,在此不再赘述。The apparatus shown in FIG. 15 may execute the method of the embodiment shown in FIG. 1 to FIG. 14 . For the part not described in detail in this embodiment, reference may be made to the related description of the embodiment shown in FIG. 1 to FIG. 14 . For the execution process and technical effects of the technical solution, refer to the descriptions in the embodiments shown in FIG. 1 to FIG. 14 , which will not be repeated here.
图16为本发明实施例提供的一种可移动平台的结构示意图,参考附图16所示,本实施例提供了一种可移动平台,该可移动平台可以包括以下至少之一:无人机、无人车和手持云台等等。具体的,该可移动平台可以包括:FIG. 16 is a schematic structural diagram of a movable platform provided by an embodiment of the present invention. Referring to FIG. 16 , this embodiment provides a movable platform. The movable platform may include at least one of the following: an unmanned aerial vehicle. , unmanned vehicles and handheld gimbals, etc. Specifically, the movable platform may include:
机身21; fuselage 21;
云台22,用于支撑负载,云台22可拆卸地设置于机身21上,所述云台包括轴组件和云台电机,所述云台电机用于驱动所述轴组件进行转动;The pan/tilt head 22 is used to support the load, and the pan/tilt head 22 is detachably arranged on the fuselage 21, the pan/tilt head includes a shaft assembly and a pan/tilt motor, and the pan/tilt motor is used to drive the shaft assembly to rotate;
上述图15所示的云台控制装置23,云台控制装置23用于对云台22进行控制。The pan-tilt control device 23 shown in FIG. 15 is used to control the pan-tilt 22 .
图16所示可移动平台的具体实现过程和实现原理与图15中所示的云台控制装置的具体实现过程和实现原理相类似,本实施例未详细描述的部分,可参考对图15所示实施例的相关说明。该技术方案的执行过程和技术效果参见图15所示实施例中的描述,在此不再赘述。The specific implementation process and implementation principle of the movable platform shown in FIG. 16 are similar to the specific implementation process and implementation principle of the PTZ control device shown in FIG. related descriptions of the examples. For the execution process and technical effect of the technical solution, refer to the description in the embodiment shown in FIG. 15 , which will not be repeated here.
另外,本发明实施例提供了一种存储介质,该存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,程序指令用于实现上述图1-图14所示实施例中的云台控制方法。In addition, an embodiment of the present invention provides a storage medium, where the storage medium is a computer-readable storage medium, and program instructions are stored in the computer-readable storage medium, and the program instructions are used to implement the above-mentioned embodiments shown in FIG. 1 to FIG. 14 . PTZ control method in .
以上各个实施例中的技术方案、技术特征在与本相冲突的情况下均可以单独,或者进行组合,只要未超出本领域技术人员的认知范围,均属于本申请保护范围内的等同实施例。The technical solutions and technical features in the above embodiments can be used alone or combined in the case of conflict with the present invention, as long as they do not exceed the cognitive scope of those skilled in the art, they all belong to the equivalent embodiments within the protection scope of the present application .
在本发明所提供的几个实施例中,应该理解到,所揭露的相关遥控装置和方法,可以通过其它的方式实现。例如,以上所描述的遥控装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,遥控装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed related remote control devices and methods may be implemented in other manners. For example, the embodiments of the remote control device described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components. May be combined or may be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, and the indirect coupling or communication connection of the remote control device or unit may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得计算机处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a computer processor (processor) to perform all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是 利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above descriptions are only the embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied to other related technologies Fields are similarly included in the scope of patent protection of the present invention.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. Scope.

Claims (42)

  1. 一种云台控制方法,其特征在于,所述云台可拆卸地设置于可移动平台上,所述方法包括:A pan-tilt control method, characterized in that the pan-tilt is detachably arranged on a movable platform, and the method comprises:
    获取云台上电信号;Obtain the power-on signal of the gimbal;
    根据所述云台上电信号,获取所述云台的身份标识信息;Acquire the identity information of the PTZ according to the power-on signal of the PTZ;
    基于所述身份标识信息,判断通过所述可移动平台能否对所述云台进行控制;Based on the identity information, judging whether the PTZ can be controlled by the movable platform;
    在通过所述可移动平台无法对所述云台进行控制时,则控制所述云台进行参数标定操作,以通过所述可移动平台能够对所述云台进行控制。When the PTZ cannot be controlled through the movable platform, the PTZ is controlled to perform parameter calibration operation, so that the PTZ can be controlled through the movable platform.
  2. 根据权利要求1所述的方法,其特征在于,根据所述云台上电信号,获取所述云台的身份标识信息,包括:The method according to claim 1, wherein obtaining the identity information of the PTZ according to the power-on signal of the PTZ comprises:
    根据所述云台上电信号,获取位于所述云台上负载的负载标识信息;According to the power-on signal of the PTZ, obtain the load identification information of the load located on the PTZ;
    将所述负载标识信息,确定为所述云台的身份标识信息。The load identification information is determined as the identification information of the PTZ.
  3. 根据权利要求1所述的方法,其特征在于,基于所述身份标识信息,判断通过所述可移动平台能否对所述云台进行控制,包括:The method according to claim 1, wherein, based on the identification information, judging whether the PTZ can be controlled by the movable platform, comprising:
    获取存储在所述可移动平台内的原始云台身份信息;Obtain the original PTZ identity information stored in the movable platform;
    在所述身份标识信息与所述原始云台身份信息相匹配时,则确定通过所述可移动平台能够对所述云台进行控制;When the identity information matches the original PTZ identity information, it is determined that the PTZ can be controlled through the movable platform;
    在所述身份标识信息与所述原始云台身份信息不匹配时,则确定通过所述可移动平台无法对所述云台进行控制。When the identity information does not match the original PTZ identity information, it is determined that the PTZ cannot be controlled through the movable platform.
  4. 根据权利要求1所述的方法,其特征在于,控制所述云台进行参数标定操作,包括:The method according to claim 1, wherein controlling the PTZ to perform a parameter calibration operation comprises:
    获取与所述可移动平台相对应的网络运行状态;obtaining the network operating state corresponding to the movable platform;
    在所述网络运行状态为非联网状态时,则基于测量标定参数控制所述云台进行参数标定操作;When the network operating state is a non-networking state, controlling the PTZ to perform parameter calibration based on the measurement and calibration parameters;
    在所述网络运行状态为联网状态时,则基于预设标定参数控制所述云台进行参数标定操作。When the network operating state is the networking state, the pan/tilt is controlled to perform parameter calibration operations based on preset calibration parameters.
  5. 根据权利要求1所述的方法,其特征在于,控制所述云台进行参数标定操作,包括:The method according to claim 1, wherein controlling the PTZ to perform a parameter calibration operation comprises:
    获取与所述云台相对应的当前运行状态;Obtain the current operating state corresponding to the PTZ;
    基于所述当前运行状态,控制所述云台进行参数标定操作。Based on the current operating state, the PTZ is controlled to perform a parameter calibration operation.
  6. 根据权利要求5所述的方法,其特征在于,基于所述当前运行状态,控制所述云台进行参数标定操作,包括:The method according to claim 5, wherein, based on the current operating state, controlling the PTZ to perform a parameter calibration operation, comprising:
    在所述当前运行状态为静置状态时,则基于测量标定参数控制所述云台进行参数标定操作;When the current operating state is a stationary state, control the pan/tilt to perform parameter calibration based on the measurement calibration parameters;
    在所述当前运行状态为非静置状态时,则基于预设标定参数控制所述云台进行参数标定操作。When the current operating state is a non-stationary state, the gimbal is controlled to perform parameter calibration operations based on preset calibration parameters.
  7. 根据权利要求4或6所述的方法,其特征在于,在基于预设标定参数控制所述云台进行参数标定操作之前,所述方法还包括:The method according to claim 4 or 6, characterized in that, before controlling the pan/tilt head to perform a parameter calibration operation based on preset calibration parameters, the method further comprises:
    基于所述身份标识信息,获取与所述云台相对应的所述预设标定参数。Based on the identification information, the preset calibration parameters corresponding to the PTZ are acquired.
  8. 根据权利要求7所述的方法,其特征在于,基于所述身份标识信息,获取与所述云台相对应的所述预设标定参数,包括:The method according to claim 7, wherein, based on the identity information, acquiring the preset calibration parameters corresponding to the PTZ comprises:
    基于所述身份标识信息生成与所述云台相对应的参数获取请求;generating a parameter acquisition request corresponding to the PTZ based on the identity information;
    向服务器发送参数获取请求,所述服务器中存储有与多个标准云台相对应的预设标定参数;sending a parameter acquisition request to a server, where the server stores preset calibration parameters corresponding to multiple standard PTZs;
    接收所述服务器基于所述参数获取请求所发送的与所述云台相对应的云台标定参数。Receive a PTZ calibration parameter corresponding to the PTZ sent by the server based on the parameter acquisition request.
  9. 根据权利要求4或6所述的方法,其特征在于,基于测量标定参数控制所述云台进行参数标定操作,包括:The method according to claim 4 or 6, characterized in that, controlling the PTZ to perform parameter calibration operations based on measurement calibration parameters, comprising:
    获取与所述云台上的电机相对应的电机参数、以及与惯性测量单元IMU相对应的IMU参数;Acquiring motor parameters corresponding to the motor on the PTZ and IMU parameters corresponding to the inertial measurement unit IMU;
    基于所述电机参数,控制所述云台上的电机进行参数标定操作;Based on the motor parameters, control the motor on the gimbal to perform parameter calibration operations;
    基于所述IMU参数,控制位于所述云台上的IMU进行参数标定操作。Based on the IMU parameters, the IMU located on the PTZ is controlled to perform a parameter calibration operation.
  10. 根据权利要求9所述的方法,其特征在于,在获取与所述云台上的电机相对应的电机参数之后,所述方法还包括:The method according to claim 9, wherein after acquiring the motor parameters corresponding to the motors on the pan/tilt head, the method further comprises:
    获取与所述电机参数相对应的第一参数范围;obtaining a first parameter range corresponding to the motor parameter;
    基于所述第一参数范围识别所述电机参数是否有效;Identifying whether the motor parameter is valid based on the first parameter range;
    在确定所述电机参数有效时,则允许基于所述电机参数控制所述云台上的电机进行参数标定操作。When it is determined that the motor parameters are valid, it is allowed to control the motors on the pan/tilt head to perform parameter calibration operations based on the motor parameters.
  11. 根据权利要求9所述的方法,其特征在于,在获取与惯性测量单元IMU相对应的IMU参数之后,所述方法还包括:The method according to claim 9, wherein after acquiring the IMU parameters corresponding to the inertial measurement unit IMU, the method further comprises:
    获取与所述IMU参数相对应的第二参数范围;obtaining a second parameter range corresponding to the IMU parameter;
    基于所述第二参数范围识别所述IMU参数是否有效;identifying whether the IMU parameter is valid based on the second parameter range;
    在确定所述IMU参数有效时,则允许基于所述IMU参数控制位于所述云台上的IMU进行参数标定操作。When it is determined that the IMU parameters are valid, it is allowed to control the IMU located on the PTZ to perform a parameter calibration operation based on the IMU parameters.
  12. 根据权利要求1-11中任意一项所述的方法,其特征在于,在控制所述云台进行参数标定操作之后,所述方法还包括:The method according to any one of claims 1-11, wherein after controlling the pan/tilt to perform parameter calibration, the method further comprises:
    识别对所述云台进行参数标定操作是否成功;Identify whether the parameter calibration operation of the PTZ is successful;
    基于识别结果生成提示信息。Generate prompt information based on the recognition result.
  13. 根据权利要求12所述的方法,其特征在于,识别对所述云台进行参数标定操作是否成功,包括:The method according to claim 12, wherein identifying whether the parameter calibration operation on the PTZ is successful comprises:
    获取与所述云台相对应的标定后参数;Obtain the calibrated parameters corresponding to the PTZ;
    确定与所述标定后参数相对应的参数标准范围;Determine the parameter standard range corresponding to the calibrated parameter;
    在所述标定后参数位于所述参数标准范围内时,则确定对所述云台进行参数标定操作成功;When the calibrated parameters are within the parameter standard range, it is determined that the parameter calibration operation on the pan-tilt head is successful;
    在所述标定后参数位于所述参数标准范围之外时,则确定对所述云台进行参数标定操作未成功。When the calibrated parameter is outside the parameter standard range, it is determined that the parameter calibration operation on the PTZ is unsuccessful.
  14. 根据权利要求13所述的方法,其特征在于,基于识别结果生成提示信息,包括:The method according to claim 13, wherein generating prompt information based on the recognition result, comprising:
    基于对所述云台进行参数标定操作成功的识别结果,生成第一提示信息;或者,Based on the recognition result of the successful parameter calibration operation on the pan-tilt head, the first prompt information is generated; or,
    基于对所述云台进行参数标定操作未成功的识别结果,生成第二提示信息。The second prompt information is generated based on the identification result that the parameter calibration operation on the pan/tilt is unsuccessful.
  15. 根据权利要求13所述的方法,其特征在于,在确定对所述云台进行参数标定操作成功之后,所述方法还包括:The method according to claim 13, wherein after it is determined that the parameter calibration operation on the PTZ is successful, the method further comprises:
    基于所述标定后参数,对所述可移动平台内存储的与原始云台身份信息相对应的原始云台参数进行更新操作;Based on the calibrated parameters, update the original PTZ parameters stored in the movable platform and corresponding to the original PTZ identity information;
    基于所述身份标识信息,对所述可移动平台内存储的原始云台身份信息进行更新操作。Based on the identity information, an update operation is performed on the original PTZ identity information stored in the movable platform.
  16. 根据权利要求13所述的方法,其特征在于,在确定对所述云台进行参数标定操作未成功之后,所述方法还包括:The method according to claim 13, wherein after it is determined that the parameter calibration operation on the PTZ is unsuccessful, the method further comprises:
    生成与所述云台相对应的至少一个重新标定指令;generating at least one recalibration instruction corresponding to the PTZ;
    基于所述至少一个重新标定指令,控制所述云台重新进行参数标定操作。Based on the at least one re-calibration instruction, the PTZ is controlled to perform a parameter calibration operation again.
  17. 根据权利要求16所述的方法,其特征在于,基于所述至少一个重新标定指令,控制所述云台重新进行参数标定操作,包括:The method according to claim 16, wherein, based on the at least one re-calibration instruction, controlling the PTZ to perform a parameter calibration operation again, comprising:
    在参数标定操作过程中,获取所述云台上进行参数标定操作未成功的操作节点,所述操作节点包括以下至少之一:位于所述云台上的电机、位于所述云台上的惯性测量单元IMU;During the parameter calibration operation, an operation node on the gimbal that fails to perform the parameter calibration operation is acquired, and the operation node includes at least one of the following: a motor located on the gimbal, an inertial motor located on the gimbal measurement unit IMU;
    基于所述至少一个重新标定指令,控制所述操作节点重新进行参数标定操作。Based on the at least one re-calibration instruction, the operation node is controlled to perform a parameter calibration operation again.
  18. 根据权利要求13所述的方法,其特征在于,在确定对所述云台进行参数标定操作未成功之后,所述方法还包括:The method according to claim 13, characterized in that, after determining that the parameter calibration operation on the PTZ is unsuccessful, the method further comprises:
    禁止通过遥控设备对所述云台和/或可移动平台进行控制。Control of the pan/tilt and/or movable platform by means of a remote control device is prohibited.
  19. 根据权利要求1-11中任意一项所述的方法,其特征在于,在控制所述云台进行参数标定操作时,所述方法还包括:The method according to any one of claims 1-11, characterized in that, when controlling the PTZ to perform a parameter calibration operation, the method further comprises:
    生成用于标识所述云台正在进行参数标定操作的状态提示信息;generating status prompt information for identifying that the PTZ is performing a parameter calibration operation;
    输出所述状态提示信息。Output the status prompt information.
  20. 根据权利要求19所述的方法,其特征在于,在输出所述状态提示信息之前,所述方法还包括:The method according to claim 19, wherein before outputting the status prompt information, the method further comprises:
    检测遥控设备与显示设备之间的通信连接状态;Detect the communication connection status between the remote control device and the display device;
    在所述遥控设备与所述显示设备通信连接时,则允许通过所述显示设备显示所述状态提示信息;When the remote control device is communicatively connected to the display device, allowing the display device to display the status prompt information;
    在所述遥控设备与所述显示设备未连接时,则通过设置于所述可移动平台上的指示灯显示所述状态提示信息。When the remote control device and the display device are not connected, the status prompt information is displayed through an indicator light disposed on the movable platform.
  21. 一种云台控制装置,其特征在于,所述云台可拆卸地设置于可移动平台上,所述云台包括轴组件和云台电机,所述云台电机用于驱动所述轴组件进行转动;所述装置包括:A pan-tilt control device, characterized in that the pan-tilt is detachably arranged on a movable platform, the pan-tilt includes a shaft assembly and a pan-tilt motor, and the pan-tilt motor is used to drive the shaft assembly to perform rotating; the device includes:
    存储器,用于存储计算机程序;memory for storing computer programs;
    处理器,用于运行所述存储器中存储的计算机程序以实现:A processor for running a computer program stored in the memory to achieve:
    获取云台上电信号;Obtain the power-on signal of the gimbal;
    根据所述云台上电信号,获取所述云台的身份标识信息;Acquire the identity information of the PTZ according to the power-on signal of the PTZ;
    基于所述身份标识信息,判断通过所述可移动平台能否对所述云台进行控制;Based on the identity information, judging whether the PTZ can be controlled by the movable platform;
    在通过所述可移动平台无法对所述云台进行控制时,则控制所述云台进 行参数标定操作,以通过所述可移动平台能够对所述云台进行控制。When the PTZ cannot be controlled through the movable platform, the PTZ is controlled to perform parameter calibration operation, so that the PTZ can be controlled through the movable platform.
  22. 根据权利要求21所述的装置,其特征在于,在所述处理器根据所述云台上电信号,获取所述云台的身份标识信息时,所述处理器用于:The device according to claim 21, wherein when the processor acquires the identity information of the PTZ according to the PTZ power-on signal, the processor is configured to:
    根据所述云台上电信号,获取位于所述云台上负载的负载标识信息;According to the power-on signal of the PTZ, obtain the load identification information of the load located on the PTZ;
    将所述负载标识信息,确定为所述云台的身份标识信息。The load identification information is determined as the identification information of the PTZ.
  23. 根据权利要求21所述的装置,其特征在于,在所述处理器基于所述身份标识信息,判断通过所述可移动平台能否对所述云台进行控制时,所述处理器用于:The device according to claim 21, wherein when the processor determines whether the mobile platform can control the pan-tilt based on the identification information, the processor is configured to:
    获取存储在所述可移动平台内的原始云台身份信息;Obtain the original PTZ identity information stored in the movable platform;
    在所述身份标识信息与所述原始云台身份信息相匹配时,则确定通过所述可移动平台能够对所述云台进行控制;When the identity information matches the original PTZ identity information, it is determined that the PTZ can be controlled through the movable platform;
    在所述身份标识信息与所述原始云台身份信息不匹配时,则确定通过所述可移动平台无法对所述云台进行控制。When the identity information does not match the original PTZ identity information, it is determined that the PTZ cannot be controlled through the movable platform.
  24. 根据权利要求21所述的装置,其特征在于,在所述处理器控制所述云台进行参数标定操作时,所述处理器用于:The device according to claim 21, wherein when the processor controls the pan/tilt to perform parameter calibration, the processor is configured to:
    获取与所述可移动平台相对应的网络运行状态;obtaining the network operating state corresponding to the movable platform;
    在所述网络运行状态为非联网状态时,则基于测量标定参数控制所述云台进行参数标定操作;When the network operating state is a non-networking state, controlling the PTZ to perform parameter calibration based on the measurement and calibration parameters;
    在所述网络运行状态为联网状态时,则基于预设标定参数控制所述云台进行参数标定操作。When the network operating state is the networking state, the pan/tilt is controlled to perform parameter calibration operations based on preset calibration parameters.
  25. 根据权利要求21所述的装置,其特征在于,在所述处理器控制所述云台进行参数标定操作时,所述处理器用于:The device according to claim 21, wherein when the processor controls the pan/tilt to perform parameter calibration, the processor is configured to:
    获取与所述云台相对应的当前运行状态;Obtain the current operating state corresponding to the PTZ;
    基于所述当前运行状态,控制所述云台进行参数标定操作。Based on the current operating state, the PTZ is controlled to perform a parameter calibration operation.
  26. 根据权利要求25所述的装置,其特征在于,在所述处理器基于所述当前运行状态,控制所述云台进行参数标定操作时,所述处理器用于:The device according to claim 25, wherein when the processor controls the pan/tilt head to perform a parameter calibration operation based on the current operating state, the processor is configured to:
    在所述当前运行状态为静置状态时,则基于测量标定参数控制所述云台进行参数标定操作;When the current operating state is a stationary state, control the pan/tilt to perform parameter calibration based on the measurement calibration parameters;
    在所述当前运行状态为非静置状态时,则基于预设标定参数控制所述云台进行参数标定操作。When the current operating state is a non-stationary state, the gimbal is controlled to perform a parameter calibration operation based on preset calibration parameters.
  27. 根据权利要求24或26所述的装置,其特征在于,在基于预设标定参 数控制所述云台进行参数标定操作之前,所述处理器用于:device according to claim 24 or 26, is characterized in that, before controlling described PTZ to carry out parameter calibration operation based on preset calibration parameter, described processor is used for:
    基于所述身份标识信息,获取与所述云台相对应的所述预设标定参数。Based on the identification information, the preset calibration parameters corresponding to the PTZ are acquired.
  28. 根据权利要求27所述的装置,其特征在于,在所述处理器基于所述身份标识信息,获取与所述云台相对应的所述预设标定参数时,所述处理器用于:The apparatus according to claim 27, wherein when the processor acquires the preset calibration parameter corresponding to the pan/tilt based on the identity information, the processor is configured to:
    基于所述身份标识信息生成与所述云台相对应的参数获取请求;generating a parameter acquisition request corresponding to the PTZ based on the identity information;
    向服务器发送参数获取请求,所述服务器中存储有与多个标准云台相对应的预设标定参数;sending a parameter acquisition request to a server, where the server stores preset calibration parameters corresponding to multiple standard PTZs;
    接收所述服务器基于所述参数获取请求所发送的与所述云台相对应的云台标定参数。Receive a PTZ calibration parameter corresponding to the PTZ sent by the server based on the parameter acquisition request.
  29. 根据权利要求24或26所述的装置,其特征在于,在所述处理器基于测量标定参数控制所述云台进行参数标定操作时,所述处理器用于:The device according to claim 24 or 26, wherein when the processor controls the pan/tilt to perform a parameter calibration operation based on the measurement and calibration parameters, the processor is configured to:
    获取与所述云台上的电机相对应的电机参数、以及与惯性测量单元IMU相对应的IMU参数;Acquiring motor parameters corresponding to the motor on the PTZ and IMU parameters corresponding to the inertial measurement unit IMU;
    基于所述电机参数,控制所述云台上的电机进行参数标定操作;Based on the motor parameters, control the motor on the gimbal to perform parameter calibration operations;
    基于所述IMU参数,控制位于所述云台上的IMU进行参数标定操作。Based on the IMU parameters, the IMU located on the PTZ is controlled to perform a parameter calibration operation.
  30. 根据权利要求29所述的装置,其特征在于,在获取与所述云台上的电机相对应的电机参数之后,所述处理器用于:The device according to claim 29, wherein after acquiring the motor parameters corresponding to the motors on the pan/tilt head, the processor is configured to:
    获取与所述电机参数相对应的第一参数范围;obtaining a first parameter range corresponding to the motor parameter;
    基于所述第一参数范围识别所述电机参数是否有效;Identifying whether the motor parameter is valid based on the first parameter range;
    在确定所述电机参数有效时,则允许基于所述电机参数控制所述云台上的电机进行参数标定操作。When it is determined that the motor parameters are valid, it is allowed to control the motors on the pan/tilt head to perform parameter calibration operations based on the motor parameters.
  31. 根据权利要求29所述的装置,其特征在于,在获取与惯性测量单元IMU相对应的IMU参数之后,所述处理器用于:The apparatus according to claim 29, wherein after acquiring the IMU parameters corresponding to the inertial measurement unit IMU, the processor is configured to:
    获取与所述IMU参数相对应的第二参数范围;obtaining a second parameter range corresponding to the IMU parameter;
    基于所述第二参数范围识别所述IMU参数是否有效;identifying whether the IMU parameter is valid based on the second parameter range;
    在确定所述IMU参数有效时,则允许基于所述IMU参数控制位于所述云台上的IMU进行参数标定操作。When it is determined that the IMU parameters are valid, it is allowed to control the IMU located on the PTZ to perform a parameter calibration operation based on the IMU parameters.
  32. 根据权利要求21-31中任意一项所述的装置,其特征在于,在控制所述云台进行参数标定操作之后,所述处理器用于:The device according to any one of claims 21-31, wherein after controlling the pan/tilt to perform parameter calibration, the processor is configured to:
    识别对所述云台进行参数标定操作是否成功;Identify whether the parameter calibration operation of the PTZ is successful;
    基于识别结果生成提示信息。Generate prompt information based on the recognition result.
  33. 根据权利要求32所述的装置,其特征在于,在所述处理器识别对所述云台进行参数标定操作是否成功时,所述处理器用于:The device according to claim 32, wherein when the processor identifies whether the parameter calibration operation on the pan/tilt is successful, the processor is configured to:
    获取与所述云台相对应的标定后参数;Obtain the calibrated parameters corresponding to the PTZ;
    确定与所述标定后参数相对应的参数标准范围;Determine the parameter standard range corresponding to the calibrated parameter;
    在所述标定后参数位于所述参数标准范围内时,则确定对所述云台进行参数标定操作成功;When the calibrated parameter is within the parameter standard range, it is determined that the parameter calibration operation on the PTZ is successful;
    在所述标定后参数位于所述参数标准范围之外时,则确定对所述云台进行参数标定操作未成功。When the calibrated parameter is outside the parameter standard range, it is determined that the parameter calibration operation on the PTZ is unsuccessful.
  34. 根据权利要求33所述的装置,其特征在于,在所述处理器基于识别结果生成提示信息时,所述处理器用于:The apparatus according to claim 33, wherein when the processor generates prompt information based on the identification result, the processor is configured to:
    基于对所述云台进行参数标定操作成功的识别结果,生成第一提示信息;或者,Based on the recognition result of the successful parameter calibration operation on the pan-tilt head, the first prompt information is generated; or,
    基于对所述云台进行参数标定操作未成功的识别结果,生成第二提示信息。The second prompt information is generated based on the identification result that the parameter calibration operation on the pan/tilt is unsuccessful.
  35. 根据权利要求33所述的装置,其特征在于,在确定对所述云台进行参数标定操作成功之后,所述处理器用于:The apparatus according to claim 33, wherein after determining that the parameter calibration operation on the pan/tilt head is successful, the processor is configured to:
    基于所述标定后参数,对所述可移动平台内存储的与原始云台身份信息相对应的原始云台参数进行更新操作;Based on the calibrated parameters, update the original PTZ parameters stored in the movable platform and corresponding to the original PTZ identity information;
    基于所述身份标识信息,对所述可移动平台内存储的原始云台身份信息进行更新操作。Based on the identity information, an update operation is performed on the original PTZ identity information stored in the movable platform.
  36. 根据权利要求33所述的装置,其特征在于,在确定对所述云台进行参数标定操作未成功之后,所述处理器用于:The apparatus according to claim 33, wherein after determining that the parameter calibration operation on the pan/tilt is unsuccessful, the processor is configured to:
    生成与所述云台相对应的至少一个重新标定指令;generating at least one recalibration instruction corresponding to the PTZ;
    基于所述至少一个重新标定指令,控制所述云台重新进行参数标定操作。Based on the at least one re-calibration instruction, the PTZ is controlled to perform a parameter calibration operation again.
  37. 根据权利要求36所述的装置,其特征在于,在所述处理器基于所述至少一个重新标定指令,控制所述云台重新进行参数标定操作时,所述处理器用于:The device according to claim 36, wherein when the processor controls the pan/tilt to perform a parameter calibration operation again based on the at least one recalibration instruction, the processor is configured to:
    在参数标定操作过程中,获取所述云台上进行参数标定操作未成功的操作节点,所述操作节点包括以下至少之一:位于所述云台上的电机、位于所述云台上的惯性测量单元IMU;During the parameter calibration operation, an operation node on the gimbal that fails to perform the parameter calibration operation is acquired, and the operation node includes at least one of the following: a motor located on the gimbal, an inertial motor located on the gimbal measurement unit IMU;
    基于所述至少一个重新标定指令,控制所述操作节点重新进行参数标定操作。Based on the at least one re-calibration instruction, the operation node is controlled to perform a parameter calibration operation again.
  38. 根据权利要求33所述的装置,其特征在于,在确定对所述云台进行参数标定操作未成功之后,所述处理器用于:The device according to claim 33, wherein after determining that the parameter calibration operation on the pan-tilt head is unsuccessful, the processor is configured to:
    禁止通过遥控设备对所述云台和/或可移动平台进行控制。Control of the pan/tilt and/or movable platform by means of a remote control device is prohibited.
  39. 根据权利要求21-31中任意一项所述的装置,其特征在于,在所述处理器控制所述云台进行参数标定操作时,所述处理器用于:The device according to any one of claims 21-31, wherein when the processor controls the pan/tilt to perform a parameter calibration operation, the processor is configured to:
    生成用于标识所述云台正在进行参数标定操作的状态提示信息;generating status prompt information for identifying that the PTZ is performing a parameter calibration operation;
    输出所述状态提示信息。Output the status prompt information.
  40. 根据权利要求39所述的装置,其特征在于,在输出所述状态提示信息之前,所述处理器用于:The apparatus according to claim 39, wherein before outputting the status prompt information, the processor is configured to:
    检测遥控设备与显示设备之间的通信连接状态;Detect the communication connection status between the remote control device and the display device;
    在所述遥控设备与所述显示设备通信连接时,则允许通过所述显示设备显示所述状态提示信息;When the remote control device is communicatively connected to the display device, allowing the display device to display the status prompt information;
    在所述遥控设备与所述显示设备未连接时,则通过设置于所述可移动平台上的指示灯显示所述状态提示信息。When the remote control device and the display device are not connected, the status prompt information is displayed through an indicator light disposed on the movable platform.
  41. 一种可移动平台,其特征在于,包括:A movable platform, characterized in that, comprising:
    机身;body;
    云台,用于支撑负载,所述云台可拆卸地设置于所述机身上,所述云台包括轴组件和云台电机,所述云台电机用于驱动所述轴组件进行转动;A gimbal is used to support a load, the gimbal is detachably arranged on the body, the gimbal includes a shaft assembly and a gimbal motor, and the gimbal motor is used to drive the shaft assembly to rotate;
    权利要求21-40中任意一项所述的云台控制装置,所述云台控制装置用于对所述云台进行控制。The pan-tilt control device according to any one of claims 21-40, wherein the pan-tilt control device is used to control the pan-tilt.
  42. 一种计算机可读存储介质,其特征在于,所述存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序指令用于实现权利要求1-20中任意一项所述的云台控制方法。A computer-readable storage medium, characterized in that the storage medium is a computer-readable storage medium, and program instructions are stored in the computer-readable storage medium, and the program instructions are used to implement any one of claims 1-20 The PTZ control method described in item.
PCT/CN2020/117907 2020-09-25 2020-09-25 Gimbal control method and apparatus, movable platform, and storage medium WO2022061772A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/117907 WO2022061772A1 (en) 2020-09-25 2020-09-25 Gimbal control method and apparatus, movable platform, and storage medium
CN202080008000.XA CN113302569A (en) 2020-09-25 2020-09-25 Holder control method, holder control device, movable platform and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/117907 WO2022061772A1 (en) 2020-09-25 2020-09-25 Gimbal control method and apparatus, movable platform, and storage medium

Publications (1)

Publication Number Publication Date
WO2022061772A1 true WO2022061772A1 (en) 2022-03-31

Family

ID=77318797

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/117907 WO2022061772A1 (en) 2020-09-25 2020-09-25 Gimbal control method and apparatus, movable platform, and storage medium

Country Status (2)

Country Link
CN (1) CN113302569A (en)
WO (1) WO2022061772A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114323069A (en) * 2021-12-21 2022-04-12 华人运通(江苏)技术有限公司 IMU calibration method, device, storage medium and terminal equipment
CN115499591A (en) * 2022-09-20 2022-12-20 重庆紫光华山智安科技有限公司 Method, system, equipment and medium for migrating preset points of monitoring device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357614A (en) * 2017-06-30 2017-11-17 深圳前海弘稼科技有限公司 Parameter updating method and device, planting box and storage medium
CN108496139A (en) * 2017-02-16 2018-09-04 深圳市大疆灵眸科技有限公司 Configuration method, device and the holder of holder parameter
US20180267561A1 (en) * 2016-09-12 2018-09-20 Andrew Archer Trench Autonomous control of unmanned aircraft
CN109074103A (en) * 2017-12-23 2018-12-21 深圳市大疆创新科技有限公司 A kind of holder calibration method and tripod head equipment
CN109857356A (en) * 2019-02-15 2019-06-07 青岛海信移动通信技术股份有限公司 A kind of screen display method, electronic equipment and storage medium
CN110730287A (en) * 2019-10-24 2020-01-24 深圳市道通智能航空技术有限公司 Removable tripod head camera, aircraft, system and tripod head replacement method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019023846A1 (en) * 2017-07-31 2019-02-07 深圳市大疆创新科技有限公司 Data conversion and capture control method, system, cradle head assembly, and unmanned aerial vehicle system
WO2019127341A1 (en) * 2017-12-29 2019-07-04 深圳市大疆创新科技有限公司 Pan-tilt control method and device, and computer-readable storage medium
CN110603504A (en) * 2018-07-26 2019-12-20 深圳市大疆创新科技有限公司 Multi-cradle-head control method and device, unmanned aerial vehicle, medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180267561A1 (en) * 2016-09-12 2018-09-20 Andrew Archer Trench Autonomous control of unmanned aircraft
CN108496139A (en) * 2017-02-16 2018-09-04 深圳市大疆灵眸科技有限公司 Configuration method, device and the holder of holder parameter
CN107357614A (en) * 2017-06-30 2017-11-17 深圳前海弘稼科技有限公司 Parameter updating method and device, planting box and storage medium
CN109074103A (en) * 2017-12-23 2018-12-21 深圳市大疆创新科技有限公司 A kind of holder calibration method and tripod head equipment
CN109857356A (en) * 2019-02-15 2019-06-07 青岛海信移动通信技术股份有限公司 A kind of screen display method, electronic equipment and storage medium
CN110730287A (en) * 2019-10-24 2020-01-24 深圳市道通智能航空技术有限公司 Removable tripod head camera, aircraft, system and tripod head replacement method

Also Published As

Publication number Publication date
CN113302569A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
WO2022061772A1 (en) Gimbal control method and apparatus, movable platform, and storage medium
US20180107213A1 (en) Unmanned aerial vehicle, flight control method, non-transitory computer-readable recording medium, and control device
US20190144114A1 (en) Systems and methods for controlling movable object behavior
RU2578759C2 (en) Control device in cyber-physical systems, primarily for controlling mobile robots and/or unmanned aerial vehicles
CN107735736B (en) Method for addressing functional modules of a movable object
JP2018514478A (en) Autonomous transport aircraft, automated delivery systems, methods for controlling autonomous transport aircraft, automated delivery methods, and computer program products for controlling autonomous transport aircraft (autonomous delivery of goods)
WO2018072194A1 (en) Method for handling malfunctions, aerial vehicle, server, and control device
US11206123B2 (en) Method and device of data synchronization and data collection for aerial vehicle and aerial vehicle
CN113409485B (en) Inspection data acquisition method and device, computer equipment and storage medium
CN103675609A (en) Power line patrol equipment and system
WO2019227287A1 (en) Data processing method and device for unmanned aerial vehicle
WO2020019260A1 (en) Calibration method for magnetic sensor, control terminal and movable platform
TW202014728A (en) Rescue guidance system for skiing device based on internet of things (iot) and method thereof
WO2021055068A1 (en) Photonic devices with redundant components and their applications
WO2019230885A1 (en) Flight management server and flight management system for unmanned aerial vehicle
TWI573104B (en) Indoor monitoring system and method thereof
KR102243810B1 (en) Caption adding system and method of helicam recording image with position information for filming site
WO2020019350A1 (en) Control method and apparatus for unmanned aerial vehicle and unmanned aerial vehicle
Liardon et al. Adaptable imaging package for remote vehicles
JP2021015605A (en) Management server, management system, display information generation method, and program
WO2020062024A1 (en) Distance measurement method and device based on unmanned aerial vehicle and unmanned aerial vehicle
CN110622086B (en) Movable object application framework
WO2023173307A1 (en) Movable platform and control method therefor, information prompting method and apparatus, and electronic device and computer-readable storage medium
WO2019007325A1 (en) Method, device, and system for obtaining sensor data, and computer readable storage medium
WO2019178827A1 (en) Method and system for communication control of unmanned aerial vehicle, and unmanned aerial vehicle

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

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

Country of ref document: EP

Kind code of ref document: A1