WO2021142789A1 - Angular velocity measurement mechanism, method and apparatus, and movable platform and storage medium - Google Patents

Angular velocity measurement mechanism, method and apparatus, and movable platform and storage medium Download PDF

Info

Publication number
WO2021142789A1
WO2021142789A1 PCT/CN2020/072826 CN2020072826W WO2021142789A1 WO 2021142789 A1 WO2021142789 A1 WO 2021142789A1 CN 2020072826 W CN2020072826 W CN 2020072826W WO 2021142789 A1 WO2021142789 A1 WO 2021142789A1
Authority
WO
WIPO (PCT)
Prior art keywords
detected
preset
angular velocity
axis
axis direction
Prior art date
Application number
PCT/CN2020/072826
Other languages
French (fr)
Chinese (zh)
Inventor
岳哲
陈子寒
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2020/072826 priority Critical patent/WO2021142789A1/en
Priority to CN202080002862.1A priority patent/CN112204405A/en
Publication of WO2021142789A1 publication Critical patent/WO2021142789A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P3/00Measuring linear or angular speed; Measuring differences of linear or angular speeds
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
    • G01C21/18Stabilised platforms, e.g. by gyroscope

Definitions

  • the embodiments of the present invention relate to the technical field of data processing, and in particular, to an angular velocity measurement mechanism, method, device, movable platform, and storage medium.
  • PTZ can assist in professional shooting
  • drones can assist in power inspections, agricultural irrigation, and professional aerial photography.
  • a gyroscope is usually used to measure the angular velocity of the movable platform, and then the angular velocity is provided as feedback information to the closed-loop motion control system to realize the control of the Human-machine motion control.
  • the noise of the angular velocity will directly affect the performance of the closed-loop motion control system. And, the greater the noise, the greater the control error, and the worse the control performance.
  • the embodiments of the present invention provide an angular velocity measurement mechanism, method, device, movable platform, and storage medium, which are used to solve the problem of noise in the acquired angular velocity in the prior art, which will increase the operation control process based on the angular velocity. The resulting error reduces the problem of control performance.
  • the first aspect of the present invention is to provide an angular velocity measuring mechanism, including:
  • the gyroscope component is arranged on the object to be detected and used to measure the first angular velocity of the object to be detected in a preset direction;
  • a plurality of accelerometers distributed at different positions of the object to be detected, and used to measure the linear acceleration of the object to be detected in at least one direction at different positions;
  • the processor is in communication connection with the gyroscope component and a plurality of the accelerometers, and is used to obtain the first angular velocity of the object to be detected in a preset direction and at least one direction of the object to be detected in different positions According to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions, it is determined that the object to be detected is in the preset direction The target angular velocity.
  • the second aspect of the present invention is to provide an angular velocity measuring mechanism, including:
  • the gyroscope component is set on the object to be detected
  • the gyroscope component and a plurality of accelerometers are used to cooperate to determine the target angular velocity of the object to be detected in a preset direction.
  • the third aspect of the present invention is to provide an angular velocity measurement method, including:
  • the target angular velocity of the object to be detected in the preset direction is determined according to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions.
  • the fourth aspect of the present invention is to provide an angular velocity measuring device, including:
  • Memory used to store computer programs
  • the processor is configured to run a computer program stored in the memory to realize:
  • the target angular velocity of the object to be detected in the preset direction is determined according to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions.
  • the fifth aspect of the present invention is to provide a computer-readable storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used in the third aspect.
  • the sixth aspect of the present invention is to provide a photographing device, including:
  • the angular velocity measuring mechanism according to the first aspect or the second aspect is mounted on the main body of the device.
  • the seventh aspect of the present invention is to provide a pan-tilt, including:
  • the photographing device is arranged on the main body of the pan/tilt.
  • the eighth aspect of the present invention is to provide a photographing device, including:
  • the angular velocity measuring device described in the fourth aspect is mounted on the main body of the device.
  • the ninth aspect of the present invention is to provide a pan-tilt, including:
  • the photographing device described in the eighth aspect is arranged on the main body of the pan/tilt head.
  • the tenth aspect of the present invention is to provide a movable platform, including:
  • the angular velocity measuring mechanism according to the first aspect or the second aspect is installed on the platform main body.
  • the eleventh aspect of the present invention is to provide a movable platform, including:
  • the angular velocity measuring device described in the fourth aspect is installed on the main body of the platform.
  • the first angular velocity of the object to be detected in a preset direction is obtained through a gyroscope component, and the object to be detected is obtained in different directions through multiple accelerometers.
  • the linear acceleration in at least one direction at the position, and then the first angular velocity and linear acceleration are analyzed and processed by the processor to obtain the target angular velocity of the object to be detected in the preset direction, which effectively reduces the noise carried by the target angular velocity , Thereby reducing the control error of controlling the object to be detected based on the target angular velocity, and improving the stability and accuracy of the control of the object to be detected.
  • the angular velocity measurement mechanism is simple in structure, easy to implement, and low in cost, which further improves the practicability of the measurement mechanism.
  • Fig. 1 is a structural schematic diagram 1 of an angular velocity measuring mechanism provided by an embodiment of the present invention
  • Fig. 2 is a second structural diagram of an angular velocity measuring mechanism provided by an embodiment of the present invention.
  • FIG. 3 is a third structural diagram of an angular velocity measurement mechanism provided by an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of the distribution of multiple accelerometers provided by an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of an angular velocity measurement method provided by an embodiment of the present invention.
  • Fig. 6 is the determination of the object to be detected according to the first angular velocity of the object to be detected in a preset direction and the linear acceleration of the object to be detected in at least one direction at different positions provided in the embodiment of Fig. 5 Schematic diagram of the flow of the target angular velocity in the preset direction;
  • FIG. 7 is a schematic flowchart of determining the angular acceleration of the object to be detected in a preset direction according to the linear acceleration of the object to be detected in at least one direction at different positions provided in the embodiment of FIG. 6;
  • FIG. 8 is a schematic flowchart of another angular velocity measurement method provided by an embodiment of the present invention.
  • FIG. 9 is a process of determining the target angular velocity of the object to be detected in the preset direction according to the first angular velocity and the angular acceleration of the object to be detected in the preset direction provided by the embodiment of FIG. 6 Schematic diagram
  • FIG. 10 is a schematic flowchart of yet another method for measuring angular velocity according to an embodiment of the present invention.
  • FIG. 11 is a schematic flowchart of an angular velocity measurement method provided by an application embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of an angular velocity measurement device provided by an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a photographing device provided by an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of a pan-tilt according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of a movable platform provided by an embodiment of the present invention.
  • a gyroscope In the motion control of movable platforms such as unmanned aerial vehicles, unmanned vehicles, unmanned ships, and mobile robots, or in the control of the PTZ mounted on the movable platform (the PTZ is used to support the load, To achieve the effect of stabilization), it is usually necessary to use a gyroscope to measure the angular velocity of a movable platform or pan/tilt, and then provide the angular velocity as feedback information to the closed-loop motion control system to achieve motion control of the UAV or pan/tilt.
  • the angular velocity output by the gyroscope often contains noise
  • the closed-loop motion control system controls the motion of the drone or gimbal based on the angular velocity
  • the angular velocity noise will directly affect the performance of the closed-loop motion control system, and, The greater the noise, the greater the control error and the worse the control performance.
  • the cost of such a sensor is often higher and the volume is larger, which is not conducive to the arrangement or structural design of the sensor.
  • Fig. 1 is a structural schematic diagram 1 of an angular velocity measuring mechanism provided by an embodiment of the present invention; referring to Fig. 1, this embodiment provides an angular velocity measuring mechanism 100, which can greatly reduce the measured angular velocity The noise, thereby improving the accuracy of angular velocity measurement.
  • the measurement mechanism 100 may include:
  • the gyroscope assembly 101 is arranged on the object to be detected, and is used to measure the first angular velocity of the object to be detected in a preset direction;
  • a plurality of accelerometers 102 are distributed at different positions of the object to be detected, and are used to measure the linear acceleration of the object to be detected in at least one direction at different positions;
  • the processor 103 is in communication connection with the gyroscope assembly 101 and the multiple accelerometers 102, and is used to obtain the first angular velocity of the object to be detected in a preset direction and the linear acceleration of the object to be detected in at least one direction at different positions,
  • the target angular velocity of the object to be detected in the preset direction is determined according to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions.
  • the object to be detected can refer to any device that needs to detect angular velocity.
  • This embodiment does not limit the specific shape structure and structure type of the object to be detected.
  • Those skilled in the art can perform the detection of the object to be detected according to specific application scenarios and application requirements.
  • the object to be detected may refer to a camera, a camera set on a pan/tilt, a pan/tilt, a drone, an unmanned vehicle, an unmanned boat, etc.
  • the first angular velocity of the object to be detected in a preset direction can be measured by the gyroscope assembly 101 arranged on the object to be detected, where the preset direction includes at least one of the following: a preset X axis Direction, preset Y-axis direction, preset Z-axis direction.
  • a preset coordinate system can be established based on the object to be detected, and the preset coordinate system can include a preset X-axis direction, a preset Y-axis direction, and a preset Z-axis direction .
  • the first angular velocity of the object to be detected in the preset direction can be detected by the gyroscope component 101 arranged on the object to be detected.
  • this embodiment does not limit the specific shape and structure of the gyroscope assembly 101, and those skilled in the art can set the specific structure of the gyroscope assembly 101 according to specific application requirements and design requirements, and the obtained
  • the number of the first angular velocity can be one or more. For example, only the first angular velocity of the object to be detected in the preset X-axis direction can be measured; or, the object to be detected can also be measured in the preset X-axis direction. And the first angular velocity in the Y-axis direction and so on.
  • the gyroscope assembly 101 can be a three-axis gyroscope 101a.
  • the three-axis gyroscope 101a can detect the first angular velocity of the object to be detected in the three measurement directions, including the first angular velocity in the preset X-axis direction and the first angular velocity in the preset X-axis direction.
  • the gyroscope assembly 101 may also include three single-axis gyroscopes 101b, and each single-axis gyroscope 101b is used to obtain one measurement.
  • the first angular velocity in the direction when the preset direction includes three measurement directions, the gyroscope assembly 101 may also include three single-axis gyroscopes 101b, and each single-axis gyroscope 101b is used to obtain one measurement. The first angular velocity in the direction.
  • the gyroscope assembly 101 disposed on the object to be detected includes a single-axis gyroscope A, a single-axis gyroscope B, and a single-axis gyroscope C, where the single-axis gyroscope A can detect that the object to be detected is in a preset The first angular velocity in the X-axis direction, the single-axis gyroscope B can detect the first angular velocity of the object to be detected in the preset Y-axis direction, and the single-axis gyroscope C can detect the object to be detected in the preset Z-axis direction The first angular velocity.
  • the gyroscope assembly 101 includes three single-axis gyroscopes 101b, in order to ensure the consistency and accuracy of detecting the first angular velocity at the same position by the gyroscope assembly 101, the three single-axis gyroscopes 101b The distance between any two single-axis gyroscopes 101b is less than the preset threshold. It is simply understood that the three single-axis gyroscopes 101b can be located at the same position of the object to be detected as much as possible.
  • the gyroscope assembly 101 may also be a three-axis gyroscope 101a.
  • the three-axis gyroscope 101a can detect the object to be detected in three measurement directions.
  • the first angular velocity on the first angular velocity includes the first angular velocity in the preset X-axis direction, the first angular velocity in the preset Y-axis direction, and the first angular velocity in the preset Z-axis direction. Select the first angular velocity that needs data processing among the three measured first angular velocities.
  • the gyroscope assembly 101 may also be one or two single-axis gyroscopes 101b, and each single-axis gyroscope 101b is used to obtain the first angular velocity in one measurement direction. ; So as to effectively realize the accurate measurement of the first angular velocity.
  • multiple accelerometers 102 can be There are three.
  • the number of accelerometers 102 is not limited to the number defined in the figure, and it can also be four, five, six, seven, eight, nine, and so on.
  • Multiple accelerometers 102 can be distributed at different positions of the object to be detected, so as to measure the linear acceleration of the object to be detected in at least one direction at different positions. That is, multiple accelerometers 102 can measure the object to be detected in different positions.
  • the at least one direction includes at least one of the following: a preset X-axis direction, a preset Y-axis direction, and a preset Z-axis direction.
  • the multiple accelerometers 102 may measure the linear acceleration of the object to be detected in the preset X-axis direction at different positions; including the preset X-axis direction in at least one direction.
  • the multiple accelerometers 102 can measure the linear acceleration of the object to be detected in the preset X-axis direction and the preset Y-axis direction at different positions; at least one direction includes the preset X-axis direction and the preset Y-axis direction.
  • multiple accelerometers 102 can measure the preset X-axis direction and the preset Y-axis direction at different positions of the object to be detected. And the preset linear acceleration in the Z-axis direction.
  • the accelerometer 102 may include Three-axis accelerometer 102, the number of three-axis accelerometer 102 is three, and the three three-axis accelerometer 102 can be set at three different positions, used to measure at least the object to be detected at three different positions Linear acceleration in one direction.
  • position A As shown in Figure 4, three different positions including position A, position B, and position C are taken as examples for description. It can be understood that the above position A, position B, and position C are not limited to those identified in the above figure. Location, those skilled in the art can also set location A, location B, and location C in other locations according to specific application requirements and design requirements.
  • a three-axis accelerometer 102 can be set at each of the above-mentioned positions. At this time, the number of three-axis accelerometer 102 is three, so that The linear acceleration of the object to be detected in at least one direction at position A, position B, and position C is measured.
  • the positions of the multiple accelerometers 102 may form a preset plane.
  • the locations of multiple accelerometers 102 may form an isosceles triangle, or the locations of multiple accelerometers 102 may also form an equilateral triangle.
  • the preset plane and the coordinate plane in the coordinate system are parallel or perpendicular to each other.
  • a preset coordinate system can be established based on the photographing device, where the direction parallel or coincident with the optical axis can be the X-axis direction, and the direction parallel to the X-axis direction to the left can be The Y-axis direction and the vertical upward direction may be the Z-axis direction, and the position of the preset origin in the coordinate system may be changed as long as the above relationship is met.
  • the multiple accelerometers 102 are three three-axis accelerometers 102
  • the three three-axis accelerometers 102 can be arranged at three different positions on the camera, and the three different positions can be the shell of the camera. Three different positions on the body, as shown in Fig.
  • the position A, the position B and the position C where the three three-axis accelerometers 102 are located constitute a preset plane P, in which, Position A, position B, and position C can form an isosceles triangle or an equilateral triangle, and the aforementioned preset plane P can be parallel to the XY plane in the coordinate system, or it can also be considered that the preset plane P and the coordinates
  • the XZ planes in the system are perpendicular to each other.
  • the accelerometer 102 may also include a single-axis accelerometer 102.
  • the number of single-axis accelerometers 102 is nine.
  • the nine single-axis accelerometers 102 can also be set at three different positions for measurement.
  • every three single-axis accelerometers 102 can be set at the same position, and the positions of the nine single-axis accelerometers 102 form a preset plane.
  • the nine single-axis accelerometers 102 can be set at three different positions on the photographing device.
  • the three different positions can be three different positions on the housing of the camera. As shown in FIG.
  • position A, position B, and position C where the nine three-axis accelerometers 102 are located constitute a preset plane P, where , Three single-axis accelerometers 102 can be set at position A, and each single-axis accelerometer 102 can measure the linear acceleration of the object to be detected in one direction; similarly, three single-axis accelerometers can be set at position B 102, each single-axis accelerometer 102 can measure the linear acceleration of the object to be detected in one direction; three single-axis accelerometers 102 can be set at position C, and each single-axis accelerometer 102 can measure the object to be detected in one direction The linear acceleration on the surface.
  • the distance between any two single-axis accelerometers 102 among the three single-axis accelerometers 102 is less than the preset threshold, so that the three single-axis accelerometers 102
  • the axial accelerometer 102 can be located at the same position of the object to be detected as much as possible, thereby improving the accuracy and precision of acquiring the linear acceleration.
  • the positions set by the multiple accelerometers 102 are not limited to the three positions listed above, and may also be other positions.
  • multiple accelerometers 102 may be set on the object to be detected. 4 positions, 5 positions or 6 positions, etc., those skilled in the art can set according to specific application requirements and design requirements, as long as the positions of multiple accelerometers 102 can be ensured to form a regular shape as much as possible (for example: Square, rectangle, regular pentagon, regular hexagon, etc.), so as to analyze and process the linear acceleration obtained by the accelerometer 102.
  • the processor 103 After obtaining the first angular velocity of the object to be detected in the preset direction through the gyroscope component 101 and the multiple accelerometers 102 obtaining the linear acceleration of the object to be detected in at least one direction at different positions, the processor 103 The first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions can be acquired, and then the above-mentioned first angular velocity and linear acceleration can be analyzed and processed to determine the object to be detected. The target angular velocity of the object in the preset direction is detected, thereby effectively reducing the noise of the target angular velocity, thereby improving the accuracy and reliability of the target angular velocity acquisition. It should be noted that the preset direction in which the obtained target angular velocity is located is different or partially different from at least one direction in which the linear acceleration is located and the preset direction in which the first angular velocity is located.
  • the gyroscope assembly 101 and the multiple accelerometers 102 included in the angular velocity measurement mechanism 100 in the foregoing embodiment may be replaced by three inertial measurement units (IMUs).
  • the angular velocity measurement The mechanism 100 may include three IMUs and a processor 103, wherein the three IMUs are respectively connected to the processor 103 in communication, each IMU may include three single-axis accelerometers and three single-axis gyroscopes, and three IMUs It can be set at three different positions of the object to be detected to realize the measurement of the first angular velocity of the object to be detected in the preset direction by the single-axis gyroscope included in the IMU, and the single-axis accelerometer included in the IMU to measure the first angular velocity of the object to be detected.
  • the linear acceleration of the object in at least one direction at different positions is detected.
  • those skilled in the art can choose angular velocity measurement mechanisms 100 of different structures according to specific application requirements, as long as the angular velocity measurement mechanism 100 can ensure that the angular velocity measurement mechanism 100 can stably and effectively achieve angular velocity measurement, which will not be repeated here.
  • the angular velocity measurement mechanism 100 obtained in this embodiment obtains the first angular velocity of the object to be detected in a preset direction through the gyroscope assembly 101, and obtains the line of the object to be detected in at least one direction at different positions through a plurality of accelerometers 102 Then, the processor 103 analyzes and processes the first angular velocity and linear acceleration to obtain the target angular velocity of the object to be detected in the preset direction, which effectively reduces the noise carried by the target angular velocity, thereby reducing the processing based on the target angular velocity.
  • the control error in the control of the object to be detected improves the stability and accuracy of the control of the object to be detected.
  • the angular velocity measuring mechanism 100 is simple in structure, easy to implement, and low in cost, which further improves the practicability of the measuring mechanism 100.
  • the processor 103 when determining the target angular velocity of the object to be detected in the preset direction, is specifically configured to:
  • the target angular velocity of the object to be detected in the preset direction is determined.
  • the linear acceleration can be analyzed and processed, so that the angular acceleration of the object to be detected in the preset direction can be determined.
  • the processor 103 determines the target angular velocity of the object to be detected in the preset direction according to the first angular velocity and angular acceleration of the object to be detected in the preset direction, the processor 103 is specifically configured to:
  • the first angular velocity of the object to be detected in other preset directions determines the object to be detected The angular acceleration of the object in a preset direction.
  • a coordinate system can be established based on the object to be detected, the coordinate system includes a preset origin, and the post-processor 103 can obtain the linear acceleration of the preset origin in at least one direction.
  • the above at least one direction may include at least one of the following: a preset X-axis direction, a preset Y-axis direction, and a preset Z-axis direction, and the other preset directions are other coordinate axes that are different from at least one direction. direction.
  • other preset directions include the preset Y-axis direction and the preset Z-axis direction; at least one direction includes the preset X-axis direction and the preset Z-axis direction When, the other preset directions include the preset Y-axis direction.
  • the processor 103 may obtain the first distance between position A and position B, and position A and position C. The first distance between the first distance, the first distance between the position B and the position C.
  • the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the first distance can be analyzed and identified, To determine the angular acceleration of the object to be detected in the preset direction.
  • the preset direction includes the Y-axis direction; other preset directions include the X-axis direction and the Z-axis direction, and at least one direction includes the Z-axis direction;
  • the first position and the second position set in the negative direction of the X-axis; at this time, the processor 103 according to the linear acceleration of the object to be detected in at least one direction at different positions, and the position of the object to be detected in other preset directions
  • the processor 103 is specifically configured to:
  • the linear acceleration of the object to be detected in the Z-axis direction at the first position the linear acceleration of the object to be detected in the Z-axis direction at the second position, the first distance between the second position and the first position, and the Detect the first angular velocity of the object in the X-axis direction and the Z-axis direction, and determine the angular acceleration of the object to be detected in the Y-axis direction.
  • the following can be obtained through the gyroscope assembly 101 and multiple accelerometers 102:
  • the first angular velocity w Z of the object to be detected in the Z-axis direction and then the first distance L AB between the position B and the position A can be determined
  • the processor 103 can calculate the linear acceleration a Az and the linear acceleration a Bz , the first distance L AB , the first angular velocity w X and the first angular velocity w Z are processed to determine the angular acceleration of the object to be detected in the Y-axis direction specific
  • the processor 103 determines the first distance between the different positions where the multiple accelerometers 102 are located by acquiring the linear acceleration of the preset origin in at least one direction, and then determines the first distance between the different positions of the multiple accelerometers 102 according to the at least The linear acceleration in one direction, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the first distance to determine the angular acceleration of the object to be detected in the preset direction, This effectively guarantees the accuracy and reliability of acquiring the angular acceleration of the object to be detected in the preset direction, and further improves the accuracy of determining the target angular velocity based on the angular acceleration.
  • another way to determine the angular acceleration of the object to be detected in the preset direction is to obtain the linear acceleration of the preset origin in at least one direction.
  • the processor 103 is also used for:
  • the first angular velocity of the object to be detected in other preset directions determines the object to be detected The angular acceleration of the object in a preset direction.
  • a coordinate system can be established based on the object to be detected.
  • the coordinate system includes a preset origin.
  • different positions where multiple accelerometers 102 are located can be identified.
  • the second distance between the different position and the preset origin is determined.
  • the processor 103 can obtain the second position between position A and position O. Distance, second distance between position B and position 0, second distance between position C and position O.
  • the linear acceleration of the detection object in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the second distance can be analyzed and identified, To determine the angular acceleration of the object to be detected in the preset direction.
  • the preset direction includes the X-axis direction; the other preset directions include the Y-axis direction and the Z-axis direction, and at least one direction includes the Z-axis direction; the different positions of the multiple accelerometers 102 include the Y-axis direction.
  • the third position at this time, the processor 103 according to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, and the preset origin in at least one direction
  • the processor 103 is specifically configured to:
  • the first angular velocity in the axial direction and the Z-axis direction determines the angular acceleration of the object to be detected in the X-axis direction.
  • the gyroscope assembly 101 and the multiple accelerometers 102 can obtain: the linear acceleration a Cz of the object to be detected in the Z-axis direction at the position C, and the object to be detected at the position O
  • the linear acceleration a Oz in the Z-axis direction at, the first angular velocity w Y of the object to be detected in the Y-axis direction, the first angular velocity w z of the object to be detected in the Z-axis direction, and then the position C and the position O can be determined L OC distance between the second, after the processor 103 of the above-described linear acceleration can be a Cz, linear acceleration a Oz, L OC second distance, the first angular velocity and the first angular velocity w Y w Z processed to determine Angular acceleration of the object to be detected in the X-axis direction specific,
  • the preset direction includes the Z-axis direction; other preset directions include the X-axis direction and the Y-axis direction, and at least one direction includes the X-axis direction; and the different positions where the multiple accelerometers 102 are located include the Y-axis direction.
  • the processor 103 is based on the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, and the preset origin is at least one
  • the processor 103 is specifically configured to:
  • the linear acceleration of the object to be detected in the X-axis direction at the preset origin the linear acceleration of the object to be detected in the X-axis direction at the third position, the second distance between the third position and the preset origin, and the Detect the first angular velocity of the object in the X-axis direction and the Y-axis direction, and determine the angular acceleration of the object to be detected in the Z-axis direction.
  • the gyroscope assembly 101 and multiple accelerometers 102 can obtain: the linear acceleration a Ox of the object to be detected in the X-axis direction at position O, and the object to be detected at position C line X-axis direction at the acceleration a Cx, the object to be detected in the Y-axis direction Y W first angular velocity, the angular velocity W of the first object to be detected in the X-X axis direction, and position C can then be determined position O the distance between the second L OC, then, processor 103 may be the above-described linear acceleration of a Ox, linear acceleration a Cx, L OC second distance, the first angular velocity and the first angular velocity w Y w X processed to determine Angular acceleration of the object to be detected in the X-axis direction specific,
  • X-axis direction Y-axis direction
  • Z-axis direction position A, position B, and position C
  • X-axis direction, Y-axis direction, and Y-axis direction The axis direction and the Z axis direction may not be based on the coordinate direction established by the object to be detected, but may also be other directions.
  • the positions of position A, position B, and position C may not be limited to being on the coordinate axis.
  • the point can also be other position points in the coordinate system, but for position A, position B, and position C, when the positions of position A, position B, and position C are limited to be on the coordinate axis, it can be conveniently based on The angular velocity is measured and calculated for the positions of position A, position B and position C.
  • the second distance between the different positions of the multiple accelerometers 102 and the preset origin is determined; and according to the linear acceleration of the object to be detected in at least one direction at different positions, the object to be detected is in other directions.
  • the first angular velocity in the preset direction, the linear acceleration of the preset origin in at least one direction, and the second distance are used to determine the angular acceleration of the object to be detected in the preset direction.
  • the angular acceleration of the object in the preset direction is detected, and the accuracy and reliability of the acquisition of the angular acceleration can be ensured, which further improves the flexibility and reliability of the measurement mechanism 100 in use.
  • the processor 103 when the processor 103 obtains the linear acceleration of the preset origin in at least one direction, this embodiment does not limit the specific method of obtaining the linear acceleration. Those skilled in the art can make settings according to specific application requirements and design requirements.
  • the processor 103 when the processor 103 obtains the linear acceleration of the preset origin in at least one direction, the processor 103 is specifically configured to: The distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions determine the linear acceleration of the preset origin in at least one direction.
  • At least one direction includes the X-axis direction; the different positions where the multiple accelerometers 102 are located may include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis; in this case,
  • the processor 103 determines the linear acceleration of the preset origin in at least one direction according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions
  • the processor 103 specifically uses ⁇ : According to the linear acceleration of the object to be detected in the X-axis direction at the first position and the second position, the second distance between the second position and the preset origin, and the first position between the first position and the preset origin The second distance and the first distance between the first position and the second position determine the linear acceleration of the preset origin in the X-axis direction.
  • multiple accelerometers 102 can obtain: The linear acceleration a Bx in the X-axis direction at B, the linear acceleration a Ax in the X-axis direction of the object to be detected at position A , and then the second distance L OA and position B between position A and position O can be determined The second distance L BO between the position O and the position O , and the first distance L AB between the position B and the position A.
  • the processor 103 can calculate the linear acceleration a Bx , the linear acceleration a Ax , and the first distance L AB.
  • At least one direction includes the Z-axis direction; the different positions where the multiple accelerometers 102 are located include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis; in this case,
  • the processor 103 determines the linear acceleration of the preset origin in at least one direction according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions
  • the processor 103 specifically uses ⁇ : According to the linear acceleration of the object to be detected in the Z-axis direction at the first position and the second position, the second distance between the second position and the preset origin, the first position between the first position and the preset origin The second distance and the first distance between the first position and the second position determine the linear acceleration of the preset origin in the Z-axis direction.
  • multiple accelerometers 102 can be used to obtain: the linear acceleration a Bz of the object to be detected in the Z-axis direction at position B, and the Z-axis direction of the object to be detected at position A.
  • line acceleration on a Az then OA may determine the second distance L between positions a and O, the distance L between the first second distance L BO between the position B and the position O, position B and the position a AB , and then, the processor 103 can process the aforementioned linear acceleration a Bz , linear acceleration a Az , the first distance L AB , the second distance L OA and the second distance L BO to determine that the preset origin is in the Z-axis direction
  • the linear acceleration of the preset origin in at least one direction is determined according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, thereby realizing the linear acceleration of the object to be detected in at least one direction.
  • the accuracy and reliability of obtaining the linear acceleration in at least one direction at the preset origin further improves the accuracy of measuring the angular velocity.
  • the processor 103 obtains the first angular velocity and angular acceleration
  • the first angular velocity and angular acceleration can be analyzed and processed.
  • the specific implementation of the analysis and processing of the first angular velocity and angular acceleration is not limited. Those skilled in the art can set it according to specific application requirements and design requirements.
  • the processor 103 presets according to the object to be detected.
  • the processor 103 in this embodiment is specifically configured to:
  • High-pass filtering is performed on the angular acceleration of the object to be detected in the preset direction, and the filtered angular acceleration is integrated to obtain the second angular velocity of the object to be detected in the preset direction;
  • the sum of the second angular velocity and the third angular velocity is determined as the target angular velocity of the object to be detected in the preset direction.
  • the cut-off frequency of performing high-pass filtering on all angular accelerations is the same as the cut-off frequency of performing low-pass filtering on all first angular velocities.
  • the angular acceleration of the object to be detected in the preset direction is obtained by multiple accelerometers 102.
  • the high-frequency part of the obtained angular acceleration is the effective data part.
  • the The angular acceleration is subjected to high-pass filtering, that is, the low-frequency part of the angular acceleration is filtered out, and then the filtered angular acceleration can be integrated, so that the second angular velocity of the object to be detected in the preset direction can be obtained.
  • the first angular velocity of the object to be detected in the preset direction is obtained by the gyroscope component 101.
  • the low-frequency part of the obtained first angular velocity is the effective data part. Therefore, after the first angular velocity is acquired, the first angular velocity can be low-pass filtered, that is, the high frequency part of the first angular velocity is filtered out, so that the third angular velocity of the object to be detected in the preset direction can be obtained.
  • the sum of the second angular velocity and the third angular velocity can be determined as the target angular velocity of the object to be detected in the preset direction, because the target angular velocity is fused with the high-frequency filtering
  • the second angular velocity and the third angular velocity after low-frequency filtering effectively reduce the noise information carried by the target angular velocity, thereby improving the accuracy and reliability of the acquisition of the target angular velocity.
  • the angular acceleration of the object to be detected in the preset direction is a0
  • the first angular velocity of the object to be detected in the preset direction is W1
  • the cutoff frequency for high-pass filtering of all angular accelerations is the same as that of all first angular accelerations.
  • the cut-off frequency for low-pass filtering of the angular velocity is f.
  • the high-pass filter with the above cut-off frequency can be used to perform high-pass filtering on the angular acceleration a0, so that the filtered angular acceleration can be obtained as a1
  • the angular acceleration a1 can be integrated within a preset time period, so that the second angular velocity W2 of the object to be detected in the preset direction can be obtained.
  • the first angular velocity W1 can be low-pass filtered by the low-pass filter with the cut-off frequency, so that the third angular velocity W3 can be obtained, and then the second angular velocity and the third angular velocity can be combined.
  • the processor 103 in this embodiment may also Used for:
  • the driving motor is controlled according to the control parameters to realize the adjustment of the attitude of the pan/tilt.
  • the target angular velocity can be input into the preset closed-loop motion control system, so that the control parameters corresponding to the drive motor can be obtained, and then the drive motor on the pan/tilt can be controlled based on the control parameters.
  • the control can further realize the adjustment of the pose of the pan/tilt through the drive motor, so as to adjust the pose of the camera, which can effectively ensure the stable and reliable operation of the camera installed on the pan/tilt.
  • this embodiment provides yet another angular velocity measurement mechanism, which can greatly reduce the noise of the measured angular velocity, thereby improving the accuracy of angular velocity measurement.
  • the measurement mechanism may include:
  • the gyroscope component is set on the object to be detected
  • the gyroscope component and multiple accelerometers are used to cooperate to determine the target angular velocity of the object to be detected in the preset direction.
  • the gyroscope component is a three-axis gyroscope.
  • the gyroscope assembly includes three single-axis gyroscopes, and the distance between any two single-axis gyroscopes among the three single-axis gyroscopes is less than a preset threshold.
  • the accelerometer includes a three-axis accelerometer, the number of the three-axis accelerometer is three, and the three three-axis accelerometers are arranged at three different positions.
  • the positions of the three three-axis accelerometers form a preset plane.
  • the accelerometer includes a single-axis accelerometer, the number of single-axis accelerometers is nine, nine single-axis accelerometers are arranged at three different positions, and every three single-axis accelerometers are arranged at the same position.
  • every three single-axis accelerometers are arranged at the same position, and the positions of the nine single-axis accelerometers form a preset plane.
  • the preset plane and the coordinate plane in the coordinate system are parallel or perpendicular to each other.
  • the positions of multiple accelerometers form an isosceles triangle.
  • Fig. 5 is a schematic flow chart 1 of an angular velocity measurement method provided by an embodiment of the present invention; referring to Fig. 5, this embodiment provides an angular velocity measurement method.
  • the execution subject of the method may be an angular velocity measurement device.
  • the measuring device can be implemented as software or a combination of software and hardware.
  • the angular velocity measuring device can be a processor.
  • the method may include:
  • Step S501 Obtain the first angular velocity of the object to be detected in the preset direction through the gyroscope component;
  • Step S502 Obtain the linear acceleration of the object to be detected in at least one direction at different positions through multiple accelerometers;
  • Step S503 Determine the target angular velocity of the object to be detected in the preset direction according to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions.
  • the object to be detected can refer to any device that needs to detect angular velocity.
  • This embodiment does not limit the specific shape structure and structure type of the object to be detected.
  • Those skilled in the art can perform the detection of the object to be detected according to specific application scenarios and application requirements.
  • the object to be detected may refer to a camera, a camera set on a pan/tilt, a pan/tilt, a drone, an unmanned vehicle, an unmanned boat, etc.
  • the first angular velocity of the object to be detected in a preset direction can be measured by a gyroscope component arranged on the object to be detected, where the preset direction includes at least one of the following: a preset X-axis direction , The preset Y-axis direction, the preset Z-axis direction.
  • a preset coordinate system can be established based on the object to be detected, and the preset coordinate system can include a preset X-axis direction, a preset Y-axis direction, and a preset Z-axis direction .
  • the first angular velocity of the object to be detected in the preset direction can be detected by the gyroscope component arranged on the object to be detected. It is understandable that this embodiment does not limit the specific shape and structure of the gyroscope assembly 101, and those skilled in the art can set the specific structure of the gyroscope assembly according to specific application requirements and design requirements, and the obtained first
  • the number of an angular velocity can be one or more. For example, only the first angular velocity of the object to be detected in the preset X-axis direction can be measured; or, the object to be detected can also be measured in the preset X-axis direction and The first angular velocity in the Y-axis direction and so on.
  • the gyroscope component may It is a three-axis gyroscope.
  • the three-axis gyroscope can detect the first angular velocity of the object to be detected in three measurement directions, including the first angular velocity in the preset X-axis direction and the preset Y-axis The first angular velocity in the direction and the first angular velocity in the preset Z-axis direction.
  • the gyroscope assembly may also include three single-axis gyroscopes, and each single-axis gyroscope is used to obtain a measurement direction in one measurement direction.
  • the first angular velocity when the preset direction includes three measurement directions, the gyroscope assembly may also include three single-axis gyroscopes, and each single-axis gyroscope is used to obtain a measurement direction in one measurement direction.
  • the first angular velocity may be used to obtain a measurement direction in one measurement direction.
  • the gyroscope component set on the object to be detected includes a single-axis gyroscope A, a single-axis gyroscope B, and a single-axis gyroscope C, where the single-axis gyroscope A can detect that the object to be detected is at a preset X
  • the first angular velocity in the direction of the axis the single-axis gyroscope B can detect the first angular velocity of the object to be detected in the preset Y-axis direction
  • the single-axis gyroscope C can detect the first angular velocity of the object to be detected in the preset Z-axis direction.
  • the first angular velocity is the first angular velocity.
  • the gyroscope assembly includes three single-axis gyroscopes, in order to ensure the consistency and accuracy of the first angular velocity detected by the gyroscope assembly at the same position, any two of the three single-axis gyroscopes The distance between the single-axis gyroscopes is less than the preset threshold. It is simply understood that the three single-axis gyroscopes can be located at the same position of the object to be detected as much as possible.
  • the gyroscope component may also be a three-axis gyroscope.
  • the three-axis gyroscope can detect the second measurement of the object to be detected in the three measurement directions.
  • An angular velocity including the first angular velocity in the preset X-axis direction, the first angular velocity in the preset Y-axis direction, and the first angular velocity in the preset Z-axis direction, and then the measured Select the first angular velocity that needs data processing among the three first angular velocities.
  • the gyroscope component can also be one or two single-axis gyroscopes, and each single-axis gyroscope is used to obtain the first angular velocity in one measurement direction; thus effective Realize the accurate measurement of the first angular velocity.
  • this embodiment does not limit the specific number of multiple accelerometers, and those skilled in the art can set it according to specific application requirements and design requirements.
  • the number of accelerometers can be three.
  • the number of multiple accelerometers 102 is not limited to the number defined in the figure, and it can also be 4, 5, 6, 7, 8, or 9, and so on.
  • Multiple accelerometers can be distributed at different positions of the object to be detected, so as to measure the linear acceleration of the object to be detected at different positions in at least one direction, that is, multiple accelerometers can measure the object to be detected at different positions The linear acceleration in one direction or more than one direction.
  • the at least one direction includes at least one of the following: a preset X-axis direction, a preset Y-axis direction, and a preset Z-axis direction.
  • multiple accelerometers can measure the linear acceleration of the object to be detected in the preset X-axis direction at different positions; including the preset X-axis direction in at least one direction.
  • multiple accelerometers can measure the linear acceleration of the object to be detected in the preset X-axis direction and the preset Y-axis direction at different positions; including the preset linear acceleration in at least one direction.
  • multiple accelerometers can measure the preset X-axis direction, the preset Y-axis direction and the preset direction at different positions of the object to be detected.
  • the linear acceleration in the Z-axis direction is not limited to, the X-axis direction, the preset Y-axis direction and the preset Z-axis direction.
  • the accelerometers may include three-axis accelerometers. Accelerometers, the number of three-axis accelerometers is three, and the three three-axis accelerometers can be set at three different positions to measure the line of the object to be detected in at least one direction at three different positions Acceleration.
  • position A As shown in Figure 4, three different positions including position A, position B, and position C are taken as examples for description. It can be understood that the above position A, position B, and position C are not limited to those identified in the above figure. Location, those skilled in the art can also set location A, location B, and location C in other locations according to specific application requirements and design requirements.
  • a three-axis accelerometer can be set at each of the above-mentioned positions.
  • the number of three-axis accelerometers is three, which can measure the The linear acceleration of the object in at least one direction of the position A, the position B, and the position C is detected.
  • the position A where the multiple accelerometers are located can form a preset plane.
  • the locations of multiple accelerometers can form an isosceles triangle, or the locations of multiple accelerometers can also form an equilateral triangle.
  • the preset plane and the coordinate plane in the coordinate system are parallel or perpendicular to each other.
  • a preset coordinate system can be established based on the photographing device, where the direction parallel or coincident with the optical axis can be the X-axis direction, and the direction parallel to the X-axis direction to the left can be The Y-axis direction and the vertical upward direction can be the Z-axis direction, so that a coordinate system is established based on the camera, and the position of the preset origin in the coordinate system can be changed, as long as the above relationship is met.
  • the three three-axis accelerometers can be set at three different positions on the camera, and the three different positions can be three on the housing of the camera.
  • the position A, position B, and position C where the three three-axis accelerometers are located constitute a preset plane P.
  • position A and position B And position C can form an isosceles triangle or an equilateral triangle
  • the above-mentioned preset plane P can be parallel to the XY plane in the coordinate system, or it can also be considered that the preset plane P and the XZ plane in the coordinate system Perpendicular to each other.
  • the accelerometer may also include a single-axis accelerometer.
  • the number of single-axis accelerometers is nine.
  • Nine single-axis accelerometers can also be set at three different positions to measure the location of the object to be detected. Linear acceleration in at least one direction at three different positions. Further, every three single-axis accelerometers can be set at the same position, and the positions of the nine single-axis accelerometers form a preset plane.
  • the nine single-axis accelerometers can be set at three different positions on the photographing device. It can be three different positions on the housing of the camera.
  • the position A, position B, and position C where the nine three-axis accelerometers are located constitute a preset plane P, where, at position A Three single-axis accelerometers can be set, each single-axis accelerometer can measure the linear acceleration of the object to be detected in one direction; similarly, three single-axis accelerometers can be set at position B, each single-axis accelerometer The linear acceleration of the object to be detected can be measured in one direction; three single-axis accelerometers can be set at position C, and each single-axis accelerometer can measure the linear acceleration of the object to be detected in one direction.
  • the distance between any two single-axis accelerometers of the three single-axis accelerometers is less than the preset threshold, so that the three single-axis accelerometers can be Try to be located at the same position of the object to be detected, thereby improving the accuracy and precision of acquiring the linear acceleration.
  • the positions set by multiple accelerometers are not limited to the three positions listed above, but can also be other positions.
  • multiple accelerometers can be set on four of the objects to be detected.
  • Position, 5 positions or 6 positions, etc. those skilled in the art can set according to specific application requirements and design requirements, as long as the positions of multiple accelerometers can be ensured to form a regular shape as much as possible (for example: square, rectangular) , Regular pentagon, regular hexagon, etc.) to facilitate the analysis and processing of the linear acceleration obtained by the accelerometer.
  • the above-mentioned first angular velocity may be measured.
  • An angular velocity and linear acceleration are analyzed and processed to determine the target angular velocity of the object to be detected in a preset direction, thereby effectively reducing the noise of the target angular velocity, and thereby improving the accuracy and reliability of the acquisition of the target angular velocity.
  • the preset direction in which the obtained target angular velocity is located is different or partially different from at least one direction in which the linear acceleration is located and the preset direction in which the first angular velocity is located.
  • step S501 and step S502 in the above method of this embodiment is not limited to the above-exemplified sequence, that is, step S501 can also be performed after step S502, or step S501 can be the same as step S502.
  • step S501 can also be performed after step S502, or step S501 can be the same as step S502.
  • step S501 can also be performed after step S502, or step S501 can be the same as step S502.
  • steps S501 can also be performed after step S502, or step S501 can be the same as step S502.
  • step S501 can also be performed after step S502, or step S501 can be the same as step S502.
  • step S501 can be the same as step S502.
  • steps S502 can choose different execution modes according to specific application requirements.
  • the first angular velocity of the object to be detected in a preset direction is obtained through a gyroscope component, and the linear acceleration of the object to be detected in at least one direction at different positions is obtained through multiple accelerometers, and then The first angular velocity and linear acceleration are analyzed and processed, and the target angular velocity of the object to be detected in the preset direction is obtained, which effectively reduces the noise carried by the target angular velocity, thereby reducing the control error of controlling the object to be detected based on the target angular velocity , Improve the stability and accuracy of the control of the object to be detected.
  • the angular velocity measurement method is simple, easy to implement, and low cost, which further improves the practicability of the measurement method.
  • FIG. 6 is a diagram of the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions, provided in the embodiment of FIG. 5, to determine the object to be detected in the preset direction Schematic diagram of the flow of the target angular velocity; on the basis of the foregoing embodiment, with continued reference to FIG. 6, this embodiment does not limit the specific implementation of determining the target angular velocity of the object to be detected in the preset direction. Those skilled in the art It can be set according to specific application requirements and design requirements.
  • Determining the target angular velocity of the object to be detected in the preset direction may include:
  • Step S601 Determine the angular acceleration of the object to be detected in a preset direction according to the linear acceleration of the object to be detected in at least one direction at different positions.
  • Step S602 Determine the target angular velocity of the object to be detected in the preset direction according to the first angular velocity and angular acceleration of the object to be detected in the preset direction.
  • determining the angular acceleration of the object to be detected in a preset direction may include:
  • Step S701 Acquire the linear acceleration of the preset origin in at least one direction in the coordinate system of the object to be detected;
  • Step S702 Determine the first distance between different positions where multiple accelerometers are located
  • Step S703 According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the first distance, Determine the angular acceleration of the object to be detected in the preset direction.
  • a coordinate system can be established based on the object to be detected, the coordinate system includes a preset origin, and then the linear acceleration of the preset origin in at least one direction can be obtained.
  • the above at least one direction may include at least one of the following: a preset X-axis direction, a preset Y-axis direction, and a preset Z-axis direction, and the other preset directions are other coordinate axes that are different from at least one direction. direction.
  • other preset directions include the preset Y-axis direction and the preset Z-axis direction; at least one direction includes the preset X-axis direction and the preset Z-axis direction When, the other preset directions include the preset Y-axis direction.
  • the processor 103 may obtain the first distance between position A and position B, and the difference between position A and position C. The first distance between the first distance, the first distance between the position B and the position C.
  • the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the first distance can be analyzed and identified, To determine the angular acceleration of the object to be detected in the preset direction.
  • the preset direction includes the Y-axis direction; other preset directions include the X-axis direction and the Z-axis direction, and at least one direction includes the Z-axis direction;
  • Step S7031 According to the linear acceleration of the object to be detected in the Z-axis direction at the first position, the linear acceleration of the object to be detected in the Z-axis direction at the second position, the first position between the first position and the second position.
  • the distance and the first angular velocity of the object to be detected in the X-axis direction and the first angular velocity in the Z-axis direction respectively determine the angular acceleration of the object to be detected in the Y-axis direction.
  • FIG. 4 can be obtained through the gyroscope component and multiple accelerometers:
  • the first angular velocity w Z of the object in the Z-axis direction is detected , and then the first distance L AB between the position B and the position A can be determined.
  • the processor 103 can determine the linear acceleration a Az , the linear acceleration a Bz , The first distance L AB , the first angular velocity w x and the first angular velocity w Z are processed to determine the angular acceleration of the object to be detected in the Y-axis direction specific,
  • step S701 and step S702 in the above method of this embodiment is not limited to the above-exemplified sequence, that is, step S701 can also be performed after step S702, or step S701 can be the same as step S702.
  • step S701 can also be performed after step S702, or step S701 can be the same as step S702.
  • step S701 can be the same as step S702.
  • this embodiment provides another way to determine the angular acceleration of the object to be detected in a preset direction. Specifically, after obtaining the preset origin at at least one After the linear acceleration in the direction, the method in this embodiment may further include:
  • Step S801 Determine the second distance between the different positions where the multiple accelerometers are located and the preset origin;
  • Step S802 According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the second distance, Determine the angular acceleration of the object to be detected in the preset direction.
  • a coordinate system can be established based on the object to be detected.
  • the coordinate system includes a preset origin.
  • different positions of multiple accelerometers can be identified, and then Determine the second distance between the different positions and the preset origin.
  • the preset origin is position O
  • multiple accelerometers are set at position A, position B, and position C in the coordinate system
  • the second distance between position A and position O, and position B can be obtained.
  • the second distance from position the second distance between position C and position O.
  • the linear acceleration of the detection object in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the second distance can be analyzed and identified, To determine the angular acceleration of the object to be detected in the preset direction.
  • the preset direction includes the X-axis direction; other preset directions include the Y-axis direction and the Z-axis direction, and at least one direction includes the Z-axis direction;
  • the second distance, determining the angular acceleration of the object to be detected in the preset direction may include:
  • Step S8021 According to the linear acceleration of the object to be detected in the Z axis direction at the third position, the linear acceleration of the preset origin in the Z axis direction, the second distance between the third position and the preset origin, and the object to be detected The first angular velocity in the Y-axis direction and the Z-axis direction respectively determine the angular acceleration of the object to be detected in the X-axis direction.
  • the gyroscope assembly 101 and the multiple accelerometers 102 can obtain: the linear acceleration a Cz of the object to be detected in the Z-axis direction at the position C, and the object to be detected at the position O
  • the linear acceleration a Oz in the Z-axis direction at, the first angular velocity w Y of the object to be detected in the Y-axis direction, the first angular velocity w z of the object to be detected in the Z-axis direction, and then the position C and the position O can be determined L OC distance between the second, after the processor 103 of the above-described linear acceleration can be a Cz, linear acceleration a Oz, L OC second distance, the first angular velocity and the first angular velocity w Y w Z processed to determine Angular acceleration of the object to be detected in the X-axis direction specific,
  • the preset direction includes the Z-axis direction; other preset directions include the X-axis direction and the Y-axis direction, and at least one direction includes the X-axis direction; and the different positions of the multiple accelerometers include the Y-axis direction.
  • determining the angular acceleration of the object to be detected in the preset direction may include:
  • Step S8022 According to the linear acceleration of the object to be detected in the X-axis direction at the preset origin, the linear acceleration of the object to be detected in the X-axis direction at the third position, and the second between the third position and the preset origin The distance and the first angular velocity of the object to be detected in the X-axis direction and the first angular velocity in the Y-axis direction respectively determine the angular acceleration of the object to be detected in the Z-axis direction.
  • the gyroscope assembly 101 and multiple accelerometers 102 can obtain: the linear acceleration a Ox of the object to be detected in the X-axis direction at position O, and the object to be detected at position C line X-axis direction at the acceleration a Cx, the object to be detected in the Y-axis direction Y W first angular velocity, the angular velocity W of the first object to be detected in the X-X axis direction, and position C can then be determined position O the distance between the second L OC, then, processor 103 may be the above-described linear acceleration of a Ox, linear acceleration a Cx, L OC second distance, the first angular velocity and the first angular velocity w Y w X processed to determine Angular acceleration of the object to be detected in the X-axis direction specific,
  • X-axis direction Y-axis direction
  • Z-axis direction position A, position B, and position C
  • X-axis direction, Y-axis direction, and Y-axis direction The axis direction and the Z axis direction may not be based on the coordinate direction established by the object to be detected, but may also be other directions.
  • the positions of position A, position B, and position C may not be limited to being on the coordinate axis.
  • the point can also be other position points in the coordinate system, but for position A, position B, and position C, when the positions of position A, position B, and position C are limited to the coordinate axis, it can be conveniently based on The angular velocity is measured and calculated for the positions of position A, position B and position C.
  • the second distance between the different positions of the multiple accelerometers and the preset origin is determined; and according to the linear acceleration of the object to be detected in at least one direction at different positions, the object to be detected is in other presets.
  • Set the first angular velocity in the direction, the linear acceleration of the preset origin in at least one direction, and the second distance to determine the angular acceleration of the object to be detected in the preset direction which effectively realizes that the to-be-detected object can also be obtained by other methods.
  • the angular acceleration of the object in the preset direction can ensure the accuracy and reliability of the angular acceleration acquisition, which further improves the flexibility and reliability of the measurement method.
  • this embodiment does not limit the specific implementation manner of obtaining the linear acceleration of the preset origin in at least one direction. Those skilled in the art can set it according to specific application requirements and design requirements.
  • this embodiment Obtaining the linear acceleration of the preset origin in at least one direction in may include:
  • Step S7011 Determine the linear acceleration of the preset origin in at least one direction according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions.
  • At least one direction includes the X-axis direction; different positions of the multiple accelerometers may include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis; in this case, according to The first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, and determining the linear acceleration of the preset origin in at least one direction may include:
  • Step S70111 According to the linear acceleration of the object to be detected in the X-axis direction at the first position and the second position, the second distance between the second position and the preset origin, and the distance between the first position and the preset origin The second distance and the first distance between the first position and the second position determine the linear acceleration of the preset origin in the X-axis direction.
  • multiple accelerometers 102 can obtain: The linear acceleration a Bx in the X-axis direction at B, the linear acceleration a Ax in the X-axis direction of the object to be detected at position A , and then the second distance L OA and position B between position A and position O can be determined The second distance L BO between the position O and the position O , and the first distance L AB between the position B and the position A.
  • the processor 103 can calculate the linear acceleration a Bx , the linear acceleration a Ax , and the first distance L AB.
  • At least one direction includes the Z-axis direction; the different positions of the multiple accelerometers include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis; in this case, according to The first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, and determining the linear acceleration of the preset origin in at least one direction may include:
  • Step S70112 According to the linear acceleration in the Z-axis direction of the object to be detected at the first position and the second position, the second distance between the second position and the preset origin, and the distance between the first position and the preset origin The second distance and the first distance between the first position and the second position determine the linear acceleration of the preset origin in the Z-axis direction.
  • multiple accelerometers 102 can be used to obtain: the linear acceleration a Bz of the object to be detected in the Z-axis direction at position B, and the Z-axis direction of the object to be detected at position A.
  • line acceleration on a Ax, then OA may determine the second distance L between the position a and the position O, the distance L between the first second distance L between the position B and BO position O, position B and the position a AB
  • the processor 103 can process the aforementioned linear acceleration a Bz , linear acceleration a Az , the first distance L AB , the second distance L OA and the second distance L BO to determine that the preset origin is in the Z-axis direction
  • the linear acceleration of the preset origin in at least one direction is determined according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, thereby realizing the linear acceleration of the object to be detected in at least one direction.
  • the accuracy and reliability of obtaining the linear acceleration in at least one direction at the preset origin further improves the accuracy of measuring the angular velocity.
  • FIG. 9 is a process of determining the target angular velocity of the object to be detected in the preset direction according to the first angular velocity and the angular acceleration of the object to be detected in the preset direction provided by the embodiment of FIG. 6 Schematic diagram; on the basis of the foregoing embodiment, with continued reference to FIG. 9, this embodiment does not limit the specific implementation of determining the target angular velocity of the object to be detected in the preset direction, and those skilled in the art can refer to specific Application requirements and design requirements are set.
  • determining the target angular velocity of the object to be detected in the preset direction may include:
  • Step S901 Perform high-pass filtering on the angular acceleration of the object to be detected in the preset direction, and perform integration processing on the filtered angular acceleration to obtain the second angular velocity of the object to be detected in the preset direction.
  • Step S902 Perform low-pass filtering on the first angular velocity of the object to be detected in the preset direction to obtain the third angular velocity of the object to be detected in the preset direction.
  • Step S903 Determine the sum of the second angular velocity and the third angular velocity as the target angular velocity of the object to be detected in the preset direction.
  • the cut-off frequency of performing high-pass filtering on all angular accelerations is the same as the cut-off frequency of performing low-pass filtering on all first angular velocities.
  • step S901 and step S902 in the above method of this embodiment is not limited to the above-exemplified sequence. That is, step S901 can also be executed after step S902, or step S901 can be the same as step S902.
  • step S901 can also be executed after step S902, or step S901 can be the same as step S902.
  • steps S902 can be the same as step S902.
  • steps S902 can choose different execution modes according to specific application requirements.
  • the cut-off frequency of performing high-pass filtering on all angular accelerations is the same as the cut-off frequency of performing low-pass filtering on all first angular velocities.
  • the angular acceleration of the object to be detected in the preset direction is obtained by multiple accelerometers.
  • the high-frequency part of the obtained angular acceleration is the effective data part.
  • the angular acceleration can be The acceleration is high-pass filtered, that is, the low-frequency part of the angular acceleration is filtered out, and then the filtered angular acceleration can be integrated, so that the second angular velocity of the object to be detected in the preset direction can be obtained.
  • the first angular velocity of the object to be detected in the preset direction is obtained by the gyroscope component.
  • the low-frequency part of the obtained first angular velocity is the effective data part. Therefore, after the first angular velocity is acquired, the first angular velocity can be low-pass filtered, that is, the high frequency part of the first angular velocity is filtered out, so that the third angular velocity of the object to be detected in the preset direction can be obtained.
  • the sum of the second angular velocity and the third angular velocity can be determined as the target angular velocity of the object to be detected in the preset direction, because the target angular velocity is fused with the high-frequency filtering
  • the second angular velocity and the third angular velocity after low-frequency filtering effectively reduce the noise information carried by the target angular velocity, thereby improving the accuracy and reliability of the acquisition of the target angular velocity.
  • the angular acceleration of the object to be detected in the preset direction is a0
  • the first angular velocity of the object to be detected in the preset direction is W1
  • the cutoff frequency for high-pass filtering of all angular accelerations is the same as that of all first angular accelerations.
  • the cut-off frequency for low-pass filtering of the angular velocity is f.
  • the high-pass filter with the above cut-off frequency can be used to perform high-pass filtering on the angular acceleration a0, so that the filtered angular acceleration can be obtained as a1
  • the angular acceleration a1 can be integrated within a preset time period, so that the second angular velocity W2 of the object to be detected in the preset direction can be obtained.
  • the first angular velocity W1 can be low-pass filtered by the low-pass filter with the cut-off frequency, so that the third angular velocity W3 can be obtained, and then the second angular velocity and the third angular velocity can be combined.
  • Figure 10 is a schematic flow chart of yet another angular velocity measurement method provided by an embodiment of the present invention.
  • the object to be detected in this embodiment may be set in a cloud
  • the camera on the stage, the pan/tilt is provided with a driving motor; at this time, the method in this example may also include:
  • Step S1001 Determine the control parameter corresponding to the drive motor according to the target angular velocity
  • Step S1002 Control the driving motor according to the control parameters, so as to adjust the attitude of the pan-tilt.
  • the target angular velocity can be input into the preset closed-loop motion control system, so that the control parameters corresponding to the drive motor can be obtained, and then the drive motor on the pan/tilt can be controlled based on the control parameters.
  • the control can further realize the adjustment of the pose of the pan/tilt through the drive motor, so as to adjust the pose of the camera, which can effectively ensure the stable and reliable operation of the camera installed on the pan/tilt.
  • this application embodiment provides an angular velocity measurement method.
  • the execution subject of the measurement method may be an angular velocity measurement mechanism.
  • the angular velocity measurement mechanism may be composed of three micro-electromechanical systems (Micro-Electro-Mechanical Systems). Electro-Mechanical System (MEMS) three-axis accelerometer and a MEMS three-axis gyroscope are combined.
  • MEMS Electro-Mechanical System
  • the angular velocity measurement mechanism is low in cost and can output angular velocity with low noise, which effectively solves the problem of using traditional gyroscopes. The problem of obtaining a noisy angular velocity.
  • the angular velocity measurement principle is: use three MEMS three-axis accelerometers to calculate the angular acceleration, and then integrate the calculated angular acceleration to obtain the angular velocity, and then calculate the angular velocity obtained by the above calculation and the angular velocity output by the MEMS gyroscope. Complementary filtering process to obtain the final output low noise angular velocity.
  • three MEMS three-axis accelerometers can be arranged on three different positions of the object to be detected, and when any two three-axis accelerometers are The greater the distance of the setting position, the more beneficial it is to reduce the angular velocity noise output by the combined gyroscope. More preferably, three three-axis accelerometers can be arranged to form an equilateral triangle.
  • O is the acceleration at point Q on the rigid body in the inertial coordinate system OXYZ
  • O is the acceleration at point P on the rigid body in the inertial coordinate system OXYZ
  • P is between the point P and the point Q
  • the position distance vector of, w is the rotational angular velocity of the rigid body, Is the rotational angular acceleration of the rigid body.
  • three MEMS accelerometers can be arranged at three fixed positions of the object to be detected (preset rigid body). After the structure of the object to be detected is determined, the relative positions can be obtained by comparing the three fixed positions of the accelerometers. Distance information R between two adjacent fixed positions. When the P point and the Q point are included in the three fixed positions, the R Q
  • the three accelerometers can be set to position A, position B, and position C respectively.
  • the vertical line is drawn from position C to AB. Marked as O.
  • the vector AB can be the X axis in the coordinate system
  • the vector OC is the Y axis in the coordinate system
  • the vector OC*The direction of the vector AB is the Z axis in the coordinate system.
  • the angular acceleration obtained by the accelerometer can be obtained:
  • the calculation method of the acceleration at O is:
  • a Ox (a Bx L OA +a Ax L BO )/L AB ;
  • w X , w Y , w Z respectively the angular velocity of the object to be detected in the three axis directions (X axis, Y axis and Z axis);
  • a Az is the linear acceleration of the accelerometer in the Z axis direction at A
  • a Oz is the linear acceleration of the object to be detected in the Z axis direction
  • a Cz is the accelerometer linear acceleration in the Z axis direction at C
  • a Bz is the linear acceleration of the accelerometer in the Z-axis direction at B
  • a Ox is the linear acceleration of the object to be detected in the X-axis direction
  • a Ax is the accelerometer linear acceleration in the X-axis direction at A
  • a Bx Is the linear acceleration of the accelerometer at B and the X axis
  • a Bz is the linear acceleration of the accelerometer at B and the Z axis
  • a Cx is the linear acceleration of the accelerometer at C and the X axis
  • a Cz is the acceleration Calculate the linear acceleration at C and the Z axis.
  • L OA is the distance from O to A along the Y axis
  • L BC is the distance from B to C along the X axis
  • L OC is the distance from O to C along the X axis
  • L BO is the distance from O to C along the X axis. The distance from B to O.
  • a high-pass filter can be used to filter the above-mentioned angular accelerations (the high-pass filter can be represented by the transfer function G HP (s)), and then the filtered angular accelerations can be integrated and calculated, that is, in the pre-processing Accumulate the angular acceleration after the filtering process in the set time period, so as to obtain the fusion angular velocity w HP in the three axis directions.
  • G HP the transfer function
  • n is the order of the high-pass filter.
  • the low-pass filter (G LP (s)) can be used to filter the angular velocity obtained by the MEMS gyroscope, so as to obtain the gyroscope angular velocity w after low-pass filtering.
  • the high-pass filtered fused angular velocity w HP and the low-pass filtered MEMS gyroscope angular velocity w LP can be added to get the final output in the preset direction
  • the target angular velocity of w w HP + w LP .
  • the accelerometer and gyroscope due to the small size and low cost of the accelerometer and gyroscope, it has higher flexibility when arranging the accelerometer and gyroscope on the object to be detected; and, three MEMS three are used.
  • Axis accelerometer and a MEMS three-axis gyroscope are combined to obtain an angular velocity measurement mechanism.
  • the angular velocity obtained by the angular velocity measurement mechanism can greatly reduce the noise of the output angular velocity, and the measurement method is simple and easy to implement; in obtaining low noise
  • the low-noise angular velocity can be input into the closed-loop motion control system.
  • the angular velocity noise feedback from the sensor directly affects the control accuracy of the closed-loop motion control system. Because the angular velocity noise is small, the control accuracy is effectively improved. Big improvement.
  • Figure 12 is a schematic structural diagram of an angular velocity measurement device provided by an embodiment of the present invention. referring to Figure 12, this embodiment provides an angular velocity measurement device, which can perform the angular velocity measurement shown in Figure 5 above method.
  • the angular velocity measuring device may include:
  • the memory 12 is used to store computer programs
  • the processor 11 is configured to run a computer program stored in the memory 12 to realize:
  • the target angular velocity of the object to be detected in the preset direction is determined according to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions.
  • the structure of the angular velocity measurement device may further include a communication interface 13 for the electronic device to communicate with other devices or a communication network.
  • the processor 11 determines the target of the object to be detected in the preset direction according to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions.
  • the processor 11 is configured to: determine the angular acceleration of the object to be detected in the preset direction according to the linear acceleration of the object to be detected in at least one direction at different positions; The first angular velocity and angular acceleration determine the target angular velocity of the object to be detected in the preset direction.
  • the processor 11 determines the angular acceleration of the object to be detected in a preset direction according to the linear acceleration of the object to be detected in at least one direction at different positions
  • the processor 11 is configured to: Under the coordinate system of the object, obtain the linear acceleration of the preset origin in at least one direction; determine the first distance between the different positions where multiple accelerometers are located; according to the line acceleration in at least one direction at different positions of the object to be detected The acceleration, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the first distance determine the angular acceleration of the object to be detected in the preset direction.
  • the preset direction includes the Y-axis direction; other preset directions include the X-axis direction and the Z-axis direction, and at least one direction includes the Z-axis direction;
  • the first position and the second position set in the negative direction of the X-axis;
  • the processor 11 according to the linear acceleration of the object to be detected in at least one direction at different positions, and the first angular velocity of the object to be detected in other preset directions ,
  • the linear acceleration of the preset origin in at least one direction and the first distance when determining the angular acceleration of the object to be detected in the preset direction, the processor 11 is configured to: according to the Z-axis direction of the object to be detected at the first position
  • the first angular velocity determines the angular acceleration of
  • the processor 11 is further configured to: determine the second distance between the different positions where the multiple accelerometers are located and the preset origin; Detect the linear acceleration of the object in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the second distance, and determine that the object to be detected is at Angular acceleration in the preset direction.
  • the preset direction includes the X-axis direction; other preset directions include the Y-axis direction and the Z-axis direction, and at least one direction includes the Z-axis direction;
  • the processor 11 is further configured to: according to the linear acceleration of the object to be detected in the Z-axis direction at the third position, the preset origin is at Z The linear acceleration in the axis direction, the second distance between the third position and the preset origin, and the first angular velocity of the object to be detected in the Y-axis direction and the Z-axis direction respectively, determine the angle of the object to be detected in the X-axis direction Acceleration.
  • the preset direction includes the Z-axis direction; other preset directions include the X-axis direction and the Y-axis direction, and at least one direction includes the X-axis direction;
  • the processor 11 is further configured to: according to the linear acceleration of the object to be detected in the X-axis direction at the preset origin, the object to be detected is in the first The linear acceleration in the X-axis direction at the three positions, the second distance between the third position and the preset origin, and the first angular velocity of the object to be detected in the X-axis direction and the Y-axis direction respectively, determine that the object to be detected is in Z Angular acceleration in the axis direction.
  • the processor 11 when the processor 11 obtains the linear acceleration of the preset origin in at least one direction, the processor 11 is further configured to: according to the first distance, the second distance, and at least one direction of the object to be detected at different positions Determine the linear acceleration of the preset origin in at least one direction.
  • At least one direction includes the X-axis direction; the different positions where the multiple accelerometers are located include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis; in the processor 11 according to When the linear acceleration of the preset origin in at least one direction is determined by the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, the processor 11 is further configured to: Linear acceleration in the X-axis direction at the first position and the second position, the second distance between the second position and the preset origin, the second distance between the first position and the preset origin, and the first position The first distance from the second position determines the linear acceleration of the preset origin in the X-axis direction.
  • At least one direction includes the Z-axis direction; the different positions of the multiple accelerometers include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis; in the processor 11 according to When the linear acceleration of the preset origin in at least one direction is determined by the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, the processor 11 is further configured to: The linear acceleration in the Z-axis direction at the first position and the second position, the second distance between the second position and the preset origin, the second distance between the first position and the preset origin, and the first position, respectively The first distance from the second position determines the linear acceleration of the preset origin in the Z-axis direction.
  • the processor 11 determines the target angular velocity of the object to be detected in the preset direction according to the first angular velocity and angular acceleration of the object to be detected in the preset direction
  • the processor 11 is also used to:
  • the angular acceleration of the object in the preset direction is high-pass filtered, and the filtered angular acceleration is integrated to obtain the second angular velocity of the object to be detected in the preset direction;
  • the first angular velocity of the object to be detected in the preset direction Low-pass filtering is performed to obtain the third angular velocity of the object to be detected in the preset direction; the sum of the second angular velocity and the third angular velocity is determined as the target angular velocity of the object to be detected in the preset direction.
  • the cut-off frequency for high-pass filtering all angular accelerations is the same as the cut-off frequency for low-pass filtering all first angular velocities.
  • the object to be detected is a camera set on a pan/tilt, and a drive motor is provided on the pan/tilt; the processor 11 is also used to: determine the control parameter corresponding to the drive motor according to the target angular velocity; Control the drive motor to adjust the attitude of the pan/tilt.
  • the device shown in FIG. 12 can execute the method of the embodiment shown in FIG. 5 to FIG. 11.
  • parts that are not described in detail in this embodiment refer to the related description of the embodiment shown in FIG. 5 to FIG. 11.
  • the implementation process and technical effects of this technical solution please refer to the description in the embodiment shown in Fig. 5 to Fig. 11, which will not be repeated here.
  • an embodiment of the present invention provides a computer-readable storage medium, which is characterized in that the storage medium is a computer-readable storage medium, and the computer-readable storage medium stores program instructions, and the program instructions are used to implement the above-mentioned Figure 5- Figure 11 shows the angular velocity measurement method.
  • FIG. 13 is a schematic structural diagram of a photographing device provided by an embodiment of the present invention. referring to FIG. 13, as shown in FIG. 13, this embodiment provides a photographing device 200, which may include:
  • the angular velocity measuring mechanism 100 in the embodiment of FIGS. 1 to 4 described above is mounted on the main body 201 of the device.
  • the realization principle and realization effect of the angular velocity measurement mechanism 100 in the photographing device 200 in this embodiment are the same as the realization principle and realization effect of the device shown in Figs. Go into details again.
  • this embodiment provides another photographing device 200, and the photographing device 200 may include:
  • the angular velocity measuring mechanism 100 in the embodiment in FIG. 12 described above is mounted on the main body 201 of the device.
  • the implementation principle and implementation effect of the angular velocity measurement mechanism 100 in the imaging device 200 in this embodiment are the same as the implementation principles and implementation effects of the device shown in FIG. 12.
  • the implementation principles and implementation effects of the device shown in FIG. 12 are the same as the implementation principles and implementation effects of the device shown in FIG. 12.
  • FIG. 14 is a schematic structural diagram of a pan/tilt head provided by an embodiment of the present invention. referring to FIG. 14, as shown in FIG. 14, this embodiment provides a pan/tilt head 300, which may include:
  • the imaging device 200 shown in FIG. 13 is installed on the main body 301 of the pan/tilt head.
  • the implementation principle and implementation effect of the camera 200 on the pan/tilt 300 in this embodiment are the same as the implementation principles and implementation effects of the device shown in FIG. 13.
  • the implementation principles and implementation effects of the device shown in FIG. 13 please refer to the foregoing statements, and will not be repeated here.
  • FIG. 15 is a schematic structural diagram of a movable platform provided by an embodiment of the present invention. Referring to FIG. 15, as shown in FIG. 15, this embodiment provides a movable platform 400.
  • the movable platform 400 may include:
  • the angular velocity measuring mechanism 100 in the embodiment of FIGS. 1 to 4 described above is installed on the platform main body 401.
  • the realization principle and realization effect of the angular velocity measurement mechanism 100 in the movable platform 400 in this embodiment are the same as the realization principle and realization effect of the device shown in FIGS. 1 to 4 above.
  • the realization principle and realization effect of the device shown in FIGS. 1 to 4 above please refer to the above statement. No longer.
  • this embodiment provides another movable platform 400, and the movable platform 400 may include:
  • the angular velocity measuring mechanism 100 in the embodiment in FIG. 12 described above is installed on the platform main body 401.
  • the implementation principle and implementation effect of the angular velocity measurement mechanism 100 in the movable platform 400 in this embodiment are the same as the implementation principles and implementation effects of the device shown in FIG. 12 above.
  • the implementation principles and implementation effects of the device shown in FIG. 12 above please refer to the above statements, and will not be repeated here. .
  • the movable platform 400 provided above may also include a pan-tilt, and the angular velocity measuring mechanism 100 described above may be installed on the platform main body 401 through the pan-tilt.
  • pan-tilt and pan-tilt control method can be implemented in other ways.
  • the embodiments of the PTZ and handheld PTZ described above are only illustrative.
  • the division of the processor 103 or the memory is only a logical function division, and there may be other division methods in actual implementation.
  • multiple units or components can be combined or integrated into another system, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection between the memory or the processor 103 through some interfaces, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium.
  • the aforementioned storage media include: U disk, mobile hard disk, Read-Only Memory (ROM), Random Access Memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)
  • Gyroscopes (AREA)

Abstract

An angular velocity measurement mechanism, comprising: a gyroscope assembly (101) provided on an object to be detected and used for measuring a first angular velocity of said object in a preset direction; a plurality of accelerometers (102) distributed at different positions of said object and used for measuring linear accelerations of said object in at least one direction at different positions; and a processor (103) communicationally connected to the gyroscope assembly (101) and the plurality of accelerometers (102) and used for determining a target angular velocity of said object in the preset direction according to the first angular velocity of said object in the preset direction and the linear accelerations of said object in at least one direction at different positions. The measurement mechanism is simple in structure, easy to realize and low in cost, and effectively reduces the noise carried by the target angular velocity. Also disclosed are an angular velocity measurement method and apparatus, and a movable platform and a storage medium.

Description

角速度测量机构、方法、装置、可移动平台和存储介质Angular velocity measuring mechanism, method, device, movable platform and storage medium 技术领域Technical field
本发明实施例涉及数据处理技术领域,尤其涉及一种角速度测量机构、方法、装置、可移动平台和存储介质。The embodiments of the present invention relate to the technical field of data processing, and in particular, to an angular velocity measurement mechanism, method, device, movable platform, and storage medium.
背景技术Background technique
随着科学技术的飞速发展,可移动平台的应用越来越广泛,例如:云台可以协助进行专业拍摄;无人机可以协助进行电力巡检、农业灌溉以及专业航拍等等。在对云台、无人机等可移动平台进行控制时,通常会用到陀螺仪来测量可移动平台的角速度,而后将角速度作为反馈信息提供给闭环运动控制系统,以实现对云台、无人机的运动控制。With the rapid development of science and technology, the application of mobile platforms has become more and more extensive. For example, PTZ can assist in professional shooting; drones can assist in power inspections, agricultural irrigation, and professional aerial photography. When controlling a movable platform such as a gimbal and drone, a gyroscope is usually used to measure the angular velocity of the movable platform, and then the angular velocity is provided as feedback information to the closed-loop motion control system to realize the control of the Human-machine motion control.
然而,由于陀螺仪输出的角速度往往是包含噪声的,因此,在闭环运动控制系统基于该角速度对云台、无人机的运动进行控制时,角速度的噪声会直接影响闭环运动控制系统的性能,并且,噪声越大,控制误差越大,控制性能越差。However, since the angular velocity output by the gyroscope often contains noise, when the closed-loop motion control system controls the movement of the gimbal and UAV based on this angular velocity, the noise of the angular velocity will directly affect the performance of the closed-loop motion control system. And, the greater the noise, the greater the control error, and the worse the control performance.
发明内容Summary of the invention
本发明实施例提供了一种角速度测量机构、方法、装置、可移动平台和存储介质,用于解决现有技术中存在的获取的角速度存在噪声,从而会增大基于该角速度进行运行控制过程中所产生的误差,降低控制性能的问题。The embodiments of the present invention provide an angular velocity measurement mechanism, method, device, movable platform, and storage medium, which are used to solve the problem of noise in the acquired angular velocity in the prior art, which will increase the operation control process based on the angular velocity. The resulting error reduces the problem of control performance.
本发明的第一方面是为了提供一种角速度测量机构,包括:The first aspect of the present invention is to provide an angular velocity measuring mechanism, including:
陀螺仪组件,设置于待检测对象上,用于测量所述待检测对象在预设方向上的第一角速度;The gyroscope component is arranged on the object to be detected and used to measure the first angular velocity of the object to be detected in a preset direction;
多个加速度计,分布在所述待检测对象的不同位置,用于测量所述待检测对象在不同位置处的至少一个方向上的线加速度;A plurality of accelerometers, distributed at different positions of the object to be detected, and used to measure the linear acceleration of the object to be detected in at least one direction at different positions;
处理器,与所述陀螺仪组件和多个所述加速度计通信连接,用于获取所述待检测对象在预设方向上的第一角速度和所述待检测对象在不同位置处的至少一个方向上的线加速度,根据所述待检测对象在预设方向上的第一角速 度和所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的目标角速度。The processor is in communication connection with the gyroscope component and a plurality of the accelerometers, and is used to obtain the first angular velocity of the object to be detected in a preset direction and at least one direction of the object to be detected in different positions According to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions, it is determined that the object to be detected is in the preset direction The target angular velocity.
本发明的第二方面是为了提供一种角速度测量机构,包括:The second aspect of the present invention is to provide an angular velocity measuring mechanism, including:
陀螺仪组件,设置于待检测对象上;The gyroscope component is set on the object to be detected;
多个加速度计,分布在所述待检测对象的不同位置;Multiple accelerometers distributed at different positions of the object to be detected;
其中,所述陀螺仪组件与多个所述加速度计用于配合确定所述待检测对象在预设方向上的目标角速度。Wherein, the gyroscope component and a plurality of accelerometers are used to cooperate to determine the target angular velocity of the object to be detected in a preset direction.
本发明的第三方面是为了提供一种角速度测量方法,包括:The third aspect of the present invention is to provide an angular velocity measurement method, including:
通过陀螺仪组件获取待检测对象在预设方向上的第一角速度;Obtain the first angular velocity of the object to be detected in the preset direction through the gyroscope component;
通过多个加速度计获取所述待检测对象在不同位置处的至少一个方向上的线加速度;Acquiring linear accelerations of the object to be detected in at least one direction at different positions by using multiple accelerometers;
根据所述待检测对象在预设方向上的第一角速度和所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的目标角速度。The target angular velocity of the object to be detected in the preset direction is determined according to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions.
本发明的第四方面是为了提供一种角速度测量装置,包括:The fourth aspect of the present invention is to provide an angular velocity measuring device, including:
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于运行所述存储器中存储的计算机程序以实现:The processor is configured to run a computer program stored in the memory to realize:
通过陀螺仪组件获取待检测对象在预设方向上的第一角速度;Obtain the first angular velocity of the object to be detected in the preset direction through the gyroscope component;
通过多个加速度计获取所述待检测对象在不同位置处的至少一个方向上的线加速度;Acquiring linear accelerations of the object to be detected in at least one direction at different positions by using multiple accelerometers;
根据所述待检测对象在预设方向上的第一角速度和所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的目标角速度。The target angular velocity of the object to be detected in the preset direction is determined according to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions.
本发明的第五方面是为了提供一种计算机可读存储介质,所述存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序指令用于第三方面所述的角速度测量方法。The fifth aspect of the present invention is to provide a computer-readable storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used in the third aspect. The angular velocity measurement method described.
本发明的第六方面是为了提供一种拍摄装置,包括:The sixth aspect of the present invention is to provide a photographing device, including:
装置主体;Device body
上述第一方面或第二方面所述的角速度测量机构,安装于所述装置主体上。The angular velocity measuring mechanism according to the first aspect or the second aspect is mounted on the main body of the device.
本发明的第七方面是为了提供一种云台,包括:The seventh aspect of the present invention is to provide a pan-tilt, including:
云台主体;PTZ main body;
上述第六方面所述的拍摄装置,设置于所述云台主体上。The photographing device according to the sixth aspect is arranged on the main body of the pan/tilt.
本发明的第八方面是为了提供一种拍摄装置,包括:The eighth aspect of the present invention is to provide a photographing device, including:
装置主体;Device body
上述第四方面所述的角速度测量装置,安装于所述装置主体上。The angular velocity measuring device described in the fourth aspect is mounted on the main body of the device.
本发明的第九方面是为了提供一种云台,包括:The ninth aspect of the present invention is to provide a pan-tilt, including:
云台主体;PTZ main body;
上述第八方面所述的拍摄装置,设置于所述云台主体上。The photographing device described in the eighth aspect is arranged on the main body of the pan/tilt head.
本发明的第十方面是为了提供一种可移动平台,包括:The tenth aspect of the present invention is to provide a movable platform, including:
平台主体;Platform subject
上述第一方面或第二方面所述的角速度测量机构,安装于所述平台主体上。The angular velocity measuring mechanism according to the first aspect or the second aspect is installed on the platform main body.
本发明的第十一方面是为了提供一种可移动平台,包括:The eleventh aspect of the present invention is to provide a movable platform, including:
平台主体;Platform subject
上述第四方面所述的角速度测量装置,安装于所述平台主体上。The angular velocity measuring device described in the fourth aspect is installed on the main body of the platform.
本发明实施例提供的角速度测量机构、方法、装置、可移动平台和存储介质,通过陀螺仪组件获得待检测对象在预设方向上的第一角速度,通过多个加速度计获得待检测对象在不同位置处的至少一个方向上的线加速度,而后通过处理器对第一角速度和线加速度进行分析处理,获取到待检测对象在预设方向上的目标角速度,有效地减低了目标角速度所携带的噪声,从而降低了基于目标角速度对待检测对象进行控制的控制误差,提高了对待检测对象进行控制的稳定性和精确度。此外,该角速度测量机构的结构简单、容易实现、成本较低,进一步提高了该测量机构的实用性。In the angular velocity measurement mechanism, method, device, movable platform and storage medium provided by the embodiments of the present invention, the first angular velocity of the object to be detected in a preset direction is obtained through a gyroscope component, and the object to be detected is obtained in different directions through multiple accelerometers. The linear acceleration in at least one direction at the position, and then the first angular velocity and linear acceleration are analyzed and processed by the processor to obtain the target angular velocity of the object to be detected in the preset direction, which effectively reduces the noise carried by the target angular velocity , Thereby reducing the control error of controlling the object to be detected based on the target angular velocity, and improving the stability and accuracy of the control of the object to be detected. In addition, the angular velocity measurement mechanism is simple in structure, easy to implement, and low in cost, which further improves the practicability of the measurement mechanism.
附图说明Description of the drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The exemplary embodiments and descriptions of the application are used to explain the application, and do not constitute an improper limitation of the application. In the attached picture:
图1为本发明实施例提供的一种角速度测量机构的结构示意图一;Fig. 1 is a structural schematic diagram 1 of an angular velocity measuring mechanism provided by an embodiment of the present invention;
图2为本发明实施例提供的一种角速度测量机构的结构示意图二;Fig. 2 is a second structural diagram of an angular velocity measuring mechanism provided by an embodiment of the present invention;
图3为本发明实施例提供的一种角速度测量机构的结构示意图三;FIG. 3 is a third structural diagram of an angular velocity measurement mechanism provided by an embodiment of the present invention;
图4为本发明实施例提供的多个加速度计的分布示意图;4 is a schematic diagram of the distribution of multiple accelerometers provided by an embodiment of the present invention;
图5为本发明实施例提供的一种角速度测量方法的流程示意图;5 is a schematic flowchart of an angular velocity measurement method provided by an embodiment of the present invention;
图6为图5实施例中提供的根据所述待检测对象在预设方向上的第一角速度和所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的目标角速度的流程示意图;Fig. 6 is the determination of the object to be detected according to the first angular velocity of the object to be detected in a preset direction and the linear acceleration of the object to be detected in at least one direction at different positions provided in the embodiment of Fig. 5 Schematic diagram of the flow of the target angular velocity in the preset direction;
图7为图6实施例中提供的根据所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的角加速度的流程示意图;FIG. 7 is a schematic flowchart of determining the angular acceleration of the object to be detected in a preset direction according to the linear acceleration of the object to be detected in at least one direction at different positions provided in the embodiment of FIG. 6;
图8为本发明实施例提供的另一种角速度测量方法的流程示意图;FIG. 8 is a schematic flowchart of another angular velocity measurement method provided by an embodiment of the present invention;
图9为图6实施例提供的根据所述待检测对象在预设方向上的所述第一角速度和所述角加速度,确定所述待检测对象在预设方向上的所述目标角速度的流程示意图;FIG. 9 is a process of determining the target angular velocity of the object to be detected in the preset direction according to the first angular velocity and the angular acceleration of the object to be detected in the preset direction provided by the embodiment of FIG. 6 Schematic diagram
图10为本发明实施例提供的又一种角速度测量方法的流程示意图;FIG. 10 is a schematic flowchart of yet another method for measuring angular velocity according to an embodiment of the present invention;
图11为本发明应用实施例提供的一种角速度测量方法的流程示意图;11 is a schematic flowchart of an angular velocity measurement method provided by an application embodiment of the present invention;
图12为本发明实施例提供的一种角速度测量装置的结构示意图;FIG. 12 is a schematic structural diagram of an angular velocity measurement device provided by an embodiment of the present invention;
图13为本发明实施例提供的一种拍摄装置的结构示意图;FIG. 13 is a schematic structural diagram of a photographing device provided by an embodiment of the present invention;
图14为本发明实施例提供的一种云台的结构示意图;FIG. 14 is a schematic structural diagram of a pan-tilt according to an embodiment of the present invention;
图15为本发明实施例提供的一种可移动平台的结构示意图。FIG. 15 is a schematic structural diagram of a movable platform provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention.
为了便于理解本实施例中的技术方案,下面对现有技术进行相关说明:In order to facilitate the understanding of the technical solutions in this embodiment, the related art will be described below:
在对无人机、无人车、无人船、移动机器人等可移动平台的运动控制中, 或者在对可移动平台上挂载的云台的控制中(该云台用于支撑负载,以实现增稳效果),通常需要用到陀螺仪来测量可移动平台或云台的角速度,而后将角速度作为反馈信息提供给闭环运动控制系统,以实现对无人机或云台的运动控制。然而,由于陀螺仪输出的角速度往往是包含噪声的,在闭环运动控制系统基于该角速度对无人机或云台的运动进行控制时,角速度的噪声会直接影响闭环运动控制系统的性能,并且,噪声越大,控制误差越大,控制性能越差。为了解决上述的技术问题,需要使用噪声更小的传感器,然而,这种传感器的成本往往更高、体积更大,不利于对该传感器进行布置或者进行结构设计。In the motion control of movable platforms such as unmanned aerial vehicles, unmanned vehicles, unmanned ships, and mobile robots, or in the control of the PTZ mounted on the movable platform (the PTZ is used to support the load, To achieve the effect of stabilization), it is usually necessary to use a gyroscope to measure the angular velocity of a movable platform or pan/tilt, and then provide the angular velocity as feedback information to the closed-loop motion control system to achieve motion control of the UAV or pan/tilt. However, since the angular velocity output by the gyroscope often contains noise, when the closed-loop motion control system controls the motion of the drone or gimbal based on the angular velocity, the angular velocity noise will directly affect the performance of the closed-loop motion control system, and, The greater the noise, the greater the control error and the worse the control performance. In order to solve the above technical problems, it is necessary to use a sensor with less noise. However, the cost of such a sensor is often higher and the volume is larger, which is not conducive to the arrangement or structural design of the sensor.
图1为本发明实施例提供的一种角速度测量机构的结构示意图一;参考附图1所示,本实施例提供了一种角速度测量机构100,该测量机构100可以大幅度降低所测量的角速度的噪声,从而提高了角速度测量的准确性。具体的,该测量机构100可以包括:Fig. 1 is a structural schematic diagram 1 of an angular velocity measuring mechanism provided by an embodiment of the present invention; referring to Fig. 1, this embodiment provides an angular velocity measuring mechanism 100, which can greatly reduce the measured angular velocity The noise, thereby improving the accuracy of angular velocity measurement. Specifically, the measurement mechanism 100 may include:
陀螺仪组件101,设置于待检测对象上,用于测量待检测对象在预设方向上的第一角速度;The gyroscope assembly 101 is arranged on the object to be detected, and is used to measure the first angular velocity of the object to be detected in a preset direction;
多个加速度计102,分布在待检测对象的不同位置,用于测量待检测对象在不同位置处的至少一个方向上的线加速度;A plurality of accelerometers 102 are distributed at different positions of the object to be detected, and are used to measure the linear acceleration of the object to be detected in at least one direction at different positions;
处理器103,与陀螺仪组件101和多个加速度计102通信连接,用于获取待检测对象在预设方向上的第一角速度和待检测对象在不同位置处的至少一个方向上的线加速度,根据待检测对象在预设方向上的第一角速度和待检测对象在不同位置处的至少一个方向上的线加速度,确定待检测对象在预设方向上的目标角速度。The processor 103 is in communication connection with the gyroscope assembly 101 and the multiple accelerometers 102, and is used to obtain the first angular velocity of the object to be detected in a preset direction and the linear acceleration of the object to be detected in at least one direction at different positions, The target angular velocity of the object to be detected in the preset direction is determined according to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions.
其中,待检测对象可以是指需要检测角速度的任何设备,本实施例对于待检测对象的具体形状结构和结构类型不做限定,本领域技术人员可以根据具体的应用场景和应用需求对待检测对象进行设置,例如,待检测对象可以是指拍摄装置、设置于云台上的拍摄装置、云台、无人机、无人车、无人船等等。Among them, the object to be detected can refer to any device that needs to detect angular velocity. This embodiment does not limit the specific shape structure and structure type of the object to be detected. Those skilled in the art can perform the detection of the object to be detected according to specific application scenarios and application requirements. Setting, for example, the object to be detected may refer to a camera, a camera set on a pan/tilt, a pan/tilt, a drone, an unmanned vehicle, an unmanned boat, etc.
在确定待检测对象之后,可以通过设置于待检测对象上的陀螺仪组件101测量待检测对象在预设方向上的第一角速度,其中,预设方向包括以下至少之一:预设的X轴方向、预设的Y轴方向、预设的Z轴方向。具体实现时,在确定待检测对象之后,可以基于待检测对象建立一预设坐标系,该预设坐标系 可以包括预设的X轴方向、预设的Y轴方向和预设的Z轴方向。而后,通过设置于待检测对象上的陀螺仪组件101可以检测到待检测对象在预设方向上的第一角速度。可以理解的是,本实施例对于陀螺仪组件101的具体形状结构不做限定,本领域技术人员可以根据具体的应用需求和设计需求对陀螺仪组件101的具体结构进行设置,并且,所获得的第一角速度的个数可以为一个或多个,例如,可以只测量待检测对象在预设的X轴方向上的第一角速度;或者,也可以测量待检测对象分别在预设的X轴方向和Y轴方向上的第一角速度等等。After the object to be detected is determined, the first angular velocity of the object to be detected in a preset direction can be measured by the gyroscope assembly 101 arranged on the object to be detected, where the preset direction includes at least one of the following: a preset X axis Direction, preset Y-axis direction, preset Z-axis direction. In specific implementation, after determining the object to be detected, a preset coordinate system can be established based on the object to be detected, and the preset coordinate system can include a preset X-axis direction, a preset Y-axis direction, and a preset Z-axis direction . Then, the first angular velocity of the object to be detected in the preset direction can be detected by the gyroscope component 101 arranged on the object to be detected. It can be understood that this embodiment does not limit the specific shape and structure of the gyroscope assembly 101, and those skilled in the art can set the specific structure of the gyroscope assembly 101 according to specific application requirements and design requirements, and the obtained The number of the first angular velocity can be one or more. For example, only the first angular velocity of the object to be detected in the preset X-axis direction can be measured; or, the object to be detected can also be measured in the preset X-axis direction. And the first angular velocity in the Y-axis direction and so on.
在一些实例中,如图2所示,在预设方向包括三个测量方向(即包括预设的X轴方向、预设的Y轴方向、预设的Z轴方向)时,陀螺仪组件101可以为三轴陀螺仪101a,此时的三轴陀螺仪101a可以检测待检测对象在三个测量方向上的第一角速度,分别包括在预设的X轴方向上的第一角速度、在预设的Y轴方向上的第一角速度和在预设的Z轴方向上的第一角速度。In some examples, as shown in FIG. 2, when the preset direction includes three measurement directions (that is, the preset X-axis direction, the preset Y-axis direction, and the preset Z-axis direction), the gyroscope assembly 101 It can be a three-axis gyroscope 101a. At this time, the three-axis gyroscope 101a can detect the first angular velocity of the object to be detected in the three measurement directions, including the first angular velocity in the preset X-axis direction and the first angular velocity in the preset X-axis direction. The first angular velocity in the Y-axis direction and the first angular velocity in the preset Z-axis direction.
在另一些实例中,如图3所示,在预设方向包括三个测量方向时,陀螺仪组件101也可以包括三个单轴陀螺仪101b,每个单轴陀螺仪101b用于获取一个测量方向上的第一角速度。举例来说,设置于待检测对象上的陀螺仪组件101包括单轴陀螺仪A、单轴陀螺仪B和单轴陀螺仪C,其中,单轴陀螺仪A可以检测待检测对象在预设的X轴方向上的第一角速度,单轴陀螺仪B可以检测待检测对象在预设的Y轴方向上的第一角速度,单轴陀螺仪C可以检测待检测对象在预设的Z轴方向上的第一角速度。In other examples, as shown in FIG. 3, when the preset direction includes three measurement directions, the gyroscope assembly 101 may also include three single-axis gyroscopes 101b, and each single-axis gyroscope 101b is used to obtain one measurement. The first angular velocity in the direction. For example, the gyroscope assembly 101 disposed on the object to be detected includes a single-axis gyroscope A, a single-axis gyroscope B, and a single-axis gyroscope C, where the single-axis gyroscope A can detect that the object to be detected is in a preset The first angular velocity in the X-axis direction, the single-axis gyroscope B can detect the first angular velocity of the object to be detected in the preset Y-axis direction, and the single-axis gyroscope C can detect the object to be detected in the preset Z-axis direction The first angular velocity.
进一步的,在陀螺仪组件101包括三个单轴陀螺仪101b时,为了能够保证陀螺仪组件101对位于同一位置处的第一角速度进行检测的一致性和准确性,三个单轴陀螺仪101b中任意两个单轴陀螺仪101b之间的距离小于预设阈值,简单理解为,三个单轴陀螺仪101b可以尽量位于待检测对象的同一个位置处。Further, when the gyroscope assembly 101 includes three single-axis gyroscopes 101b, in order to ensure the consistency and accuracy of detecting the first angular velocity at the same position by the gyroscope assembly 101, the three single-axis gyroscopes 101b The distance between any two single-axis gyroscopes 101b is less than the preset threshold. It is simply understood that the three single-axis gyroscopes 101b can be located at the same position of the object to be detected as much as possible.
在另一些实例中,在预设方向包括一个或者两个测量方向时,陀螺仪组件101也可以为三轴陀螺仪101a,此时的三轴陀螺仪101a可以检测待检测对象在三个测量方向上的第一角速度,分别包括在预设的X轴方向上的第一角速度、在预设的Y轴方向上的第一角速度和在预设的Z轴方向上的第一角速度,而后可以在所测量的三个第一角速度中选择需要进行数据处理的第一角速度。或者,在预设方向包括一个或者两个测量方向时,陀螺仪组件101也可以为一个或两个单轴陀螺仪101b,每个单轴陀螺仪101b用于获取一个测量方向上的第一角速度;从而有效地实现了对第一角速度的准确测量。In other examples, when the preset direction includes one or two measurement directions, the gyroscope assembly 101 may also be a three-axis gyroscope 101a. At this time, the three-axis gyroscope 101a can detect the object to be detected in three measurement directions. The first angular velocity on the first angular velocity includes the first angular velocity in the preset X-axis direction, the first angular velocity in the preset Y-axis direction, and the first angular velocity in the preset Z-axis direction. Select the first angular velocity that needs data processing among the three measured first angular velocities. Alternatively, when the preset direction includes one or two measurement directions, the gyroscope assembly 101 may also be one or two single-axis gyroscopes 101b, and each single-axis gyroscope 101b is used to obtain the first angular velocity in one measurement direction. ; So as to effectively realize the accurate measurement of the first angular velocity.
另外,本实施例对于多个加速度计102的具体个数不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,如图1-图3所示,多个加速度计102可以为3个,当然的,多个加速度计102的个数并不限于图中所限定的个数,其还可以为4个、5个、6个、7个、8个或者9个等等。多个加速度计102可以分布在待检测对象的不同位置处,以实现测量待检测对象在不同位置处的至少一个方向上的线加速度,也即,多个加速度计102可以测量待检测对象在不同位置处的一个方向或者一个以上方向上的线加速度。其中,至少一个方向包括以下至少之一:预设的X轴方向、预设的Y轴方向、预设的Z轴方向。In addition, this embodiment does not limit the specific number of multiple accelerometers 102, and those skilled in the art can set it according to specific application requirements and design requirements. As shown in Figures 1 to 3, multiple accelerometers 102 can be There are three. Of course, the number of accelerometers 102 is not limited to the number defined in the figure, and it can also be four, five, six, seven, eight, nine, and so on. Multiple accelerometers 102 can be distributed at different positions of the object to be detected, so as to measure the linear acceleration of the object to be detected in at least one direction at different positions. That is, multiple accelerometers 102 can measure the object to be detected in different positions. The linear acceleration in one direction or more than one direction at the location. Wherein, the at least one direction includes at least one of the following: a preset X-axis direction, a preset Y-axis direction, and a preset Z-axis direction.
举例来说,在至少一个方向包括预设的X轴方向时,多个加速度计102可以测量待检测对象在不同位置处的预设的X轴方向上的线加速度;在至少一个方向包括预设的X轴方向和Y轴方向时,多个加速度计102可以测量待检测对象在不同位置处的预设的X轴方向上和预设的Y轴方向上的线加速度;在至少一个方向包括预设的X轴方向、预设的Y轴方向和预设的Z轴方向时,多个加速度计102可以测量待检测对象在不同位置处的预设的X轴方向上、预设的Y轴方向和预设的Z轴方向上的线加速度。For example, when at least one direction includes the preset X-axis direction, the multiple accelerometers 102 may measure the linear acceleration of the object to be detected in the preset X-axis direction at different positions; including the preset X-axis direction in at least one direction. In the X-axis direction and the Y-axis direction, the multiple accelerometers 102 can measure the linear acceleration of the object to be detected in the preset X-axis direction and the preset Y-axis direction at different positions; at least one direction includes the preset X-axis direction and the preset Y-axis direction. When the X-axis direction, the preset Y-axis direction and the preset Z-axis direction are set, multiple accelerometers 102 can measure the preset X-axis direction and the preset Y-axis direction at different positions of the object to be detected. And the preset linear acceleration in the Z-axis direction.
此外,本实施例对于多个加速度计102的具体结构、个数以及设置位置不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,在一些实例中,加速度计102可以包括三轴加速度计102,三轴加速度计102的个数为三个,并且,三个三轴加速度计102可以设置于三个不同位置处,用于测量待检测对象在三个不同位置处的至少一个方向上的线加速度。In addition, this embodiment does not limit the specific structure, number, and location of the multiple accelerometers 102, and those skilled in the art can set them according to specific application requirements and design requirements. In some examples, the accelerometer 102 may include Three-axis accelerometer 102, the number of three-axis accelerometer 102 is three, and the three three-axis accelerometer 102 can be set at three different positions, used to measure at least the object to be detected at three different positions Linear acceleration in one direction.
如图4所示,以三个不同的位置包括位置A、位置B和位置C为例进行说明,可以理解的是,上述的位置A、位置B和位置C并不限于上述图中所标识的位置,本领域技术人员还可以根据具体的应用需求和设计需求将位置A、位置B和位置C设置在其他位置处。As shown in Figure 4, three different positions including position A, position B, and position C are taken as examples for description. It can be understood that the above position A, position B, and position C are not limited to those identified in the above figure. Location, those skilled in the art can also set location A, location B, and location C in other locations according to specific application requirements and design requirements.
在三个不同的位置包括位置A、位置B和位置C时,上述的每个位置处均可以设置一个三轴加速度计102,此时的三轴加速度计102的个数为三个,从而可以测量待检测对象在位置A、位置B和位置C处的至少一个方向上的线加速度。When three different positions include position A, position B, and position C, a three-axis accelerometer 102 can be set at each of the above-mentioned positions. At this time, the number of three-axis accelerometer 102 is three, so that The linear acceleration of the object to be detected in at least one direction at position A, position B, and position C is measured.
在另一些实例中,为了能够保证线加速度测量的稳定可靠性,在对多个加速度计102进行布置时,多个加速度计102所在的位置可以形成一预设平面。并且,多个加速度计102所在的位置可以构成一等腰三角形,或者,多个加速度计102所在的位置还可以构成一等边三角形。进一步的,在待检测对象的坐 标系下,预设平面与坐标系中的坐标平面相互平行或者垂直。In other examples, in order to ensure the stability and reliability of linear acceleration measurement, when multiple accelerometers 102 are arranged, the positions of the multiple accelerometers 102 may form a preset plane. In addition, the locations of multiple accelerometers 102 may form an isosceles triangle, or the locations of multiple accelerometers 102 may also form an equilateral triangle. Further, in the coordinate system of the object to be detected, the preset plane and the coordinate plane in the coordinate system are parallel or perpendicular to each other.
具体的,以待检测对象为拍摄装置为例,可以基于拍摄装置建立一预设坐标系,其中,平行或重合光轴的方向可以是X轴方向,与X轴方向平行朝左的方向可以是Y轴方向,竖直向上的方向可以是Z轴方向,并且,坐标系中的预设原点的位置可以发生变化,只要符合上述的关系即可。Specifically, taking the object to be detected as the photographing device as an example, a preset coordinate system can be established based on the photographing device, where the direction parallel or coincident with the optical axis can be the X-axis direction, and the direction parallel to the X-axis direction to the left can be The Y-axis direction and the vertical upward direction may be the Z-axis direction, and the position of the preset origin in the coordinate system may be changed as long as the above relationship is met.
进一步的,在多个加速度计102为三个三轴加速度计102时,三个三轴加速度计102可以设置于拍摄装置上的三个不同位置处,三个不同位置处可以为拍摄装置的壳体上的三个不同位置,如图4所示,在预设的坐标系XYZ中,三个三轴加速度计102所在的位置A、位置B和位置C构成了一预设平面P,其中,位置A、位置B和位置C可以构成一等腰三角形或者等边三角形,并且,上述的预设平面P可以与坐标系中的XY平面相互平行,或者,也可以认为该预设平面P与坐标系中的XZ平面相互垂直。通过上述布局的三轴加速度计102,不仅可以准确地获取到在位置A、位置B和位置C处的至少一个方向上的线加速度,并且方便基于所获取到的线加速度进行分析处理,进而提高了对目标角速度进行获取的质量和效率。Further, when the multiple accelerometers 102 are three three-axis accelerometers 102, the three three-axis accelerometers 102 can be arranged at three different positions on the camera, and the three different positions can be the shell of the camera. Three different positions on the body, as shown in Fig. 4, in the preset coordinate system XYZ, the position A, the position B and the position C where the three three-axis accelerometers 102 are located constitute a preset plane P, in which, Position A, position B, and position C can form an isosceles triangle or an equilateral triangle, and the aforementioned preset plane P can be parallel to the XY plane in the coordinate system, or it can also be considered that the preset plane P and the coordinates The XZ planes in the system are perpendicular to each other. Through the three-axis accelerometer 102 of the above layout, not only the linear acceleration in at least one direction at position A, position B, and position C can be accurately obtained, but also the analysis and processing based on the obtained linear acceleration can be facilitated, thereby improving The quality and efficiency of obtaining the target angular velocity are improved.
在又一些实例中,加速度计102还可以包括单轴加速度计102,单轴加速度计102的个数为九个,九个单轴加速度计102同样可以设置于三个不同位置处,用于测量待检测对象在三个不同位置处的至少一个方向上的线加速度。进一步的,每三个单轴加速度计102可以设置于同一位置,九个单轴加速度计102所在的位置形成一预设平面。In still other examples, the accelerometer 102 may also include a single-axis accelerometer 102. The number of single-axis accelerometers 102 is nine. The nine single-axis accelerometers 102 can also be set at three different positions for measurement. The linear acceleration of the object to be detected in at least one direction at three different positions. Further, every three single-axis accelerometers 102 can be set at the same position, and the positions of the nine single-axis accelerometers 102 form a preset plane.
同样的,以待检测对象为拍摄装置为例,在多个加速度计102包括九个单轴加速度计102时,九个单轴加速度计102可以设置于拍摄装置上的三个不同位置处,三个不同位置处可以为拍摄装置的壳体上的三个不同位置,如图4所示,九个三轴加速度计102所在的位置A、位置B和位置C构成了一预设平面P,其中,在位置A处可以设置有三个单轴加速度计102,每个单轴加速度计102可以测量待检测对象在一个方向上的线加速度;同理的,位置B处可以设置有三个单轴加速度计102,每个单轴加速度计102可以测量待检测对象在一个方向上的线加速度;位置C处可以设置有三个单轴加速度计102,每个单轴加速度计102可以测量待检测对象在一个方向上的线加速度。需要注意的是,当同一个位置处设置三个单轴加速度计102时,三个单轴加速度计102中任意两个单轴加速度计102之间的距离小于预设阈值,以使得三个单轴加速度计102可以 尽量位于待检测对象的同一个位置处,从而提高了对线加速度进行获取的准确性和精确度。Similarly, taking the object to be detected as a photographing device as an example, when the multiple accelerometers 102 include nine single-axis accelerometers 102, the nine single-axis accelerometers 102 can be set at three different positions on the photographing device. The three different positions can be three different positions on the housing of the camera. As shown in FIG. 4, position A, position B, and position C where the nine three-axis accelerometers 102 are located constitute a preset plane P, where , Three single-axis accelerometers 102 can be set at position A, and each single-axis accelerometer 102 can measure the linear acceleration of the object to be detected in one direction; similarly, three single-axis accelerometers can be set at position B 102, each single-axis accelerometer 102 can measure the linear acceleration of the object to be detected in one direction; three single-axis accelerometers 102 can be set at position C, and each single-axis accelerometer 102 can measure the object to be detected in one direction The linear acceleration on the surface. It should be noted that when three single-axis accelerometers 102 are set at the same position, the distance between any two single-axis accelerometers 102 among the three single-axis accelerometers 102 is less than the preset threshold, so that the three single-axis accelerometers 102 The axial accelerometer 102 can be located at the same position of the object to be detected as much as possible, thereby improving the accuracy and precision of acquiring the linear acceleration.
需要注意的是,多个加速度计102所设置的位置并不限于上述所例举的三个位置,还可以是其他个数的位置,例如:多个加速度计102可以设置于待检测对象上的4个位置、5个位置或者6个位置等等,本领域技术人员可以根据具体的应用需求和设计需求进行设置,只要能够保证多个加速度计102所在的位置尽量构成一个规则的形状(例如:正方形、长方形、正五边形、正六边形等等)即可,以便于对加速度计102所获得的线加速度进行分析处理。It should be noted that the positions set by the multiple accelerometers 102 are not limited to the three positions listed above, and may also be other positions. For example, multiple accelerometers 102 may be set on the object to be detected. 4 positions, 5 positions or 6 positions, etc., those skilled in the art can set according to specific application requirements and design requirements, as long as the positions of multiple accelerometers 102 can be ensured to form a regular shape as much as possible (for example: Square, rectangle, regular pentagon, regular hexagon, etc.), so as to analyze and process the linear acceleration obtained by the accelerometer 102.
进一步的,在通过陀螺仪组件101获得待检测对象在预设方向上的第一角速度、以及多个加速度计102获得待检测对象在不同位置处的至少一个方向上的线加速度之后,处理器103可以获取到待检测对象在预设方向上的第一角速度和待检测对象在不同位置处的至少一个方向上的线加速度,而后可以对上述的第一角速度和线加速度进行分析处理,以确定待检测对象在预设方向上的目标角速度,从而有效地获得的降低了目标角速度的噪声,进而提高了目标角速度获取的准确可靠性。需要说明的是,所获得的目标角速度所在的预设方向与上述的线加速度所在的至少一个方向、以及第一角速度所在的预设方向不同或者部分不同。Further, after obtaining the first angular velocity of the object to be detected in the preset direction through the gyroscope component 101 and the multiple accelerometers 102 obtaining the linear acceleration of the object to be detected in at least one direction at different positions, the processor 103 The first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions can be acquired, and then the above-mentioned first angular velocity and linear acceleration can be analyzed and processed to determine the object to be detected. The target angular velocity of the object in the preset direction is detected, thereby effectively reducing the noise of the target angular velocity, thereby improving the accuracy and reliability of the target angular velocity acquisition. It should be noted that the preset direction in which the obtained target angular velocity is located is different or partially different from at least one direction in which the linear acceleration is located and the preset direction in which the first angular velocity is located.
在另一些实例中,上述实施例中角速度测量机构100所包括的陀螺仪组件101和多个加速度计102可以由三个惯性测量单元(Inertial measurement unit,简称IMU)所替代,具体的,角速度测量机构100可以包括三个IMU和一个处理器103,其中,三个IMU分别与处理器103通信连接,每个IMU可以包括三个单轴加速度计和三个单轴陀螺仪,并且,三个IMU可以设置于待检测对象的三个不同的位置处,以实现通过IMU中包括的单轴陀螺仪测量待检测对象在预设方向上的第一角速度,通过IMU中包括的单轴加速度计测量待检测对象在不同位置处的至少一个方向上的线加速度。具体应用时,本领域技术人员可以根据具体的应用需求选择不同结构的角速度测量机构100,只要能够保证角速度测量机构100可以稳定、有效地实现角速度的测量即可,在此不再赘述。In other examples, the gyroscope assembly 101 and the multiple accelerometers 102 included in the angular velocity measurement mechanism 100 in the foregoing embodiment may be replaced by three inertial measurement units (IMUs). Specifically, the angular velocity measurement The mechanism 100 may include three IMUs and a processor 103, wherein the three IMUs are respectively connected to the processor 103 in communication, each IMU may include three single-axis accelerometers and three single-axis gyroscopes, and three IMUs It can be set at three different positions of the object to be detected to realize the measurement of the first angular velocity of the object to be detected in the preset direction by the single-axis gyroscope included in the IMU, and the single-axis accelerometer included in the IMU to measure the first angular velocity of the object to be detected. The linear acceleration of the object in at least one direction at different positions is detected. In specific applications, those skilled in the art can choose angular velocity measurement mechanisms 100 of different structures according to specific application requirements, as long as the angular velocity measurement mechanism 100 can ensure that the angular velocity measurement mechanism 100 can stably and effectively achieve angular velocity measurement, which will not be repeated here.
本实施例提供的角速度测量机构100,通过陀螺仪组件101获得待检测对象在预设方向上的第一角速度,通过多个加速度计102获得待检测对象在不同位置处的至少一个方向上的线加速度,而后通过处理器103对第一角速度和线加速度进行分析处理,获取到待检测对象在预设方向上的目标角速度,有效 地减低了目标角速度所携带的噪声,从而降低了基于目标角速度对待检测对象进行控制的控制误差,提高了对待检测对象进行控制的稳定性和精确度。此外,该角速度测量机构100的结构简单、容易实现、成本较低,进一步提高了该测量机构100的实用性。The angular velocity measurement mechanism 100 provided in this embodiment obtains the first angular velocity of the object to be detected in a preset direction through the gyroscope assembly 101, and obtains the line of the object to be detected in at least one direction at different positions through a plurality of accelerometers 102 Then, the processor 103 analyzes and processes the first angular velocity and linear acceleration to obtain the target angular velocity of the object to be detected in the preset direction, which effectively reduces the noise carried by the target angular velocity, thereby reducing the processing based on the target angular velocity. The control error in the control of the object to be detected improves the stability and accuracy of the control of the object to be detected. In addition, the angular velocity measuring mechanism 100 is simple in structure, easy to implement, and low in cost, which further improves the practicability of the measuring mechanism 100.
在上述实施例的基础上,继续参考附图1-4所示,在处理器103根据待检测对象在预设方向上的第一角速度和待检测对象在不同位置处的至少一个方向上的线加速度,确定待检测对象在预设方向上的目标角速度时,该处理器103,具体用于:On the basis of the foregoing embodiment, with continued reference to FIGS. 1-4, in the processor 103 according to the first angular velocity of the object to be detected in a preset direction and the line of the object to be detected in at least one direction at different positions Acceleration, when determining the target angular velocity of the object to be detected in the preset direction, the processor 103 is specifically configured to:
根据待检测对象在不同位置处的至少一个方向上的线加速度,确定待检测对象在预设方向上的角加速度;Determine the angular acceleration of the object to be detected in a preset direction according to the linear acceleration of the object to be detected in at least one direction at different positions;
根据待检测对象在预设方向上的第一角速度和角加速度,确定待检测对象在预设方向上的目标角速度。According to the first angular velocity and angular acceleration of the object to be detected in the preset direction, the target angular velocity of the object to be detected in the preset direction is determined.
其中,在处理器103获取到待检测对象在不同位置处的至少一个方向上的线加速度之后,可以对线加速度进行分析处理,从而可以确定待检测对象在预设方向上的角加速度。具体的,在处理器103根据待检测对象在预设方向上的第一角速度和角加速度,确定待检测对象在预设方向上的目标角速度时,该处理器103,具体用于:Wherein, after the processor 103 obtains the linear acceleration of the object to be detected in at least one direction at different positions, the linear acceleration can be analyzed and processed, so that the angular acceleration of the object to be detected in the preset direction can be determined. Specifically, when the processor 103 determines the target angular velocity of the object to be detected in the preset direction according to the first angular velocity and angular acceleration of the object to be detected in the preset direction, the processor 103 is specifically configured to:
在待检测对象的坐标系下,获取预设原点在至少一个方向上的线加速度;Acquire the linear acceleration of the preset origin in at least one direction in the coordinate system of the object to be detected;
确定多个加速度计102所在的不同位置之间的第一距离;Determine the first distance between the different positions where the multiple accelerometers 102 are located;
根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第一距离,确定待检测对象在预设方向上的角加速度。According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the first distance, determine the object to be detected The angular acceleration of the object in a preset direction.
具体的,在确定待检测对象之后,可以基于待检测对象建立一坐标系,该坐标系中包括预设原点,而后处理器103可以获取预设原点在至少一个方向上的线加速度。可以理解的是,上述的至少一个方向可以包括以下至少之一:预设X轴方向、预设Y轴方向和预设Z轴方向,而其他预设方向是不同于至少一个方向的其他坐标轴方向。举例来说,在至少一个方向包括预设X轴方向时,其他预设方向则包括预设Y轴方向和预设Z轴方向;在至少一个方向包括预设X轴方向和预设Z轴方向时,其他预设方向则包括预设Y轴方向。Specifically, after the object to be detected is determined, a coordinate system can be established based on the object to be detected, the coordinate system includes a preset origin, and the post-processor 103 can obtain the linear acceleration of the preset origin in at least one direction. It can be understood that the above at least one direction may include at least one of the following: a preset X-axis direction, a preset Y-axis direction, and a preset Z-axis direction, and the other preset directions are other coordinate axes that are different from at least one direction. direction. For example, when at least one direction includes the preset X-axis direction, other preset directions include the preset Y-axis direction and the preset Z-axis direction; at least one direction includes the preset X-axis direction and the preset Z-axis direction When, the other preset directions include the preset Y-axis direction.
另外,在待检测对象的坐标系下,可以识别多个加速度计102所在的不同位置,而后确定不同位置之间的第一距离。举例来说,在多个加速度计102设 置于坐标系中的位置A、位置B和位置C处时,处理器103可以获取到位置A与位置B之间的第一距离、位置A与位置C之间的第一距离、位置B与位置C之间的第一距离。In addition, in the coordinate system of the object to be detected, different positions where multiple accelerometers 102 are located can be identified, and then the first distance between the different positions can be determined. For example, when multiple accelerometers 102 are set at position A, position B, and position C in the coordinate system, the processor 103 may obtain the first distance between position A and position B, and position A and position C. The first distance between the first distance, the first distance between the position B and the position C.
在获取到待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第一距离之后,可以对检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第一距离进行分析识别,以确定待检测对象在预设方向上的角加速度。After acquiring the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the first distance, The linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the first distance can be analyzed and identified, To determine the angular acceleration of the object to be detected in the preset direction.
举例来说,预设方向包括Y轴方向;其他预设方向包括X轴方向和Z轴方向,至少一个方向包括Z轴方向;多个加速度计102所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;此时,在处理器103根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第一距离,确定待检测对象在预设方向上的角加速度时,该处理器103具体用于:For example, the preset direction includes the Y-axis direction; other preset directions include the X-axis direction and the Z-axis direction, and at least one direction includes the Z-axis direction; The first position and the second position set in the negative direction of the X-axis; at this time, the processor 103 according to the linear acceleration of the object to be detected in at least one direction at different positions, and the position of the object to be detected in other preset directions When the first angular velocity, the linear acceleration of the preset origin in at least one direction and the first distance determine the angular acceleration of the object to be detected in the preset direction, the processor 103 is specifically configured to:
根据待检测对象在第一位置处的Z轴方向上的线加速度、待检测对象在第二位置处的Z轴方向上的线加速度、第二位置与第一位置之间的第一距离、待检测对象分别在X轴方向和Z轴方向上的第一角速度,确定待检测对象在Y轴方向上的角加速度。According to the linear acceleration of the object to be detected in the Z-axis direction at the first position, the linear acceleration of the object to be detected in the Z-axis direction at the second position, the first distance between the second position and the first position, and the Detect the first angular velocity of the object in the X-axis direction and the Z-axis direction, and determine the angular acceleration of the object to be detected in the Y-axis direction.
具体的,以第一位置为位置A、第二位置为位置B和第三位置为位置C为例,继续参考附图4所示,通过陀螺仪组件101和多个加速度计102可以获取到:待检测对象在位置A处的Z轴方向上的线加速度a Az、待检测对象在位置B处的Z轴方向上的线加速度a Bz、待检测对象在X轴方向上的第一角速度w X,待检测对象在Z轴方向上的第一角速度w Z,而后可以确定位置B和位置A之间的第一距离L AB,之后,处理器103可以对上述的线加速度a Az、线加速度a Bz、第一距离L AB、第一角速度w X和第一角速度w Z进行处理,从而确定待检测对象在Y轴方向上的角加速度
Figure PCTCN2020072826-appb-000001
具体的,
Figure PCTCN2020072826-appb-000002
Specifically, taking the first position as position A, the second position as position B, and the third position as position C as an example, as shown in FIG. 4, the following can be obtained through the gyroscope assembly 101 and multiple accelerometers 102: The linear acceleration a Az of the object to be detected in the Z-axis direction at position A, the linear acceleration a Bz of the object to be detected in the Z-axis direction at position B, and the first angular velocity w X of the object to be detected in the X-axis direction , The first angular velocity w Z of the object to be detected in the Z-axis direction , and then the first distance L AB between the position B and the position A can be determined, and then, the processor 103 can calculate the linear acceleration a Az and the linear acceleration a Bz , the first distance L AB , the first angular velocity w X and the first angular velocity w Z are processed to determine the angular acceleration of the object to be detected in the Y-axis direction
Figure PCTCN2020072826-appb-000001
specific,
Figure PCTCN2020072826-appb-000002
本实施例中,处理器103通过获取预设原点在至少一个方向上的线加速度,确定多个加速度计102所在的不同位置之间的第一距离,而后根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第一距离,确定待 检测对象在预设方向上的角加速度,有效地保证了对待检测对象在预设方向上的角加速度进行获取的准确可靠性,进一步提高了基于角加速度确定目标角速度的准确度。In this embodiment, the processor 103 determines the first distance between the different positions where the multiple accelerometers 102 are located by acquiring the linear acceleration of the preset origin in at least one direction, and then determines the first distance between the different positions of the multiple accelerometers 102 according to the at least The linear acceleration in one direction, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the first distance to determine the angular acceleration of the object to be detected in the preset direction, This effectively guarantees the accuracy and reliability of acquiring the angular acceleration of the object to be detected in the preset direction, and further improves the accuracy of determining the target angular velocity based on the angular acceleration.
在上述实施例的基础上,继续参考附图1-4所示,又一种确定待检测对象在预设方向上的角加速度的方式为,在获取预设原点在至少一个方向上的线加速度之后,处理器103,还用于:On the basis of the foregoing embodiment, with continued reference to FIGS. 1-4, another way to determine the angular acceleration of the object to be detected in the preset direction is to obtain the linear acceleration of the preset origin in at least one direction. After that, the processor 103 is also used for:
确定多个加速度计102所在的不同位置与预设原点之间的第二距离;Determine the second distance between the different positions where the multiple accelerometers 102 are located and the preset origin;
根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离,确定待检测对象在预设方向上的角加速度。According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the second distance, determine the object to be detected The angular acceleration of the object in a preset direction.
具体的,在确定待检测对象之后,可以基于待检测对象建立一坐标系,该坐标系中包括预设原点,在待检测对象的坐标系下,可以识别多个加速度计102所在的不同位置,而后确定不同位置与预设原点之间的第二距离。举例来说,在预设原点为位置O,多个加速度计102设置于坐标系中的位置A、位置B和位置C处时,处理器103可以获取到位置A与位置O之间的第二距离、位置B与位置0之间的第二距离、位置C与位置O之间的第二距离。Specifically, after the object to be detected is determined, a coordinate system can be established based on the object to be detected. The coordinate system includes a preset origin. In the coordinate system of the object to be detected, different positions where multiple accelerometers 102 are located can be identified. Then the second distance between the different position and the preset origin is determined. For example, when the preset origin is position O, and multiple accelerometers 102 are set at positions A, B, and C in the coordinate system, the processor 103 can obtain the second position between position A and position O. Distance, second distance between position B and position 0, second distance between position C and position O.
在获取到待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离之后,可以对检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离进行分析识别,以确定待检测对象在预设方向上的角加速度。After acquiring the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the second distance, The linear acceleration of the detection object in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the second distance can be analyzed and identified, To determine the angular acceleration of the object to be detected in the preset direction.
在一些实例中,预设方向包括X轴方向;其他预设方向包括Y轴方向和Z轴方向,至少一个方向包括Z轴方向;多个加速度计102所在的不同位置包括设置于Y轴方向上的第三位置;此时,在处理器103根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离,确定待检测对象在预设方向上的角加速度时,该处理器103,具体用于:In some examples, the preset direction includes the X-axis direction; the other preset directions include the Y-axis direction and the Z-axis direction, and at least one direction includes the Z-axis direction; the different positions of the multiple accelerometers 102 include the Y-axis direction. The third position; at this time, the processor 103 according to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, and the preset origin in at least one direction When determining the angular acceleration of the object to be detected in the preset direction, the processor 103 is specifically configured to:
根据待检测对象在第三位置处的Z轴方向上的线加速度、预设原点在Z轴方向上的线加速度、第三位置与预设原点之间的第二距离、待检测对象分别在Y轴方向和Z轴方向上的第一角速度,确定待检测对象在X轴方向上的角加速 度。According to the linear acceleration in the Z-axis direction of the object to be detected at the third position, the linear acceleration in the Z-axis direction of the preset origin, the second distance between the third position and the preset origin, and the object to be detected in Y The first angular velocity in the axial direction and the Z-axis direction determines the angular acceleration of the object to be detected in the X-axis direction.
具体的,继续参考附图4所示,通过陀螺仪组件101和多个加速度计102可以获取到:待检测对象在位置C处的Z轴方向上的线加速度a Cz、待检测对象在位置O处的Z轴方向上的线加速度a Oz、待检测对象在Y轴方向上的第一角速度w Y、待检测对象在Z轴方向上的第一角速度w z,而后可以确定位置C和位置O之间的第二距离L OC,之后,处理器103可以对上述的线加速度a Cz、线加速度a Oz、第二距离L OC、第一角速度w Y和第一角速度w Z进行处理,从而确定待检测对象在X轴方向上的角加速度
Figure PCTCN2020072826-appb-000003
具体的,
Figure PCTCN2020072826-appb-000004
Specifically, continuing to refer to FIG. 4, the gyroscope assembly 101 and the multiple accelerometers 102 can obtain: the linear acceleration a Cz of the object to be detected in the Z-axis direction at the position C, and the object to be detected at the position O The linear acceleration a Oz in the Z-axis direction at, the first angular velocity w Y of the object to be detected in the Y-axis direction, the first angular velocity w z of the object to be detected in the Z-axis direction, and then the position C and the position O can be determined L OC distance between the second, after the processor 103 of the above-described linear acceleration can be a Cz, linear acceleration a Oz, L OC second distance, the first angular velocity and the first angular velocity w Y w Z processed to determine Angular acceleration of the object to be detected in the X-axis direction
Figure PCTCN2020072826-appb-000003
specific,
Figure PCTCN2020072826-appb-000004
在另一些实例中,预设方向包括Z轴方向;其他预设方向包括X轴方向和Y轴方向,至少一个方向包括X轴方向;多个加速度计102所在的不同位置包括设置于Y轴方向上的第三位置;此时,在处理器103根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离,确定待检测对象在预设方向上的角加速度时,该处理器103,具体用于:In other examples, the preset direction includes the Z-axis direction; other preset directions include the X-axis direction and the Y-axis direction, and at least one direction includes the X-axis direction; and the different positions where the multiple accelerometers 102 are located include the Y-axis direction. At this time, the processor 103 is based on the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, and the preset origin is at least one When the linear acceleration in the direction and the second distance determine the angular acceleration of the object to be detected in the preset direction, the processor 103 is specifically configured to:
根据待检测对象在预设原点处的X轴方向上的线加速度、待检测对象在第三位置处的X轴方向上的线加速度、第三位置与预设原点之间的第二距离、待检测对象分别在X轴方向和Y轴方向上的第一角速度,确定待检测对象在Z轴方向上的角加速度。According to the linear acceleration of the object to be detected in the X-axis direction at the preset origin, the linear acceleration of the object to be detected in the X-axis direction at the third position, the second distance between the third position and the preset origin, and the Detect the first angular velocity of the object in the X-axis direction and the Y-axis direction, and determine the angular acceleration of the object to be detected in the Z-axis direction.
具体的,继续参考附图4所示,通过陀螺仪组件101和多个加速度计102可以获取到:待检测对象在位置O处的X轴方向上的线加速度a Ox,待检测对象在位置C处的X轴方向上的线加速度a Cx,待检测对象在Y轴方向上的第一角速度w Y,待检测对象在X轴方向上的第一角速度w X,而后可以确定位置C和位置O之间的第二距离L OC,之后,处理器103可以对上述的线加速度a Ox、线加速度a Cx、第二距离L OC、第一角速度w Y和第一角速度w X进行处理,从而确定待检测对象在X轴方向上的角加速度
Figure PCTCN2020072826-appb-000005
具体的,
Figure PCTCN2020072826-appb-000006
Specifically, continuing to refer to FIG. 4, the gyroscope assembly 101 and multiple accelerometers 102 can obtain: the linear acceleration a Ox of the object to be detected in the X-axis direction at position O, and the object to be detected at position C line X-axis direction at the acceleration a Cx, the object to be detected in the Y-axis direction Y W first angular velocity, the angular velocity W of the first object to be detected in the X-X axis direction, and position C can then be determined position O the distance between the second L OC, then, processor 103 may be the above-described linear acceleration of a Ox, linear acceleration a Cx, L OC second distance, the first angular velocity and the first angular velocity w Y w X processed to determine Angular acceleration of the object to be detected in the X-axis direction
Figure PCTCN2020072826-appb-000005
specific,
Figure PCTCN2020072826-appb-000006
需要注意的是,上述所限定的X轴方向、Y轴方向、Z轴方向、位置A、位置B和位置C只是为了方便对本实施例的实现过程进行描述,具体实现时,X轴方向、Y轴方向和Z轴方向可以并不是基于待检测对象所建立的坐标方向,还可以是其他方向,相类似的,位置A、位置B和位置C的位置也可以并不限定于是位于坐标轴上的点,还可以是位于坐标系中的其他位置点,只是对于位置A、 位置B和位置C而言,在将位置A、位置B和位置C的位置限定在位于坐标轴上时,可以方便基于位置A、位置B和位置C的位置进行角速度的测量计算。It should be noted that the above-defined X-axis direction, Y-axis direction, Z-axis direction, position A, position B, and position C are only for the convenience of describing the implementation process of this embodiment. In specific implementation, the X-axis direction, Y-axis direction, and Y-axis direction The axis direction and the Z axis direction may not be based on the coordinate direction established by the object to be detected, but may also be other directions. Similarly, the positions of position A, position B, and position C may not be limited to being on the coordinate axis. The point can also be other position points in the coordinate system, but for position A, position B, and position C, when the positions of position A, position B, and position C are limited to be on the coordinate axis, it can be conveniently based on The angular velocity is measured and calculated for the positions of position A, position B and position C.
本实施例中,通过确定多个加速度计102所在的不同位置与预设原点之间的第二距离;并根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离,确定待检测对象在预设方向上的角加速度,有效地实现了通过其他的方式也可以获取待检测对象在预设方向上的角加速度,并且可以保证角加速度进行获取的准确可靠性,进一步提高了该测量机构100使用的灵活可靠性。In this embodiment, the second distance between the different positions of the multiple accelerometers 102 and the preset origin is determined; and according to the linear acceleration of the object to be detected in at least one direction at different positions, the object to be detected is in other directions. The first angular velocity in the preset direction, the linear acceleration of the preset origin in at least one direction, and the second distance are used to determine the angular acceleration of the object to be detected in the preset direction. The angular acceleration of the object in the preset direction is detected, and the accuracy and reliability of the acquisition of the angular acceleration can be ensured, which further improves the flexibility and reliability of the measurement mechanism 100 in use.
在上述实施例的基础上,继续参考附图1-4所示,在处理器103获取预设原点在至少一个方向上的线加速度时,本实施例对于线加速度的具体获取方式不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,较为优选的,在处理器103获取预设原点在至少一个方向上的线加速度时,该处理器103,具体用于:根据第一距离、第二距离和待检测对象在不同位置处的至少一个方向上的线加速度,确定预设原点在至少一个方向上的线加速度。On the basis of the foregoing embodiment, with continued reference to FIGS. 1-4, when the processor 103 obtains the linear acceleration of the preset origin in at least one direction, this embodiment does not limit the specific method of obtaining the linear acceleration. Those skilled in the art can make settings according to specific application requirements and design requirements. Preferably, when the processor 103 obtains the linear acceleration of the preset origin in at least one direction, the processor 103 is specifically configured to: The distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions determine the linear acceleration of the preset origin in at least one direction.
在一些实例中,至少一个方向包括X轴方向;多个加速度计102所在的不同位置可以包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;此时,在处理器103根据第一距离、第二距离和待检测对象在不同位置处的至少一个方向上的线加速度,确定预设原点在至少一个方向上的线加速度时,该处理器103,具体用于:根据待检测对象分别在第一位置和第二位置处的X轴方向上的线加速度、第二位置与预设原点之间的第二距离、第一位置与预设原点之间的第二距离以及第一位置与第二位置之间的第一距离,确定所预设原点在X轴方向上的线加速度。In some examples, at least one direction includes the X-axis direction; the different positions where the multiple accelerometers 102 are located may include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis; in this case, When the processor 103 determines the linear acceleration of the preset origin in at least one direction according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, the processor 103 specifically uses于: According to the linear acceleration of the object to be detected in the X-axis direction at the first position and the second position, the second distance between the second position and the preset origin, and the first position between the first position and the preset origin The second distance and the first distance between the first position and the second position determine the linear acceleration of the preset origin in the X-axis direction.
具体的,以第一位置为位置A、第二位置为位置B和第三位置为位置C为例,继续参考附图4所示,通过多个加速度计102可以获取到:待检测对象在位置B处的X轴方向上的线加速度a Bx、待检测对象在位置A处的X轴方向上的线加速度a Ax,而后可以确定位置A和位置O之间的第二距离L OA、位置B和位置O之间的第二距离L BO、位置B和位置A之间的第一距离L AB,之后,处理器103可以对上述的线加速度a Bx、线加速度a Ax、第一距离L AB、第二距离L OA和第二距离L BO进行处理,从而确定预设原点在X轴方向上的线加速度a Ox,具体的,a Ox=(a BxL OA+a AxL BO)/L ABSpecifically, taking the first position as position A, the second position as position B, and the third position as position C as an example, as shown in FIG. 4, multiple accelerometers 102 can obtain: The linear acceleration a Bx in the X-axis direction at B, the linear acceleration a Ax in the X-axis direction of the object to be detected at position A , and then the second distance L OA and position B between position A and position O can be determined The second distance L BO between the position O and the position O , and the first distance L AB between the position B and the position A. After that, the processor 103 can calculate the linear acceleration a Bx , the linear acceleration a Ax , and the first distance L AB. , The second distance L OA and the second distance L BO are processed to determine the linear acceleration a Ox of the preset origin in the X-axis direction, specifically, a Ox =(a Bx L OA +a Ax L BO )/L AB .
在另一些实例中,至少一个方向包括Z轴方向;多个加速度计102所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;此时,在处理器103根据第一距离、第二距离和待检测对象在不同位置处的至少一个方向上的线加速度,确定预设原点在至少一个方向上的线加速度时,该处理器103,具体用于:根据待检测对象分别在第一位置和第二位置处的Z轴方向上的线加速度、第二位置与预设原点之间的第二距离、第一位置与预设原点之间的第二距离以及第一位置与第二位置之间的第一距离,确定所预设原点在Z轴方向上的线加速度。In other examples, at least one direction includes the Z-axis direction; the different positions where the multiple accelerometers 102 are located include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis; in this case, When the processor 103 determines the linear acceleration of the preset origin in at least one direction according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, the processor 103 specifically uses于: According to the linear acceleration of the object to be detected in the Z-axis direction at the first position and the second position, the second distance between the second position and the preset origin, the first position between the first position and the preset origin The second distance and the first distance between the first position and the second position determine the linear acceleration of the preset origin in the Z-axis direction.
具体的,继续参考附图4所示,通过多个加速度计102可以获取到:待检测对象在位置B处的Z轴方向上的线加速度a Bz、待检测对象在位置A处的Z轴方向上的线加速度a Az,而后可以确定位置A和位置O之间的第二距离L OA、位置B和位置O之间的第二距离L BO、位置B和位置A之间的第一距离L AB,之后,处理器103可以对上述的线加速度a Bz、线加速度a Az、第一距离L AB、第二距离L OA和第二距离L BO进行处理,从而确定预设原点在Z轴方向上的线加速度a Oz,具体的,a Oz=(a BzL OA+a AzL BO)/L ABSpecifically, continuing to refer to FIG. 4, multiple accelerometers 102 can be used to obtain: the linear acceleration a Bz of the object to be detected in the Z-axis direction at position B, and the Z-axis direction of the object to be detected at position A. line acceleration on a Az, then OA may determine the second distance L between positions a and O, the distance L between the first second distance L BO between the position B and the position O, position B and the position a AB , and then, the processor 103 can process the aforementioned linear acceleration a Bz , linear acceleration a Az , the first distance L AB , the second distance L OA and the second distance L BO to determine that the preset origin is in the Z-axis direction The linear acceleration a Oz on , specifically, a Oz =(a Bz L OA +a Az L BO )/L AB .
本实施例中,根据第一距离、第二距离和待检测对象在不同位置处的至少一个方向上的线加速度,确定预设原点在至少一个方向上的线加速度,从而实现了对待检测对象在预设原点处的至少一个方向上的线加速度进行获取的准确可靠性,进一步提高了对角速度进行测量的准确性。In this embodiment, the linear acceleration of the preset origin in at least one direction is determined according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, thereby realizing the linear acceleration of the object to be detected in at least one direction. The accuracy and reliability of obtaining the linear acceleration in at least one direction at the preset origin further improves the accuracy of measuring the angular velocity.
在上述实施例的基础上,继续参考附图1-4所示,在处理器103获取到第一角速度和角加速度之后,可以对第一角速度和角加速度进行分析处理,具体的,本实施例对于对第一角速度和角加速度进行分析处理的具体实现方式不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,较为优选的,在处理器103根据待检测对象在预设方向上的第一角速度和角加速度,确定待检测对象在预设方向上的目标角速度时,本实施例中的处理器103,具体用于:On the basis of the foregoing embodiment, with continued reference to FIGS. 1-4, after the processor 103 obtains the first angular velocity and angular acceleration, the first angular velocity and angular acceleration can be analyzed and processed. Specifically, this embodiment The specific implementation of the analysis and processing of the first angular velocity and angular acceleration is not limited. Those skilled in the art can set it according to specific application requirements and design requirements. Preferably, the processor 103 presets according to the object to be detected. When the first angular velocity and angular acceleration in the direction determine the target angular velocity of the object to be detected in the preset direction, the processor 103 in this embodiment is specifically configured to:
对待检测对象在预设方向上的角加速度进行高通滤波,并对滤波后的角加速度进行积分处理,获得待检测对象在预设方向上的第二角速度;High-pass filtering is performed on the angular acceleration of the object to be detected in the preset direction, and the filtered angular acceleration is integrated to obtain the second angular velocity of the object to be detected in the preset direction;
对待检测对象在预设方向上的第一角速度进行低通滤波,获得待检测对象在预设方向上的第三角速度;Performing low-pass filtering on the first angular velocity of the object to be detected in the preset direction to obtain the third angular velocity of the object to be detected in the preset direction;
将第二角速度与第三角速度的和值确定为待检测对象在预设方向上的目 标角速度。The sum of the second angular velocity and the third angular velocity is determined as the target angular velocity of the object to be detected in the preset direction.
其中,对所有的角加速度进行高通滤波的截止频率与对所有的第一角速度进行低通滤波的截止频率相同。具体的,待检测对象在预设方向上的角加速度是通过多个加速度计102获得的,此时,所获得的角加速度的高频部分为有效数据部分,在获取到角加速度之后,可以对角加速度进行高通滤波,即过滤掉角加速度的低频部分,之后,可以对滤波后的角加速度进行积分处理,从而可以获得待检测对象在预设方向上的第二角速度。Wherein, the cut-off frequency of performing high-pass filtering on all angular accelerations is the same as the cut-off frequency of performing low-pass filtering on all first angular velocities. Specifically, the angular acceleration of the object to be detected in the preset direction is obtained by multiple accelerometers 102. At this time, the high-frequency part of the obtained angular acceleration is the effective data part. After the angular acceleration is obtained, the The angular acceleration is subjected to high-pass filtering, that is, the low-frequency part of the angular acceleration is filtered out, and then the filtered angular acceleration can be integrated, so that the second angular velocity of the object to be detected in the preset direction can be obtained.
相类似的,待检测对象在预设方向上的第一角速度是通过陀螺仪组件101获得的,此时,所获得的第一角速度的低频部分为有效数据部分。因此,在获取到第一角速度之后,可以对第一角速度进行低通滤波,即过滤掉第一角速度的高频部分,从而可以获得待检测对象在预设方向上的第三角速度。Similarly, the first angular velocity of the object to be detected in the preset direction is obtained by the gyroscope component 101. At this time, the low-frequency part of the obtained first angular velocity is the effective data part. Therefore, after the first angular velocity is acquired, the first angular velocity can be low-pass filtered, that is, the high frequency part of the first angular velocity is filtered out, so that the third angular velocity of the object to be detected in the preset direction can be obtained.
在获取到第二角速度和第三角速度之后,可以将第二角速度与第三角速度的和值确定为待检测对象在预设方向上的目标角速度,由于该目标角速度融合了通过高频滤波后的第二角速度和低频滤波后的第三角速度,从而有效地降低了目标角速度所携带的噪声信息,进而提高了目标角速度获取的准确可靠性。After the second angular velocity and the third angular velocity are obtained, the sum of the second angular velocity and the third angular velocity can be determined as the target angular velocity of the object to be detected in the preset direction, because the target angular velocity is fused with the high-frequency filtering The second angular velocity and the third angular velocity after low-frequency filtering effectively reduce the noise information carried by the target angular velocity, thereby improving the accuracy and reliability of the acquisition of the target angular velocity.
举例来说,待检测对象在预设方向上的角加速度为a0,待检测对象在预设方向上的第一角速度为W1,对所有的角加速度进行高通滤波的截止频率与对所有的第一角速度进行低通滤波的截止频率均为f,此时,在获取到角加速度a0之后,可以利用上述截止频率的高通滤波器对角加速度a0进行高通滤波,从而可以获得滤波后的角加速度为a1,而后可以对角加速度a1在预设时间段内进行积分处理,从而可以获得待检测对象在预设方向上的第二角速度W2。相类似的,在获得第一角速度W1之后,可以利用上述截止频率的低通滤波器对第一角速度W1进行低通滤波,从而可以获得第三角速度W3,而后可以将第二角速度与第三角速度的和值确定为目标角速度,即W=W2+W3,从而有效地实现了可以准确、有效地获取到目标角速度,进而提高了该测量机构100的实用性。For example, the angular acceleration of the object to be detected in the preset direction is a0, the first angular velocity of the object to be detected in the preset direction is W1, and the cutoff frequency for high-pass filtering of all angular accelerations is the same as that of all first angular accelerations. The cut-off frequency for low-pass filtering of the angular velocity is f. At this time, after the angular acceleration a0 is obtained, the high-pass filter with the above cut-off frequency can be used to perform high-pass filtering on the angular acceleration a0, so that the filtered angular acceleration can be obtained as a1 Then, the angular acceleration a1 can be integrated within a preset time period, so that the second angular velocity W2 of the object to be detected in the preset direction can be obtained. Similarly, after the first angular velocity W1 is obtained, the first angular velocity W1 can be low-pass filtered by the low-pass filter with the cut-off frequency, so that the third angular velocity W3 can be obtained, and then the second angular velocity and the third angular velocity can be combined. The sum value of is determined as the target angular velocity, that is, W=W2+W3, which effectively realizes that the target angular velocity can be accurately and effectively obtained, thereby improving the practicability of the measuring mechanism 100.
在上述实施例的基础上,参考附图1-4所示,在待检测对象为设置于云台上的拍摄装置,云台上设置有驱动电机时,本实施例中的处理器103还可以用于:On the basis of the above-mentioned embodiment, referring to Figs. 1-4, when the object to be detected is a photographing device set on a pan-tilt and a driving motor is set on the pan-tilt, the processor 103 in this embodiment may also Used for:
根据目标角速度确定与驱动电机相对应的控制参数;Determine the control parameters corresponding to the drive motor according to the target angular velocity;
根据控制参数对驱动电机进行控制,以实现对云台的姿态进行调整。The driving motor is controlled according to the control parameters to realize the adjustment of the attitude of the pan/tilt.
具体的,在获取到目标角速度之后,可以将目标角速度输入到预设的闭环运动控制系统中,从而可以获得与驱动电机相对应的控制参数,而后可以基于该控制参数对云台上的驱动电机进行控制,进而可以实现通过驱动电机对云台的位姿进行调整,以实现对拍摄装置的位姿进行调整,这样可以有效地保证设置于云台上的拍摄装置进行工作的稳定可靠性。Specifically, after the target angular velocity is acquired, the target angular velocity can be input into the preset closed-loop motion control system, so that the control parameters corresponding to the drive motor can be obtained, and then the drive motor on the pan/tilt can be controlled based on the control parameters. The control can further realize the adjustment of the pose of the pan/tilt through the drive motor, so as to adjust the pose of the camera, which can effectively ensure the stable and reliable operation of the camera installed on the pan/tilt.
此外,本实施例提供了又一种角速度测量机构,该测量机构可以大幅度降低所测量的角速度的噪声,从而提高了角速度测量的准确性。具体的,该测量机构可以包括:In addition, this embodiment provides yet another angular velocity measurement mechanism, which can greatly reduce the noise of the measured angular velocity, thereby improving the accuracy of angular velocity measurement. Specifically, the measurement mechanism may include:
陀螺仪组件,设置于待检测对象上;The gyroscope component is set on the object to be detected;
多个加速度计,分布在待检测对象的不同位置;Multiple accelerometers, distributed in different positions of the object to be detected;
其中,陀螺仪组件与多个加速度计用于配合确定待检测对象在预设方向上的目标角速度。Wherein, the gyroscope component and multiple accelerometers are used to cooperate to determine the target angular velocity of the object to be detected in the preset direction.
在一些实例中,所述陀螺仪组件为三轴陀螺仪。In some examples, the gyroscope component is a three-axis gyroscope.
在一些实例中,陀螺仪组件包括三个单轴陀螺仪,三个单轴陀螺仪中任意两个单轴陀螺仪之间的距离小于预设阈值。In some examples, the gyroscope assembly includes three single-axis gyroscopes, and the distance between any two single-axis gyroscopes among the three single-axis gyroscopes is less than a preset threshold.
在一些实例中,加速度计包括三轴加速度计,三轴加速度计的个数为三个,三个三轴加速度计设置于三个不同位置处。In some examples, the accelerometer includes a three-axis accelerometer, the number of the three-axis accelerometer is three, and the three three-axis accelerometers are arranged at three different positions.
在一些实例中,三个所述三轴加速度计所在的位置形成一预设平面。In some examples, the positions of the three three-axis accelerometers form a preset plane.
在一些实例中,加速度计包括单轴加速度计,单轴加速度计的个数为九个,九个单轴加速度计设置于三个不同位置处,每三个单轴加速度计设置于同一位置。In some examples, the accelerometer includes a single-axis accelerometer, the number of single-axis accelerometers is nine, nine single-axis accelerometers are arranged at three different positions, and every three single-axis accelerometers are arranged at the same position.
在一些实例中,每三个单轴加速度计设置于同一位置,九个单轴加速度计所在的位置形成一预设平面。In some examples, every three single-axis accelerometers are arranged at the same position, and the positions of the nine single-axis accelerometers form a preset plane.
在一些实例中,在所述待检测对象的坐标系下,所述预设平面与所述坐标系中的坐标平面相互平行或者垂直。In some examples, in the coordinate system of the object to be detected, the preset plane and the coordinate plane in the coordinate system are parallel or perpendicular to each other.
在一些实例中,多个所述加速度计所在的位置构成一等腰三角形。In some examples, the positions of multiple accelerometers form an isosceles triangle.
本实施例中的测量机构的具体结构、实现原理以及实现效果与上述图1-图4所示实施例的测量机构的具体结构、实现原理以及实现效果相同,本实施例未详细描述的部分,可参考对图1-图4所示实施例的相关说明,在此不再赘述。The specific structure, implementation principle, and implementation effect of the measurement mechanism in this embodiment are the same as the specific structure, implementation principle, and implementation effect of the measurement mechanism in the embodiment shown in FIGS. 1 to 4, and the parts that are not described in detail in this embodiment are Reference may be made to the related descriptions of the embodiments shown in FIG. 1 to FIG. 4, which are not repeated here.
图5为本发明实施例提供的一种角速度测量方法的流程示意图一;参考附图5所示,本实施例提供了一种角速度测量方法,该方法的执行主体可以为角速度测量装置,该角速度测量装置可以实现为软件、或者软件和硬件的组合,具体应用时,该角速度测量装置可以为处理器。具体的,该方法可以包括:Fig. 5 is a schematic flow chart 1 of an angular velocity measurement method provided by an embodiment of the present invention; referring to Fig. 5, this embodiment provides an angular velocity measurement method. The execution subject of the method may be an angular velocity measurement device. The measuring device can be implemented as software or a combination of software and hardware. In a specific application, the angular velocity measuring device can be a processor. Specifically, the method may include:
步骤S501:通过陀螺仪组件获取待检测对象在预设方向上的第一角速度;Step S501: Obtain the first angular velocity of the object to be detected in the preset direction through the gyroscope component;
步骤S502:通过多个加速度计获取待检测对象在不同位置处的至少一个方向上的线加速度;Step S502: Obtain the linear acceleration of the object to be detected in at least one direction at different positions through multiple accelerometers;
步骤S503:根据待检测对象在预设方向上的第一角速度和待检测对象在不同位置处的至少一个方向上的线加速度,确定待检测对象在预设方向上的目标角速度。Step S503: Determine the target angular velocity of the object to be detected in the preset direction according to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions.
其中,待检测对象可以是指需要检测角速度的任何设备,本实施例对于待检测对象的具体形状结构和结构类型不做限定,本领域技术人员可以根据具体的应用场景和应用需求对待检测对象进行设置,例如,待检测对象可以是指拍摄装置、设置于云台上的拍摄装置、云台、无人机、无人车、无人船等等。Among them, the object to be detected can refer to any device that needs to detect angular velocity. This embodiment does not limit the specific shape structure and structure type of the object to be detected. Those skilled in the art can perform the detection of the object to be detected according to specific application scenarios and application requirements. Setting, for example, the object to be detected may refer to a camera, a camera set on a pan/tilt, a pan/tilt, a drone, an unmanned vehicle, an unmanned boat, etc.
在确定待检测对象之后,可以通过设置于待检测对象上的陀螺仪组件测量待检测对象在预设方向上的第一角速度,其中,预设方向包括以下至少之一:预设的X轴方向、预设的Y轴方向、预设的Z轴方向。具体实现时,在确定待检测对象之后,可以基于待检测对象建立一预设坐标系,该预设坐标系可以包括预设的X轴方向、预设的Y轴方向和预设的Z轴方向。而后,通过设置于待检测对象上的陀螺仪组件可以检测到待检测对象在预设方向上的第一角速度。可以理解的是,本实施例对于陀螺仪组件101的具体形状结构不做限定,本领域技术人员可以根据具体的应用需求和设计需求对陀螺仪组件的具体结构进行设置,并且,所获得的第一角速度的个数可以为一个或多个,例如,可以只测量待检测对象在预设的X轴方向上的第一角速度;或者,也可以测量待检测对象分别在预设的X轴方向和Y轴方向上的第一角速度等等。After the object to be detected is determined, the first angular velocity of the object to be detected in a preset direction can be measured by a gyroscope component arranged on the object to be detected, where the preset direction includes at least one of the following: a preset X-axis direction , The preset Y-axis direction, the preset Z-axis direction. In specific implementation, after determining the object to be detected, a preset coordinate system can be established based on the object to be detected, and the preset coordinate system can include a preset X-axis direction, a preset Y-axis direction, and a preset Z-axis direction . Then, the first angular velocity of the object to be detected in the preset direction can be detected by the gyroscope component arranged on the object to be detected. It is understandable that this embodiment does not limit the specific shape and structure of the gyroscope assembly 101, and those skilled in the art can set the specific structure of the gyroscope assembly according to specific application requirements and design requirements, and the obtained first The number of an angular velocity can be one or more. For example, only the first angular velocity of the object to be detected in the preset X-axis direction can be measured; or, the object to be detected can also be measured in the preset X-axis direction and The first angular velocity in the Y-axis direction and so on.
在一些实例中,如图2所示,在预设方向包括三个测量方向(即包括预设的X轴方向、预设的Y轴方向、预设的Z轴方向)时,陀螺仪组件可以为三轴陀螺仪,此时的三轴陀螺仪可以检测待检测对象在三个测量方向上的第一角速度,分别包括在预设的X轴方向上的第一角速度、在预设的Y轴方向上的第一角速度和在预设的Z轴方向上的第一角速度。In some examples, as shown in FIG. 2, when the preset direction includes three measurement directions (that is, the preset X-axis direction, the preset Y-axis direction, and the preset Z-axis direction), the gyroscope component may It is a three-axis gyroscope. At this time, the three-axis gyroscope can detect the first angular velocity of the object to be detected in three measurement directions, including the first angular velocity in the preset X-axis direction and the preset Y-axis The first angular velocity in the direction and the first angular velocity in the preset Z-axis direction.
在另一些实例中,如图3所示,在预设方向包括三个测量方向时,陀螺仪组件也可以包括三个单轴陀螺仪,每个单轴陀螺仪用于获取一个测量方向上的第一角速度。举例来说,设置于待检测对象上的陀螺仪组件包括单轴陀螺仪A、单轴陀螺仪B和单轴陀螺仪C,其中,单轴陀螺仪A可以检测待检测对象在预设的X轴方向上的第一角速度,单轴陀螺仪B可以检测待检测对象在预设的Y轴方向上的第一角速度,单轴陀螺仪C可以检测待检测对象在预设的Z轴方向上的第一角速度。In other examples, as shown in Fig. 3, when the preset direction includes three measurement directions, the gyroscope assembly may also include three single-axis gyroscopes, and each single-axis gyroscope is used to obtain a measurement direction in one measurement direction. The first angular velocity. For example, the gyroscope component set on the object to be detected includes a single-axis gyroscope A, a single-axis gyroscope B, and a single-axis gyroscope C, where the single-axis gyroscope A can detect that the object to be detected is at a preset X The first angular velocity in the direction of the axis, the single-axis gyroscope B can detect the first angular velocity of the object to be detected in the preset Y-axis direction, and the single-axis gyroscope C can detect the first angular velocity of the object to be detected in the preset Z-axis direction. The first angular velocity.
进一步的,在陀螺仪组件包括三个单轴陀螺仪时,为了能够保证陀螺仪组件对位于同一位置处的第一角速度进行检测的一致性和准确性,三个单轴陀螺仪中任意两个单轴陀螺仪之间的距离小于预设阈值,简单理解为,三个单轴陀螺仪可以尽量位于待检测对象的同一个位置处。Further, when the gyroscope assembly includes three single-axis gyroscopes, in order to ensure the consistency and accuracy of the first angular velocity detected by the gyroscope assembly at the same position, any two of the three single-axis gyroscopes The distance between the single-axis gyroscopes is less than the preset threshold. It is simply understood that the three single-axis gyroscopes can be located at the same position of the object to be detected as much as possible.
在另一些实例中,在预设方向包括一个或者两个测量方向时,陀螺仪组件也可以为三轴陀螺仪,此时的三轴陀螺仪可以检测待检测对象在三个测量方向上的第一角速度,分别包括在预设的X轴方向上的第一角速度、在预设的Y轴方向上的第一角速度和在预设的Z轴方向上的第一角速度,而后可以在所测量的三个第一角速度中选择需要进行数据处理的第一角速度。或者,在预设方向包括一个或者两个测量方向时,陀螺仪组件也可以为一个或两个单轴陀螺仪,每个单轴陀螺仪用于获取一个测量方向上的第一角速度;从而有效地实现了对第一角速度的准确测量。In other examples, when the preset direction includes one or two measurement directions, the gyroscope component may also be a three-axis gyroscope. At this time, the three-axis gyroscope can detect the second measurement of the object to be detected in the three measurement directions. An angular velocity, including the first angular velocity in the preset X-axis direction, the first angular velocity in the preset Y-axis direction, and the first angular velocity in the preset Z-axis direction, and then the measured Select the first angular velocity that needs data processing among the three first angular velocities. Or, when the preset direction includes one or two measurement directions, the gyroscope component can also be one or two single-axis gyroscopes, and each single-axis gyroscope is used to obtain the first angular velocity in one measurement direction; thus effective Realize the accurate measurement of the first angular velocity.
另外,本实施例对于多个加速度计的具体个数不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,如图1-图3所示,多个加速度计可以为3个,当然的,多个加速度计102的个数并不限于图中所限定的个数,其还可以为4个、5个、6个、7个、8个或者9个等等。多个加速度计可以分布在待检测对象的不同位置处,以实现测量待检测对象在不同位置处的至少一个方向上的线加速度,也即,多个加速度计可以测量待检测对象在不同位置处的一个方向或者一个以上方向上的线加速度。其中,至少一个方向包括以下至少之一:预设的X轴方向、预设的Y轴方向、预设的Z轴方向。In addition, this embodiment does not limit the specific number of multiple accelerometers, and those skilled in the art can set it according to specific application requirements and design requirements. As shown in Figures 1 to 3, the number of accelerometers can be three. Of course, the number of multiple accelerometers 102 is not limited to the number defined in the figure, and it can also be 4, 5, 6, 7, 8, or 9, and so on. Multiple accelerometers can be distributed at different positions of the object to be detected, so as to measure the linear acceleration of the object to be detected at different positions in at least one direction, that is, multiple accelerometers can measure the object to be detected at different positions The linear acceleration in one direction or more than one direction. Wherein, the at least one direction includes at least one of the following: a preset X-axis direction, a preset Y-axis direction, and a preset Z-axis direction.
举例来说,在至少一个方向包括预设的X轴方向时,多个加速度计可以测量待检测对象在不同位置处的预设的X轴方向上的线加速度;在至少一个方向包括预设的X轴方向和Y轴方向时,多个加速度计可以测量待检测对象在不同位置处的预设的X轴方向上和预设的Y轴方向上的线加速度;在至少一个方向 包括预设的X轴方向、预设的Y轴方向和预设的Z轴方向时,多个加速度计可以测量待检测对象在不同位置处的预设的X轴方向上、预设的Y轴方向和预设的Z轴方向上的线加速度。For example, when at least one direction includes the preset X-axis direction, multiple accelerometers can measure the linear acceleration of the object to be detected in the preset X-axis direction at different positions; including the preset X-axis direction in at least one direction. In the X-axis direction and the Y-axis direction, multiple accelerometers can measure the linear acceleration of the object to be detected in the preset X-axis direction and the preset Y-axis direction at different positions; including the preset linear acceleration in at least one direction. When the X-axis direction, the preset Y-axis direction and the preset Z-axis direction are used, multiple accelerometers can measure the preset X-axis direction, the preset Y-axis direction and the preset direction at different positions of the object to be detected. The linear acceleration in the Z-axis direction.
此外,本实施例对于多个加速度计的具体结构、个数以及设置位置不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,在一些实例中,加速度计可以包括三轴加速度计,三轴加速度计的个数为三个,并且,三个三轴加速度计可以设置于三个不同位置处,用于测量待检测对象在三个不同位置处的至少一个方向上的线加速度。In addition, this embodiment does not limit the specific structure, number, and location of multiple accelerometers, and those skilled in the art can set them according to specific application requirements and design requirements. In some examples, the accelerometers may include three-axis accelerometers. Accelerometers, the number of three-axis accelerometers is three, and the three three-axis accelerometers can be set at three different positions to measure the line of the object to be detected in at least one direction at three different positions Acceleration.
如图4所示,以三个不同的位置包括位置A、位置B和位置C为例进行说明,可以理解的是,上述的位置A、位置B和位置C并不限于上述图中所标识的位置,本领域技术人员还可以根据具体的应用需求和设计需求将位置A、位置B和位置C设置在其他位置处。As shown in Figure 4, three different positions including position A, position B, and position C are taken as examples for description. It can be understood that the above position A, position B, and position C are not limited to those identified in the above figure. Location, those skilled in the art can also set location A, location B, and location C in other locations according to specific application requirements and design requirements.
在三个不同的位置包括位置A、位置B和位置C时,上述的每个位置处均可以设置一个三轴加速度计,此时的三轴加速度计的个数为三个,从而可以测量待检测对象在位置A、位置B和位置C处的至少一个方向上的线加速度。When three different positions include position A, position B, and position C, a three-axis accelerometer can be set at each of the above-mentioned positions. At this time, the number of three-axis accelerometers is three, which can measure the The linear acceleration of the object in at least one direction of the position A, the position B, and the position C is detected.
在另一些实例中,为了能够保证线加速度测量的稳定可靠性,在对多个加速度计进行布置时,多个加速度计所在的位置A可以形成一预设平面。并且,多个加速度计所在的位置可以构成一等腰三角形,或者,多个加速度计所在的位置还可以构成一等边三角形。进一步的,在待检测对象的坐标系下,预设平面与坐标系中的坐标平面相互平行或者垂直。In other examples, in order to ensure the stability and reliability of linear acceleration measurement, when multiple accelerometers are arranged, the position A where the multiple accelerometers are located can form a preset plane. In addition, the locations of multiple accelerometers can form an isosceles triangle, or the locations of multiple accelerometers can also form an equilateral triangle. Further, in the coordinate system of the object to be detected, the preset plane and the coordinate plane in the coordinate system are parallel or perpendicular to each other.
具体的,以待检测对象为拍摄装置为例,可以基于拍摄装置建立一预设坐标系,其中,平行或重合光轴的方向可以是X轴方向,与X轴方向平行朝左的方向可以是Y轴方向,竖直向上的方向可以是Z轴方向,从而实现了基于拍摄装置建立了一坐标系,并且,坐标系中的预设原点的位置可以发生变化,只要符合上述的关系即可。Specifically, taking the object to be detected as the photographing device as an example, a preset coordinate system can be established based on the photographing device, where the direction parallel or coincident with the optical axis can be the X-axis direction, and the direction parallel to the X-axis direction to the left can be The Y-axis direction and the vertical upward direction can be the Z-axis direction, so that a coordinate system is established based on the camera, and the position of the preset origin in the coordinate system can be changed, as long as the above relationship is met.
进一步的,在多个加速度计为三个三轴加速度计时,三个三轴加速度计可以设置于拍摄装置上的三个不同位置处,三个不同位置处可以为拍摄装置的壳体上的三个不同位置,如图4所示,在预设的坐标系XYZ中,三个三轴加速度计所在的位置A、位置B和位置C构成了一预设平面P,其中,位置A、位置B和位置C可以构成一等腰三角形或者等边三角形,并且,上述的预设平面P可以与坐标系中的XY平面相互平行,或者,也可以认为该预设平面P与坐标系中 的XZ平面相互垂直。通过上述布局的三轴加速度计,不仅可以准确地获取到在位置A、位置B和位置C处的至少一个方向上的线加速度,并且方便基于所获取到的线加速度进行分析处理,进而提高了对目标角速度进行获取的质量和效率。Further, when the multiple accelerometers are three three-axis accelerometers, the three three-axis accelerometers can be set at three different positions on the camera, and the three different positions can be three on the housing of the camera. As shown in Figure 4, in the preset coordinate system XYZ, the position A, position B, and position C where the three three-axis accelerometers are located constitute a preset plane P. Among them, position A and position B And position C can form an isosceles triangle or an equilateral triangle, and the above-mentioned preset plane P can be parallel to the XY plane in the coordinate system, or it can also be considered that the preset plane P and the XZ plane in the coordinate system Perpendicular to each other. Through the three-axis accelerometer with the above layout, not only the linear acceleration in at least one direction at position A, position B, and position C can be accurately obtained, but also the analysis and processing based on the obtained linear acceleration can be facilitated, thereby improving The quality and efficiency of obtaining the target angular velocity.
在又一些实例中,加速度计还可以包括单轴加速度计,单轴加速度计的个数为九个,九个单轴加速度计同样可以设置于三个不同位置处,用于测量待检测对象在三个不同位置处的至少一个方向上的线加速度。进一步的,每三个单轴加速度计可以设置于同一位置,九个单轴加速度计所在的位置形成一预设平面。In still other examples, the accelerometer may also include a single-axis accelerometer. The number of single-axis accelerometers is nine. Nine single-axis accelerometers can also be set at three different positions to measure the location of the object to be detected. Linear acceleration in at least one direction at three different positions. Further, every three single-axis accelerometers can be set at the same position, and the positions of the nine single-axis accelerometers form a preset plane.
同样的,以待检测对象为拍摄装置为例,在多个加速度计包括九个单轴加速度计时,九个单轴加速度计可以设置于拍摄装置上的三个不同位置处,三个不同位置处可以为拍摄装置的壳体上的三个不同位置,如图4所示,九个三轴加速度计所在的位置A、位置B和位置C构成了一预设平面P,其中,在位置A处可以设置有三个单轴加速度计,每个单轴加速度计可以测量待检测对象在一个方向上的线加速度;同理的,位置B处可以设置有三个单轴加速度计,每个单轴加速度计可以测量待检测对象在一个方向上的线加速度;位置C处可以设置有三个单轴加速度计,每个单轴加速度计可以测量待检测对象在一个方向上的线加速度。需要注意的是,当同一个位置处设置三个单轴加速度计时,三个单轴加速度计中任意两个单轴加速度计之间的距离小于预设阈值,以使得三个单轴加速度计可以尽量位于待检测对象的同一个位置处,从而提高了对线加速度进行获取的准确性和精确度。Similarly, taking the object to be detected as the photographing device as an example, when multiple accelerometers include nine single-axis accelerometers, the nine single-axis accelerometers can be set at three different positions on the photographing device. It can be three different positions on the housing of the camera. As shown in Figure 4, the position A, position B, and position C where the nine three-axis accelerometers are located constitute a preset plane P, where, at position A Three single-axis accelerometers can be set, each single-axis accelerometer can measure the linear acceleration of the object to be detected in one direction; similarly, three single-axis accelerometers can be set at position B, each single-axis accelerometer The linear acceleration of the object to be detected can be measured in one direction; three single-axis accelerometers can be set at position C, and each single-axis accelerometer can measure the linear acceleration of the object to be detected in one direction. It should be noted that when three single-axis accelerometers are set at the same position, the distance between any two single-axis accelerometers of the three single-axis accelerometers is less than the preset threshold, so that the three single-axis accelerometers can be Try to be located at the same position of the object to be detected, thereby improving the accuracy and precision of acquiring the linear acceleration.
需要注意的是,多个加速度计所设置的位置并不限于上述所例举的三个位置,还可以是其他个数的位置,例如:多个加速度计可以设置于待检测对象上的4个位置、5个位置或者6个位置等等,本领域技术人员可以根据具体的应用需求和设计需求进行设置,只要能够保证多个加速度计所在的位置尽量构成一个规则的形状(例如:正方形、长方形、正五边形、正六边形等等)即可,以便于对加速度计所获得的线加速度进行分析处理。It should be noted that the positions set by multiple accelerometers are not limited to the three positions listed above, but can also be other positions. For example, multiple accelerometers can be set on four of the objects to be detected. Position, 5 positions or 6 positions, etc., those skilled in the art can set according to specific application requirements and design requirements, as long as the positions of multiple accelerometers can be ensured to form a regular shape as much as possible (for example: square, rectangular) , Regular pentagon, regular hexagon, etc.) to facilitate the analysis and processing of the linear acceleration obtained by the accelerometer.
进一步的,在通过陀螺仪组件获得待检测对象在预设方向上的第一角速度、以及多个加速度计获得待检测对象在不同位置处的至少一个方向上的线加速度之后,可以对上述的第一角速度和线加速度进行分析处理,以确定待 检测对象在预设方向上的目标角速度,从而有效地获得的降低了目标角速度的噪声,进而提高了目标角速度获取的准确可靠性。需要说明的是,所获得的目标角速度所在的预设方向与上述的线加速度所在的至少一个方向、以及第一角速度所在的预设方向不同或者部分不同。Further, after the first angular velocity of the object to be detected in the preset direction is obtained by the gyroscope component, and the linear acceleration of the object to be detected in at least one direction at different positions by multiple accelerometers, the above-mentioned first angular velocity may be measured. An angular velocity and linear acceleration are analyzed and processed to determine the target angular velocity of the object to be detected in a preset direction, thereby effectively reducing the noise of the target angular velocity, and thereby improving the accuracy and reliability of the acquisition of the target angular velocity. It should be noted that the preset direction in which the obtained target angular velocity is located is different or partially different from at least one direction in which the linear acceleration is located and the preset direction in which the first angular velocity is located.
需要注意的是,本实施例的上述方法中步骤S501与步骤S502的执行时序并不限定于上述所例举的顺序,即步骤S501也可以在步骤S502之后执行,或者,步骤S501可以与步骤S502同时执行,本领域技术人员可以根据具体的应用需求选择不同的执行方式。It should be noted that the execution timing of step S501 and step S502 in the above method of this embodiment is not limited to the above-exemplified sequence, that is, step S501 can also be performed after step S502, or step S501 can be the same as step S502. For simultaneous execution, those skilled in the art can choose different execution modes according to specific application requirements.
本实施例提供的角速度测量方法,通过陀螺仪组件获得待检测对象在预设方向上的第一角速度,通过多个加速度计获得待检测对象在不同位置处的至少一个方向上的线加速度,而后对第一角速度和线加速度进行分析处理,获取到待检测对象在预设方向上的目标角速度,有效地减低了目标角速度所携带的噪声,从而降低了基于目标角速度对待检测对象进行控制的控制误差,提高了对待检测对象进行控制的稳定性和精确度。此外,该角速度测量方法简单、容易实现、成本较低,进一步提高了该测量方法的实用性。In the angular velocity measurement method provided in this embodiment, the first angular velocity of the object to be detected in a preset direction is obtained through a gyroscope component, and the linear acceleration of the object to be detected in at least one direction at different positions is obtained through multiple accelerometers, and then The first angular velocity and linear acceleration are analyzed and processed, and the target angular velocity of the object to be detected in the preset direction is obtained, which effectively reduces the noise carried by the target angular velocity, thereby reducing the control error of controlling the object to be detected based on the target angular velocity , Improve the stability and accuracy of the control of the object to be detected. In addition, the angular velocity measurement method is simple, easy to implement, and low cost, which further improves the practicability of the measurement method.
图6为图5实施例中提供的根据待检测对象在预设方向上的第一角速度和待检测对象在不同位置处的至少一个方向上的线加速度,确定待检测对象在预设方向上的目标角速度的流程示意图;在上述实施例的基础上,继续参考附图6所示,本实施例对于确定待检测对象在预设方向上的目标角速度的具体实现方式不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,较为优选的,本实施例中的根据待检测对象在预设方向上的第一角速度和待检测对象在不同位置处的至少一个方向上的线加速度,确定待检测对象在预设方向上的目标角速度可以包括:FIG. 6 is a diagram of the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions, provided in the embodiment of FIG. 5, to determine the object to be detected in the preset direction Schematic diagram of the flow of the target angular velocity; on the basis of the foregoing embodiment, with continued reference to FIG. 6, this embodiment does not limit the specific implementation of determining the target angular velocity of the object to be detected in the preset direction. Those skilled in the art It can be set according to specific application requirements and design requirements. Preferably, in this embodiment, according to the first angular velocity of the object to be detected in a preset direction and the linear acceleration of the object to be detected in at least one direction at different positions , Determining the target angular velocity of the object to be detected in the preset direction may include:
步骤S601:根据待检测对象在不同位置处的至少一个方向上的线加速度,确定待检测对象在预设方向上的角加速度。Step S601: Determine the angular acceleration of the object to be detected in a preset direction according to the linear acceleration of the object to be detected in at least one direction at different positions.
步骤S602:根据待检测对象在预设方向上的第一角速度和角加速度,确定待检测对象在预设方向上的目标角速度。Step S602: Determine the target angular velocity of the object to be detected in the preset direction according to the first angular velocity and angular acceleration of the object to be detected in the preset direction.
其中,在获取到待检测对象在不同位置处的至少一个方向上的线加速度之后,可以对线加速度进行分析处理,从而可以确定待检测对象在预设方向上的角加速度,具体的,参考附图7所示,根据待检测对象在不同位置处的至少一个方向上的线加速度,确定待检测对象在预设方向上的角加速度可以包 括:Among them, after acquiring the linear acceleration of the object to be detected in at least one direction at different positions, the linear acceleration can be analyzed and processed, so that the angular acceleration of the object to be detected in the preset direction can be determined. For details, refer to the appendix As shown in FIG. 7, according to the linear acceleration of the object to be detected in at least one direction at different positions, determining the angular acceleration of the object to be detected in a preset direction may include:
步骤S701:在待检测对象的坐标系下,获取预设原点在至少一个方向上的线加速度;Step S701: Acquire the linear acceleration of the preset origin in at least one direction in the coordinate system of the object to be detected;
步骤S702:确定多个加速度计所在的不同位置之间的第一距离;Step S702: Determine the first distance between different positions where multiple accelerometers are located;
步骤S703:根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第一距离,确定待检测对象在预设方向上的角加速度。Step S703: According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the first distance, Determine the angular acceleration of the object to be detected in the preset direction.
具体的,在确定待检测对象之后,可以基于待检测对象建立一坐标系,该坐标系中包括预设原点,而后可以获取预设原点在至少一个方向上的线加速度。可以理解的是,上述的至少一个方向可以包括以下至少之一:预设X轴方向、预设Y轴方向和预设Z轴方向,而其他预设方向是不同于至少一个方向的其他坐标轴方向。举例来说,在至少一个方向包括预设X轴方向时,其他预设方向则包括预设Y轴方向和预设Z轴方向;在至少一个方向包括预设X轴方向和预设Z轴方向时,其他预设方向则包括预设Y轴方向。Specifically, after the object to be detected is determined, a coordinate system can be established based on the object to be detected, the coordinate system includes a preset origin, and then the linear acceleration of the preset origin in at least one direction can be obtained. It can be understood that the above at least one direction may include at least one of the following: a preset X-axis direction, a preset Y-axis direction, and a preset Z-axis direction, and the other preset directions are other coordinate axes that are different from at least one direction. direction. For example, when at least one direction includes the preset X-axis direction, other preset directions include the preset Y-axis direction and the preset Z-axis direction; at least one direction includes the preset X-axis direction and the preset Z-axis direction When, the other preset directions include the preset Y-axis direction.
另外,在待检测对象的坐标系下,可以识别多个加速度计所在的不同位置,而后确定不同位置之间的第一距离。举例来说,在多个加速度计设置于坐标系中的位置A、位置B和位置C处时,处理器103可以获取到位置A与位置B之间的第一距离、位置A与位置C之间的第一距离、位置B与位置C之间的第一距离。In addition, in the coordinate system of the object to be detected, different positions where multiple accelerometers are located can be identified, and then the first distance between the different positions can be determined. For example, when multiple accelerometers are set at position A, position B, and position C in the coordinate system, the processor 103 may obtain the first distance between position A and position B, and the difference between position A and position C. The first distance between the first distance, the first distance between the position B and the position C.
在获取到待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第一距离之后,可以对检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第一距离进行分析识别,以确定待检测对象在预设方向上的角加速度。After acquiring the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the first distance, The linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the first distance can be analyzed and identified, To determine the angular acceleration of the object to be detected in the preset direction.
在一些实例中,预设方向包括Y轴方向;其他预设方向包括X轴方向和Z轴方向,至少一个方向包括Z轴方向;多个加速度计所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;此时,根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第一距离,确定待检测对象在预设方向上的角加速度可以包括:In some examples, the preset direction includes the Y-axis direction; other preset directions include the X-axis direction and the Z-axis direction, and at least one direction includes the Z-axis direction; The first position and the second position set in the negative direction of the X-axis; at this time, according to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, Presetting the linear acceleration of the origin in at least one direction and the first distance, and determining the angular acceleration of the object to be detected in the preset direction may include:
步骤S7031:根据待检测对象在第一位置处的Z轴方向上的线加速度、待检测对象在第二位置处的Z轴方向上的线加速度、第一位置与第二位置之间的第一距离、待检测对象分别在X轴方向和Z轴方向上的第一角速度,确定待检测对象在Y轴方向上的角加速度。Step S7031: According to the linear acceleration of the object to be detected in the Z-axis direction at the first position, the linear acceleration of the object to be detected in the Z-axis direction at the second position, the first position between the first position and the second position. The distance and the first angular velocity of the object to be detected in the X-axis direction and the first angular velocity in the Z-axis direction respectively determine the angular acceleration of the object to be detected in the Y-axis direction.
具体的,以第一位置为位置A、第二位置为位置B和第三位置为位置C为例,继续参考附图4所示,通过陀螺仪组件和多个加速度计可以获取到:待检测对象在位置A处的Z轴方向上的线加速度a Az、待检测对象在位置B处的Z轴方向上的线加速度a Bz、待检测对象在X轴方向上的第一角速度w x,待检测对象在Z轴方向上的第一角速度w Z,而后可以确定位置B和位置A之间的第一距离L AB,之后,处理器103可以对上述的线加速度a Az、线加速度a Bz、第一距离L AB、第一角速度w x和第一角速度w Z进行处理,从而确定待检测对象在Y轴方向上的角加速度
Figure PCTCN2020072826-appb-000007
具体的,
Figure PCTCN2020072826-appb-000008
Specifically, taking the first position as position A, the second position as position B, and the third position as position C as an example, continue to refer to FIG. 4, which can be obtained through the gyroscope component and multiple accelerometers: The linear acceleration a Az of the object in the Z-axis direction at position A, the linear acceleration a Bz of the object to be detected in the Z-axis direction at position B, and the first angular velocity w x of the object to be detected in the X-axis direction. The first angular velocity w Z of the object in the Z-axis direction is detected , and then the first distance L AB between the position B and the position A can be determined. After that, the processor 103 can determine the linear acceleration a Az , the linear acceleration a Bz , The first distance L AB , the first angular velocity w x and the first angular velocity w Z are processed to determine the angular acceleration of the object to be detected in the Y-axis direction
Figure PCTCN2020072826-appb-000007
specific,
Figure PCTCN2020072826-appb-000008
需要注意的是,本实施例的上述方法中步骤S701与步骤S702的执行时序并不限定于上述所例举的顺序,即步骤S701也可以在步骤S702之后执行,或者,步骤S701可以与步骤S702同时执行,本领域技术人员可以根据具体的应用需求选择不同的执行方式。It should be noted that the execution timing of step S701 and step S702 in the above method of this embodiment is not limited to the above-exemplified sequence, that is, step S701 can also be performed after step S702, or step S701 can be the same as step S702. For simultaneous execution, those skilled in the art can choose different execution modes according to specific application requirements.
在上述实施例的基础上,参考附图8所示,本实施例提供了另一种确定待检测对象在预设方向上的角加速度的实现方式,具体的,在获取预设原点在至少一个方向上的线加速度之后,本实施例中的方法还可以包括:On the basis of the above-mentioned embodiment, with reference to FIG. 8, this embodiment provides another way to determine the angular acceleration of the object to be detected in a preset direction. Specifically, after obtaining the preset origin at at least one After the linear acceleration in the direction, the method in this embodiment may further include:
步骤S801:确定多个加速度计所在的不同位置与预设原点之间的第二距离;Step S801: Determine the second distance between the different positions where the multiple accelerometers are located and the preset origin;
步骤S802:根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离,确定待检测对象在预设方向上的角加速度。Step S802: According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the second distance, Determine the angular acceleration of the object to be detected in the preset direction.
具体的,在确定待检测对象之后,可以基于待检测对象建立一坐标系,该坐标系中包括预设原点,在待检测对象的坐标系下,可以识别多个加速度计所在的不同位置,而后确定不同位置与预设原点之间的第二距离。举例来说,在预设原点为位置O,多个加速度计设置于坐标系中的位置A、位置B和位置C处时,可以获取到位置A与位置O之间的第二距离、位置B与位置0之间的第二距离、位置C与位置O之间的第二距离。Specifically, after the object to be detected is determined, a coordinate system can be established based on the object to be detected. The coordinate system includes a preset origin. In the coordinate system of the object to be detected, different positions of multiple accelerometers can be identified, and then Determine the second distance between the different positions and the preset origin. For example, when the preset origin is position O, and multiple accelerometers are set at position A, position B, and position C in the coordinate system, the second distance between position A and position O, and position B can be obtained. The second distance from position 0, the second distance between position C and position O.
在获取到待检测对象在不同位置处的至少一个方向上的线加速度、待检 测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离之后,可以对检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离进行分析识别,以确定待检测对象在预设方向上的角加速度。After acquiring the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the second distance, The linear acceleration of the detection object in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the second distance can be analyzed and identified, To determine the angular acceleration of the object to be detected in the preset direction.
在一些实例中,预设方向包括X轴方向;其他预设方向包括Y轴方向和Z轴方向,至少一个方向包括Z轴方向;多个加速度计所在的不同位置包括设置于Y轴方向上的第三位置;此时,根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离,确定待检测对象在预设方向上的角加速度可以包括:In some examples, the preset direction includes the X-axis direction; other preset directions include the Y-axis direction and the Z-axis direction, and at least one direction includes the Z-axis direction; The third position; at this time, according to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and The second distance, determining the angular acceleration of the object to be detected in the preset direction may include:
步骤S8021:根据待检测对象在第三位置处的Z轴方向上的线加速度、预设原点在Z轴方向上的线加速度、第三位置与预设原点之间的第二距离、待检测对象分别在Y轴方向和Z轴方向上的第一角速度,确定待检测对象在X轴方向上的角加速度。Step S8021: According to the linear acceleration of the object to be detected in the Z axis direction at the third position, the linear acceleration of the preset origin in the Z axis direction, the second distance between the third position and the preset origin, and the object to be detected The first angular velocity in the Y-axis direction and the Z-axis direction respectively determine the angular acceleration of the object to be detected in the X-axis direction.
具体的,继续参考附图4所示,通过陀螺仪组件101和多个加速度计102可以获取到:待检测对象在位置C处的Z轴方向上的线加速度a Cz、待检测对象在位置O处的Z轴方向上的线加速度a Oz、待检测对象在Y轴方向上的第一角速度w Y、待检测对象在Z轴方向上的第一角速度w z,而后可以确定位置C和位置O之间的第二距离L OC,之后,处理器103可以对上述的线加速度a Cz、线加速度a Oz、第二距离L OC、第一角速度w Y和第一角速度w Z进行处理,从而确定待检测对象在X轴方向上的角加速度
Figure PCTCN2020072826-appb-000009
具体的,
Figure PCTCN2020072826-appb-000010
Specifically, continuing to refer to FIG. 4, the gyroscope assembly 101 and the multiple accelerometers 102 can obtain: the linear acceleration a Cz of the object to be detected in the Z-axis direction at the position C, and the object to be detected at the position O The linear acceleration a Oz in the Z-axis direction at, the first angular velocity w Y of the object to be detected in the Y-axis direction, the first angular velocity w z of the object to be detected in the Z-axis direction, and then the position C and the position O can be determined L OC distance between the second, after the processor 103 of the above-described linear acceleration can be a Cz, linear acceleration a Oz, L OC second distance, the first angular velocity and the first angular velocity w Y w Z processed to determine Angular acceleration of the object to be detected in the X-axis direction
Figure PCTCN2020072826-appb-000009
specific,
Figure PCTCN2020072826-appb-000010
在另一些实例中,预设方向包括Z轴方向;其他预设方向包括X轴方向和Y轴方向,至少一个方向包括X轴方向;多个加速度计所在的不同位置包括设置于Y轴方向上的第三位置;此时,根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离,确定待检测对象在预设方向上的角加速度可以包括:In other examples, the preset direction includes the Z-axis direction; other preset directions include the X-axis direction and the Y-axis direction, and at least one direction includes the X-axis direction; and the different positions of the multiple accelerometers include the Y-axis direction. The third position; at this time, according to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, and the linear acceleration of the preset origin in at least one direction And the second distance, determining the angular acceleration of the object to be detected in the preset direction may include:
步骤S8022:根据待检测对象在预设原点处的X轴方向上的线加速度、待检测对象在第三位置处的X轴方向上的线加速度、第三位置与预设原点之间的第二距离、待检测对象分别在X轴方向和Y轴方向上的第一角速度,确定待检 测对象在Z轴方向上的角加速度。Step S8022: According to the linear acceleration of the object to be detected in the X-axis direction at the preset origin, the linear acceleration of the object to be detected in the X-axis direction at the third position, and the second between the third position and the preset origin The distance and the first angular velocity of the object to be detected in the X-axis direction and the first angular velocity in the Y-axis direction respectively determine the angular acceleration of the object to be detected in the Z-axis direction.
具体的,继续参考附图4所示,通过陀螺仪组件101和多个加速度计102可以获取到:待检测对象在位置O处的X轴方向上的线加速度a Ox,待检测对象在位置C处的X轴方向上的线加速度a Cx,待检测对象在Y轴方向上的第一角速度w Y,待检测对象在X轴方向上的第一角速度w X,而后可以确定位置C和位置O之间的第二距离L OC,之后,处理器103可以对上述的线加速度a Ox、线加速度a Cx、第二距离L OC、第一角速度w Y和第一角速度w X进行处理,从而确定待检测对象在X轴方向上的角加速度
Figure PCTCN2020072826-appb-000011
具体的,
Figure PCTCN2020072826-appb-000012
Specifically, continuing to refer to FIG. 4, the gyroscope assembly 101 and multiple accelerometers 102 can obtain: the linear acceleration a Ox of the object to be detected in the X-axis direction at position O, and the object to be detected at position C line X-axis direction at the acceleration a Cx, the object to be detected in the Y-axis direction Y W first angular velocity, the angular velocity W of the first object to be detected in the X-X axis direction, and position C can then be determined position O the distance between the second L OC, then, processor 103 may be the above-described linear acceleration of a Ox, linear acceleration a Cx, L OC second distance, the first angular velocity and the first angular velocity w Y w X processed to determine Angular acceleration of the object to be detected in the X-axis direction
Figure PCTCN2020072826-appb-000011
specific,
Figure PCTCN2020072826-appb-000012
需要注意的是,上述所限定的X轴方向、Y轴方向、Z轴方向、位置A、位置B和位置C只是为了方便对本实施例的实现过程进行描述,具体实现时,X轴方向、Y轴方向和Z轴方向可以并不是基于待检测对象所建立的坐标方向,还可以是其他方向,相类似的,位置A、位置B和位置C的位置也可以并不限定于是位于坐标轴上的点,还可以是位于坐标系中的其他位置点,只是对于位置A、位置B和位置C而言,在将位置A、位置B和位置C的位置限定在位于坐标轴上时,可以方便基于位置A、位置B和位置C的位置进行角速度的测量计算。It should be noted that the above-defined X-axis direction, Y-axis direction, Z-axis direction, position A, position B, and position C are only for the convenience of describing the implementation process of this embodiment. In specific implementation, the X-axis direction, Y-axis direction, and Y-axis direction The axis direction and the Z axis direction may not be based on the coordinate direction established by the object to be detected, but may also be other directions. Similarly, the positions of position A, position B, and position C may not be limited to being on the coordinate axis. The point can also be other position points in the coordinate system, but for position A, position B, and position C, when the positions of position A, position B, and position C are limited to the coordinate axis, it can be conveniently based on The angular velocity is measured and calculated for the positions of position A, position B and position C.
本实施例中,通过确定多个加速度计所在的不同位置与预设原点之间的第二距离;并根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离,确定待检测对象在预设方向上的角加速度,有效地实现了通过其他的方式也可以获取待检测对象在预设方向上的角加速度,并且可以保证角加速度进行获取的准确可靠性,进一步提高了该测量方法使用的灵活可靠性。In this embodiment, the second distance between the different positions of the multiple accelerometers and the preset origin is determined; and according to the linear acceleration of the object to be detected in at least one direction at different positions, the object to be detected is in other presets. Set the first angular velocity in the direction, the linear acceleration of the preset origin in at least one direction, and the second distance to determine the angular acceleration of the object to be detected in the preset direction, which effectively realizes that the to-be-detected object can also be obtained by other methods. The angular acceleration of the object in the preset direction can ensure the accuracy and reliability of the angular acceleration acquisition, which further improves the flexibility and reliability of the measurement method.
另外,本实施例对于上述获取预设原点在至少一个方向上的线加速度的具体实现方式不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,较为优选的,本实施例中的获取预设原点在至少一个方向上的线加速度可以包括:In addition, this embodiment does not limit the specific implementation manner of obtaining the linear acceleration of the preset origin in at least one direction. Those skilled in the art can set it according to specific application requirements and design requirements. Preferably, this embodiment Obtaining the linear acceleration of the preset origin in at least one direction in may include:
步骤S7011:根据第一距离、第二距离和待检测对象在不同位置处的至少一个方向上的线加速度,确定预设原点在至少一个方向上的线加速度。Step S7011: Determine the linear acceleration of the preset origin in at least one direction according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions.
在一些实例中,至少一个方向包括X轴方向;多个加速度计所在的不同位置可以包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;此时,根据第一距离、第二距离和待检测对象在不同位置处的至少一个方向 上的线加速度,确定预设原点在至少一个方向上的线加速度可以包括:In some examples, at least one direction includes the X-axis direction; different positions of the multiple accelerometers may include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis; in this case, according to The first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, and determining the linear acceleration of the preset origin in at least one direction may include:
步骤S70111:根据待检测对象分别在第一位置和第二位置处的X轴方向上的线加速度、第二位置与预设原点之间的第二距离、第一位置与预设原点之间的第二距离以及第一位置与第二位置之间的第一距离,确定所预设原点在X轴方向上的线加速度。Step S70111: According to the linear acceleration of the object to be detected in the X-axis direction at the first position and the second position, the second distance between the second position and the preset origin, and the distance between the first position and the preset origin The second distance and the first distance between the first position and the second position determine the linear acceleration of the preset origin in the X-axis direction.
具体的,以第一位置为位置A、第二位置为位置B和第三位置为位置C为例,继续参考附图4所示,通过多个加速度计102可以获取到:待检测对象在位置B处的X轴方向上的线加速度a Bx、待检测对象在位置A处的X轴方向上的线加速度a Ax,而后可以确定位置A和位置O之间的第二距离L OA、位置B和位置O之间的第二距离L BO、位置B和位置A之间的第一距离L AB,之后,处理器103可以对上述的线加速度a Bx、线加速度a Ax、第一距离L AB、第二距离L OA和第二距离L BO进行处理,从而确定预设原点在X轴方向上的线加速度a Ox,具体的,a Ox=(a BxL OA+a AxL BO)/L ABSpecifically, taking the first position as position A, the second position as position B, and the third position as position C as an example, as shown in FIG. 4, multiple accelerometers 102 can obtain: The linear acceleration a Bx in the X-axis direction at B, the linear acceleration a Ax in the X-axis direction of the object to be detected at position A , and then the second distance L OA and position B between position A and position O can be determined The second distance L BO between the position O and the position O , and the first distance L AB between the position B and the position A. After that, the processor 103 can calculate the linear acceleration a Bx , the linear acceleration a Ax , and the first distance L AB. , The second distance L OA and the second distance L BO are processed to determine the linear acceleration a Ox of the preset origin in the X-axis direction, specifically, a Ox =(a Bx L OA +a Ax L BO )/L AB .
在另一些实例中,至少一个方向包括Z轴方向;多个加速度计所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;此时,根据第一距离、第二距离和待检测对象在不同位置处的至少一个方向上的线加速度,确定预设原点在至少一个方向上的线加速度可以包括:In other examples, at least one direction includes the Z-axis direction; the different positions of the multiple accelerometers include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis; in this case, according to The first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, and determining the linear acceleration of the preset origin in at least one direction may include:
步骤S70112:根据待检测对象分别在第一位置和第二位置处的Z轴方向上的线加速度、第二位置与预设原点之间的第二距离、第一位置与预设原点之间的第二距离以及第一位置与第二位置之间的第一距离,确定所预设原点在Z轴方向上的线加速度。Step S70112: According to the linear acceleration in the Z-axis direction of the object to be detected at the first position and the second position, the second distance between the second position and the preset origin, and the distance between the first position and the preset origin The second distance and the first distance between the first position and the second position determine the linear acceleration of the preset origin in the Z-axis direction.
具体的,继续参考附图4所示,通过多个加速度计102可以获取到:待检测对象在位置B处的Z轴方向上的线加速度a Bz、待检测对象在位置A处的Z轴方向上的线加速度a Ax,而后可以确定位置A和位置O之间的第二距离L OA、位置B和位置O之间的第二距离L BO、位置B和位置A之间的第一距离L AB,之后,处理器103可以对上述的线加速度a Bz、线加速度a Az、第一距离L AB、第二距离L OA和第二距离L BO进行处理,从而确定预设原点在Z轴方向上的线加速度a Oz,具体的,a Oz=(a BzL OA+a AzL BO)/L ABSpecifically, continuing to refer to FIG. 4, multiple accelerometers 102 can be used to obtain: the linear acceleration a Bz of the object to be detected in the Z-axis direction at position B, and the Z-axis direction of the object to be detected at position A. line acceleration on a Ax, then OA may determine the second distance L between the position a and the position O, the distance L between the first second distance L between the position B and BO position O, position B and the position a AB , and then, the processor 103 can process the aforementioned linear acceleration a Bz , linear acceleration a Az , the first distance L AB , the second distance L OA and the second distance L BO to determine that the preset origin is in the Z-axis direction The linear acceleration a Oz on , specifically, a Oz =(a Bz L OA +a Az L BO )/L AB .
本实施例中,根据第一距离、第二距离和待检测对象在不同位置处的至少一个方向上的线加速度,确定预设原点在至少一个方向上的线加速度,从而实现了对待检测对象在预设原点处的至少一个方向上的线加速度进行获取 的准确可靠性,进一步提高了对角速度进行测量的准确性。In this embodiment, the linear acceleration of the preset origin in at least one direction is determined according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, thereby realizing the linear acceleration of the object to be detected in at least one direction. The accuracy and reliability of obtaining the linear acceleration in at least one direction at the preset origin further improves the accuracy of measuring the angular velocity.
图9为图6实施例提供的根据所述待检测对象在预设方向上的所述第一角速度和所述角加速度,确定所述待检测对象在预设方向上的所述目标角速度的流程示意图;在上述实施例的基础上,继续参考附图9所示,本实施例对于确定待检测对象在预设方向上的目标角速度的具体实现方式不做限定,本领域技术人员可以根据具体的应用需求和设计需求进行设置,较为优选的,本实施例中的根据待检测对象在预设方向上的第一角速度和角加速度,确定待检测对象在预设方向上的目标角速度可以包括:FIG. 9 is a process of determining the target angular velocity of the object to be detected in the preset direction according to the first angular velocity and the angular acceleration of the object to be detected in the preset direction provided by the embodiment of FIG. 6 Schematic diagram; on the basis of the foregoing embodiment, with continued reference to FIG. 9, this embodiment does not limit the specific implementation of determining the target angular velocity of the object to be detected in the preset direction, and those skilled in the art can refer to specific Application requirements and design requirements are set. Preferably, in this embodiment, according to the first angular velocity and angular acceleration of the object to be detected in the preset direction, determining the target angular velocity of the object to be detected in the preset direction may include:
步骤S901:对待检测对象在预设方向上的角加速度进行高通滤波,并对滤波后的角加速度进行积分处理,获得待检测对象在预设方向上的第二角速度。Step S901: Perform high-pass filtering on the angular acceleration of the object to be detected in the preset direction, and perform integration processing on the filtered angular acceleration to obtain the second angular velocity of the object to be detected in the preset direction.
步骤S902:对待检测对象在预设方向上的第一角速度进行低通滤波,获得待检测对象在预设方向上的第三角速度。Step S902: Perform low-pass filtering on the first angular velocity of the object to be detected in the preset direction to obtain the third angular velocity of the object to be detected in the preset direction.
步骤S903:将第二角速度与第三角速度的和值确定为待检测对象在预设方向上的目标角速度。Step S903: Determine the sum of the second angular velocity and the third angular velocity as the target angular velocity of the object to be detected in the preset direction.
其中,对所有的角加速度进行高通滤波的截止频率与对所有的第一角速度进行低通滤波的截止频率相同。Wherein, the cut-off frequency of performing high-pass filtering on all angular accelerations is the same as the cut-off frequency of performing low-pass filtering on all first angular velocities.
需要注意的是,本实施例的上述方法中步骤S901与步骤S902的执行时序并不限定于上述所例举的顺序,即步骤S901也可以在步骤S902之后执行,或者,步骤S901可以与步骤S902同时执行,本领域技术人员可以根据具体的应用需求选择不同的执行方式。It should be noted that the execution timing of step S901 and step S902 in the above method of this embodiment is not limited to the above-exemplified sequence. That is, step S901 can also be executed after step S902, or step S901 can be the same as step S902. For simultaneous execution, those skilled in the art can choose different execution modes according to specific application requirements.
其中,对所有的角加速度进行高通滤波的截止频率与对所有的第一角速度进行低通滤波的截止频率相同。具体的,待检测对象在预设方向上的角加速度是通过多个加速度计获得的,此时,所获得的角加速度的高频部分为有效数据部分,在获取到角加速度之后,可以对角加速度进行高通滤波,即过滤掉角加速度的低频部分,之后,可以对滤波后的角加速度进行积分处理,从而可以获得待检测对象在预设方向上的第二角速度。Wherein, the cut-off frequency of performing high-pass filtering on all angular accelerations is the same as the cut-off frequency of performing low-pass filtering on all first angular velocities. Specifically, the angular acceleration of the object to be detected in the preset direction is obtained by multiple accelerometers. At this time, the high-frequency part of the obtained angular acceleration is the effective data part. After the angular acceleration is obtained, the angular acceleration can be The acceleration is high-pass filtered, that is, the low-frequency part of the angular acceleration is filtered out, and then the filtered angular acceleration can be integrated, so that the second angular velocity of the object to be detected in the preset direction can be obtained.
相类似的,待检测对象在预设方向上的第一角速度是通过陀螺仪组件获得的,此时,所获得的第一角速度的低频部分为有效数据部分。因此,在获取到第一角速度之后,可以对第一角速度进行低通滤波,即过滤掉第一角速度的高频部分,从而可以获得待检测对象在预设方向上的第三角速度。Similarly, the first angular velocity of the object to be detected in the preset direction is obtained by the gyroscope component. At this time, the low-frequency part of the obtained first angular velocity is the effective data part. Therefore, after the first angular velocity is acquired, the first angular velocity can be low-pass filtered, that is, the high frequency part of the first angular velocity is filtered out, so that the third angular velocity of the object to be detected in the preset direction can be obtained.
在获取到第二角速度和第三角速度之后,可以将第二角速度与第三角速度的和值确定为待检测对象在预设方向上的目标角速度,由于该目标角速度融合了通过高频滤波后的第二角速度和低频滤波后的第三角速度,从而有效地降低了目标角速度所携带的噪声信息,进而提高了目标角速度获取的准确可靠性。After the second angular velocity and the third angular velocity are obtained, the sum of the second angular velocity and the third angular velocity can be determined as the target angular velocity of the object to be detected in the preset direction, because the target angular velocity is fused with the high-frequency filtering The second angular velocity and the third angular velocity after low-frequency filtering effectively reduce the noise information carried by the target angular velocity, thereby improving the accuracy and reliability of the acquisition of the target angular velocity.
举例来说,待检测对象在预设方向上的角加速度为a0,待检测对象在预设方向上的第一角速度为W1,对所有的角加速度进行高通滤波的截止频率与对所有的第一角速度进行低通滤波的截止频率均为f,此时,在获取到角加速度a0之后,可以利用上述截止频率的高通滤波器对角加速度a0进行高通滤波,从而可以获得滤波后的角加速度为a1,而后可以对角加速度a1在预设时间段内进行积分处理,从而可以获得待检测对象在预设方向上的第二角速度W2。相类似的,在获得第一角速度W1之后,可以利用上述截止频率的低通滤波器对第一角速度W1进行低通滤波,从而可以获得第三角速度W3,而后可以将第二角速度与第三角速度的和值确定为目标角速度,即W=W2+W3,从而有效地实现了可以准确、有效地获取到目标角速度,进而提高了该测量方法的实用性。For example, the angular acceleration of the object to be detected in the preset direction is a0, the first angular velocity of the object to be detected in the preset direction is W1, and the cutoff frequency for high-pass filtering of all angular accelerations is the same as that of all first angular accelerations. The cut-off frequency for low-pass filtering of the angular velocity is f. At this time, after the angular acceleration a0 is obtained, the high-pass filter with the above cut-off frequency can be used to perform high-pass filtering on the angular acceleration a0, so that the filtered angular acceleration can be obtained as a1 Then, the angular acceleration a1 can be integrated within a preset time period, so that the second angular velocity W2 of the object to be detected in the preset direction can be obtained. Similarly, after the first angular velocity W1 is obtained, the first angular velocity W1 can be low-pass filtered by the low-pass filter with the cut-off frequency, so that the third angular velocity W3 can be obtained, and then the second angular velocity and the third angular velocity can be combined. The sum value of is determined as the target angular velocity, that is, W=W2+W3, which effectively realizes that the target angular velocity can be accurately and effectively obtained, thereby improving the practicability of the measurement method.
图10为本发明实施例提供的又一种角速度测量方法的流程示意图;在上述任意一个实施例的基础上,继续参考附图10所示,本实施例中的待检测对象可以为设置于云台上的拍摄装置,云台上设置有驱动电机;此时,本实例中的方法还可以包括:Figure 10 is a schematic flow chart of yet another angular velocity measurement method provided by an embodiment of the present invention; on the basis of any of the above embodiments, with continued reference to Figure 10, the object to be detected in this embodiment may be set in a cloud The camera on the stage, the pan/tilt is provided with a driving motor; at this time, the method in this example may also include:
步骤S1001:根据目标角速度确定与驱动电机相对应的控制参数;Step S1001: Determine the control parameter corresponding to the drive motor according to the target angular velocity;
步骤S1002:根据控制参数对驱动电机进行控制,以实现对云台的姿态进行调整。Step S1002: Control the driving motor according to the control parameters, so as to adjust the attitude of the pan-tilt.
具体的,在获取到目标角速度之后,可以将目标角速度输入到预设的闭环运动控制系统中,从而可以获得与驱动电机相对应的控制参数,而后可以基于该控制参数对云台上的驱动电机进行控制,进而可以实现通过驱动电机对云台的位姿进行调整,以实现对拍摄装置的位姿进行调整,这样可以有效地保证设置于云台上的拍摄装置进行工作的稳定可靠性。Specifically, after the target angular velocity is acquired, the target angular velocity can be input into the preset closed-loop motion control system, so that the control parameters corresponding to the drive motor can be obtained, and then the drive motor on the pan/tilt can be controlled based on the control parameters. The control can further realize the adjustment of the pose of the pan/tilt through the drive motor, so as to adjust the pose of the camera, which can effectively ensure the stable and reliable operation of the camera installed on the pan/tilt.
具体应用时,参考附图11所示,本应用实施例提供了一种角速度测量方法,该测量方法的执行主体可以为角速度测量机构,该角速度测量机构可以是由三个微机电系统(Micro-Electro-Mechanical System,简称MEMS)的三轴加速度计和一个MEMS的三轴陀螺仪组合构成,该角速度测量机构的成本较 低,并且能够输出低噪声的角速度,有效地解决了利用传统的陀螺仪获得噪声较大的角速度的问题。具体的,角速度测量原理是:使用三个MEMS的三轴加速度计来计算角加速度,而后将计算得到的角加速度进行积分得到角速度,然后,将上述计算获得的角速度和MEMS陀螺仪输出的角速度进行互补滤波处理,得到最终输出的低噪声角速度。For specific applications, referring to Fig. 11, this application embodiment provides an angular velocity measurement method. The execution subject of the measurement method may be an angular velocity measurement mechanism. The angular velocity measurement mechanism may be composed of three micro-electromechanical systems (Micro-Electro-Mechanical Systems). Electro-Mechanical System (MEMS) three-axis accelerometer and a MEMS three-axis gyroscope are combined. The angular velocity measurement mechanism is low in cost and can output angular velocity with low noise, which effectively solves the problem of using traditional gyroscopes. The problem of obtaining a noisy angular velocity. Specifically, the angular velocity measurement principle is: use three MEMS three-axis accelerometers to calculate the angular acceleration, and then integrate the calculated angular acceleration to obtain the angular velocity, and then calculate the angular velocity obtained by the above calculation and the angular velocity output by the MEMS gyroscope. Complementary filtering process to obtain the final output low noise angular velocity.
需要注意的是,在对三个MEMS三轴加速度计进行布置时,可以将三个MEMS三轴加速度计布置在待检测对象的三个不同位置上,并且,当任意两个三轴加速度计的设置位置的距离越大,越有利于减小组合陀螺仪输出的角速度噪声,较为优选的,三个三轴加速度计可以布置形成一个等边三角形。It should be noted that when arranging three MEMS three-axis accelerometers, three MEMS three-axis accelerometers can be arranged on three different positions of the object to be detected, and when any two three-axis accelerometers are The greater the distance of the setting position, the more beneficial it is to reduce the angular velocity noise output by the combined gyroscope. More preferably, three three-axis accelerometers can be arranged to form an equilateral triangle.
下面,先对该测量方法的实现原理“刚体运动学方程”进行说明,具体的,刚体运动学方程为:
Figure PCTCN2020072826-appb-000013
In the following, the realization principle of the measurement method "Rigid Body Kinematics Equation" will be explained. Specifically, the rigid body kinematics equation is:
Figure PCTCN2020072826-appb-000013
其中,a Q|O为惯性坐标系OXYZ中刚体上Q点处的加速度,a P|O为惯性坐标系OXYZ中刚体上P点处的加速度,R Q|P为P点与Q点之间的位置距离矢量,w为刚体的转动角速度,
Figure PCTCN2020072826-appb-000014
为刚体的转动角加速度。
Among them, a Q|O is the acceleration at point Q on the rigid body in the inertial coordinate system OXYZ, a P|O is the acceleration at point P on the rigid body in the inertial coordinate system OXYZ, and R Q|P is between the point P and the point Q The position distance vector of, w is the rotational angular velocity of the rigid body,
Figure PCTCN2020072826-appb-000014
Is the rotational angular acceleration of the rigid body.
具体实现时,三个MEMS加速度计可以布置在待检测对象(预设刚体)的三个固定位置上,在待检测对象的结构确定之后,可以通过对加速度计所布置的三个固定位置获得相邻两个固定位置之间的距离信息R。在三个固定位置中包括P点和Q点时,即可以实现根据待检测对象的结构设计参数获得上述公式中的R Q|PIn specific implementation, three MEMS accelerometers can be arranged at three fixed positions of the object to be detected (preset rigid body). After the structure of the object to be detected is determined, the relative positions can be obtained by comparing the three fixed positions of the accelerometers. Distance information R between two adjacent fixed positions. When the P point and the Q point are included in the three fixed positions, the R Q|P in the above formula can be obtained according to the structural design parameters of the object to be detected.
为了便于说明,可以以三个加速度计的设置位置分别用位置A、位置B、位置C来表示,如图4所示,在ABC平面内,由位置C向AB连线做垂线,垂足标记为O。假设向量AB可以为坐标系中的X轴,向量OC为坐标系中的Y轴,向量OC*向量AB所在方向为坐标系中的Z轴。For the convenience of description, the three accelerometers can be set to position A, position B, and position C respectively. As shown in Figure 4, in the ABC plane, the vertical line is drawn from position C to AB. Marked as O. It is assumed that the vector AB can be the X axis in the coordinate system, the vector OC is the Y axis in the coordinate system, and the vector OC*The direction of the vector AB is the Z axis in the coordinate system.
进一步的,由上述刚体运动学方程进行转换,可以获得通过加速计获得的角加速度:Further, by transforming the above rigid body kinematics equation, the angular acceleration obtained by the accelerometer can be obtained:
Figure PCTCN2020072826-appb-000015
Figure PCTCN2020072826-appb-000015
Figure PCTCN2020072826-appb-000016
Figure PCTCN2020072826-appb-000016
Figure PCTCN2020072826-appb-000017
Figure PCTCN2020072826-appb-000017
其中,O处的加速度的计算方式为:Among them, the calculation method of the acceleration at O is:
a Ox=(a BxL OA+a AxL BO)/L ABa Ox =(a Bx L OA +a Ax L BO )/L AB ;
a Oz=(a BzL OA+a AzL BO)/L ABa Oz = (a Bz L OA + a Az L BO )/L AB ;
在上述公式中:In the above formula:
Figure PCTCN2020072826-appb-000018
分别为待检测对象在三个轴方向(X轴、Y轴和Z轴)上的角加速度;
Figure PCTCN2020072826-appb-000018
Are the angular accelerations of the object to be detected in the three axis directions (X-axis, Y-axis and Z-axis);
w X,w Y,w Z:分别为待检测对象在三个轴方向(X轴、Y轴和Z轴)上的角速度; w X , w Y , w Z : respectively the angular velocity of the object to be detected in the three axis directions (X axis, Y axis and Z axis);
a Az为加速度计在A处、Z轴方向的线加速度,a Oz为待检测对象的O处、Z轴方向的线加速度,a Cz为加速度计在C处、z轴方向的线加速度,a Bz为加速度计在B处、z轴方向的线加速度,a Ox为待检测对象的O处、X轴方向的线加速度,a Ax为加速度计在A处、X轴方向的线加速度,a Bx为加速度计在B处、X轴方向的线加速度,a Bz为加速度计在B处、Z轴方向的线加速度,a Cx为加速度计在C处、X轴方向的线加速度,a Cz为加速度计在C处、Z轴方向的线加速度。 a Az is the linear acceleration of the accelerometer in the Z axis direction at A, a Oz is the linear acceleration of the object to be detected in the Z axis direction, a Cz is the accelerometer linear acceleration in the Z axis direction at C, a Bz is the linear acceleration of the accelerometer in the Z-axis direction at B, a Ox is the linear acceleration of the object to be detected in the X-axis direction, a Ax is the accelerometer linear acceleration in the X-axis direction at A, a Bx Is the linear acceleration of the accelerometer at B and the X axis, a Bz is the linear acceleration of the accelerometer at B and the Z axis, a Cx is the linear acceleration of the accelerometer at C and the X axis, and a Cz is the acceleration Calculate the linear acceleration at C and the Z axis.
L OA为沿Y轴方向从O到A的距离,L BC为沿X轴方向从B到C的距离,L OC为沿X轴方向从O到C的距离,L BO为沿X轴方向从B到O的距离。 L OA is the distance from O to A along the Y axis, L BC is the distance from B to C along the X axis, L OC is the distance from O to C along the X axis, and L BO is the distance from O to C along the X axis. The distance from B to O.
在获得三个轴的角加速度
Figure PCTCN2020072826-appb-000019
之后,可以使用高通滤波器分别对上述的角加速度(该高通滤波器可以利用传递函数G HP(s)来表示)进行滤波处理,而后可以对滤波处理后的角加速度进行积分计算,即在预设的时间段内对滤波处理后的角加速度进行累加计算,从而可以获得三个轴方向上的融合角速度w HP。其中,
Figure PCTCN2020072826-appb-000020
具体的,k是滤波器的衰减参数,n是高通滤波器的阶次。
To obtain the angular acceleration of the three axes
Figure PCTCN2020072826-appb-000019
After that, a high-pass filter can be used to filter the above-mentioned angular accelerations (the high-pass filter can be represented by the transfer function G HP (s)), and then the filtered angular accelerations can be integrated and calculated, that is, in the pre-processing Accumulate the angular acceleration after the filtering process in the set time period, so as to obtain the fusion angular velocity w HP in the three axis directions. in,
Figure PCTCN2020072826-appb-000020
Specifically, k is the attenuation parameter of the filter, and n is the order of the high-pass filter.
相类似的,在通过MEMS陀螺仪获得的角速度之后,可以利用低通滤波器(G LP(s))对MEMS陀螺仪获得的角速度进行滤波,从而可以获得经过低通滤波后的陀螺仪角速度w LP,其中,为了保证互补滤波后的数据在不同频率上的幅值保持不变,低通滤波器和高通滤波器的截止频率相同,即G LP(s)=1-G HP(s)。 Similarly, after the angular velocity obtained by the MEMS gyroscope, the low-pass filter (G LP (s)) can be used to filter the angular velocity obtained by the MEMS gyroscope, so as to obtain the gyroscope angular velocity w after low-pass filtering. LP , in order to ensure that the amplitudes of the complementary filtered data at different frequencies remain unchanged, the cut-off frequencies of the low-pass filter and the high-pass filter are the same, that is, G LP (s) = 1-G HP (s).
在获取到融合角速度w HP和陀螺仪角速度w LP之后,可以将高通滤波后的融合角速度w HP和低通滤波后的MEMS陀螺仪角速度w LP相加,即可得到最终输出的预设方向上的目标角速度,即w=w HP+w LPAfter obtaining the fused angular velocity w HP and the gyroscope angular velocity w LP , the high-pass filtered fused angular velocity w HP and the low-pass filtered MEMS gyroscope angular velocity w LP can be added to get the final output in the preset direction The target angular velocity of w = w HP + w LP .
本实施例中,由于加速度计和陀螺仪的体积较小、成本低,因此,在将加速度计和陀螺仪布置在待检测对象上时,具有较高的灵活性;并且,使用三个MEMS三轴加速度计和一个MEMS三轴陀螺仪组合得到角速度测量机构,通过该角速度测量机构所获得的角速度,可以大大降低了输出角速度的噪声,并且,该测量方法简单、便于实现;在获得低噪声的角速度之后,可以将低噪声的角速度输入至闭环运动控制系统中,传感器反馈的角速度噪声大小直 接影响了闭环运动控制系统的控制精度,由于角速度的噪声较小,从而有效地使得控制精度得到了很大的提升。In this embodiment, due to the small size and low cost of the accelerometer and gyroscope, it has higher flexibility when arranging the accelerometer and gyroscope on the object to be detected; and, three MEMS three are used. Axis accelerometer and a MEMS three-axis gyroscope are combined to obtain an angular velocity measurement mechanism. The angular velocity obtained by the angular velocity measurement mechanism can greatly reduce the noise of the output angular velocity, and the measurement method is simple and easy to implement; in obtaining low noise After the angular velocity, the low-noise angular velocity can be input into the closed-loop motion control system. The angular velocity noise feedback from the sensor directly affects the control accuracy of the closed-loop motion control system. Because the angular velocity noise is small, the control accuracy is effectively improved. Big improvement.
图12为本发明实施例提供的一种角速度测量装置的结构示意图;参考附图12所示,本实施例提供了一种角速度测量装置,该角速度测量装置可以执行上述图5所示的角速度测量方法。具体的,该角速度测量装置可以包括:Figure 12 is a schematic structural diagram of an angular velocity measurement device provided by an embodiment of the present invention; referring to Figure 12, this embodiment provides an angular velocity measurement device, which can perform the angular velocity measurement shown in Figure 5 above method. Specifically, the angular velocity measuring device may include:
存储器12,用于存储计算机程序;The memory 12 is used to store computer programs;
处理器11,用于运行存储器12中存储的计算机程序以实现:The processor 11 is configured to run a computer program stored in the memory 12 to realize:
通过陀螺仪组件获取待检测对象在预设方向上的第一角速度;Obtain the first angular velocity of the object to be detected in the preset direction through the gyroscope component;
通过多个加速度计获取待检测对象在不同位置处的至少一个方向上的线加速度;Acquiring linear accelerations of the object to be detected in at least one direction at different positions by using multiple accelerometers;
根据待检测对象在预设方向上的第一角速度和待检测对象在不同位置处的至少一个方向上的线加速度,确定待检测对象在预设方向上的目标角速度。The target angular velocity of the object to be detected in the preset direction is determined according to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions.
其中,角速度测量装置的结构中还可以包括通信接口13,用于电子设备与其他设备或通信网络通信。Wherein, the structure of the angular velocity measurement device may further include a communication interface 13 for the electronic device to communicate with other devices or a communication network.
在一些实例中,在处理器11根据待检测对象在预设方向上的第一角速度和待检测对象在不同位置处的至少一个方向上的线加速度,确定待检测对象在预设方向上的目标角速度时,处理器11,用于:根据待检测对象在不同位置处的至少一个方向上的线加速度,确定待检测对象在预设方向上的角加速度;根据待检测对象在预设方向上的第一角速度和角加速度,确定待检测对象在预设方向上的目标角速度。In some instances, the processor 11 determines the target of the object to be detected in the preset direction according to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions. In the case of angular velocity, the processor 11 is configured to: determine the angular acceleration of the object to be detected in the preset direction according to the linear acceleration of the object to be detected in at least one direction at different positions; The first angular velocity and angular acceleration determine the target angular velocity of the object to be detected in the preset direction.
在一些实例中,在处理器11根据待检测对象在不同位置处的至少一个方向上的线加速度,确定待检测对象在预设方向上的角加速度时,处理器11,用于:在待检测对象的坐标系下,获取预设原点在至少一个方向上的线加速度;确定多个加速度计所在的不同位置之间的第一距离;根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第一距离,确定待检测对象在预设方向上的角加速度。In some instances, when the processor 11 determines the angular acceleration of the object to be detected in a preset direction according to the linear acceleration of the object to be detected in at least one direction at different positions, the processor 11 is configured to: Under the coordinate system of the object, obtain the linear acceleration of the preset origin in at least one direction; determine the first distance between the different positions where multiple accelerometers are located; according to the line acceleration in at least one direction at different positions of the object to be detected The acceleration, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the first distance determine the angular acceleration of the object to be detected in the preset direction.
在一些实例中,预设方向包括Y轴方向;其他预设方向包括X轴方向和Z轴方向,至少一个方向包括Z轴方向;多个加速度计所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;在处理器11根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他 预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第一距离,确定待检测对象在预设方向上的角加速度时,处理器11用于:根据待检测对象在第一位置处的Z轴方向上的线加速度、待检测对象在第二位置处的Z轴方向上的线加速度、第一位置与第二位置之间的第一距离、待检测对象分别在X轴方向和Z轴方向上的第一角速度,确定待检测对象在Y轴方向上的角加速度。In some examples, the preset direction includes the Y-axis direction; other preset directions include the X-axis direction and the Z-axis direction, and at least one direction includes the Z-axis direction; The first position and the second position set in the negative direction of the X-axis; the processor 11 according to the linear acceleration of the object to be detected in at least one direction at different positions, and the first angular velocity of the object to be detected in other preset directions , The linear acceleration of the preset origin in at least one direction and the first distance, when determining the angular acceleration of the object to be detected in the preset direction, the processor 11 is configured to: according to the Z-axis direction of the object to be detected at the first position The linear acceleration of the object to be detected in the Z-axis direction at the second position, the first distance between the first position and the second position, the linear acceleration of the object to be detected in the X-axis direction and the Z-axis direction, respectively. The first angular velocity determines the angular acceleration of the object to be detected in the Y-axis direction.
在一些实例中,在获取预设原点在至少一个方向上的线加速度之后,处理器11,还用于:确定多个加速度计所在的不同位置与预设原点之间的第二距离;根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离,确定待检测对象在预设方向上的角加速度。In some instances, after acquiring the linear acceleration of the preset origin in at least one direction, the processor 11 is further configured to: determine the second distance between the different positions where the multiple accelerometers are located and the preset origin; Detect the linear acceleration of the object in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction, and the second distance, and determine that the object to be detected is at Angular acceleration in the preset direction.
在一些实例中,预设方向包括X轴方向;其他预设方向包括Y轴方向和Z轴方向,至少一个方向包括Z轴方向;多个加速度计所在的不同位置包括设置于Y轴方向上的第三位置;在处理器11根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离,确定待检测对象在预设方向上的角加速度时,处理器11,还用于:根据待检测对象在第三位置处的Z轴方向上的线加速度、预设原点在Z轴方向上的线加速度、第三位置与预设原点之间的第二距离、待检测对象分别在Y轴方向和Z轴方向上的第一角速度,确定待检测对象在X轴方向上的角加速度。In some examples, the preset direction includes the X-axis direction; other preset directions include the Y-axis direction and the Z-axis direction, and at least one direction includes the Z-axis direction; The third position; the linear acceleration of the object to be detected in at least one direction at different positions in the processor 11, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction And the second distance, when determining the angular acceleration of the object to be detected in the preset direction, the processor 11 is further configured to: according to the linear acceleration of the object to be detected in the Z-axis direction at the third position, the preset origin is at Z The linear acceleration in the axis direction, the second distance between the third position and the preset origin, and the first angular velocity of the object to be detected in the Y-axis direction and the Z-axis direction respectively, determine the angle of the object to be detected in the X-axis direction Acceleration.
在一些实例中,预设方向包括Z轴方向;其他预设方向包括X轴方向和Y轴方向,至少一个方向包括X轴方向;多个加速度计所在的不同位置包括设置于Y轴方向上的第三位置;在处理器11根据待检测对象在不同位置处的至少一个方向上的线加速度、待检测对象在其他预设方向上的第一角速度、预设原点在至少一个方向上的线加速度和第二距离,确定待检测对象在预设方向上的角加速度时,处理器11,还用于:根据待检测对象在预设原点处的X轴方向上的线加速度、待检测对象在第三位置处的X轴方向上的线加速度、第三位置与预设原点之间的第二距离、待检测对象分别在X轴方向和Y轴方向上的第一角速度,确定待检测对象在Z轴方向上的角加速度。In some examples, the preset direction includes the Z-axis direction; other preset directions include the X-axis direction and the Y-axis direction, and at least one direction includes the X-axis direction; The third position; the linear acceleration of the object to be detected in at least one direction at different positions in the processor 11, the first angular velocity of the object to be detected in other preset directions, the linear acceleration of the preset origin in at least one direction And the second distance, when determining the angular acceleration of the object to be detected in the preset direction, the processor 11 is further configured to: according to the linear acceleration of the object to be detected in the X-axis direction at the preset origin, the object to be detected is in the first The linear acceleration in the X-axis direction at the three positions, the second distance between the third position and the preset origin, and the first angular velocity of the object to be detected in the X-axis direction and the Y-axis direction respectively, determine that the object to be detected is in Z Angular acceleration in the axis direction.
在一些实例中,在处理器11获取预设原点在至少一个方向上的线加速度时,处理器11还用于:根据第一距离、第二距离和待检测对象在不同位置处 的至少一个方向上的线加速度,确定预设原点在至少一个方向上的线加速度。In some instances, when the processor 11 obtains the linear acceleration of the preset origin in at least one direction, the processor 11 is further configured to: according to the first distance, the second distance, and at least one direction of the object to be detected at different positions Determine the linear acceleration of the preset origin in at least one direction.
在一些实例中,至少一个方向包括X轴方向;多个加速度计所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;在处理器11根据第一距离、第二距离和待检测对象在不同位置处的至少一个方向上的线加速度,确定预设原点在至少一个方向上的线加速度时,处理器11,还用于:根据待检测对象分别在第一位置和第二位置处的X轴方向上的线加速度、第二位置与预设原点之间的第二距离、第一位置与预设原点之间的第二距离以及第一位置与第二位置之间的第一距离,确定所预设原点在X轴方向上的线加速度。In some examples, at least one direction includes the X-axis direction; the different positions where the multiple accelerometers are located include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis; in the processor 11 according to When the linear acceleration of the preset origin in at least one direction is determined by the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, the processor 11 is further configured to: Linear acceleration in the X-axis direction at the first position and the second position, the second distance between the second position and the preset origin, the second distance between the first position and the preset origin, and the first position The first distance from the second position determines the linear acceleration of the preset origin in the X-axis direction.
在一些实例中,至少一个方向包括Z轴方向;多个加速度计所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;在处理器11根据第一距离、第二距离和待检测对象在不同位置处的至少一个方向上的线加速度,确定预设原点在至少一个方向上的线加速度时,处理器11,还用于:根据待检测对象分别在第一位置和第二位置处的Z轴方向上的线加速度、第二位置与预设原点之间的第二距离、第一位置与预设原点之间的第二距离以及第一位置与第二位置之间的第一距离,确定所预设原点在Z轴方向上的线加速度。In some examples, at least one direction includes the Z-axis direction; the different positions of the multiple accelerometers include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis; in the processor 11 according to When the linear acceleration of the preset origin in at least one direction is determined by the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, the processor 11 is further configured to: The linear acceleration in the Z-axis direction at the first position and the second position, the second distance between the second position and the preset origin, the second distance between the first position and the preset origin, and the first position, respectively The first distance from the second position determines the linear acceleration of the preset origin in the Z-axis direction.
在一些实例中,在处理器11根据待检测对象在预设方向上的第一角速度和角加速度,确定待检测对象在预设方向上的目标角速度时,处理器11,还用于:对待检测对象在预设方向上的角加速度进行高通滤波,并对滤波后的角加速度进行积分处理,获得待检测对象在预设方向上的第二角速度;对待检测对象在预设方向上的第一角速度进行低通滤波,获得待检测对象在预设方向上的第三角速度;将第二角速度与第三角速度的和值确定为待检测对象在预设方向上的目标角速度。In some examples, when the processor 11 determines the target angular velocity of the object to be detected in the preset direction according to the first angular velocity and angular acceleration of the object to be detected in the preset direction, the processor 11 is also used to: The angular acceleration of the object in the preset direction is high-pass filtered, and the filtered angular acceleration is integrated to obtain the second angular velocity of the object to be detected in the preset direction; the first angular velocity of the object to be detected in the preset direction Low-pass filtering is performed to obtain the third angular velocity of the object to be detected in the preset direction; the sum of the second angular velocity and the third angular velocity is determined as the target angular velocity of the object to be detected in the preset direction.
在一些实例中,对所有的角加速度进行高通滤波的截止频率与对所有的第一角速度进行低通滤波的截止频率相同。In some examples, the cut-off frequency for high-pass filtering all angular accelerations is the same as the cut-off frequency for low-pass filtering all first angular velocities.
在一些实例中,待检测对象为设置于云台上的拍摄装置,云台上设置有驱动电机;处理器11,还用于:根据目标角速度确定与驱动电机相对应的控制参数;根据控制参数对驱动电机进行控制,以实现对云台的姿态进行调整。In some examples, the object to be detected is a camera set on a pan/tilt, and a drive motor is provided on the pan/tilt; the processor 11 is also used to: determine the control parameter corresponding to the drive motor according to the target angular velocity; Control the drive motor to adjust the attitude of the pan/tilt.
图12所示装置可以执行图5至图11所示中的实施例的方法,本实施例未详细描述的部分,可参考对图5至图11所示中的实施例的相关说明。该技术方案 的执行过程和技术效果参见图5至图11所示实施例中的描述,在此不再赘述。The device shown in FIG. 12 can execute the method of the embodiment shown in FIG. 5 to FIG. 11. For parts that are not described in detail in this embodiment, refer to the related description of the embodiment shown in FIG. 5 to FIG. 11. For the implementation process and technical effects of this technical solution, please refer to the description in the embodiment shown in Fig. 5 to Fig. 11, which will not be repeated here.
另外,本发明实施例提供了一种计算机可读存储介质,其特征在于,存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,程序指令用于实现上述图5-图11所示的角速度测量方法。In addition, an embodiment of the present invention provides a computer-readable storage medium, which is characterized in that the storage medium is a computer-readable storage medium, and the computer-readable storage medium stores program instructions, and the program instructions are used to implement the above-mentioned Figure 5- Figure 11 shows the angular velocity measurement method.
图13为本发明实施例提供的一种拍摄装置的结构示意图;参考附图13所示,本实施例提供了一种拍摄装置200,该拍摄装置200可以包括:FIG. 13 is a schematic structural diagram of a photographing device provided by an embodiment of the present invention; referring to FIG. 13, as shown in FIG. 13, this embodiment provides a photographing device 200, which may include:
装置主体201;Device main body 201;
上述图1-图4实施例中的角速度测量机构100,安装于装置主体201上。The angular velocity measuring mechanism 100 in the embodiment of FIGS. 1 to 4 described above is mounted on the main body 201 of the device.
具体的,本实施例中拍摄装置200中的角速度测量机构100的实现原理、实现效果与上述图1-图4所示装置的实现原理、实现效果相同,具体可参考上述陈述内容,在此不再赘述。Specifically, the realization principle and realization effect of the angular velocity measurement mechanism 100 in the photographing device 200 in this embodiment are the same as the realization principle and realization effect of the device shown in Figs. Go into details again.
另外,参考附图13所示,本实施例提供了另一种拍摄装置200,该拍摄装置200可以包括:In addition, referring to FIG. 13, this embodiment provides another photographing device 200, and the photographing device 200 may include:
装置主体201;Device main body 201;
上述图12实施例中的角速度测量机构100,安装于装置主体201上。The angular velocity measuring mechanism 100 in the embodiment in FIG. 12 described above is mounted on the main body 201 of the device.
具体的,本实施例中拍摄装置200中的角速度测量机构100的实现原理、实现效果与上述图12所示装置的实现原理、实现效果相同,具体可参考上述陈述内容,在此不再赘述。Specifically, the implementation principle and implementation effect of the angular velocity measurement mechanism 100 in the imaging device 200 in this embodiment are the same as the implementation principles and implementation effects of the device shown in FIG. 12. For details, reference may be made to the foregoing statements, which will not be repeated here.
图14为本发明实施例提供的一种云台的结构示意图;参考附图14所示,本实施例提供了一种云台300,该云台300可以包括:FIG. 14 is a schematic structural diagram of a pan/tilt head provided by an embodiment of the present invention; referring to FIG. 14, as shown in FIG. 14, this embodiment provides a pan/tilt head 300, which may include:
云台主体301;PTZ main body 301;
上述图13所示的拍摄装置200,设置于云台主体301上。The imaging device 200 shown in FIG. 13 is installed on the main body 301 of the pan/tilt head.
具体的,本实施例中云台300上的拍摄装置200的实现原理、实现效果与上述图13所示装置的实现原理、实现效果相同,具体可参考上述陈述内容,在此不再赘述。Specifically, the implementation principle and implementation effect of the camera 200 on the pan/tilt 300 in this embodiment are the same as the implementation principles and implementation effects of the device shown in FIG. 13. For details, please refer to the foregoing statements, and will not be repeated here.
图15为本发明实施例提供的一种可移动平台的结构示意图,参考附图15所示,本实施例提供了一种可移动平台400,该可移动平台400可以包括:FIG. 15 is a schematic structural diagram of a movable platform provided by an embodiment of the present invention. Referring to FIG. 15, as shown in FIG. 15, this embodiment provides a movable platform 400. The movable platform 400 may include:
平台主体401;Platform main body 401;
上述图1-图4实施例中的角速度测量机构100,安装于平台主体401上。The angular velocity measuring mechanism 100 in the embodiment of FIGS. 1 to 4 described above is installed on the platform main body 401.
具体的,本实施例中可移动平台400中的角速度测量机构100的实现原理、实现效果与上述图1-图4所示装置的实现原理、实现效果相同,具体可参考上 述陈述内容,在此不再赘述。Specifically, the realization principle and realization effect of the angular velocity measurement mechanism 100 in the movable platform 400 in this embodiment are the same as the realization principle and realization effect of the device shown in FIGS. 1 to 4 above. For details, please refer to the above statement. No longer.
另外,参考附图15所示,本实施例提供了另一种可移动平台400,该可移动平台400可以包括:In addition, referring to FIG. 15, this embodiment provides another movable platform 400, and the movable platform 400 may include:
平台主体401;Platform main body 401;
上述图12实施例中的角速度测量机构100,安装于平台主体401上。The angular velocity measuring mechanism 100 in the embodiment in FIG. 12 described above is installed on the platform main body 401.
具体的,本实施例中可移动平台400中的角速度测量机构100的实现原理、实现效果与上述图12所示装置的实现原理、实现效果相同,具体可参考上述陈述内容,在此不再赘述。Specifically, the implementation principle and implementation effect of the angular velocity measurement mechanism 100 in the movable platform 400 in this embodiment are the same as the implementation principles and implementation effects of the device shown in FIG. 12 above. For details, please refer to the above statements, and will not be repeated here. .
可以理解,在上述提供的可移动平台400中,也可以包括云台,上述说明的角速度测量机构100可以通过云台安装于平台主体401上。It can be understood that the movable platform 400 provided above may also include a pan-tilt, and the angular velocity measuring mechanism 100 described above may be installed on the platform main body 401 through the pan-tilt.
以上各个实施例中的技术方案、技术特征在不相冲突的情况下均可以单独,或者进行组合,只要未超出本领域技术人员的认知范围,均属于本申请保护范围内的等同实施例。The technical solutions and technical features in each of the above embodiments can be singly or combined without conflict, as long as they do not exceed the cognitive scope of those skilled in the art, they all belong to equivalent embodiments within the protection scope of the present application.
在本发明所提供的几个实施例中,应该理解到,所揭露的云台和云台控制方法,可以通过其它的方式实现。例如,以上所描述的云台、手持云台实施例仅仅是示意性的,例如,所述处理器103或存储器的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,存储器或处理器103的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed pan-tilt and pan-tilt control method can be implemented in other ways. For example, the embodiments of the PTZ and handheld PTZ described above are only illustrative. For example, the division of the processor 103 or the memory is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection between the memory or the processor 103 through some interfaces, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的 全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得计算机处理器103(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium. , Including several instructions to make the computer processor 103 (processor) execute all or part of the steps of the method described in each embodiment of the invention. The aforementioned storage media include: U disk, mobile hard disk, Read-Only Memory (ROM), Random Access Memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the embodiments of the present invention, which do not limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the content of the description and drawings of the present invention, or directly or indirectly applied to other related technologies In the same way, all fields are included in the scope of patent protection of the present invention.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the technical solutions of the embodiments of the present invention. scope.

Claims (66)

  1. 一种角速度测量机构,其特征在于,包括:An angular velocity measuring mechanism, characterized in that it comprises:
    陀螺仪组件,设置于待检测对象上,用于测量所述待检测对象在预设方向上的第一角速度;The gyroscope component is arranged on the object to be detected and used to measure the first angular velocity of the object to be detected in a preset direction;
    多个加速度计,分布在所述待检测对象的不同位置,用于测量所述待检测对象在不同位置处的至少一个方向上的线加速度;A plurality of accelerometers, distributed at different positions of the object to be detected, and used to measure the linear acceleration of the object to be detected in at least one direction at different positions;
    处理器,与所述陀螺仪组件和多个所述加速度计通信连接,用于获取所述待检测对象在预设方向上的第一角速度和所述待检测对象在不同位置处的至少一个方向上的线加速度,根据所述待检测对象在预设方向上的第一角速度和所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的目标角速度。The processor is in communication connection with the gyroscope component and a plurality of the accelerometers, and is used to obtain the first angular velocity of the object to be detected in a preset direction and at least one direction of the object to be detected in different positions According to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions, it is determined that the object to be detected is in the preset direction The target angular velocity.
  2. 根据权利要求1所述的测量机构,其特征在于,所述预设方向包括以下至少之一:预设的X轴方向、预设的Y轴方向、预设的Z轴方向。The measurement mechanism according to claim 1, wherein the preset direction includes at least one of the following: a preset X-axis direction, a preset Y-axis direction, and a preset Z-axis direction.
  3. 根据权利要求1所述的测量机构,其特征在于,至少一个方向包括以下至少之一:预设的X轴方向、预设的Y轴方向、预设的Z轴方向。The measurement mechanism according to claim 1, wherein the at least one direction includes at least one of the following: a preset X-axis direction, a preset Y-axis direction, and a preset Z-axis direction.
  4. 根据权利要求2所述的测量机构,其特征在于,所述预设方向包括三个测量方向,所述陀螺仪组件为三轴陀螺仪。The measurement mechanism according to claim 2, wherein the preset direction includes three measurement directions, and the gyroscope assembly is a three-axis gyroscope.
  5. 根据权利要求2所述的测量机构,其特征在于,所述预设方向包括三个测量方向,所述陀螺仪组件包括三个单轴陀螺仪,每个所述单轴陀螺仪用于获取一个测量方向上的第一角速度。The measurement mechanism according to claim 2, wherein the preset direction includes three measurement directions, the gyroscope assembly includes three single-axis gyroscopes, and each of the single-axis gyroscopes is used to obtain one The first angular velocity in the measurement direction.
  6. 根据权利要求5所述的测量机构,其特征在于,三个单轴陀螺仪中任意两个单轴陀螺仪之间的距离小于预设阈值。The measurement mechanism according to claim 5, wherein the distance between any two single-axis gyroscopes among the three single-axis gyroscopes is less than a preset threshold.
  7. 根据权利要求1所述的测量机构,其特征在于,所述加速度计包括三轴加速度计,所述三轴加速度计的个数为三个,三个所述三轴加速度计设置于三个不同位置处,用于测量所述待检测对象在三个不同位置处的至少一个方向上的线加速度。The measurement mechanism according to claim 1, wherein the accelerometer comprises a three-axis accelerometer, the number of the three-axis accelerometer is three, and the three three-axis accelerometers are arranged in three different The position is used to measure the linear acceleration of the object to be detected in at least one direction at three different positions.
  8. 根据权利要求7所述的测量机构,其特征在于,三个所述三轴加速度计所在的位置形成一预设平面。The measurement mechanism according to claim 7, wherein the positions of the three three-axis accelerometers form a preset plane.
  9. 根据权利要求1所述的测量机构,其特征在于,所述加速度计包括单轴加速度计,所述单轴加速度计的个数为九个,九个所述单轴加速度计设置于三个不同位置处,用于测量所述待检测对象在三个不同位置处的至少一个 方向上的线加速度。The measurement mechanism according to claim 1, wherein the accelerometer comprises a single-axis accelerometer, the number of the single-axis accelerometer is nine, and the nine single-axis accelerometers are arranged in three different accelerometers. The position is used to measure the linear acceleration of the object to be detected in at least one direction at three different positions.
  10. 根据权利要求9所述的测量机构,其特征在于,每三个单轴加速度计设置于同一位置,九个单轴加速度计所在的位置形成一预设平面。The measurement mechanism according to claim 9, wherein every three single-axis accelerometers are arranged at the same position, and the positions of the nine single-axis accelerometers form a preset plane.
  11. 根据权利要求7-10中任意一项所述的测量机构,其特征在于,多个所述加速度计所在的位置构成一等腰三角形。The measurement mechanism according to any one of claims 7-10, wherein the positions where multiple accelerometers are located form an isosceles triangle.
  12. 根据权利要求8或10所述的测量机构,其特征在于,在所述待检测对象的坐标系下,所述预设平面与所述坐标系中的坐标平面相互平行或者垂直。The measurement mechanism according to claim 8 or 10, wherein in the coordinate system of the object to be detected, the preset plane and the coordinate plane in the coordinate system are parallel or perpendicular to each other.
  13. 根据权利要求1-10中任意一项所述的测量机构,其特征在于,所述处理器,具体用于:The measurement mechanism according to any one of claims 1-10, wherein the processor is specifically configured to:
    根据所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的角加速度;Determine the angular acceleration of the object to be detected in a preset direction according to the linear acceleration of the object to be detected in at least one direction at different positions;
    根据所述待检测对象在预设方向上的所述第一角速度和所述角加速度,确定所述待检测对象在预设方向上的所述目标角速度。Determine the target angular velocity of the object to be detected in the preset direction according to the first angular velocity and the angular acceleration of the object to be detected in the preset direction.
  14. 根据权利要求13所述的测量机构,其特征在于,所述处理器,具体用于:The measurement mechanism according to claim 13, wherein the processor is specifically configured to:
    在所述待检测对象的坐标系下,获取预设原点在至少一个方向上的线加速度;Obtaining the linear acceleration of the preset origin in at least one direction in the coordinate system of the object to be detected;
    确定多个所述加速度计所在的不同位置之间的第一距离;Determining the first distance between the different positions where the multiple accelerometers are located;
    根据所述待检测对象在不同位置处的至少一个方向上的所述线加速度、所述待检测对象在其他预设方向上的所述第一角速度、预设原点在至少一个方向上的所述线加速度和所述第一距离,确定所述待检测对象在预设方向上的所述角加速度。According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the preset origin in at least one direction The linear acceleration and the first distance determine the angular acceleration of the object to be detected in a preset direction.
  15. 根据权利要求14所述的测量机构,其特征在于,所述预设方向包括Y轴方向;所述其他预设方向包括X轴方向和Z轴方向,至少一个方向包括Z轴方向;多个加速度计所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;所述处理器,具体用于:The measurement mechanism according to claim 14, wherein the preset direction includes a Y-axis direction; the other preset directions include an X-axis direction and a Z-axis direction, and at least one direction includes a Z-axis direction; multiple accelerations The different positions where the meter is located include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis; the processor is specifically used for:
    根据所述待检测对象在第一位置处的Z轴方向上的所述线加速度、待检测对象在第二位置处的Z轴方向上的所述线加速度、所述第一位置与所述第二位置之间的所述第一距离、所述待检测对象分别在X轴方向和Z轴方向上的所述第一角速度,确定所述待检测对象在Y轴方向上的所述角加速度。According to the linear acceleration of the object to be detected in the Z-axis direction at the first position, the linear acceleration of the object to be detected in the Z-axis direction at the second position, the first position and the first position The first distance between the two positions and the first angular velocity of the object to be detected in the X-axis direction and the first angular velocity in the Z-axis direction respectively determine the angular acceleration of the object to be detected in the Y-axis direction.
  16. 根据权利要求14所述的测量机构,其特征在于,在获取预设原点在 至少一个方向上的线加速度之后,所述处理器,还用于:The measurement mechanism according to claim 14, wherein after obtaining the linear acceleration of the preset origin in at least one direction, the processor is further configured to:
    确定多个所述加速度计所在的不同位置与所述预设原点之间的第二距离;Determining a second distance between the different positions where the accelerometers are located and the preset origin;
    根据所述待检测对象在不同位置处的至少一个方向上的所述线加速度、所述待检测对象在其他预设方向上的所述第一角速度、预设原点在至少一个方向上的所述线加速度和所述第二距离,确定所述待检测对象在预设方向上的所述角加速度。According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the preset origin in at least one direction The linear acceleration and the second distance determine the angular acceleration of the object to be detected in a preset direction.
  17. 根据权利要求16所述的测量机构,其特征在于,所述预设方向包括X轴方向;所述其他预设方向包括Y轴方向和Z轴方向,至少一个方向包括Z轴方向;多个加速度计所在的不同位置包括设置于所述Y轴方向上的第三位置;所述处理器,用于:The measurement mechanism according to claim 16, wherein the preset direction includes an X-axis direction; the other preset directions include a Y-axis direction and a Z-axis direction, at least one direction includes the Z-axis direction; multiple accelerations The different positions where the meter is located include a third position set in the Y-axis direction; the processor is configured to:
    根据所述待检测对象在第三位置处的Z轴方向上的所述线加速度、预设原点在Z轴方向上的所述线加速度、所述第三位置与预设原点之间的所述第二距离、所述待检测对象分别在Y轴方向和Z轴方向上的所述第一角速度,确定所述待检测对象在X轴方向上的所述角加速度。According to the linear acceleration in the Z-axis direction of the object to be detected at the third position, the linear acceleration in the Z-axis direction of the preset origin, and the difference between the third position and the preset origin The second distance and the first angular velocity of the object to be detected in the Y-axis direction and the Z-axis direction respectively determine the angular acceleration of the object to be detected in the X-axis direction.
  18. 根据权利要求16所述的测量机构,其特征在于,所述预设方向包括Z轴方向;所述其他预设方向包括X轴方向和Y轴方向,至少一个方向包括X轴方向;多个加速度计所在的不同位置包括设置于所述Y轴方向上的第三位置;所述处理器,用于:The measurement mechanism according to claim 16, wherein the preset direction includes a Z-axis direction; the other preset directions include an X-axis direction and a Y-axis direction, and at least one direction includes the X-axis direction; multiple accelerations The different positions where the meter is located include a third position set in the Y-axis direction; the processor is configured to:
    根据所述待检测对象在预设原点处的X轴方向上的所述线加速度、待检测对象在第三位置处的X轴方向上的所述线加速度、所述第三位置与预设原点之间的所述第二距离、所述待检测对象分别在X轴方向和Y轴方向上的所述第一角速度,确定所述待检测对象在Z轴方向上的所述角加速度。According to the linear acceleration of the object to be detected in the X-axis direction at the preset origin, the linear acceleration of the object to be detected in the X-axis direction at the third position, the third position and the preset origin The second distance between and the first angular velocity of the object to be detected in the X-axis direction and the first angular velocity in the Y-axis direction respectively determine the angular acceleration of the object to be detected in the Z-axis direction.
  19. 根据权利要求16所述的测量机构,其特征在于,所述处理器,用于:The measurement mechanism according to claim 16, wherein the processor is configured to:
    根据所述第一距离、所述第二距离和所述待检测对象在不同位置处的至少一个方向上的所述线加速度,确定所述预设原点在至少一个方向上的所述线加速度。Determine the linear acceleration of the preset origin in at least one direction according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions.
  20. 根据权利要求19所述的测量机构,其特征在于,至少一个方向包括X轴方向;多个加速度计所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;所述处理器,用于:The measurement mechanism according to claim 19, wherein at least one direction includes the X-axis direction; the different positions of the multiple accelerometers include a first position set in the positive direction of the X-axis and a first position set in the negative direction of the X-axis. The second position; the processor is used to:
    根据所述待检测对象分别在第一位置和第二位置处的X轴方向上的所述线加速度、所述第二位置与预设原点之间的所述第二距离、所述第一位置与 预设原点之间的所述第二距离以及所述第一位置与所述第二位置之间的所述第一距离,确定所预设原点在X轴方向上的所述线加速度。According to the linear acceleration in the X-axis direction of the object to be detected at the first position and the second position, the second distance between the second position and the preset origin, and the first position The second distance from the preset origin and the first distance between the first position and the second position determine the linear acceleration of the preset origin in the X-axis direction.
  21. 根据权利要求19所述的测量机构,其特征在于,至少一个方向包括Z轴方向;多个加速度计所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;所述处理器,用于:The measurement mechanism according to claim 19, wherein at least one direction includes the Z-axis direction; the different positions of the multiple accelerometers include a first position set in the positive direction of the X-axis and a first position set in the negative direction of the X-axis. The second position; the processor is used to:
    根据所述待检测对象分别在第一位置和第二位置处的Z轴方向上的所述线加速度、所述第二位置与预设原点之间的所述第二距离、所述第一位置与预设原点之间的所述第二距离以及所述第一位置与所述第二位置之间的所述第一距离,确定所预设原点在Z轴方向上的所述线加速度。According to the linear acceleration in the Z-axis direction of the object to be detected at the first position and the second position, the second distance between the second position and the preset origin, and the first position The second distance from the preset origin and the first distance between the first position and the second position determine the linear acceleration of the preset origin in the Z-axis direction.
  22. 根据权利要求16所述的测量机构,其特征在于,所述处理器,用于:The measurement mechanism according to claim 16, wherein the processor is configured to:
    对所述待检测对象在预设方向上的角加速度进行高通滤波,并对滤波后的角加速度进行积分处理,获得所述待检测对象在预设方向上的第二角速度;Performing high-pass filtering on the angular acceleration of the object to be detected in the preset direction, and performing integration processing on the filtered angular acceleration to obtain the second angular velocity of the object to be detected in the preset direction;
    对所述待检测对象在预设方向上的第一角速度进行低通滤波,获得所述待检测对象在预设方向上的第三角速度;Performing low-pass filtering on the first angular velocity of the object to be detected in the preset direction to obtain the third angular velocity of the object to be detected in the preset direction;
    将所述第二角速度与所述第三角速度的和值确定为所述待检测对象在预设方向上的目标角速度。The sum of the second angular velocity and the third angular velocity is determined as the target angular velocity of the object to be detected in a preset direction.
  23. 根据权利要求22所述的测量机构,其特征在于,对所有的角加速度进行高通滤波的截止频率与对所有的第一角速度进行低通滤波的截止频率相同。The measurement mechanism according to claim 22, wherein the cut-off frequency of the high-pass filtering of all angular accelerations is the same as the cut-off frequency of the low-pass filtering of all the first angular velocities.
  24. 根据权利要求16所述的测量机构,其特征在于,所述待检测对象为设置于云台上的拍摄装置,所述云台上设置有驱动电机;所述处理器,用于:The measurement mechanism according to claim 16, wherein the object to be detected is a photographing device set on a pan-tilt, and a driving motor is provided on the pan-tilt; and the processor is configured to:
    根据所述目标角速度确定与所述驱动电机相对应的控制参数;Determining a control parameter corresponding to the drive motor according to the target angular velocity;
    根据所述控制参数对所述驱动电机进行控制,以实现对所述云台的姿态进行调整。The driving motor is controlled according to the control parameter, so as to adjust the posture of the pan/tilt head.
  25. 一种角速度测量机构,其特征在于,包括:An angular velocity measuring mechanism, characterized in that it comprises:
    陀螺仪组件,设置于待检测对象上;The gyroscope component is set on the object to be detected;
    多个加速度计,分布在所述待检测对象的不同位置;Multiple accelerometers distributed at different positions of the object to be detected;
    其中,所述陀螺仪组件与多个所述加速度计用于配合确定所述待检测对象在预设方向上的目标角速度。Wherein, the gyroscope component and a plurality of accelerometers are used to cooperate to determine the target angular velocity of the object to be detected in a preset direction.
  26. 根据权利要求25所述的测量机构,其特征在于,所述陀螺仪组件为三轴陀螺仪。The measurement mechanism according to claim 25, wherein the gyroscope assembly is a three-axis gyroscope.
  27. 根据权利要求25所述的测量机构,其特征在于,所述陀螺仪组件包括三个单轴陀螺仪,三个单轴陀螺仪中任意两个单轴陀螺仪之间的距离小于预设阈值。The measurement mechanism according to claim 25, wherein the gyroscope assembly includes three single-axis gyroscopes, and the distance between any two single-axis gyroscopes among the three single-axis gyroscopes is less than a preset threshold.
  28. 根据权利要求25所述的测量机构,其特征在于,所述加速度计包括三轴加速度计,所述三轴加速度计的个数为三个,三个所述三轴加速度计设置于三个不同位置处。The measurement mechanism according to claim 25, wherein the accelerometer comprises a three-axis accelerometer, the number of the three-axis accelerometer is three, and the three three-axis accelerometers are arranged in three different Location.
  29. 根据权利要求28所述的测量机构,其特征在于,三个所述三轴加速度计所在的位置形成一预设平面。The measurement mechanism according to claim 28, wherein the positions of the three three-axis accelerometers form a preset plane.
  30. 根据权利要求25所述的测量机构,其特征在于,所述加速度计包括单轴加速度计,所述单轴加速度计的个数为九个,九个所述单轴加速度计设置于三个不同位置处,每三个单轴加速度计设置于同一位置。The measurement mechanism according to claim 25, wherein the accelerometer comprises a single-axis accelerometer, the number of the single-axis accelerometer is nine, and the nine single-axis accelerometers are arranged in three different accelerometers. At the location, every three single-axis accelerometers are set at the same location.
  31. 根据权利要求30所述的测量机构,其特征在于,每三个单轴加速度计设置于同一位置,九个单轴加速度计所在的位置形成一预设平面。The measurement mechanism according to claim 30, wherein every three single-axis accelerometers are arranged at the same position, and the positions of the nine single-axis accelerometers form a preset plane.
  32. 根据权利要求29或31所述的测量机构,其特征在于,在所述待检测对象的坐标系下,所述预设平面与所述坐标系中的坐标平面相互平行或者垂直。The measurement mechanism according to claim 29 or 31, wherein in the coordinate system of the object to be detected, the preset plane and the coordinate plane in the coordinate system are parallel or perpendicular to each other.
  33. 根据权利要求25-31中任意一线所述的测量机构,其特征在于,多个所述加速度计所在的位置构成一等腰三角形。The measurement mechanism according to any one of claims 25-31, wherein the positions of a plurality of accelerometers form an isosceles triangle.
  34. 一种角速度测量方法,其特征在于,包括:An angular velocity measurement method, characterized in that it comprises:
    通过陀螺仪组件获取待检测对象在预设方向上的第一角速度;Obtain the first angular velocity of the object to be detected in the preset direction through the gyroscope component;
    通过多个加速度计获取所述待检测对象在不同位置处的至少一个方向上的线加速度;Acquiring linear accelerations of the object to be detected in at least one direction at different positions by using multiple accelerometers;
    根据所述待检测对象在预设方向上的第一角速度和所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的目标角速度。The target angular velocity of the object to be detected in the preset direction is determined according to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions.
  35. 根据权利要求34所述的方法,其特征在于,根据所述待检测对象在预设方向上的第一角速度和所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的目标角速度,包括:34. The method according to claim 34, characterized in that the determination of the said object is based on the first angular velocity of the object to be detected in a preset direction and the linear acceleration of the object to be detected in at least one direction at different positions. The target angular velocity of the object to be detected in the preset direction, including:
    根据所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的角加速度;Determine the angular acceleration of the object to be detected in a preset direction according to the linear acceleration of the object to be detected in at least one direction at different positions;
    根据所述待检测对象在预设方向上的所述第一角速度和所述角加速度, 确定所述待检测对象在预设方向上的所述目标角速度。Determine the target angular velocity of the object to be detected in the preset direction according to the first angular velocity and the angular acceleration of the object to be detected in the preset direction.
  36. 根据权利要求35所述的方法,其特征在于,根据所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的角加速度,包括:The method according to claim 35, wherein determining the angular acceleration of the object to be detected in a preset direction according to the linear acceleration of the object to be detected in at least one direction at different positions comprises:
    在所述待检测对象的坐标系下,获取预设原点在至少一个方向上的线加速度;Obtaining the linear acceleration of the preset origin in at least one direction in the coordinate system of the object to be detected;
    确定多个所述加速度计所在的不同位置之间的第一距离;Determining the first distance between the different positions where the multiple accelerometers are located;
    根据所述待检测对象在不同位置处的至少一个方向上的所述线加速度、所述待检测对象在其他预设方向上的所述第一角速度、预设原点在至少一个方向上的所述线加速度和所述第一距离,确定所述待检测对象在预设方向上的所述角加速度。According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the preset origin in at least one direction The linear acceleration and the first distance determine the angular acceleration of the object to be detected in a preset direction.
  37. 根据权利要求36所述的方法,其特征在于,所述预设方向包括Y轴方向;所述其他预设方向包括X轴方向和Z轴方向,至少一个方向包括Z轴方向;多个加速度计所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;The method according to claim 36, wherein the preset direction includes a Y-axis direction; the other preset directions include an X-axis direction and a Z-axis direction, and at least one direction includes a Z-axis direction; multiple accelerometers The different positions include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis;
    根据所述待检测对象在不同位置处的至少一个方向上的所述线加速度、所述待检测对象在其他预设方向上的所述第一角速度、预设原点在至少一个方向上的所述线加速度和所述第一距离,确定所述待检测对象在预设方向上的所述角加速度,包括:According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the preset origin in at least one direction The linear acceleration and the first distance determine the angular acceleration of the object to be detected in a preset direction, including:
    根据所述待检测对象在第二位置处的Z轴方向上的所述线加速度、待检测对象在第一位置处的Z轴方向上的所述线加速度、所述第一位置与所述第二位置之间的所述第一距离、所述待检测对象分别在X轴方向和Z轴方向上的所述第一角速度,确定所述待检测对象在Y轴方向上的所述角加速度。According to the linear acceleration of the object to be detected in the Z-axis direction at the second position, the linear acceleration of the object to be detected in the Z-axis direction at the first position, the first position and the first position The first distance between the two positions and the first angular velocity of the object to be detected in the X-axis direction and the first angular velocity in the Z-axis direction respectively determine the angular acceleration of the object to be detected in the Y-axis direction.
  38. 根据权利要求36所述的方法,其特征在于,在获取预设原点在至少一个方向上的线加速度之后,所述方法还包括:The method according to claim 36, wherein after obtaining the linear acceleration of the preset origin in at least one direction, the method further comprises:
    确定多个所述加速度计所在的不同位置与所述预设原点之间的第二距离;Determining a second distance between the different positions where the accelerometers are located and the preset origin;
    根据所述待检测对象在不同位置处的至少一个方向上的所述线加速度、所述待检测对象在其他预设方向上的所述第一角速度、预设原点在至少一个方向上的所述线加速度和所述第二距离,确定所述待检测对象在预设方向上的所述角加速度。According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the preset origin in at least one direction The linear acceleration and the second distance determine the angular acceleration of the object to be detected in a preset direction.
  39. 根据权利要求38所述的方法,其特征在于,所述预设方向包括X轴方 向;所述其他预设方向包括Y轴方向和Z轴方向,至少一个方向包括Z轴方向;多个加速度计所在的不同位置包括设置于所述Y轴方向上的第三位置;The method according to claim 38, wherein the preset direction includes an X-axis direction; the other preset directions include a Y-axis direction and a Z-axis direction, and at least one direction includes a Z-axis direction; multiple accelerometers The different positions include the third position arranged in the Y-axis direction;
    根据所述待检测对象在不同位置处的至少一个方向上的所述线加速度、所述待检测对象在其他预设方向上的所述第一角速度、预设原点在至少一个方向上的所述线加速度和所述第二距离,确定所述待检测对象在预设方向上的所述角加速度,包括:According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the preset origin in at least one direction The linear acceleration and the second distance determine the angular acceleration of the object to be detected in a preset direction, including:
    根据所述待检测对象在第三位置处的Z轴方向上的所述线加速度、预设原点在Z轴方向上的所述线加速度、所述第三位置与预设原点之间的所述第二距离、所述待检测对象分别在Y轴方向和Z轴方向上的所述第一角速度,确定所述待检测对象在X轴方向上的所述角加速度。According to the linear acceleration in the Z-axis direction of the object to be detected at the third position, the linear acceleration in the Z-axis direction of the preset origin, and the difference between the third position and the preset origin The second distance and the first angular velocity of the object to be detected in the Y-axis direction and the Z-axis direction respectively determine the angular acceleration of the object to be detected in the X-axis direction.
  40. 根据权利要求38所述的方法,其特征在于,所述预设方向包括Z轴方向;所述其他预设方向包括X轴方向和Y轴方向,至少一个方向包括X轴方向;多个加速度计所在的不同位置包括设置于所述Y轴方向上的第三位置;The method of claim 38, wherein the preset direction includes a Z-axis direction; the other preset directions include an X-axis direction and a Y-axis direction, and at least one direction includes the X-axis direction; multiple accelerometers The different positions include the third position arranged in the Y-axis direction;
    根据所述待检测对象在不同位置处的至少一个方向上的所述线加速度、所述待检测对象在其他预设方向上的所述第一角速度、预设原点在至少一个方向上的所述线加速度和所述第二距离,确定所述待检测对象在预设方向上的所述角加速度,包括:According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the preset origin in at least one direction The linear acceleration and the second distance determine the angular acceleration of the object to be detected in a preset direction, including:
    根据所述待检测对象在预设原点处的X轴方向上的所述线加速度、待检测对象在第三位置处的X轴方向上的所述线加速度、所述第三位置与预设原点之间的所述第二距离、所述待检测对象分别在X轴方向和Y轴方向上的所述第一角速度,确定所述待检测对象在Z轴方向上的所述角加速度。According to the linear acceleration of the object to be detected in the X-axis direction at the preset origin, the linear acceleration of the object to be detected in the X-axis direction at the third position, the third position and the preset origin The second distance between and the first angular velocity of the object to be detected in the X-axis direction and the first angular velocity in the Y-axis direction respectively determine the angular acceleration of the object to be detected in the Z-axis direction.
  41. 根据权利要求38所述的方法,其特征在于,获取预设原点在至少一个方向上的线加速度,包括:The method according to claim 38, wherein obtaining the linear acceleration of the preset origin in at least one direction comprises:
    根据所述第一距离、所述第二距离和所述待检测对象在不同位置处的至少一个方向上的所述线加速度,确定所述预设原点在至少一个方向上的所述线加速度。Determine the linear acceleration of the preset origin in at least one direction according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions.
  42. 根据权利要求41所述的方法,其特征在于,至少一个方向包括X轴方向;多个加速度计所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;The method according to claim 41, wherein at least one direction includes the X-axis direction; and the different positions where the multiple accelerometers are located include a first position set in the positive direction of the X-axis and a first position set in the negative direction of the X-axis. Two positions
    根据所述第一距离、所述第二距离和所述待检测对象在不同位置处的至少一个方向上的所述线加速度,确定所述预设原点在至少一个方向上的所述 线加速度,包括:Determine the linear acceleration of the preset origin in at least one direction according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, include:
    根据所述待检测对象分别在第一位置和第二位置处的X轴方向上的所述线加速度、所述第二位置与预设原点之间的所述第二距离、所述第一位置与预设原点之间的所述第二距离以及所述第一位置与所述第二位置之间的所述第一距离,确定所预设原点在X轴方向上的所述线加速度。According to the linear acceleration in the X-axis direction of the object to be detected at the first position and the second position, the second distance between the second position and the preset origin, and the first position The second distance from the preset origin and the first distance between the first position and the second position determine the linear acceleration of the preset origin in the X-axis direction.
  43. 根据权利要求41所述的方法,其特征在于,至少一个方向包括Z轴方向;多个加速度计所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;The method according to claim 41, wherein at least one direction includes the Z-axis direction; and the different positions where the multiple accelerometers are located include a first position set in the positive direction of the X-axis and a first position set in the negative direction of the X-axis. Two positions
    根据所述第一距离、所述第二距离和所述待检测对象在不同位置处的至少一个方向上的所述线加速度,确定所述预设原点在至少一个方向上的所述线加速度,包括:Determine the linear acceleration of the preset origin in at least one direction according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions, include:
    根据所述待检测对象分别在第一位置和第二位置处的Z轴方向上的所述线加速度、所述第二位置与预设原点之间的所述第二距离、所述第一位置与预设原点之间的所述第二距离以及所述第一位置与所述第二位置之间的所述第一距离,确定所预设原点在Z轴方向上的所述线加速度。According to the linear acceleration in the Z-axis direction of the object to be detected at the first position and the second position, the second distance between the second position and the preset origin, and the first position The second distance from the preset origin and the first distance between the first position and the second position determine the linear acceleration of the preset origin in the Z-axis direction.
  44. 根据权利要求35所述的方法,其特征在于,根据所述待检测对象在预设方向上的所述第一角速度和所述角加速度,确定所述待检测对象在预设方向上的所述目标角速度,包括:35. The method according to claim 35, characterized in that, according to the first angular velocity and the angular acceleration of the object to be detected in a preset direction, the angular acceleration of the object to be detected in the preset direction is determined Target angular velocity, including:
    对所述待检测对象在预设方向上的所述角加速度进行高通滤波,并对滤波后的角加速度进行积分处理,获得所述待检测对象在预设方向上的第二角速度;Performing high-pass filtering on the angular acceleration of the object to be detected in a preset direction, and performing integration processing on the filtered angular acceleration to obtain the second angular velocity of the object to be detected in the preset direction;
    对所述待检测对象在预设方向上的所述第一角速度进行低通滤波,获得所述待检测对象在预设方向上的第三角速度;Performing low-pass filtering on the first angular velocity of the object to be detected in a preset direction to obtain a third angular velocity of the object to be detected in the preset direction;
    将所述第二角速度与所述第三角速度的和值确定为所述待检测对象在预设方向上的所述目标角速度。The sum of the second angular velocity and the third angular velocity is determined as the target angular velocity of the object to be detected in a preset direction.
  45. 根据权利要求44所述的方法,其特征在于,对所有的角加速度进行高通滤波的截止频率与对所有的第一角速度进行低通滤波的截止频率相同。The method according to claim 44, wherein the cut-off frequency for high-pass filtering all angular accelerations is the same as the cut-off frequency for low-pass filtering all first angular velocities.
  46. 根据权利要求34-45中任意一项所述的方法,其特征在于,所述待检测对象为设置于云台上的拍摄装置,所述云台上设置有驱动电机;所述方法还包括:The method according to any one of claims 34-45, wherein the object to be detected is a photographing device arranged on a pan/tilt, and a driving motor is arranged on the pan/tilt; the method further comprises:
    根据所述目标角速度确定与所述驱动电机相对应的控制参数;Determining a control parameter corresponding to the drive motor according to the target angular velocity;
    根据所述控制参数对所述驱动电机进行控制,以实现对所述云台的姿态进行调整。The driving motor is controlled according to the control parameter, so as to adjust the posture of the pan/tilt head.
  47. 一种角速度测量装置,其特征在于,包括:An angular velocity measuring device, characterized in that it comprises:
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于运行所述存储器中存储的计算机程序以实现:The processor is configured to run a computer program stored in the memory to realize:
    通过陀螺仪组件获取待检测对象在预设方向上的第一角速度;Obtain the first angular velocity of the object to be detected in the preset direction through the gyroscope component;
    通过多个加速度计获取所述待检测对象在不同位置处的至少一个方向上的线加速度;Acquiring linear accelerations of the object to be detected in at least one direction at different positions by using multiple accelerometers;
    根据所述待检测对象在预设方向上的第一角速度和所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的目标角速度。The target angular velocity of the object to be detected in the preset direction is determined according to the first angular velocity of the object to be detected in the preset direction and the linear acceleration of the object to be detected in at least one direction at different positions.
  48. 根据权利要求47所述的装置,其特征在于,在所述处理器103根据所述待检测对象在预设方向上的第一角速度和所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的目标角速度时,所述处理器,用于:The device according to claim 47, characterized in that, the processor 103 is based on the first angular velocity of the object to be detected in a preset direction and at least one direction of the object to be detected in different positions. Linear acceleration, when determining the target angular velocity of the object to be detected in a preset direction, the processor is configured to:
    根据所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的角加速度;Determine the angular acceleration of the object to be detected in a preset direction according to the linear acceleration of the object to be detected in at least one direction at different positions;
    根据所述待检测对象在预设方向上的所述第一角速度和所述角加速度,确定所述待检测对象在预设方向上的所述目标角速度。Determine the target angular velocity of the object to be detected in the preset direction according to the first angular velocity and the angular acceleration of the object to be detected in the preset direction.
  49. 根据权利要求48所述的装置,其特征在于,在所述处理器根据所述待检测对象在不同位置处的至少一个方向上的线加速度,确定所述待检测对象在预设方向上的角加速度时,所述处理器,用于:The device according to claim 48, wherein the processor determines the angle of the object to be detected in a preset direction according to the linear acceleration of the object to be detected in at least one direction at different positions. During acceleration, the processor is used to:
    在所述待检测对象的坐标系下,获取预设原点在至少一个方向上的线加速度;Obtaining the linear acceleration of the preset origin in at least one direction in the coordinate system of the object to be detected;
    确定多个所述加速度计所在的不同位置之间的第一距离;Determining the first distance between the different positions where the multiple accelerometers are located;
    根据所述待检测对象在不同位置处的至少一个方向上的所述线加速度、所述待检测对象在其他预设方向上的所述第一角速度、预设原点在至少一个方向上的所述线加速度和所述第一距离,确定所述待检测对象在预设方向上的所述角加速度。According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the preset origin in at least one direction The linear acceleration and the first distance determine the angular acceleration of the object to be detected in a preset direction.
  50. 根据权利要求49所述的装置,其特征在于,所述预设方向包括Y轴方向;所述其他预设方向包括X轴方向和Z轴方向,至少一个方向包括Z轴方向; 多个加速度计所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;The device of claim 49, wherein the preset direction includes a Y-axis direction; the other preset directions include an X-axis direction and a Z-axis direction, and at least one direction includes a Z-axis direction; multiple accelerometers The different positions include a first position set in the positive direction of the X-axis and a second position set in the negative direction of the X-axis;
    在所述处理器根据所述待检测对象在不同位置处的至少一个方向上的所述线加速度、所述待检测对象在其他预设方向上的所述第一角速度、预设原点在至少一个方向上的所述线加速度和所述第一距离,确定所述待检测对象在预设方向上的所述角加速度时,所述处理器,用于:In the processor according to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, and the preset origin is at least one When the linear acceleration in the direction and the first distance determine the angular acceleration of the object to be detected in a preset direction, the processor is configured to:
    根据所述待检测对象在第二位置处的Z轴方向上的所述线加速度、待检测对象在第一位置处的Z轴方向上的所述线加速度、所述第一位置与所述第二位置之间的所述第一距离、所述待检测对象分别在X轴方向和Z轴方向上的所述第一角速度,确定所述待检测对象在Y轴方向上的所述角加速度。According to the linear acceleration of the object to be detected in the Z-axis direction at the second position, the linear acceleration of the object to be detected in the Z-axis direction at the first position, the first position and the first position The first distance between the two positions and the first angular velocity of the object to be detected in the X-axis direction and the first angular velocity in the Z-axis direction respectively determine the angular acceleration of the object to be detected in the Y-axis direction.
  51. 根据权利要求49所述的装置,其特征在于,在获取预设原点在至少一个方向上的线加速度之后,所述处理器,还用于:The device according to claim 49, wherein after acquiring the linear acceleration of the preset origin in at least one direction, the processor is further configured to:
    确定多个所述加速度计所在的不同位置与所述预设原点之间的第二距离;Determining a second distance between the different positions where the accelerometers are located and the preset origin;
    根据所述待检测对象在不同位置处的至少一个方向上的所述线加速度、所述待检测对象在其他预设方向上的所述第一角速度、预设原点在至少一个方向上的所述线加速度和所述第二距离,确定所述待检测对象在预设方向上的所述角加速度。According to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, the preset origin in at least one direction The linear acceleration and the second distance determine the angular acceleration of the object to be detected in a preset direction.
  52. 根据权利要求51所述的装置,其特征在于,所述预设方向包括X轴方向;所述其他预设方向包括Y轴方向和Z轴方向,至少一个方向包括Z轴方向;多个加速度计所在的不同位置包括设置于所述Y轴方向上的第三位置;The device of claim 51, wherein the preset direction includes an X-axis direction; the other preset directions include a Y-axis direction and a Z-axis direction, and at least one direction includes the Z-axis direction; multiple accelerometers The different positions include the third position arranged in the Y-axis direction;
    在所述处理器根据所述待检测对象在不同位置处的至少一个方向上的所述线加速度、所述待检测对象在其他预设方向上的所述第一角速度、预设原点在至少一个方向上的所述线加速度和所述第二距离,确定所述待检测对象在预设方向上的所述角加速度时,所述处理器,还用于:In the processor according to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, and the preset origin is at least one When the linear acceleration in the direction and the second distance determine the angular acceleration of the object to be detected in a preset direction, the processor is further configured to:
    根据所述待检测对象在第三位置处的Z轴方向上的所述线加速度、预设原点在Z轴方向上的所述线加速度、所述第三位置与预设原点之间的所述第二距离、所述待检测对象分别在Y轴方向和Z轴方向上的所述第一角速度,确定所述待检测对象在X轴方向上的所述角加速度。According to the linear acceleration in the Z-axis direction of the object to be detected at the third position, the linear acceleration in the Z-axis direction of the preset origin, and the difference between the third position and the preset origin The second distance and the first angular velocity of the object to be detected in the Y-axis direction and the Z-axis direction respectively determine the angular acceleration of the object to be detected in the X-axis direction.
  53. 根据权利要求51所述的装置,其特征在于,所述预设方向包括Z轴方向;所述其他预设方向包括X轴方向和Y轴方向,至少一个方向包括X轴方向;多个加速度计所在的不同位置包括设置于所述Y轴方向上的第三位置;The device of claim 51, wherein the preset direction includes a Z-axis direction; the other preset directions include an X-axis direction and a Y-axis direction, and at least one direction includes the X-axis direction; multiple accelerometers The different positions include the third position arranged in the Y-axis direction;
    在所述处理器根据所述待检测对象在不同位置处的至少一个方向上的所述线加速度、所述待检测对象在其他预设方向上的所述第一角速度、预设原点在至少一个方向上的所述线加速度和所述第二距离,确定所述待检测对象在预设方向上的所述角加速度时,所述处理器,还用于:In the processor according to the linear acceleration of the object to be detected in at least one direction at different positions, the first angular velocity of the object to be detected in other preset directions, and the preset origin is at least one When the linear acceleration in the direction and the second distance determine the angular acceleration of the object to be detected in a preset direction, the processor is further configured to:
    根据所述待检测对象在预设原点处的X轴方向上的所述线加速度、待检测对象在第三位置处的X轴方向上的所述线加速度、所述第三位置与预设原点之间的所述第二距离、所述待检测对象分别在X轴方向和Y轴方向上的所述第一角速度,确定所述待检测对象在Z轴方向上的所述角加速度。According to the linear acceleration of the object to be detected in the X-axis direction at the preset origin, the linear acceleration of the object to be detected in the X-axis direction at the third position, the third position and the preset origin The second distance between and the first angular velocity of the object to be detected in the X-axis direction and the first angular velocity in the Y-axis direction respectively determine the angular acceleration of the object to be detected in the Z-axis direction.
  54. 根据权利要求51所述的装置,其特征在于,在所述处理器获取预设原点在至少一个方向上的线加速度时,所述处理器,还用于:The device according to claim 51, wherein when the processor obtains the linear acceleration of the preset origin in at least one direction, the processor is further configured to:
    根据所述第一距离、所述第二距离和所述待检测对象在不同位置处的至少一个方向上的所述线加速度,确定所述预设原点在至少一个方向上的所述线加速度。Determine the linear acceleration of the preset origin in at least one direction according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions.
  55. 根据权利要求54所述的装置,其特征在于,至少一个方向包括X轴方向;多个加速度计所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;The device according to claim 54, wherein the at least one direction includes the X-axis direction; the different positions where the multiple accelerometers are located include a first position set in the positive direction of the X-axis and a first position set in the negative direction of the X-axis. Two positions
    在所述处理器根据所述第一距离、所述第二距离和所述待检测对象在不同位置处的至少一个方向上的所述线加速度,确定所述预设原点在至少一个方向上的所述线加速度时,所述处理器,还用于:The processor determines the position of the preset origin in at least one direction according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions. During the linear acceleration, the processor is further configured to:
    根据所述待检测对象分别在第一位置和第二位置处的X轴方向上的所述线加速度、所述第二位置与预设原点之间的所述第二距离、所述第一位置与预设原点之间的所述第二距离以及所述第一位置与所述第二位置之间的所述第一距离,确定所预设原点在X轴方向上的所述线加速度。According to the linear acceleration in the X-axis direction of the object to be detected at the first position and the second position, the second distance between the second position and the preset origin, and the first position The second distance from the preset origin and the first distance between the first position and the second position determine the linear acceleration of the preset origin in the X-axis direction.
  56. 根据权利要求54所述的装置,其特征在于,至少一个方向包括Z轴方向;多个加速度计所在的不同位置包括设置于X轴正方向上的第一位置和设置于X轴负方向上的第二位置;The device according to claim 54, wherein the at least one direction includes the Z-axis direction; and the different positions where the multiple accelerometers are located include a first position set in the positive direction of the X-axis and a first position set in the negative direction of the X-axis. Two positions
    在所述处理器根据所述第一距离、所述第二距离和所述待检测对象在不同位置处的至少一个方向上的所述线加速度,确定所述预设原点在至少一个方向上的所述线加速度时,所述处理器,还用于:The processor determines the position of the preset origin in at least one direction according to the first distance, the second distance, and the linear acceleration of the object to be detected in at least one direction at different positions. During the linear acceleration, the processor is further configured to:
    根据所述待检测对象分别在第一位置和第二位置处的Z轴方向上的所述线加速度、所述第二位置与预设原点之间的所述第二距离、所述第一位置与 预设原点之间的所述第二距离以及所述第一位置与所述第二位置之间的所述第一距离,确定所预设原点在Z轴方向上的所述线加速度。According to the linear acceleration in the Z-axis direction of the object to be detected at the first position and the second position, the second distance between the second position and the preset origin, and the first position The second distance from the preset origin and the first distance between the first position and the second position determine the linear acceleration of the preset origin in the Z-axis direction.
  57. 根据权利要求48所述的装置,其特征在于,在所述处理器根据所述待检测对象在预设方向上的所述第一角速度和所述角加速度,确定所述待检测对象在预设方向上的所述目标角速度时,所述处理器,还用于:The device according to claim 48, wherein the processor determines that the object to be detected is in a preset direction according to the first angular velocity and the angular acceleration of the object to be detected in a preset direction. When the target angular velocity in the direction, the processor is further configured to:
    对所述待检测对象在预设方向上的所述角加速度进行高通滤波,并对滤波后的角加速度进行积分处理,获得所述待检测对象在预设方向上的第二角速度;Performing high-pass filtering on the angular acceleration of the object to be detected in a preset direction, and performing integration processing on the filtered angular acceleration to obtain the second angular velocity of the object to be detected in the preset direction;
    对所述待检测对象在预设方向上的所述第一角速度进行低通滤波,获得所述待检测对象在预设方向上的第三角速度;Performing low-pass filtering on the first angular velocity of the object to be detected in a preset direction to obtain a third angular velocity of the object to be detected in the preset direction;
    将所述第二角速度与所述第三角速度的和值确定为所述待检测对象在预设方向上的所述目标角速度。The sum of the second angular velocity and the third angular velocity is determined as the target angular velocity of the object to be detected in a preset direction.
  58. 根据权利要求57所述的装置,其特征在于,对所有的角加速度进行高通滤波的截止频率与对所有的第一角速度进行低通滤波的截止频率相同。The device according to claim 57, wherein the cut-off frequency for high-pass filtering all angular accelerations is the same as the cut-off frequency for low-pass filtering all first angular velocities.
  59. 根据权利要求47-58中任意一项所述的装置,其特征在于,所述待检测对象为设置于云台上的拍摄装置,所述云台上设置有驱动电机;所述处理器,还用于:The device according to any one of claims 47-58, wherein the object to be detected is a photographing device set on a pan/tilt, and a drive motor is provided on the pan/tilt; the processor, and Used for:
    根据所述目标角速度确定与所述驱动电机相对应的控制参数;Determining a control parameter corresponding to the drive motor according to the target angular velocity;
    根据所述控制参数对所述驱动电机进行控制,以实现对所述云台的姿态进行调整。The driving motor is controlled according to the control parameter, so as to adjust the posture of the pan/tilt head.
  60. 一种拍摄装置,其特征在于,包括:A photographing device, characterized in that it comprises:
    装置主体;Device body
    权利要求1-33中任意一项所述的角速度测量机构,安装于所述装置主体上。The angular velocity measuring mechanism according to any one of claims 1-33, mounted on the main body of the device.
  61. 一种云台,其特征在于,包括:A pan-tilt, characterized in that it comprises:
    云台主体;PTZ main body;
    权利要求60所述的拍摄装置,设置于所述云台主体上。The photographing device according to claim 60, which is installed on the main body of the pan/tilt head.
  62. 一种拍摄装置,其特征在于,包括:A photographing device, characterized in that it comprises:
    装置主体;Device body
    权利要求47-59中任意一项所述的角速度测量装置,安装于所述装置主体上。The angular velocity measuring device according to any one of claims 47-59, which is installed on the main body of the device.
  63. 一种云台,其特征在于,包括:A pan-tilt, characterized in that it comprises:
    云台主体;PTZ main body;
    权利要求62所述的拍摄装置,设置于所述云台主体上。The photographing device according to claim 62, which is installed on the main body of the pan/tilt head.
  64. 一种可移动平台,其特征在于,包括:A movable platform, characterized in that it comprises:
    平台主体;Platform subject
    权利要求1-33中任意一项所述的角速度测量机构,安装于所述平台主体上。The angular velocity measuring mechanism of any one of claims 1-33 is installed on the platform main body.
  65. 一种可移动平台,其特征在于,包括:A movable platform, characterized in that it comprises:
    平台主体;Platform subject
    权利要求47-59中任意一项所述的角速度测量装置,安装于所述平台主体上。The angular velocity measuring device according to any one of claims 47-59, installed on the main body of the platform.
  66. 一种计算机可读存储介质,其特征在于,所述存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序指令用于实现权利要求34-46中任意一项所述的角速度测量方法。A computer-readable storage medium, wherein the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used to implement any one of claims 34-46 The angular velocity measurement method described in the item.
PCT/CN2020/072826 2020-01-17 2020-01-17 Angular velocity measurement mechanism, method and apparatus, and movable platform and storage medium WO2021142789A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/072826 WO2021142789A1 (en) 2020-01-17 2020-01-17 Angular velocity measurement mechanism, method and apparatus, and movable platform and storage medium
CN202080002862.1A CN112204405A (en) 2020-01-17 2020-01-17 Angular velocity measuring mechanism, method, device, movable platform and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/072826 WO2021142789A1 (en) 2020-01-17 2020-01-17 Angular velocity measurement mechanism, method and apparatus, and movable platform and storage medium

Publications (1)

Publication Number Publication Date
WO2021142789A1 true WO2021142789A1 (en) 2021-07-22

Family

ID=74033928

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/072826 WO2021142789A1 (en) 2020-01-17 2020-01-17 Angular velocity measurement mechanism, method and apparatus, and movable platform and storage medium

Country Status (2)

Country Link
CN (1) CN112204405A (en)
WO (1) WO2021142789A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114563589A (en) * 2022-03-04 2022-05-31 北京女娲补天科技信息技术有限公司 Method and device for measuring object rotation angular velocity based on sound directivity

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103363992A (en) * 2013-06-29 2013-10-23 天津大学 Method for solving attitude and heading reference system of four-rotor unmanned aerial vehicle based on gradient descent
US20150168145A1 (en) * 2013-07-26 2015-06-18 The Charles Stark Draper Laboratory, Inc. Modal decoupling via flexure-based transmissions as applied to a micromachined tuning fork gyroscope
CN105620741A (en) * 2016-02-24 2016-06-01 成都方舟智控科技有限公司 Aircraft and control method thereof
CN107817405A (en) * 2017-12-10 2018-03-20 西北农林科技大学 A kind of electronic unmanned plane real-time energy efficiency data acquisition and track record device
CN110081883A (en) * 2019-04-29 2019-08-02 北京理工大学 Low cost integrated navigation system and method suitable for high speed rolling flight device
US20190382134A1 (en) * 2018-06-15 2019-12-19 Michael A. BAKLYCKI Self-leveling launch and recovery platform for aerial vehicle and method of maintaining a level platform during launch and recovery

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5383363A (en) * 1993-02-10 1995-01-24 Ford Motor Company Inertial measurement unit providing linear and angular outputs using only fixed linear accelerometer sensors
KR100777404B1 (en) * 2005-12-30 2007-11-19 재단법인서울대학교산학협력재단 Method and Apparatus for Estimation of Angular Velocity Using 2 Linear Acceleration Sensors
FR2917175B1 (en) * 2007-06-08 2010-04-16 Eurocopter France METHOD AND SYSTEM FOR ESTIMATING THE ANGULAR SPEED OF A MOBILE
CN104677355B (en) * 2015-03-06 2017-07-28 九江飞恩微电子有限公司 Virtual gyro and method based on Multi-sensor Fusion
CN106643802A (en) * 2016-12-28 2017-05-10 北京奇艺世纪科技有限公司 Gyroscopic drift correction method and gyroscopic drift correction device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103363992A (en) * 2013-06-29 2013-10-23 天津大学 Method for solving attitude and heading reference system of four-rotor unmanned aerial vehicle based on gradient descent
US20150168145A1 (en) * 2013-07-26 2015-06-18 The Charles Stark Draper Laboratory, Inc. Modal decoupling via flexure-based transmissions as applied to a micromachined tuning fork gyroscope
CN105620741A (en) * 2016-02-24 2016-06-01 成都方舟智控科技有限公司 Aircraft and control method thereof
CN107817405A (en) * 2017-12-10 2018-03-20 西北农林科技大学 A kind of electronic unmanned plane real-time energy efficiency data acquisition and track record device
US20190382134A1 (en) * 2018-06-15 2019-12-19 Michael A. BAKLYCKI Self-leveling launch and recovery platform for aerial vehicle and method of maintaining a level platform during launch and recovery
CN110081883A (en) * 2019-04-29 2019-08-02 北京理工大学 Low cost integrated navigation system and method suitable for high speed rolling flight device

Also Published As

Publication number Publication date
CN112204405A (en) 2021-01-08

Similar Documents

Publication Publication Date Title
CN109000612B (en) Equipment angle estimation method and device, camera shooting assembly and aircraft
WO2019223270A1 (en) Method and apparatus for estimating angle and angular velocity of electric motor of gimbal, and gimbal and aerial vehicle
WO2018184467A1 (en) Method and device for detecting posture of ball head
WO2020253260A1 (en) Time synchronization processing method, electronic apparatus, and storage medium
US20060185432A1 (en) Five degree of freedom intertial measurement device
CN203705964U (en) Stable closed-loop control device of airborne 3-DOF pan-tilt
WO2021027638A1 (en) Yaw angle fusion method and apparatus, and aerial vehicle
WO2018120012A1 (en) Method and device for controlling cradle head, and cradle head
CN108780324B (en) Unmanned aerial vehicle, and unmanned aerial vehicle control method and device
WO2021032201A1 (en) Yaw angle fusion method and device, and aircraft
WO2022063120A1 (en) Combined navigation system initialization method and apparatus, medium, and electronic device
CN110622091A (en) Cloud deck control method, device and system, computer storage medium and unmanned aerial vehicle
KR101769602B1 (en) Apparatus and method of position revision for hovering using optical flow and imu and ultrasonic sensor
US8699868B1 (en) Anti-shake correction system for curved optical sensor
CN110377058B (en) Aircraft yaw angle correction method and device and aircraft
WO2021142789A1 (en) Angular velocity measurement mechanism, method and apparatus, and movable platform and storage medium
WO2020042159A1 (en) Rotation control method and apparatus for gimbal, control device, and mobile platform
CN109521785A (en) It is a kind of to clap Smart Rotor aerocraft system with oneself
WO2023010318A1 (en) Gimbal control method and apparatus, gimbal and storage medium
Wang et al. LF-VIO: A visual-inertial-odometry framework for large field-of-view cameras with negative plane
WO2018214031A1 (en) Control method, device and apparatus, and aerial vehicle
CN113063416A (en) Robot attitude fusion method based on adaptive parameter complementary filtering
CN112154480B (en) Positioning method and device for movable platform, movable platform and storage medium
CN217935703U (en) Airborne large-format aerial photography system device
US10458793B2 (en) Measuring camera to body alignment for an imager mounted within a structural body

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

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

Country of ref document: EP

Kind code of ref document: A1