WO2021016886A1 - Gimbal control method, gimbal, and computer-readable storage medium - Google Patents

Gimbal control method, gimbal, and computer-readable storage medium Download PDF

Info

Publication number
WO2021016886A1
WO2021016886A1 PCT/CN2019/098436 CN2019098436W WO2021016886A1 WO 2021016886 A1 WO2021016886 A1 WO 2021016886A1 CN 2019098436 W CN2019098436 W CN 2019098436W WO 2021016886 A1 WO2021016886 A1 WO 2021016886A1
Authority
WO
WIPO (PCT)
Prior art keywords
temperature value
motor
pan
current
output torque
Prior art date
Application number
PCT/CN2019/098436
Other languages
French (fr)
Chinese (zh)
Inventor
王文杰
谢文麟
许文
卢国政
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2019/098436 priority Critical patent/WO2021016886A1/en
Priority to CN201980034086.0A priority patent/CN112166395A/en
Publication of WO2021016886A1 publication Critical patent/WO2021016886A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D3/00Control of position or direction
    • G05D3/10Control of position or direction without using feedback
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/34Testing dynamo-electric machines

Definitions

  • This application relates to the technical field of pan-tilt control, and in particular to a pan-tilt control method, pan-tilt and computer-readable storage medium.
  • the hand-held gimbal drives the shaft through the motor to realize the posture adjustment of the hand-held gimbal.
  • the motor will heat up, which will easily cause the motor to be burned.
  • the handheld pan/tilt cannot accurately and timely detect the motor stall event, and thus cannot accurately and timely control the motor dormancy. Therefore, how to accurately and timely detect the motor stall event and control the motor dormancy in time is a problem to be solved urgently.
  • the present application provides a pan-tilt control method, pan-tilt, and computer-readable storage medium, aiming to accurately and timely detect motor stall events and control motor sleep in time.
  • this application provides a pan-tilt control method, including:
  • the pan/tilt When the motor of the pan/tilt is in a locked state, the pan/tilt is controlled to be in a sleep mode, wherein the pan/tilt includes a rotating shaft mechanism, the rotating shaft mechanism includes a rotating shaft and the motor that drives the rotating shaft to rotate.
  • the present application also provides a pan/tilt, the pan/tilt includes a motor, a memory, and a processor; the memory is used to store a computer program;
  • the processor is configured to execute the computer program, and when executing the computer program, implement the following steps:
  • the pan/tilt When the motor of the pan/tilt is in a locked state, the pan/tilt is controlled to be in a sleep mode, wherein the pan/tilt includes a rotating shaft mechanism, the rotating shaft mechanism includes a rotating shaft and the motor that drives the rotating shaft to rotate.
  • the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the one or more processing The device implements the following steps:
  • the pan/tilt When the motor of the pan/tilt is in a locked state, the pan/tilt is controlled to be in a sleep mode, wherein the pan/tilt includes a rotating shaft mechanism, the rotating shaft mechanism includes a rotating shaft and the motor that drives the rotating shaft to rotate.
  • the embodiments of the application provide a pan/tilt control method, pan/tilt, and computer-readable storage medium.
  • the cloud By detecting the stalled state of the motor of the pan/tilt, the cloud can be controlled in time when the motor is detected to be locked The machine sleeps so that the motor rests, which can prevent the motor from being burned and increase the service life of the motor.
  • FIG. 1 is a schematic flow chart of the steps of a method for controlling a PTZ according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a relationship between output torque and time when the hand-board motor is used in an embodiment of the application;
  • FIG. 3 is a schematic diagram of the relationship between the temperature value of the motor and the time when the motor is used in the prototype of the embodiment of the application;
  • Fig. 4 is another schematic diagram of the relationship between output torque and time when the hand-board motor is used in the embodiment of the application
  • FIG. 5 is another schematic diagram of the relationship between the temperature value of the motor and the time when the motor is prototyped in an embodiment of the application;
  • FIG. 6 is a schematic flowchart of a sub-step of the pan-tilt control method in FIG. 1;
  • FIG. 7 is a schematic flowchart of steps of a method for controlling a PTZ according to an embodiment of the present application.
  • FIG. 8 is a schematic flow chart of the steps of another pan/tilt control method provided by an embodiment of the present application.
  • FIG. 9 is a schematic flowchart of sub-steps of the pan-tilt control method in FIG. 8;
  • FIG. 10 is a schematic block diagram of the structure of a pan/tilt head provided by an embodiment of the present application.
  • the pan/tilt control method can be applied to pan/tilt, where the pan/tilt includes a handheld pan/tilt, etc., and the pan/tilt control method can control the pan/tilt to sleep when it is determined that the motor of the pan/tilt is locked.
  • FIG. 1 is a schematic flowchart of steps of a method for controlling a pan/tilt head according to an embodiment of the present application.
  • the pan/tilt control method includes step S101 to step S102.
  • the pan-tilt includes at least one set of rotating shaft structure
  • the rotating shaft mechanism includes a rotating shaft and a motor for driving the rotating shaft to rotate.
  • the pan/tilt includes at least one motor.
  • it is judged whether the motor of the pan/tilt is in a locked-rotor state. It should be noted that at least one motor of the pan/tilt may be in a locked-rotor state at the same time, or may not be in a locked-rotor state at the same time.
  • the current output torque of the motor of the pan/tilt head is obtained, and according to the current output torque of the motor of the pan/tilt head, it is determined whether the motor of the pan/tilt head is in a locked-rotor state.
  • the current output torque of the motor is the output torque of the motor at the current moment.
  • the aforementioned torque threshold can be set based on actual conditions, which is not specifically limited in this application.
  • the current output torque of the motor of the gimbal is greater than the preset torque threshold
  • record the duration of the current output torque of the motor of the gimbal greater than the preset torque threshold and determine whether the duration is greater than the preset duration Threshold, if the duration is greater than the preset duration threshold, it is determined that the motor of the pan/tilt is locked.
  • Figure 2 is a schematic diagram of the relationship between output torque and time when the motor is handed in an embodiment of the application. As shown in Figure 2, when the motor is handed, the output torque of the motor is 1, and the output torque of the motor does not change with time. Therefore, the torque threshold and/or duration can be used to accurately determine whether the motor is in a locked-rotor state, which is convenient for subsequent accurate and timely control of the motor dormancy.
  • Figure 3 is a schematic diagram of the relationship between the temperature value of the motor and the time when the motor is handed in the embodiment of the application. As shown in Figure 3, after the motor is pulled, when the output torque of the motor does not change with time, the temperature value of the motor and time The relationship is positively correlated, and the temperature value of the motor remains stable after a period of time.
  • Figure 4 is another schematic diagram of the relationship between the output torque and time when the hand-board motor in the embodiment of the application is shown. As shown in Figure 4, after the hand-board motor, when the hand-board motor, the output torque of the motor is in a fluctuating state, so based on the output torque detection There is a certain error when the motor is in a locked-rotor state.
  • Figure 5 is another schematic diagram of the relationship between the temperature value of the motor and the time when the hand-board motor is used in the embodiment of the application. As shown in Figure 5, after the motor is pulled and the output torque of the motor is in a fluctuating state, the temperature value of the motor is Time becomes a positive correlation, and the temperature value of the motor remains stable after a period of time, and the temperature value of the motor does not fluctuate.
  • the temperature of the motor remains stable after a period of time. Therefore, to further accurately determine whether the motor is blocked In rotation state, the temperature value of the motor can be used to determine whether the motor is in a locked-rotor state.
  • step S101 includes sub-step S1011 and sub-step S1012.
  • the current output torque of the motor is the output torque of the motor at the current moment
  • the historical output torque of the motor is the output torque of the motor at the previous moment
  • the historical temperature of the motor is the temperature value of the motor at the previous moment.
  • the pan/tilt device establishes a mathematical model between the output torque of the motor and the temperature value of the motor, wherein the input parameters of the mathematical model include the current output torque, historical output torque, and historical temperature value of the motor.
  • the output result of the model is the current temperature value of the motor.
  • the process of establishing the mathematical model is as follows: the relationship expression between the output torque of the motor and the current is obtained through actual tests; based on the principle of electrothermal conversion, the relationship expression between the heat generation and the current of the motor can be obtained; the motor continues Saturated output, when the motor temperature reaches the steady state, according to the temperature model, the relationship expression between the output torque of the motor and the current, and the relationship expression between the calorific value and the current, the value of the output torque of the motor and the temperature of the motor can be obtained.
  • Mathematical model of time is
  • the temperature model is T is the temperature of the object, Q is the heating amount, ⁇ m is the time constant of the inertia link, K is the gain, and ⁇ is the pure delay time.
  • the gimbal can estimate the current temperature value of the motor based on the mathematical model. Before estimating the current temperature value of the motor, obtain the current output torque, historical output torque and historical temperature value of the gimbal motor.
  • the pan/tilt is provided with a control key for the handle motor to detect the user's pulling operation of the control key, and when the user's pulling operation of the control key is detected, it is determined that the handle motor event occurs.
  • S1012. Determine whether the motor of the pan/tilt head is in a locked-rotor state according to the current output torque, historical output torque, and historical temperature value of the motor.
  • the current temperature value of the motor is determined, that is, the current output torque, historical output torque and historical temperature value of the motor are input to the mathematical model, and the current output torque of the motor Temperature value: According to the current temperature value of the motor, judge whether the motor of the gimbal is in a locked-rotor state.
  • the pan/tilt head determines whether the current temperature value of the motor is greater than a preset temperature threshold; if the current temperature value of the motor is greater than the temperature threshold value, it is determined that the motor of the pan/tilt head is in a stalled state; if the current temperature value of the motor is less than If it is equal to the temperature threshold, it is determined that the motor of the gimbal is in a normal state.
  • a preset temperature threshold can be set based on actual conditions, which is not specifically limited in this application.
  • the current temperature value of the motor is greater than the temperature threshold, record the duration of the current temperature value of the motor greater than the temperature threshold; determine whether the duration reaches the preset time threshold; if the duration reaches the preset Time threshold, it is determined that the motor of the pan/tilt is locked.
  • the above-mentioned time threshold can be set based on actual conditions, which is not specifically limited in this application. By comparing the duration of the current temperature value greater than the temperature threshold value with the time threshold value, it is possible to further accurately determine whether the motor is in a locked-rotor state, so as to facilitate subsequent accurate and timely control of motor sleep.
  • the method for determining the current temperature value of the motor may be: the pan/tilt calculates the temperature gain value of the motor according to the current output torque and the historical output torque; calculates the sum of the temperature gain value and the preset first weight coefficient , And use the sum of the temperature gain value and the preset first weight coefficient as the first temperature value of the motor; calculate the sum of the historical temperature value and the preset second weight coefficient, and combine the historical temperature value with the preset Set the sum of the second weight coefficient as the second temperature value of the motor; calculate the difference between the first temperature value and the second temperature value, and use the difference between the first temperature value and the second temperature value as The current temperature value of the motor.
  • the calculation method of the temperature gain value is specifically: calculating the sum of squares of the current output torque and the history output torque, and using the sum of the squares of the current output torque and the history output torque as the target output torque; calculating the target output torque and the preset Set the product of the temperature torque ratio, and use the product of the target output torque and the preset temperature torque ratio as the temperature gain of the motor.
  • first weighting coefficient and second weighting coefficient are determined based on the time constant ⁇ m of the inertial link and the interval time difference t s between the current time and the previous time, and the preset temperature torque ratio is based on the maximum temperature value T max and the maximum output torque u max are determined, and the maximum temperature value T max and the time constant ⁇ m of the inertia link are obtained through experimental measurement.
  • the first weight coefficient is 1 ⁇ (1+( ⁇ m ⁇ 2t s ))
  • the second weight coefficient is (1-( ⁇ m ⁇ 2t s )) ⁇ (1+( ⁇ m ⁇ 2t s ) )
  • the temperature torque ratio is T max ⁇ (u max ) 2
  • the mathematical model between the output torque of the motor and the temperature value of the motor can optionally be expressed as: T(k) is the current temperature value of the motor, u(k-1) is the historical output torque of the motor, u(k) is the current output torque of the motor, and T(k-1) is the historical temperature value of the motor.
  • the gimbal When the motor of the gimbal is in a locked-rotor state, the gimbal is controlled to be in a sleep mode, so that the motor rests, which can prevent the motor from being burned and increase the service life of the motor.
  • the pan/tilt control method detects the stalled state of the motor of the pan/tilt, and can control the dormancy of the pan/tilt when it is detected that the motor is in a stalled state, so that the motor rests, which can prevent the motor from being burnt and improve The service life of the motor.
  • FIG. 7 is a schematic flowchart of steps of another pan/tilt control method provided by an embodiment of the present application.
  • the pan-tilt control method includes steps S201 to S206.
  • the current output torque of the motor is the output torque of the motor at the current moment
  • the historical output torque of the motor is the output torque of the motor at the previous moment
  • the historical temperature of the motor is the temperature value of the motor at the previous moment.
  • S202 Determine the current temperature value of the motor according to the current output torque, historical output torque, and historical temperature value of the motor.
  • the pan/tilt head calculates the temperature gain value of the motor according to the current output torque and historical output torque; calculates the temperature gain value and the preset first The sum of the weighting coefficients, and the sum of the temperature gain value and the preset first weighting coefficient as the first temperature value of the motor; the sum of the historical temperature value and the preset second weighting coefficient is calculated, and the historical The sum of the temperature value and the preset second weight coefficient is used as the second temperature value of the motor; the difference between the first temperature value and the second temperature value is calculated, and the difference between the first temperature value and the second temperature value is calculated The difference between is used as the current temperature of the motor.
  • the pan/tilt is also provided with a temperature sensor, which is used to sense the temperature value of the motor. When determining the current temperature value of the motor, the pan/tilt obtains the measured temperature value of the motor sensed by the preset temperature sensor at the current moment.
  • the current temperature value of the motor can be verified according to the measured temperature value, that is, the difference between the measured temperature value and the current temperature value can be calculated, And determine whether the difference between the measured temperature value and the current temperature value is less than or equal to the preset threshold; if the difference between the measured temperature value and the current temperature value is less than or equal to the preset threshold, it is determined that the current temperature value passes the check ; If the difference between the measured temperature value and the current temperature value is greater than the preset threshold, it is determined that the current temperature value has not passed the verification.
  • the foregoing preset threshold may be set based on actual conditions, which is not specifically limited in this application.
  • the gimbal can judge whether the motor of the gimbal is in a locked-rotor state based on the current temperature value of the motor, specifically: determine the current temperature of the motor Whether the value is greater than the preset temperature threshold; if the current temperature value of the motor is greater than the temperature threshold, it is determined that the motor of the gimbal is locked; if the current temperature value of the motor is less than or equal to the temperature threshold, it is determined that the motor of the gimbal is normal status.
  • the above temperature threshold can be set based on actual conditions, which is not specifically limited in this application.
  • the gimbal can determine whether the motor of the gimbal is in a locked-rotor state based on the measured temperature value, specifically: Determine whether the measured temperature value of the motor is greater than the preset temperature threshold; if the measured temperature value of the motor is greater than the temperature threshold, the motor of the gimbal is determined to be locked; if the measured temperature value of the motor is less than or equal to the temperature threshold, the cloud is determined The motor of the station is in a normal state.
  • the gimbal When the motor of the gimbal is in a locked-rotor state, the gimbal is controlled to be in a sleep mode, so that the motor rests, which can prevent the motor from being burned and increase the service life of the motor.
  • the pan/tilt control method provided in the above embodiments can accurately estimate the current temperature of the motor through the current output torque, historical output torque, and historical temperature value of the motor, and compare the current temperature value based on the measured temperature value of the motor sensed by the temperature sensor. When the current temperature value passes the verification, it can accurately determine whether the motor is in a locked-rotor state based on the current temperature value, which can further accurately and timely control the pan/tilt to enter the dormant state and increase the service life of the motor.
  • FIG. 8 is a schematic flowchart of steps of yet another method for controlling a pan/tilt head according to an embodiment of the present application.
  • the pan-tilt control method includes steps S301 to S306.
  • the current output torque of the motor is the output torque of the motor at the current moment
  • the historical output torque of the motor is the output torque of the motor at the previous moment
  • the historical temperature of the motor is the temperature value of the motor at the previous moment.
  • S302 Determine the current temperature value of the motor according to the current output torque, historical output torque, and historical temperature value of the motor.
  • the pan/tilt head calculates the temperature gain value of the motor according to the current output torque and historical output torque; calculates the temperature gain value and the preset first The sum of the weighting coefficients, and the sum of the temperature gain value and the preset first weighting coefficient as the first temperature value of the motor; the sum of the historical temperature value and the preset second weighting coefficient is calculated, and the historical The sum of the temperature value and the preset second weight coefficient is used as the second temperature value of the motor; the difference between the first temperature value and the second temperature value is calculated, and the difference between the first temperature value and the second temperature value is calculated The difference between is used as the current temperature of the motor.
  • the pan/tilt is also provided with a temperature sensor, which is used to sense the temperature value of the motor. When determining the current temperature value of the motor, the pan/tilt obtains the measured temperature value of the motor sensed by the preset temperature sensor at the current moment.
  • the current temperature value of the motor can be verified according to the measured temperature value, that is, the difference between the measured temperature value and the current temperature value can be calculated, And determine whether the difference between the measured temperature value and the current temperature value is less than or equal to the preset threshold; if the difference between the measured temperature value and the current temperature value is less than or equal to the preset threshold, it is determined that the current temperature value passes the check ; If the difference between the measured temperature value and the current temperature value is greater than the preset threshold, it is determined that the current temperature value has not passed the verification.
  • the foregoing preset threshold may be set based on actual conditions, which is not specifically limited in this application.
  • the pan/tilt can determine whether the motor of the pan/tilt is in a locked-rotor state based on the measured temperature value and the current temperature value.
  • step S305 includes sub-steps S3051 to S3052.
  • the sum of the two weighting coefficients is used as the second weighted temperature value; the sum of the first weighted temperature value and the second weighted temperature value is calculated, and the sum of the first weighted temperature value and the second weighted temperature value is used as the fusion temperature value of the motor.
  • the method for determining the weighting coefficient is specifically: obtaining a mapping relationship table between the pre-stored difference value and the weighting coefficient; querying the mapping relationship table, and weighting the difference between the measured temperature value and the current temperature value.
  • the coefficient is used as the first weighting coefficient of the measured temperature value; the second weighting coefficient of the current temperature value is determined according to the first weighting coefficient of the measured temperature value, where the sum of the first weighting coefficient and the second weighting coefficient is 1.
  • the above-mentioned mapping relationship table between the pre-stored difference value and the weighting coefficient can be set based on actual conditions, which is not specifically limited in this application.
  • the gimbal determines whether the fusion temperature value of the motor is greater than the preset temperature threshold; if the fusion temperature value of the motor is greater than the temperature threshold, it is determined that the motor of the gimbal is in a locked-rotor state; if the fusion temperature value of the motor is less than or equal to the temperature Threshold, it is determined that the motor of the gimbal is in a normal state.
  • the above temperature threshold can be set based on actual conditions, which is not specifically limited in this application.
  • the method for determining whether a stall event occurs in the motor may also be: the pan/tilt head determines whether the measured temperature value and the current temperature value are greater than a preset temperature threshold; if the measured temperature value or the current temperature value is greater than the preset temperature Threshold, it is determined that the motor of the gimbal is in a locked-rotor state; if the measured temperature value and the current temperature value are less than or equal to the preset temperature threshold, it is determined that the motor of the gimbal is in a normal state.
  • the pan/tilt control method provided in the above embodiments can accurately estimate the current temperature of the motor through the current output torque, historical output torque, and historical temperature value of the motor, and compare the current temperature value based on the measured temperature value of the motor sensed by the temperature sensor.
  • the current temperature value passes the verification, based on the current temperature value and the measured temperature value, it can be further accurately determined whether the motor is in a locked-rotor state, which can further accurately and timely control the gimbal to enter the dormant state, and improve The service life of the motor.
  • FIG. 10 is a schematic block diagram of a pan/tilt head provided by an embodiment of the present application.
  • the pan-tilt 400 includes a shaft mechanism 401, the shaft mechanism 401 includes a shaft 4012 and a motor 4011 that drives the shaft to rotate; and one or more processors 402, at least one of the processors 402 is used for To communicate with the motor 4011.
  • the processor 402 may be a Micro-controller Unit (MCU), a Central Processing Unit (CPU), a Digital Signal Processor (Digital Signal Processor, DSP), or the like.
  • MCU Micro-controller Unit
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • the one or more processors work individually or together to implement the following steps:
  • the pan/tilt is controlled to be in a sleep mode.
  • the one or more processors determine whether the motor of the pan/tilt head is in a locked-rotor state according to the current output torque, historical output torque, and historical temperature value of the motor, it is used to achieve:
  • the one or more processors implement the acquisition of the current output torque, historical output torque, and historical temperature value of the motor, they are used to achieve:
  • the mathematical model between the output torque and the temperature value of the motor wherein the input parameters of the mathematical model include the current output torque, historical output torque and historical temperature value of the motor, and the output result of the mathematical model is The current temperature value of the motor.
  • the one or more processors determine the current temperature value of the motor according to the current output torque, historical output torque, and historical temperature value of the motor, it is used to achieve:
  • the current output torque, historical output torque and historical temperature value of the motor are input to the mathematical model, and the current temperature value of the motor is obtained by outputting.
  • the one or more processors determine the current temperature value of the motor according to the current output torque, historical output torque, and historical temperature value of the motor, it is used to implement:
  • the difference between the first temperature value and the second temperature value is calculated, and the difference between the first temperature value and the second temperature value is used as the current temperature value of the motor.
  • the one or more processors calculate the temperature gain value of the motor according to the current output torque and the historical output torque, it is used to achieve:
  • the product of the target output torque and the preset temperature torque ratio is calculated, and the product of the target output torque and the preset temperature torque ratio is used as the temperature gain value of the motor.
  • the one or more processors determine whether the motor of the pan/tilt head is in a locked-rotor state according to the current temperature value of the motor, it is used to implement:
  • the one or more processors implement that if the current temperature value of the motor is greater than the temperature threshold, when it is determined that the motor of the pan/tilt head is in a locked-rotor state, it is used to implement:
  • the duration reaches the preset time threshold, it is determined that the motor of the pan/tilt is in a locked-rotor state.
  • the one or more processors determine whether the motor of the pan/tilt head is in a locked-rotor state according to the current temperature value of the motor, it is also used to achieve:
  • the one or more processors implement the verification of the current temperature value according to the measured temperature value, it is used to implement:
  • the difference between the measured temperature value and the current temperature value is greater than a preset threshold value, it is determined that the current temperature value fails the verification.
  • the one or more processors are further used to implement after verifying the current temperature value according to the measured temperature value:
  • the one or more processors are further used to implement after verifying the current temperature value according to the measured temperature value:
  • the motor of the pan/tilt head is in a locked-rotor state according to the measured temperature value and the current temperature value.
  • the one or more processors determine whether the motor of the pan/tilt head is in a locked-rotor state according to the measured temperature value and the current temperature value, it is used to implement:
  • the fusion temperature value it is determined whether the motor of the pan/tilt head is in a locked-rotor state.
  • the one or more processors implement fusion processing on the measured temperature value and the current temperature value to obtain the fusion temperature value of the motor, it is used to implement:
  • the one or more processors can determine the first weighting coefficient of the measured temperature value and the first weighting coefficient of the current temperature value according to the difference between the measured temperature value and the current temperature value.
  • two weighting factors it is used to achieve:
  • the second weighting coefficient of the current temperature value is determined, wherein the sum of the first weighting coefficient and the second weighting coefficient is 1.
  • the one or more processors determine whether the motor of the pan/tilt head is in a locked-rotor state according to the measured temperature value and the current temperature value, it is used to implement:
  • both the measured temperature value and the current temperature value are less than or equal to a preset temperature threshold, it is determined that the motor of the pan/tilt head is in a normal state.
  • the one or more processors realize whether the motor of the pan/tilt head is in a locked-rotor state, it is used to realize:
  • the one or more processors determine whether the motor of the pan/tilt head is in a locked-rotor state according to the current output torque of the motor of the pan/tilt head, it is used to achieve:
  • the one or more processors realize that if the current output torque of the motor of the pan/tilt head is greater than a preset torque threshold, when it is determined that the motor of the pan/tilt head is in a locked-rotor state, it is used to implement:
  • the duration is greater than the preset duration threshold, it is determined that the motor of the pan/tilt is in a locked-rotor state.
  • pan-tilt can refer to the corresponding process in the aforementioned pan-tilt control method embodiment. Repeat it again.
  • the embodiments of the present application also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the processor executes the program instructions to implement the foregoing implementation The steps of the PTZ control method provided in the example.
  • the computer-readable storage medium may be the internal storage unit of the pan/tilt head described in any of the foregoing embodiments, such as the hard disk or memory of the pan/tilt head.
  • the computer-readable storage medium may also be an external storage device of the pan/tilt, such as a plug-in hard disk equipped on the pan/tilt, a smart memory card (Smart Media Card, SMC), or a Secure Digital (SD). ) Card, Flash Card, etc.

Abstract

Disclosed are a gimbal (400) control method, a gimbal (400), and a computer-readable storage medium. The method comprises: determining whether an electric motor (4011) of the gimbal (400) is in a stalling state (S101); and when the electric motor (4011) of the gimbal is in a stalling state, controlling the gimbal (400) to be in a dormant mode (S102), wherein the gimbal (400) comprises a rotating shaft mechanism (401), and the rotating shaft mechanism (401) comprises a rotating shaft (4012), and the electric motor that drives the rotating shaft (4012) to rotate. By means of the method, whether an electric motor is in a stalling state can be accurately determined.

Description

云台控制方法、云台及计算机可读存储介质PTZ control method, PTZ and computer readable storage medium 技术领域Technical field
本申请涉及云台控制的技术领域,尤其涉及一种云台控制方法、云台及计算机可读存储介质。This application relates to the technical field of pan-tilt control, and in particular to a pan-tilt control method, pan-tilt and computer-readable storage medium.
背景技术Background technique
手持云台通过电机驱动转轴,实现手持云台的姿态调整,随着电机的长时间运行,电机会发热,容易导致电机被烧毁,目前可以通过手扳电机,控制电机休眠,避免该电机被烧毁,提高电机的使用寿命。然而,在实际应用中,由于人手扳电机时,受到人手的运动等影响,手持云台无法准确且及时地检测电机堵转事件,进而也就无法准确及时地控制电机休眠。因此,如何准确且及时地检测电机堵转事件,及时控制电机休眠是目前亟待解决的问题。The hand-held gimbal drives the shaft through the motor to realize the posture adjustment of the hand-held gimbal. As the motor runs for a long time, the motor will heat up, which will easily cause the motor to be burned. At present, you can control the motor to sleep through the lever motor to prevent the motor from being burned. , Improve the service life of the motor. However, in practical applications, due to the movement of the human hand when the motor is pulled by the human hand, the handheld pan/tilt cannot accurately and timely detect the motor stall event, and thus cannot accurately and timely control the motor dormancy. Therefore, how to accurately and timely detect the motor stall event and control the motor dormancy in time is a problem to be solved urgently.
发明内容Summary of the invention
基于此,本申请提供了一种云台控制方法、云台及计算机可读存储介质,旨在准确且及时地检测电机堵转事件,及时控制电机休眠。Based on this, the present application provides a pan-tilt control method, pan-tilt, and computer-readable storage medium, aiming to accurately and timely detect motor stall events and control motor sleep in time.
第一方面,本申请提供了一种云台控制方法,包括:In the first aspect, this application provides a pan-tilt control method, including:
判断所述云台的电机是否处于堵转状态;Determine whether the motor of the pan/tilt head is in a locked-rotor state;
当所述云台的电机处于堵转状态时,控制所述云台处于休眠模式,其中,所述云台包括转轴机构,所述转轴机构包括转轴以及驱动所述转轴转动的所述电机。When the motor of the pan/tilt is in a locked state, the pan/tilt is controlled to be in a sleep mode, wherein the pan/tilt includes a rotating shaft mechanism, the rotating shaft mechanism includes a rotating shaft and the motor that drives the rotating shaft to rotate.
第二方面,本申请还提供了一种云台,所述云台包括电机、存储器和处理器;所述存储器用于存储计算机程序;In the second aspect, the present application also provides a pan/tilt, the pan/tilt includes a motor, a memory, and a processor; the memory is used to store a computer program;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program, and when executing the computer program, implement the following steps:
判断所述云台的电机是否处于堵转状态;Determine whether the motor of the pan/tilt head is in a locked-rotor state;
当所述云台的电机处于堵转状态时,控制所述云台处于休眠模式,其中,所述云台包括转轴机构,所述转轴机构包括转轴以及驱动所述转轴转动的所述电机。When the motor of the pan/tilt is in a locked state, the pan/tilt is controlled to be in a sleep mode, wherein the pan/tilt includes a rotating shaft mechanism, the rotating shaft mechanism includes a rotating shaft and the motor that drives the rotating shaft to rotate.
第三方面,本申请还提供了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述一个或多个处理器实现如下步骤:In a third aspect, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the one or more processing The device implements the following steps:
判断所述云台的电机是否处于堵转状态;Determine whether the motor of the pan/tilt head is in a locked-rotor state;
当所述云台的电机处于堵转状态时,控制所述云台处于休眠模式,其中,所述云台包括转轴机构,所述转轴机构包括转轴以及驱动所述转轴转动的所述电机。When the motor of the pan/tilt is in a locked state, the pan/tilt is controlled to be in a sleep mode, wherein the pan/tilt includes a rotating shaft mechanism, the rotating shaft mechanism includes a rotating shaft and the motor that drives the rotating shaft to rotate.
本申请实施例提供了一种云台控制方法、云台及计算机可读存储介质,通过对云台的电机的堵转状态进行检测,可以在检测到电机处于堵转状态时,及时地控制云台休眠,使得电机休息,可以避免电机被烧毁,提高电机的使用寿命。The embodiments of the application provide a pan/tilt control method, pan/tilt, and computer-readable storage medium. By detecting the stalled state of the motor of the pan/tilt, the cloud can be controlled in time when the motor is detected to be locked The machine sleeps so that the motor rests, which can prevent the motor from being burned and increase the service life of the motor.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the application.
附图说明Description of the drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present application. Ordinary technicians can obtain other drawings based on these drawings without creative work.
图1是本申请一实施例提供的一种云台控制方法的步骤示意流程图;FIG. 1 is a schematic flow chart of the steps of a method for controlling a PTZ according to an embodiment of the present application;
图2为本申请实施例中手板电机时的输出力矩与时间的一关系示意图;FIG. 2 is a schematic diagram of a relationship between output torque and time when the hand-board motor is used in an embodiment of the application;
图3为本申请实施例中手板电机时电机的温度值与时间的一关系示意图;FIG. 3 is a schematic diagram of the relationship between the temperature value of the motor and the time when the motor is used in the prototype of the embodiment of the application;
图4为本申请实施例中手板电机时的输出力矩与时间的又一关系示意图Fig. 4 is another schematic diagram of the relationship between output torque and time when the hand-board motor is used in the embodiment of the application
图5为本申请实施例中手板电机时电机的温度值与时间的又一关系示意图;FIG. 5 is another schematic diagram of the relationship between the temperature value of the motor and the time when the motor is prototyped in an embodiment of the application;
图6为图1中云台控制方法的一子步骤示意流程图;6 is a schematic flowchart of a sub-step of the pan-tilt control method in FIG. 1;
图7是本申请一实施例提供的一种云台控制方法的步骤示意流程图;FIG. 7 is a schematic flowchart of steps of a method for controlling a PTZ according to an embodiment of the present application;
图8是本申请一实施例提供的另一种云台控制方法的步骤示意流程图;FIG. 8 is a schematic flow chart of the steps of another pan/tilt control method provided by an embodiment of the present application;
图9是图8中的云台控制方法的子步骤示意流程图;FIG. 9 is a schematic flowchart of sub-steps of the pan-tilt control method in FIG. 8;
图10是本申请一实施例提供的一种云台的结构示意性框图。FIG. 10 is a schematic block diagram of the structure of a pan/tilt head provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowchart shown in the drawings is merely an illustration, and does not necessarily include all contents and operations/steps, nor does it have to be executed in the described order. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to actual conditions.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present application will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
该云台控制方法可以应用在云台,其中云台包括手持云台等,通过该云台控制方法可以在确定云台的电机处于堵转状态时,控制云台休眠。The pan/tilt control method can be applied to pan/tilt, where the pan/tilt includes a handheld pan/tilt, etc., and the pan/tilt control method can control the pan/tilt to sleep when it is determined that the motor of the pan/tilt is locked.
请参阅图1,图1是本申请一实施例提供的一种云台控制方法的步骤示意流程图。Please refer to FIG. 1. FIG. 1 is a schematic flowchart of steps of a method for controlling a pan/tilt head according to an embodiment of the present application.
具体地,如图1所示,该云台控制方法包括步骤S101至步骤S102。Specifically, as shown in FIG. 1, the pan/tilt control method includes step S101 to step S102.
S101、判断所述云台的电机是否处于堵转状态。S101. Determine whether the motor of the pan/tilt head is in a locked-rotor state.
其中,云台包括至少一组转轴结构,该转轴机构包括转轴以及驱动转轴转动的电机。云台包括至少一个电机,云台在运行过程中,判断云台的电机是否处于堵转状态。需要说明的是,云台的至少一个电机可以同时处于堵转状态,也可以不同时处于堵转状态。Wherein, the pan-tilt includes at least one set of rotating shaft structure, and the rotating shaft mechanism includes a rotating shaft and a motor for driving the rotating shaft to rotate. The pan/tilt includes at least one motor. During the operation of the pan/tilt, it is judged whether the motor of the pan/tilt is in a locked-rotor state. It should be noted that at least one motor of the pan/tilt may be in a locked-rotor state at the same time, or may not be in a locked-rotor state at the same time.
在一实施例中,获取云台的电机的当前输出力矩,并根据云台的电机的当前输出力矩,判断云台的电机是否处于堵转状态。其中,电机的当前输出力矩为电机在当前时刻的输出力矩。In one embodiment, the current output torque of the motor of the pan/tilt head is obtained, and according to the current output torque of the motor of the pan/tilt head, it is determined whether the motor of the pan/tilt head is in a locked-rotor state. Among them, the current output torque of the motor is the output torque of the motor at the current moment.
具体地,判断云台的电机的当前输出力矩是否大于预设的力矩阈值,如果云台的电机的当前输出力矩大于预设的力矩阈值,则确定云台的电机处于堵转 状态,如果云台的电机的当前输出力矩小于或等于预设的力矩阈值,则确定云台的电机处于正常状态。需要说明的是,上述力矩阈值可基于实际情况进行设置,本申请对此不作具体限定。通过比较电机的当前输出力矩与力矩阈值,可以快速准确的确定电机是否处于堵转状态,便于后续准确且及时控制电机休眠。Specifically, it is determined whether the current output torque of the motor of the gimbal is greater than the preset torque threshold. If the current output torque of the motor of the gimbal is greater than the preset torque threshold, it is determined that the motor of the gimbal is in a locked-rotor state. If the current output torque of the motor is less than or equal to the preset torque threshold, it is determined that the motor of the pan/tilt is in a normal state. It should be noted that the aforementioned torque threshold can be set based on actual conditions, which is not specifically limited in this application. By comparing the current output torque of the motor with the torque threshold, it is possible to quickly and accurately determine whether the motor is in a locked-rotor state, which is convenient for subsequent accurate and timely control of the motor dormancy.
进一步地,如果云台的电机的当前输出力矩大于预设的力矩阈值,则记录云台的电机的当前输出力矩大于预设的力矩阈值的持续时长,并确定该持续时长是否大于预设的时长阈值,如果该持续时长大于预设的时长阈值,则确定云台的电机处于堵转状态。通过比较当前输出力矩大于预设的力矩阈值的持续时长与时长阈值,可以进一步准确的确定电机是否处于堵转状态,便于后续准确且及时控制电机休眠。Further, if the current output torque of the motor of the gimbal is greater than the preset torque threshold, record the duration of the current output torque of the motor of the gimbal greater than the preset torque threshold, and determine whether the duration is greater than the preset duration Threshold, if the duration is greater than the preset duration threshold, it is determined that the motor of the pan/tilt is locked. By comparing the duration of the current output torque greater than the preset torque threshold with the duration threshold, it is possible to further accurately determine whether the motor is in a locked-rotor state, and facilitate subsequent accurate and timely control of motor sleep.
图2为本申请实施例中手板电机时的输出力矩与时间的一关系示意图,如图2所示,手板电机时,电机的输出力矩为1,且电机的输出力矩不随时间发生变化。因此通过力矩阈值和/或时长可以准确的确定电机是否处于堵转状态,便于后续准确且及时控制电机休眠。图3为本申请实施例中手板电机时电机的温度值与时间的一关系示意图,如图3所示,手扳电机后,在电机的输出力矩不随时间发生变化时,电机的温度值与时间成正相关的关系,且在经过一段时间后电机的温度值也保持稳定。Figure 2 is a schematic diagram of the relationship between output torque and time when the motor is handed in an embodiment of the application. As shown in Figure 2, when the motor is handed, the output torque of the motor is 1, and the output torque of the motor does not change with time. Therefore, the torque threshold and/or duration can be used to accurately determine whether the motor is in a locked-rotor state, which is convenient for subsequent accurate and timely control of the motor dormancy. Figure 3 is a schematic diagram of the relationship between the temperature value of the motor and the time when the motor is handed in the embodiment of the application. As shown in Figure 3, after the motor is pulled, when the output torque of the motor does not change with time, the temperature value of the motor and time The relationship is positively correlated, and the temperature value of the motor remains stable after a period of time.
图4为本申请实施例中手板电机时的输出力矩与时间的又一关系示意图,如图4所示,在手板电机后,手板电机时,电机的输出力矩处于波动状态,因此基于输出力矩检测电机是否处于堵转状态时,存在一定的误差。图5为本申请实施例中手板电机时电机的温度值与时间的又一关系示意图,如图5所示,在手扳电机后,且电机的输出力矩处于波动状态时,电机的温度值与时间成正相关的关系,且在经过一段时间后电机的温度值保持稳定,电机的温度值不波动。也就是说,在手扳电机后,无论电机的输出力矩不随时间发生变化,还是处于波动状态,而电机的温度值在经过一段时间后均保持稳定,因此为更进一步准确地确定电机是否处于堵转状态,可以通过电机的温度值确定电机是否处于堵转状态。Figure 4 is another schematic diagram of the relationship between the output torque and time when the hand-board motor in the embodiment of the application is shown. As shown in Figure 4, after the hand-board motor, when the hand-board motor, the output torque of the motor is in a fluctuating state, so based on the output torque detection There is a certain error when the motor is in a locked-rotor state. Figure 5 is another schematic diagram of the relationship between the temperature value of the motor and the time when the hand-board motor is used in the embodiment of the application. As shown in Figure 5, after the motor is pulled and the output torque of the motor is in a fluctuating state, the temperature value of the motor is Time becomes a positive correlation, and the temperature value of the motor remains stable after a period of time, and the temperature value of the motor does not fluctuate. In other words, after the motor is pulled, regardless of whether the output torque of the motor does not change with time or is in a fluctuating state, the temperature of the motor remains stable after a period of time. Therefore, to further accurately determine whether the motor is blocked In rotation state, the temperature value of the motor can be used to determine whether the motor is in a locked-rotor state.
在一实施例中,如图6所示,步骤S101包括子步骤S1011和子步骤S1012。In an embodiment, as shown in FIG. 6, step S101 includes sub-step S1011 and sub-step S1012.
S1011、获取云台的电机的当前输出力矩、历史输出力矩和历史温度值。S1011. Obtain current output torque, historical output torque and historical temperature value of the motor of the pan/tilt.
其中,电机的当前输出力矩为电机在当前时刻的输出力矩,电机的历史输 出力矩为电机在上一时刻的输出力矩,电机的历史温度值为电机上一时刻的温度值。需要说明的是,当前时刻与上一时刻之间的间隔时间差可基于实际情况进行设置,本申请对此不作具体限定。Among them, the current output torque of the motor is the output torque of the motor at the current moment, the historical output torque of the motor is the output torque of the motor at the previous moment, and the historical temperature of the motor is the temperature value of the motor at the previous moment. It should be noted that the interval time difference between the current time and the previous time can be set based on actual conditions, which is not specifically limited in this application.
在一实施例中,云台设备建立电机的输出力矩与电机的温度值之间的数学模型,其中,该数学模型的输入参数包括电机的当前输出力矩、历史输出力矩和历史温度值,该数学模型的输出结果为电机的当前温度值。In an embodiment, the pan/tilt device establishes a mathematical model between the output torque of the motor and the temperature value of the motor, wherein the input parameters of the mathematical model include the current output torque, historical output torque, and historical temperature value of the motor. The output result of the model is the current temperature value of the motor.
其中,该数学模型的建立过程具体为:通过实际测试得到电机的输出力矩与电流之间的关系表达式;基于电热转换原理,可以得到电机的发热量与电流之间的关系表达式;电机持续饱和输出,电机温度到达稳态时,根据温度模型、电机的输出力矩与电流之间的关系表达式以及发热量与电流之间的关系表达式,可以得到电机的输出力矩与电机的温度值之间的数学模型。Among them, the process of establishing the mathematical model is as follows: the relationship expression between the output torque of the motor and the current is obtained through actual tests; based on the principle of electrothermal conversion, the relationship expression between the heat generation and the current of the motor can be obtained; the motor continues Saturated output, when the motor temperature reaches the steady state, according to the temperature model, the relationship expression between the output torque of the motor and the current, and the relationship expression between the calorific value and the current, the value of the output torque of the motor and the temperature of the motor can be obtained. Mathematical model of time.
其中,温度模型为
Figure PCTCN2019098436-appb-000001
T为对象的温度,Q为加热量,τ m为惯性环节的时间常数,K为增益,τ为纯延时时间。电机的输出力矩与电流之间的关系表达式为u=IK_m,u为电机的输出力矩,K_m为电机常数,I为电流。发热量与电流之间的关系表达式为Q=I 2R,R为电机绕子的电阻。
Among them, the temperature model is
Figure PCTCN2019098436-appb-000001
T is the temperature of the object, Q is the heating amount, τ m is the time constant of the inertia link, K is the gain, and τ is the pure delay time. The relationship between the output torque of the motor and the current is expressed as u=IK_m, u is the output torque of the motor, K_m is the motor constant, and I is the current. The expression of the relationship between heat generation and current is Q=I 2 R, and R is the resistance of the motor winding.
在手扳电机之后,云台可以基于该数学模型估算电机的当前温度值,估算电机的当前温度值之前,获取云台的电机的当前输出力矩、历史输出力矩和历史温度值。其中,云台中设置有用于手扳电机的控制键,检测用户对该控制键的扳动操作,当检测到用户对该控制键的扳动操作时,确定发生手扳电机事件。After the motor is pulled, the gimbal can estimate the current temperature value of the motor based on the mathematical model. Before estimating the current temperature value of the motor, obtain the current output torque, historical output torque and historical temperature value of the gimbal motor. Wherein, the pan/tilt is provided with a control key for the handle motor to detect the user's pulling operation of the control key, and when the user's pulling operation of the control key is detected, it is determined that the handle motor event occurs.
S1012、根据所述电机的当前输出力矩、历史输出力矩和历史温度值,判断所述云台的电机是否处于堵转状态。S1012. Determine whether the motor of the pan/tilt head is in a locked-rotor state according to the current output torque, historical output torque, and historical temperature value of the motor.
在获取到云台的电机的当前输出力矩、历史输出力矩和历史温度值之后,基于电机的当前输出力矩、历史输出力矩和历史温度值,判断云台的电机是否处于堵转状态。After obtaining the current output torque, historical output torque and historical temperature value of the motor of the gimbal, based on the current output torque, historical output torque and historical temperature value of the motor, determine whether the motor of the gimbal is in a locked-rotor state.
具体地,根据电机的当前输出力矩、历史输出力矩和历史温度值,确定电机的当前温度值,即将该电机的当前输出力矩、历史输出力矩和历史温度值输入至数学模型,输出得到电机的当前温度值;根据电机的当前温度值,判断云台的电机是否处于堵转状态。Specifically, according to the current output torque, historical output torque and historical temperature value of the motor, the current temperature value of the motor is determined, that is, the current output torque, historical output torque and historical temperature value of the motor are input to the mathematical model, and the current output torque of the motor Temperature value: According to the current temperature value of the motor, judge whether the motor of the gimbal is in a locked-rotor state.
在一实施例中,云台确定电机的当前温度值是否大于预设的温度阈值;若电机的当前温度值大于温度阈值,则确定云台的电机处于堵转状态;若电机的当前温度值小于或等于温度阈值,则确定云台的电机处于正常状态。需要说明的是,上述温度阈值可基于实际情况进行设置,本申请对此不作具体限定。In one embodiment, the pan/tilt head determines whether the current temperature value of the motor is greater than a preset temperature threshold; if the current temperature value of the motor is greater than the temperature threshold value, it is determined that the motor of the pan/tilt head is in a stalled state; if the current temperature value of the motor is less than If it is equal to the temperature threshold, it is determined that the motor of the gimbal is in a normal state. It should be noted that the above temperature threshold can be set based on actual conditions, which is not specifically limited in this application.
在一实施例中,若电机的当前温度值大于温度阈值,则记录电机的当前温度值大于温度阈值的持续时间;确定该持续时间是否达到预设的时间阈值;若该持续时间达到预设的时间阈值,则确定云台的电机处于堵转状态。需要说明的是,上述时间阈值可基于实际情况进行设置,本申请对此不作具体限定。通过对当前温度值大于温度阈值的持续时间与时间阈值进行比较,可以进一步地准确的确定电机是否处于堵转状态,便于后续准确且及时控制电机休眠。In one embodiment, if the current temperature value of the motor is greater than the temperature threshold, record the duration of the current temperature value of the motor greater than the temperature threshold; determine whether the duration reaches the preset time threshold; if the duration reaches the preset Time threshold, it is determined that the motor of the pan/tilt is locked. It should be noted that the above-mentioned time threshold can be set based on actual conditions, which is not specifically limited in this application. By comparing the duration of the current temperature value greater than the temperature threshold value with the time threshold value, it is possible to further accurately determine whether the motor is in a locked-rotor state, so as to facilitate subsequent accurate and timely control of motor sleep.
在一实施例中,电机的当前温度值的确定方式可以为:云台根据当前输出力矩和历史输出力矩,计算电机的温度增益值;计算该温度增益值与预设的第一权重系数的和,并将该温度增益值与预设的第一权重系数的和作为该电机的第一温度值;计算该历史温度值与预设的第二权重系数的和,并将该历史温度值与预设的第二权重系数的和作为该电机的第二温度值;计算第一温度值与第二温度值之间的差值,并将第一温度值与第二温度值之间的差值作为电机的当前温度值。In an embodiment, the method for determining the current temperature value of the motor may be: the pan/tilt calculates the temperature gain value of the motor according to the current output torque and the historical output torque; calculates the sum of the temperature gain value and the preset first weight coefficient , And use the sum of the temperature gain value and the preset first weight coefficient as the first temperature value of the motor; calculate the sum of the historical temperature value and the preset second weight coefficient, and combine the historical temperature value with the preset Set the sum of the second weight coefficient as the second temperature value of the motor; calculate the difference between the first temperature value and the second temperature value, and use the difference between the first temperature value and the second temperature value as The current temperature value of the motor.
在一实施例中,温度增益值的计算方式具体为:计算当前输出力矩与历史输出力矩的平方和,并将当前输出力矩与历史输出力矩的平方和作为目标输出力矩;计算目标输出力矩与预设的温度力矩比值的乘积,并将目标输出力矩与预设的温度力矩比值的乘积作为电机的温度增益值。In one embodiment, the calculation method of the temperature gain value is specifically: calculating the sum of squares of the current output torque and the history output torque, and using the sum of the squares of the current output torque and the history output torque as the target output torque; calculating the target output torque and the preset Set the product of the temperature torque ratio, and use the product of the target output torque and the preset temperature torque ratio as the temperature gain of the motor.
需要说明的是,上述第一权重系数和第二权重系数基于惯性环节的时间常数τ m和当前时刻与上一时刻之间的间隔时间差t s确定,预设的温度力矩比值基于最大温度值T max和最大输出力矩u max确定,最大温度值T max和惯性环节的时间常数τ m通过实验测量得到。可选地,第一权重系数为1\(1+(τ m\2t s)),第二权重系数为(1-(τ m\2t s))\(1+(τ m\2t s)),温度力矩比值为T max\(u max) 2,则电机的输出力矩与电机的温度值之间的数学模型可选地表示为:
Figure PCTCN2019098436-appb-000002
T(k)为电机的当前温度值,u(k-1)为电机的历史输出力矩,u(k)为电机的当前输出力矩,T(k-1)为电机的历史温度值。
It should be noted that the above-mentioned first weighting coefficient and second weighting coefficient are determined based on the time constant τ m of the inertial link and the interval time difference t s between the current time and the previous time, and the preset temperature torque ratio is based on the maximum temperature value T max and the maximum output torque u max are determined, and the maximum temperature value T max and the time constant τ m of the inertia link are obtained through experimental measurement. Optionally, the first weight coefficient is 1\(1+(τ m \2t s )), and the second weight coefficient is (1-(τ m \2t s ))\(1+(τ m \2t s ) ), the temperature torque ratio is T max \(u max ) 2 , then the mathematical model between the output torque of the motor and the temperature value of the motor can optionally be expressed as:
Figure PCTCN2019098436-appb-000002
T(k) is the current temperature value of the motor, u(k-1) is the historical output torque of the motor, u(k) is the current output torque of the motor, and T(k-1) is the historical temperature value of the motor.
S102、当所述云台的电机处于堵转状态时,控制所述云台处于休眠模式。S102: When the motor of the pan/tilt is in a stalled state, control the pan/tilt to be in a sleep mode.
当云台的电机处于堵转状态时,控制云台处于休眠模式,使得电机休息,可以避免电机被烧毁,提高电机的使用寿命。When the motor of the gimbal is in a locked-rotor state, the gimbal is controlled to be in a sleep mode, so that the motor rests, which can prevent the motor from being burned and increase the service life of the motor.
上述实施例提供的云台控制方法,通过对云台的电机的堵转状态进行检测,可以在检测到电机处于堵转状态时,控制云台休眠,使得电机休息,可以避免电机被烧毁,提高电机的使用寿命。The pan/tilt control method provided by the above embodiments detects the stalled state of the motor of the pan/tilt, and can control the dormancy of the pan/tilt when it is detected that the motor is in a stalled state, so that the motor rests, which can prevent the motor from being burnt and improve The service life of the motor.
请参阅图7,图7是本申请一实施例提供的另一种云台控制方法的步骤示意流程图。Please refer to FIG. 7, which is a schematic flowchart of steps of another pan/tilt control method provided by an embodiment of the present application.
具体地,如图7所示,该云台控制方法包括步骤S201至S206。Specifically, as shown in FIG. 7, the pan-tilt control method includes steps S201 to S206.
S201、获取电机的当前输出力矩、历史输出力矩和历史温度值。S201. Obtain current output torque, historical output torque, and historical temperature value of the motor.
其中,电机的当前输出力矩为电机在当前时刻的输出力矩,电机的历史输出力矩为电机在上一时刻的输出力矩,电机的历史温度值为电机上一时刻的温度值。需要说明的是,当前时刻与上一时刻之间的间隔时间差可基于实际情况进行设置,本申请对此不作具体限定。Among them, the current output torque of the motor is the output torque of the motor at the current moment, the historical output torque of the motor is the output torque of the motor at the previous moment, and the historical temperature of the motor is the temperature value of the motor at the previous moment. It should be noted that the interval time difference between the current time and the previous time can be set based on actual conditions, which is not specifically limited in this application.
S202、根据所述电机的当前输出力矩、历史输出力矩和历史温度值,确定所述电机的当前温度值。S202: Determine the current temperature value of the motor according to the current output torque, historical output torque, and historical temperature value of the motor.
具体地,在获取到电机的当前输出力矩、历史输出力矩和历史温度值之后,云台根据当前输出力矩和历史输出力矩,计算电机的温度增益值;计算该温度增益值与预设的第一权重系数的和,并将该温度增益值与预设的第一权重系数的和作为该电机的第一温度值;计算该历史温度值与预设的第二权重系数的和,并将该历史温度值与预设的第二权重系数的和作为该电机的第二温度值;计算第一温度值与第二温度值之间的差值,并将第一温度值与第二温度值之间的差值作为电机的当前温度值。Specifically, after obtaining the current output torque, historical output torque, and historical temperature value of the motor, the pan/tilt head calculates the temperature gain value of the motor according to the current output torque and historical output torque; calculates the temperature gain value and the preset first The sum of the weighting coefficients, and the sum of the temperature gain value and the preset first weighting coefficient as the first temperature value of the motor; the sum of the historical temperature value and the preset second weighting coefficient is calculated, and the historical The sum of the temperature value and the preset second weight coefficient is used as the second temperature value of the motor; the difference between the first temperature value and the second temperature value is calculated, and the difference between the first temperature value and the second temperature value is calculated The difference between is used as the current temperature of the motor.
S203、获取预置的温度传感器在当前时刻感应到的所述电机的测量温度值。S203: Obtain the measured temperature value of the motor sensed by the preset temperature sensor at the current moment.
其中,云台还设置有温度传感器,该温度传感器用于感应电机的温度值,在确定电机的当前温度值时,云台获取预置的温度传感器在当前时刻感应到的电机的测量温度值。The pan/tilt is also provided with a temperature sensor, which is used to sense the temperature value of the motor. When determining the current temperature value of the motor, the pan/tilt obtains the measured temperature value of the motor sensed by the preset temperature sensor at the current moment.
S204、根据所述测量温度值,对所述当前温度值进行校验。S204. Verify the current temperature value according to the measured temperature value.
具体地,在获取到电机的测量温度值和估算出的当前温度值之后,可以根据测量温度值对电机的当前温度值进行校验,即计算测量温度值与当前温度值之间的差值,并确定测量温度值与当前温度值之间的差值是否小于或等于预设阈值;若测量温度值与当前温度值之间的差值小于或等于预设阈值,则确定当前温度值通过校验;若测量温度值与当前温度值之间的差值大于预设阈值,则确定当前温度值未通过校验。需要说明的是,上述预设阈值可基于实际情况进行设置,本申请对此不作具体限定。Specifically, after obtaining the measured temperature value of the motor and the estimated current temperature value, the current temperature value of the motor can be verified according to the measured temperature value, that is, the difference between the measured temperature value and the current temperature value can be calculated, And determine whether the difference between the measured temperature value and the current temperature value is less than or equal to the preset threshold; if the difference between the measured temperature value and the current temperature value is less than or equal to the preset threshold, it is determined that the current temperature value passes the check ; If the difference between the measured temperature value and the current temperature value is greater than the preset threshold, it is determined that the current temperature value has not passed the verification. It should be noted that the foregoing preset threshold may be set based on actual conditions, which is not specifically limited in this application.
S205、当所述当前温度值通过校验时,根据所述电机的当前温度值,判断所述云台的电机是否处于堵转状态。S205: When the current temperature value passes the verification, determine whether the motor of the pan/tilt head is in a locked-rotor state according to the current temperature value of the motor.
在当前温度值通过校验时,表示估计得到当前温度值可信,对此,云台可以基于电机的当前温度值,判断云台的电机是否处于堵转状态,具体为:确定电机的当前温度值是否大于预设的温度阈值;如果电机的当前温度值大于温度阈值,则确定云台的电机处于堵转状态;如果电机的当前温度值小于或等于温度阈值,则确定云台的电机处于正常状态。需要说明的是,上述温度阈值可基于实际情况进行设置,本申请对此不作具体限定。When the current temperature value passes the verification, it means that the estimated current temperature value is credible. For this, the gimbal can judge whether the motor of the gimbal is in a locked-rotor state based on the current temperature value of the motor, specifically: determine the current temperature of the motor Whether the value is greater than the preset temperature threshold; if the current temperature value of the motor is greater than the temperature threshold, it is determined that the motor of the gimbal is locked; if the current temperature value of the motor is less than or equal to the temperature threshold, it is determined that the motor of the gimbal is normal status. It should be noted that the above temperature threshold can be set based on actual conditions, which is not specifically limited in this application.
在一实施例中,在当前温度值未通过校验时,表示估计得到当前温度值不可信,对此,云台可以根据测量温度值,判断云台的电机是否处于堵转状态,具体为:确定电机的测量温度值是否大于预设的温度阈值;若电机的测量温度值大于温度阈值,则确定云台的电机处于堵转状态;若电机的测量温度值小于或等于温度阈值,则确定云台的电机处于正常状态。In one embodiment, when the current temperature value fails the verification, it means that the estimated current temperature value is not credible. For this, the gimbal can determine whether the motor of the gimbal is in a locked-rotor state based on the measured temperature value, specifically: Determine whether the measured temperature value of the motor is greater than the preset temperature threshold; if the measured temperature value of the motor is greater than the temperature threshold, the motor of the gimbal is determined to be locked; if the measured temperature value of the motor is less than or equal to the temperature threshold, the cloud is determined The motor of the station is in a normal state.
S206、当所述云台的电机处于堵转状态时,控制所述云台处于休眠模式。S206: When the motor of the pan/tilt is in a locked-rotor state, control the pan/tilt to be in a sleep mode.
当云台的电机处于堵转状态时,控制云台处于休眠模式,使得电机休息,可以避免电机被烧毁,提高电机的使用寿命。When the motor of the gimbal is in a locked-rotor state, the gimbal is controlled to be in a sleep mode, so that the motor rests, which can prevent the motor from being burned and increase the service life of the motor.
上述实施例提供的云台控制方法,通过电机的当前输出力矩、历史输出力矩和历史温度值,可以准确的估计电机的当前温度值,并基于温度传感器感应到的电机的测量温度值对当前温度值进行校验,然后在当前温度值通过校验时,基于当前温度值可以准确的确定电机是否处于堵转状态,可以进一步地准确且 及时地控制云台进入休眠状态,提高电机的使用寿命。The pan/tilt control method provided in the above embodiments can accurately estimate the current temperature of the motor through the current output torque, historical output torque, and historical temperature value of the motor, and compare the current temperature value based on the measured temperature value of the motor sensed by the temperature sensor. When the current temperature value passes the verification, it can accurately determine whether the motor is in a locked-rotor state based on the current temperature value, which can further accurately and timely control the pan/tilt to enter the dormant state and increase the service life of the motor.
请参阅图8,图8是本申请一实施例提供的又一种云台控制方法的步骤示意流程图。Please refer to FIG. 8, which is a schematic flowchart of steps of yet another method for controlling a pan/tilt head according to an embodiment of the present application.
具体地,如图8所示,该云台控制方法包括步骤S301至步骤S306。Specifically, as shown in FIG. 8, the pan-tilt control method includes steps S301 to S306.
S301、获取电机的当前输出力矩、历史输出力矩和历史温度值。S301: Obtain current output torque, historical output torque, and historical temperature value of the motor.
其中,电机的当前输出力矩为电机在当前时刻的输出力矩,电机的历史输出力矩为电机在上一时刻的输出力矩,电机的历史温度值为电机上一时刻的温度值。需要说明的是,当前时刻与上一时刻之间的间隔时间差可基于实际情况进行设置,本申请对此不作具体限定。Among them, the current output torque of the motor is the output torque of the motor at the current moment, the historical output torque of the motor is the output torque of the motor at the previous moment, and the historical temperature of the motor is the temperature value of the motor at the previous moment. It should be noted that the interval time difference between the current time and the previous time can be set based on actual conditions, which is not specifically limited in this application.
S302、根据所述电机的当前输出力矩、历史输出力矩和历史温度值,确定所述电机的当前温度值。S302: Determine the current temperature value of the motor according to the current output torque, historical output torque, and historical temperature value of the motor.
具体地,在获取到电机的当前输出力矩、历史输出力矩和历史温度值之后,云台根据当前输出力矩和历史输出力矩,计算电机的温度增益值;计算该温度增益值与预设的第一权重系数的和,并将该温度增益值与预设的第一权重系数的和作为该电机的第一温度值;计算该历史温度值与预设的第二权重系数的和,并将该历史温度值与预设的第二权重系数的和作为该电机的第二温度值;计算第一温度值与第二温度值之间的差值,并将第一温度值与第二温度值之间的差值作为电机的当前温度值。Specifically, after obtaining the current output torque, historical output torque, and historical temperature value of the motor, the pan/tilt head calculates the temperature gain value of the motor according to the current output torque and historical output torque; calculates the temperature gain value and the preset first The sum of the weighting coefficients, and the sum of the temperature gain value and the preset first weighting coefficient as the first temperature value of the motor; the sum of the historical temperature value and the preset second weighting coefficient is calculated, and the historical The sum of the temperature value and the preset second weight coefficient is used as the second temperature value of the motor; the difference between the first temperature value and the second temperature value is calculated, and the difference between the first temperature value and the second temperature value is calculated The difference between is used as the current temperature of the motor.
S303、获取预置的温度传感器在当前时刻感应到的所述电机的测量温度值。S303. Obtain a measured temperature value of the motor sensed by a preset temperature sensor at the current moment.
其中,云台还设置有温度传感器,该温度传感器用于感应电机的温度值,在确定电机的当前温度值时,云台获取预置的温度传感器在当前时刻感应到的电机的测量温度值。The pan/tilt is also provided with a temperature sensor, which is used to sense the temperature value of the motor. When determining the current temperature value of the motor, the pan/tilt obtains the measured temperature value of the motor sensed by the preset temperature sensor at the current moment.
S304、根据所述测量温度值,对所述当前温度值进行校验。S304. Verify the current temperature value according to the measured temperature value.
具体地,在获取到电机的测量温度值和估算出的当前温度值之后,可以根据测量温度值对电机的当前温度值进行校验,即计算测量温度值与当前温度值之间的差值,并确定测量温度值与当前温度值之间的差值是否小于或等于预设阈值;若测量温度值与当前温度值之间的差值小于或等于预设阈值,则确定当前温度值通过校验;若测量温度值与当前温度值之间的差值大于预设阈值,则确定当前温度值未通过校验。需要说明的是,上述预设阈值可基于实际情况进行设置,本申请对此不作具体限定。Specifically, after obtaining the measured temperature value of the motor and the estimated current temperature value, the current temperature value of the motor can be verified according to the measured temperature value, that is, the difference between the measured temperature value and the current temperature value can be calculated, And determine whether the difference between the measured temperature value and the current temperature value is less than or equal to the preset threshold; if the difference between the measured temperature value and the current temperature value is less than or equal to the preset threshold, it is determined that the current temperature value passes the check ; If the difference between the measured temperature value and the current temperature value is greater than the preset threshold, it is determined that the current temperature value has not passed the verification. It should be noted that the foregoing preset threshold may be set based on actual conditions, which is not specifically limited in this application.
S305、当所述当前温度值通过校验时,根据所述测量温度值和所述当前温度值,判断所述云台的电机是否处于堵转状态。S305: When the current temperature value passes the verification, determine whether the motor of the pan/tilt head is in a locked-rotor state according to the measured temperature value and the current temperature value.
在当前温度值通过校验时,表示估计得到当前温度值可信,对此,云台可以根据测量温度值和当前温度值,判断所述云台的电机是否处于堵转状态。When the current temperature value passes the verification, it means that the estimated current temperature value is credible. In this regard, the pan/tilt can determine whether the motor of the pan/tilt is in a locked-rotor state based on the measured temperature value and the current temperature value.
在一实施例中,如图9所示,步骤S305包括子步骤S3051至S3052。In an embodiment, as shown in FIG. 9, step S305 includes sub-steps S3051 to S3052.
S3051、对所述测量温度值和所述当前温度值进行融合处理,得到所述电机的融合温度值。S3051. Perform fusion processing on the measured temperature value and the current temperature value to obtain a fusion temperature value of the motor.
具体地,计算测量温度值与当前温度值之间的差值;根据测量温度值与当前温度值之间的差值,确定测量温度值的第一加权系数和当前温度值的第二加权系数;计算测量温度值与第一加权系数的和,并将测量温度值与第一加权系数的和作为第一加权温度值;计算当前温度值与第二加权系数的和,并将当前温度值与第二加权系数的和作为第二加权温度值;计算第一加权温度值与第二加权温度值的和,并将第一加权温度值与第二加权温度值的和作为电机的融合温度值。Specifically, calculate the difference between the measured temperature value and the current temperature value; determine the first weighting coefficient of the measured temperature value and the second weighting coefficient of the current temperature value according to the difference between the measured temperature value and the current temperature value; Calculate the sum of the measured temperature value and the first weighting coefficient, and use the sum of the measured temperature value and the first weighting coefficient as the first weighted temperature value; calculate the sum of the current temperature value and the second weighting coefficient, and combine the current temperature value with the first weighting coefficient The sum of the two weighting coefficients is used as the second weighted temperature value; the sum of the first weighted temperature value and the second weighted temperature value is calculated, and the sum of the first weighted temperature value and the second weighted temperature value is used as the fusion temperature value of the motor.
在一实施例中,加权系数的确定方式具体为:获取预存的差值与加权系数之间的映射关系表;查询映射关系表,将测量温度值与当前温度值之间的差值对应的加权系数作为测量温度值的第一加权系数;根据测量温度值的第一加权系数,确定当前温度值的第二加权系数,其中,第一加权系数与第二加权系数之和为1。需要说明的是,上述预存的差值与加权系数之间的映射关系表可基于实际情况进行设置,本申请对此不作具体限定。In an embodiment, the method for determining the weighting coefficient is specifically: obtaining a mapping relationship table between the pre-stored difference value and the weighting coefficient; querying the mapping relationship table, and weighting the difference between the measured temperature value and the current temperature value. The coefficient is used as the first weighting coefficient of the measured temperature value; the second weighting coefficient of the current temperature value is determined according to the first weighting coefficient of the measured temperature value, where the sum of the first weighting coefficient and the second weighting coefficient is 1. It should be noted that the above-mentioned mapping relationship table between the pre-stored difference value and the weighting coefficient can be set based on actual conditions, which is not specifically limited in this application.
S3052、根据所述融合温度值,判断所述云台的电机是否处于堵转状态。S3052, according to the fusion temperature value, determine whether the motor of the pan/tilt head is in a locked-rotor state.
具体地,云台确定电机的融合温度值是否大于预设的温度阈值;若电机的融合温度值大于温度阈值,则确定云台的电机处于堵转状态;若电机的融合温度值小于或等于温度阈值,则确定云台的电机处于正常状态。需要说明的是,上述温度阈值可基于实际情况进行设置,本申请对此不作具体限定。Specifically, the gimbal determines whether the fusion temperature value of the motor is greater than the preset temperature threshold; if the fusion temperature value of the motor is greater than the temperature threshold, it is determined that the motor of the gimbal is in a locked-rotor state; if the fusion temperature value of the motor is less than or equal to the temperature Threshold, it is determined that the motor of the gimbal is in a normal state. It should be noted that the above temperature threshold can be set based on actual conditions, which is not specifically limited in this application.
在一实施例中,确定电机是否发生堵转事件的方式还可以为:云台确定测量温度值和当前温度值是否大于预设的温度阈值;若测量温度值或当前温度值大于预设的温度阈值,则确定云台的电机处于堵转状态;若测量温度值和当前温度值均小于或等于预设的温度阈值,则确定云台的电机处于正常状态。In an embodiment, the method for determining whether a stall event occurs in the motor may also be: the pan/tilt head determines whether the measured temperature value and the current temperature value are greater than a preset temperature threshold; if the measured temperature value or the current temperature value is greater than the preset temperature Threshold, it is determined that the motor of the gimbal is in a locked-rotor state; if the measured temperature value and the current temperature value are less than or equal to the preset temperature threshold, it is determined that the motor of the gimbal is in a normal state.
S306、当所述云台的电机处于堵转状态时,控制所述云台处于休眠模式。S306: When the motor of the pan/tilt is in a locked-rotor state, control the pan/tilt to be in a sleep mode.
当云台的电机处于堵转状态时,控制云台处于休眠模式,使得电机休息, 可以避免电机被烧毁,提高电机的使用寿命。When the motor of the pan/tilt is in a locked-rotor state, control the pan/tilt to be in sleep mode so that the motor rests, which can prevent the motor from being burned and increase the service life of the motor.
上述实施例提供的云台控制方法,通过电机的当前输出力矩、历史输出力矩和历史温度值,可以准确的估计电机的当前温度值,并基于温度传感器感应到的电机的测量温度值对当前温度值进行校验,然后在当前温度值通过校验时,基于当前温度值和测量温度值可以进一步准确的确定电机是否处于堵转状态,可以进一步地准确且及时地控制云台进入休眠状态,提高电机的使用寿命。The pan/tilt control method provided in the above embodiments can accurately estimate the current temperature of the motor through the current output torque, historical output torque, and historical temperature value of the motor, and compare the current temperature value based on the measured temperature value of the motor sensed by the temperature sensor. When the current temperature value passes the verification, based on the current temperature value and the measured temperature value, it can be further accurately determined whether the motor is in a locked-rotor state, which can further accurately and timely control the gimbal to enter the dormant state, and improve The service life of the motor.
请参阅图10,图10是本申请一实施例提供的云台的示意性框图。Please refer to FIG. 10, which is a schematic block diagram of a pan/tilt head provided by an embodiment of the present application.
如图10所示,该云台400包括转轴机构401,所述转轴机构401包括转轴4012以及驱动所述转轴转动的电机4011;以及一个或多个处理器402,至少一个所述处理器402用于与所述电机4011通讯连接。As shown in FIG. 10, the pan-tilt 400 includes a shaft mechanism 401, the shaft mechanism 401 includes a shaft 4012 and a motor 4011 that drives the shaft to rotate; and one or more processors 402, at least one of the processors 402 is used for To communicate with the motor 4011.
具体地,处理器402可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 402 may be a Micro-controller Unit (MCU), a Central Processing Unit (CPU), a Digital Signal Processor (Digital Signal Processor, DSP), or the like.
其中,所述一个或多个处理器单独地或共同地工作,用于实现如下步骤:Wherein, the one or more processors work individually or together to implement the following steps:
判断所述云台的电机是否处于堵转状态;Determine whether the motor of the pan/tilt head is in a locked-rotor state;
当所述云台的电机处于堵转状态时,控制所述云台处于休眠模式。When the motor of the pan/tilt is in a locked state, the pan/tilt is controlled to be in a sleep mode.
可选地,所述一个或多个处理器实现根据所述电机的当前输出力矩、历史输出力矩和历史温度值,判断所述云台的电机是否处于堵转状态时,用于实现:Optionally, when the one or more processors determine whether the motor of the pan/tilt head is in a locked-rotor state according to the current output torque, historical output torque, and historical temperature value of the motor, it is used to achieve:
根据所述电机的当前输出力矩、历史输出力矩和历史温度值,确定所述电机的当前温度值;Determine the current temperature value of the motor according to the current output torque, historical output torque, and historical temperature value of the motor;
根据所述电机的当前温度值,判断所述云台的电机是否处于堵转状态。According to the current temperature value of the motor, it is determined whether the motor of the pan/tilt head is in a locked-rotor state.
可选地,所述一个或多个处理器实现获取电机的当前输出力矩、历史输出力矩和历史温度值之前,用于实现:Optionally, before the one or more processors implement the acquisition of the current output torque, historical output torque, and historical temperature value of the motor, they are used to achieve:
建立手板电机时,输出力矩与电机的温度值之间的数学模型,其中,所述数学模型的输入参数包括电机的当前输出力矩、历史输出力矩和历史温度值,所述数学模型的输出结果为电机的当前温度值。When establishing a prototype motor, the mathematical model between the output torque and the temperature value of the motor, wherein the input parameters of the mathematical model include the current output torque, historical output torque and historical temperature value of the motor, and the output result of the mathematical model is The current temperature value of the motor.
可选地,所述一个或多个处理器实现根据所述电机的当前输出力矩、历史输出力矩和历史温度值,确定所述电机的当前温度值时,用于实现:Optionally, when the one or more processors determine the current temperature value of the motor according to the current output torque, historical output torque, and historical temperature value of the motor, it is used to achieve:
将所述电机的当前输出力矩、历史输出力矩和历史温度值输入至所述数学模型,输出得到所述电机的当前温度值。The current output torque, historical output torque and historical temperature value of the motor are input to the mathematical model, and the current temperature value of the motor is obtained by outputting.
可选地,所述一个或多个处理器实现根据所述电机的当前输出力矩、历史 输出力矩和历史温度值,确定所述电机的当前温度值时,用于实现:Optionally, when the one or more processors determine the current temperature value of the motor according to the current output torque, historical output torque, and historical temperature value of the motor, it is used to implement:
根据所述当前输出力矩和历史输出力矩,计算所述电机的温度增益值;Calculating the temperature gain value of the motor according to the current output torque and the historical output torque;
计算所述温度增益值与预设的第一权重系数的和,并将所述温度增益值与预设的第一权重系数的和作为所述电机的第一温度值;Calculating the sum of the temperature gain value and the preset first weighting coefficient, and using the sum of the temperature gain value and the preset first weighting coefficient as the first temperature value of the motor;
计算所述历史温度值与预设的第二权重系数的和,并将所述历史温度值与预设的第二权重系数的和作为所述电机的第二温度值;Calculating the sum of the historical temperature value and a preset second weighting coefficient, and using the sum of the historical temperature value and the preset second weighting coefficient as the second temperature value of the motor;
计算所述第一温度值与第二温度值之间的差值,并将所述第一温度值与第二温度值之间的差值作为所述电机的当前温度值。The difference between the first temperature value and the second temperature value is calculated, and the difference between the first temperature value and the second temperature value is used as the current temperature value of the motor.
可选地,所述一个或多个处理器实现根据所述当前输出力矩和历史输出力矩,计算所述电机的温度增益值时,用于实现:Optionally, when the one or more processors calculate the temperature gain value of the motor according to the current output torque and the historical output torque, it is used to achieve:
计算所述当前输出力矩与所述历史输出力矩的平方和,并将所述当前输出力矩与所述历史输出力矩的平方和作为目标输出力矩;Calculating the sum of squares of the current output torque and the historical output torque, and using the sum of squares of the current output torque and the historical output torque as a target output torque;
计算所述目标输出力矩与预设的温度力矩比值的乘积,并将所述目标输出力矩与预设的温度力矩比值的乘积作为所述电机的温度增益值。The product of the target output torque and the preset temperature torque ratio is calculated, and the product of the target output torque and the preset temperature torque ratio is used as the temperature gain value of the motor.
可选地,所述一个或多个处理器实现根据所述电机的当前温度值,判断所述云台的电机是否处于堵转状态时,用于实现:Optionally, when the one or more processors determine whether the motor of the pan/tilt head is in a locked-rotor state according to the current temperature value of the motor, it is used to implement:
确定所述电机的当前温度值是否大于预设的温度阈值;Determining whether the current temperature value of the motor is greater than a preset temperature threshold;
若所述电机的当前温度值大于所述温度阈值,则确定所述云台的电机处于堵转状态;If the current temperature value of the motor is greater than the temperature threshold, determining that the motor of the pan/tilt head is in a locked-rotor state;
若所述电机的当前温度值小于或等于所述温度阈值,则确定所述云台的电机处于正常状态。If the current temperature value of the motor is less than or equal to the temperature threshold, it is determined that the motor of the pan/tilt head is in a normal state.
可选地,所述一个或多个处理器实现若所述电机的当前温度值大于所述温度阈值,则确定所述云台的电机处于堵转状态时,用于实现:Optionally, the one or more processors implement that if the current temperature value of the motor is greater than the temperature threshold, when it is determined that the motor of the pan/tilt head is in a locked-rotor state, it is used to implement:
若所述电机的当前温度值大于所述温度阈值,则记录所述电机的当前温度值大于所述温度阈值的持续时间;If the current temperature value of the motor is greater than the temperature threshold, record the duration of the current temperature value of the motor greater than the temperature threshold;
确定所述持续时间是否达到预设的时间阈值;Determine whether the duration reaches a preset time threshold;
若所述持续时间达到预设的时间阈值,则确定所述云台的电机处于堵转状态。If the duration reaches the preset time threshold, it is determined that the motor of the pan/tilt is in a locked-rotor state.
可选地,所述一个或多个处理器实现根据所述电机的当前温度值,判断所述云台的电机是否处于堵转状态之前,还用于实现:Optionally, before the one or more processors determine whether the motor of the pan/tilt head is in a locked-rotor state according to the current temperature value of the motor, it is also used to achieve:
获取预置的温度传感器在当前时刻感应到的所述电机的测量温度值;Acquiring the measured temperature value of the motor sensed by the preset temperature sensor at the current moment;
根据所述测量温度值,对所述当前温度值进行校验;Verifying the current temperature value according to the measured temperature value;
当所述当前温度值通过校验时,根据所述电机的当前温度值,判断所述云台的电机是否处于堵转状态。When the current temperature value passes the verification, it is determined whether the motor of the pan/tilt head is in a locked-rotor state according to the current temperature value of the motor.
可选地,所述一个或多个处理器实现根据所述测量温度值,对所述当前温度值进行校验时,用于实现:Optionally, when the one or more processors implement the verification of the current temperature value according to the measured temperature value, it is used to implement:
计算所述测量温度值与所述当前温度值之间的差值,并确定所述测量温度值与所述当前温度值之间的差值是否小于或等于预设阈值;Calculating the difference between the measured temperature value and the current temperature value, and determining whether the difference between the measured temperature value and the current temperature value is less than or equal to a preset threshold;
若所述测量温度值与所述当前温度值之间的差值小于或等于预设阈值,则确定所述当前温度值通过校验;If the difference between the measured temperature value and the current temperature value is less than or equal to a preset threshold value, determining that the current temperature value passes the verification;
若所述测量温度值与所述当前温度值之间的差值大于预设阈值,则确定所述当前温度值未通过校验。If the difference between the measured temperature value and the current temperature value is greater than a preset threshold value, it is determined that the current temperature value fails the verification.
可选地,所述一个或多个处理器实现根据所述测量温度值,对所述当前温度值进行校验之后,还用于实现:Optionally, the one or more processors are further used to implement after verifying the current temperature value according to the measured temperature value:
当所述当前温度值未通过校验时,根据所述测量温度值,判断所述云台的电机是否处于堵转状态。When the current temperature value fails the verification, it is determined whether the motor of the pan/tilt head is in a locked-rotor state according to the measured temperature value.
可选地,所述一个或多个处理器实现根据所述测量温度值,对所述当前温度值进行校验之后,还用于实现:Optionally, the one or more processors are further used to implement after verifying the current temperature value according to the measured temperature value:
当所述当前温度值通过校验时,根据所述测量温度值和所述当前温度值,判断所述云台的电机是否处于堵转状态。When the current temperature value passes the verification, it is determined whether the motor of the pan/tilt head is in a locked-rotor state according to the measured temperature value and the current temperature value.
可选地,所述一个或多个处理器实现根据所述测量温度值和所述当前温度值,判断所述云台的电机是否处于堵转状态时,用于实现:Optionally, when the one or more processors determine whether the motor of the pan/tilt head is in a locked-rotor state according to the measured temperature value and the current temperature value, it is used to implement:
对所述测量温度值和所述当前温度值进行融合处理,得到所述电机的融合温度值;Performing fusion processing on the measured temperature value and the current temperature value to obtain the fusion temperature value of the motor;
根据所述融合温度值,判断所述云台的电机是否处于堵转状态。According to the fusion temperature value, it is determined whether the motor of the pan/tilt head is in a locked-rotor state.
可选地,所述一个或多个处理器实现对所述测量温度值和所述当前温度值进行融合处理,得到所述电机的融合温度值时,用于实现:Optionally, when the one or more processors implement fusion processing on the measured temperature value and the current temperature value to obtain the fusion temperature value of the motor, it is used to implement:
计算所述测量温度值与所述当前温度值之间的差值;Calculating the difference between the measured temperature value and the current temperature value;
根据所述测量温度值与所述当前温度值之间的差值,确定所述测量温度值的第一加权系数和所述当前温度值的第二加权系数;Determine the first weighting coefficient of the measured temperature value and the second weighting coefficient of the current temperature value according to the difference between the measured temperature value and the current temperature value;
计算所述测量温度值与所述第一加权系数的和,并将所述测量温度值与所述第一加权系数的和作为第一加权温度值;Calculating the sum of the measured temperature value and the first weighting coefficient, and using the sum of the measured temperature value and the first weighting coefficient as the first weighted temperature value;
计算所述当前温度值与所述第二加权系数的和,并将所述当前温度值与所述第二加权系数的和作为第二加权温度值;Calculating the sum of the current temperature value and the second weighting coefficient, and using the sum of the current temperature value and the second weighting coefficient as the second weighting temperature value;
计算所述第一加权温度值与所述第二加权温度值的和,并将所述第一加权温度值与所述第二加权温度值的和作为所述电机的融合温度值。Calculate the sum of the first weighted temperature value and the second weighted temperature value, and use the sum of the first weighted temperature value and the second weighted temperature value as the fusion temperature value of the motor.
可选地,所述一个或多个处理器实现根据所述测量温度值与所述当前温度值之间的差值,确定所述测量温度值的第一加权系数和所述当前温度值的第二加权系数时,用于实现:Optionally, the one or more processors can determine the first weighting coefficient of the measured temperature value and the first weighting coefficient of the current temperature value according to the difference between the measured temperature value and the current temperature value. When two weighting factors are used, it is used to achieve:
获取预存的差值与加权系数之间的映射关系表;Obtain the mapping relationship table between the pre-stored difference and the weighting coefficient;
查询所述映射关系表,将所述测量温度值与所述当前温度值之间的差值对应的加权系数作为所述测量温度值的第一加权系数;Query the mapping relationship table, and use the weighting coefficient corresponding to the difference between the measured temperature value and the current temperature value as the first weighting coefficient of the measured temperature value;
根据所述测量温度值的第一加权系数,确定所述当前温度值的第二加权系数,其中,所述第一加权系数与第二加权系数之和为1。According to the first weighting coefficient of the measured temperature value, the second weighting coefficient of the current temperature value is determined, wherein the sum of the first weighting coefficient and the second weighting coefficient is 1.
可选地,所述一个或多个处理器实现根据所述测量温度值和所述当前温度值,判断所述云台的电机是否处于堵转状态时,用于实现:Optionally, when the one or more processors determine whether the motor of the pan/tilt head is in a locked-rotor state according to the measured temperature value and the current temperature value, it is used to implement:
确定所述测量温度值和所述当前温度值是否大于预设的温度阈值;Determining whether the measured temperature value and the current temperature value are greater than a preset temperature threshold;
若所述测量温度值或所述当前温度值大于预设的温度阈值,则确定所述云台的电机处于堵转状态;If the measured temperature value or the current temperature value is greater than a preset temperature threshold, determining that the motor of the pan/tilt head is in a locked-rotor state;
若所述测量温度值和所述当前温度值均小于或等于预设的温度阈值,则确定所述云台的电机处于正常状态。If both the measured temperature value and the current temperature value are less than or equal to a preset temperature threshold, it is determined that the motor of the pan/tilt head is in a normal state.
可选地,所述一个或多个处理器实现判断所述云台的电机是否处于堵转状态时,用于实现:Optionally, when the one or more processors realize whether the motor of the pan/tilt head is in a locked-rotor state, it is used to realize:
获取所述云台的电机的当前输出力矩,其中,所述当前输出力矩为所述电机在当前时刻的输出力矩;Acquiring the current output torque of the motor of the pan/tilt head, where the current output torque is the output torque of the motor at the current moment;
根据所述云台的电机的当前输出力矩,判断所述云台的电机是否处于堵转状态。According to the current output torque of the motor of the pan/tilt, it is determined whether the motor of the pan/tilt is in a locked-rotor state.
可选地,所述一个或多个处理器实现根据所述云台的电机的当前输出力矩,判断所述云台的电机是否处于堵转状态时,用于实现:Optionally, when the one or more processors determine whether the motor of the pan/tilt head is in a locked-rotor state according to the current output torque of the motor of the pan/tilt head, it is used to achieve:
判断所述云台的电机的当前输出力矩是否大于预设的力矩阈值;Judging whether the current output torque of the motor of the pan/tilt head is greater than a preset torque threshold;
若所述云台的电机的当前输出力矩大于预设的力矩阈值,则确定所述云台的电机处于堵转状态;If the current output torque of the motor of the pan/tilt is greater than the preset torque threshold, it is determined that the motor of the pan/tilt is in a locked-rotor state;
若所述云台的电机的当前输出力矩小于或等于预设的力矩阈值,则确定所述云台的电机处于正常状态。If the current output torque of the motor of the pan/tilt head is less than or equal to the preset torque threshold, it is determined that the motor of the pan/tilt head is in a normal state.
可选地,所述一个或多个处理器实现若所述云台的电机的当前输出力矩大于预设的力矩阈值,则确定所述云台的电机处于堵转状态时,用于实现:Optionally, the one or more processors realize that if the current output torque of the motor of the pan/tilt head is greater than a preset torque threshold, when it is determined that the motor of the pan/tilt head is in a locked-rotor state, it is used to implement:
若所述云台的电机的当前输出力矩大于预设的力矩阈值,则记录所述云台的电机的当前输出力矩大于预设的力矩阈值的持续时长;If the current output torque of the motor of the pan/tilt head is greater than the preset torque threshold, record the duration of the current output torque of the motor of the pan/tilt head greater than the preset torque threshold;
确定所述持续时长是否大于预设的时长阈值;Determine whether the duration is greater than a preset duration threshold;
若所述持续时长大于预设的时长阈值,则确定所述云台的电机处于堵转状态。If the duration is greater than the preset duration threshold, it is determined that the motor of the pan/tilt is in a locked-rotor state.
需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的云台的具体工作过程,可以参考前述云台控制方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the above-described pan-tilt can refer to the corresponding process in the aforementioned pan-tilt control method embodiment. Repeat it again.
本申请的实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序中包括程序指令,所述处理器执行所述程序指令,实现上述实施例提供的云台控制方法的步骤。The embodiments of the present application also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the processor executes the program instructions to implement the foregoing implementation The steps of the PTZ control method provided in the example.
其中,所述计算机可读存储介质可以是前述任一实施例所述的云台的内部存储单元,例如所述云台的硬盘或内存。所述计算机可读存储介质也可以是所述云台的外部存储设备,例如所述云台上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。The computer-readable storage medium may be the internal storage unit of the pan/tilt head described in any of the foregoing embodiments, such as the hard disk or memory of the pan/tilt head. The computer-readable storage medium may also be an external storage device of the pan/tilt, such as a plug-in hard disk equipped on the pan/tilt, a smart memory card (Smart Media Card, SMC), or a Secure Digital (SD). ) Card, Flash Card, etc.
应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should be understood that the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in the specification of this application and the appended claims, unless the context clearly indicates other circumstances, the singular forms "a", "an" and "the" are intended to include plural forms.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term "and/or" used in the specification and appended claims of this application refers to any combination of one or more of the items listed in the associated and all possible combinations, and includes these combinations.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Anyone familiar with the technical field can easily think of various equivalents within the technical scope disclosed in this application. Modifications or replacements, these modifications or replacements shall be covered within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (41)

  1. 一种云台控制方法,其特征在于,包括:A method for controlling a pan-tilt, characterized in that it comprises:
    判断所述云台的电机是否处于堵转状态;Determine whether the motor of the pan/tilt head is in a locked-rotor state;
    当所述云台的电机处于堵转状态时,控制所述云台处于休眠模式,其中,所述云台包括转轴机构,所述转轴机构包括转轴以及驱动所述转轴转动的所述电机。When the motor of the pan/tilt is in a locked state, the pan/tilt is controlled to be in a sleep mode, wherein the pan/tilt includes a rotating shaft mechanism, the rotating shaft mechanism includes a rotating shaft and the motor that drives the rotating shaft to rotate.
  2. 根据权利要求1所述的云台控制方法,其特征在于,所述判断所述云台的电机是否处于堵转状态,包括:The pan-tilt control method according to claim 1, wherein the determining whether the motor of the pan-tilt is in a locked-rotor state comprises:
    获取云台的电机的当前输出力矩、历史输出力矩和历史温度值,其中,所述当前输出力矩为所述电机在当前时刻的输出力矩,所述历史输出力矩为所述电机在上一时刻的输出力矩,所述历史温度值为所述电机上一时刻的温度值;Obtain the current output torque, historical output torque, and historical temperature values of the motor of the pan/tilt head, where the current output torque is the output torque of the motor at the current moment, and the historical output torque is the motor's output torque at the previous moment. Output torque, the historical temperature value is the temperature value of the motor at the previous moment;
    根据所述电机的当前输出力矩、历史输出力矩和历史温度值,判断所述云台的电机是否处于堵转状态。According to the current output torque, historical output torque and historical temperature value of the motor, it is determined whether the motor of the pan/tilt head is in a locked-rotor state.
  3. 根据权利要求2所述的云台控制方法,其特征在于,所述根据所述电机的当前输出力矩、历史输出力矩和历史温度值,判断所述云台的电机是否处于堵转状态,包括:The pan/tilt control method according to claim 2, wherein the determining whether the motor of the pan/tilt is in a locked-rotor state according to the current output torque, historical output torque and historical temperature value of the motor comprises:
    根据所述电机的当前输出力矩、历史输出力矩和历史温度值,确定所述电机的当前温度值;Determine the current temperature value of the motor according to the current output torque, historical output torque, and historical temperature value of the motor;
    根据所述电机的当前温度值,判断所述云台的电机是否处于堵转状态。According to the current temperature value of the motor, it is determined whether the motor of the pan/tilt head is in a locked-rotor state.
  4. 根据权利要求3所述的云台控制方法,其特征在于,所述获取云台的电机的当前输出力矩、历史输出力矩和历史温度值之前,还包括:The pan/tilt control method according to claim 3, characterized in that before acquiring the current output torque, historical output torque and historical temperature value of the motor of the pan/tilt, it further comprises:
    建立手板电机时,输出力矩与电机的温度值之间的数学模型,其中,所述数学模型的输入参数包括电机的当前输出力矩、历史输出力矩和历史温度值,所述数学模型的输出结果为电机的当前温度值。When establishing a prototype motor, the mathematical model between the output torque and the temperature value of the motor, wherein the input parameters of the mathematical model include the current output torque, historical output torque and historical temperature value of the motor, and the output result of the mathematical model is The current temperature value of the motor.
  5. 根据权利要求4所述的云台控制方法,其特征在于,所述根据所述电机的当前输出力矩、历史输出力矩和历史温度值,确定所述电机的当前温度值,包括:The pan/tilt control method according to claim 4, wherein the determining the current temperature value of the motor according to the current output torque, historical output torque and historical temperature value of the motor comprises:
    将所述电机的当前输出力矩、历史输出力矩和历史温度值输入至所述数学模型,输出得到所述电机的当前温度值。The current output torque, historical output torque and historical temperature value of the motor are input to the mathematical model, and the current temperature value of the motor is obtained by outputting.
  6. 根据权利要求3所述的云台控制方法,其特征在于,所述根据所述电机 的当前输出力矩、历史输出力矩和历史温度值,确定所述电机的当前温度值,包括:The pan-tilt control method according to claim 3, wherein the determining the current temperature value of the motor according to the current output torque, historical output torque and historical temperature value of the motor comprises:
    根据所述当前输出力矩和历史输出力矩,计算所述电机的温度增益值;Calculating the temperature gain value of the motor according to the current output torque and the historical output torque;
    计算所述温度增益值与预设的第一权重系数的和,并将所述温度增益值与预设的第一权重系数的和作为所述电机的第一温度值;Calculating the sum of the temperature gain value and the preset first weighting coefficient, and using the sum of the temperature gain value and the preset first weighting coefficient as the first temperature value of the motor;
    计算所述历史温度值与预设的第二权重系数的和,并将所述历史温度值与预设的第二权重系数的和作为所述电机的第二温度值;Calculating the sum of the historical temperature value and a preset second weighting coefficient, and using the sum of the historical temperature value and the preset second weighting coefficient as the second temperature value of the motor;
    计算所述第一温度值与第二温度值之间的差值,并将所述第一温度值与第二温度值之间的差值作为所述电机的当前温度值。The difference between the first temperature value and the second temperature value is calculated, and the difference between the first temperature value and the second temperature value is used as the current temperature value of the motor.
  7. 根据权利要求6所述的云台控制方法,其特征在于,所述根据所述当前输出力矩和历史输出力矩,计算所述电机的温度增益值,包括:The pan/tilt control method according to claim 6, wherein the calculating the temperature gain value of the motor according to the current output torque and the historical output torque comprises:
    计算所述当前输出力矩与所述历史输出力矩的平方和,并将所述当前输出力矩与所述历史输出力矩的平方和作为目标输出力矩;Calculating the sum of squares of the current output torque and the historical output torque, and using the sum of squares of the current output torque and the historical output torque as a target output torque;
    计算所述目标输出力矩与预设的温度力矩比值的乘积,并将所述目标输出力矩与预设的温度力矩比值的乘积作为所述电机的温度增益值。The product of the target output torque and the preset temperature torque ratio is calculated, and the product of the target output torque and the preset temperature torque ratio is used as the temperature gain value of the motor.
  8. 根据权利要求2-7中任一项所述的云台控制方法,其特征在于,所述根据所述电机的当前温度值,判断所述云台的电机是否处于堵转状态,包括:7. The pan/tilt control method according to any one of claims 2-7, wherein the judging whether the motor of the pan/tilt is in a locked-rotor state according to the current temperature value of the motor comprises:
    确定所述电机的当前温度值是否大于预设的温度阈值;Determining whether the current temperature value of the motor is greater than a preset temperature threshold;
    若所述电机的当前温度值大于所述温度阈值,则确定所述云台的电机处于堵转状态;If the current temperature value of the motor is greater than the temperature threshold, determining that the motor of the pan/tilt head is in a locked-rotor state;
    若所述电机的当前温度值小于或等于所述温度阈值,则确定所述云台的电机处于正常状态。If the current temperature value of the motor is less than or equal to the temperature threshold, it is determined that the motor of the pan/tilt head is in a normal state.
  9. 根据权利要求8所述的云台控制方法,其特征在于,所述若所述电机的当前温度值大于所述温度阈值,则确定所述云台的电机处于堵转状态,包括:The pan/tilt control method according to claim 8, characterized in that, if the current temperature value of the motor is greater than the temperature threshold, determining that the motor of the pan/tilt is in a locked-rotor state comprises:
    若所述电机的当前温度值大于所述温度阈值,则记录所述电机的当前温度值大于所述温度阈值的持续时间;If the current temperature value of the motor is greater than the temperature threshold, record the duration of the current temperature value of the motor greater than the temperature threshold;
    确定所述持续时间是否达到预设的时间阈值;Determine whether the duration reaches a preset time threshold;
    若所述持续时间达到预设的时间阈值,则确定所述云台的电机处于堵转状态。If the duration reaches the preset time threshold, it is determined that the motor of the pan/tilt is in a locked-rotor state.
  10. 根据权利要求3-7中任一项所述的云台控制方法,其特征在于,所述根据所述电机的当前温度值,判断所述云台的电机是否处于堵转状态之前,还包括:7. The pan/tilt control method according to any one of claims 3-7, characterized in that, before judging whether the motor of the pan/tilt is in a locked-rotor state according to the current temperature value of the motor, the method further comprises:
    获取预置的温度传感器在当前时刻感应到的所述电机的测量温度值;Acquiring the measured temperature value of the motor sensed by the preset temperature sensor at the current moment;
    根据所述测量温度值,对所述当前温度值进行校验;Verifying the current temperature value according to the measured temperature value;
    当所述当前温度值通过校验时,根据所述电机的当前温度值,判断所述云台的电机是否处于堵转状态。When the current temperature value passes the verification, it is determined whether the motor of the pan/tilt head is in a locked-rotor state according to the current temperature value of the motor.
  11. 根据权利要求10所述的云台控制方法,其特征在于,所述根据所述测量温度值,对所述当前温度值进行校验,包括:The pan/tilt control method according to claim 10, wherein the verifying the current temperature value according to the measured temperature value comprises:
    计算所述测量温度值与所述当前温度值之间的差值,并确定所述测量温度值与所述当前温度值之间的差值是否小于或等于预设阈值;Calculating the difference between the measured temperature value and the current temperature value, and determining whether the difference between the measured temperature value and the current temperature value is less than or equal to a preset threshold;
    若所述测量温度值与所述当前温度值之间的差值小于或等于预设阈值,则确定所述当前温度值通过校验;If the difference between the measured temperature value and the current temperature value is less than or equal to a preset threshold value, determining that the current temperature value passes the verification;
    若所述测量温度值与所述当前温度值之间的差值大于预设阈值,则确定所述当前温度值未通过校验。If the difference between the measured temperature value and the current temperature value is greater than a preset threshold value, it is determined that the current temperature value fails the verification.
  12. 根据权利要求10所述的云台控制方法,其特征在于,所述根据所述测量温度值,对所述当前温度值进行校验之后,还包括:The pan-tilt control method according to claim 10, wherein after the current temperature value is verified according to the measured temperature value, the method further comprises:
    当所述当前温度值未通过校验时,根据所述测量温度值,判断所述云台的电机是否处于堵转状态。When the current temperature value fails the verification, it is determined whether the motor of the pan/tilt head is in a locked-rotor state according to the measured temperature value.
  13. 根据权利要求10所述的云台控制方法,其特征在于,所述根据所述测量温度值,对所述当前温度值进行校验之后,还包括:The pan-tilt control method according to claim 10, wherein after the current temperature value is verified according to the measured temperature value, the method further comprises:
    当所述当前温度值通过校验时,根据所述测量温度值和所述当前温度值,判断所述云台的电机是否处于堵转状态。When the current temperature value passes the verification, it is determined whether the motor of the pan/tilt head is in a locked-rotor state according to the measured temperature value and the current temperature value.
  14. 根据权利要求13所述的云台控制方法,其特征在于,所述根据所述测量温度值和所述当前温度值,判断所述云台的电机是否处于堵转状态,包括:The pan/tilt control method according to claim 13, wherein the judging whether the motor of the pan/tilt is in a locked-rotor state according to the measured temperature value and the current temperature value comprises:
    对所述测量温度值和所述当前温度值进行融合处理,得到所述电机的融合温度值;Performing fusion processing on the measured temperature value and the current temperature value to obtain the fusion temperature value of the motor;
    根据所述融合温度值,判断所述云台的电机是否处于堵转状态。According to the fusion temperature value, it is determined whether the motor of the pan/tilt head is in a locked-rotor state.
  15. 根据权利要求14所述的云台控制方法,其特征在于,所述对所述测量温度值和所述当前温度值进行融合处理,得到所述电机的融合温度值,包括:The pan/tilt control method according to claim 14, wherein said performing fusion processing on said measured temperature value and said current temperature value to obtain the fusion temperature value of said motor comprises:
    计算所述测量温度值与所述当前温度值之间的差值;Calculating the difference between the measured temperature value and the current temperature value;
    根据所述测量温度值与所述当前温度值之间的差值,确定所述测量温度值的第一加权系数和所述当前温度值的第二加权系数;Determine the first weighting coefficient of the measured temperature value and the second weighting coefficient of the current temperature value according to the difference between the measured temperature value and the current temperature value;
    计算所述测量温度值与所述第一加权系数的和,并将所述测量温度值与所述第一加权系数的和作为第一加权温度值;Calculating the sum of the measured temperature value and the first weighting coefficient, and using the sum of the measured temperature value and the first weighting coefficient as the first weighted temperature value;
    计算所述当前温度值与所述第二加权系数的和,并将所述当前温度值与所述第二加权系数的和作为第二加权温度值;Calculating the sum of the current temperature value and the second weighting coefficient, and using the sum of the current temperature value and the second weighting coefficient as the second weighting temperature value;
    计算所述第一加权温度值与所述第二加权温度值的和,并将所述第一加权温度值与所述第二加权温度值的和作为所述电机的融合温度值。Calculate the sum of the first weighted temperature value and the second weighted temperature value, and use the sum of the first weighted temperature value and the second weighted temperature value as the fusion temperature value of the motor.
  16. 根据权利要求15所述的云台控制方法,其特征在于,所述根据所述测量温度值与所述当前温度值之间的差值,确定所述测量温度值的第一加权系数和所述当前温度值的第二加权系数,包括:The pan/tilt control method according to claim 15, wherein the first weighting coefficient of the measured temperature value and the first weighting coefficient of the measured temperature value and the current temperature value are determined according to the difference between the measured temperature value and the current temperature value. The second weighting factor of the current temperature value, including:
    获取预存的差值与加权系数之间的映射关系表;Obtain the mapping relationship table between the pre-stored difference and the weighting coefficient;
    查询所述映射关系表,将所述测量温度值与所述当前温度值之间的差值对应的加权系数作为所述测量温度值的第一加权系数;Query the mapping relationship table, and use the weighting coefficient corresponding to the difference between the measured temperature value and the current temperature value as the first weighting coefficient of the measured temperature value;
    根据所述测量温度值的第一加权系数,确定所述当前温度值的第二加权系数,其中,所述第一加权系数与第二加权系数之和为1。According to the first weighting coefficient of the measured temperature value, the second weighting coefficient of the current temperature value is determined, wherein the sum of the first weighting coefficient and the second weighting coefficient is 1.
  17. 根据权利要求13所述的云台控制方法,其特征在于,所述根据所述测量温度值和所述当前温度值,判断所述云台的电机是否处于堵转状态,包括:The pan/tilt control method according to claim 13, wherein the judging whether the motor of the pan/tilt is in a locked-rotor state according to the measured temperature value and the current temperature value comprises:
    确定所述测量温度值和所述当前温度值是否大于预设的温度阈值;Determining whether the measured temperature value and the current temperature value are greater than a preset temperature threshold;
    若所述测量温度值或所述当前温度值大于预设的温度阈值,则确定所述云台的电机处于堵转状态;If the measured temperature value or the current temperature value is greater than a preset temperature threshold, determining that the motor of the pan/tilt head is in a locked-rotor state;
    若所述测量温度值和所述当前温度值均小于或等于预设的温度阈值,则确定所述云台的电机处于正常状态。If both the measured temperature value and the current temperature value are less than or equal to a preset temperature threshold, it is determined that the motor of the pan/tilt head is in a normal state.
  18. 根据权利要求1所述的云台控制方法,其特征在于,所述判断所述云台的电机是否处于堵转状态,包括:The pan-tilt control method according to claim 1, wherein the determining whether the motor of the pan-tilt is in a locked-rotor state comprises:
    获取所述云台的电机的当前输出力矩,其中,所述当前输出力矩为所述电机在当前时刻的输出力矩;Acquiring the current output torque of the motor of the pan/tilt head, where the current output torque is the output torque of the motor at the current moment;
    根据所述云台的电机的当前输出力矩,判断所述云台的电机是否处于堵转状态。According to the current output torque of the motor of the pan/tilt, it is determined whether the motor of the pan/tilt is in a locked-rotor state.
  19. 根据权利要求18所述的云台控制方法,其特征在于,所述根据所述云台的电机的当前输出力矩,判断所述云台的电机是否处于堵转状态,包括:The pan-tilt control method according to claim 18, wherein the determining whether the motor of the pan-tilt is in a locked-rotor state according to the current output torque of the motor of the pan-tilt comprises:
    判断所述云台的电机的当前输出力矩是否大于预设的力矩阈值;Judging whether the current output torque of the motor of the pan/tilt head is greater than a preset torque threshold;
    若所述云台的电机的当前输出力矩大于预设的力矩阈值,则确定所述云台的电机处于堵转状态;If the current output torque of the motor of the pan/tilt is greater than the preset torque threshold, it is determined that the motor of the pan/tilt is in a locked-rotor state;
    若所述云台的电机的当前输出力矩小于或等于预设的力矩阈值,则确定所述云台的电机处于正常状态。If the current output torque of the motor of the pan/tilt head is less than or equal to the preset torque threshold, it is determined that the motor of the pan/tilt head is in a normal state.
  20. 根据权利要求19所述的云台控制方法,其特征在于,所述若所述云台的电机的当前输出力矩大于预设的力矩阈值,则确定所述云台的电机处于堵转状态,包括:The pan/tilt control method according to claim 19, wherein if the current output torque of the motor of the pan/tilt is greater than a preset torque threshold, determining that the motor of the pan/tilt is in a locked-rotor state includes :
    若所述云台的电机的当前输出力矩大于预设的力矩阈值,则记录所述云台的电机的当前输出力矩大于预设的力矩阈值的持续时长;If the current output torque of the motor of the pan/tilt head is greater than the preset torque threshold, record the duration of the current output torque of the motor of the pan/tilt head greater than the preset torque threshold;
    确定所述持续时长是否大于预设的时长阈值;Determine whether the duration is greater than a preset duration threshold;
    若所述持续时长大于预设的时长阈值,则确定所述云台的电机处于堵转状态。If the duration is greater than the preset duration threshold, it is determined that the motor of the pan/tilt is in a locked-rotor state.
  21. 一种云台,其特征在于,所述云台包括转轴机构,所述转轴机构包括转轴以及驱动所述转轴转动的电机;以及一个或多个处理器,至少一个所述处理器用于与所述电机通讯连接;其中,所述一个或多个处理器单独地或共同地工作,用于实现如下步骤:A pan/tilt head, characterized in that the pan/tilt head includes a rotating shaft mechanism, the rotating shaft mechanism includes a rotating shaft and a motor driving the rotating shaft to rotate; and one or more processors, at least one of which is used to communicate with the Motor communication connection; wherein, the one or more processors work individually or together to implement the following steps:
    判断所述云台的电机是否处于堵转状态;Determine whether the motor of the pan/tilt head is in a locked-rotor state;
    当所述云台的电机处于堵转状态时,控制所述云台处于休眠模式。When the motor of the pan/tilt is in a locked state, the pan/tilt is controlled to be in a sleep mode.
  22. 根据权利要求21所述的云台,其特征在于,所述一个或多个处理器实现判断所述云台的电机是否处于堵转状态时,用于实现:The pan/tilt head according to claim 21, characterized in that, when the one or more processors are used to determine whether the motor of the pan/tilt head is in a stalled state, it is used to implement:
    获取电机的当前输出力矩、历史输出力矩和历史温度值,其中,所述当前输出力矩为所述电机在当前时刻的输出力矩,所述历史输出力矩为所述电机在上一时刻的输出力矩,所述历史温度值为所述电机上一时刻的温度值;Obtain the current output torque, historical output torque, and historical temperature values of the motor, where the current output torque is the output torque of the motor at the current moment, and the historical output torque is the output torque of the motor at the previous moment, The historical temperature value is the temperature value of the motor at the previous moment;
    根据所述电机的当前输出力矩、历史输出力矩和历史温度值,判断所述云台的电机是否处于堵转状态。According to the current output torque, historical output torque and historical temperature value of the motor, it is determined whether the motor of the pan/tilt head is in a locked-rotor state.
  23. 根据权利要求22所述的云台,其特征在于,所述一个或多个处理器实现根据所述电机的当前输出力矩、历史输出力矩和历史温度值,判断所述云台的电机是否处于堵转状态时,用于实现:The pan/tilt head according to claim 22, wherein the one or more processors are implemented to determine whether the motor of the pan/tilt head is blocked according to the current output torque, historical output torque and historical temperature value of the motor. When changing state, it is used to achieve:
    根据所述电机的当前输出力矩、历史输出力矩和历史温度值,确定所述电机的当前温度值;Determine the current temperature value of the motor according to the current output torque, historical output torque, and historical temperature value of the motor;
    根据所述电机的当前温度值,判断所述云台的电机是否处于堵转状态。According to the current temperature value of the motor, it is determined whether the motor of the pan/tilt head is in a locked-rotor state.
  24. 根据权利要求23所述的云台,其特征在于,所述一个或多个处理器实现获取电机的当前输出力矩、历史输出力矩和历史温度值之前,用于实现:The pan/tilt head according to claim 23, characterized in that, before the one or more processors implement the acquisition of the current output torque, historical output torque and historical temperature value of the motor, they are used to achieve:
    建立手板电机时,输出力矩与电机的温度值之间的数学模型,其中,所述数学模型的输入参数包括电机的当前输出力矩、历史输出力矩和历史温度值,所述数学模型的输出结果为电机的当前温度值。When establishing a prototype motor, the mathematical model between the output torque and the temperature value of the motor, wherein the input parameters of the mathematical model include the current output torque, historical output torque and historical temperature value of the motor, and the output result of the mathematical model is The current temperature value of the motor.
  25. 根据权利要求24所述的云台,其特征在于,所述一个或多个处理器实现根据所述电机的当前输出力矩、历史输出力矩和历史温度值,确定所述电机的当前温度值时,用于实现:The pan/tilt head according to claim 24, wherein the one or more processors realize that when the current temperature value of the motor is determined according to the current output torque, historical output torque, and historical temperature value of the motor, Used to achieve:
    将所述电机的当前输出力矩、历史输出力矩和历史温度值输入至所述数学模型,输出得到所述电机的当前温度值。The current output torque, historical output torque and historical temperature value of the motor are input to the mathematical model, and the current temperature value of the motor is obtained by outputting.
  26. 根据权利要求23所述的云台,其特征在于,所述一个或多个处理器实现根据所述电机的当前输出力矩、历史输出力矩和历史温度值,确定所述电机的当前温度值时,用于实现:The pan/tilt head according to claim 23, wherein the one or more processors realize that when the current temperature value of the motor is determined according to the current output torque, historical output torque and historical temperature value of the motor, Used to achieve:
    根据所述当前输出力矩和历史输出力矩,计算所述电机的温度增益值;Calculating the temperature gain value of the motor according to the current output torque and the historical output torque;
    计算所述温度增益值与预设的第一权重系数的和,并将所述温度增益值与预设的第一权重系数的和作为所述电机的第一温度值;Calculating the sum of the temperature gain value and the preset first weighting coefficient, and using the sum of the temperature gain value and the preset first weighting coefficient as the first temperature value of the motor;
    计算所述历史温度值与预设的第二权重系数的和,并将所述历史温度值与预设的第二权重系数的和作为所述电机的第二温度值;Calculating the sum of the historical temperature value and a preset second weighting coefficient, and using the sum of the historical temperature value and the preset second weighting coefficient as the second temperature value of the motor;
    计算所述第一温度值与第二温度值之间的差值,并将所述第一温度值与第二温度值之间的差值作为所述电机的当前温度值。The difference between the first temperature value and the second temperature value is calculated, and the difference between the first temperature value and the second temperature value is used as the current temperature value of the motor.
  27. 根据权利要求26所述的云台,其特征在于,所述一个或多个处理器实现根据所述当前输出力矩和历史输出力矩,计算所述电机的温度增益值时,用于实现:The pan/tilt head according to claim 26, wherein when the one or more processors calculate the temperature gain value of the motor according to the current output torque and the historical output torque, it is used to achieve:
    计算所述当前输出力矩与所述历史输出力矩的平方和,并将所述当前输出力矩与所述历史输出力矩的平方和作为目标输出力矩;Calculating the sum of squares of the current output torque and the historical output torque, and using the sum of squares of the current output torque and the historical output torque as a target output torque;
    计算所述目标输出力矩与预设的温度力矩比值的乘积,并将所述目标输出力矩与预设的温度力矩比值的乘积作为所述电机的温度增益值。The product of the target output torque and the preset temperature torque ratio is calculated, and the product of the target output torque and the preset temperature torque ratio is used as the temperature gain value of the motor.
  28. 根据权利要求22-27中任一项所述的云台,其特征在于,所述一个或多个处理器实现根据所述电机的当前温度值,判断所述云台的电机是否处于堵转状态时,用于实现:The pan/tilt head according to any one of claims 22-27, wherein the one or more processors are implemented to determine whether the motor of the pan/tilt head is in a locked state according to the current temperature value of the motor When used to achieve:
    确定所述电机的当前温度值是否大于预设的温度阈值;Determining whether the current temperature value of the motor is greater than a preset temperature threshold;
    若所述电机的当前温度值大于所述温度阈值,则确定所述云台的电机处于堵转状态;If the current temperature value of the motor is greater than the temperature threshold, determining that the motor of the pan/tilt head is in a locked-rotor state;
    若所述电机的当前温度值小于或等于所述温度阈值,则确定所述云台的电机处于正常状态。If the current temperature value of the motor is less than or equal to the temperature threshold, it is determined that the motor of the pan/tilt head is in a normal state.
  29. 根据权利要求28所述的云台,其特征在于,所述一个或多个处理器实现若所述电机的当前温度值大于所述温度阈值,则确定所述云台的电机处于堵 转状态时,用于实现:The pan/tilt head according to claim 28, wherein the one or more processors realize that if the current temperature value of the motor is greater than the temperature threshold, it is determined that when the motor of the pan/tilt head is in a locked state To achieve:
    若所述电机的当前温度值大于所述温度阈值,则记录所述电机的当前温度值大于所述温度阈值的持续时间;If the current temperature value of the motor is greater than the temperature threshold, record the duration of the current temperature value of the motor greater than the temperature threshold;
    确定所述持续时间是否达到预设的时间阈值;Determine whether the duration reaches a preset time threshold;
    若所述持续时间达到预设的时间阈值,则确定所述云台的电机处于堵转状态。If the duration reaches the preset time threshold, it is determined that the motor of the pan/tilt is in a locked-rotor state.
  30. 根据权利要求23-27中任一项所述的云台,其特征在于,所述一个或多个处理器实现根据所述电机的当前温度值,判断所述云台的电机是否处于堵转状态之前,还用于实现:The pan/tilt head according to any one of claims 23-27, wherein the one or more processors are implemented to determine whether the motor of the pan/tilt head is in a locked-rotor state according to the current temperature value of the motor Before, it was also used to achieve:
    获取预置的温度传感器在当前时刻感应到的所述电机的测量温度值;Acquiring the measured temperature value of the motor sensed by the preset temperature sensor at the current moment;
    根据所述测量温度值,对所述当前温度值进行校验;Verifying the current temperature value according to the measured temperature value;
    当所述当前温度值通过校验时,根据所述电机的当前温度值,判断所述云台的电机是否处于堵转状态。When the current temperature value passes the verification, it is determined whether the motor of the pan/tilt head is in a locked-rotor state according to the current temperature value of the motor.
  31. 根据权利要求30所述的云台,其特征在于,所述一个或多个处理器实现根据所述测量温度值,对所述当前温度值进行校验时,用于实现:The pan/tilt head according to claim 30, wherein when the one or more processors implement the verification of the current temperature value according to the measured temperature value, it is used to implement:
    计算所述测量温度值与所述当前温度值之间的差值,并确定所述测量温度值与所述当前温度值之间的差值是否小于或等于预设阈值;Calculating the difference between the measured temperature value and the current temperature value, and determining whether the difference between the measured temperature value and the current temperature value is less than or equal to a preset threshold;
    若所述测量温度值与所述当前温度值之间的差值小于或等于预设阈值,则确定所述当前温度值通过校验;If the difference between the measured temperature value and the current temperature value is less than or equal to a preset threshold value, determining that the current temperature value passes the verification;
    若所述测量温度值与所述当前温度值之间的差值大于预设阈值,则确定所述当前温度值未通过校验。If the difference between the measured temperature value and the current temperature value is greater than a preset threshold value, it is determined that the current temperature value fails the verification.
  32. 根据权利要求30所述的云台,其特征在于,所述一个或多个处理器实现根据所述测量温度值,对所述当前温度值进行校验之后,还用于实现:The pan/tilt head according to claim 30, wherein the one or more processors are further configured to implement after verifying the current temperature value according to the measured temperature value:
    当所述当前温度值未通过校验时,根据所述测量温度值,判断所述云台的电机是否处于堵转状态。When the current temperature value fails the verification, it is determined whether the motor of the pan/tilt head is in a locked-rotor state according to the measured temperature value.
  33. 根据权利要求30所述的云台,其特征在于,所述一个或多个处理器实现根据所述测量温度值,对所述当前温度值进行校验之后,还用于实现:The pan/tilt head according to claim 30, wherein the one or more processors are further configured to implement after verifying the current temperature value according to the measured temperature value:
    当所述当前温度值通过校验时,根据所述测量温度值和所述当前温度值,判断所述云台的电机是否处于堵转状态。When the current temperature value passes the verification, it is determined whether the motor of the pan/tilt head is in a locked-rotor state according to the measured temperature value and the current temperature value.
  34. 根据权利要求33所述的云台,其特征在于,所述一个或多个处理器实现根据所述测量温度值和所述当前温度值,判断所述云台的电机是否处于堵转状态时,用于实现:33. The pan/tilt head according to claim 33, wherein the one or more processors determine whether the motor of the pan/tilt head is in a locked-rotor state according to the measured temperature value and the current temperature value. Used to achieve:
    对所述测量温度值和所述当前温度值进行融合处理,得到所述电机的融合温度值;Performing fusion processing on the measured temperature value and the current temperature value to obtain the fusion temperature value of the motor;
    根据所述融合温度值,判断所述云台的电机是否处于堵转状态。According to the fusion temperature value, it is determined whether the motor of the pan/tilt head is in a locked-rotor state.
  35. 根据权利要求34所述的云台,其特征在于,所述一个或多个处理器实现对所述测量温度值和所述当前温度值进行融合处理,得到所述电机的融合温度值时,用于实现:The pan/tilt head according to claim 34, wherein the one or more processors implement fusion processing on the measured temperature value and the current temperature value to obtain the fusion temperature value of the motor, using To achieve:
    计算所述测量温度值与所述当前温度值之间的差值;Calculating the difference between the measured temperature value and the current temperature value;
    根据所述测量温度值与所述当前温度值之间的差值,确定所述测量温度值的第一加权系数和所述当前温度值的第二加权系数;Determine the first weighting coefficient of the measured temperature value and the second weighting coefficient of the current temperature value according to the difference between the measured temperature value and the current temperature value;
    计算所述测量温度值与所述第一加权系数的和,并将所述测量温度值与所述第一加权系数的和作为第一加权温度值;Calculating the sum of the measured temperature value and the first weighting coefficient, and using the sum of the measured temperature value and the first weighting coefficient as the first weighted temperature value;
    计算所述当前温度值与所述第二加权系数的和,并将所述当前温度值与所述第二加权系数的和作为第二加权温度值;Calculating the sum of the current temperature value and the second weighting coefficient, and using the sum of the current temperature value and the second weighting coefficient as the second weighting temperature value;
    计算所述第一加权温度值与所述第二加权温度值的和,并将所述第一加权温度值与所述第二加权温度值的和作为所述电机的融合温度值。Calculate the sum of the first weighted temperature value and the second weighted temperature value, and use the sum of the first weighted temperature value and the second weighted temperature value as the fusion temperature value of the motor.
  36. 根据权利要求35所述的云台,其特征在于,所述一个或多个处理器实现根据所述测量温度值与所述当前温度值之间的差值,确定所述测量温度值的第一加权系数和所述当前温度值的第二加权系数时,用于实现:The pan/tilt head according to claim 35, wherein the one or more processors are configured to determine the first value of the measured temperature value according to the difference between the measured temperature value and the current temperature value. The weighting coefficient and the second weighting coefficient of the current temperature value are used to realize:
    获取预存的差值与加权系数之间的映射关系表;Obtain the mapping relationship table between the pre-stored difference and the weighting coefficient;
    查询所述映射关系表,将所述测量温度值与所述当前温度值之间的差值对应的加权系数作为所述测量温度值的第一加权系数;Query the mapping relationship table, and use the weighting coefficient corresponding to the difference between the measured temperature value and the current temperature value as the first weighting coefficient of the measured temperature value;
    根据所述测量温度值的第一加权系数,确定所述当前温度值的第二加权系数,其中,所述第一加权系数与第二加权系数之和为1。According to the first weighting coefficient of the measured temperature value, the second weighting coefficient of the current temperature value is determined, wherein the sum of the first weighting coefficient and the second weighting coefficient is 1.
  37. 根据权利要求33所述的云台,其特征在于,所述一个或多个处理器实现根据所述测量温度值和所述当前温度值,判断所述云台的电机是否处于堵转状态时,用于实现:33. The pan/tilt head according to claim 33, wherein the one or more processors determine whether the motor of the pan/tilt head is in a locked-rotor state according to the measured temperature value and the current temperature value. Used to achieve:
    确定所述测量温度值和所述当前温度值是否大于预设的温度阈值;Determining whether the measured temperature value and the current temperature value are greater than a preset temperature threshold;
    若所述测量温度值或所述当前温度值大于预设的温度阈值,则确定所述云台的电机处于堵转状态;If the measured temperature value or the current temperature value is greater than a preset temperature threshold, determining that the motor of the pan/tilt head is in a locked-rotor state;
    若所述测量温度值和所述当前温度值均小于或等于预设的温度阈值,则确定所述云台的电机处于正常状态。If both the measured temperature value and the current temperature value are less than or equal to a preset temperature threshold, it is determined that the motor of the pan/tilt head is in a normal state.
  38. 根据权利要求21所述的云台,其特征在于,所述一个或多个处理器实 现判断所述云台的电机是否处于堵转状态时,用于实现:The pan/tilt head according to claim 21, characterized in that, when the one or more processors realize whether the motor of the pan/tilt head is in a locked-rotor state, it is used to realize:
    获取所述云台的电机的当前输出力矩,其中,所述当前输出力矩为所述电机在当前时刻的输出力矩;Acquiring the current output torque of the motor of the pan/tilt head, where the current output torque is the output torque of the motor at the current moment;
    根据所述云台的电机的当前输出力矩,判断所述云台的电机是否处于堵转状态。According to the current output torque of the motor of the pan/tilt, it is determined whether the motor of the pan/tilt is in a locked-rotor state.
  39. 根据权利要求38所述的云台,其特征在于,所述一个或多个处理器实现根据所述云台的电机的当前输出力矩,判断所述云台的电机是否处于堵转状态时,用于实现:The pan/tilt head according to claim 38, wherein the one or more processors are used to determine whether the motor of the pan/tilt head is in a stalled state according to the current output torque of the motor of the pan/tilt head. To achieve:
    判断所述云台的电机的当前输出力矩是否大于预设的力矩阈值;Judging whether the current output torque of the motor of the pan/tilt head is greater than a preset torque threshold;
    若所述云台的电机的当前输出力矩大于预设的力矩阈值,则确定所述云台的电机处于堵转状态;If the current output torque of the motor of the pan/tilt is greater than the preset torque threshold, it is determined that the motor of the pan/tilt is in a locked-rotor state;
    若所述云台的电机的当前输出力矩小于或等于预设的力矩阈值,则确定所述云台的电机处于正常状态。If the current output torque of the motor of the pan/tilt head is less than or equal to the preset torque threshold, it is determined that the motor of the pan/tilt head is in a normal state.
  40. 根据权利要求39所述的云台,其特征在于,所述一个或多个处理器实现若所述云台的电机的当前输出力矩大于预设的力矩阈值,则确定所述云台的电机处于堵转状态时,用于实现:The pan/tilt head according to claim 39, wherein the one or more processors realize that if the current output torque of the motor of the pan/tilt head is greater than a preset torque threshold, determine that the motor of the pan/tilt head is in When the rotor is locked, it is used to achieve:
    若所述云台的电机的当前输出力矩大于预设的力矩阈值,则记录所述云台的电机的当前输出力矩大于预设的力矩阈值的持续时长;If the current output torque of the motor of the pan/tilt head is greater than the preset torque threshold, record the duration of the current output torque of the motor of the pan/tilt head greater than the preset torque threshold;
    确定所述持续时长是否大于预设的时长阈值;Determine whether the duration is greater than a preset duration threshold;
    若所述持续时长大于预设的时长阈值,则确定所述云台的电机处于堵转状态。If the duration is greater than the preset duration threshold, it is determined that the motor of the pan/tilt is in a locked-rotor state.
  41. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如权利要求1-20中任一项所述的云台控制方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes as described in any one of claims 1-20. The described PTZ control method.
PCT/CN2019/098436 2019-07-30 2019-07-30 Gimbal control method, gimbal, and computer-readable storage medium WO2021016886A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/098436 WO2021016886A1 (en) 2019-07-30 2019-07-30 Gimbal control method, gimbal, and computer-readable storage medium
CN201980034086.0A CN112166395A (en) 2019-07-30 2019-07-30 Holder control method, holder and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/098436 WO2021016886A1 (en) 2019-07-30 2019-07-30 Gimbal control method, gimbal, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2021016886A1 true WO2021016886A1 (en) 2021-02-04

Family

ID=73859450

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/098436 WO2021016886A1 (en) 2019-07-30 2019-07-30 Gimbal control method, gimbal, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN112166395A (en)
WO (1) WO2021016886A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022061592A1 (en) * 2020-09-23 2022-03-31 深圳市大疆创新科技有限公司 Method and apparatus for controlling and detecting motor, pan-tilt and movable platform
WO2022256977A1 (en) * 2021-06-07 2022-12-15 深圳市大疆创新科技有限公司 Information update method and apparatus, gimbal control method and apparatus, gimbal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110095713A1 (en) * 2009-10-27 2011-04-28 Gm Global Technology Operations, Inc. Method and system for initiating operation of an electric motor
CN103085680A (en) * 2012-12-18 2013-05-08 联合汽车电子有限公司 Control method of new energy automobile in motor-stalling working condition
CN108061854A (en) * 2016-11-08 2018-05-22 广州奥睿智能科技有限公司 The detection method and detection device of steering engine stall
CN109733163A (en) * 2018-12-26 2019-05-10 上海延锋金桥汽车饰件系统有限公司 A kind of automatic outlet air port system of automobile and control method

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103076562B (en) * 2011-10-25 2016-01-20 北京大豪科技股份有限公司 Electric machine temperature rise measuring method and measurement mechanism
KR101500854B1 (en) * 2013-08-23 2015-03-10 계양전기 주식회사 Motor control apparatus having protection function and method using the same
KR101628513B1 (en) * 2014-11-04 2016-06-08 현대자동차주식회사 Control method of TMED HEV during driving
CN104354693B (en) * 2014-11-17 2017-02-01 重庆长安汽车股份有限公司 Over temperature protection method for ISG (Integrated Starter Generator) of hybrid electric vehicle
CN105160109A (en) * 2015-09-11 2015-12-16 东华大学 Motor temperature rise forecast method based on radial basis function (RBF) neural network
CN106902969A (en) * 2015-12-23 2017-06-30 德阳九鼎智远知识产权运营有限公司 A kind of control system of autogenous tumbling mill
CN205953363U (en) * 2016-08-22 2017-02-15 江苏中建达丰机械工程有限公司 Thermal detector for tower crane transmission system
CN206594273U (en) * 2016-11-08 2017-10-27 广州奥睿智能科技有限公司 The detection means of steering wheel stall
CN108859860B (en) * 2017-05-09 2021-03-02 郑州宇通客车股份有限公司 Over-temperature prevention control method and system
CN107401347B (en) * 2017-08-25 2018-11-27 重庆海德世拉索系统(集团)有限公司 The motorcar electric tailgate control method of adaptive environment temperature
CN108448997B (en) * 2018-04-11 2021-11-02 英纳法企业管理(上海)有限公司 Temperature calculation method and device for automobile skylight driving motor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110095713A1 (en) * 2009-10-27 2011-04-28 Gm Global Technology Operations, Inc. Method and system for initiating operation of an electric motor
CN103085680A (en) * 2012-12-18 2013-05-08 联合汽车电子有限公司 Control method of new energy automobile in motor-stalling working condition
CN108061854A (en) * 2016-11-08 2018-05-22 广州奥睿智能科技有限公司 The detection method and detection device of steering engine stall
CN109733163A (en) * 2018-12-26 2019-05-10 上海延锋金桥汽车饰件系统有限公司 A kind of automatic outlet air port system of automobile and control method

Also Published As

Publication number Publication date
CN112166395A (en) 2021-01-01

Similar Documents

Publication Publication Date Title
WO2021016886A1 (en) Gimbal control method, gimbal, and computer-readable storage medium
JP5238885B2 (en) Robot controller
US20100023295A1 (en) Estimating the ambient temperature of air outside of a computer system
US10962950B2 (en) Method and apparatus for controlling electric tool, and electric tool
US20110029151A1 (en) Temperature adjustment system and method for a storage system
TWI399635B (en) Thermal protection method and related system for a computer system
JP2017096522A (en) Heat insulation performance estimation device and heat insulation performance estimation method
US10583558B2 (en) Robot control device
WO2018120782A1 (en) Fan speed regulating device and method
WO2021036402A1 (en) Air conditioner and air supply control method therefor
CN110410983B (en) Humidification rate control method and device of humidification device and humidifier
TW201523443A (en) System and method for waking up an operating system of an electronic device
CN103185015A (en) Fan abnormity alarm system and method
CN111780351B (en) External fan control method and device, air conditioner and storage medium
EP2946216B1 (en) Monitoring load operation
WO2023013268A1 (en) Battery performance evaluation device and battery performance evaluation method
CN106762173B (en) A kind of control method for engine speed, device and automobile
CN111538392B (en) Fan control method and device, electronic equipment and readable storage medium
WO2018059050A1 (en) Fan and switch on/off control method and apparatus thereof
WO2023035674A1 (en) Method and apparatus for controlling outdoor fan, and air conditioner outdoor unit
CN105650019A (en) Control method and device for fan and fan
JP2004293846A (en) Measuring device of ventilation amount and controller for ventilation fan
TWI837986B (en) Method for determining screw adjustment result and interactive wrench
WO2014101757A1 (en) Handheld electronic apparatus overheating protection method, device and handheld electronic apparatus
JP3746434B2 (en) Air conditioner

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

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

Country of ref document: EP

Kind code of ref document: A1