WO2020258198A1 - Calibration method, calibration device, stabilizer and computer readable storage medium - Google Patents

Calibration method, calibration device, stabilizer and computer readable storage medium Download PDF

Info

Publication number
WO2020258198A1
WO2020258198A1 PCT/CN2019/093489 CN2019093489W WO2020258198A1 WO 2020258198 A1 WO2020258198 A1 WO 2020258198A1 CN 2019093489 W CN2019093489 W CN 2019093489W WO 2020258198 A1 WO2020258198 A1 WO 2020258198A1
Authority
WO
WIPO (PCT)
Prior art keywords
platform
calibration
inertial sensor
accelerometer
gyroscope
Prior art date
Application number
PCT/CN2019/093489
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/093489 priority Critical patent/WO2020258198A1/en
Priority to CN201980011569.9A priority patent/CN111712688A/en
Publication of WO2020258198A1 publication Critical patent/WO2020258198A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C25/00Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
    • G01C25/005Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass initial alignment, calibration or starting-up of inertial devices

Definitions

  • the embodiment of the present invention relates to the technical field of inertial sensors, in particular to a calibration method, a calibration device, a stabilizer, and a computer-readable storage medium.
  • MEMS Micro-Electro-Mechanical System
  • inertial sensors are currently used in handheld stabilizers, drones, mobile robots, consumer electronics and other fields Shine.
  • MEMS inertial sensors have larger measurement errors than high-precision inertial sensors such as laser gyroscopes and fiber optic gyroscopes. Therefore, error calibration is a crucial link in the actual use of MEMS inertial sensors. .
  • the traditional MEMS inertial sensor calibration method has high calibration accuracy and reliability, it requires professional equipment and operating methods and is only suitable for batch calibration during product production. If it is only calibrated by the factory, in some use environments, the zero bias error of the gyroscope may cause an abnormal attitude of the handheld stabilizer, which manifests as a skewed attitude or slow drift. Although some handheld stabilizer products on the market have opened the sensor calibration interface, for ordinary users, due to lack of understanding of the working principle of the stabilizer, it is difficult to notice the abnormal performance of the tiny sensor and perform sensor calibration consciously. And the calibration function of most products has strict requirements on user operation specifications.
  • the embodiment of the present invention provides a calibration method, a calibration device, a stabilizer, and a computer-readable storage medium.
  • a calibration method includes: acquiring current measurement information of the inertial sensor; determining whether the current attitude of the platform on which the inertial sensor is mounted is abnormal according to the current measurement information of the inertial sensor; and if the current attitude of the platform is abnormal, then The inertial sensor is automatically calibrated.
  • a calibration device has one or more processors, and the one or more processors work individually or collectively to execute: obtain current measurement information of the inertial sensor; determine the current measurement information of the inertial sensor; Whether the current attitude of the platform on which the inertial sensor is mounted is abnormal; and if the current attitude of the platform is abnormal, the inertial sensor is automatically calibrated.
  • a calibration device is provided.
  • the calibration equipment includes a measurement information acquisition device, a determination device and a calibration device.
  • the measurement information obtaining device is configured to obtain current measurement information of the inertial sensor.
  • the determining device is configured to determine whether the current posture of the platform mounted on the inertial sensor is abnormal according to the current measurement information of the inertial sensor.
  • the calibration device is configured to automatically calibrate the inertial sensor if the current attitude of the platform is abnormal.
  • a stabilizer includes an inertial sensor and the calibration device for calibrating the inertial sensor as described above, and the inertial sensor includes a gyroscope and an accelerometer.
  • a computer-readable storage medium stores executable instructions.
  • the steps of the calibration method as described above are implemented when the executable instructions are executed by the processor.
  • the embodiment of the present invention can determine whether the current attitude of the platform mounted on the inertial sensor is abnormal according to the current measurement information of the inertial sensor, and automatically calibrate the inertial sensor when the current attitude of the platform is abnormal, without the need for the user to manually trigger the calibration. Reduce the difficulty of users.
  • Figure 1 is a schematic block diagram of a calibration device according to an embodiment of the present invention.
  • Figure 2 is a flowchart of a calibration method according to an embodiment of the present invention.
  • Fig. 3 reveals the steps of how to determine whether the current attitude of the platform mounted on the inertial sensor is abnormal in Fig. 2;
  • Figure 4 reveals the steps of how to obtain the zero offset calibration value of the gyroscope at the previous moment in Figure 2;
  • FIG. 5 reveals the steps of how to detect whether the platform mounted on the inertial sensor is in a stationary state in FIG. 2.
  • Figure 6 is a schematic block diagram of a calibration device according to another embodiment of the present invention.
  • Fig. 7 is a schematic block diagram of a stabilizer according to an embodiment of the present invention.
  • Fig. 1 is a schematic block diagram of a calibration device 11 according to an embodiment of the present invention.
  • the calibration equipment 11 of an embodiment of the present invention includes a measurement information acquisition device 111, a determination device 112 and a calibration device 113.
  • the calibration device 11 may include, for example, a handheld pan/tilt, a mobile robot, and an unmanned aerial vehicle.
  • the measurement information acquiring device 111 may acquire current measurement information of an inertial sensor (Inertial Measurement Unit, IMU) 12 as shown in FIG. 2.
  • IMU Inertial Measurement Unit
  • the inertial sensor 12 may include, for example, but is not limited to MEMS inertial sensor, and includes gyroscope 121 and accelerometer 122.
  • the determining device 112 can determine whether the current posture of the platform mounted on the inertial sensor 12 is abnormal according to the current measurement information of the inertial sensor 12. If the determination device 112 determines that the current attitude of the platform is abnormal, the calibration device 113 can automatically calibrate the inertial sensor 12.
  • the calibration device 11 of the embodiment of the present invention can determine whether the current attitude of the platform mounted on the inertial sensor 12 is abnormal according to the current measurement information of the inertial sensor 12, and automatically calibrate the inertial sensor 12 when the current attitude of the platform is abnormal, and There is no need for the user to manually trigger the calibration, thus reducing the difficulty of the user.
  • the determining device 112 can determine the deviation angle ⁇ of the platform's current posture from its ideal posture in the direction of gravity, and determine whether the current posture of the platform is abnormal based on the deviation angle ⁇ , when the deviation angle ⁇ is less than a preset angle threshold When the current posture of the platform is normal; when the deviation angle ⁇ is greater than or equal to the preset angle threshold, it is determined that the current posture of the platform is abnormal.
  • the measured value a b of the accelerometer 122 in the inertial sensor 12 is the projection of the gravitational acceleration in the body coordinate system ⁇ b ⁇ . Assuming that the measured value a b of the accelerometer 122 has no error, the following formula can be obtained:
  • g b is the ideal value of gravitational acceleration in the body coordinate system ⁇ b ⁇ . Therefore, in some embodiments, the measured value a b of the accelerometer 122 can be regarded as an ideal value of the gravitational acceleration in the body coordinate system ⁇ b ⁇ .
  • the determining device 112 may further determine the estimated value of the acceleration of gravity.
  • the estimated value of the acceleration of gravity is an estimated value of the acceleration of gravity in the body coordinate system ⁇ b ⁇
  • the determining device 112 may be based on the measured value a b of the accelerometer 122 in the inertial sensor 12 and the estimated value of gravitational acceleration (specifically, the estimated value of gravitational acceleration in the body coordinate system ⁇ b ⁇ . )
  • To determine the deviation angle ⁇ between the current attitude of the platform and the ideal attitude in the direction of gravity For example, by determining the cosine value of the angle between the measured value a b of the accelerometer 122 and the estimated value of gravitational acceleration, the deviation angle ⁇ of the current posture of the platform from its ideal posture in the direction of gravity is determined.
  • the determining device 112 may determine the deviation angle ⁇ between the current attitude of the platform and the ideal attitude in the direction of gravity based on the following formula:
  • I the rotation matrix of the current posture of the platform, It can be determined by the current measurement information of the inertial sensor 12, g e is the gravitational acceleration in the geodetic coordinate system ⁇ e ⁇ .
  • the rotation matrix of the current attitude of the known platform And the gravitational acceleration in the geodetic coordinate system ⁇ e ⁇ , the estimated value of the gravitational acceleration in the airframe coordinate system ⁇ b ⁇ can be obtained according to formula (4)
  • the estimated value of the acceleration of gravity under the known body coordinate system ⁇ b ⁇ And the measured value a b of the accelerometer 122, the deviation angle ⁇ can be further obtained according to formula (3).
  • the calibration device 11 of the embodiment of the present invention may further include a filtering device 114, and the filtering device 114 may filter the measured value of the accelerometer 122.
  • the determining device 112 may be based on the filtered measurement value of the accelerometer 122 and the estimated value of the gravitational acceleration (specifically, the estimated value of the gravitational acceleration in the body coordinate system ⁇ b ⁇ . ) To determine the deviation angle ⁇ between the current attitude of the platform and the ideal attitude in the direction of gravity.
  • the errors of the inertial sensor 12, such as a MEMS inertial sensor, include deterministic errors and non-deterministic errors. Non-deterministic errors are also called random errors, which cannot be completely eliminated by calibration in theory.
  • the deterministic error mainly includes zero bias error, scale factor error and non-orthogonal error. This part of the error can be compensated by calibration.
  • MEMS inertial sensors include MEMS gyroscopes and MEMS accelerometers.
  • the error model of MEMS gyroscope has the following mathematical expressions:
  • ⁇ O represents the ideal angular velocity without error
  • ⁇ S represents the actual measured value of the MEMS gyroscope
  • T g represents the non-orthogonal error
  • K g represents the scale factor error
  • b g represents the zero bias error
  • v g represents the random error .
  • the MEMS gyroscope's The error model also needs to consider the influence of temperature.
  • the zero bias and scale factor errors of the MEMS gyroscope are directly temperature compensated, not only an expensive turntable with a temperature box is required, but also the calibration time is greatly increased, which is too costly for mass production.
  • the non-orthogonal error and the scale factor error are fixed values.
  • the bias error is a function of temperature.
  • the zero bias of the MEMS gyroscope is also affected by stress and other factors. With time accumulation and temperature changes, the structure and hardware will inevitably change in size, resulting in changes in the stress on the MEMS inertial sensor, thereby making the gyroscope zero Partial change.
  • the automatic calibration of the inertial sensor 12 by the calibration device 11 may include automatic zero-bias calibration of the gyroscope 121 in the inertial sensor 12, thereby simplifying the calibration structure, reducing the calibration time, and Greatly reduce costs. Therefore, when it is determined that the current attitude of the platform on which the inertial sensor 12 is mounted is abnormal, the calibration device 11 can automatically calibrate the gyroscope 121 with zero offset.
  • the ideal angular velocity without error can be obtained as follows:
  • ⁇ O is the ideal angular velocity without error
  • ⁇ m is the output value of the gyroscope 121 after factory calibration and compensation
  • v g is the random error of the gyroscope 121.
  • the calibration device 113 of the embodiment of the present invention can obtain the zero offset calibration value of the gyroscope 121 at the previous moment. And based on the zero offset calibration value of the gyroscope 121 at the previous moment To compensate the output value ⁇ m of the gyroscope 121 at the current moment, so as to perform zero offset calibration on the gyroscope 121.
  • the output value ⁇ m of the gyroscope 121 at the current time is the output value of the gyroscope 121 at the current time after being compensated by the factory calibration.
  • the calibration device 11 also includes a calculation device 115, which can obtain the output value of the gyroscope 121 at the previous moment And the previous measurement value of the accelerometer 122 in the inertial sensor 12 And based on the output value of the gyroscope 121 at the previous moment To calculate the zero offset calibration value of the gyroscope 121 at the previous moment in real time Calculate the zero offset calibration value of the gyroscope in real time Therefore, once it is determined that the current attitude of the platform is abnormal, the zero offset calibration value can be used to compensate the current output value of the gyroscope, so that the zero offset calibration of the gyroscope can be completed quickly and automatically.
  • the calibration device 11 of the embodiment of the present invention may further include a static detection device 116, and the static detection device 116 may detect whether the platform mounted on the inertial sensor 12 is in a static state.
  • the calibration device 113 can calibrate the inertial sensor 12.
  • the calibration device 113 exits the calibration, thereby effectively avoiding calibration errors and reducing the probability of abnormal operation of the stabilizer.
  • the stationary detection device 116 may further calculate the variance of the accelerometer 122 based on the sampling values of the accelerometer 122 at different moments in a given time interval, and determine whether the platform is in a stationary state based on the variance of the accelerometer 122.
  • the sampling value of the accelerometer 122 includes the sampling value of the accelerometer 122 on the x, y, and z axes, respectively.
  • the variance of the accelerometer 122 can be calculated according to the sampling values of the accelerometer 122 on the x, y, and z axes.
  • the stationary detection device 116 may determine whether the inertial sensor 12 is in a stationary state based on the following formula:
  • ⁇ 2 is the variance of the accelerometer 122
  • t w is the given time interval
  • the variance of the accelerometer 122 can reflect the change characteristics of the acceleration of the platform in a given time interval t w , when the platform is stationary, the variance is the smallest; when the carrier moves more violently, the variance is greater. Therefore, it is possible to detect whether the platform is stationary by comparing the variance ⁇ 2 of the accelerometer 122 with a given variance threshold. For example, when the variance ⁇ 2 of the accelerometer 122 is less than the given variance threshold, the stationary detection device 116 can determine the platform At a standstill. When the variance ⁇ 2 of the accelerometer 122 is greater than or equal to a given variance threshold, the stationary detection device 116 can determine that the platform is in a moving state.
  • the calibration device 11 of the embodiment of the present invention can detect abnormal platform attitude and automatically calibrate the zero offset of the gyroscope 121, thereby effectively reducing the measurement error of the gyroscope 121 and improving the accuracy and reliability of platform attitude estimation.
  • the calibration device 11 of the embodiment of the present invention can perform temperature calibration on the zero bias of the gyroscope only in a static state, thereby effectively reducing costs and improving calibration efficiency.
  • Fig. 2 is a flowchart of a calibration method S1 according to an embodiment of the present invention. As shown in FIG. 2, the calibration method S1 of the embodiment of the present invention may include steps S11 to S13.
  • step S11 the current measurement information of the inertial sensor is acquired.
  • the current measurement information of the inertial sensor may include, for example, the current angular velocity value of the gyroscope and the current acceleration value of the accelerometer.
  • the current measurement information of the inertial sensor may be automatically acquired, so that the entire calibration method can be automatically executed without the user's participation. Specifically, it may be automatically acquired according to a set time interval.
  • the current measurement information of the inertial sensor. Further, the time interval can be set by the user, so that the inertial sensor can be calibrated according to specific needs. It may also be that the current measurement information of the inertial sensor is acquired after the user's trigger operation is acquired, thereby saving the computing resources of the platform on which the inertial sensor is mounted.
  • step S12 according to the current measurement information of the inertial sensor, it is determined whether the current attitude of the platform on which the inertial sensor is mounted is abnormal. If the result of the determination is yes, the process continues to step S13; if the result of the determination is no, the process returns to step S11.
  • the calibration method S1 of the embodiment of the present invention may further include step S14.
  • step S14 it is detected whether the platform mounted on the inertial sensor is in a stationary state? If the result of the detection is yes, the process proceeds to step S13. If the result of the detection is negative, the process proceeds to step S15.
  • step S15 when the platform is in a non-stationary or moving state, the calibration is exited, thereby effectively avoiding calibration errors and reducing the probability of abnormal operation of the stabilizer.
  • the calibration method of the embodiment of the present invention may further include step S16. In step S16, when the platform is in a non-stationary state, a corresponding alarm signal can also be provided to the user.
  • step S13 if the current attitude of the platform is abnormal, the inertial sensor is automatically calibrated.
  • automatically calibrating the inertial sensor includes automatically calibrating the gyroscope in the inertial sensor. Therefore, the calibration method of the embodiment of the present invention may further include step S17.
  • step S17 the zero offset calibration value of the gyroscope at the previous moment can be obtained in real time.
  • the automatic zero-bias calibration of the gyroscope includes the compensation of the current output value of the gyroscope based on the zero-bias calibration value of the gyroscope at the previous time to perform the zero-bias calibration on the gyroscope.
  • the output value of the gyroscope at the current time is the output value of the gyroscope at the current time after factory calibration compensation.
  • the calibration method of the embodiment of the present invention may further include step S18 before the step S11 of acquiring the current measurement information of the inertial sensor.
  • step S18 the control parameters of the handheld pan/tilt are automatically adjusted, so that the handheld pan/tilt can achieve good control performance when adapting to different carriers.
  • the process enters step S11 to start acquiring the current measurement information of the inertial sensor.
  • the step S18 of self-tuning the control parameters of the handheld pan/tilt may include: adjusting the configuration of the control parameters of the handheld pan/tilt based on the camera mounted on the handheld pan/tilt, so that the handheld pan/tilt Good control performance can be achieved when adapting to different cameras.
  • adjusting the configuration of the control parameters of the handheld PTZ based on the camera includes: recognizing the frequency domain model parameters of the combination of the handheld PTZ and the camera, and adjusting the configuration of the control parameters of the handheld PTZ according to the identified model .
  • the self-tuning of control parameters of the handheld pan/tilt in the embodiment of the present invention includes: acquiring a user's operation on the keys of the handheld pan/tilt to trigger the control parameter self-tuning.
  • the calibration method of the embodiment of the present invention can determine whether the current attitude of the platform on which the inertial sensor is mounted is abnormal according to the current measurement information of the inertial sensor, and automatically calibrate the inertial sensor when the current attitude of the platform is abnormal, without manual triggering by the user Calibration, thus reducing the difficulty of user use.
  • the calibration method of the embodiment of the present invention can perform temperature calibration on the zero bias of the gyroscope only in a static state, thereby effectively reducing the cost and improving the calibration efficiency.
  • the calibration method of the embodiment of the present invention can automatically calibrate the zero offset of the gyroscope at any time. Compared with the traditional method of only performing factory calibration, it can effectively eliminate the zero offset error of the gyroscope caused by the installation stress change of the MEMS inertial sensor. Thereby improving the performance of attitude estimation.
  • Fig. 3 discloses the detailed steps of how to determine whether the current attitude of the platform mounted on the inertial sensor is abnormal according to an embodiment of the present invention.
  • the step S12 of determining whether the current posture of the platform mounted on the inertial sensor is abnormal according to an embodiment of the present invention may include step S121 and step S122.
  • step S121 the deviation angle between the current posture of the platform mounted on the inertial sensor and its ideal posture in the direction of gravity is determined.
  • step S121 may further include steps S1211 to S1213.
  • step S1211 the measured value of the accelerometer in the inertial sensor is obtained.
  • step S121 may further include step S1214.
  • step S1214 the measured value of the accelerometer is filtered to prevent the influence of measurement noise.
  • step S1212 the estimated value of gravitational acceleration is determined.
  • determining the estimated value of the gravitational acceleration includes determining the estimated value of the gravitational acceleration in the body coordinate system, which may include step S1221 and step S1222.
  • step S1221 the current measurement information of the inertial sensor is used to determine the rotation matrix of the current posture of the platform.
  • step S1222 the estimated value of the gravity acceleration in the body coordinate system is calculated based on the rotation matrix of the current posture of the platform and the gravity acceleration in the geodetic coordinate system.
  • step S1213 the deviation angle between the current posture of the platform and its ideal posture in the direction of gravity is calculated based on the measured value of the accelerometer and the estimated value of gravitational acceleration.
  • the deviation angle between the current attitude of the platform and its ideal attitude in the direction of gravity is calculated based on the measured value of the filtered accelerometer and the estimated value of gravity acceleration .
  • Fig. 4 discloses the detailed steps of how to obtain the zero offset calibration value of the gyroscope at the previous moment according to an embodiment of the present invention.
  • the step S17 of obtaining the zero offset calibration value of the gyroscope at the previous moment in an embodiment of the present invention may include steps S171 to S173.
  • step S1731 the system state equation can be obtained based on the output value of the gyroscope at the previous moment, and according to the gyroscope error model and the quaternion differential equation.
  • step S1733 the posture solution Kalman filter is designed according to the system state equation and the observation equation.
  • step S1734 the Kalman filter is calculated based on the attitude to estimate the zero offset calibration value of the gyroscope at the previous moment.
  • step S141 the sampled values of the accelerometers at different moments in a given time interval are obtained.
  • the sampling value of the accelerometer may include the sampling value of the accelerometer on the x, y, and z axes, respectively.
  • step S143 it is determined whether the platform is at a standstill based on the variance of the accelerometer? Specifically, determine whether the variance of the accelerometer is less than a given variance threshold? When the result of the determination is yes, that is, when the variance of the accelerometer is less than the given threshold of variance, the platform is determined to be at rest; when the result of the determination is no, that is, when the variance of the accelerometer is greater than or equal to the given threshold of variance, then Make sure that the platform is not stationary or in motion.
  • the specific operation and execution process of the calibration device 21 of the embodiment of the present invention are similar to those of the above-mentioned calibration method, and have beneficial technical effects similar to those of the above-mentioned calibration method, so it will not be repeated here.
  • the embodiment of the present invention also provides a stabilizer 1.
  • the stabilizer 1 may include, for example, but is not limited to, a handheld stabilizer 1 (ie, a handheld pan/tilt), an unmanned aerial vehicle, a pan/tilt cart, etc.
  • Fig. 7 is a schematic block diagram of a stabilizer 1 according to an embodiment of the present invention.
  • the stabilizer 1 of the embodiment of the present invention includes an inertial sensor 12 and the calibration device 11/21 of the embodiment of the present invention described above.
  • the inertial sensor 12 includes a gyroscope 121 and an accelerometer 122.
  • the calibration device 11/21 is used to calibrate the inertial sensor 12, and it may include the calibration device 11 shown in FIG. 1 or the calibration device 21 shown in FIG. 6.
  • control parameter self-tuning device 14 can identify the frequency domain model parameters of the combination of the handheld pan/tilt head and the camera, and adjust the configuration of the control parameters of the controller of the handheld pan/tilt head according to the identified model.

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Gyroscopes (AREA)

Abstract

A calibration method, a calibration device, a stabilizer and a computer readable storage medium. The calibration method comprises: acquiring current measurement information of an inertial sensor; determining, according to the current measurement information of the inertial sensor, whether the current posture of a platform carried by the inertial sensor is abnormal; and automatically calibrating the inertial sensor if the current posture of the platform is abnormal. The calibration method can automatically calibrate the inertial sensor when the current posture of the platform is abnormal, without the need for a user to manually trigger a calibration, thereby reducing the usage difficulty for a user.

Description

标定方法、标定设备、稳定器及计算机可读存储介质Calibration method, calibration equipment, stabilizer and computer readable storage medium 技术领域Technical field
本发明实施例涉及惯性传感器技术领域,尤其涉及一种标定方法、标定设备、稳定器及计算机可读存储介质。The embodiment of the present invention relates to the technical field of inertial sensors, in particular to a calibration method, a calibration device, a stabilizer, and a computer-readable storage medium.
背景技术Background technique
得益于体积和价格优势,加上不断提升的性能和可靠性,MEMS(Micro-Electro-Mechanical System,微机电系统)惯性传感器目前在手持稳定器、无人机、移动机器人和消费电子等领域大放异彩。Benefiting from the advantages of size and price, coupled with increasing performance and reliability, MEMS (Micro-Electro-Mechanical System) inertial sensors are currently used in handheld stabilizers, drones, mobile robots, consumer electronics and other fields Shine.
但是,受限于技术和工艺发展水平,MEMS惯性传感器和激光陀螺、光纤陀螺等高精度惯性传感器相比存在较大的测量误差,因此误差标定是MEMS惯性传感器实际使用当中至关重要的一个环节。However, limited by the level of technology and process development, MEMS inertial sensors have larger measurement errors than high-precision inertial sensors such as laser gyroscopes and fiber optic gyroscopes. Therefore, error calibration is a crucial link in the actual use of MEMS inertial sensors. .
发明人发现传统技术中至少存在如下问题:传统的MEMS惯性传感器的标定方法虽然标定精度和可靠性高,但由于需要专业设备和操作方法,只适合在产品生产时进行批量标定。如果只是经过出厂标定,在一些使用环境下可能由陀螺仪的零偏误差导致手持稳定器姿态异常,表现为姿态歪斜或缓慢漂移。某些市场上的部分手持稳定器产品虽然开放了传感器标定接口,但对于一般用户而言,由于对稳定器工作原理缺乏了解,很难注意到微小的传感器异常表现,并有意识地进行传感器标定,并且多数产品的标定功能对用户操作规范要求较严格。The inventor found that there are at least the following problems in the traditional technology: Although the traditional MEMS inertial sensor calibration method has high calibration accuracy and reliability, it requires professional equipment and operating methods and is only suitable for batch calibration during product production. If it is only calibrated by the factory, in some use environments, the zero bias error of the gyroscope may cause an abnormal attitude of the handheld stabilizer, which manifests as a skewed attitude or slow drift. Although some handheld stabilizer products on the market have opened the sensor calibration interface, for ordinary users, due to lack of understanding of the working principle of the stabilizer, it is difficult to notice the abnormal performance of the tiny sensor and perform sensor calibration consciously. And the calibration function of most products has strict requirements on user operation specifications.
发明内容Summary of the invention
本发明实施例提供一种标定方法、标定设备、稳定器及计算机可读存储介质。The embodiment of the present invention provides a calibration method, a calibration device, a stabilizer, and a computer-readable storage medium.
根据本发明实施例的一个方面,提供一种标定方法。所述标定方法包括:获取惯性传感器的当前测量信息;根据所述惯性传感器的当前测量信息,确定所述惯性传感器所搭载的平台的当前姿态是否异常;以及若所述平台的当前姿态异常,则自动对所述惯性传感器进行标定。According to one aspect of the embodiments of the present invention, a calibration method is provided. The calibration method includes: acquiring current measurement information of the inertial sensor; determining whether the current attitude of the platform on which the inertial sensor is mounted is abnormal according to the current measurement information of the inertial sensor; and if the current attitude of the platform is abnormal, then The inertial sensor is automatically calibrated.
根据本发明实施例的另一个方面,提供一种标定设备。所述标定设备一个或多个处理器,所述一个或多个处理器单独地或共同地工作,用于执行:获取惯性传感器的当前测量信息;根据所述惯性传感器的当前测量信息,确定所述惯性传感器所搭载的平台的当前姿态是否异常;以及若所述平台的当前姿态异常,则自动对所述惯性传感器进行标定。According to another aspect of the embodiments of the present invention, a calibration device is provided. The calibration device has one or more processors, and the one or more processors work individually or collectively to execute: obtain current measurement information of the inertial sensor; determine the current measurement information of the inertial sensor; Whether the current attitude of the platform on which the inertial sensor is mounted is abnormal; and if the current attitude of the platform is abnormal, the inertial sensor is automatically calibrated.
根据本发明实施例的另一个方面,提供一种标定设备。所述标定设备包括测量信息获取装置、确定装置及标定装置。所述测量信息获取装置被配置为获取惯性传感器的当前测量信息。所述确定装置被配置为根据所述惯性传感器的当前测量信息,确定所述惯性传感器所搭载的平台的当前姿态是否异常。所述标定装置被配置为若所述平台的当前姿态异常,则自动对所述惯性传感器进行标定。According to another aspect of the embodiments of the present invention, a calibration device is provided. The calibration equipment includes a measurement information acquisition device, a determination device and a calibration device. The measurement information obtaining device is configured to obtain current measurement information of the inertial sensor. The determining device is configured to determine whether the current posture of the platform mounted on the inertial sensor is abnormal according to the current measurement information of the inertial sensor. The calibration device is configured to automatically calibrate the inertial sensor if the current attitude of the platform is abnormal.
根据本发明实施例的另一个方面,提供一种稳定器。所述稳定器包括惯性传感器及如上所述的用于对所述惯性传感器进行标定的标定设备,所述惯性传感器包括陀螺仪和加速度计。According to another aspect of the embodiments of the present invention, a stabilizer is provided. The stabilizer includes an inertial sensor and the calibration device for calibrating the inertial sensor as described above, and the inertial sensor includes a gyroscope and an accelerometer.
根据本发明实施例的另一个方面,提供一种计算机可读存储介质。所述计算机可读存储介质上存储有可执行的指令。当所述可执行的指令被处理器执行时实现如上所述的标定方法的步骤。According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores executable instructions. The steps of the calibration method as described above are implemented when the executable instructions are executed by the processor.
本发明实施例能够根据惯性传感器的当前测量信息来确定惯性传感器 所搭载的平台的当前姿态是否异常,并且,在平台的当前姿态异常时自动对惯性传感器进行标定,而无需用户手动触发标定,因此降低了用户使用的难度。The embodiment of the present invention can determine whether the current attitude of the platform mounted on the inertial sensor is abnormal according to the current measurement information of the inertial sensor, and automatically calibrate the inertial sensor when the current attitude of the platform is abnormal, without the need for the user to manually trigger the calibration. Reduce the difficulty of users.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1为本发明一个实施例的标定设备的示意性框图;Figure 1 is a schematic block diagram of a calibration device according to an embodiment of the present invention;
图2为本发明一个实施例的标定方法的流程图;Figure 2 is a flowchart of a calibration method according to an embodiment of the present invention;
图3揭示了图2中的如何确定惯性传感器所搭载的平台的当前姿态是否异常的步骤;Fig. 3 reveals the steps of how to determine whether the current attitude of the platform mounted on the inertial sensor is abnormal in Fig. 2;
图4揭示了图2中的如何获取陀螺仪前一时刻的零偏标定值的步骤;Figure 4 reveals the steps of how to obtain the zero offset calibration value of the gyroscope at the previous moment in Figure 2;
图5揭示了图2中的如何检测惯性传感器所搭载的平台是否处于静止状态的步骤。FIG. 5 reveals the steps of how to detect whether the platform mounted on the inertial sensor is in a stationary state in FIG. 2.
图6为本发明另一个实施例的标定设备的示意性框图;Figure 6 is a schematic block diagram of a calibration device according to another embodiment of the present invention;
图7为本发明一个实施例的稳定器的示意性框图。Fig. 7 is a schematic block diagram of a stabilizer according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员 在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present invention. Rather, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
在本发明使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。除非另行指出,“前部”、“后部”、“下部”和/或“上部”等类似词语只是为了便于说明,而并非限于一个位置或者一种空间定向。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而且可以包括电性的连接,不管是直接的还是间接的。在本发明中“能够”可以表示具有能力。下面结合附图,对本发明的各个实施例进行详细说明。在不冲突的情况下,下述的实施例及实施方式中的特征可以相互组合。The terms used in the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and/or" used herein refers to and includes any or all possible combinations of one or more associated listed items. Unless otherwise indicated, similar words such as "front", "rear", "lower" and/or "upper" are only for convenience of description, and are not limited to one position or one spatial orientation. Similar words such as "connected" or "connected" are not limited to physical or mechanical connections, and may include electrical connections, whether direct or indirect. In the present invention, "ability" can mean having ability. The various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the implementation can be combined with each other.
图1为本发明一个实施例的标定设备11的示意性框图。如图1所示,本发明一个实施例的标定设备11包括测量信息获取装置111、确定装置112及标定装置113。在一些实施例中,标定设备11可以包括例如手持云台、移动机器人、无人飞行器。测量信息获取装置111可以获取如图2所示的惯性传感器(Inertial Measurement Unit,IMU)12的当前测量信息,在一些实施例中,如图2所示,惯性传感器12可以包括例如,但不限于MEMS惯性传感器,并包括陀螺仪121和加速度计122。确定装置112可以根据惯性传感器12的当前测量信息,确定惯性传感器12所搭载的平台的当前姿态是否异常。若由确定装置112确定出平台的当前姿态异常,则标定装置 113可以自动对惯性传感器12进行标定。Fig. 1 is a schematic block diagram of a calibration device 11 according to an embodiment of the present invention. As shown in FIG. 1, the calibration equipment 11 of an embodiment of the present invention includes a measurement information acquisition device 111, a determination device 112 and a calibration device 113. In some embodiments, the calibration device 11 may include, for example, a handheld pan/tilt, a mobile robot, and an unmanned aerial vehicle. The measurement information acquiring device 111 may acquire current measurement information of an inertial sensor (Inertial Measurement Unit, IMU) 12 as shown in FIG. 2. In some embodiments, as shown in FIG. 2, the inertial sensor 12 may include, for example, but is not limited to MEMS inertial sensor, and includes gyroscope 121 and accelerometer 122. The determining device 112 can determine whether the current posture of the platform mounted on the inertial sensor 12 is abnormal according to the current measurement information of the inertial sensor 12. If the determination device 112 determines that the current attitude of the platform is abnormal, the calibration device 113 can automatically calibrate the inertial sensor 12.
本发明实施例的标定设备11能够根据惯性传感器12的当前测量信息来确定惯性传感器12所搭载的平台的当前姿态是否异常,并且,在平台的当前姿态异常时自动对惯性传感器12进行标定,而无需用户手动触发标定,因此降低了用户使用的难度。The calibration device 11 of the embodiment of the present invention can determine whether the current attitude of the platform mounted on the inertial sensor 12 is abnormal according to the current measurement information of the inertial sensor 12, and automatically calibrate the inertial sensor 12 when the current attitude of the platform is abnormal, and There is no need for the user to manually trigger the calibration, thus reducing the difficulty of the user.
在一些实施例中,确定装置112可以确定平台的当前姿态与其理想姿态在重力方向上的偏差角度θ,基于偏差角度θ来确定平台的当前姿态是否异常,在偏差角度θ小于预设的角度阈值时,则确定平台的当前姿态正常;在偏差角度θ大于或等于预设的角度阈值时,则确定平台的当前姿态异常。In some embodiments, the determining device 112 can determine the deviation angle θ of the platform's current posture from its ideal posture in the direction of gravity, and determine whether the current posture of the platform is abnormal based on the deviation angle θ, when the deviation angle θ is less than a preset angle threshold When the current posture of the platform is normal; when the deviation angle θ is greater than or equal to the preset angle threshold, it is determined that the current posture of the platform is abnormal.
例如以下表达式所示:For example, as shown in the following expression:
Figure PCTCN2019093489-appb-000001
Figure PCTCN2019093489-appb-000001
在偏差角度θ小于预设的角度阈值θ threshold时,则确定结果RESULT=PASS,即表示平台的当前姿态正常;在偏差角度θ大于或等于预设的角度阈值θ threshold时,则确定结果RESULT=FAULT,即表示平台的当前姿态异常。 When the deviation angle θ is less than the preset angle threshold θ threshold , the determination result RESULT=PASS, which means that the current attitude of the platform is normal; when the deviation angle θ is greater than or equal to the preset angle threshold θ threshold , the determination result RESULT= FAULT means that the current attitude of the platform is abnormal.
在静止状态下,惯性传感器12中的加速度计122的测量值a b为重力加速度在机体坐标系{b}下的投影,假设加速度计122的测量值a b无误差,则可以得到如下公式: In a stationary state, the measured value a b of the accelerometer 122 in the inertial sensor 12 is the projection of the gravitational acceleration in the body coordinate system {b}. Assuming that the measured value a b of the accelerometer 122 has no error, the following formula can be obtained:
a b=g b                                               (2) a b = g b (2)
其中,g b为在机体坐标系{b}下的重力加速度的理想值。因此,在一些实施例中,可以将加速度计122的测量值a b作为在机体坐标系{b}下的重力加速度的理想值来看待。 Among them, g b is the ideal value of gravitational acceleration in the body coordinate system {b}. Therefore, in some embodiments, the measured value a b of the accelerometer 122 can be regarded as an ideal value of the gravitational acceleration in the body coordinate system {b}.
确定装置112可以进一步确定重力加速度的估计值,在一个实施例中,重力加速度的估计值为在机体坐标系{b}下的重力加速度的估计值
Figure PCTCN2019093489-appb-000002
确定装置112可以基于惯性传感器12中的加速度计122的测量值a b和重力加速度的估计值(具体地为在机体坐标系{b}下的重力加速度的估计值
Figure PCTCN2019093489-appb-000003
)来确定平台的当前姿态与理想姿态在重力方向上的偏差角度θ。例如,通过确定加速度计122的测量值a b和重力加速度的估计值夹角的余弦值,来确定平台的当前姿态与其理想姿态在重力方向上的偏差角度θ。
The determining device 112 may further determine the estimated value of the acceleration of gravity. In one embodiment, the estimated value of the acceleration of gravity is an estimated value of the acceleration of gravity in the body coordinate system {b}
Figure PCTCN2019093489-appb-000002
The determining device 112 may be based on the measured value a b of the accelerometer 122 in the inertial sensor 12 and the estimated value of gravitational acceleration (specifically, the estimated value of gravitational acceleration in the body coordinate system {b}.
Figure PCTCN2019093489-appb-000003
) To determine the deviation angle θ between the current attitude of the platform and the ideal attitude in the direction of gravity. For example, by determining the cosine value of the angle between the measured value a b of the accelerometer 122 and the estimated value of gravitational acceleration, the deviation angle θ of the current posture of the platform from its ideal posture in the direction of gravity is determined.
例如,确定装置112可以基于以下公式来确定平台的当前姿态与理想姿态在重力方向上的偏差角度θ:For example, the determining device 112 may determine the deviation angle θ between the current attitude of the platform and the ideal attitude in the direction of gravity based on the following formula:
Figure PCTCN2019093489-appb-000004
Figure PCTCN2019093489-appb-000004
Figure PCTCN2019093489-appb-000005
Figure PCTCN2019093489-appb-000005
其中,
Figure PCTCN2019093489-appb-000006
为平台当前姿态的旋转矩阵,
Figure PCTCN2019093489-appb-000007
可以由惯性传感器12的当前测量信息来确定,g e为在大地坐标系{e}下的重力加速度。
among them,
Figure PCTCN2019093489-appb-000006
Is the rotation matrix of the current posture of the platform,
Figure PCTCN2019093489-appb-000007
It can be determined by the current measurement information of the inertial sensor 12, g e is the gravitational acceleration in the geodetic coordinate system {e}.
因此,在已知平台当前姿态的旋转矩阵
Figure PCTCN2019093489-appb-000008
和大地坐标系{e}下的重力加速度的情况下,根据公式(4)可以获得机体坐标系{b}下的重力加速度的估计值
Figure PCTCN2019093489-appb-000009
在知道机体坐标系{b}下的重力加速度的估计值
Figure PCTCN2019093489-appb-000010
和加速度计122的测量值a b,根据公式(3)可以进一步获得偏差角度θ。
Therefore, the rotation matrix of the current attitude of the known platform
Figure PCTCN2019093489-appb-000008
And the gravitational acceleration in the geodetic coordinate system {e}, the estimated value of the gravitational acceleration in the airframe coordinate system {b} can be obtained according to formula (4)
Figure PCTCN2019093489-appb-000009
The estimated value of the acceleration of gravity under the known body coordinate system {b}
Figure PCTCN2019093489-appb-000010
And the measured value a b of the accelerometer 122, the deviation angle θ can be further obtained according to formula (3).
为了防止测量噪声的影响,本发明实施例的标定设备11还可以包括滤波装置114,滤波装置114可以对加速度计122的测量值进行滤波。在这种情况下,确定装置112可以基于滤波后的加速度计122的测量值和重力加速度的估计值(具体地为在机体坐标系{b}下的重力加速度的估计值
Figure PCTCN2019093489-appb-000011
)来确定平台的当前姿态与理想姿态在重力方向上的偏差角度θ。
In order to prevent the influence of measurement noise, the calibration device 11 of the embodiment of the present invention may further include a filtering device 114, and the filtering device 114 may filter the measured value of the accelerometer 122. In this case, the determining device 112 may be based on the filtered measurement value of the accelerometer 122 and the estimated value of the gravitational acceleration (specifically, the estimated value of the gravitational acceleration in the body coordinate system {b}.
Figure PCTCN2019093489-appb-000011
) To determine the deviation angle θ between the current attitude of the platform and the ideal attitude in the direction of gravity.
惯性传感器12,例如MEMS惯性传感器的误差包括确定性误差和非确定性误差。非确定性误差又称随机误差,理论上无法通过标定完全消除。确定性误差主要包括零偏误差、刻度因子误差和非正交误差,这一部分误差可以通过标定进行补偿。MEMS惯性传感器包括MEMS陀螺仪和MEMS加速度计。The errors of the inertial sensor 12, such as a MEMS inertial sensor, include deterministic errors and non-deterministic errors. Non-deterministic errors are also called random errors, which cannot be completely eliminated by calibration in theory. The deterministic error mainly includes zero bias error, scale factor error and non-orthogonal error. This part of the error can be compensated by calibration. MEMS inertial sensors include MEMS gyroscopes and MEMS accelerometers.
MEMS陀螺仪的误差模型具有如下的数学表达式:The error model of MEMS gyroscope has the following mathematical expressions:
ω O=T gK gS+b g+v g)                               (5) ω O =T g K gS +b g +v g ) (5)
其中,ω O表示无误差的理想角速度,ω S表示MEMS陀螺仪的实际测量值,T g表示非正交误差,K g表示刻度因子误差,b g表示零偏误差,以及v g表示随机误差。 Among them, ω O represents the ideal angular velocity without error, ω S represents the actual measured value of the MEMS gyroscope, T g represents the non-orthogonal error, K g represents the scale factor error, b g represents the zero bias error, and v g represents the random error .
由于MEMS陀螺仪的结构尺寸、材料的弹性模量以及陀螺检测电路中电子器件的性能都会随温度的改变而变化,进而使MEMS陀螺仪的零偏和刻度因子发生改变,因此,MEMS陀螺仪的误差模型还需要考虑温度的影响。然而,如果直接对MEMS陀螺仪的零偏和刻度因子误差进行温度补偿,不仅需要昂贵的带温箱转台,并且大大增加了标定时间,对于大规模生产来说成本过高。实验和研究表明,MEMS陀螺仪的零偏受温度的影响远大于刻度因子受温度的影响,因此,在以上的MEMS陀螺仪误差模型中可以认为非正交误差和刻度因子误差为定值,零偏误差为温度的函数。除温度外,MEMS陀螺仪的零偏还受应力等因素的影响,随着时间累积和温度变化,结构和硬件难免会发生尺寸变化,导致MEMS惯性传感器所受应力变化,从而使陀螺仪的零偏改变。Because the structural size of the MEMS gyroscope, the elastic modulus of the material, and the performance of the electronic device in the gyroscope detection circuit will change with temperature, the zero bias and scale factor of the MEMS gyroscope will change. Therefore, the MEMS gyroscope's The error model also needs to consider the influence of temperature. However, if the zero bias and scale factor errors of the MEMS gyroscope are directly temperature compensated, not only an expensive turntable with a temperature box is required, but also the calibration time is greatly increased, which is too costly for mass production. Experiments and studies have shown that the zero bias of MEMS gyroscopes is much more affected by temperature than the scale factor is affected by temperature. Therefore, in the above MEMS gyroscope error model, it can be considered that the non-orthogonal error and the scale factor error are fixed values. The bias error is a function of temperature. In addition to temperature, the zero bias of the MEMS gyroscope is also affected by stress and other factors. With time accumulation and temperature changes, the structure and hardware will inevitably change in size, resulting in changes in the stress on the MEMS inertial sensor, thereby making the gyroscope zero Partial change.
综上,由于惯性传感器12中的陀螺仪121受温度的影响较大,特别是陀螺仪121的零偏会随着温度和应力的改变而发生变化。因此,在本发明的一些实施例中,标定设备11对惯性传感器12自动进行标定可以包括对惯性传感器12中的陀螺仪121进行自动零偏标定,从而简化了标定结构,减少了标定时间,能够极大地降低成本。因此,在确定惯性传感器12所搭载的平台的当前姿态异常时,标定设备11可以自动对陀螺仪121进行零偏标定。In summary, since the gyroscope 121 in the inertial sensor 12 is greatly affected by temperature, in particular, the zero bias of the gyroscope 121 will change with changes in temperature and stress. Therefore, in some embodiments of the present invention, the automatic calibration of the inertial sensor 12 by the calibration device 11 may include automatic zero-bias calibration of the gyroscope 121 in the inertial sensor 12, thereby simplifying the calibration structure, reducing the calibration time, and Greatly reduce costs. Therefore, when it is determined that the current attitude of the platform on which the inertial sensor 12 is mounted is abnormal, the calibration device 11 can automatically calibrate the gyroscope 121 with zero offset.
假设陀螺仪121已经经过出厂标定,补偿了非正交误差T g、刻度因子误差K g和初始零偏
Figure PCTCN2019093489-appb-000012
则陀螺仪121的经出厂标定补偿后的输出值为:
Assuming that the gyroscope 121 has been calibrated at the factory, the non-orthogonal error T g , the scale factor error K g and the initial zero offset have been compensated
Figure PCTCN2019093489-appb-000012
Then the output value of the gyroscope 121 after factory calibration compensation is:
Figure PCTCN2019093489-appb-000013
Figure PCTCN2019093489-appb-000013
虽然陀螺仪121经过出厂标定,但是陀螺仪121出厂标定之后仍有一部分陀螺仪121的零偏
Figure PCTCN2019093489-appb-000014
无法补偿,根据陀螺仪121误差模型,可以得到无误差的理想角速度如下:
Although the gyroscope 121 has been calibrated at the factory, there is still a part of the zero offset of the gyroscope 121 after the gyroscope 121 is calibrated.
Figure PCTCN2019093489-appb-000014
It cannot be compensated. According to the error model of the gyroscope 121, the ideal angular velocity without error can be obtained as follows:
Figure PCTCN2019093489-appb-000015
Figure PCTCN2019093489-appb-000015
其中,ω O为无误差的理想角速度,ω m为陀螺仪121的经出厂标定补偿后的输出值,v g为陀螺仪121的随机误差。 Among them, ω O is the ideal angular velocity without error, ω m is the output value of the gyroscope 121 after factory calibration and compensation, and v g is the random error of the gyroscope 121.
因此,本发明实施例的标定装置113可以获取陀螺仪121前一时刻的零偏标定值
Figure PCTCN2019093489-appb-000016
并基于陀螺仪121前一时刻的零偏标定值
Figure PCTCN2019093489-appb-000017
来补偿陀螺仪121当前时刻的输出值ω m,从而对陀螺仪121进行零偏标定。在陀螺仪121经过出厂标定的情况下,陀螺仪121当前时刻的输出值ω m为陀螺仪121的经出厂标定补偿后当前时刻的输出值。
Therefore, the calibration device 113 of the embodiment of the present invention can obtain the zero offset calibration value of the gyroscope 121 at the previous moment.
Figure PCTCN2019093489-appb-000016
And based on the zero offset calibration value of the gyroscope 121 at the previous moment
Figure PCTCN2019093489-appb-000017
To compensate the output value ω m of the gyroscope 121 at the current moment, so as to perform zero offset calibration on the gyroscope 121. In the case that the gyroscope 121 is calibrated at the factory, the output value ω m of the gyroscope 121 at the current time is the output value of the gyroscope 121 at the current time after being compensated by the factory calibration.
标定设备11还包括计算装置115,计算装置115可以获得陀螺仪121前一时刻的输出值
Figure PCTCN2019093489-appb-000018
和惯性传感器12中的加速度计122前一时刻的测量值
Figure PCTCN2019093489-appb-000019
并基于陀螺仪121前一时刻的输出值
Figure PCTCN2019093489-appb-000020
来实时地计算陀螺仪121前一时刻的零偏标定值
Figure PCTCN2019093489-appb-000021
通过实时地计算陀螺仪前一时刻的零偏标定值
Figure PCTCN2019093489-appb-000022
因此,一旦确定平台的当前姿态出现异常,便可以立即利用该零偏标定值来补偿陀螺仪当前时刻的输出值,从而能够快速地自动完成陀螺仪的零偏标定。
The calibration device 11 also includes a calculation device 115, which can obtain the output value of the gyroscope 121 at the previous moment
Figure PCTCN2019093489-appb-000018
And the previous measurement value of the accelerometer 122 in the inertial sensor 12
Figure PCTCN2019093489-appb-000019
And based on the output value of the gyroscope 121 at the previous moment
Figure PCTCN2019093489-appb-000020
To calculate the zero offset calibration value of the gyroscope 121 at the previous moment in real time
Figure PCTCN2019093489-appb-000021
Calculate the zero offset calibration value of the gyroscope in real time
Figure PCTCN2019093489-appb-000022
Therefore, once it is determined that the current attitude of the platform is abnormal, the zero offset calibration value can be used to compensate the current output value of the gyroscope, so that the zero offset calibration of the gyroscope can be completed quickly and automatically.
继续参照图1所示,本发明实施例的标定设备11还可以包括静止检测装置116,静止检测装置116可以检测惯性传感器12所搭载的平台是否处于静止状态。在平台处于静止状态时,标定装置113可以对惯性传感器12进行标定。在平台处于运动状态时,则标定装置113退出标定,从而有效避免了标定出错,降低了非法操作导致稳定器异常的概率。Continuing to refer to FIG. 1, the calibration device 11 of the embodiment of the present invention may further include a static detection device 116, and the static detection device 116 may detect whether the platform mounted on the inertial sensor 12 is in a static state. When the platform is in a stationary state, the calibration device 113 can calibrate the inertial sensor 12. When the platform is in a moving state, the calibration device 113 exits the calibration, thereby effectively avoiding calibration errors and reducing the probability of abnormal operation of the stabilizer.
静止检测装置116可以进一步基于在给定的时间间隔内不同时刻的 加速度计122的采样值来计算加速度计122的方差,并基于加速度计122的方差确定平台是否处于静止状态。The stationary detection device 116 may further calculate the variance of the accelerometer 122 based on the sampling values of the accelerometer 122 at different moments in a given time interval, and determine whether the platform is in a stationary state based on the variance of the accelerometer 122.
在一个实施例中,加速度计122的采样值包括加速度计122分别在x、y、z轴上的采样值。可以根据加速度计122分别在x、y、z轴上的采样值,计算加速度计122的方差。In one embodiment, the sampling value of the accelerometer 122 includes the sampling value of the accelerometer 122 on the x, y, and z axes, respectively. The variance of the accelerometer 122 can be calculated according to the sampling values of the accelerometer 122 on the x, y, and z axes.
例如,静止检测装置116可以基于以下公式来确定惯性传感器12是否处于静止状态:For example, the stationary detection device 116 may determine whether the inertial sensor 12 is in a stationary state based on the following formula:
Figure PCTCN2019093489-appb-000023
Figure PCTCN2019093489-appb-000023
其中,σ 2为加速度计122的方差,t w为给定的时间间隔,
Figure PCTCN2019093489-appb-000024
表示在t时刻的加速度计122在x轴上的采样值的方差,
Figure PCTCN2019093489-appb-000025
表示在t时刻的加速度计122在y轴上的采样值的方差,以及
Figure PCTCN2019093489-appb-000026
表示在t时刻的加速度计122在z轴上的采样值的方差。
Where σ 2 is the variance of the accelerometer 122, and t w is the given time interval,
Figure PCTCN2019093489-appb-000024
Represents the variance of the sampled value of the accelerometer 122 on the x-axis at time t,
Figure PCTCN2019093489-appb-000025
Represents the variance of the sampled value of the accelerometer 122 on the y-axis at time t, and
Figure PCTCN2019093489-appb-000026
It represents the variance of the sample value of the accelerometer 122 on the z axis at time t.
由于加速度计122的方差能够反映给定的时间间隔t w内平台加速度的变化特性,当平台静止时,则方差最小;当载体运动越剧烈,则方差越大。因此,可以通过比较加速度计122的方差σ 2与给定的方差阈值来检测平台是否静止,例如,当加速度计122的方差σ 2小于给定的方差阈值时,则静止检测装置116可以确定平台处于静止状态。当加速度计122的方差σ 2大于或等于给定的方差阈值时,则静止检测装置116可以确定平台处于运动状态。 Since the variance of the accelerometer 122 can reflect the change characteristics of the acceleration of the platform in a given time interval t w , when the platform is stationary, the variance is the smallest; when the carrier moves more violently, the variance is greater. Therefore, it is possible to detect whether the platform is stationary by comparing the variance σ 2 of the accelerometer 122 with a given variance threshold. For example, when the variance σ 2 of the accelerometer 122 is less than the given variance threshold, the stationary detection device 116 can determine the platform At a standstill. When the variance σ 2 of the accelerometer 122 is greater than or equal to a given variance threshold, the stationary detection device 116 can determine that the platform is in a moving state.
例如下式所示:For example, as shown in the following formula:
Figure PCTCN2019093489-appb-000027
Figure PCTCN2019093489-appb-000027
在加速度计122的方差σ 2小于给定的方差阈值
Figure PCTCN2019093489-appb-000028
时,则检测结果result=STATIC,即静止检测装置116可以确定平台处于静止状态。在 加速度计122的方差σ 2大于或等于给定的方差阈值
Figure PCTCN2019093489-appb-000029
时,则检测结果result=MOVE,即静止检测装置116可以确定平台处于运动状态。
The variance σ 2 of the accelerometer 122 is less than the given variance threshold
Figure PCTCN2019093489-appb-000028
When, the detection result result=STATIC, that is, the static detection device 116 can determine that the platform is in a static state. The variance σ 2 of the accelerometer 122 is greater than or equal to the given variance threshold
Figure PCTCN2019093489-appb-000029
When, the detection result result=MOVE, that is, the static detection device 116 can determine that the platform is in a moving state.
本发明实施例的标定设备11能够检测平台姿态异常并自动对陀螺仪121的零偏进行标定,从而,能够有效减小陀螺仪121的测量误差,提升平台姿态估计的精度和可靠性。The calibration device 11 of the embodiment of the present invention can detect abnormal platform attitude and automatically calibrate the zero offset of the gyroscope 121, thereby effectively reducing the measurement error of the gyroscope 121 and improving the accuracy and reliability of platform attitude estimation.
本发明实施例的标定设备11可以仅在静态下对陀螺仪的零偏进行温度标定,从而有效降低成本,并提高标定效率。The calibration device 11 of the embodiment of the present invention can perform temperature calibration on the zero bias of the gyroscope only in a static state, thereby effectively reducing costs and improving calibration efficiency.
本发明实施例还提供了一种标定方法。图2为本发明一个实施例的标定方法S1的流程图。如图2所示,本发明实施例的标定方法S1可以包括步骤S11至步骤S13。The embodiment of the present invention also provides a calibration method. Fig. 2 is a flowchart of a calibration method S1 according to an embodiment of the present invention. As shown in FIG. 2, the calibration method S1 of the embodiment of the present invention may include steps S11 to S13.
在步骤S11中,获取惯性传感器的当前测量信息。In step S11, the current measurement information of the inertial sensor is acquired.
惯性传感器的当前测量信息,可以包括例如陀螺仪的当前角速度值和加速度计的当前加速度值。在一些实施例中,可以是自动获取惯性传感器的当前测量信息,从而能够实现整个标定方法的全过程的自动执行,而无需用户的参与,具体的,可以是根据设定的时间间隔,自动获取惯性传感器的当前测量信息。进一步地,该时间间隔能够由用户自己设定,从而根据具体需要,进行惯性传感器的标定。还可以是在获取用户的触发操作之后,开始获取惯性传感器的当前测量信息,从而节约惯性传感器所搭载的平台的计算资源。The current measurement information of the inertial sensor may include, for example, the current angular velocity value of the gyroscope and the current acceleration value of the accelerometer. In some embodiments, the current measurement information of the inertial sensor may be automatically acquired, so that the entire calibration method can be automatically executed without the user's participation. Specifically, it may be automatically acquired according to a set time interval. The current measurement information of the inertial sensor. Further, the time interval can be set by the user, so that the inertial sensor can be calibrated according to specific needs. It may also be that the current measurement information of the inertial sensor is acquired after the user's trigger operation is acquired, thereby saving the computing resources of the platform on which the inertial sensor is mounted.
在步骤S12中,根据惯性传感器的当前测量信息,确定惯性传感器所搭载的平台的当前姿态是否异常。在确定结果为是,则过程继续前进到步骤S13;在确定结果为否,则过程返回到步骤S11。In step S12, according to the current measurement information of the inertial sensor, it is determined whether the current attitude of the platform on which the inertial sensor is mounted is abnormal. If the result of the determination is yes, the process continues to step S13; if the result of the determination is no, the process returns to step S11.
在一些实施例中,本发明实施例的标定方法S1还可以包括步骤S14。在步骤S14中,检测惯性传感器所搭载的平台是否处于静止状态?在检测的结果为是,则过程前进到步骤S13。在检测的结果为否,则过程前进到 步骤S15。在步骤S15中,在平台处于非静止即运动状态时,则退出标定,从而有效避免标定出错,降低了非法操作导致稳定器异常的概率。进一步地,本发明实施例的标定方法还可以包括步骤S16。在步骤S16中,在平台处于非静止状态时,则还可以给用户提供相应的报警信号。In some embodiments, the calibration method S1 of the embodiment of the present invention may further include step S14. In step S14, it is detected whether the platform mounted on the inertial sensor is in a stationary state? If the result of the detection is yes, the process proceeds to step S13. If the result of the detection is negative, the process proceeds to step S15. In step S15, when the platform is in a non-stationary or moving state, the calibration is exited, thereby effectively avoiding calibration errors and reducing the probability of abnormal operation of the stabilizer. Further, the calibration method of the embodiment of the present invention may further include step S16. In step S16, when the platform is in a non-stationary state, a corresponding alarm signal can also be provided to the user.
在步骤S13中,若平台的当前姿态异常,则自动对惯性传感器进行标定。In step S13, if the current attitude of the platform is abnormal, the inertial sensor is automatically calibrated.
在一些实施例中,自动对惯性传感器进行标定包括自动对惯性传感器中的陀螺仪进行零偏标定。因此,本发明实施例的标定方法还可以包括步骤S17。在步骤S17中,可以实时地获取陀螺仪前一时刻的零偏标定值。则在步骤S13中自动对陀螺仪进行零偏标定包括基于陀螺仪前一时刻的零偏标定值来补偿陀螺仪当前时刻的输出值以对陀螺仪进行零偏标定。陀螺仪当前时刻的输出值为陀螺仪的经出厂标定补偿后当前时刻的输出值。通过实时地获取陀螺仪前一时刻的零偏标定值,因此,一旦确定平台的当前姿态出现异常,便可以立即利用该零偏标定值来补偿陀螺仪当前时刻的输出值,从而快速地自动完成陀螺仪的零偏标定。In some embodiments, automatically calibrating the inertial sensor includes automatically calibrating the gyroscope in the inertial sensor. Therefore, the calibration method of the embodiment of the present invention may further include step S17. In step S17, the zero offset calibration value of the gyroscope at the previous moment can be obtained in real time. Then, in step S13, the automatic zero-bias calibration of the gyroscope includes the compensation of the current output value of the gyroscope based on the zero-bias calibration value of the gyroscope at the previous time to perform the zero-bias calibration on the gyroscope. The output value of the gyroscope at the current time is the output value of the gyroscope at the current time after factory calibration compensation. By obtaining the zero offset calibration value of the gyroscope at the previous moment in real time, once it is determined that the current attitude of the platform is abnormal, the zero offset calibration value can be used to compensate the output value of the gyroscope at the current time, so as to quickly and automatically complete Zero offset calibration of the gyroscope.
对于惯性传感器位于手持云台中的实施例,则本发明实施例的标定方法在获取惯性传感器的当前测量信息的步骤S11之前,还可以包括步骤S18。在步骤S18中,对手持云台进行控制参数自整定,从而使得手持云台在适配不同载体时均能够达到很好的控制性能。在对手持云台进行控制参数自整定之后,过程才进入到步骤S11中,开始获取惯性传感器的当前测量信息。For the embodiment in which the inertial sensor is located in the handheld pan/tilt, the calibration method of the embodiment of the present invention may further include step S18 before the step S11 of acquiring the current measurement information of the inertial sensor. In step S18, the control parameters of the handheld pan/tilt are automatically adjusted, so that the handheld pan/tilt can achieve good control performance when adapting to different carriers. After auto-tuning the control parameters of the handheld pan/tilt, the process enters step S11 to start acquiring the current measurement information of the inertial sensor.
当惯性传感器所搭载的平台为相机时,则对手持云台进行控制参数自整定的步骤S18可以包括:基于手持云台所搭载的相机来调整手持云台的控制参数的配置,从而使得手持云台适配不同相机时都能够达到很好的控制性能。具体地,基于相机来调整手持云台的控制参数的配置包括:对手持云台和相机的组合的频域模型参数进行辨识,并且,根据辨识得到的 模型来调整手持云台的控制参数的配置。When the platform mounted on the inertial sensor is a camera, the step S18 of self-tuning the control parameters of the handheld pan/tilt may include: adjusting the configuration of the control parameters of the handheld pan/tilt based on the camera mounted on the handheld pan/tilt, so that the handheld pan/tilt Good control performance can be achieved when adapting to different cameras. Specifically, adjusting the configuration of the control parameters of the handheld PTZ based on the camera includes: recognizing the frequency domain model parameters of the combination of the handheld PTZ and the camera, and adjusting the configuration of the control parameters of the handheld PTZ according to the identified model .
本发明实施例的对手持云台进行控制参数自整定包括:获取用户对手持云台的按键的操作,以触发控制参数自整定。The self-tuning of control parameters of the handheld pan/tilt in the embodiment of the present invention includes: acquiring a user's operation on the keys of the handheld pan/tilt to trigger the control parameter self-tuning.
本发明实施例的标定方法能够根据惯性传感器的当前测量信息来确定惯性传感器所搭载的平台的当前姿态是否异常,并且,在平台的当前姿态异常时自动对惯性传感器进行标定,而无需用户手动触发标定,因此降低了用户使用的难度。The calibration method of the embodiment of the present invention can determine whether the current attitude of the platform on which the inertial sensor is mounted is abnormal according to the current measurement information of the inertial sensor, and automatically calibrate the inertial sensor when the current attitude of the platform is abnormal, without manual triggering by the user Calibration, thus reducing the difficulty of user use.
本发明实施例的标定方法可以仅在静态下对陀螺仪的零偏进行温度标定,从而有效降低成本,并提高标定效率。The calibration method of the embodiment of the present invention can perform temperature calibration on the zero bias of the gyroscope only in a static state, thereby effectively reducing the cost and improving the calibration efficiency.
本发明实施例的标定方法能够随时对陀螺仪的零偏进行自动标定,相比传统仅进行出厂标定的方法,能够有效消除由于MEMS惯性传感器所受安装应力变化而产生的陀螺仪零偏误差,从而提升姿态估计的性能。The calibration method of the embodiment of the present invention can automatically calibrate the zero offset of the gyroscope at any time. Compared with the traditional method of only performing factory calibration, it can effectively eliminate the zero offset error of the gyroscope caused by the installation stress change of the MEMS inertial sensor. Thereby improving the performance of attitude estimation.
图3揭示了本发明一个实施例的如何确定惯性传感器所搭载的平台的当前姿态是否异常的详细步骤。如图3所示,本发明一个实施例的确定惯性传感器所搭载的平台的当前姿态是否异常的步骤S12可以包括步骤S121和步骤S122。Fig. 3 discloses the detailed steps of how to determine whether the current attitude of the platform mounted on the inertial sensor is abnormal according to an embodiment of the present invention. As shown in FIG. 3, the step S12 of determining whether the current posture of the platform mounted on the inertial sensor is abnormal according to an embodiment of the present invention may include step S121 and step S122.
在步骤S121中,确定惯性传感器所搭载的平台的当前姿态与其理想姿态在重力方向上的偏差角度。其中,步骤S121可以进一步包括步骤S1211至S1213。In step S121, the deviation angle between the current posture of the platform mounted on the inertial sensor and its ideal posture in the direction of gravity is determined. Wherein, step S121 may further include steps S1211 to S1213.
在步骤S1211中,获得惯性传感器中的加速度计的测量值。In step S1211, the measured value of the accelerometer in the inertial sensor is obtained.
在一些实施例中,在步骤S1211之后,步骤S121还可以包括步骤S1214。在步骤S1214中,对加速度计的测量值进行滤波,从而防止测量噪声的影响。In some embodiments, after step S1211, step S121 may further include step S1214. In step S1214, the measured value of the accelerometer is filtered to prevent the influence of measurement noise.
在步骤S1212中,确定重力加速度的估计值。In step S1212, the estimated value of gravitational acceleration is determined.
在一些实施例中,确定重力加速度的估计值包括确定在机体坐标系下的重力加速度的估计值,其可以包括步骤S1221和步骤S1222。In some embodiments, determining the estimated value of the gravitational acceleration includes determining the estimated value of the gravitational acceleration in the body coordinate system, which may include step S1221 and step S1222.
在步骤S1221中,由惯性传感器的当前测量信息来确定平台当前姿态的旋转矩阵。In step S1221, the current measurement information of the inertial sensor is used to determine the rotation matrix of the current posture of the platform.
在步骤S1222中,基于平台当前姿态的旋转矩阵和大地坐标系下的重力加速度来计算在机体坐标系下的重力加速度的估计值。In step S1222, the estimated value of the gravity acceleration in the body coordinate system is calculated based on the rotation matrix of the current posture of the platform and the gravity acceleration in the geodetic coordinate system.
在步骤S1213中,基于加速度计的测量值和重力加速度的估计值来计算平台的当前姿态与其理想姿态在重力方向上的偏差角度。在对加速度计的测量值进行滤波的情况下,则在步骤S1213中,基于滤波后的加速度计的测量值和重力加速度的估计值来计算平台的当前姿态与其理想姿态在重力方向上的偏差角度。In step S1213, the deviation angle between the current posture of the platform and its ideal posture in the direction of gravity is calculated based on the measured value of the accelerometer and the estimated value of gravitational acceleration. In the case of filtering the measured value of the accelerometer, in step S1213, the deviation angle between the current attitude of the platform and its ideal attitude in the direction of gravity is calculated based on the measured value of the filtered accelerometer and the estimated value of gravity acceleration .
在步骤S122中,基于偏差角度来确定平台的当前姿态是否异常?具体地,确定偏差角度是否大于或等于预设的角度阈值?在确定结果为是,即在偏差角度大于或等于预设的角度阈值时,则确定平台的当前姿态异常;在确定结果为否,即在偏差角度小于预设的角度阈值时,则确定平台的当前姿态正常。In step S122, determine whether the current posture of the platform is abnormal based on the deviation angle? Specifically, it is determined whether the deviation angle is greater than or equal to a preset angle threshold? When the result of the determination is yes, that is, when the deviation angle is greater than or equal to the preset angle threshold, it is determined that the current attitude of the platform is abnormal; when the result of the determination is no, that is, when the deviation angle is less than the preset angle threshold, the platform is determined The current posture is normal.
图4揭示了本发明一个实施例的如何获取陀螺仪前一时刻的零偏标定值的详细步骤。如图4所示,本发明一个实施例的获取陀螺仪前一时刻的零偏标定值的步骤S17可以包括步骤S171至步骤S173。Fig. 4 discloses the detailed steps of how to obtain the zero offset calibration value of the gyroscope at the previous moment according to an embodiment of the present invention. As shown in FIG. 4, the step S17 of obtaining the zero offset calibration value of the gyroscope at the previous moment in an embodiment of the present invention may include steps S171 to S173.
在步骤S171中,获得陀螺仪前一时刻的输出值。In step S171, the output value of the gyroscope at the previous time is obtained.
在步骤S172中,获得惯性传感器中的加速度计前一时刻的测量值。In step S172, the previous measurement value of the accelerometer in the inertial sensor is obtained.
在步骤S173中,基于陀螺仪前一时刻的输出值和加速度计前一时刻的测量值计算陀螺仪前一时刻的零偏标定值。其中,步骤S173可以进一步包括步骤S1731至S1734。In step S173, the zero offset calibration value of the gyroscope at the previous time is calculated based on the output value of the gyroscope at the previous time and the measurement value of the accelerometer at the previous time. Wherein, step S173 may further include steps S1731 to S1734.
在步骤S1731中,基于陀螺仪前一时刻的输出值,并且根据陀螺仪 误差模型和四元数微分方程可以获得系统状态方程。In step S1731, the system state equation can be obtained based on the output value of the gyroscope at the previous moment, and according to the gyroscope error model and the quaternion differential equation.
在步骤S1732中,基于加速度计前一时刻的测量值,可以建立姿态的观测模型并获得姿态的观测方程。In step S1732, based on the previous measurement value of the accelerometer, an observation model of the attitude can be established and an observation equation of the attitude can be obtained.
在步骤S1733中,根据系统状态方程和观测方程设计姿态解算卡尔曼滤波器。In step S1733, the posture solution Kalman filter is designed according to the system state equation and the observation equation.
在步骤S1734中,基于姿态解算卡尔曼滤波器估计出陀螺仪前一时刻的零偏标定值。In step S1734, the Kalman filter is calculated based on the attitude to estimate the zero offset calibration value of the gyroscope at the previous moment.
图5揭示了本发明一个实施例的如何检测惯性传感器所搭载的平台是否处于静止状态的详细步骤。如图5所示,本发明一个实施例的检测惯性传感器所搭载的平台是否处于静止状态的步骤S14可以包括步骤S141至步骤S143。FIG. 5 discloses the detailed steps of how to detect whether the platform mounted on the inertial sensor is in a static state according to an embodiment of the present invention. As shown in FIG. 5, the step S14 of detecting whether the platform mounted on the inertial sensor is in a stationary state according to an embodiment of the present invention may include steps S141 to S143.
在步骤S141中,获得在给定的时间间隔内不同时刻的加速度计的采样值。加速度计的采样值可以包括加速度计分别在x、y、z轴上的采样值。In step S141, the sampled values of the accelerometers at different moments in a given time interval are obtained. The sampling value of the accelerometer may include the sampling value of the accelerometer on the x, y, and z axes, respectively.
在步骤S142中,基于加速度计的采样值计算加速度计的方差。In step S142, the variance of the accelerometer is calculated based on the sampled value of the accelerometer.
在步骤S143中,基于加速度计的方差确定平台是否处于静止状态?具体地,确定加速度计的方差是否小于给定的方差阈值?在确定结果为是,即在加速度计的方差小于给定的方差阈值时,则确定平台处于静止状态;在确定结果为否,即在加速度计的方差大于或等于给定的方差阈值时,则确定平台处于非静止即运动状态。In step S143, it is determined whether the platform is at a standstill based on the variance of the accelerometer? Specifically, determine whether the variance of the accelerometer is less than a given variance threshold? When the result of the determination is yes, that is, when the variance of the accelerometer is less than the given threshold of variance, the platform is determined to be at rest; when the result of the determination is no, that is, when the variance of the accelerometer is greater than or equal to the given threshold of variance, then Make sure that the platform is not stationary or in motion.
图6所示为本发明另一个实施例的标定设备21的示意性框图。如图6所示,本发明另一个实施例的标定设备21可以包括一个或多个处理器211。该一个或多个处理器211单独地或共同地工作,可以用于执行如上所述的标定方法的步骤。FIG. 6 is a schematic block diagram of a calibration device 21 according to another embodiment of the present invention. As shown in FIG. 6, the calibration device 21 according to another embodiment of the present invention may include one or more processors 211. The one or more processors 211 work individually or together, and may be used to perform the steps of the calibration method as described above.
本发明实施例的标定设备21与上述标定方法的具体操作及执行过程相类似,并且具有与上述标定方法相类似的有益技术效果,故在此不再 赘述。The specific operation and execution process of the calibration device 21 of the embodiment of the present invention are similar to those of the above-mentioned calibration method, and have beneficial technical effects similar to those of the above-mentioned calibration method, so it will not be repeated here.
本发明实施例还提供了一种稳定器1。稳定器1可以包括例如,但不限于手持稳定器1(即手持云台)、无人飞行器、云台车等。图7所示为本发明一个实施例的稳定器1的示意性框图。如图7所示,本发明实施例的稳定器1包括惯性传感器12及如上所述的本发明实施例的标定设备11/21。惯性传感器12包括陀螺仪121和加速度计122。标定设备11/21用于对惯性传感器12进行标定,其可以包括图1所示的标定装置11,也可以包括图6所示的标定设备21。The embodiment of the present invention also provides a stabilizer 1. The stabilizer 1 may include, for example, but is not limited to, a handheld stabilizer 1 (ie, a handheld pan/tilt), an unmanned aerial vehicle, a pan/tilt cart, etc. Fig. 7 is a schematic block diagram of a stabilizer 1 according to an embodiment of the present invention. As shown in FIG. 7, the stabilizer 1 of the embodiment of the present invention includes an inertial sensor 12 and the calibration device 11/21 of the embodiment of the present invention described above. The inertial sensor 12 includes a gyroscope 121 and an accelerometer 122. The calibration device 11/21 is used to calibrate the inertial sensor 12, and it may include the calibration device 11 shown in FIG. 1 or the calibration device 21 shown in FIG. 6.
稳定器1包括控制器13。在稳定器1为手持云台的实施例中,本发明实施例的稳定器1还可以包括控制参数自整定装置14,控制参数自整定装置14可以对手持云台的控制器13进行控制参数自整定。在对手持云台的控制器13进行控制参数自整定之后,标定设备11中的测量信息获取装置111可以开始获取惯性传感器12的当前测量信息,或者,标定设备21中的处理器211被执行用于开始获取惯性传感器12的当前测量信息。The stabilizer 1 includes a controller 13. In the embodiment where the stabilizer 1 is a handheld pan/tilt, the stabilizer 1 of the embodiment of the present invention may also include a control parameter auto-tuning device 14, which can perform control parameter auto-tuning on the controller 13 of the handheld pan/tilt. Tuning. After auto-tuning the control parameters of the controller 13 of the handheld PTZ, the measurement information acquisition device 111 in the calibration device 11 can start to acquire the current measurement information of the inertial sensor 12, or the processor 211 in the calibration device 21 is used for execution. At the beginning, the current measurement information of the inertial sensor 12 is acquired.
例如,对于相机手持云台来说,由于相机手持云台需要适配不同的相机,各种相机和镜头的组合在尺寸、质量上的差异,以及不同的安装位置和结构受力状态都会导致不同的动力学模型参数和频率响应特性。手持云台如果采用统一的控制器则无法很好地适配被控对象的变化,这将会对手持云台的增稳性能带来影响。本发明实施例的稳定器1通过增设控制参数自整定装置14,控制参数自整定装置14可以基于手持云台所加载的相机来调整手持云台的控制器的控制参数的配置,从而使得手持云台适配不同相机时都能够达到很好的控制性能。For example, for a camera handheld gimbal, because the camera handheld gimbal needs to be adapted to different cameras, the differences in the size and quality of the combination of various cameras and lenses, as well as the different installation positions and structural stress conditions will lead to different The dynamic model parameters and frequency response characteristics. If the handheld pan/tilt adopts a unified controller, it cannot adapt well to the changes of the controlled object, which will affect the stability enhancement performance of the handheld pan/tilt. The stabilizer 1 of the embodiment of the present invention adds a control parameter self-tuning device 14, which can adjust the configuration of the control parameters of the controller of the handheld pan/tilt based on the camera loaded on the handheld pan/tilt, so that the handheld pan/tilt Good control performance can be achieved when adapting to different cameras.
具体地,控制参数自整定装置14可以对手持云台和相机的组合的频域模型参数进行辨识,并且,根据辨识得到的模型来调整手持云台的控制器的控制参数的配置。Specifically, the control parameter self-tuning device 14 can identify the frequency domain model parameters of the combination of the handheld pan/tilt head and the camera, and adjust the configuration of the control parameters of the controller of the handheld pan/tilt head according to the identified model.
本发明实施例的稳定器1与上述标定设备11、21及标定方法的具体操作及执行过程相类似,并且具有与上述标定设备11、21及标定方法相类似的有益技术效果,故在此不再赘述。在不冲突的情况下,本发明实施例的稳定器1可以使用或包括前述标定设备11、21及标定方法的具体操作及执行过程的实施例或实施方式。The specific operation and execution process of the stabilizer 1 of the embodiment of the present invention is similar to the above-mentioned calibration equipment 11, 21 and the calibration method, and has similar beneficial technical effects as the above-mentioned calibration equipment 11, 21 and the calibration method, so it is not here. Repeat it again. In the case of no conflict, the stabilizer 1 of the embodiment of the present invention may use or include the embodiments or implementations of specific operations and execution processes of the aforementioned calibration devices 11 and 21 and the calibration method.
本发明实施例还提供了一种计算机可读存储介质,其上存储有可执行的指令。当该可执行的指令被处理器执行时实现如上所述的标定方法的步骤,在此不再赘述。The embodiment of the present invention also provides a computer-readable storage medium on which executable instructions are stored. When the executable instruction is executed by the processor, the steps of the calibration method as described above are implemented, which will not be repeated here.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is any such actual relationship or sequence between entities or operations. The terms "include", "include", or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements that are not explicitly listed. Elements, or also include elements inherent to such processes, methods, articles, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other same elements in the process, method, article, or equipment including the element.
以上对本发明实施例所提供的标定方法、标定设备、稳定器及计算机可读存储介质进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想,本说明书内容不应理解为对本发明的限制。同时,对于本领域的一般技术人员,依据本发明的思想,可以在具体实施方式及应用范围上做出任何修改、等同替换或改进等,其均应包含在本发明的权利要求书的范围之内。The calibration method, calibration equipment, stabilizer, and computer-readable storage medium provided by the embodiments of the present invention have been described in detail above. Specific examples are used in this article to illustrate the principles and implementation of the present invention. The description of the above embodiments It is only used to help understand the method and core idea of the present invention, and the content of this specification should not be construed as a limitation to the present invention. At the same time, for those of ordinary skill in the art, based on the ideas of the present invention, any modification, equivalent replacement or improvement, etc. can be made in the specific implementation and the scope of application, which shall be included in the scope of the claims of the present invention. Inside.

Claims (68)

  1. 一种标定方法,其特征在于:其包括:A calibration method is characterized in that it includes:
    获取惯性传感器的当前测量信息;Obtain the current measurement information of the inertial sensor;
    根据所述惯性传感器的当前测量信息,确定所述惯性传感器所搭载的平台的当前姿态是否异常;以及According to the current measurement information of the inertial sensor, determine whether the current attitude of the platform on which the inertial sensor is mounted is abnormal; and
    若所述平台的当前姿态异常,则自动对所述惯性传感器进行标定。If the current attitude of the platform is abnormal, the inertial sensor is automatically calibrated.
  2. 如权利要求1所述的标定方法,其特征在于:所述确定惯性传感器所搭载的平台的当前姿态是否异常包括:The calibration method according to claim 1, wherein the determining whether the current attitude of the platform mounted on the inertial sensor is abnormal comprises:
    确定所述惯性传感器所搭载的平台的当前姿态与其理想姿态在重力方向上的偏差角度,基于所述偏差角度来确定所述平台的当前姿态是否异常。Determine the deviation angle between the current posture of the platform mounted on the inertial sensor and its ideal posture in the direction of gravity, and determine whether the current posture of the platform is abnormal based on the deviation angle.
  3. 如权利要求2所述的标定方法,其特征在于:在所述偏差角度大于或等于预设的角度阈值时,确定所述平台的当前姿态异常。The calibration method according to claim 2, wherein when the deviation angle is greater than or equal to a preset angle threshold, it is determined that the current attitude of the platform is abnormal.
  4. 如权利要求2所述的标定方法,其特征在于:在所述偏差角度小于所述预设的角度阈值时,确定所述平台的当前姿态正常。The calibration method according to claim 2, wherein when the deviation angle is less than the preset angle threshold, it is determined that the current posture of the platform is normal.
  5. 如权利要求2所述的标定方法,其特征在于:所述确定惯性传感器所搭载的平台的当前姿态与其理想姿态在重力方向上的偏差角度包括:The calibration method according to claim 2, wherein the determining the deviation angle of the current attitude of the platform mounted on the inertial sensor from its ideal attitude in the direction of gravity comprises:
    获得所述惯性传感器中的加速度计的测量值;Obtaining the measured value of the accelerometer in the inertial sensor;
    确定重力加速度的估计值;及Determine the estimated value of gravitational acceleration; and
    基于所述加速度计的测量值和所述重力加速度的估计值来计算所述平台的当前姿态与其理想姿态在重力方向上的所述偏差角度。The deviation angle between the current attitude of the platform and its ideal attitude in the direction of gravity is calculated based on the measured value of the accelerometer and the estimated value of the acceleration of gravity.
  6. 如权利要求5所述的标定方法,其特征在于:所述确定重力加速度的估计值包括确定在机体坐标系下的重力加速度的估计值。The calibration method according to claim 5, wherein said determining the estimated value of gravitational acceleration comprises determining the estimated value of gravitational acceleration in the body coordinate system.
  7. 如权利要求6所述的标定方法,其特征在于:所述确定在机体坐标系下的重力加速度的估计值还包括:7. The calibration method according to claim 6, wherein said determining the estimated value of the acceleration of gravity in the body coordinate system further comprises:
    由所述惯性传感器的当前测量信息来确定所述平台当前姿态的旋转矩阵;及Determine the rotation matrix of the current attitude of the platform from the current measurement information of the inertial sensor; and
    基于所述平台当前姿态的旋转矩阵和大地坐标系下的重力加速度来计算在所述机体坐标系下的重力加速度的估计值。The estimated value of the gravity acceleration in the body coordinate system is calculated based on the rotation matrix of the current posture of the platform and the gravity acceleration in the geodetic coordinate system.
  8. 如权利要求5所述的标定方法,其特征在于:所述确定惯性传感器所搭载的平台的当前姿态与其理想姿态在重力方向上的偏差角度还包括:The calibration method of claim 5, wherein the determining the deviation angle of the current attitude of the platform mounted on the inertial sensor from its ideal attitude in the direction of gravity further comprises:
    对所述加速度计的测量值进行滤波,Filtering the measured value of the accelerometer,
    其中,基于滤波后的加速度计的测量值和所述重力加速度的估计值来计算所述平台的当前姿态与其理想姿态在重力方向上的偏差角度。Wherein, the deviation angle between the current attitude of the platform and its ideal attitude in the direction of gravity is calculated based on the measured value of the filtered accelerometer and the estimated value of the acceleration of gravity.
  9. 如权利要求1所述的标定方法,其特征在于:所述自动对所述惯性传感器进行标定包括自动对所述惯性传感器中的陀螺仪进行零偏标定。The calibration method according to claim 1, wherein said automatically calibrating said inertial sensor comprises automatically calibrating a gyroscope in said inertial sensor.
  10. 如权利要求9所述的标定方法,其特征在于:还包括:8. The calibration method of claim 9, further comprising:
    获取所述陀螺仪前一时刻的零偏标定值;Acquiring the zero-bias calibration value of the gyroscope at the previous moment;
    其中,所述自动对陀螺仪进行零偏标定包括基于所述陀螺仪前一时刻的零偏标定值来补偿所述陀螺仪当前时刻的输出值以对所述陀螺仪进行零偏标定。Wherein, the automatic zero-bias calibration of the gyroscope includes compensating the output value of the gyroscope at the current time based on the zero-bias calibration value of the gyroscope at the previous time to perform the zero-bias calibration on the gyroscope.
  11. 如权利要求10所述的标定方法,其特征在于:所述获取所述陀螺仪前一时刻的零偏标定值包括:The calibration method according to claim 10, wherein said obtaining the zero offset calibration value of the gyroscope at a previous moment comprises:
    获得所述陀螺仪前一时刻的输出值和所述惯性传感器中的加速度计前一时刻的测量值;及Obtaining the output value of the gyroscope at the previous time and the measurement value of the accelerometer in the inertial sensor at the previous time; and
    基于所述陀螺仪前一时刻的输出值和所述加速度计前一时刻的测量值计算所述陀螺仪前一时刻的零偏标定值。The zero offset calibration value of the gyroscope at the previous time is calculated based on the output value of the gyroscope at the previous time and the measured value of the accelerometer at the previous time.
  12. 如权利要求10或11所述的标定方法,其特征在于:所述陀螺仪的输出值为所述陀螺仪的经出厂标定补偿后的输出值。The calibration method according to claim 10 or 11, wherein the output value of the gyroscope is the output value of the gyroscope after factory calibration compensation.
  13. 如权利要求1所述的标定方法,其特征在于:其还包括:The calibration method according to claim 1, characterized in that it further comprises:
    检测所述惯性传感器所搭载的平台是否处于静止状态,Detect whether the platform mounted on the inertial sensor is in a static state,
    其中,在所述平台处于静止状态时,对所述惯性传感器进行标定。Wherein, when the platform is in a stationary state, the inertial sensor is calibrated.
  14. 如权利要求13所述的标定方法,其特征在于:在所述平台处于非静止状态时,则退出所述标定。The calibration method of claim 13, wherein when the platform is in a non-stationary state, the calibration is exited.
  15. 如权利要求14所述的标定方法,其特征在于:在所述平台处于非静止状态时,则给用户提供相应的报警信号。The calibration method of claim 14, wherein when the platform is in a non-stationary state, a corresponding alarm signal is provided to the user.
  16. 如权利要求13所述的标定方法,其特征在于:所述检测平台是否处于静止状态包括:The calibration method according to claim 13, wherein said detecting whether the platform is in a stationary state comprises:
    获得在给定的时间间隔内不同时刻的所述加速度计的采样值;Obtaining sampling values of the accelerometer at different times within a given time interval;
    基于所述加速度计的采样值计算所述加速度计的方差;Calculating the variance of the accelerometer based on the sampling value of the accelerometer;
    基于所述加速度计的方差确定所述平台是否处于静止状态。Determine whether the platform is at rest based on the variance of the accelerometer.
  17. 如权利要求16所述的标定方法,其特征在于:所述加速度计的采样值包括所述加速度计分别在x、y、z轴上的采样值。The calibration method of claim 16, wherein the sampling value of the accelerometer includes the sampling value of the accelerometer on the x, y, and z axes, respectively.
  18. 如权利要求16所述的标定方法,其特征在于:在所述加速度计的方差小于给定的方差阈值时,确定所述平台处于静止状态。The calibration method according to claim 16, wherein when the variance of the accelerometer is less than a given variance threshold, it is determined that the platform is in a stationary state.
  19. 如权利要求16所述的标定方法,其特征在于:在所述加速度计的方差大于或等于所述给定的方差阈值时,确定所述平台处于非静止状态。The calibration method according to claim 16, characterized in that: when the variance of the accelerometer is greater than or equal to the given variance threshold, it is determined that the platform is in a non-stationary state.
  20. 如权利要求1所述的标定方法,其特征在于:所述惯性传感器位于手持云台中,所述方法还包括:The calibration method of claim 1, wherein the inertial sensor is located in a handheld pan/tilt, and the method further comprises:
    对所述手持云台进行控制参数自整定,Self-tuning the control parameters of the handheld PTZ,
    其中,在对所述手持云台进行控制参数自整定之后,开始获取所述惯性传感器的当前测量信息。Wherein, after self-tuning the control parameters of the handheld pan/tilt, it starts to acquire the current measurement information of the inertial sensor.
  21. 如权利要求20所述的标定方法,其特征在于:所述惯性传感器所搭载的平台为相机,所述对手持云台进行控制参数自整定包括:22. The calibration method of claim 20, wherein the platform mounted on the inertial sensor is a camera, and the self-tuning of the control parameters of the handheld PTZ comprises:
    基于所述手持云台所搭载的相机来调整所述手持云台的控制参数的配置。The configuration of the control parameters of the handheld PTZ is adjusted based on the camera mounted on the handheld PTZ.
  22. 如权利要求21所述的标定方法,其特征在于:所述基于相机来调整所述手持云台的控制参数的配置包括:The calibration method according to claim 21, wherein the configuration of adjusting the control parameters of the handheld PTZ based on the camera comprises:
    对所述手持云台和所述相机的组合的频域模型参数进行辨识;Identifying the frequency domain model parameters of the combination of the handheld PTZ and the camera;
    根据辨识得到的模型来调整所述手持云台的控制参数的配置。The configuration of the control parameters of the handheld pan/tilt head is adjusted according to the identified model.
  23. 如权利要求20所述的标定方法,其特征在于:所述对手持云台 进行控制参数自整定包括:The calibration method according to claim 20, wherein the self-tuning of the control parameters of the handheld PTZ comprises:
    获取用户对所述手持云台的按键的操作,以触发所述控制参数自整定。Obtain the user's operation on the keys of the handheld pan/tilt head to trigger the control parameter self-tuning.
  24. 一种标定设备,其特征在于,其包括一个或多个处理器,所述一个或多个处理器单独地或共同地工作,用于执行:A calibration device, characterized in that it comprises one or more processors, and the one or more processors work individually or collectively for executing:
    获取惯性传感器的当前测量信息;Obtain the current measurement information of the inertial sensor;
    根据所述惯性传感器的当前测量信息,确定所述惯性传感器所搭载的平台的当前姿态是否异常;以及According to the current measurement information of the inertial sensor, determine whether the current attitude of the platform on which the inertial sensor is mounted is abnormal; and
    若所述平台的当前姿态异常,则自动对所述惯性传感器进行标定。If the current attitude of the platform is abnormal, the inertial sensor is automatically calibrated.
  25. 如权利要求24所述的标定设备,其特征在于:所述一个或多个处理器单独地或共同地工作,用于执行:确定所述惯性传感器所搭载的平台的当前姿态与其理想姿态在重力方向上的偏差角度,基于所述偏差角度来确定所述平台的当前姿态是否异常。The calibration device of claim 24, wherein the one or more processors work individually or collectively to perform: determining the current attitude of the platform on which the inertial sensor is mounted and its ideal attitude in gravity The deviation angle in the direction is used to determine whether the current posture of the platform is abnormal based on the deviation angle.
  26. 如权利要求25所述的标定设备,其特征在于:在所述偏差角度大于或等于预设的角度阈值时,确定所述平台的当前姿态异常。The calibration device according to claim 25, wherein when the deviation angle is greater than or equal to a preset angle threshold, it is determined that the current attitude of the platform is abnormal.
  27. 如权利要求25所述的标定设备,其特征在于:在所述偏差角度小于所述预设的角度阈值时,确定所述平台的当前姿态正常。The calibration device according to claim 25, wherein when the deviation angle is less than the preset angle threshold, it is determined that the current posture of the platform is normal.
  28. 如权利要求25所述的标定设备,其特征在于:所述一个或多个处理器单独地或共同地工作,用于执行:The calibration device according to claim 25, characterized in that: the one or more processors work individually or collectively to execute:
    获得所述惯性传感器中的加速度计的测量值;Obtaining the measured value of the accelerometer in the inertial sensor;
    确定重力加速度的估计值;及Determine the estimated value of gravitational acceleration; and
    基于所述加速度计的测量值和所述重力加速度的估计值来计算所述平台的当前姿态与其理想姿态在重力方向上的所述偏差角度。The deviation angle between the current attitude of the platform and its ideal attitude in the direction of gravity is calculated based on the measured value of the accelerometer and the estimated value of the acceleration of gravity.
  29. 如权利要求28所述的标定设备,其特征在于:所述确定重力加速度的估计值包括确定在机体坐标系下的重力加速度的估计值。The calibration device according to claim 28, wherein said determining the estimated value of gravitational acceleration comprises determining the estimated value of gravitational acceleration in the body coordinate system.
  30. 如权利要求29所述的标定设备,其特征在于:所述一个或多个处理器单独地或共同地工作,用于执行:The calibration device according to claim 29, wherein the one or more processors work individually or collectively to execute:
    由所述惯性传感器的当前测量信息来确定所述平台当前姿态的旋转矩 阵;及Determine the rotation matrix of the current attitude of the platform from the current measurement information of the inertial sensor; and
    基于所述平台当前姿态的旋转矩阵和大地坐标系下的重力加速度来计算在所述机体坐标系下的重力加速度的估计值。The estimated value of the gravity acceleration in the body coordinate system is calculated based on the rotation matrix of the current posture of the platform and the gravity acceleration in the geodetic coordinate system.
  31. 如权利要求28所述的标定设备,其特征在于:所述一个或多个处理器单独地或共同地工作,还用于执行:The calibration device of claim 28, wherein the one or more processors work individually or collectively, and are also used to execute:
    对所述加速度计的测量值进行滤波,Filtering the measured value of the accelerometer,
    其中,基于滤波后的加速度计的测量值和所述重力加速度的估计值来计算所述平台的当前姿态与其理想姿态在重力方向上的偏差角度。Wherein, the deviation angle between the current attitude of the platform and its ideal attitude in the direction of gravity is calculated based on the measured value of the filtered accelerometer and the estimated value of the acceleration of gravity.
  32. 如权利要求24所述的标定设备,其特征在于:所述一个或多个处理器单独地或共同地工作,用于执行:自动对所述惯性传感器中的陀螺仪进行零偏标定。The calibration device according to claim 24, wherein the one or more processors work individually or collectively to execute: automatically perform zero-bias calibration of the gyroscope in the inertial sensor.
  33. 如权利要求32所述的标定设备,其特征在于:所述一个或多个处理器单独地或共同地工作,用于执行:The calibration device according to claim 32, wherein the one or more processors work individually or collectively to execute:
    获取所述陀螺仪前一时刻的零偏标定值;Acquiring the zero-bias calibration value of the gyroscope at the previous moment;
    基于所述陀螺仪前一时刻的零偏标定值来补偿所述陀螺仪当前时刻的输出值以对所述陀螺仪进行零偏标定。Compensating the output value of the gyroscope at the current time based on the zero-bias calibration value of the gyroscope at the previous time to perform the zero-bias calibration of the gyroscope.
  34. 如权利要求33所述的标定设备,其特征在于:所述一个或多个处理器单独地或共同地工作,用于执行:The calibration device according to claim 33, characterized in that: the one or more processors work individually or collectively to execute:
    获得所述陀螺仪前一时刻的输出值和所述惯性传感器中的加速度计前一时刻的测量值;及Obtaining the output value of the gyroscope at the previous time and the measurement value of the accelerometer in the inertial sensor at the previous time; and
    基于所述陀螺仪前一时刻的输出值和所述加速度计前一时刻的测量值计算所述陀螺仪前一时刻的零偏标定值。The zero offset calibration value of the gyroscope at the previous time is calculated based on the output value of the gyroscope at the previous time and the measured value of the accelerometer at the previous time.
  35. 如权利要求33或34所述的标定设备,其特征在于:所述陀螺仪的输出值为所述陀螺仪的经出厂标定补偿后的输出值。The calibration device according to claim 33 or 34, wherein the output value of the gyroscope is the output value of the gyroscope after factory calibration compensation.
  36. 如权利要求1所述的标定设备,其特征在于:所述一个或多个处理器单独地或共同地工作,还用于执行:The calibration device of claim 1, wherein the one or more processors work individually or collectively, and are also used to execute:
    检测所述惯性传感器所搭载的平台是否处于静止状态,Detect whether the platform mounted on the inertial sensor is in a static state,
    其中,在所述平台处于静止状态时,对所述惯性传感器进行标定。Wherein, when the platform is in a stationary state, the inertial sensor is calibrated.
  37. 如权利要求36所述的标定设备,其特征在于:所述一个或多个处理器单独地或共同地工作,还用于执行:在所述平台处于非静止状态时,则退出所述标定。The calibration device according to claim 36, wherein the one or more processors work individually or collectively, and are also used to execute: when the platform is in a non-stationary state, exit the calibration.
  38. 如权利要求37所述的标定设备,其特征在于:所述一个或多个处理器单独地或共同地工作,还用于执行:在所述平台处于非静止状态时,则给用户提供相应的报警信号。The calibration device according to claim 37, characterized in that: the one or more processors work individually or collectively, and are also used to execute: when the platform is in a non-stationary state, providing the user with corresponding Alarm.
  39. 如权利要求36所述的标定设备,其特征在于:所述一个或多个处理器单独地或共同地工作,用于执行:The calibration device according to claim 36, wherein the one or more processors work individually or collectively to execute:
    获得在给定的时间间隔内不同时刻的所述加速度计的采样值;Obtaining sampling values of the accelerometer at different times within a given time interval;
    基于所述加速度计的采样值计算所述加速度计的方差;Calculating the variance of the accelerometer based on the sampling value of the accelerometer;
    基于所述加速度计的方差确定所述平台是否处于静止状态。Determine whether the platform is at rest based on the variance of the accelerometer.
  40. 如权利要求39所述的标定设备,其特征在于:所述加速度计的采样值包括所述加速度计分别在x、y、z轴上的采样值。The calibration device according to claim 39, wherein the sampling value of the accelerometer includes the sampling value of the accelerometer on the x, y, and z axes, respectively.
  41. 如权利要求39所述的标定设备,其特征在于:所述一个或多个处理器单独地或共同地工作,用于执行:在所述加速度计的方差小于给定的方差阈值时,确定所述平台处于静止状态。The calibration device according to claim 39, wherein the one or more processors work individually or collectively to execute: when the variance of the accelerometer is less than a given variance threshold, determine The platform is in a static state.
  42. 如权利要求39所述的标定设备,其特征在于:所述一个或多个处理器单独地或共同地工作,用于执行:在所述加速度计的方差大于或等于所述给定的方差阈值时,确定所述平台处于非静止状态。The calibration device of claim 39, wherein the one or more processors work individually or collectively to execute: when the variance of the accelerometer is greater than or equal to the given variance threshold When it is determined that the platform is in a non-stationary state.
  43. 如权利要求24所述的标定设备,其特征在于:所述惯性传感器位于手持云台中,所述一个或多个处理器单独地或共同地工作,用于执行:The calibration device according to claim 24, wherein the inertial sensor is located in a hand-held pan/tilt, and the one or more processors work individually or collectively to execute:
    对所述手持云台进行控制参数自整定,Self-tuning the control parameters of the handheld PTZ,
    其中,在对所述手持云台进行控制参数自整定之后,开始获取所述惯性传感器的当前测量信息。Wherein, after self-tuning the control parameters of the handheld pan/tilt, it starts to acquire the current measurement information of the inertial sensor.
  44. 如权利要求43所述的标定设备,其特征在于:所述惯性传感器所搭载的平台为相机,所述一个或多个处理器单独地或共同地工作,用于执行:The calibration device of claim 43, wherein the platform on which the inertial sensor is mounted is a camera, and the one or more processors work individually or collectively for executing:
    基于所述手持云台所搭载的相机来调整所述手持云台的控制参数的配置。The configuration of the control parameters of the handheld PTZ is adjusted based on the camera mounted on the handheld PTZ.
  45. 如权利要求44所述的标定设备,其特征在于:所述一个或多个处理器单独地或共同地工作,用于执行:The calibration device of claim 44, wherein the one or more processors work individually or collectively to execute:
    对所述手持云台和所述相机的组合的频域模型参数进行辨识;Identifying the frequency domain model parameters of the combination of the handheld PTZ and the camera;
    根据辨识得到的模型来调整所述手持云台的控制参数的配置。The configuration of the control parameters of the handheld pan/tilt head is adjusted according to the identified model.
  46. 如权利要求43所述的标定设备,其特征在于,所述一个或多个处理器单独地或共同地工作,用于执行:The calibration device of claim 43, wherein the one or more processors work individually or collectively to execute:
    获取用户对所述手持云台的按键的操作,以触发所述控制参数自整定。Obtain the user's operation on the keys of the handheld pan/tilt head to trigger the control parameter self-tuning.
  47. 一种标定设备,其特征在于:包括:A calibration equipment, which is characterized in that it comprises:
    测量信息获取装置,其被配置为获取惯性传感器的当前测量信息;A measurement information acquisition device, which is configured to acquire current measurement information of the inertial sensor;
    确定装置,其被配置为根据所述惯性传感器的当前测量信息,确定所述惯性传感器所搭载的平台的当前姿态是否异常;以及A determining device, which is configured to determine whether the current attitude of the platform on which the inertial sensor is mounted is abnormal according to the current measurement information of the inertial sensor; and
    标定装置,其被配置为若所述平台的当前姿态异常,则自动对所述惯性传感器进行标定。The calibration device is configured to automatically calibrate the inertial sensor if the current attitude of the platform is abnormal.
  48. 如权利要求47所述的标定设备,其特征在于:所述确定装置被配置为:The calibration device according to claim 47, wherein the determining device is configured to:
    确定所述平台的当前姿态与其理想姿态在重力方向上的偏差角度,基于所述偏差角度来确定所述平台的当前姿态是否异常。Determine the deviation angle between the current posture of the platform and its ideal posture in the direction of gravity, and determine whether the current posture of the platform is abnormal based on the deviation angle.
  49. 如权利要求48所述的标定设备,其特征在于:在所述偏差角度大于或等于预设的角度阈值时,确定所述平台的当前姿态异常。The calibration device of claim 48, wherein when the deviation angle is greater than or equal to a preset angle threshold, it is determined that the current attitude of the platform is abnormal.
  50. 如权利要求48所述的标定设备,其特征在于:在所述偏差角度小于所述预设的角度阈值时,确定所述平台的当前姿态正常。The calibration device according to claim 48, wherein when the deviation angle is less than the preset angle threshold, it is determined that the current posture of the platform is normal.
  51. 如权利要求48所述的标定设备,其特征在于:所述确定装置进一步被配置为:The calibration device of claim 48, wherein the determining device is further configured to:
    确定重力加速度的估计值;及Determine the estimated value of gravitational acceleration; and
    基于所述惯性传感器中的加速度计的测量值和所述重力加速度的估计 值来确定所述平台的当前姿态与其理想姿态在重力方向上的所述偏差角度。The deviation angle between the current attitude of the platform and its ideal attitude in the direction of gravity is determined based on the measured value of the accelerometer in the inertial sensor and the estimated value of the acceleration of gravity.
  52. 如权利要求51所述的标定设备,其特征在于:所述重力加速度的估计值为在机体坐标系下的重力加速度的估计值。The calibration device according to claim 51, wherein the estimated value of the acceleration of gravity is an estimated value of the acceleration of gravity in the body coordinate system.
  53. 如权利要求51所述的标定设备,其特征在于:其还包括:The calibration equipment according to claim 51, characterized in that it further comprises:
    滤波装置,其用于对所述加速度计的测量值进行滤波,A filtering device, which is used to filter the measured value of the accelerometer,
    其中,所述确定装置被配置为基于滤波后的加速度计的测量值和所述重力加速度的估计值来确定所述平台的当前姿态与其理想姿态在重力方向上的偏差角度。Wherein, the determining device is configured to determine the deviation angle of the current attitude of the platform from its ideal attitude in the direction of gravity based on the measured value of the filtered accelerometer and the estimated value of the acceleration of gravity.
  54. 如权利要求47所述的标定设备,其特征在于:所述标定装置被配置为:自动对所述惯性传感器中的陀螺仪进行零偏标定。The calibration device according to claim 47, wherein the calibration device is configured to automatically calibrate the gyroscope in the inertial sensor.
  55. 如权利要求54所述的标定设备,其特征在于:所述标定装置进一步被配置为:获取所述陀螺仪前一时刻的零偏标定值,并基于所述陀螺仪前一时刻的零偏标定值来补偿所述陀螺仪当前时刻的输出值以对所述陀螺仪进行零偏标定。The calibration device according to claim 54, wherein the calibration device is further configured to: obtain the zero-bias calibration value of the gyroscope at the previous time, and calibrate it based on the zero-bias calibration value of the gyroscope at the previous time Value to compensate the output value of the gyroscope at the current moment to calibrate the gyroscope.
  56. 如权利要求55所述的标定设备,其特征在于:其还包括:The calibration device according to claim 55, characterized in that it further comprises:
    计算装置,其被配置为获得所述陀螺仪前一时刻的输出值和所述惯性传感器中的加速度计前一时刻的测量值,并基于所述陀螺仪前一时刻的输出值来计算所述陀螺仪前一时刻的零偏标定值。A calculation device configured to obtain the output value of the gyroscope at the previous time and the measured value of the accelerometer in the inertial sensor at the previous time, and calculate the output value of the gyroscope at the previous time The zero offset calibration value of the gyroscope at the previous moment.
  57. 如权利要求55或56所述的标定设备,其特征在于:所述陀螺仪当前时刻的输出值为所述陀螺仪的经出厂标定补偿后当前时刻的输出值。The calibration device according to claim 55 or 56, wherein the output value of the gyroscope at the current time is the output value of the gyroscope at the current time after factory calibration compensation.
  58. 如权利要求47所述的标定设备,其特征在于:其还包括:The calibration device according to claim 47, which further comprises:
    静止检测装置,其被配置为检测所述惯性传感器所搭载的平台是否处于静止状态,A stationary detection device configured to detect whether the platform mounted on the inertial sensor is in a stationary state,
    其中,在所述平台处于静止状态时,所述标定装置对所述惯性传感器进行标定。Wherein, when the platform is in a stationary state, the calibration device calibrates the inertial sensor.
  59. 如权利要求58所述的标定设备,其特征在于:所述静止检测装置进一步被配置为:The calibration device according to claim 58, wherein the static detection device is further configured to:
    基于在给定的时间间隔内不同时刻的所述加速度计的采样值来计算所述加速度计的方差;Calculating the variance of the accelerometer based on the sampled values of the accelerometer at different moments in a given time interval;
    基于所述加速度计的方差确定所述平台是否处于静止状态。Determine whether the platform is at rest based on the variance of the accelerometer.
  60. 如权利要求59所述的标定设备,其特征在于:所述加速度计的采样值包括所述加速度计分别在x、y、z轴上的采样值。The calibration device of claim 59, wherein the sampling value of the accelerometer includes the sampling value of the accelerometer on the x, y, and z axes, respectively.
  61. 如权利要求59所述的标定设备,其特征在于:所述静止检测装置被配置为:在所述加速度计的方差小于给定的方差阈值时,确定所述平台处于静止状态。The calibration device according to claim 59, wherein the static detection device is configured to determine that the platform is in a static state when the variance of the accelerometer is less than a given variance threshold.
  62. 如权利要求59所述的标定设备,其特征在于:所述静止检测装置被配置为:在所述加速度计的方差大于或等于所述给定的方差阈值时,确定所述平台处于非静止状态。The calibration device according to claim 59, wherein the static detection device is configured to determine that the platform is in a non-stationary state when the variance of the accelerometer is greater than or equal to the given variance threshold .
  63. 一种稳定器,其特征在于:其包括:A stabilizer, characterized in that it comprises:
    惯性传感器,其包括陀螺仪和加速度计;及Inertial sensors, which include gyroscopes and accelerometers; and
    如权利要求47至62中任一项所述的标定设备,其用于对所述惯性传感器进行标定。The calibration device according to any one of claims 47 to 62, which is used to calibrate the inertial sensor.
  64. 如权利要求63所述的稳定器,其特征在于:所述稳定器包括如下至少一种:手持云台、无人飞行器、云台车。The stabilizer according to claim 63, wherein the stabilizer includes at least one of the following: a handheld pan/tilt, an unmanned aerial vehicle, and a pan/tilt cart.
  65. 如权利要求64所述的稳定器,其特征在于:所述稳定器为手持云台,其还包括:The stabilizer according to claim 64, wherein the stabilizer is a handheld pan/tilt, which further comprises:
    控制参数自整定装置,其被配置为对所述手持云台的控制器进行控制参数自整定,A control parameter self-tuning device, which is configured to perform control parameter self-tuning on the controller of the handheld PTZ,
    其中,在对所述手持云台的控制器进行控制参数自整定之后,所述测量信息获取装置被配置为开始获取所述惯性传感器的当前测量信息。Wherein, after auto-tuning the control parameters of the controller of the handheld pan/tilt, the measurement information acquisition device is configured to start acquiring the current measurement information of the inertial sensor.
  66. 如权利要求65所述的稳定器,其特征在于:所述惯性传感器所搭载的平台为相机,所述控制参数自整定装置被配置为:The stabilizer of claim 65, wherein the platform on which the inertial sensor is mounted is a camera, and the control parameter self-tuning device is configured as:
    基于所述手持云台所搭载的相机来调整所述手持云台的控制器的控制参数的配置。The configuration of the control parameters of the controller of the handheld PTZ is adjusted based on the camera mounted on the handheld PTZ.
  67. 如权利要求66所述的稳定器,其特征在于:所述控制参数自整定装置进一步被配置为:The stabilizer of claim 66, wherein the control parameter self-tuning device is further configured to:
    对所述手持云台和所述相机的组合的频域模型参数进行辨识;Identifying the frequency domain model parameters of the combination of the handheld PTZ and the camera;
    根据辨识得到的模型来调整所述手持云台的控制器的控制参数的配置。The configuration of the control parameters of the controller of the handheld pan/tilt head is adjusted according to the identified model.
  68. 一种计算机可读存储介质,其上存储有可执行的指令,其特征在于:当所述可执行的指令被处理器执行时实现如权利要求1至23中任一项所述的标定方法的步骤。A computer-readable storage medium having executable instructions stored thereon, characterized in that: when the executable instructions are executed by a processor, the calibration method according to any one of claims 1 to 23 is implemented step.
PCT/CN2019/093489 2019-06-28 2019-06-28 Calibration method, calibration device, stabilizer and computer readable storage medium WO2020258198A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/093489 WO2020258198A1 (en) 2019-06-28 2019-06-28 Calibration method, calibration device, stabilizer and computer readable storage medium
CN201980011569.9A CN111712688A (en) 2019-06-28 2019-06-28 Calibration method, calibration apparatus, stabilizer, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/093489 WO2020258198A1 (en) 2019-06-28 2019-06-28 Calibration method, calibration device, stabilizer and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2020258198A1 true WO2020258198A1 (en) 2020-12-30

Family

ID=72536799

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/093489 WO2020258198A1 (en) 2019-06-28 2019-06-28 Calibration method, calibration device, stabilizer and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN111712688A (en)
WO (1) WO2020258198A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112378398B (en) * 2020-11-12 2023-03-17 展讯通信(上海)有限公司 Method, device and equipment for determining attitude of terminal equipment
WO2022110034A1 (en) * 2020-11-27 2022-06-02 深圳市大疆创新科技有限公司 Gimbal control method and device, gimbal, and mobile platform
CN113008291A (en) * 2021-03-15 2021-06-22 北京信息科技大学 Data generation method and device, storage medium and electronic device
CN113163115B (en) * 2021-04-02 2023-05-26 桂林智神信息技术股份有限公司 Stability increasing method, stability increasing device, computer readable medium and electronic equipment
CN113049007B (en) * 2021-04-12 2024-05-24 知行汽车科技(苏州)股份有限公司 Dynamic offset updating method capable of closing inertial sensor
CN113805161B (en) * 2021-09-14 2024-05-03 广州文远知行科技有限公司 Ultrasonic sensor calibration method, system, control equipment and storage medium
CN114034318A (en) * 2021-11-23 2022-02-11 歌尔科技有限公司 Sound box calibration control method, device, equipment and readable storage medium
CN114034320A (en) * 2021-11-23 2022-02-11 歌尔科技有限公司 Sound box calibration control method, device, equipment and readable storage medium
CN114034319A (en) * 2021-11-23 2022-02-11 歌尔科技有限公司 Sound box calibration control method, device, equipment and readable storage medium
CN114252100B (en) * 2021-12-16 2023-04-28 成都鹏业软件股份有限公司 Online calibration method, device, equipment and storage medium for sensor
CN116718196B (en) * 2023-08-09 2023-10-20 腾讯科技(深圳)有限公司 Navigation method, device, equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7359816B2 (en) * 2005-05-25 2008-04-15 Analog Devices, Inc. Sensor calibration method and apparatus
CN101949710A (en) * 2010-07-28 2011-01-19 北京泰豪联星技术有限公司 Rapid online dynamic calibration method for zero offset of GNSS (Global Navigation Satellite System) auxiliary MEMS (Micro Electro Mechanical Systems) inertial sensor
CN102822626A (en) * 2010-03-30 2012-12-12 苹果公司 Determining heading using magnetometer data and angular rate data
US20170089948A1 (en) * 2011-11-04 2017-03-30 Google Inc. Calibrating Intertial Sensors Using an Image Sensor
CN108663067A (en) * 2017-03-30 2018-10-16 杭州维圣智能科技有限公司 A kind of adaptive calibration method and system of motion sensor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105698792A (en) * 2016-01-26 2016-06-22 上海实汇机电科技有限公司 Dynamic MEMS (micro-electromechanical systems) inertial attitude measuring system based on self-adaptive robust integration algorithm
CN106441301A (en) * 2016-09-19 2017-02-22 北京机械设备研究所 Air vehicle launching initial parameter acquiring method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7359816B2 (en) * 2005-05-25 2008-04-15 Analog Devices, Inc. Sensor calibration method and apparatus
CN102822626A (en) * 2010-03-30 2012-12-12 苹果公司 Determining heading using magnetometer data and angular rate data
CN101949710A (en) * 2010-07-28 2011-01-19 北京泰豪联星技术有限公司 Rapid online dynamic calibration method for zero offset of GNSS (Global Navigation Satellite System) auxiliary MEMS (Micro Electro Mechanical Systems) inertial sensor
US20170089948A1 (en) * 2011-11-04 2017-03-30 Google Inc. Calibrating Intertial Sensors Using an Image Sensor
CN108663067A (en) * 2017-03-30 2018-10-16 杭州维圣智能科技有限公司 A kind of adaptive calibration method and system of motion sensor

Also Published As

Publication number Publication date
CN111712688A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
WO2020258198A1 (en) Calibration method, calibration device, stabilizer and computer readable storage medium
US20150285835A1 (en) Systems and methods for sensor calibration
Tedaldi et al. A robust and easy to implement method for IMU calibration without external equipments
Hyyti et al. A DCM Based Attitude Estimation Algorithm for Low‐Cost MEMS IMUs
Michel et al. On attitude estimation with smartphones
CN109696183A (en) The scaling method and device of Inertial Measurement Unit
CN105675015B (en) A kind of automatic removing method of micro-mechanical gyroscope zero bias
KR20140025319A (en) Apparatuses and methods for dynamic tracking and compensation of magnetic near field
CN106153069B (en) Attitude rectification device and method in autonomous navigation system
Ghasemi‐Moghadam et al. Attitude determination by combining arrays of MEMS accelerometers, gyros, and magnetometers via quaternion‐based complementary filter
CN108731676B (en) Attitude fusion enhanced measurement method and system based on inertial navigation technology
US20170227566A1 (en) Inertial measurement unit
Hoang et al. A new technique on vibration optimization of industrial inclinometer for MEMS accelerometer without sensor fusion
TW201833557A (en) Determination of a spatial orientation
CN107402022A (en) A kind of accelerometer calibration method and device of stable head
CN111638386A (en) Gravity field-based accelerometer scale factor nonlinearity testing method
JP2011209001A (en) Calibration data acquisition method, acceleration sensor output correction method, and calibration data acquisition system
WO2022222938A1 (en) Motion state monitoring-based adaptive horizontal attitude measurement method
KR102292162B1 (en) Gyroscope filtering device and method thereof
JP2012037405A (en) Sensor device, electronic apparatus, and offset correction method of angular velocity sensor
CN107356786B (en) Method and device for calibrating accelerometer and computer-readable storage medium
CN114964214B (en) Extended Kalman filtering attitude calculation method of attitude heading reference system
CN110954103B (en) Method and system for estimating dynamic attitude of vehicle body based on MEMS sensor
CN109674480B (en) Human motion attitude calculation method based on improved complementary filtering
JP6999542B2 (en) Systems and methods for measuring using portable electronic devices

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

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

Country of ref document: EP

Kind code of ref document: A1