WO2021102645A1 - Gimbal control method, gimbal, unmanned aerial vehicle, and storage medium - Google Patents

Gimbal control method, gimbal, unmanned aerial vehicle, and storage medium Download PDF

Info

Publication number
WO2021102645A1
WO2021102645A1 PCT/CN2019/120686 CN2019120686W WO2021102645A1 WO 2021102645 A1 WO2021102645 A1 WO 2021102645A1 CN 2019120686 W CN2019120686 W CN 2019120686W WO 2021102645 A1 WO2021102645 A1 WO 2021102645A1
Authority
WO
WIPO (PCT)
Prior art keywords
pan
tilt
preset
information
tilt head
Prior art date
Application number
PCT/CN2019/120686
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 CN201980039316.2A priority Critical patent/CN112292320A/en
Priority to PCT/CN2019/120686 priority patent/WO2021102645A1/en
Publication of WO2021102645A1 publication Critical patent/WO2021102645A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B64AIRCRAFT; AVIATION; COSMONAUTICS
    • B64DEQUIPMENT FOR FITTING IN OR TO AIRCRAFT; FLIGHT SUITS; PARACHUTES; ARRANGEMENT OR MOUNTING OF POWER PLANTS OR PROPULSION TRANSMISSIONS IN AIRCRAFT
    • B64D47/00Equipment not otherwise provided for

Definitions

  • the pan/tilt head described in the above second aspect is mounted on the fuselage.
  • the fifth aspect of the present invention is to provide a computer-readable storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used in the first aspect.
  • FIG. 7 is a second schematic diagram of a process for detecting whether the pan-tilt meets preset conditions according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the present invention.
  • the working principle of the stabilizer will be described with reference to Figure 1.
  • the actual posture of the camera device is detected first, and the actual posture is compared with the target posture to obtain Control deviation; then perform negative feedback control according to the control deviation, determine the motor torque in the stabilizer based on the control deviation, and then send the motor torque to the motor in the stabilizer to reduce the control deviation and ensure the actual posture and target posture of the camera equipment
  • the deviation is as small as possible, so that the image captured by the camera device is as stable as possible, or the actual posture of the camera device is as close as possible to the target posture and the shooting is performed in the target posture.
  • S201 Obtain the operating state information of the pan/tilt during a preset detection time period.
  • the control parameters of the pan/tilt can be self-tuning, that is, the step disturbance experiment is performed with the control parameters of the pan/tilt, and the setting parameter value is calculated according to the operating state of the pan/tilt. operating.
  • this embodiment does not limit the specific implementation of the self-tuning operation of the control parameters of the pan/tilt.
  • Those skilled in the art can set the corresponding implementation of the self-tuning according to the specific control parameters.
  • the force information is taken as an example of the control parameter of the pan/tilt. It provides a realization process of self-tuning operation of the force information of the motor, including the following steps:
  • the adjustment of the response speed of the load pose can be achieved through the adjustment of the motor strength value. Adjusting the motor strength value can affect the speed of the position control and reduce the attitude error of the pan/tilt.
  • the motor strength value is related to the inertia of the load, the corresponding setting strategy is: mapping according to the inertia of the load, the larger the inertia, the smaller the corresponding motor strength value.
  • the analysis and identification of whether the pan/tilt is in a static state is effectively realized, and the implementation method is simple, timely, and at the same time It also improves the speed and quality of identifying whether the pan/tilt is in a static state.
  • FIG. 10 is a schematic diagram of the third process of determining whether the control parameters of the pan/tilt and the load set on the pan/tilt match according to the operating status information provided by an embodiment of the present invention; on the basis of the above-mentioned embodiment, continue to refer to FIG. 10
  • this embodiment provides yet another achievable way to determine whether the control parameters of the pan/tilt match the load set on the pan/tilt according to the operating status information.
  • determining whether the control parameters of the pan-tilt and the load set on the pan-tilt match according to the operating status information may include:
  • the method for detecting the target attitude of the PTZ without changing includes the following steps:
  • step12 Analyze and compare the posture difference with the preset posture threshold target threshold , and determine whether the target posture of the pan/tilt has changed according to the result of the analysis and comparison.
  • the detection method for the excessive control error of the pan/tilt includes the following steps:
  • error times error_count x , error_count y and error_count z are analyzed and compared with the corresponding times threshold error_times threshold respectively.
  • step31 Obtain the torque frequency spectrum information, and determine the frequency spectrum peak information in the torque frequency spectrum information.
  • the pan/tilt jitter is determined. If the spectrum peak information torq peak ⁇ the peak threshold torq_peak_threshold, it is determined that the pan/tilt is not jittered.
  • the auto-tuning conditions include: the motor shaft angle of the motor on the gimbal is in the preset angle range; the axis of the base of the gimbal The angle between the vertical direction and the vertical direction is less than the preset angle threshold.
  • the motor shaft angle of the motor on the pan/tilt is in the preset angle range, it can be said that the pan/tilt is in the centered state at this time.
  • the detection time period is a time period after the pan/tilt is in a preset working state.
  • the first processor 11 detects whether the pan/tilt satisfies the preset condition, the first processor 11 is also used to: obtain the current target posture corresponding to the current moment of the pan/tilt and the previous moment of the pan/tilt. Determine the attitude error between the current target attitude and the historical target attitude; when the attitude error is less than the preset attitude threshold, determine that the target attitude of the gimbal remains unchanged, or if the attitude error is greater than or equal to the preset attitude When the attitude threshold is determined, the target attitude of the gimbal is determined to change.
  • the preset change condition includes at least one of the following: the output torque information changes from a preset maximum torque threshold to a preset minimum torque threshold; the output torque information changes from a preset minimum torque threshold to a preset maximum torque threshold .
  • the first processor 11 determines whether the control parameters of the pan/tilt are matched with the load set on the pan/tilt according to the operating state information
  • the first processor 11 is further configured to: obtain spectral peak information in the torque spectral information ; When the spectral peak information is greater than or equal to the preset peak threshold, it is determined that the control parameter does not match the load set on the pan/tilt.
  • FIG. 14 is a schematic structural diagram of a handheld pan/tilt provided by an embodiment of the present invention; as shown in FIG. 14, this embodiment provides a handheld pan/tilt, which can execute the pan/tilt shown in FIG. 2 above ⁇ Control methods.
  • the handheld PTZ may include:
  • the second processor 21 is configured to run a computer program stored in the second memory 22 to implement the above-mentioned pan-tilt control method in FIGS. 2 to 12.
  • the pan/tilt 102 is installed on the fuselage 100.
  • the pan-tilt 102 is as shown in FIG. 13. It should be noted that for the pan/tilt 102, the fuselage 100 carrying the pan/tilt 102 is equivalent to the base of the pan/tilt 102. Therefore, the angle between the fuselage 100 and the vertical direction is less than the preset angle threshold. At time, the angle between the axis of the base of the pan/tilt head 102 and the vertical direction is smaller than the preset angle threshold.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present invention 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.
  • the aforementioned storage media include: U disk, mobile hard disk, Read-Only Memory (ROM), Random Access Memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Studio Devices (AREA)
  • Accessories Of Cameras (AREA)

Abstract

A gimbal control method, a gimbal, an unmanned aerial vehicle, and a storage medium. The method comprises: obtaining the operation state information of the gimbal in a preset detection time period (S201); determining, according to the operation state information, whether control parameters of the gimbal match the load configured on the gimbal (S202); and if the control parameters of the gimbal do not match the load configured on the gimbal, determining that the load configured on the gimbal is changed (S203). By obtaining the operation state information of the gimbal, determining, according to the operation state information, whether the control parameters of the gimbal match the load configured on the gimbal, and if the control parameters of the gimbal do not match the load configured on the gimbal, accurately and effectively determining that the load configured on the gimbal is changed, the gimbal can automatically recognize whether the load is changed, thereby improving the timeliness and reliability of the recognition of the matching degree between the load and the gimbal, and improving the stability and reliability of the gimbal control.

Description

云台的控制方法、云台、无人飞行器和存储介质Control method of gimbal, gimbal, unmanned aerial vehicle and storage medium 技术领域Technical field
本发明实施例涉及云台技术领域,尤其涉及一种云台的控制方法、云台、无人飞行器和存储介质。The embodiment of the present invention relates to the technical field of a pan/tilt, in particular to a method for controlling a pan/tilt, a pan/tilt, an unmanned aerial vehicle, and a storage medium.
背景技术Background technique
可变载荷的稳定器可以适配不同的载荷,例如:各种相机和镜头的组合等,其在尺寸、质量上的差异、以及不同的安装位置和结构受力状态会导致不同的动力学模型参数和频率响应特性。在稳定器进行工作时,往往是通过人为操作来识别稳定器上的负载是否发生更换,而当用户疏漏该操作时,会导致在负载发生更换之后,稳定器仍然采用统一的控制参数对稳定器进行控制,这将无法很好地适配负载的变化,进而会影响稳定器的增稳性能。The variable load stabilizer can adapt to different loads, for example: various camera and lens combinations, etc., the difference in size, quality, and different installation positions and structural stress states will lead to different dynamic models Parameters and frequency response characteristics. When the stabilizer is working, it is often through manual operation to identify whether the load on the stabilizer has been replaced, and when the user neglects this operation, it will cause the stabilizer to still adopt unified control parameters to the stabilizer after the load is replaced. For control, it will not be able to adapt to the load changes well, which will affect the stability enhancement performance of the stabilizer.
发明内容Summary of the invention
本发明实施例提供了一种云台的控制方法、云台、无人飞行器和存储介质,用于解决现有技术中存在的通过人为操作来识别稳定器上的负载是否发生更换,并且,在负载发生更换之后,采用统一的控制参数对稳定器进行控制时,影响稳定器的增稳性能的问题。The embodiment of the present invention provides a pan/tilt control method, a pan/tilt, an unmanned aerial vehicle, and a storage medium, which are used to solve the problem of identifying whether the load on the stabilizer has been replaced through manual operation in the prior art, and After the load is replaced, when the stabilizer is controlled by unified control parameters, it affects the stability enhancement performance of the stabilizer.
本发明的第一方面是为了提供一种云台的控制方法,包括:The first aspect of the present invention is to provide a method for controlling a PTZ, including:
在预设的检测时间段内,获取云台的运行状态信息;Obtain the operating status information of the PTZ in the preset detection time period;
根据所述运行状态信息确定所述云台的控制参数与设置于所述云台上的负载是否相匹配;Determining whether the control parameters of the pan-tilt and the load set on the pan-tilt match according to the operating status information;
在所述云台的控制参数与设置于所述云台上的负载不匹配时,确定设置于所述云台上的负载发生更换。When the control parameter of the pan/tilt does not match the load set on the pan/tilt, it is determined that the load set on the pan/tilt is replaced.
本发明的第二方面是为了提供一种云台,包括:The second aspect of the present invention is to provide a pan-tilt, including:
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于运行所述存储器中存储的计算机程序以实现:The processor is configured to run a computer program stored in the memory to realize:
在预设的检测时间段内,获取云台的运行状态信息;Obtain the operating status information of the PTZ in the preset detection time period;
根据所述运行状态信息确定所述云台的控制参数与设置于所述云台上的负载是否相匹配;Determining whether the control parameters of the pan-tilt and the load set on the pan-tilt match according to the operating status information;
在所述云台的控制参数与设置于所述云台上的负载不匹配时,确定设置于所述云台上的负载发生更换。When the control parameter of the pan/tilt does not match the load set on the pan/tilt, it is determined that the load set on the pan/tilt is replaced.
本发明的第三方面是为了提供一种手持云台,包括:The third aspect of the present invention is to provide a handheld PTZ, including:
手持部;Handheld
上述第二方面所述的云台,安装于所述手持部上。The pan-tilt described in the second aspect is installed on the hand-held part.
本发明的第四方面是为了提供一种无人飞行器,包括:The fourth aspect of the present invention is to provide an unmanned aerial vehicle, including:
机身;body;
动力系统,安装在所述机身,用于为所述无人飞行器提供动力;A power system installed on the fuselage and used to provide power for the unmanned aerial vehicle;
上述第二方面所述的云台,安装于所述机身上。The pan/tilt head described in the above second aspect is mounted on the fuselage.
本发明的第五方面是为了提供一种计算机可读存储介质,所述存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序指令用于第一方面所述的云台的控制方法。The fifth aspect of the present invention is to provide a computer-readable storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used in the first aspect. The control method of the PTZ described above.
本发明实施例提供的云台的控制方法、云台、无人飞行器和存储介质,通过获取云台的运行状态信息,根据运行状态信息可以识别云台的控制参数与设置于云台上的负载是否相匹配,在云台的控制参数与设置于云台上的负载不匹配时,可以准确有效地确定设置于云台上的负载已经发生更换,有效地实现了自动识别位于云台上的负载是否发生更换的过程,提高了对负载与云台之间匹配度识别的及时性和可靠性,并且有利于对云台进行控制的稳定可靠性,进一步提高了该方法的实用性,有利于市场的推广与应用。The control method of the pan/tilt, the pan/tilt, the unmanned aerial vehicle, and the storage medium provided by the embodiment of the present invention can identify the control parameters of the pan/tilt and the load set on the pan/tilt by acquiring the operating state information of the pan/tilt. Whether it matches or not, when the control parameters of the pan/tilt do not match the load set on the pan/tilt, it can be accurately and effectively determined that the load set on the pan/tilt has been replaced, effectively realizing automatic identification of the load on the pan/tilt. Whether the replacement process occurs, improves the timeliness and reliability of the recognition of the matching degree between the load and the pan/tilt, and is conducive to the stability and reliability of the control of the pan/tilt, and further improves the practicability of the method, which is beneficial to the market Promotion and application.
附图说明Description of the drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The exemplary embodiments and descriptions of the application are used to explain the application, and do not constitute an improper limitation of the application. In the attached picture:
图1为本发明实施例提供的稳定器的原理示意图;Figure 1 is a schematic diagram of the principle of a stabilizer provided by an embodiment of the present invention;
图2为本发明实施例提供的一种云台的控制方法的流程示意图;FIG. 2 is a schematic flowchart of a method for controlling a PTZ according to an embodiment of the present invention;
图3为本发明实施例提供的另一种云台的控制方法的流程示意图;FIG. 3 is a schematic flowchart of another method for controlling a PTZ according to an embodiment of the present invention;
图4为本发明实施例提供的又一种云台的控制方法的流程示意图;4 is a schematic flowchart of another method for controlling a pan/tilt head according to an embodiment of the present invention;
图5为本发明实施例提供的检测所述云台是否满足预设条件的流程示意图一;FIG. 5 is a schematic diagram 1 of a process for detecting whether the pan-tilt meets preset conditions according to an embodiment of the present invention;
图6为本发明实施例提供的根据所述加速度信息识别所述云台是否处于静止状态的流程示意图;6 is a schematic diagram of a process of identifying whether the pan/tilt is in a stationary state according to the acceleration information according to an embodiment of the present invention;
图7为本发明实施例提供的检测所述云台是否满足预设条件的流程示意图二;FIG. 7 is a second schematic diagram of a process for detecting whether the pan-tilt meets preset conditions according to an embodiment of the present invention;
图8为本发明实施例提供的根据所述运行状态信息确定所述云台的控制参数与设置于所述云台上的负载是否相匹配的流程示意图一;FIG. 8 is a schematic diagram 1 of the process of determining whether the control parameters of the pan-tilt and the load set on the pan-tilt match according to the operating status information according to an embodiment of the present invention;
图9为本发明实施例提供的根据所述运行状态信息确定所述云台的控制参数与设置于所述云台上的负载是否相匹配的流程示意图二;FIG. 9 is a second schematic diagram of the process of determining whether the control parameters of the pan/tilt and the load set on the pan/tilt match according to the operating state information according to an embodiment of the present invention;
图10为本发明实施例提供的根据所述运行状态信息确定所述云台的控制参数与设置于所述云台上的负载是否相匹配的流程示意图三;FIG. 10 is a schematic diagram 3 of the process of determining whether the control parameters of the pan-tilt and the load set on the pan-tilt match according to the operating state information according to an embodiment of the present invention;
图11为本发明应用实施例提供的力矩跳变检测的流程示意图;FIG. 11 is a schematic flow chart of torque jump detection provided by an application embodiment of the present invention;
图12为本发明应用实施例提供的控制参数进行自整定操作的流程示意图;FIG. 12 is a schematic diagram of a flow chart of the self-tuning operation of the control parameters provided by the application embodiment of the present invention;
图13为本发明实施例提供的一种云台的结构示意图;FIG. 13 is a schematic structural diagram of a pan-tilt according to an embodiment of the present invention;
图14为本发明实施例提供的一种手持云台的结构示意图;Figure 14 is a schematic structural diagram of a handheld pan/tilt provided by an embodiment of the present invention;
图15为本发明实施例提供的一种无人飞行器的结构示意图。FIG. 15 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention.
为了能够理解本实施例中技术方案的具体实现过程,首先,结合附图1对稳定器的工作原理进行说明,具体的,先检测摄像设备的实际姿态,将实际姿态与目标姿态进行比较,获得控制偏差;而后根据控制偏差进行负反馈控制,基于控制偏差确定稳定器中的电机力矩,而后将电机力矩发送至稳定器 中的电机,以减小控制偏差,保证摄像设备的实际姿态和目标姿态偏差尽量小,从而使得摄像设备拍摄的图像尽量稳定,或使得摄像设备的实际姿态尽量趋近目标姿态而以目标姿态进行拍摄。In order to understand the specific implementation process of the technical solution in this embodiment, first, the working principle of the stabilizer will be described with reference to Figure 1. Specifically, the actual posture of the camera device is detected first, and the actual posture is compared with the target posture to obtain Control deviation; then perform negative feedback control according to the control deviation, determine the motor torque in the stabilizer based on the control deviation, and then send the motor torque to the motor in the stabilizer to reduce the control deviation and ensure the actual posture and target posture of the camera equipment The deviation is as small as possible, so that the image captured by the camera device is as stable as possible, or the actual posture of the camera device is as close as possible to the target posture and the shooting is performed in the target posture.
在具体应用时,稳定器可以适配不同的载荷,例如:各种相机和镜头的组合等,其在尺寸、质量上的差异,以及不同的安装位置和结构受力状态会导致不同的动力学模型参数和频率响应特性。在负载发生更换之后,若稳定器仍然采用统一的控制参数对稳定器进行控制时,无法很好地适配负载的变化,将会对稳定器的控制性能带来影响。也即,负载的更换会影响云台的控制性能的变化,例如,控制性能的下降。In specific applications, the stabilizer can be adapted to different loads, such as: various camera and lens combinations, etc., the difference in size and quality, and different installation positions and structural stress conditions will lead to different dynamics Model parameters and frequency response characteristics. After the load is replaced, if the stabilizer still uses uniform control parameters to control the stabilizer, it will not be able to adapt to the load change well, which will affect the control performance of the stabilizer. That is, the change of the load will affect the change of the control performance of the pan-tilt, for example, the decrease of the control performance.
目前,针对可变负载稳定器而言,其控制参数的适配方法包括如下几种类型:At present, for the variable load stabilizer, the adaptation methods of its control parameters include the following types:
1、控制参数不可调节的稳定器,只能适配一定形状、重量范围内的载荷,超出额定的范围,无法达到较好的控制效果。1. The stabilizer with non-adjustable control parameters can only adapt to loads within a certain shape and weight range. If it exceeds the rated range, it cannot achieve a better control effect.
2、控制参数按照高、中、低三档(或者更多档位)选择的稳定器,需要用户判断和选择控制的档位,选择的余地较小。2. The control parameters of the stabilizer selected according to the high, medium and low gears (or more gears) require the user to judge and select the controlled gear, and the choice is small.
3、可以手动调节控制参数,如力度和强度的稳定器,需要用户根据载荷的形状、重量、以及实际的控制效果,主观调节电机的力度和负载位姿的响应速度强度,以达到较好的控制效果。3. You can manually adjust the control parameters, such as the strength and strength of the stabilizer. The user needs to subjectively adjust the strength of the motor and the response speed of the load pose according to the shape, weight, and actual control effect of the load to achieve better Control effect.
4、控制参数自整定的稳定器,用户在更换负载之后,手动触发该功能;其中,控制参数自整定是指通过系统辨识的方法对稳定器和相机组合这一被控对象的模型参数进行辨识,根据辨识得到的模型调整控制参数的配置,从而使得稳定器适配不同载荷时都能达到很好的控制性能。4. For the stabilizer with self-tuning control parameters, the user can manually trigger the function after changing the load; among them, the self-tuning of control parameters refers to the identification of the model parameters of the controlled object, the combination of the stabilizer and the camera, through the method of system identification. , Adjust the configuration of control parameters according to the identified model, so that the stabilizer can achieve good control performance when adapting to different loads.
对于上述四种控制方式,上述的第2、3、4的调整方法而言,方法可支持的载荷范围要较大一些,但是均存在更换负载后,需要用户自主确定负载发生更换、自主选择控制参数、或者由用户触发控制参数自整定的功能。For the above four control methods, the second, third, and fourth adjustment methods mentioned above have a larger load range supported by the method. However, after the load is replaced, the user needs to determine the load replacement and choose the control independently. Parameters, or the function of controlling parameter self-tuning triggered by the user.
因此,及时准确识别出稳定器更换了负载,并且自适应调整稳定器的控制参数,对于提高稳定器的可靠性、增稳性能、延长使用寿命、保护负载不受损害、提升用户体验均具有重要的意义。Therefore, timely and accurate identification of the stabilizer replacement load, and adaptive adjustment of the stabilizer control parameters are important for improving the reliability of the stabilizer, increasing the stability, extending the service life, protecting the load from damage, and improving the user experience. Meaning.
其中,经发现,负载的变化可以通过控制参数的变化来关联体现,也即在负载未发生更换的情况下,控制参数可以不发生变化。稳定器的控制性能的效果可以由控制参数的强弱来体现,例如,对于稳定器而言,在稳定器的 控制参数过弱时,对稳定器的控制误差过大,增稳效果变差或拍摄位姿无法达到期望;在稳定器的控制参数过强时,会导致稳定器抖动,从而引发稳定器上的电机出力异常。上述两个问题均是能够影响稳定器正常使用的问题,并且抖动会影响负载的可靠性。因此,可以通过控制参数与稳定器的运行状态信息的关联来识别控制参数的变化,进而识别负载的变化。Among them, it has been found that the change of the load can be reflected by the change of the control parameter, that is, the control parameter may not change when the load is not changed. The effect of the control performance of the stabilizer can be reflected by the strength of the control parameters. For example, for the stabilizer, when the control parameter of the stabilizer is too weak, the control error of the stabilizer is too large, and the stability enhancement effect becomes poor or The shooting pose cannot meet expectations; when the control parameters of the stabilizer are too strong, it will cause the stabilizer to shake, which will cause abnormal output of the motor on the stabilizer. The above two problems are problems that can affect the normal use of the stabilizer, and jitter will affect the reliability of the load. Therefore, the change of the control parameter can be identified through the association of the control parameter and the operating state information of the stabilizer, and then the change of the load can be identified.
下面结合附图,对本发明的一些实施方式作详细说明。在各实施例之间不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。In the following, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. As long as there is no conflict between the embodiments, the following embodiments and the features in the embodiments can be combined with each other.
图2为本发明实施例提供的一种云台的控制方法的流程示意图;参考附图2所示,为了解决上述问题,以云台作为稳定器为例,本实施例提供了一种云台的控制方法,该方法可以解决可变载荷稳定器在更换负载后,因为云台参数与负载不匹配而导致的问题,例如:控制参数与负载不匹配导致的控制误差大、云台抖动问题。具体的,该方法可以包括:Figure 2 is a schematic flow chart of a method for controlling a pan/tilt head provided by an embodiment of the present invention; referring to FIG. 2, in order to solve the above problem, taking the pan/tilt head as a stabilizer as an example, this embodiment provides a pan/tilt head This method can solve the problems caused by the mismatch between the pan/tilt parameters and the load after the variable load stabilizer changes the load, such as the large control error and pan/tilt jitter caused by the mismatch of the control parameters and the load. Specifically, the method may include:
S201:在预设的检测时间段内,获取云台的运行状态信息。S201: Obtain the operating state information of the pan/tilt during a preset detection time period.
对于云台而言,其运行状态可以包括:关机状态、开机状态、工作状态、休眠状态和唤醒状态;本实施例中的检测时间段可以是云台处于预设工作状态之后的时间段,此时,预设工作状态可以包括以下至少之一:开机状态、唤醒状态。另外,本实施例对于检测时间段的时间长短不做限定,本领域技术人员可以根据具体的应用场景和设计需求进行设置,例如:检测时间段可以为5min、10min、15min或者30min等等。For the pan/tilt, its operating state may include: shutdown state, power-on state, working state, sleep state, and wake-up state; the detection time period in this embodiment may be the time period after the pan/tilt is in the preset working state. When the time, the preset working state may include at least one of the following: a power-on state and a wake-up state. In addition, this embodiment does not limit the length of the detection time period. Those skilled in the art can set it according to specific application scenarios and design requirements. For example, the detection time period may be 5 min, 10 min, 15 min, or 30 min.
在云台处于预设工作状态之后,可以在预设的检测时间段内获取云台的运行状态信息,该运行状态信息可以包括以下至少之一:云台在至少一个方向上的控制误差、与云台上电机的力度信息相对应的运行参数。其中,运行参数包括以下至少之一:输出力矩信息、力矩频谱信息。After the pan/tilt is in the preset working state, the operating state information of the pan/tilt may be acquired within the preset detection time period, and the operating state information may include at least one of the following: the control error of the pan/tilt in at least one direction, and The operating parameters corresponding to the force information of the motor on the pan/tilt. Among them, the operating parameters include at least one of the following: output torque information and torque frequency spectrum information.
可以理解的是,本实例中的运行状态信息并不限于上述举例说明,还可以包括其他信息,例如:与云台上电机相对应的电流信息、电压信息、输出力矩信息等等,本领域技术人员可以根据具体的应用需求来设置不同的运行状态信息,在此不再赘述。It is understandable that the operating status information in this example is not limited to the above examples, and may also include other information, such as current information, voltage information, output torque information, etc. corresponding to the motor on the pan/tilt. Personnel can set different operating status information according to specific application requirements, which will not be repeated here.
S202:根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配。S202: Determine whether the control parameters of the pan-tilt and the load set on the pan-tilt match according to the operating status information.
在获取到运行状态信息之后,可以对运行状态信息进行分析处理,从而可以确定云台的控制参数与设置于云台上的负载是否相匹配,其中,控制参 数可以包括以下至少之一:云台上电机的力度信息、对负载位姿的响应速度、云台上滤波器的配置参数。具体的,本实施例对于根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配的具体实现方式不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,例如:在运行状态信息包括云台在至少一个方向上的控制误差时,可以将控制误差与预设阈值进行比较,在控制误差大于预设阈值时,则可以确定云台的控制参数与设置于云台上的负载不匹配,在控制误差小于或等于预设阈值时,则可以确定云台的控制参数与设置于云台上的负载相匹配。After the operating status information is obtained, the operating status information can be analyzed and processed, so as to determine whether the control parameters of the pan/tilt match the load set on the pan/tilt, wherein the control parameters may include at least one of the following: The strength information of the upper motor, the response speed to the load pose, and the configuration parameters of the filter on the pan/tilt. Specifically, this embodiment does not limit the specific implementation method for determining whether the control parameters of the pan/tilt are matched with the load set on the pan/tilt based on the operating status information. Those skilled in the art can perform this according to specific application requirements and design requirements. Setting, for example: when the operating status information includes the control error of the pan/tilt in at least one direction, the control error can be compared with a preset threshold, and when the control error is greater than the preset threshold, the control parameters of the pan/tilt can be determined The load set on the pan/tilt does not match, and when the control error is less than or equal to the preset threshold, it can be determined that the control parameter of the pan/tilt matches the load set on the pan/tilt.
当然的,本领域技术人员也可以采用其他的方式来确定云台的控制参数与设置于云台上的负载是否相匹配,只要能够保证对云台的控制参数与设置于云台上的负载是否相匹配进行分析处理的准确可靠性即可,在此不再赘述。Of course, those skilled in the art can also use other methods to determine whether the control parameters of the pan/tilt match the load set on the pan/tilt, as long as the control parameters of the pan/tilt and the load set on the pan/tilt can be guaranteed. It is sufficient to match the accuracy and reliability of the analysis and processing, and will not be repeated here.
S203:在云台的控制参数与设置于云台上的负载不匹配时,确定设置于云台上的负载发生更换。S203: When the control parameter of the pan/tilt does not match the load set on the pan/tilt, it is determined that the load set on the pan/tilt is replaced.
在云台的控制参数与设置于云台上的负载不匹配时,则可以确定设置于云台上的负载已经发生更换,更换后的负载与云台的控制参数相互不适应,此时,对于云台而言,若采用历史的控制参数对云台进行控制时,云台的控制性能不符合预期条件,例如,会有所下降。具体的,控制性能下降的表现可以包括:控制参数过弱和控制参数过强,在控制参数过弱时,对云台进行控制的控制误差会较大;在控制参数过强时,容易导致云台抖动,从而降低负载工作的稳定可靠性。其中,云台上的负载发生更换可以包括但不限于由一个负载更换为另一个负载,或者是同一个负载的安装位置、尺寸、结构等发生变化。When the control parameters of the pan/tilt do not match the load set on the pan/tilt, it can be determined that the load set on the pan/tilt has been replaced, and the changed load and the control parameters of the pan/tilt are not compatible with each other. As for the pan/tilt, if the historical control parameters are used to control the pan/tilt, the control performance of the pan/tilt does not meet the expected conditions, for example, it will decrease. Specifically, the performance of the control performance degradation may include: control parameters are too weak and control parameters are too strong, when the control parameters are too weak, the control error of controlling the pan/tilt will be larger; when the control parameters are too strong, it is easy to cause cloud Station jitter, thereby reducing the stability and reliability of load work. Wherein, the change of the load on the pan/tilt may include, but is not limited to, changing from one load to another load, or changing the installation position, size, structure, etc. of the same load.
具体的,在云台的控制参数与设置于云台上的负载不匹配时,可以对云台进行自整定操作,或也可以提示用户对云台进行整定操作,以使得云台的控制参数与设置于云台上的负载匹配。Specifically, when the control parameters of the pan/tilt do not match the load set on the pan/tilt, the pan/tilt may be self-tuning, or the user may be prompted to perform a tuning operation on the pan/tilt, so that the control parameters of the pan/tilt are in line with the load set on the pan/tilt. Load matching set on the pan/tilt.
本实施例提供的云台的控制方法,通过获取云台的运行状态信息,根据运行状态信息可以识别云台的控制参数与设置于云台上的负载是否相匹配,在云台的控制参数与设置于云台上的负载不匹配时,可以准确有效地确定设置于云台上的负载已经发生更换,有效地实现了自动识别位于云台上的负载是否发生更换的过程,提高了对负载与云台之间匹配度识别的及时性和可靠性,并且有利于对云台进行控制的稳定可靠性,进一步提高了该方法的实用 性,有利于市场的推广与应用。The control method of the pan/tilt provided in this embodiment can identify whether the control parameters of the pan/tilt match the load set on the pan/tilt by obtaining the operating state information of the pan/tilt. When the load set on the pan/tilt does not match, it can be accurately and effectively determined that the load set on the pan/tilt has been replaced, and the process of automatically identifying whether the load on the pan/tilt The timeliness and reliability of the recognition of the matching degree between the pan/tilt platforms are conducive to the stability and reliability of the control of the pan/tilt platforms, which further improves the practicability of the method and is beneficial to market promotion and application.
图3为本发明实施例提供的另一种云台的控制方法的流程示意图;在上述实施例的基础上,继续参考附图3所示,在确定设置于云台上的负载发生更换之后,本实施例中的方法还可以包括:Fig. 3 is a schematic flow chart of another method for controlling the pan/tilt head provided by an embodiment of the present invention; on the basis of the above-mentioned embodiment, referring to Fig. 3, after determining that the load set on the pan/tilt head has been replaced, The method in this embodiment may further include:
S301:检测云台是否满足预设的自整定条件。S301: Detect whether the pan/tilt meets preset self-tuning conditions.
在确定设置于云台上的负载发生更换之后,若采用与云台相对应的历史控制参数对云台以及设置于云台上的负载进行控制,容易出现控制误差大、云台抖动等问题。因此,为了避免出现上述问题,可以通过对云台的控制参数进行自整定操作来实现对云台的控制参数进行调整。具体的,可以先检测云台是否满足预设的自整定条件,在云台满足预设的自整定条件时,可以排除云台受到影响自整定操作的外界干扰,也可以使得云台在一基准条件下完成自整定操作。其中,本实施例中的自整定条件是指在对云台进行自整定操作之前,云台所需要满足的状态条件,具体的,自整定条件可以包括:云台上电机的电机轴角度处于预设角度范围;云台的基座的轴线与竖直方向之间的夹角小于预设的角度阈值。其中,预设角度范围是与预设0位置相对应的角度范围,本实施例对于其具体的数值范围不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,例如:预设角度范围可以为-5°至5°、-3°至3°或者-1°至1°等等。在云台上的电机的电机轴角度为上述预设角度范围中的任意一个值(包括边界值)时,则可以确定云台上的电机轴角度处于预设角度范围。After determining that the load set on the pan/tilt has been replaced, if historical control parameters corresponding to the pan/tilt are used to control the pan/tilt and the load set on the pan/tilt, problems such as large control errors and pan/tilt jitter are likely to occur. Therefore, in order to avoid the above-mentioned problems, the control parameters of the pan/tilt can be adjusted by performing self-tuning operations on the control parameters of the pan/tilt. Specifically, it can first detect whether the pan/tilt meets the preset self-tuning conditions. When the pan/tilt meets the preset self-tuning conditions, the pan/tilt can be excluded from external interference that affects the auto-tuning operation, or the pan/tilt can be set to a reference Complete the auto-tuning operation under the conditions. Among them, the auto-tuning conditions in this embodiment refer to the state conditions that the gimbal needs to meet before the gimbal is self-tuning. Specifically, the auto-tuning conditions may include: the motor shaft angle of the motor on the gimbal is at a preset Angle range; the angle between the axis of the base of the pan/tilt head and the vertical direction is less than the preset angle threshold. Among them, the preset angle range is the angle range corresponding to the preset 0 position. The specific numerical range is not limited in this embodiment. Those skilled in the art can set it according to specific application requirements and design requirements, for example: The angle range can be -5° to 5°, -3° to 3°, or -1° to 1°, and so on. When the motor shaft angle of the motor on the pan/tilt head is any value (including the boundary value) in the aforementioned preset angle range, it can be determined that the motor shaft angle on the pan/tilt head is within the preset angle range.
另外,云台的基座的轴线是指云台的基座可以绕着旋转的一条直线(例如,与基座的纵截面平行的一条直线),也叫中轴线,本实施例中云台的基座的轴线与竖直方向之间的夹角小于预设的角度阈值,即云台基本处于水平状态。具体的,本实施例中的角度阈值是预先设置的用于识别云台是否处于水平状态的阈值信息,本实施例对于其具体的数值范围不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,例如:角度阈值0.5°、0.3°或者0.1°等等;具体的,在云台的基座的轴线与竖直方向之间的夹角小于上述的角度阈值时,则可以确定云台基本处于水平状态,在云台的基座的轴线与竖直方向之间的夹角大于或等于上述的角度阈值时,则可以确定云台未处于水平状态。In addition, the axis of the base of the pan/tilt refers to a straight line around which the base of the pan/tilt can rotate (for example, a straight line parallel to the longitudinal section of the base), which is also called the central axis. The angle between the axis of the base and the vertical direction is smaller than the preset angle threshold, that is, the pan/tilt is basically in a horizontal state. Specifically, the angle threshold in this embodiment is preset threshold information for identifying whether the pan/tilt is in a horizontal state. This embodiment does not limit its specific value range, and those skilled in the art can follow specific application requirements. Set according to design requirements, such as: angle threshold 0.5°, 0.3° or 0.1°, etc.; specifically, when the angle between the axis of the base of the pan/tilt and the vertical direction is less than the above-mentioned angle threshold, you can It is determined that the pan/tilt is basically in a horizontal state, and when the angle between the axis of the base of the pan/tilt and the vertical direction is greater than or equal to the above-mentioned angle threshold, it can be determined that the pan/tilt is not in a horizontal state.
需要注意的是,在检测云台是否满足预设的自整定条件时,需要同时对 云台上电机的电机轴角度和云台的基座的轴线与竖直方向之间的夹角进行检测,只有在云台上电机的电机轴角度处于预设角度范围,同时云台的基座的轴线与竖直方向之间的夹角小于预设的角度阈值时,才确定云台满足了预设的自整定条件,其他情况均为云台不满足自整定条件的情况。It should be noted that when detecting whether the pan/tilt meets the preset self-tuning conditions, it is necessary to detect the angle between the motor shaft angle of the pan/tilt motor and the axis of the base of the pan/tilt and the vertical direction at the same time. Only when the motor shaft angle of the motor on the gimbal is in the preset angle range, and the angle between the axis of the base of the gimbal and the vertical direction is less than the preset angle threshold, it is determined that the gimbal meets the preset angle. Auto-tuning conditions, other conditions are the cases where the pan/tilt does not meet the auto-tuning conditions.
S302:在云台满足自整定条件时,则对云台的控制参数进行自整定操作。S302: When the pan/tilt satisfies the self-tuning conditions, perform the self-tuning operation on the control parameters of the pan/tilt.
在确定云台满足上述的自整定条件时,则可以对云台的控制参数进行自整定操作,即以云台的控制参数进行阶跃扰动实验,根据云台的运行状态计算出整定参数值的操作。其中,本实施例对于对云台的控制参数进行自整定操作的具体实现方式不做限定,本领域技术人员可以根据具体的控制参数来设置相应的自整定实现方式,下面以云台上电机的力度信息作为云台的控制参数为例,提供了一种对电机的力度信息进行自整定操作的实现过程,包括如下步骤:When it is determined that the pan/tilt meets the above-mentioned self-tuning conditions, the control parameters of the pan/tilt can be self-tuning, that is, the step disturbance experiment is performed with the control parameters of the pan/tilt, and the setting parameter value is calculated according to the operating state of the pan/tilt. operating. Among them, this embodiment does not limit the specific implementation of the self-tuning operation of the control parameters of the pan/tilt. Those skilled in the art can set the corresponding implementation of the self-tuning according to the specific control parameters. The force information is taken as an example of the control parameter of the pan/tilt. It provides a realization process of self-tuning operation of the force information of the motor, including the following steps:
在预定时间段内,给定目标力矩,使电机上电转动,并测得多个频率点下电机的角速度。作为示例,所述预设时间段可以为5-6秒;在预设时间段内,电机的频率逐渐增大,例如由10Hz增大到100Hz。可以通过陀螺仪采集该频率范围内的多个频率点下的电机的角速度。In a predetermined period of time, given the target torque, the motor is powered on and rotated, and the angular velocity of the motor at multiple frequency points is measured. As an example, the preset time period may be 5-6 seconds; within the preset time period, the frequency of the motor gradually increases, for example, from 10 Hz to 100 Hz. The angular velocity of the motor at multiple frequency points in the frequency range can be collected by the gyroscope.
而后,对各频率点下的角速度进行微分,以得到在各频率点下的角加速度。接着,根据所述目标力矩与所述角加速度的比值求得转动惯量,所述转动惯量与负载的重量相关。Then, the angular velocity at each frequency point is differentiated to obtain the angular acceleration at each frequency point. Then, the moment of inertia is obtained according to the ratio of the target moment to the angular acceleration, and the moment of inertia is related to the weight of the load.
最后,将电机的力度调整为与所述转动惯量相对应的预设力度。由于转动惯量与负载的重量相关,因而与转动惯量相对应的预设力度与负载的重量相匹配。由此,使校准后电机的力度适应于当前负载的重量。Finally, the strength of the motor is adjusted to a preset strength corresponding to the moment of inertia. Since the moment of inertia is related to the weight of the load, the preset force corresponding to the moment of inertia matches the weight of the load. Thus, the strength of the motor after calibration is adapted to the weight of the current load.
进一步的,在通过上述方式对电机进行校准的过程中,还可以设置滤波器进行滤波,以提高云台的增稳性能。其中,所述滤波器的参数可以包括衰减系数、截止频率,通过调整衰减系数、截止频率来实现电机工作过程中的频点滤波。Further, in the process of calibrating the motor in the above-mentioned manner, a filter can also be set for filtering, so as to improve the stability enhancement performance of the pan/tilt. Wherein, the parameters of the filter may include an attenuation coefficient and a cut-off frequency, and frequency point filtering in the working process of the motor is realized by adjusting the attenuation coefficient and the cut-off frequency.
另外,需要说明的是,对负载位姿的响应速度的调节可以通过电机强度值的调节来实现,调整电机强度值可以影响位置控制的快慢程度而减少云台的姿态误差。其中,电机强度值与负载的惯量相关,则对应的整定策略是:按照负载的惯量进行映射,惯量越大,对应的电机强度值越小。In addition, it should be noted that the adjustment of the response speed of the load pose can be achieved through the adjustment of the motor strength value. Adjusting the motor strength value can affect the speed of the position control and reduce the attitude error of the pan/tilt. Among them, the motor strength value is related to the inertia of the load, the corresponding setting strategy is: mapping according to the inertia of the load, the larger the inertia, the smaller the corresponding motor strength value.
通过对云台的控制参数进行自整定操作,可以使得云台的控制参数与云 台上已经更换后的负载相匹配,进而可以保证云台以及设置于云台上的负载的作业质量和效果。By self-tuning the control parameters of the pan/tilt, the control parameters of the pan/tilt can be matched with the load on the pan/tilt that has been replaced, and the quality and effect of the operation of the pan/tilt and the load set on the pan/tilt can be ensured.
可以想到的是,本实施例中的方法还可以包括:It is conceivable that the method in this embodiment may further include:
S304:在云台未满足自整定条件时,生成与云台相对应的状态提醒信息,以提示用户将云台调整为满足预设的自整定条件。S304: When the pan/tilt does not meet the self-tuning condition, a status reminder message corresponding to the pan/tilt is generated to prompt the user to adjust the pan/tilt to meet the preset self-tuning condition.
在云台未满足自整定条件时,而云台的控制参数与云台上的负载不匹配时,则说明云台需要进行自整定操作,此时,为了能够提高云台工作的稳定可靠性,可以生成与云台相对应的状态提醒信息,该状态提醒信息中可以包括有用于标识云台当前未满足自整定条件的标识信息,通过所生成的状态提醒信息可以提醒用户将云台调整为满足预设的自整定条件,以使得云台能够进行自整定的操作。具体应用时,状态提醒信息可以通过声音提醒方式和/或振动提醒方式来提醒用户将云台调整为满足预设的自整定条件。例如:在生成与云台相对应的状态提醒信息之后,可以将状态提醒信息发送至客户端,客户端通过状态提醒信息触发相应的提醒方式,该提醒方式可以包括声音提醒方式和/或振动提醒方式,在触发声音提醒方式时,可以向用户广播预设内容,如“您有新信息,请注意查看”等等;在触发振动提醒方式时,则可以控制客户端进行振动,以提醒用户及时查看相应的状态提醒信息。When the gimbal does not meet the self-tuning conditions, and the control parameters of the gimbal do not match the load on the gimbal, it means that the gimbal needs to be self-tuning. At this time, in order to improve the stability and reliability of the gimbal, The status reminder information corresponding to the PTZ can be generated. The status reminder information may include identification information for identifying that the PTZ currently does not meet the self-tuning conditions. The generated status reminder information can remind the user to adjust the PTZ to meet The preset auto-tuning conditions enable the pan/tilt to perform auto-tuning operations. In a specific application, the status reminder information can remind the user to adjust the pan/tilt to meet the preset self-tuning conditions by means of sound reminders and/or vibration reminders. For example: after generating the status reminder information corresponding to the PTZ, the status reminder information can be sent to the client, and the client triggers the corresponding reminder method through the status reminder information. The reminder method can include sound reminder and/or vibration reminder When the sound reminder mode is triggered, the user can broadcast the preset content, such as "You have new information, please pay attention to check it", etc.; when the vibration reminder mode is triggered, the client can be controlled to vibrate to remind the user in time Check the corresponding status reminder information.
另外,本实施例中的方法还可以包括:In addition, the method in this embodiment may further include:
S305:在云台满足自整定条件时,生成与云台相对应的状态提醒信息,以提示用户云台满足预设的自整定条件。S305: When the pan/tilt satisfies the self-tuning condition, a status reminder message corresponding to the pan/tilt is generated to remind the user that the pan/tilt satisfies the preset self-tuning condition.
在云台的控制参数与云台上的负载不匹配时,则说明云台需要进行自整定操作,此时,若云台满足自整定条件,则可以生成与云台相对应的状态提醒信息,该状态提醒信息中可以包括有用于标识云台满足自整定条件的标识信息,通过所生成的状态提醒信息可以提醒用户云台能够进行自整定操作,同样的,状态提醒信息可以通过声音提醒方式和/或振动提醒方式来提醒用户云台当前的状态满足自整定条件,并可以进行相应的自整定操作。When the control parameters of the pan/tilt do not match the load on the pan/tilt, it means that the pan/tilt needs to be self-tuning. At this time, if the pan/tilt meets the self-tuning conditions, it can generate status reminders corresponding to the pan/tilt. The status reminder information can include identification information for identifying that the pan/tilt meets the self-tuning conditions. The generated status reminder information can remind the user that the pan/tilt can perform the self-tuning operation. Similarly, the status reminder information can be reminded by sound and / Or vibration reminding method to remind the user that the current state of the PTZ satisfies the self-tuning conditions, and the corresponding self-tuning operation can be performed.
本实施例中,在确定设置于云台上的负载发生更换之后,通过检测云台是否满足预设的自整定条件,并且在云台满足自整定条件时,可以对云台的控制参数进行自整定操作,从而有效地实现了对云台的控制参数进行自适应调整的过程,使得云台的控制参数与云台上发生更换的负载相匹配,不仅保证了云台和负载工作的质量和效果,并且也提高了云台的增稳性能,进一步 提高了该方法的实用性。In this embodiment, after it is determined that the load set on the pan/tilt has been replaced, it is detected whether the pan/tilt satisfies the preset self-tuning conditions, and when the pan/tilt satisfies the self-tuning conditions, the control parameters of the pan/tilt can be automatically adjusted. The tuning operation effectively realizes the process of adaptively adjusting the control parameters of the pan/tilt, so that the control parameters of the pan/tilt match the load that occurs on the pan/tilt, which not only guarantees the quality and effect of the pan/tilt and the load. And it also improves the stabilization performance of the pan/tilt, and further improves the practicability of the method.
图4为本发明实施例提供的又一种云台的控制方法的流程示意图;在上述实施例的基础上,继续参考附图4所示,由于云台的控制性能下降的原因并不限于设置于云台上的负载发生更换,还包括其他情况,例如:云台处于运动状态,或者,云台的目标姿态发生变化等等;为了能够排除因其他情况而导致的云台的控制性能下降,进一步提高该方法使用的准确可靠性,本实施例中的运行状态信息可以包括云台在至少一个方向上的控制误差,此时,在获取云台的运行状态信息之前,本实施例中的方法还可以包括:Figure 4 is a schematic flow diagram of another method for controlling a pan/tilt head provided by an embodiment of the present invention; on the basis of the above-mentioned embodiment, referring to FIG. 4, the reason for the decrease in the control performance of the pan/tilt head is not limited to the setting When the load on the pan/tilt is replaced, it also includes other situations, such as: the pan/tilt is in motion, or the target attitude of the pan/tilt changes, etc.; in order to be able to eliminate the decrease in the control performance of the pan/tilt caused by other conditions, To further improve the accuracy and reliability of the method, the operating status information in this embodiment may include the control error of the pan/tilt in at least one direction. At this time, before obtaining the operating status information of the pan/tilt, the method in this embodiment It can also include:
S401:检测云台是否满足预设条件。S401: Detect whether the pan/tilt meets a preset condition.
S402:在云台满足预设条件时,则在预设的检测时间段内,获取云台的运行状态信息。S402: When the pan/tilt meets the preset condition, obtain the operating state information of the pan/tilt within the preset detection time period.
在获取云台的运行状态信息时,为了保证运行状态信息获取的及时可靠性,可以先检测云台是否满足预设条件,该预设条件可以包括以下至少之一:云台处于静止状态;云台的目标姿态保持不变。具体的,在预设条件包括云台处于静止状态时,参考附图5所示,本实施例中的检测云台是否满足预设条件可以包括:When acquiring the operating status information of the pan/tilt, in order to ensure the timely reliability of the acquisition of the operating status information, it is possible to first detect whether the pan/tilt meets a preset condition, and the preset condition may include at least one of the following: the pan/tilt is in a static state; the cloud The target posture of the station remains unchanged. Specifically, when the preset condition includes that the pan/tilt is in a stationary state, referring to FIG. 5, detecting whether the pan/tilt satisfies the preset condition in this embodiment may include:
S501:获取与云台相对应的加速度信息。S501: Acquire acceleration information corresponding to the pan-tilt.
S502:根据加速度信息识别云台是否处于静止状态。S502: Identify whether the pan/tilt is in a stationary state according to the acceleration information.
本实施例可以通过云台的加速度信息来识别云台是否处于静止状态,具体的,可以先通过传感器获取与云台相对应的加速度信息,而后对加速度信息进行分析处理,以识别云台是否处于静止状态。其中,可以理解,静止状态是一种相对概念,例如,如果是云台整体随着基座匀速运动,这种情况,加速度计的测量信息基本没有变化,尽管云台整体相对于大地来说有运动,但基于加速度计的输出结果,则仍认为其是静止状态。其中,本实施例对于根据加速度信息识别云台是否处于静止状态的具体实现方式不做限定,本领域技术人员可以根据具体的应用场景和设计需求进行设置,示例性地,参考附图6所示,本实施例中的根据加速度信息识别云台是否处于静止状态可以包括:In this embodiment, the acceleration information of the pan/tilt can be used to identify whether the pan/tilt is in a static state. Specifically, the acceleration information corresponding to the pan/tilt can be acquired through the sensor first, and then the acceleration information is analyzed and processed to identify whether the pan/tilt is in a stationary state. Stationary state. Among them, it can be understood that the static state is a relative concept. For example, if the entire pan/tilt moves at a constant speed with the base, in this case, the measurement information of the accelerometer basically does not change, although the entire pan/tilt is relative to the ground. Movement, but based on the output of the accelerometer, it is still considered to be a static state. Among them, this embodiment does not limit the specific implementation of identifying whether the pan/tilt is in a stationary state based on acceleration information, and those skilled in the art can make settings according to specific application scenarios and design requirements. For example, refer to FIG. 6 In this embodiment, identifying whether the pan/tilt is in a stationary state according to the acceleration information may include:
S601:获取与加速度信息相对应的加速度方差。S601: Acquire the acceleration variance corresponding to the acceleration information.
S602:在加速度方差小于预设的方差阈值时,确定云台处于静止状态,或者,在加速度方差大于或等于预设的方差阈值时,则确定云台处于运动状 态。S602: When the acceleration variance is less than the preset variance threshold, it is determined that the pan/tilt is in a stationary state, or when the acceleration variance is greater than or equal to the preset variance threshold, it is determined that the pan/tilt is in motion.
具体的,在获取到加速度信息之后,可以对加速度信息进行分析处理,从而可以获取到与加速度信息相对应的加速度方差,在获取到加速度方差之后,可以将加速度方差与预设的方差阈值进行分析比较,在加速度方差小于方差阈值时,则说明此时的加速度信息的变化幅度较小,从而可以确定云台处于静止状态;在加速度方差大于或等于方差阈值时,则说明此时的加速度信息的变化幅度较大,从而可以确定云台处于运动状态。Specifically, after the acceleration information is obtained, the acceleration information can be analyzed and processed, so that the acceleration variance corresponding to the acceleration information can be obtained. After the acceleration variance is obtained, the acceleration variance can be analyzed with the preset variance threshold. By comparison, when the acceleration variance is less than the variance threshold, it means that the acceleration information at this time has a small change range, so that it can be determined that the pan/tilt is in a static state; when the acceleration variance is greater than or equal to the variance threshold, it means that the acceleration information at this time is The magnitude of the change is large, so that it can be determined that the PTZ is in motion.
本实施例中,通过获取与云台相对应的加速度信息,根据加速度信息识别云台是否处于静止状态,有效地实现了对云台是否处于静止状态进行分析识别,并且实现方法简单、及时,同时也提高了对云台是否处于静止状态进行识别的速度和质量。In this embodiment, by acquiring acceleration information corresponding to the pan/tilt, and identifying whether the pan/tilt is in a static state according to the acceleration information, the analysis and identification of whether the pan/tilt is in a static state is effectively realized, and the implementation method is simple, timely, and at the same time It also improves the speed and quality of identifying whether the pan/tilt is in a static state.
另外,在预设条件可以包括云台的目标姿态保持不变时,参考附图7所示,本实施例中的检测云台是否满足预设条件可以包括:In addition, when the preset condition may include that the target posture of the pan/tilt head remains unchanged, referring to FIG. 7, the detecting whether the pan/tilt head meets the preset condition in this embodiment may include:
S701:获取与云台当前时刻相对应的当前目标姿态、以及与云台前一时刻相对应的历史目标姿态。S701: Acquire the current target posture corresponding to the current moment of the PTZ and the historical target posture corresponding to the previous moment of the PTZ.
S702:确定当前目标姿态与历史目标姿态之间的姿态误差。S702: Determine the attitude error between the current target attitude and the historical target attitude.
S703:在姿态误差小于预设的姿态阈值时,确定云台的目标姿态保持不变,或者,在姿态误差大于或等于预设的姿态阈值时,确定云台的目标姿态发生变化。S703: When the attitude error is less than the preset attitude threshold, determine that the target attitude of the pan/tilt head remains unchanged, or, when the attitude error is greater than or equal to the preset attitude threshold, determine that the target attitude of the pan/tilt head changes.
具体的,在检测云台的目标姿态是否保持不变时,可以先获取与云台当前时刻相对应的当前目标姿态以及与云台前一时刻相对应的历史目标姿态,其中,当前目标姿态和历史目标姿态可以是预先配置的或者是用户输入的,当前目标姿态是云台当前需要趋近的姿态,历史目标时态则是云台在对应的历史时刻需要趋近的姿态;而后获取当前目标姿态与历史目标姿态之间的姿态误差,该姿态误差可以为当前目标姿态与历史目标姿态之间的姿态差值,或者,该姿态误差也可以是当前目标姿态与历史目标姿态之间的姿态比值。在获取到姿态误差之后,可以将姿态误差与预设的姿态阈值进行分析比较,以姿态差值作为姿态误差为例进行说明,在姿态误差小于姿态阈值时,则说明云台当前时刻的当前目标姿态与云台前一时刻的历史目标姿态之间的姿态误差较小,进而可以确定云台的目标姿态保持不变;若姿态误差大于或等于姿态阈值时,则说明云台当前时刻的当前目标姿态与云台前一时刻的历史目 标姿态之间的姿态误差较大,进而确定云台的目标姿态已发生变化。Specifically, when detecting whether the target posture of the PTZ camera remains unchanged, the current target posture corresponding to the current time of the PTZ camera and the historical target posture corresponding to the previous time of the PTZ camera can be obtained first, where the current target posture and The historical target posture can be pre-configured or input by the user. The current target posture is the posture that the gimbal currently needs to approach, and the historical target tense is the posture that the gimbal needs to approach at the corresponding historical moment; then the current target is obtained. The posture error between the posture and the historical target posture. The posture error can be the posture difference between the current target posture and the historical target posture, or the posture error can also be the posture ratio between the current target posture and the historical target posture. . After the attitude error is obtained, the attitude error can be analyzed and compared with the preset attitude threshold, and the attitude difference is taken as an example of the attitude error. When the attitude error is less than the attitude threshold, the current target of the gimbal at the current moment is explained. The attitude error between the attitude and the historical target attitude at the previous moment of the gimbal is small, and then it can be determined that the target attitude of the gimbal remains unchanged; if the attitude error is greater than or equal to the attitude threshold, it indicates the current target of the gimbal at the current moment The posture error between the posture and the historical target posture at a moment before the gimbal is large, and it is determined that the target posture of the gimbal has changed.
本实施例中,通过获取与云台当前时刻相对应的当前目标姿态、以及与云台前一时刻相对应的历史目标姿态,而后确定当前目标姿态与历史目标姿态之间的姿态误差,从而可以通过姿态误差来确定云台的目标姿态保持不变,有效地实现了对云台的目标姿态保持不变的预设条件进行识别检测,进而提高了该方法使用的稳定可靠性。In this embodiment, by acquiring the current target posture corresponding to the current moment of the pan/tilt and the historical target posture corresponding to the previous moment of the pan/tilt, and then determining the posture error between the current target posture and the historical target posture, it is possible to The attitude error is used to determine that the target attitude of the pan/tilt remains unchanged, which effectively realizes the recognition and detection of the preset conditions for keeping the target attitude of the pan/tilt unchanged, thereby improving the stability and reliability of the method.
图8为本发明实施例提供的根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配的流程示意图一;在上述实施例的基础上,继续参考附图8所示,本实施例对于根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配的具体实现方式不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,对于控制参数过弱的识别过程而言,示例性地,本实施例中的根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配可以包括:FIG. 8 is a schematic diagram 1 of the process for determining whether the control parameters of the pan/tilt and the load set on the pan/tilt match according to the operating status information provided by an embodiment of the present invention; on the basis of the above-mentioned embodiment, continue to refer to FIG. 8 This embodiment does not limit the specific implementation method for determining whether the control parameters of the pan/tilt are matched with the load set on the pan/tilt according to the operating status information. Those skilled in the art can make settings according to specific application requirements and design requirements. For the identification process of too weak control parameters, for example, determining whether the control parameters of the pan/tilt and the load set on the pan/tilt match according to the operating status information in this embodiment may include:
S801:在检测时间段内,获取控制误差连续超出预设误差区间的误差次数。S801: In the detection time period, obtain the number of errors in which the control error continuously exceeds the preset error interval.
其中,预设误差区间是预先设置的误差区间范围,本实施例对于其具体数值范围的大小不做限定;在检测时间段内,可以利用计数器来获取控制误差连续超出预设误差区间的误差次数。具体的,在前一时刻的控制误差超出预设误差区间时,则使得与控制误差相对应的计数器加一;在当前时刻的控制误差未超出预设误差区间时,则使得与控制误差相对应的计数器清零;而后,统计检测时间段内计数器上所记录的数据,即可以获取控制误差连续超出预设误差区间的误差次数。Among them, the preset error interval is a preset error interval range, and this embodiment does not limit the size of its specific numerical range; in the detection period, a counter can be used to obtain the number of errors in which the control error continuously exceeds the preset error interval. . Specifically, when the control error at the previous moment exceeds the preset error interval, the counter corresponding to the control error is increased by one; when the control error at the current moment does not exceed the preset error interval, the control error is made to correspond to the control error. The counter is cleared; then, the data recorded on the counter during the detection time period is counted, that is, the number of errors in which the control error continuously exceeds the preset error interval can be obtained.
当然的,本领域技术人员也可以采用其他的方式来获取控制误差连续超出预设误差区间的误差次数,只要能够保证对控制误差连续超出预设误差区间的误差次数进行获取的准确可靠性即可,在此不再赘述。Of course, those skilled in the art can also use other methods to obtain the number of errors in which the control error continuously exceeds the preset error interval, as long as the accuracy and reliability of obtaining the number of errors in which the control error continuously exceeds the preset error interval can be guaranteed. , I won’t repeat it here.
S802:在误差次数大于或等于预设的第一次数阈值时,则确定控制参数与设置于云台上的负载不匹配。S802: When the number of errors is greater than or equal to the preset first number threshold, it is determined that the control parameter does not match the load set on the pan/tilt.
在获取到误差次数之后,可以将误差次数与预设的第一次数阈值进行分析比较,在误差次数大于或等于第一次数阈值时,则说明此时对云台的控制误差较大,进而可以确定云台的控制参数与云台上的负载不匹配。而在误差次数小于第一次数阈值时,则说明此时对云台的控制误差较小,进而可以确 定云台的控制参数与云台上的负载相匹配。After the error times are obtained, the error times can be analyzed and compared with the preset first times threshold. When the error times are greater than or equal to the first times threshold, it means that the control error of the pan/tilt is large at this time. It can then be determined that the control parameters of the pan/tilt do not match the load on the pan/tilt. When the number of errors is less than the first number threshold, it means that the control error of the pan/tilt is small at this time, and then it can be determined that the control parameters of the pan/tilt match the load on the pan/tilt.
又一种可实现的方式为,在检测时间段内,获取控制误差超出预设误差区间的误差次数,此时所获取的误差次数可以是非连续的;在误差次数大于或等于预设的次数阈值时,同样可以确定控制参数与设置于云台上的负载不匹配;在误差次数小于预设的次数阈值时,同样可以确定控制参数与设置于云台上的负载相匹配。Another achievable way is to obtain the number of errors in which the control error exceeds the preset error interval during the detection time period. At this time, the number of errors obtained can be non-continuous; when the number of errors is greater than or equal to the preset threshold value It can also be determined that the control parameter does not match the load set on the pan/tilt; when the number of errors is less than the preset number threshold, it can also be determined that the control parameter matches the load set on the pan/tilt.
本实施例中,通过在检测时间段内,获取控制误差连续或者不连续超出预设误差区间的误差次数,而后在误差次数大于或等于预设的第一次数阈值时,可以确定控制参数与设置于云台上的负载不匹配,实现了对控制参数与设置于云台上负载之间是否相匹配进行有效地识别;而后,便于基于识别结果对云台的控制方法进行调整,即控制参数与云台上的负载相匹配时,可以保持对云台的控制参数不变,在控制参数与云台上的负载不匹配时,则可以对云台的控制参数进行调整,进一步保证了对云台进行控制的准确可靠性。In this embodiment, by obtaining the number of errors in which the control error continuously or discontinuously exceeds the preset error interval during the detection time period, and then when the number of errors is greater than or equal to the preset first number threshold, the control parameters and the number of errors can be determined The load set on the pan/tilt does not match, which realizes the effective identification of whether the control parameter matches the load set on the pan/tilt; then, it is convenient to adjust the control method of the pan/tilt based on the identification result, that is, the control parameter When it matches the load on the pan/tilt, the control parameters of the pan/tilt can be kept unchanged. When the control parameters do not match the load on the pan/tilt, the control parameters of the pan/tilt can be adjusted to further ensure the control of the cloud. Accurate and reliable control of the station.
图9为本发明实施例提供的根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配的流程示意图二;在上述实施例的基础上,继续参考附图9所示,对于控制参数过强的识别过程而言,本实施例提供了另一种根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配的可实现方式,具体的,本实施例中的根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配可以包括:9 is a schematic diagram of the second process of determining whether the control parameters of the pan/tilt and the load set on the pan/tilt match according to the operating status information provided by an embodiment of the present invention; on the basis of the above-mentioned embodiment, continue to refer to FIG. 9 For the identification process with excessively strong control parameters, this embodiment provides another achievable way to determine whether the control parameters of the pan/tilt match the load set on the pan/tilt based on the operating status information. Specifically, this In the embodiment, determining whether the control parameters of the pan-tilt and the load set on the pan-tilt match according to the operating status information may include:
S901:在检测时间段内,获取输出力矩信息满足预设变化条件的次数信息。S901: In the detection time period, obtain information about the number of times that the output torque information meets the preset change condition.
其中,预设变化条件可以包括以下至少之一:输出力矩信息由预设的最大力矩阈值变化为预设的最小力矩阈值;输出力矩信息由预设的最小力矩阈值变化为预设的最大力矩阈值。具体的,在检测时间段内可以获取输出力矩信息的变化信息,并可以通过计数器统计变化信息满足上述预设变化条件的次数信息。The preset change condition may include at least one of the following: the output torque information changes from a preset maximum torque threshold to a preset minimum torque threshold; the output torque information changes from a preset minimum torque threshold to a preset maximum torque threshold . Specifically, the change information of the output torque information can be acquired within the detection time period, and the number of times that the change information meets the above-mentioned preset change condition can be counted by the counter.
S902:在次数信息大于或等于预设的第二次数阈值时,则确定控制参数与设置于云台上的负载不匹配。S902: When the number of times information is greater than or equal to the preset second number of times threshold, it is determined that the control parameter does not match the load set on the pan-tilt.
在获取到输出力矩信息满足预设变化条件的次数信息之后,可以将次数信息与预设的第二次数阈值进行分析比较,在次数信息大于或等于第二次数阈值时,则可以确定控制参数与设置于云台上的负载不匹配,此时的控制参 数过强,容易导致云台抖动;而在次数信息小于第二次数阈值时,则可以确定云台的控制参数与云台上的负载相匹配。After obtaining the information of the number of times that the output torque information meets the preset change condition, the information of the number of times can be analyzed and compared with the preset second number of times threshold. When the number of times information is greater than or equal to the second number of times threshold, it can be determined that the control parameters and The load set on the pan/tilt does not match, and the control parameters at this time are too strong, which will easily cause the pan/tilt to shake; and when the times information is less than the second times threshold, it can be determined that the control parameters of the pan/tilt are in line with the load on the pan/tilt match.
本实施例中,通过在检测时间段内,获取输出力矩信息满足预设变化条件的次数信息,而后在次数信息大于或等于预设的第二次数阈值时,可以确定控制参数与设置于云台上的负载不匹配,实现了对控制参数与设置于云台上负载之间是否相匹配进行有效地识别;而后,便于基于识别结果对云台的控制方法进行调整,即控制参数与云台上的负载相匹配时,可以保持对云台的控制参数不变,在控制参数与云台上的负载不匹配时,则可以对云台的控制参数进行调整,进一步保证了对云台进行控制的准确可靠性。In this embodiment, by acquiring information about the number of times that the output torque information meets the preset change condition within the detection time period, and then when the number of times information is greater than or equal to the preset second number threshold, the control parameters can be determined and set in the pan/tilt. The load on the PTZ is not matched, which realizes the effective identification of whether the control parameters and the load set on the PTZ are matched; then, it is convenient to adjust the control method of the PTZ based on the identification results, that is, the control parameters and the load on the PTZ When the load is matched, the control parameters of the pan/tilt can be kept unchanged. When the control parameters do not match the load on the pan/tilt, the control parameters of the pan/tilt can be adjusted to further ensure the control of the pan/tilt. Accurate and reliable.
图10为本发明实施例提供的根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配的流程示意图三;在上述实施例的基础上,继续参考附图10所示,对于控制参数过强的识别过程而言,本实施例提供了又一种根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配的可实现方式,具体的,本实施例中的根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配可以包括:FIG. 10 is a schematic diagram of the third process of determining whether the control parameters of the pan/tilt and the load set on the pan/tilt match according to the operating status information provided by an embodiment of the present invention; on the basis of the above-mentioned embodiment, continue to refer to FIG. 10 For the identification process with excessively strong control parameters, this embodiment provides yet another achievable way to determine whether the control parameters of the pan/tilt match the load set on the pan/tilt according to the operating status information. Specifically, the present embodiment In the embodiment, determining whether the control parameters of the pan-tilt and the load set on the pan-tilt match according to the operating status information may include:
S1001:获取力矩频谱信息中的频谱峰值信息。S1001: Acquire spectral peak information in the torque frequency spectrum information.
S1002:在频谱峰值信息大于或等于预设的峰值阈值时,确定控制参数与设置于云台上的负载不匹配。S1002: When the spectral peak information is greater than or equal to a preset peak threshold, it is determined that the control parameter does not match the load set on the pan/tilt.
具体的,在运行参数包括力矩频谱信息时,获取到云台上电机的力矩频谱信息之后,可以获取力矩频谱信息中的频谱峰值信息,可以想到的是,该频谱峰值信息的个数可以为一个或多个,在获取到频谱峰值信息之后,可以将频谱峰值信息与预设的峰值阈值进行分析比较,在至少一个频谱峰值信息大于或等于峰值阈值时,则可以确定控制参数与设置于云台上的负载不匹配,此时的控制参数过强,容易导致云台抖动;而在频谱峰值信息小于峰值阈值时,则可以确定云台的控制参数与云台上的负载相匹配。Specifically, when the operating parameters include torque spectrum information, after obtaining the torque spectrum information of the motor on the PTZ, the spectrum peak information in the torque spectrum information can be obtained. It is conceivable that the number of the spectrum peak information can be one Or more. After the spectral peak information is obtained, the spectral peak information can be analyzed and compared with the preset peak threshold. When at least one spectral peak information is greater than or equal to the peak threshold, the control parameters can be determined and set in the pan/tilt If the load on the PTZ is not matched, the control parameters at this time are too strong, which will easily cause the pan-tilt jitter; and when the spectral peak information is less than the peak threshold, it can be determined that the control parameters of the pan-tilt match the load on the pan-tilt.
本实施例中,通过在检测时间段内,获取力矩频谱信息中的频谱峰值信息,而后在频谱峰值信息大于或等于预设的峰值阈值,可以确定控制参数与设置于云台上的负载不匹配,实现了对控制参数与设置于云台上负载之间是否相匹配进行有效地识别;而后,便于基于识别结果对云台的控制方法进行调整,即控制参数与云台上的负载相匹配时,可以保持对云台的控制参数不变,在控制参数与云台上的负载不匹配时,则可以对云台的控制参数进行调 整,进一步保证了对云台进行控制的准确可靠性。In this embodiment, by acquiring the spectral peak information in the torque spectral information during the detection time period, and then when the spectral peak information is greater than or equal to the preset peak threshold, it can be determined that the control parameter does not match the load set on the pan/tilt. , Realizes the effective identification of whether the control parameter matches the load set on the pan/tilt; then, it is convenient to adjust the control method of the pan/tilt based on the identification result, that is, when the control parameter matches the load on the pan/tilt , The control parameters of the pan/tilt can be kept unchanged. When the control parameters do not match the load on the pan/tilt, the control parameters of the pan/tilt can be adjusted to further ensure the accuracy and reliability of the control of the pan/tilt.
在上述实施例的基础上,本实施例中的方法还可以包括:On the basis of the foregoing embodiment, the method in this embodiment may further include:
S1101:将云台的控制参数恢复至预设的默认值。S1101: Restore the control parameters of the pan/tilt to the preset default values.
为了及时避免出现控制参数过强而导致云台抖动的情况,可以将云台的控制参数恢复至预设的默认值。具体的,一种可实现的方式为,在云台满足自整定条件时,将云台的控制参数恢复至默认值;又一种可实现的方式为,在云台不满足自整定条件时,将云台的控制参数恢复至默认值。因此,恢复至默认值的操作与云台是否满足自整定条件无关,具体应用时,可以以预设时间段作为参考因素,即满足预设时间段时,则可以将云台的控制参数恢复至预设的默认值,从而可以有效地保证云台工作的稳定可靠性。In order to avoid the situation that the control parameters are too strong and cause the pan-tilt to shake in time, the control parameters of the pan-tilt can be restored to the preset default values. Specifically, one achievable way is to restore the control parameters of the pan-tilt to the default value when the pan-tilt meets the self-tuning conditions; another achievable way is, when the pan-tilt does not meet the self-tuning conditions, Restore the control parameters of the pan/tilt to the default values. Therefore, the operation of restoring to the default value has nothing to do with whether the pan/tilt meets the auto-tuning conditions. For specific applications, the preset time period can be used as a reference factor, that is, when the preset time period is met, the control parameters of the pan/tilt head can be restored to The preset default value can effectively ensure the stability and reliability of the pan/tilt.
需要注意的是,以上各个实施例中的技术方案、技术特征在不相冲突的情况下均可以单独,或者进行组合,只要未超出本领域技术人员的认知范围,均属于本申请保护范围内的等同实施例。It should be noted that the technical solutions and technical features in each of the above embodiments can be singly or combined without conflict, as long as they do not exceed the cognitive scope of those skilled in the art, they fall within the protection scope of this application. The equivalent embodiment.
具体应用时,以三轴云台作为稳定器为例进行说明,本应用实施例提供了一种云台的控制方法,该控制方法可以在更改负载后自适应调整云台的控制参数,从而保证了云台以及位于云台上负载的工作质量和效率。具体的,该方法可以包括以下阶段:(1)在云台可能更换负载之后进行检测;(2)检测云台的控制性能是否下降;(3)检测云台的运行状态是否符合控制参数自整定开始的条件。下面对上述三个阶段的具体实现过程进行详细说明:In specific applications, a three-axis pan/tilt is used as a stabilizer as an example. This application embodiment provides a control method for the pan/tilt. The control method can adaptively adjust the control parameters of the pan/tilt after changing the load, so as to ensure It improves the work quality and efficiency of the pan-tilt and the load located on the pan-tilt. Specifically, the method may include the following stages: (1) detection after the pan/tilt may change its load; (2) detection of whether the control performance of the pan/tilt is reduced; (3) detection of whether the operating state of the pan/tilt meets the control parameter self-tuning Starting conditions. The specific implementation process of the above three stages is described in detail below:
1、检测时段1. Detection period
在设置于云台上的负载进行更换时,云台上的电机不能出力,此时,云台处于关机状态或者休眠状态。那么在云台开机完成或者从休眠中唤醒之后,可以认为云台可能发生了负载更换,在预设的检测时间段T detect内,可以对云台进行检测。 When the load set on the pan/tilt is replaced, the motor on the pan/tilt cannot provide power. At this time, the pan/tilt is in the shutdown state or sleep state. Then after the pan/tilt is powered on or wakes up from sleep, it can be considered that the load of the pan/tilt may have been replaced, and the pan/tilt can be detected within the preset detection time period T detect .
2、控制性能下降判断2. Judgment of control performance degradation
负载与云台的控制参数不匹配可以包括两种表现形式:(1)云台的控制参数过弱,控制误差过大;(2)云台的控制参数过强,导致云台抖动。检测云台的控制性能是否下降,即判断云台的控制参数是否符合上述两种状态。下面对上述两种状态的检测方式进行具体说明:The mismatch between the load and the control parameters of the pan/tilt can include two manifestations: (1) the control parameter of the pan/tilt is too weak and the control error is too large; (2) the control parameter of the pan/tilt is too strong, causing the pan/tilt to shake. Detecting whether the control performance of the pan/tilt is degraded, that is, judging whether the control parameters of the pan/tilt meet the above two states. The following is a detailed description of the detection methods of the above two states:
(A)在检测云台的控制参数是否过弱时,可以通过控制误差是否超过预设标准的方式来实现检测;然而,对于云台而言,导致云台的控制误差变大 的原因有:a)云台在运动状态,b)云台的目标姿态发生变化,c)控制参数较弱,与负载的载荷不匹配。因此,为了能够准确地确定因云台与负载的载荷不匹配而导致的控制误差变大,则需要先确定云台处于静止状态,且云台的目标姿态未发生变化。(A) When detecting whether the control parameters of the pan/tilt are too weak, the detection can be achieved by whether the control error exceeds the preset standard; however, for the pan/tilt, the reasons that cause the control error of the pan/tilt to become larger are: a) The pan/tilt is in motion, b) the target attitude of the pan/tilt changes, and c) the control parameters are weak and do not match the load. Therefore, in order to be able to accurately determine that the control error caused by the mismatch between the pan/tilt and the load is increased, it is necessary to first determine that the pan/tilt is in a stationary state and the target attitude of the pan/tilt has not changed.
具体的,云台处于静止状态的检测方法包括如下步骤:Specifically, the method for detecting that the pan/tilt is in a stationary state includes the following steps:
step1:在预设的检测时间段T detect内,利用预设的检测时间间隔t w,获取t时刻的加速度计采样值
Figure PCTCN2019120686-appb-000001
通过加速度计采样值计算加速度的方差幅值:
step1: In the preset detection time period T detect , use the preset detection time interval t w to obtain the accelerometer sampling value at time t
Figure PCTCN2019120686-appb-000001
Calculate the variance amplitude of acceleration by accelerometer sampled value:
Figure PCTCN2019120686-appb-000002
Figure PCTCN2019120686-appb-000002
其中,
Figure PCTCN2019120686-appb-000003
表示为t时刻与云台X轴相对应的加速度计采样值,
Figure PCTCN2019120686-appb-000004
为t时刻与云台Y轴相对应的加速度计采样值,
Figure PCTCN2019120686-appb-000005
为t时刻与云台Z轴相对应的加速度计采样值;
Figure PCTCN2019120686-appb-000006
表示在t时刻的信号
Figure PCTCN2019120686-appb-000007
的方差信息,
Figure PCTCN2019120686-appb-000008
表示在t时刻的信号
Figure PCTCN2019120686-appb-000009
的方差信息,
Figure PCTCN2019120686-appb-000010
表示在t时刻的信号
Figure PCTCN2019120686-appb-000011
的方差信息,此时,计算方差信息的时间间隔长度为t w,σ 2为与加速度计采样值
Figure PCTCN2019120686-appb-000012
相对应的方差幅值。
among them,
Figure PCTCN2019120686-appb-000003
Expressed as the accelerometer sampling value corresponding to the X-axis of the gimbal at time t,
Figure PCTCN2019120686-appb-000004
Is the accelerometer sampling value corresponding to the Y-axis of the gimbal at time t,
Figure PCTCN2019120686-appb-000005
Is the accelerometer sampling value corresponding to the Z-axis of the gimbal at time t;
Figure PCTCN2019120686-appb-000006
Represents the signal at time t
Figure PCTCN2019120686-appb-000007
Of variance information,
Figure PCTCN2019120686-appb-000008
Represents the signal at time t
Figure PCTCN2019120686-appb-000009
Of variance information,
Figure PCTCN2019120686-appb-000010
Represents the signal at time t
Figure PCTCN2019120686-appb-000011
At this time, the length of the time interval for calculating the variance information is t w , and σ 2 is the sample value of the accelerometer
Figure PCTCN2019120686-appb-000012
Corresponding magnitude of variance.
step2:将方差信息σ 2和预先配置的方差阈值
Figure PCTCN2019120686-appb-000013
进行比较,以根据比较结果判断云台是否处于静止状态。
step2: Combine the variance information σ 2 with the pre-configured variance threshold
Figure PCTCN2019120686-appb-000013
Make a comparison to determine whether the pan/tilt is in a static state based on the comparison result.
由于方差信息能够反映t w时间内云台加速度的变化特性,而在云台处于静止状态时,方差信息最小;在云台处于运动状态时,方差信息较大,并且云台的运动越剧烈,方差信息越大。因此,可以通过方差信息与方差阈值的比较结果来判断云台是否处于静止状态;具体的,如下述公式(2)所示,在
Figure PCTCN2019120686-appb-000014
时,则result=STATIC,即云台处于静止状态;在
Figure PCTCN2019120686-appb-000015
则result=MOVE,即云台处于运动状态。
Since the variance information can reflect the change characteristics of the acceleration of the pan/tilt within t w , when the pan/tilt is at rest, the variance information is the smallest; when the pan/tilt is in motion, the variance information is larger and the movement of the pan/tilt is more intense, The greater the variance information. Therefore, the comparison result of the variance information and the variance threshold can be used to determine whether the pan/tilt is in a static state; specifically, as shown in the following formula (2),
Figure PCTCN2019120686-appb-000014
, Then result = STATIC, that is, the pan/tilt is in a static state;
Figure PCTCN2019120686-appb-000015
Then result=MOVE, that is, the pan/tilt is in motion.
Figure PCTCN2019120686-appb-000016
Figure PCTCN2019120686-appb-000016
另外,云台的目标姿态不变的检测方法包括如下步骤:In addition, the method for detecting the target attitude of the PTZ without changing includes the following steps:
step11:在检测开始时,记录云台在前一时刻的历史目标姿态为target 0, 在检测时间段T detect内,获取与云台当前时刻相对应的当前目标姿态target,确定target与target 0之间的姿态差值。 Step11: At the beginning of the detection, record the historical target attitude of the pan/tilt at the previous moment as target 0. During the detection time period T detect , obtain the current target attitude target corresponding to the current time of the pan/tilt, and determine the difference between target and target 0 The attitude difference between.
step12:将姿态差值与预先设置的姿态阈值target threshold进行分析比较,根据分析比较结果来确定云台的目标姿态是否发生改变。 step12: Analyze and compare the posture difference with the preset posture threshold target threshold , and determine whether the target posture of the pan/tilt has changed according to the result of the analysis and comparison.
具体的,如果姿态差值小于姿态阈值target threshold,则认为云台的目标姿态不变。如下述公式(3)所示,在‖target-target 0‖<target threshold时,则result=CONSTANT,即表示云台的目标姿态不变。 Specifically, if the attitude difference is less than the attitude threshold target threshold , the target attitude of the pan/tilt is considered unchanged. As shown in the following formula (3), when ‖target-target 0 ‖<target threshold , result=CONSTANT, which means that the target attitude of the pan/tilt does not change.
result=CONSTANT,‖target-target 0‖<target threshold   (3) result = CONSTANT, ‖target-target 0 ‖<target threshold (3)
此外,云台的控制误差过大的检测方法包括如下步骤:In addition, the detection method for the excessive control error of the pan/tilt includes the following steps:
step111:获取云台在至少一个方向上的控制误差;step111: Obtain the control error of the pan/tilt in at least one direction;
具体的,在云台处于静止状态,且云台的目标姿态未发生变化时,此时需要确定是否由于控制参数过弱而导致的云台的控制误差较大,其表现形式为控制误差偏向某一个方向,以三轴云台为例,记其在三个方向上的控制误差为error=(error x,error y,error z),其中,error x为云台在X轴方向上的控制误差,error y为云台在Y轴方向上的控制误差,error z为云台在Z轴方向上的控制误差。 Specifically, when the pan/tilt is in a static state and the target attitude of the pan/tilt does not change, it is necessary to determine whether the control error of the pan/tilt is large due to too weak control parameters. The manifestation is that the control error is biased towards a certain For one direction, take a three-axis gimbal as an example, record its control error in the three directions as error=(error x , error y , error z ), where error x is the control error of the gimbal in the X-axis direction , Error y is the control error of the gimbal in the Y-axis direction, and error z is the control error of the gimbal in the Z-axis direction.
step112:将控制误差与预设阈值error threshold_i进行分析比较,其中i=x,y,z,并根据比较结果来确定云台的控制误差是否过大。 step112: Analyze and compare the control error with the preset threshold error threshold_i , where i=x, y, z, and determine whether the control error of the pan/tilt is too large according to the comparison result.
具体的,预先配置有用于判断控制误差较大的预设阈值为error threshold_i,其中i=x,y,z,另外,预先配置有用于判断控制误差较大的次数阈值为error_times threshold。而后将控制误差与相对应的预设阈值进行分析比较,在控制误差error i>error threshold_i或者error i<-error threshold_i时,则将对应方向的控制误差计数器error_count i累加,在控制误差-error threshold_i<error i<error threshold_i,则将对应方向的控制误差计数器error_count i清零,从而在检测时间段内,可以获取控制误差连续超出预设误差区间的误差次数error_count x、error_count y和error_count zSpecifically, a preset threshold for judging a large control error is error threshold_i , where i=x, y, z is pre-configured, and the threshold for judging a large control error is error_times threshold in advance. Then, the control error is analyzed and compared with the corresponding preset threshold. When the control error error i > error threshold_i or error i <-error threshold_i , the control error counter error_count i of the corresponding direction is accumulated, and the control error -error threshold_i <error i <error threshold_i , then the control error counter error_count i of the corresponding direction is cleared, so that within the detection time period, the error times error_count x , error_count y and error_count z of the control error continuously exceeding the preset error interval can be obtained.
而后将误差次数error_count x、error_count y和error_count z分别与对应的次数阈值error_times threshold进行分析比较,当分析比较结果为error_count x>error_times threshold、和/或error_count y>error_times threshold、和/或error_count z>error_times threshold时,则可以确定result=ERROR_LARGE,即表示控制误差过大,说明此时云台的控制参数与设置于云台上的负载不匹配。 Then the error times error_count x , error_count y and error_count z are analyzed and compared with the corresponding times threshold error_times threshold respectively. When the analysis and comparison result is error_count x >error_times threshold , and/or error_count y >error_times threshold , and/or error_count z > At error_times threshold , it can be determined that result=ERROR_LARGE, which means that the control error is too large, indicating that the control parameters of the pan/tilt do not match the load set on the pan/tilt.
综上可知,在云台处于静止状态、且云台的目标姿态不变时,若云台的控制误差较大,则可以确定控制参数与设置于云台上的负载不匹配,并且,对于云台上设置的当前负载而言,云台的控制参数较弱。In summary, when the gimbal is in a static state and the target attitude of the gimbal remains unchanged, if the control error of the gimbal is large, it can be determined that the control parameters do not match the load set on the gimbal. In terms of the current load set on the platform, the control parameters of the pan/tilt are weak.
(B)云台的控制参数过强,导致云台抖动的检测(B) The control parameters of the pan/tilt are too strong, which leads to the detection of pan/tilt shaking
根据云台出现抖动情况,具体的,可以依据云台的电机输出力矩的变化规律来对云台是否出现抖动的情况进行检测。检测方法分为跳变检测和频谱峰值检测两种方法。According to the jitter situation of the pan/tilt, specifically, it is possible to detect whether the pan/tilt shakes or not according to the change rule of the motor output torque of the pan/tilt. Detection methods are divided into two methods: jump detection and spectrum peak detection.
具体的,参考附图11所示,力矩跳变检测的方法包括:Specifically, referring to FIG. 11, the method of torque jump detection includes:
step21:在检测时间段T detect内,获取云台上电机的输出力矩torq; step21: Obtain the output torque torq of the motor on the pan/tilt during the detection period T detect;
其中,检测计数器用于记录时间信息,以实现在一个检测时间段T detect进行力矩跳变检测。 Among them, the detection counter is used to record time information, so as to implement torque jump detection in a detection time period T detect.
step22:获取输出力矩信息满足预设变化条件的次数信息。step22: Obtain information about the number of times the output torque information meets the preset change conditions.
其中,预设变化条件包括以下至少之一:输出力矩信息由预设的最大力矩阈值变化为预设的最小力矩阈值;输出力矩信息由预设的最小力矩阈值变化为预设的最大力矩阈值。假定预先设置力矩阈值为torq threshold,若电机的输出力矩torq从torq threshold变为-torq threshold或者从-torq threshold变为torq threshold,则记为一次跳变,此时跳变计数器counter oscillate累加,在规定的检测时间段period detect内,通过跳变计数器即可以获取到输出力矩信息满足预设变化条件的次数信息counter oscillate。另外,需要说明的是,在每一个检测时间段T detect之后,跳变计数器可以进行一次清零操作。 The preset change condition includes at least one of the following: the output torque information changes from a preset maximum torque threshold to a preset minimum torque threshold; the output torque information changes from a preset minimum torque threshold to a preset maximum torque threshold. Assuming that the torque threshold is preset to torq threshold , if the output torque torq of the motor changes from torq threshold to -torq threshold or from -torq threshold to torq threshold , it is recorded as a jump. At this time, the jump counter counter oscillate accumulates. Within the specified detection period of period detect , the information counter oscillate of the number of times that the output torque information meets the preset change condition can be obtained through the jump counter. In addition, it should be noted that after each detection time period T detect , the hopping counter can be cleared once.
step23:将次数信息与预设的跳变次数阈值进行分析比较,根据分析比较结果确定云台的控制参数是否过强。step23: Analyze and compare the number of times information with the preset threshold of jump times, and determine whether the control parameters of the pan/tilt are too strong according to the results of the analysis and comparison.
预先设置有跳变次数阈值times threshold,将次数信息与预设的跳变次数阈值进行分析比较,当次数信息counter oscillate>times threshold,则确定云台抖动。并且,在检测计数器的时间段达到预设的检测时间段T detect时,可以将检测计数器counter detect置零,跳变计数器counter oscillate置零,输出力矩信息置零,以便进行下一个检测时间段T detect2的力矩跳变检测操作。 The hop frequency threshold times threshold is preset, and the frequency information is analyzed and compared with the preset hop frequency threshold. When the frequency information counter oscillate >times threshold , the pan/tilt jitter is determined. And, when the time period of the detection counter reaches the preset detection time period T detect , the detection counter counter detect can be set to zero, the hopping counter counter oscillate is set to zero, and the output torque information is set to zero for the next detection time period T. The torque jump detection operation of detect2.
另外,频谱峰值检测的方法包括:In addition, methods of spectrum peak detection include:
step31:获取力矩频谱信息,并确定力矩频谱信息中的频谱峰值信息。step31: Obtain the torque frequency spectrum information, and determine the frequency spectrum peak information in the torque frequency spectrum information.
具体的,每隔时间段T fft,通过快速傅里叶变换计算电机在该段时间内输出力矩torq的力矩频谱信息,得到力矩频谱信息的频谱峰值信息记为torq_peak。 Specifically, every time period T fft , the torque spectrum information of the output torque torq of the motor during this period of time is calculated by fast Fourier transform, and the spectrum peak information of the torque spectrum information obtained is denoted as torq_peak.
step32:将频谱峰值信息与预先设置的峰值阈值torq_peak_threshold进行分析比较,并根据分析比较结果来确定云台是否抖动。step32: Analyze and compare the spectral peak information with the preset peak threshold torq_peak_threshold, and determine whether the pan/tilt is jittered according to the analysis and comparison results.
具体的,若频谱峰值信息torq_peak>峰值阈值torq_peak_threshold,则确定云台抖动。若频谱峰值信息torq peak≤峰值阈值torq_peak_threshold,则确定云台不抖动。 Specifically, if the spectrum peak information torq_peak>the peak threshold torq_peak_threshold, then the pan/tilt jitter is determined. If the spectrum peak information torq peak ≤ the peak threshold torq_peak_threshold, it is determined that the pan/tilt is not jittered.
对于上述检测云台是否抖动的两种方式而言,无论是力矩跳变检测的方法还是频谱峰值检测的方法,只要有一种方法能够判断出云台抖动,即可以确定云台抖动。在具体应用时,本领域技术人员可以只采用其中一种方式来实现云台的抖动检测。其中,可以理解,图11中在检测输出力矩信息是否满足预设变化条件时,若否,则可以继续实时或间隔检测输出力矩信息是否满足预设变化条件(图未示出)。Regarding the above two methods for detecting whether the pan/tilt is shaking, whether it is the method of torque jump detection or the method of spectrum peak detection, as long as there is one method that can determine the pan/tilt shaking, the pan/tilt shaking can be determined. In specific applications, those skilled in the art can only use one of these methods to realize the jitter detection of the pan/tilt head. It can be understood that when detecting whether the output torque information meets the preset change condition in FIG. 11, if not, it can continue to detect whether the output torque information meets the preset change condition in real time or at intervals (not shown in the figure).
3、检测云台的状态3. Check the status of the PTZ
在云台开机完成或者从休眠中唤醒之后,检测云台是否满足预设的自整定条件,自整定条件包括:云台上电机的电机轴角度处于预设角度范围;云 台的基座的轴线与竖直方向之间的夹角小于预设的角度阈值,其中,为了便于描述,在云台上电机的电机轴角度处于预设角度范围时,可以称为此时的云台处于回中状态,在云台的基座的轴线与竖直方向之间的夹角小于预设的角度阈值时,则可以称为此时的云台的基座保持在水平状态;也即,在云台处于回中状态,且云台的基座保持在水平状态时,则认为云台的状态满足控制参数自整定的条件。具体的判断依据如下:After the gimbal is powered on or wakes up from sleep, it is checked whether the gimbal meets the preset auto-tuning conditions. The auto-tuning conditions include: the motor shaft angle of the motor on the gimbal is in the preset angle range; the axis of the base of the gimbal The angle between the vertical direction and the vertical direction is less than the preset angle threshold. For ease of description, when the motor shaft angle of the motor on the pan/tilt is in the preset angle range, it can be said that the pan/tilt is in the centered state at this time. , When the angle between the axis of the base of the pan/tilt and the vertical direction is less than the preset angle threshold, it can be said that the base of the pan/tilt is kept in a horizontal state at this time; that is, when the pan/tilt is in When returning to the center state and the base of the pan/tilt is kept in a horizontal state, it is considered that the state of the pan/tilt satisfies the conditions for the self-tuning of the control parameters. The specific judgment basis is as follows:
以三轴云台为例,电机测量得到的云台的旋转角度记为angle i,其中i=x,y,z,预先配置有角度阈值angle threshold_i,其中i=x,y,z。根据云台的姿态和电机测量得到的旋转角度可以计算得到云台基座的姿态,从而可以计算得到云台的基座和竖直方向的夹角,该夹角主要是由基座的中轴线与竖直方向所构成的夹角,记为基座倾角base_tilt,预先配置有角度阈值base_tilt threshold。如果在检测的过程中,对于i=x,y,z,均有|angle i|<angle threshold_i,并且|base_tilt|<base_tilt threshold,那么则可以确定云台的基座基本处于水平状态,且云台处于回中状态,即说明此时云台的状态满足开始控制参数自整定的条件。 Taking a three-axis gimbal as an example, the rotation angle of the gimbal measured by the motor is recorded as angle i , where i=x, y, z, and an angle threshold angle threshold_i is pre-configured, where i=x, y, z. According to the attitude of the gimbal and the rotation angle measured by the motor, the attitude of the gimbal base can be calculated, and the angle between the base of the gimbal and the vertical direction can be calculated. The angle is mainly determined by the central axis of the base. The angle formed with the vertical direction is recorded as the base tilt angle base_tilt, and the angle threshold base_tilt threshold is pre-configured. If in the detection process, for i=x, y, z, angle i |<angle threshold_i and |base_tilt|<base_tilt threshold , then it can be determined that the base of the pan/tilt is basically in a horizontal state and the cloud The platform is in the centering state, which means that the state of the pan/tilt at this time meets the conditions for starting the control parameter auto-tuning.
4、控制参数进行自整定操作4. Control parameters for self-tuning operation
具体的,如图12所示,在云台开机完成或者从休眠中唤醒后的检测时间段T detect内,通过计数器进行计时操作t++,在计时时间t<预设的检测时间段T detect时,则可以对云台的状态进行判断,并判定云台的控制性能是否下降;在云台的控制性能已经下降,并且云台的状态满足控制参数自整定开始的条件时,则可以控制云台的控制参数进行自整定操作。 Specifically, as shown in Fig. 12, in the detection time period T detect after the pan/tilt is turned on or wakes up from sleep, the counter is used to perform a timing operation t++. When the timing time t<the preset detection time period T detect , Then you can judge the state of the pan/tilt and determine whether the control performance of the pan/tilt has decreased; when the control performance of the pan/tilt has decreased and the state of the pan/tilt meets the conditions for the start of the control parameter auto-tuning, you can control the control of the pan/tilt. The control parameters are self-tuning.
如果判定云台的控制性能下降,但是云台的状态不满足控制参数自整定开始的条件,则可以推送消息给客户端,以提示用户调整云台的状态,使得云台可以处于水平状态,且电机的关节角度都为0°的位置,从而可以控制云台的控制参数进行自整定操作。If it is determined that the control performance of the pan/tilt is degraded, but the state of the pan/tilt does not meet the conditions for the start of the control parameter auto-tuning, a message can be pushed to the client to prompt the user to adjust the state of the pan/tilt so that the pan/tilt can be in a horizontal state, and The joint angles of the motors are all at the position of 0°, so that the control parameters of the pan/tilt can be controlled for self-tuning operation.
另外,具体应用时,在确定云台的控制性能下降之后,还可以进行以下操作:In addition, in specific applications, after determining that the control performance of the pan/tilt is degraded, you can also perform the following operations:
(1)在云台满足自整定条件时,可以控制云台的控制参数恢复至默认值,并且提示用户,以使得用户了解云台的当前运行状态,并可以基于云台的当前运行状态对云台进行及时、有效地控制,例如,触发云台进行自整定。(1) When the pan/tilt meets the self-tuning conditions, the control parameters of the pan/tilt can be controlled to be restored to the default values, and the user will be prompted to make the user understand the current operating status of the pan/tilt, and can control the cloud based on the current operating status of the pan/tilt. The platform performs timely and effective control, for example, triggers the pan/tilt to perform self-tuning.
(2)在云台不满足自整定条件时,可以控制云台的控制参数恢复至默认值,并且提示用户,以使得用户通过操作云台并让云台满足自整定条件,例如,提示用户将云台放置在水平台面上,从而可以自动进行自整定操作或触发进行自整定操作。(2) When the pan/tilt does not meet the self-tuning conditions, the control parameters of the pan/tilt can be controlled to restore to the default values, and the user will be prompted so that the user can operate the pan/tilt and make the pan/tilt meet the self-tuning conditions, for example, prompt the user to change The pan/tilt is placed on the surface of the water platform, so that it can automatically perform the self-tuning operation or trigger the self-tuning operation.
本应用实施例提供的云台的控制方法,可以解决在云台更换负载后,因为云台参数与负载不匹配而导致的问题,能够有效地解决云台的控制性能变差的现象,具体的,可以自适应调整云台的控制参数,从而可以及时停止控制参数过强而导致的稳定器抖动,进而达到了提升云台的控制性能,保证云台和位于云台上的负载工作的质量和效率,并且也有效地提升了用户体验。The control method of the pan/tilt provided in this application embodiment can solve the problem caused by the mismatch between the parameters of the pan/tilt and the load after the load of the pan/tilt is replaced, and can effectively solve the phenomenon that the control performance of the pan/tilt becomes worse. , The control parameters of the pan/tilt can be adjusted adaptively, so that the jitter of the stabilizer caused by the excessively strong control parameters can be stopped in time, and the control performance of the pan/tilt can be improved, and the quality of the pan/tilt and the load on the pan/tilt can be guaranteed. Efficiency, and also effectively improve the user experience.
图13为本发明实施例提供的一种云台的结构示意图一;参考附图13所示,本实施例提供了一种云台,该云台可以执行上述图2所示的云台的控制方法。具体的,该云台可以包括:FIG. 13 is a structural schematic diagram 1 of a pan/tilt head provided by an embodiment of the present invention; as shown in FIG. 13, this embodiment provides a pan/tilt head, which can perform the control of the pan/tilt head shown in FIG. 2 above method. Specifically, the pan/tilt may include:
第一存储器12,用于存储计算机程序;The first memory 12 is used to store computer programs;
第一处理器11,用于运行第一存储器12中存储的计算机程序以实现:The first processor 11 is configured to run a computer program stored in the first memory 12 to implement:
在预设的检测时间段内,获取云台的运行状态信息;Obtain the operating status information of the PTZ in the preset detection time period;
根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配;Determine whether the control parameters of the pan-tilt match the load set on the pan-tilt according to the operating status information;
在云台的控制参数与设置于云台上的负载不匹配时,确定设置于云台上的负载发生更换。When the control parameters of the pan/tilt do not match the load set on the pan/tilt, it is determined that the load set on the pan/tilt is replaced.
其中,云台的结构中还可以包括第一通信接口13,用于电子设备与其他设备或通信网络通信。Wherein, the structure of the pan-tilt may also include a first communication interface 13 for the electronic device to communicate with other devices or a communication network.
进一步的,运行状态信息包括以下至少之一:云台在至少一个方向上的控制误差、与云台上电机的力度信息相对应的运行参数。Further, the operating state information includes at least one of the following: a control error of the pan/tilt in at least one direction, and an operating parameter corresponding to the force information of the motor on the pan/tilt.
进一步的,运行参数包括以下至少之一:输出力矩信息、力矩频谱信息。Further, the operating parameters include at least one of the following: output torque information and torque frequency spectrum information.
进一步的,控制参数包括以下至少之一:云台上电机的力度信息、对负载位姿的响应速度、云台上滤波器的配置参数。Further, the control parameters include at least one of the following: the strength information of the motor on the pan/tilt, the response speed to the load pose, and the configuration parameters of the filter on the pan/tilt.
进一步的,检测时间段是云台处于预设工作状态之后的时间段。Further, the detection time period is a time period after the pan/tilt is in a preset working state.
进一步的,预设工作状态包括以下至少之一:开机状态、唤醒状态。Further, the preset working state includes at least one of the following: a power-on state and a wake-up state.
进一步的,在确定设置于云台上的负载发生更换之后,第一处理器11还用于:检测云台是否满足预设的自整定条件;在云台满足自整定条件时,则对云台的控制参数进行自整定操作。Further, after determining that the load set on the pan/tilt has been replaced, the first processor 11 is also used to: detect whether the pan/tilt meets the preset self-tuning conditions; when the pan/tilt satisfies the self-tuning conditions, The control parameters of the auto-tuning operation.
进一步的,自整定条件包括:云台上电机的电机轴角度处于预设角度范围;云台的基座的轴线与竖直方向之间的夹角小于预设的角度阈值。Further, the self-tuning conditions include: the motor shaft angle of the motor on the pan/tilt is in a preset angle range; the angle between the axis of the base of the pan/tilt and the vertical direction is less than a preset angle threshold.
进一步的,运行状态信息包括云台在至少一个方向上的控制误差,在获取云台的运行状态信息之前,第一处理器11还用于:检测云台是否满足预设条件;在云台满足预设条件时,则在预设的检测时间段内,获取云台的运行状态信息。Further, the operating state information includes the control error of the pan/tilt in at least one direction. Before acquiring the operating state information of the pan/tilt, the first processor 11 is also used to: detect whether the pan/tilt meets a preset condition; When the conditions are preset, the operating status information of the pan/tilt is acquired within the preset detection time period.
进一步的,预设条件包括以下至少之一:云台处于静止状态;云台的目标姿态保持不变。Further, the preset condition includes at least one of the following: the pan/tilt is in a static state; the target posture of the pan/tilt remains unchanged.
进一步的,在第一处理器11检测云台是否满足预设条件时,第一处理器11还用于:获取与云台相对应的加速度信息;根据加速度信息识别云台是否处于静止状态。Further, when the first processor 11 detects whether the pan-tilt meets the preset condition, the first processor 11 is further configured to: obtain acceleration information corresponding to the pan-tilt; and identify whether the pan-tilt is in a stationary state according to the acceleration information.
进一步的,在第一处理器11根据加速度信息识别云台是否处于静止状态时,第一处理器11还用于:获取与加速度信息相对应的加速度方差;在加速度方差小于预设的方差阈值时,确定云台处于静止状态,或者,在加速度方差大于或等于预设的方差阈值时,则确定云台处于运动状态。Further, when the first processor 11 recognizes whether the pan/tilt is in a stationary state according to the acceleration information, the first processor 11 is further configured to: obtain the acceleration variance corresponding to the acceleration information; when the acceleration variance is less than the preset variance threshold , It is determined that the pan/tilt is in a static state, or when the acceleration variance is greater than or equal to a preset variance threshold, it is determined that the pan/tilt is in a motion state.
进一步的,在第一处理器11检测云台是否满足预设条件时,第一处理器11还用于:获取与云台当前时刻相对应的当前目标姿态、以及与云台前一时刻相对应的历史目标姿态;确定当前目标姿态与历史目标姿态之间的姿态误差;在姿态误差小于预设的姿态阈值时,确定云台的目标姿态保持不变,或者,在姿态误差大于或等于预设的姿态阈值时,确定云台的目标姿态发生变化。Further, when the first processor 11 detects whether the pan/tilt satisfies the preset condition, the first processor 11 is also used to: obtain the current target posture corresponding to the current moment of the pan/tilt and the previous moment of the pan/tilt. Determine the attitude error between the current target attitude and the historical target attitude; when the attitude error is less than the preset attitude threshold, determine that the target attitude of the gimbal remains unchanged, or if the attitude error is greater than or equal to the preset attitude When the attitude threshold is determined, the target attitude of the gimbal is determined to change.
进一步的,在第一处理器11根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配时,第一处理器11还用于:在检测时间段内,获取控制误差连续超出预设误差区间的误差次数;在误差次数大于或等于预设的第一次数阈值时,则确定控制参数与设置于云台上的负载不匹配。Further, when the first processor 11 determines whether the control parameters of the pan-tilt and the load set on the pan-tilt match according to the operating status information, the first processor 11 is also used to: obtain the control error during the detection time period. The number of errors continuously exceeding the preset error interval; when the number of errors is greater than or equal to the preset first number threshold, it is determined that the control parameter does not match the load set on the pan/tilt.
进一步的,在第一处理器11根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配时,第一处理器11还用于:在检测时间段内,获取输出力矩信息满足预设变化条件的次数信息;在次数信息大于或等于预 设的第二次数阈值时,则确定控制参数与设置于云台上的负载不匹配。Further, when the first processor 11 determines whether the control parameters of the pan-tilt match the load set on the pan-tilt according to the operating state information, the first processor 11 is also used to: obtain the output torque during the detection time period. Information about the number of times that the information meets the preset change condition; when the number of times information is greater than or equal to the preset second number threshold, it is determined that the control parameter does not match the load set on the pan/tilt.
进一步的,预设变化条件包括以下至少之一:输出力矩信息由预设的最大力矩阈值变化为预设的最小力矩阈值;输出力矩信息由预设的最小力矩阈值变化为预设的最大力矩阈值。Further, the preset change condition includes at least one of the following: the output torque information changes from a preset maximum torque threshold to a preset minimum torque threshold; the output torque information changes from a preset minimum torque threshold to a preset maximum torque threshold .
进一步的,在第一处理器11根据运行状态信息确定云台的控制参数与设置于云台上的负载是否相匹配时,第一处理器11还用于:获取力矩频谱信息中的频谱峰值信息;在频谱峰值信息大于或等于预设的峰值阈值时,确定控制参数与设置于云台上的负载不匹配。Further, when the first processor 11 determines whether the control parameters of the pan/tilt are matched with the load set on the pan/tilt according to the operating state information, the first processor 11 is further configured to: obtain spectral peak information in the torque spectral information ; When the spectral peak information is greater than or equal to the preset peak threshold, it is determined that the control parameter does not match the load set on the pan/tilt.
进一步的,第一处理器11还用于:在云台未满足自整定条件时,生成与云台相对应的状态提醒信息,以提示用户将云台调整为满足预设的自整定条件。Further, the first processor 11 is further configured to: when the pan/tilt does not meet the self-tuning condition, generate status reminder information corresponding to the pan/tilt to prompt the user to adjust the pan/tilt to meet the preset self-tuning condition.
进一步的,第一处理器11还用于:将云台的控制参数恢复至预设的默认值。Further, the first processor 11 is also used for restoring the control parameters of the pan/tilt to the preset default values.
图13所示的云台可以执行图2-图12所示实施例的方法,本实施例未详细描述的部分,可参考对图2-图12所示实施例的相关说明。该技术方案的执行过程和技术效果参见图2-图12所示实施例中的描述,在此不再赘述。The pan-tilt shown in FIG. 13 can execute the methods of the embodiments shown in FIGS. 2 to 12. For parts that are not described in detail in this embodiment, please refer to the related descriptions of the embodiments shown in FIGS. 2 to 12. For the implementation process and technical effects of this technical solution, please refer to the description in the embodiment shown in FIG. 2 to FIG. 12, which will not be repeated here.
图14为本发明实施例提供的一种手持云台的结构示意图;参考附图14所示,本实施例提供了一种手持云台,该手持云台可以执行上述图2所示的云台的控制方法。具体的,该手持云台可以包括:FIG. 14 is a schematic structural diagram of a handheld pan/tilt provided by an embodiment of the present invention; as shown in FIG. 14, this embodiment provides a handheld pan/tilt, which can execute the pan/tilt shown in FIG. 2 above的控制方法。 Control methods. Specifically, the handheld PTZ may include:
第二存储器22,用于存储计算机程序;The second memory 22 is used to store computer programs;
第二处理器21,用于运行第二存储器22中存储的计算机程序以实现上述图2-图12的云台的控制方法。The second processor 21 is configured to run a computer program stored in the second memory 22 to implement the above-mentioned pan-tilt control method in FIGS. 2 to 12.
其中,手持云台的结构中还可以包括第二通信接口23,用于电子设备与其他设备或通信网络通信。需要注意的是,该手持云台中还可以包括用于承载第二处理器21和第二存储器22的基座,具体的,基座可以为手持云台的手持部。Wherein, the structure of the handheld PTZ may also include a second communication interface 23 for the electronic device to communicate with other devices or a communication network. It should be noted that the handheld pan/tilt may also include a base for carrying the second processor 21 and the second memory 22. Specifically, the base may be a handheld part of the handheld pan/tilt.
图14所示的手持云台可以执行图2-图12所示实施例的方法,本实施例未详细描述的部分,可参考对图2-图12所示实施例的相关说明。该技术方案的执行过程和技术效果参见图2-图12所示实施例中的描述,在此不再赘述。The handheld pan/tilt shown in FIG. 14 can execute the methods of the embodiments shown in FIG. 2 to FIG. 12. For parts that are not described in detail in this embodiment, please refer to the related descriptions of the embodiments shown in FIG. 2 to FIG. For the implementation process and technical effects of this technical solution, please refer to the description in the embodiment shown in FIG. 2 to FIG. 12, which will not be repeated here.
其中,手持云台包括手持部以及图13所述的云台,云台安装于手持部上该手持云台的具体实现原理与图13所示的云台的实现原理相类似,本实施例 未详细描述的部分,可参考对图13所示实施例的相关说明。该技术方案的执行过程和技术效果参见图13所示实施例中的描述,在此不再赘述。Wherein, the handheld PTZ includes a handheld part and the PTZ described in FIG. 13. The specific implementation principle of the handheld PTZ mounted on the handheld part is similar to the implementation principle of the PTZ shown in FIG. For the detailed description, please refer to the related description of the embodiment shown in FIG. 13. For the implementation process and technical effects of this technical solution, refer to the description in the embodiment shown in FIG. 13, and details are not described herein again.
在一些实施例中,云台的基座设于手持部的端部。In some embodiments, the base of the pan/tilt is provided at the end of the hand-held part.
图15为本发明实施例提供的一种无人飞行器的结构示意图,参考附图15所示,本实施例提供了一种无人飞行器,该无人飞行器可以包括:FIG. 15 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the present invention. Referring to FIG. 15, as shown in FIG. 15, this embodiment provides an unmanned aerial vehicle. The unmanned aerial vehicle may include:
机身100; Body 100;
动力系统101,安装在机身100,用于为无人飞行器提供动力;The power system 101 is installed on the fuselage 100 to provide power for the unmanned aerial vehicle;
云台102,安装于机身100上。The pan/tilt 102 is installed on the fuselage 100.
其中,云台102如图13所述。需要注意的是,对于云台102而言,承载云台102的机身100相当于云台102的基座,因此,在机身100与竖直方向之间的夹角小于预设的角度阈值时,即为云台102的基座的轴线与竖直方向之间的夹角小于预设的角度阈值。Among them, the pan-tilt 102 is as shown in FIG. 13. It should be noted that for the pan/tilt 102, the fuselage 100 carrying the pan/tilt 102 is equivalent to the base of the pan/tilt 102. Therefore, the angle between the fuselage 100 and the vertical direction is less than the preset angle threshold. At time, the angle between the axis of the base of the pan/tilt head 102 and the vertical direction is smaller than the preset angle threshold.
图15所示的无人飞行器的具体实现原理与图13所示的云台的实现原理相类似,本实施例未详细描述的部分,可参考对图13所示实施例的相关说明。该技术方案的执行过程和技术效果参见图13所示实施例中的描述,在此不再赘述。The specific implementation principle of the unmanned aerial vehicle shown in FIG. 15 is similar to the implementation principle of the pan/tilt head shown in FIG. 13. For parts that are not described in detail in this embodiment, reference may be made to the related description of the embodiment shown in FIG. 13. For the implementation process and technical effects of this technical solution, refer to the description in the embodiment shown in FIG. 13, and details are not described herein again.
另外,本发明实施例提供了一种计算机存储介质,用于储存电子设备所用的计算机软件指令,其包含用于执行上述图2-图12所示方法实施例中云台的控制方法所涉及的程序。In addition, an embodiment of the present invention provides a computer storage medium for storing computer software instructions used by an electronic device, which includes instructions for executing the pan/tilt control method in the method embodiments shown in FIGS. 2 to 12 above. program.
以上各个实施例中的技术方案、技术特征在不相冲突的情况下均可以单独,或者进行组合,只要未超出本领域技术人员的认知范围,均属于本申请保护范围内的等同实施例。The technical solutions and technical features in each of the above embodiments can be singly or combined without conflict, as long as they do not exceed the cognitive scope of those skilled in the art, they all belong to 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 pan-tilt and pan-tilt control method can be implemented in other ways. For example, the embodiments of the PTZ and handheld PTZ described above are only illustrative. For example, the division of the processor or the memory is only a logical function division, and there may be other division methods in actual implementation, such as Multiple units or components can be combined or integrated into another system, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, memory or processor, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作 为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得计算机处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present invention 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 to make a computer processor (processor) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage media include: U disk, mobile hard disk, Read-Only Memory (ROM), Random Access Memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the embodiments of the present invention, and do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the content of the description and drawings of the present invention, or directly or indirectly applied to other related technologies In the same way, all fields are 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, 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: It is still possible to modify the technical solutions described in the foregoing embodiments, or equivalently replace some or all of the technical features; these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. range.

Claims (41)

  1. 一种云台的控制方法,其特征在于,包括:A method for controlling a pan/tilt head, which is characterized in that it comprises:
    在预设的检测时间段内,获取云台的运行状态信息;Obtain the operating status information of the PTZ in the preset detection time period;
    根据所述运行状态信息确定所述云台的控制参数与设置于所述云台上的负载是否相匹配;Determining whether the control parameters of the pan-tilt and the load set on the pan-tilt match according to the operating status information;
    在所述云台的控制参数与设置于所述云台上的负载不匹配时,确定设置于所述云台上的负载发生更换。When the control parameter of the pan/tilt does not match the load set on the pan/tilt, it is determined that the load set on the pan/tilt is replaced.
  2. 根据权利要求1所述的方法,其特征在于,所述运行状态信息包括以下至少之一:The method according to claim 1, wherein the operating status information includes at least one of the following:
    所述云台在至少一个方向上的控制误差、与所述云台上电机的力度信息相对应的运行参数。The control error of the pan/tilt in at least one direction, and the operating parameter corresponding to the force information of the motor on the pan/tilt.
  3. 根据权利要求2所述的方法,其特征在于,所述运行参数包括以下至少之一:输出力矩信息、力矩频谱信息。The method according to claim 2, wherein the operating parameter comprises at least one of the following: output torque information and torque frequency spectrum information.
  4. 根据权利要求1所述的方法,其特征在于,所述控制参数包括以下至少之一:所述云台上电机的力度信息、对所述负载位姿的响应速度、所述云台上滤波器的配置参数。The method according to claim 1, wherein the control parameter comprises at least one of the following: the strength information of the motor on the pan/tilt, the response speed to the load pose, the filter on the pan/tilt Configuration parameters.
  5. 根据权利要求1所述的方法,其特征在于,所述检测时间段是所述云台处于预设工作状态之后的时间段。The method according to claim 1, wherein the detection time period is a time period after the pan/tilt is in a preset working state.
  6. 根据权利要求5所述的方法,其特征在于,所述预设工作状态包括以下至少之一:开机状态、唤醒状态。The method according to claim 5, wherein the preset working state includes at least one of the following: a power-on state and an awake state.
  7. 根据权利要求1-6中任意一项所述的方法,其特征在于,在确定设置于所述云台上的负载发生更换之后,所述方法还包括:The method according to any one of claims 1 to 6, wherein after determining that the load set on the pan/tilt head is changed, the method further comprises:
    检测云台是否满足预设的自整定条件;Check whether the PTZ meets the preset self-tuning conditions;
    在所述云台满足所述自整定条件时,则对所述云台的控制参数进行自整定操作。When the pan/tilt satisfies the self-tuning condition, the control parameter of the pan/tilt is self-tuning.
  8. 根据权利要求7所述的方法,其特征在于,所述自整定条件包括:The method according to claim 7, wherein the self-tuning condition comprises:
    所述云台上电机的电机轴角度处于预设角度范围;The motor shaft angle of the motor on the pan/tilt is in a preset angle range;
    所述云台的基座的轴线与竖直方向之间的夹角小于预设的角度阈值。The angle between the axis of the base of the pan/tilt head and the vertical direction is smaller than a preset angle threshold.
  9. 根据权利要求1所述的方法,其特征在于,所述运行状态信息包括所述云台在至少一个方向上的控制误差,在所述获取云台的运行状态信息之前,所述方法还包括:The method according to claim 1, wherein the operating status information includes a control error of the pan/tilt head in at least one direction, and before the acquiring the operating status information of the pan/tilt head, the method further comprises:
    检测所述云台是否满足预设条件;Detecting whether the pan-tilt meets a preset condition;
    在所述云台满足预设条件时,则在预设的检测时间段内,获取所述云台的运行状态信息。When the pan-tilt meets the preset condition, the operating state information of the pan-tilt is acquired within the preset detection time period.
  10. 根据权利要求9所述的方法,其特征在于,所述预设条件包括以下至少之一:The method according to claim 9, wherein the preset condition includes at least one of the following:
    所述云台处于静止状态;The pan/tilt is in a static state;
    所述云台的目标姿态保持不变。The target posture of the PTZ remains unchanged.
  11. 根据权利要求10所述的方法,其特征在于,检测所述云台是否满足预设条件,包括:The method according to claim 10, wherein detecting whether the pan-tilt meets a preset condition comprises:
    获取与所述云台相对应的加速度信息;Acquiring acceleration information corresponding to the pan/tilt;
    根据所述加速度信息识别所述云台是否处于静止状态。Identify whether the pan/tilt head is in a stationary state according to the acceleration information.
  12. 根据权利要求11所述的方法,其特征在于,根据所述加速度信息识别所述云台是否处于静止状态,包括:The method according to claim 11, wherein the identifying whether the pan/tilt head is in a stationary state according to the acceleration information comprises:
    获取与所述加速度信息相对应的加速度方差;Acquiring the acceleration variance corresponding to the acceleration information;
    在所述加速度方差小于预设的方差阈值时,确定所述云台处于静止状态,或者,在所述加速度方差大于或等于预设的方差阈值时,则确定所述云台处于运动状态。When the acceleration variance is less than a preset variance threshold, it is determined that the pan/tilt head is in a stationary state, or when the acceleration variance is greater than or equal to a preset variance threshold, it is determined that the pan/tilt head is in a motion state.
  13. 根据权利要求10所述的方法,其特征在于,检测所述云台是否满足预设条件,包括:The method according to claim 10, wherein detecting whether the pan-tilt meets a preset condition comprises:
    获取与所述云台当前时刻相对应的当前目标姿态、以及与所述云台前一时刻相对应的历史目标姿态;Acquiring the current target posture corresponding to the current moment of the pan/tilt and the historical target posture corresponding to the previous moment of the pan/tilt;
    确定所述当前目标姿态与所述历史目标姿态之间的姿态误差;Determining the attitude error between the current target attitude and the historical target attitude;
    在所述姿态误差小于预设的姿态阈值时,确定所述云台的目标姿态保持不变,或者,在所述姿态误差大于或等于预设的姿态阈值时,确定所述云台的目标姿态发生变化。When the attitude error is less than the preset attitude threshold, it is determined that the target attitude of the pan/tilt head remains unchanged, or when the attitude error is greater than or equal to the preset attitude threshold, the target attitude of the pan/tilt head is determined Changes.
  14. 根据权利要求9所述的方法,其特征在于,根据所述运行状态信息确定所述云台的控制参数与设置于所述云台上的负载是否相匹配,包括:The method according to claim 9, wherein determining whether the control parameters of the pan/tilt head match the load set on the pan/tilt head according to the operating status information comprises:
    在所述检测时间段内,获取所述控制误差连续超出预设误差区间的误差次数;In the detection time period, obtain the number of errors in which the control error continuously exceeds the preset error interval;
    在所述误差次数大于或等于预设的第一次数阈值时,则确定所述控制参数与设置于所述云台上的负载不匹配。When the number of errors is greater than or equal to a preset first number threshold, it is determined that the control parameter does not match the load set on the pan/tilt.
  15. 根据权利要求3所述的方法,其特征在于,所述根据所述运行状态信息确定所述云台的控制参数与设置于所述云台上的负载是否相匹配,包括:The method according to claim 3, wherein the determining whether the control parameters of the pan/tilt head match the load set on the pan/tilt head according to the operating status information comprises:
    在所述检测时间段内,获取所述输出力矩信息满足预设变化条件的次数信息;In the detection time period, acquiring information about the number of times that the output torque information meets a preset change condition;
    在所述次数信息大于或等于预设的第二次数阈值时,则确定所述控制参数与设置于所述云台上的负载不匹配。When the frequency information is greater than or equal to the preset second frequency threshold, it is determined that the control parameter does not match the load set on the pan/tilt.
  16. 根据权利要求15所述的方法,其特征在于,所述预设变化条件包括以下至少之一:The method according to claim 15, wherein the preset change condition comprises at least one of the following:
    所述输出力矩信息由预设的最大力矩阈值变化为预设的最小力矩阈值;The output torque information is changed from a preset maximum torque threshold to a preset minimum torque threshold;
    所述输出力矩信息由所述预设的最小力矩阈值变化为所述预设的最大力矩阈值。The output torque information is changed from the preset minimum torque threshold to the preset maximum torque threshold.
  17. 根据权利要求3所述的方法,其特征在于,所述根据所述运行状态信息确定所述云台的控制参数与设置于所述云台上的负载是否相匹配,包括:The method according to claim 3, wherein the determining whether the control parameters of the pan/tilt head match the load set on the pan/tilt head according to the operating status information comprises:
    获取所述力矩频谱信息中的频谱峰值信息;Acquiring frequency spectrum peak information in the torque frequency spectrum information;
    在所述频谱峰值信息大于或等于预设的峰值阈值时,确定所述控制参数与设置于云台上的负载不匹配。When the spectral peak information is greater than or equal to a preset peak threshold, it is determined that the control parameter does not match the load set on the pan-tilt.
  18. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    在所述云台未满足所述自整定条件时,生成与所述云台相对应的状态提醒信息,以提示用户将所述云台调整为满足预设的自整定条件。When the pan/tilt does not meet the self-tuning condition, a status reminder message corresponding to the pan/tilt is generated to prompt the user to adjust the pan/tilt to meet the preset self-tuning condition.
  19. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, wherein the method further comprises:
    将所述云台的控制参数恢复至预设的默认值。Restore the control parameters of the pan/tilt head to the preset default values.
  20. 一种云台,其特征在于,包括:A pan-tilt, characterized in that it comprises:
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于运行所述存储器中存储的计算机程序以实现:The processor is configured to run a computer program stored in the memory to realize:
    在预设的检测时间段内,获取云台的运行状态信息;Obtain the operating status information of the PTZ in the preset detection time period;
    根据所述运行状态信息确定所述云台的控制参数与设置于所述云台上的负载是否相匹配;Determining whether the control parameters of the pan-tilt and the load set on the pan-tilt match according to the operating status information;
    在所述云台的控制参数与设置于所述云台上的负载不匹配时,确定设置于所述云台上的负载发生更换。When the control parameter of the pan/tilt does not match the load set on the pan/tilt, it is determined that the load set on the pan/tilt is replaced.
  21. 根据权利要求20所述的云台,其特征在于,所述运行状态信息包括 以下至少之一:The pan/tilt head according to claim 20, wherein the operating status information comprises at least one of the following:
    所述云台在至少一个方向上的控制误差、与所述云台上电机的力度信息相对应的运行参数。The control error of the pan/tilt in at least one direction, and the operating parameter corresponding to the force information of the motor on the pan/tilt.
  22. 根据权利要求21所述的云台,其特征在于,所述运行参数包括以下至少之一:输出力矩信息、力矩频谱信息。The pan/tilt head according to claim 21, wherein the operating parameters comprise at least one of the following: output torque information and torque frequency spectrum information.
  23. 根据权利要求20所述的云台,其特征在于,所述控制参数包括以下至少之一:所述云台上电机的力度信息、对所述负载位姿的响应速度、所述云台上滤波器的配置参数。The pan/tilt head according to claim 20, wherein the control parameter comprises at least one of the following: the strength information of the motor on the pan/tilt head, the response speed to the load pose, and the filtering on the pan/tilt head. Configuration parameters of the device.
  24. 根据权利要求20所述的云台,其特征在于,所述检测时间段是所述云台处于预设工作状态之后的时间段。The pan/tilt head according to claim 20, wherein the detection time period is a time period after the pan/tilt head is in a preset working state.
  25. 根据权利要求24所述的云台,其特征在于,所述预设工作状态包括以下至少之一:开机状态、唤醒状态。The pan/tilt head according to claim 24, wherein the preset working state includes at least one of the following: a power-on state and a wake-up state.
  26. 根据权利要求20-25中任意一项所述的云台,其特征在于,在确定设置于所述云台上的负载发生更换之后,所述处理器还用于:The pan/tilt head according to any one of claims 20-25, wherein after determining that the load set on the pan/tilt head is changed, the processor is further configured to:
    检测云台是否满足预设的自整定条件;Check whether the PTZ meets the preset self-tuning conditions;
    在所述云台满足所述自整定条件时,则对所述云台的控制参数进行自整定操作。When the pan/tilt satisfies the self-tuning condition, the control parameter of the pan/tilt is self-tuning.
  27. 根据权利要求26所述的云台,其特征在于,所述自整定条件包括:The pan/tilt head of claim 26, wherein the self-tuning condition comprises:
    所述云台上电机的电机轴角度处于预设角度范围;The motor shaft angle of the motor on the pan/tilt is in a preset angle range;
    所述云台的基座的轴线与竖直方向之间的夹角小于预设的角度阈值。The angle between the axis of the base of the pan/tilt head and the vertical direction is smaller than a preset angle threshold.
  28. 根据权利要求20所述的云台,其特征在于,所述运行状态信息包括所述云台在至少一个方向上的控制误差,在所述获取云台的运行状态信息之前,所述处理器还用于:The pan/tilt head according to claim 20, wherein the operating state information includes a control error of the pan/tilt head in at least one direction, and before the acquiring the operating state information of the pan/tilt head, the processor further Used for:
    检测所述云台是否满足预设条件;Detecting whether the pan-tilt meets a preset condition;
    在所述云台满足预设条件时,则在预设的检测时间段内,获取所述云台的运行状态信息。When the pan-tilt meets the preset condition, the operating state information of the pan-tilt is acquired within the preset detection time period.
  29. 根据权利要求28所述的云台,其特征在于,所述预设条件包括以下至少之一:The pan/tilt head according to claim 28, wherein the preset condition comprises at least one of the following:
    所述云台处于静止状态;The pan/tilt is in a static state;
    所述云台的目标姿态保持不变。The target posture of the PTZ remains unchanged.
  30. 根据权利要求29所述的云台,其特征在于,在所述处理器检测所述 云台是否满足预设条件时,所述处理器还用于:The pan/tilt head according to claim 29, wherein when the processor detects whether the pan/tilt head meets a preset condition, the processor is further configured to:
    获取与所述云台相对应的加速度信息;Acquiring acceleration information corresponding to the pan/tilt;
    根据所述加速度信息识别所述云台是否处于静止状态。Identify whether the pan/tilt head is in a stationary state according to the acceleration information.
  31. 根据权利要求30所述的云台,其特征在于,在所述处理器根据所述加速度信息识别所述云台是否处于静止状态时,所述处理器还用于:The pan/tilt head according to claim 30, wherein when the processor recognizes whether the pan/tilt head is in a stationary state according to the acceleration information, the processor is further configured to:
    获取与所述加速度信息相对应的加速度方差;Acquiring the acceleration variance corresponding to the acceleration information;
    在所述加速度方差小于预设的方差阈值时,确定所述云台处于静止状态,或者,在所述加速度方差大于或等于预设的方差阈值时,则确定所述云台处于运动状态。When the acceleration variance is less than a preset variance threshold, it is determined that the pan/tilt head is in a stationary state, or when the acceleration variance is greater than or equal to a preset variance threshold, it is determined that the pan/tilt head is in a motion state.
  32. 根据权利要求29所述的云台,其特征在于,在所述处理器检测所述云台是否满足预设条件时,所述处理器还用于:The pan/tilt head according to claim 29, wherein when the processor detects whether the pan/tilt head meets a preset condition, the processor is further configured to:
    获取与所述云台当前时刻相对应的当前目标姿态、以及与所述云台前一时刻相对应的历史目标姿态;Acquiring the current target posture corresponding to the current moment of the pan/tilt and the historical target posture corresponding to the previous moment of the pan/tilt;
    确定所述当前目标姿态与所述历史目标姿态之间的姿态误差;Determining the attitude error between the current target attitude and the historical target attitude;
    在所述姿态误差小于预设的姿态阈值时,确定所述云台的目标姿态保持不变,或者,在所述姿态误差大于或等于预设的姿态阈值时,确定所述云台的目标姿态发生变化。When the attitude error is less than the preset attitude threshold, it is determined that the target attitude of the pan/tilt head remains unchanged, or when the attitude error is greater than or equal to the preset attitude threshold, the target attitude of the pan/tilt head is determined Changes.
  33. 根据权利要求28所述的云台,其特征在于,在所述处理器根据所述运行状态信息确定所述云台的控制参数与设置于所述云台上的负载是否相匹配时,所述处理器还用于:The pan/tilt head according to claim 28, wherein when the processor determines whether the control parameter of the pan/tilt head matches the load set on the pan/tilt head according to the operating status information, the The processor is also used to:
    在所述检测时间段内,获取所述控制误差连续超出预设误差区间的误差次数;In the detection time period, obtain the number of errors in which the control error continuously exceeds the preset error interval;
    在所述误差次数大于或等于预设的第一次数阈值时,则确定所述控制参数与设置于所述云台上的负载不匹配。When the number of errors is greater than or equal to a preset first number threshold, it is determined that the control parameter does not match the load set on the pan/tilt.
  34. 根据权利要求22所述的云台,其特征在于,在所述处理器根据所述运行状态信息确定所述云台的控制参数与设置于所述云台上的负载是否相匹配时,所述处理器还用于:The pan/tilt head according to claim 22, wherein when the processor determines whether the control parameters of the pan/tilt head match the load set on the pan/tilt head according to the operating status information, the The processor is also used to:
    在所述检测时间段内,获取所述输出力矩信息满足预设变化条件的次数信息;In the detection time period, acquiring information about the number of times that the output torque information meets a preset change condition;
    在所述次数信息大于或等于预设的第二次数阈值时,则确定所述控制参数与设置于所述云台上的负载不匹配。When the frequency information is greater than or equal to the preset second frequency threshold, it is determined that the control parameter does not match the load set on the pan/tilt.
  35. 根据权利要求34所述的云台,其特征在于,所述预设变化条件包括以下至少之一:The pan/tilt head according to claim 34, wherein the preset change condition comprises at least one of the following:
    所述输出力矩信息由预设的最大力矩阈值变化为预设的最小力矩阈值;The output torque information is changed from a preset maximum torque threshold to a preset minimum torque threshold;
    所述输出力矩信息由所述预设的最小力矩阈值变化为所述预设的最大力矩阈值。The output torque information is changed from the preset minimum torque threshold to the preset maximum torque threshold.
  36. 根据权利要求22所述的云台,其特征在于,在所述处理器根据所述运行状态信息确定所述云台的控制参数与设置于所述云台上的负载是否相匹配时,所述处理器还用于:The pan/tilt head according to claim 22, wherein when the processor determines whether the control parameters of the pan/tilt head match the load set on the pan/tilt head according to the operating status information, the The processor is also used to:
    获取所述力矩频谱信息中的频谱峰值信息;Acquiring frequency spectrum peak information in the torque frequency spectrum information;
    在所述频谱峰值信息大于或等于预设的峰值阈值时,确定所述控制参数与设置于云台上的负载不匹配。When the spectral peak information is greater than or equal to a preset peak threshold, it is determined that the control parameter does not match the load set on the pan-tilt.
  37. 根据权利要求26所述的云台,其特征在于,所述处理器还用于:The pan-tilt according to claim 26, wherein the processor is further configured to:
    在所述云台未满足所述自整定条件时,生成与所述云台相对应的状态提醒信息,以提示用户将所述云台调整为满足预设的自整定条件。When the pan/tilt does not meet the self-tuning condition, a status reminder message corresponding to the pan/tilt is generated to prompt the user to adjust the pan/tilt to meet the preset self-tuning condition.
  38. 根据权利要求25所述的云台,其特征在于,所述处理器还用于:The pan-tilt according to claim 25, wherein the processor is further configured to:
    将所述云台的控制参数恢复至预设的默认值。Restore the control parameters of the pan/tilt head to the preset default values.
  39. 一种手持云台,其特征在于,包括:A hand-held pan/tilt, characterized in that it comprises:
    手持部;Handheld
    权利要求20-38中任意一项所述的云台,安装于所述手持部上。The pan/tilt head according to any one of claims 20-38, which is installed on the hand-held part.
  40. 一种无人飞行器,其特征在于,包括:An unmanned aerial vehicle, characterized in that it comprises:
    机身;body;
    动力系统,安装在所述机身,用于为所述无人飞行器提供动力;A power system installed on the fuselage and used to provide power for the unmanned aerial vehicle;
    权利要求20-38中任意一项所述的云台,安装于所述机身上。The pan/tilt head according to any one of claims 20-38, which is installed on the fuselage.
  41. 一种计算机可读存储介质,其特征在于,所述存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序指令用于实现权利要求1-19中任意一项所述的云台的控制方法。A computer-readable storage medium, wherein the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used to implement any one of claims 1-19 The control method of the PTZ described in item.
PCT/CN2019/120686 2019-11-25 2019-11-25 Gimbal control method, gimbal, unmanned aerial vehicle, and storage medium WO2021102645A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980039316.2A CN112292320A (en) 2019-11-25 2019-11-25 Control method of holder, unmanned aerial vehicle and storage medium
PCT/CN2019/120686 WO2021102645A1 (en) 2019-11-25 2019-11-25 Gimbal control method, gimbal, unmanned aerial vehicle, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/120686 WO2021102645A1 (en) 2019-11-25 2019-11-25 Gimbal control method, gimbal, unmanned aerial vehicle, and storage medium

Publications (1)

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

Family

ID=74419428

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/120686 WO2021102645A1 (en) 2019-11-25 2019-11-25 Gimbal control method, gimbal, unmanned aerial vehicle, and storage medium

Country Status (2)

Country Link
CN (1) CN112292320A (en)
WO (1) WO2021102645A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022256977A1 (en) * 2021-06-07 2022-12-15 深圳市大疆创新科技有限公司 Information update method and apparatus, gimbal control method and apparatus, gimbal and storage medium
CN114153234A (en) * 2021-12-01 2022-03-08 重庆市亿飞智联科技有限公司 Cloud deck control method and device, electronic equipment, storage medium and pod
CN114167901A (en) * 2021-12-01 2022-03-11 重庆市亿飞智联科技有限公司 Cloud deck control method and device, electronic equipment, pod and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160334638A1 (en) * 2011-11-02 2016-11-17 Steven D. Wagner Actively stabilized payload support apparatus and methods
CN107042511A (en) * 2017-03-27 2017-08-15 国机智能科技有限公司 The inspecting robot head method of adjustment of view-based access control model feedback
US20180275492A1 (en) * 2011-11-02 2018-09-27 Steven D. Wagner Actively stabilized payload support apparatus and methods
CN109561187A (en) * 2019-01-04 2019-04-02 张奉果 A kind of portable multi-function combination three-axis stabilization filming apparatus
CN109803088A (en) * 2016-05-31 2019-05-24 深圳市大疆灵眸科技有限公司 Cloud platform control method, device and holder

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006171392A (en) * 2004-12-16 2006-06-29 Canon Inc Camera system, intermediate accessory thereof, camera body, and interchangeable lens
WO2013033954A1 (en) * 2011-09-09 2013-03-14 深圳市大疆创新科技有限公司 Gyroscopic dynamic auto-balancing ball head
JP6113365B2 (en) * 2014-06-30 2017-04-12 エスゼット ディージェイアイ テクノロジー カンパニー リミテッドSz Dji Technology Co.,Ltd Method and apparatus for adjusting pan head parameter and pan head device
CN105227824B (en) * 2014-06-30 2018-06-15 深圳市大疆灵眸科技有限公司 A kind of holder parameter regulation means, device and tripod head equipment
CN105573345A (en) * 2014-10-14 2016-05-11 深圳市维森软件股份有限公司 Full-view-field-based controlling method and apparatus of pan-tilt-zoom camera
JP2016143309A (en) * 2015-02-04 2016-08-08 株式会社Jvcケンウッド Gimbal control device and gimbal control method
US20160352992A1 (en) * 2015-05-27 2016-12-01 Gopro, Inc. Image Stabilization Mechanism
WO2017206073A1 (en) * 2016-05-31 2017-12-07 Sz Dji Osmo Technology Co., Ltd. Method and system for adaptive gimbal
WO2018148906A1 (en) * 2017-02-16 2018-08-23 深圳市大疆灵眸科技有限公司 Method of configuring mounting device parameter, device, and mounting device
CN110383198B (en) * 2018-02-02 2023-09-12 深圳市大疆创新科技有限公司 Lens-replaceable holder control method and holder
WO2019153263A1 (en) * 2018-02-09 2019-08-15 深圳市大疆创新科技有限公司 Method for suppressing vibration of pan-tilt, and pan-tilt
CN110337620B (en) * 2018-05-24 2023-07-28 深圳市大疆创新科技有限公司 Tripod head control method and device
WO2019227315A1 (en) * 2018-05-29 2019-12-05 深圳市大疆创新科技有限公司 Pan-tilt, and motor control method and device
CN108616694A (en) * 2018-05-30 2018-10-02 桂林飞宇科技股份有限公司 A kind of connection method of camera and stabilizer
CN209399099U (en) * 2018-11-30 2019-09-17 深圳市大疆创新科技有限公司 Hand-held holder

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160334638A1 (en) * 2011-11-02 2016-11-17 Steven D. Wagner Actively stabilized payload support apparatus and methods
US20180275492A1 (en) * 2011-11-02 2018-09-27 Steven D. Wagner Actively stabilized payload support apparatus and methods
CN109803088A (en) * 2016-05-31 2019-05-24 深圳市大疆灵眸科技有限公司 Cloud platform control method, device and holder
CN107042511A (en) * 2017-03-27 2017-08-15 国机智能科技有限公司 The inspecting robot head method of adjustment of view-based access control model feedback
CN109561187A (en) * 2019-01-04 2019-04-02 张奉果 A kind of portable multi-function combination three-axis stabilization filming apparatus

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2021102645A1 (en) Gimbal control method, gimbal, unmanned aerial vehicle, and storage medium
WO2018148906A1 (en) Method of configuring mounting device parameter, device, and mounting device
WO2022126436A1 (en) Delay detection method and apparatus, system, movable platform, and storage medium
WO2015103835A1 (en) Method and device for controlling azimuth of pan/tilt camera device
CN109313455B (en) Intelligent glasses, method for controlling holder of intelligent glasses, holder, control method and unmanned aerial vehicle
EP3842682A1 (en) Cradle head control method and device, cradle head system and unmanned aerial vehicle
WO2022077357A1 (en) Detection method and apparatus for gimbal, and gimbal, movable platform and storage medium
WO2020237493A1 (en) Zero calibration method for gimbal and gimbal
KR102162175B1 (en) Method, device, device, and data storage medium for detecting deviation in imaging direction
US20210041772A1 (en) Method for suppressing vibration of gimbal, and gimbal
CN112334855A (en) Method and device for calibrating holder system, holder system and computer readable medium
US20240118596A1 (en) Gimbal control method and device
WO2020181530A1 (en) Gimbal vibration adjustment method, gimbal and client
EP3822732A1 (en) Control method and apparatus for unmanned aerial vehicle and unmanned aerial vehicle
CN110989691B (en) Cloud deck control method and device, storage medium, electronic equipment and unmanned aerial vehicle
WO2022133732A1 (en) Detection method and apparatus for gimbal, movable platform and storage medium
US11421749B2 (en) Vibration damper and electronic device
CN115755616A (en) Unmanned aerial vehicle holder control method, device, equipment and storage medium
CN112119254A (en) Control method and device for handheld cloud deck, handheld cloud deck and storage medium
CN110793720B (en) Method, device and storage medium for calibrating balance position of mechanical system
CN113853740A (en) Motor, motor control method, computer-readable storage medium, and mechanical apparatus
WO2021016857A1 (en) Handheld gimbal control method and device, handheld gimbal and storage medium
WO2022016322A1 (en) Gimbal, gimbal performance evaluation method and device, and mobile platform
WO2024114558A1 (en) Gimbal state identification method and apparatus, and storage medium and gimbal
WO2022061592A1 (en) Method and apparatus for controlling and detecting motor, pan-tilt and movable platform

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19954222

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

Country of ref document: EP

Kind code of ref document: A1