+

WO2018126911A1 - Positioning method and apparatus, service processing system and computer readable storage medium - Google Patents

Positioning method and apparatus, service processing system and computer readable storage medium Download PDF

Info

Publication number
WO2018126911A1
WO2018126911A1 PCT/CN2017/118029 CN2017118029W WO2018126911A1 WO 2018126911 A1 WO2018126911 A1 WO 2018126911A1 CN 2017118029 W CN2017118029 W CN 2017118029W WO 2018126911 A1 WO2018126911 A1 WO 2018126911A1
Authority
WO
WIPO (PCT)
Prior art keywords
initial
new
angle
mobile robot
dual
Prior art date
Application number
PCT/CN2017/118029
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 北京京东尚科信息技术有限公司
Publication of WO2018126911A1 publication Critical patent/WO2018126911A1/en

Links

Images

Classifications

    • 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/166Mechanical, construction or arrangement details of inertial navigation systems
    • 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/20Instruments for performing navigational calculations
    • G01C21/206Instruments for performing navigational calculations specially adapted for indoor navigation
    • 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/20Instruments for performing navigational calculations

Definitions

  • the present invention relates to the field of computers and software technologies thereof, and in particular, to a method, an apparatus, a service processing system, and a computer readable storage medium for positioning a dual-drive mobile robot.
  • the two-wheel drive mobile robot usually adopts the double-drive mode of the left and right wheels.
  • the car body train adopts the differential fixed rudder mode, and the drive motor is the servo motor. By controlling the rotational speed of the two motors, the speed control and attitude control of the vehicle are realized.
  • the positioning technology of the two-wheeled mobile robot is mainly based on encoder positioning and inertial navigation based positioning.
  • the encoder-based robot positioning method is specifically: when the robot walks between two two-dimensional code points, if the ground is strictly level and the influence of other errors is excluded, the robot can be considered to be in a straight line.
  • An encoder is mounted on the wheel. When the wheel rotates, the encoder will send several pulse signals. After receiving the signal, the navigation solving unit can calculate the number of the pulse signals to know that the wheel is in a straight line within the measuring time. The distance so that you can get the coordinates of the robot on a straight line.
  • the robot no longer walks in a straight line, but walks the curve, especially when a certain wheel slips, the robot will produce a large Turning, causing a large error in the encoder mode positioning results.
  • the robot positioning method based on inertial navigation is specifically: placing the inertial measurement sensor on the center point of the carrier, collecting the basic motion data information such as the acceleration and angular velocity of the robot motion, and transforming it into the navigation coordinate system through the direction cosine matrix, after a series of The navigation algorithm can solve the velocity, position and attitude angle information of the carrier.
  • the inertial navigation sensor selects the MEMS process low-cost sensor in practical applications.
  • the zero position of the device is unstable and the random drift is serious.
  • the displacement calculation error caused by the drift of the accelerometer in 10 seconds is up to several Ten centimeters, which is unacceptable in practical applications.
  • the present invention provides a positioning method and positioning device for a dual-drive mobile robot, and a service processing system and a computer readable storage medium for positioning of the dual-drive mobile robot, which are helpful in solving the prior art.
  • a positioning method for a dual-drive mobile robot comprising: acquiring an initial abscissa, an initial ordinate, an initial heading angle of the dual-drive mobile robot, An initial tilt angle, an initial roll angle; determining a new heading angle, a new tilt angle, and a new roll angle of the dual-drive mobile robot according to the initial head angle, the initial tilt angle, and the initial roll angle; determining the double Driving an average moving distance of the left and right driving wheels of the mobile robot; determining a new horizontal of the dual-drive mobile robot according to the initial abscissa, the initial ordinate, the new heading angle, and the average moving distance of the left and right driving wheels Coordinates and new ordinates.
  • the determining, according to the initial heading angle, the initial tilt angle, and the initial roll angle, the new heading angle, the new tilt angle, and the new roll angle of the dual-drive mobile robot include:
  • the step of determining an average moving distance of the left and right driving wheels of the dual-drive mobile robot comprises: calculating an average moving distance of the left and right driving wheels of the dual-drive mobile robot according to the following formula: Where U(k) represents the average moving distance of the left and right driving wheels, r represents the driving wheel radius, ⁇ represents the pi, n R represents the number of pulses of the right drive wheel encoder in a single sampling period, and n L represents the right drive wheel in a single sampling period The number of pulses of the encoder, n total represents the total number of pulses of one revolution of the drive wheel.
  • the determining the new abscissa and the new ordinate of the dual-drive mobile robot according to the initial abscissa, the initial ordinate, the new heading angle, and the average moving distance of the left and right driving wheels includes: determining the new abscissa according to the initial abscissa, the new heading angle, and the average moving distance of the left and right driving wheels according to the following formula: Where X(k+1) represents the new abscissa and X(k) represents the initial abscissa; the new ordinate is determined according to the initial ordinate, the new heading angle and the average moving distance of the left and right driving wheels according to the following formula Y-axis: Where Y(k+1) represents the new ordinate and Y(k) represents the initial ordinate.
  • a positioning apparatus for a dual-drive mobile robot includes: an acquisition module for acquiring an initial abscissa, an initial ordinate, and an initial of the dual-drive mobile robot a heading angle, an initial tilt angle, an initial roll angle; an angle calculation module, configured to determine a new heading angle and a new tilt angle of the dual-drive mobile robot according to the initial heading angle, the initial tilt angle, and the initial roll angle And a new roll angle; a distance calculation module, configured to determine an average moving distance of the left and right driving wheels of the dual-drive mobile robot; a coordinate calculation module, configured to determine, according to the initial abscissa, the initial ordinate, the new heading The angle and the average moving distance of the left and right driving wheels determine a new abscissa and a new ordinate of the dual-drive mobile robot.
  • the angle calculation module is further configured to:
  • the distance calculation module is further configured to: calculate an average moving distance of the left and right driving wheels of the dual-drive mobile robot according to the following formula: Where U(k) represents the average moving distance of the left and right driving wheels, r represents the driving wheel radius, ⁇ represents the pi, n R represents the number of pulses of the right drive wheel encoder in a single sampling period, and n L represents the right drive wheel in a single sampling period The number of pulses of the encoder, n total represents the total number of pulses of one revolution of the drive wheel.
  • the coordinate calculation module is further configured to: determine the new abscissa according to the initial abscissa, the new heading angle, and the average moving distance of the left and right driving wheels according to the following formula: Where X(k+1) represents the new abscissa and X(k) represents the initial abscissa; the new ordinate is determined according to the initial ordinate, the new heading angle and the average moving distance of the left and right driving wheels according to the following formula Y-axis: Where Y(k+1) represents the new ordinate and Y(k) represents the initial ordinate.
  • an electronic device for positioning of a two-wheel drive mobile robot is provided.
  • An electronic device includes: one or more processors; and storage means for storing one or more programs, when the one or more programs are executed by the one or more processors, The one or more processors are caused to implement a positioning method for a dual-drive robot according to an embodiment of the present invention.
  • a computer readable storage medium for positioning of a dual drive mobile robot is provided.
  • a computer readable storage medium according to an embodiment of the present invention, wherein a computer program is stored thereon, and when the program is executed by the processor, a positioning method for a dual-drive robot according to an embodiment of the present invention is implemented.
  • the technical solution according to the present invention is a navigation and positioning technology scheme in which an inertial system and an encoder are integrated with each other, and combines the advantages of both, uses an inertial navigation algorithm to determine a heading angle, uses a coded ranging algorithm to determine the displacement, and then uses the heading angle and the displacement to obtain A more accurate robot pose information.
  • the positioning method and the positioning device for the dual-drive mobile robot according to the embodiment of the present invention can have strong error correction and anti-interference ability for complex working conditions and the ground environment, and have higher reliability than single sensor navigation and positioning. It should be noted that the further effects of the above non-conventional alternatives will be described below in conjunction with the specific embodiments.
  • FIG. 1 is a flow chart showing main steps of a positioning method for a two-wheel drive mobile robot according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of main modules of a positioning device for a two-wheel drive mobile robot according to an embodiment of the present invention.
  • FIG. 1 is a flow chart showing the main steps of a positioning method for a two-wheel drive mobile robot according to an embodiment of the present invention. As shown in FIG. 1, the positioning method for the two-wheel drive mobile robot of this embodiment may include the following steps A to D.
  • Step A Obtain the initial abscissa, the initial ordinate, the initial heading angle, the initial tilt angle, and the initial roll angle of the dual-drive mobile robot.
  • Step B Determine the new heading angle, the new tilt angle, and the new roll angle of the dual-drive mobile robot according to the initial heading angle, the initial tilt angle, and the initial roll angle.
  • Step C Determine the average moving distance of the left and right driving wheels of the dual-drive mobile robot.
  • Step D Determine the new abscissa and the new ordinate of the dual-drive mobile robot according to the initial abscissa, the initial ordinate, the new heading angle, and the average moving distance of the left and right driving wheels.
  • the homing algorithm can determine the new heading angle, the new tilt angle, and the new roll angle of the dual-drive mobile robot according to the initial heading angle, the initial tilt angle, and the initial roll angle.
  • the specific process is as follows.
  • the quaternion is calculated according to the following formula according to the initial heading angle, the initial tilt angle, and the initial roll angle. among them, Indicates the initial heading angle, ⁇ (k) represents the initial tilt angle, ⁇ (k) represents the initial roll angle, and a, b, c, d represent the quaternion.
  • the fourth-order Pika method is used to solve the differential equation and the solution is:
  • sampling interval be ⁇ t, then: among them The three components measured for the gyroscope.
  • the updated direction cosine matrix can be obtained by solving the calculated quaternion:
  • the new tilt angle ⁇ (k+1) and the new roll angle ⁇ (k+1) are calculated as follows:
  • step C may utilize an encoding ranging algorithm to determine an average moving distance of the left and right driving wheels of the dual-drive mobile robot.
  • the specific process is as follows.
  • the average moving distance of the left and right driving wheels can be calculated according to the following formula: Where U(k) represents the average moving distance of the left and right driving wheels, r represents the driving wheel radius, ⁇ represents the pi, n R represents the number of pulses of the right drive wheel encoder in a single sampling period, and n L represents the right drive wheel in a single sampling period The number of pulses of the encoder, n total represents the total number of pulses of one revolution of the drive wheel.
  • step D may include the following steps D1 and D2.
  • Step D1 Determine the new abscissa according to the initial abscissa, the new heading angle, and the average moving distance of the left and right driving wheels according to the following formula: Where X(k+1) represents the new abscissa and X(k) represents the initial abscissa.
  • Step D2 Determine the new ordinate according to the initial ordinate, the new heading angle, and the average moving distance of the left and right driving wheels according to the following formula: Where Y(k+1) represents the new ordinate and Y(k) represents the initial ordinate.
  • the positioning device 20 for a two-wheel drive mobile robot of this embodiment may include an acquisition module 21, an angle calculation module 22, a distance calculation module 23, and a coordinate calculation module 24.
  • the obtaining module 21 is configured to obtain an initial abscissa, an initial ordinate, an initial heading angle, an initial tilt angle, and an initial roll angle of the dual-drive mobile robot.
  • the angle calculation module 22 is configured to determine a new heading angle, a new tilt angle, and a new roll angle of the dual-drive mobile robot according to the initial heading angle, the initial tilt angle, and the initial roll angle.
  • the distance calculation module 23 is for determining the average moving distance of the left and right driving wheels of the two-wheel drive mobile robot.
  • the coordinate calculation module 24 is configured to determine the new abscissa and the new ordinate of the dual-drive mobile robot according to the initial abscissa, the initial ordinate, the new heading angle, and the average moving distance of the left and right driving wheels.
  • the angle calculation module 22 is further configured to: calculate the quaternion according to the initial heading angle, the initial tilt angle, and the initial roll angle according to the following formula:
  • ⁇ (k) represents the initial tilt angle
  • ⁇ (k) represents the initial roll angle
  • a, b, c, d represent the quaternion.
  • angle calculation module 22 is further configured to calculate a new heading angle according to the quaternion according to the following formula The new tilt angle ⁇ (k+1) and the new roll angle ⁇ (k+1).
  • the distance calculation module 23 is further configured to calculate an average moving distance of the left and right driving wheels of the dual-drive mobile robot according to the following formula: Where U(k) represents the average moving distance of the left and right driving wheels, r represents the driving wheel radius, ⁇ represents the pi, n R represents the number of pulses of the right drive wheel encoder in a single sampling period, and n L represents the right drive wheel in a single sampling period The number of pulses of the encoder, n total represents the total number of pulses of one revolution of the drive wheel.
  • the coordinate calculation module 24 is further configured to: determine the new abscissa according to the initial formula, the new heading angle, and the average moving distance of the left and right driving wheels according to the following formula: Where X(k+1) represents the new abscissa and X(k) represents the initial abscissa; according to the initial ordinate, the new heading angle and the average moving distance of the left and right driving wheels, the new ordinate is determined according to the following formula: Where Y(k+1) represents the new ordinate and Y(k) represents the initial ordinate.
  • the positioning method and the positioning device for the dual-drive mobile robot according to the embodiment of the present invention are a navigation and positioning technology scheme that fuses the inertial system and the encoder, and combines the advantages of the two, and uses the inertial navigation algorithm to determine the heading angle, and uses the coding test.
  • the distance algorithm determines the displacement, and then uses the heading angle and displacement to obtain a more accurate robot pose information.
  • the positioning method and the positioning device for the dual-drive mobile robot according to the embodiment of the present invention can have strong error correction and anti-interference ability for complex working conditions and the ground environment, and have higher reliability than single sensor navigation and positioning.
  • the present invention also provides a service processing system for positioning of a two-wheel drive mobile robot.
  • the business processing system includes a memory; and a processor coupled to the memory, the processor configured to perform the positioning method for a dual-drive robot of the present invention based on instructions stored in the memory.
  • the present invention also provides a computer readable storage medium for positioning of a two-drive mobile robot, on which computer program instructions are stored, which are executed by the processor to implement the positioning method for a dual-drive robot of the present invention. step.

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Manipulator (AREA)

Abstract

Disclosed are a positioning method and positioning apparatus for a dual-drive mobile robot and a service processing system and a computer readable storage medium for positioning the dual-drive mobile robot, wherein same are helpful in solving the technical problem of inaccurate positioning in the prior art. The positioning method comprises: acquiring an initial abscissa, an initial ordinate, an initial heading angle, an initial angle of inclination and an initial roll angle of a dual-drive mobile robot (A); determining, according to the initial heading angle, the initial angle of inclination and the initial roll angle, a new heading angle, a new angle of inclination and a new roll angle of the dual-drive mobile robot (B); determining an average moving distance of a right and a left driving wheel of the dual-drive mobile robot (C); and determining, according to the initial abscissa, the initial ordinate, the new heading angle and the average moving distance of the right and left driving wheel, a new abscissa and a new ordinate of the dual-driving mobile robot (D).

Description

定位方法、装置、业务处理系统以及计算机可读存储介质Positioning method, device, business processing system, and computer readable storage medium 技术领域Technical field
本发明涉及一种计算机及其软件技术领域,特别涉及一种用于双驱移动机器人的定位的方法、装置、业务处理系统以及计算机可读存储介质。The present invention relates to the field of computers and software technologies thereof, and in particular, to a method, an apparatus, a service processing system, and a computer readable storage medium for positioning a dual-drive mobile robot.
背景技术Background technique
随着工业发展,移动机器人逐渐被广泛应用,例如电商公司可以使用移动机器人在仓库内搬运货物。双驱移动机器人通常采用左轮和右轮的双驱模式,车体轮系采用差速固定舵方式,驱动电机为伺服电机,通过控制两个电机的转速从而实现对车的速度控制和姿态控制。With the development of the industry, mobile robots are gradually being widely used. For example, e-commerce companies can use mobile robots to carry goods in warehouses. The two-wheel drive mobile robot usually adopts the double-drive mode of the left and right wheels. The car body train adopts the differential fixed rudder mode, and the drive motor is the servo motor. By controlling the rotational speed of the two motors, the speed control and attitude control of the vehicle are realized.
双驱移动机器人的定位技术主要有基于编码器定位和基于惯性导航定位两种。The positioning technology of the two-wheeled mobile robot is mainly based on encoder positioning and inertial navigation based positioning.
基于编码器的机器人定位方法具体为:当机器人在两个二维码点之间行走时,如果地面严格水平,排除其他误差的影响,可以认为机器人走直线。在车轮上安装有编码器,当车轮转动时,编码器会发出数个脉冲信号,导航解算单元接收到这个信号后,通过计算脉冲信号的个数,可以得知车轮在测量时间内直线上的距离,这样就可以得到机器人在直线上的坐标。然而,在地面水平度平整度不够、轮子半径不相等、机器人载重不均匀等情况下,机器人不再按直线行走,而是走曲线,尤其是当某个轮子打滑时,机器人会产生大幅度的转向,对编码器方式定位结果造成很大的误差。The encoder-based robot positioning method is specifically: when the robot walks between two two-dimensional code points, if the ground is strictly level and the influence of other errors is excluded, the robot can be considered to be in a straight line. An encoder is mounted on the wheel. When the wheel rotates, the encoder will send several pulse signals. After receiving the signal, the navigation solving unit can calculate the number of the pulse signals to know that the wheel is in a straight line within the measuring time. The distance so that you can get the coordinates of the robot on a straight line. However, in the case of insufficient horizontal flatness, uneven wheel radius, and uneven robot load, the robot no longer walks in a straight line, but walks the curve, especially when a certain wheel slips, the robot will produce a large Turning, causing a large error in the encoder mode positioning results.
基于惯性导航的机器人定位方法具体为:将惯性测量传感器置于载体中心点上,采集机器人运动的加速度、角速度等基础运动数据信 息,通过方向余弦矩阵将之转化到导航坐标系下,经过一系列导航算法即可解算出载体的速度、位置以及姿态角信息。然而,惯性导航传感器由于成本原因,实际应用中选择MEMS工艺低成本传感器,器件的零位较不稳定,随机漂移较严重,尤其是加速度计在10秒时间内由于漂移造成的位移计算误差达几十公分,这在实际应用中是不能接受的。The robot positioning method based on inertial navigation is specifically: placing the inertial measurement sensor on the center point of the carrier, collecting the basic motion data information such as the acceleration and angular velocity of the robot motion, and transforming it into the navigation coordinate system through the direction cosine matrix, after a series of The navigation algorithm can solve the velocity, position and attitude angle information of the carrier. However, due to cost reasons, the inertial navigation sensor selects the MEMS process low-cost sensor in practical applications. The zero position of the device is unstable and the random drift is serious. Especially, the displacement calculation error caused by the drift of the accelerometer in 10 seconds is up to several Ten centimeters, which is unacceptable in practical applications.
发明内容Summary of the invention
有鉴于此,本发明提供一种用于双驱移动机器人的定位方法以及定位装置,以及用于双驱移动机器人的定位的业务处理系统和计算机可读存储介质,有助于解决现有技术中的定位不准确的技术问题。In view of this, the present invention provides a positioning method and positioning device for a dual-drive mobile robot, and a service processing system and a computer readable storage medium for positioning of the dual-drive mobile robot, which are helpful in solving the prior art. The positioning of the inaccurate technical issues.
为实现发明目的,根据本发明的第一个方面,提供了一种用于双驱移动机器人的定位方法,包括:获取所述双驱移动机器人的初始横坐标、初始纵坐标、初始航向角、初始倾斜角、初始侧倾角;根据所述初始航向角、所述初始倾斜角以及所述初始侧倾角确定所述双驱移动机器人的新航向角、新倾斜角以及新侧倾角;确定所述双驱移动机器人的左右驱动轮的平均移动距离;根据所述初始横坐标、所述初始纵坐标、所述新航向角以及所述左右驱动轮的平均移动距离确定所述双驱移动机器人的新横坐标和新纵坐标。In order to achieve the object of the invention, according to a first aspect of the present invention, a positioning method for a dual-drive mobile robot is provided, comprising: acquiring an initial abscissa, an initial ordinate, an initial heading angle of the dual-drive mobile robot, An initial tilt angle, an initial roll angle; determining a new heading angle, a new tilt angle, and a new roll angle of the dual-drive mobile robot according to the initial head angle, the initial tilt angle, and the initial roll angle; determining the double Driving an average moving distance of the left and right driving wheels of the mobile robot; determining a new horizontal of the dual-drive mobile robot according to the initial abscissa, the initial ordinate, the new heading angle, and the average moving distance of the left and right driving wheels Coordinates and new ordinates.
可选地,所述根据所述初始航向角、所述初始倾斜角以及所述初始侧倾角确定所述双驱移动机器人的新航向角、新倾斜角以及新侧倾角的步骤包括:Optionally, the determining, according to the initial heading angle, the initial tilt angle, and the initial roll angle, the new heading angle, the new tilt angle, and the new roll angle of the dual-drive mobile robot include:
根据所述初始航向角、所述初始倾斜角以及所述初始侧倾角按照下列公式计算四元数:Calculating the quaternion according to the initial heading angle, the initial tilt angle, and the initial roll angle according to the following formula:
Figure PCTCN2017118029-appb-000001
Figure PCTCN2017118029-appb-000001
Figure PCTCN2017118029-appb-000002
Figure PCTCN2017118029-appb-000002
其中,
Figure PCTCN2017118029-appb-000003
表示初始航向角,θ(k)表示初始倾斜角,γ(k)表示初始侧倾角,a、b、c、d表示四元数;
among them,
Figure PCTCN2017118029-appb-000003
Indicates the initial heading angle, θ(k) represents the initial tilt angle, γ(k) represents the initial roll angle, and a, b, c, d represent the quaternion;
根据所述四元数按照下列公式计算所述新航向角、所述新倾斜角以及所述新侧倾角:Calculating the new heading angle, the new tilt angle, and the new roll angle according to the quaternion according to the following formula:
Figure PCTCN2017118029-appb-000004
Figure PCTCN2017118029-appb-000004
θ(k+1)=arcsin(2(cd+ab))θ(k+1)=arcsin(2(cd+ab))
Figure PCTCN2017118029-appb-000005
Figure PCTCN2017118029-appb-000005
其中,
Figure PCTCN2017118029-appb-000006
表示新航向角,θ(k+1)表示新倾斜角,γ(k+1)表示新侧倾角。
among them,
Figure PCTCN2017118029-appb-000006
Indicates the new heading angle, θ(k+1) represents the new tilt angle, and γ(k+1) represents the new roll angle.
可选地,所述确定所述双驱移动机器人的左右驱动轮的平均移动距离的步骤包括:根据下列公式计算所述双驱移动机器人的左右驱动轮的平均移动距离:
Figure PCTCN2017118029-appb-000007
其中U(k)表示左右驱动轮平均移动距离,r表示驱动轮半径,π表示圆周率,n R表示单个采样周期内右驱动轮编码器的脉冲数数量,n L表示单个采样周期内右驱动轮编码器的脉冲数数量,n total表示驱动轮旋转一圈的总脉冲数。
Optionally, the step of determining an average moving distance of the left and right driving wheels of the dual-drive mobile robot comprises: calculating an average moving distance of the left and right driving wheels of the dual-drive mobile robot according to the following formula:
Figure PCTCN2017118029-appb-000007
Where U(k) represents the average moving distance of the left and right driving wheels, r represents the driving wheel radius, π represents the pi, n R represents the number of pulses of the right drive wheel encoder in a single sampling period, and n L represents the right drive wheel in a single sampling period The number of pulses of the encoder, n total represents the total number of pulses of one revolution of the drive wheel.
可选地,所述根据所述初始横坐标、所述初始纵坐标、所述新航向角以及所述左右驱动轮的平均移动距离确定所述双驱移动机器人的新横坐标和新纵坐标的步骤包括:根据所述初始横坐标、所述新航向角以及所述左右驱动轮的平均移动距离按照下列公式确定所述新横坐标:
Figure PCTCN2017118029-appb-000008
其中X(k+1)表示新横坐标,X(k)表示初始横坐标;根据所述初始纵坐标、所述新航向角以及所述左右驱动轮的平均移动距离按照下列公式确定所述新纵坐标:
Figure PCTCN2017118029-appb-000009
其中Y(k+1)表示新纵坐标,Y(k)表示初始纵坐标。
Optionally, the determining the new abscissa and the new ordinate of the dual-drive mobile robot according to the initial abscissa, the initial ordinate, the new heading angle, and the average moving distance of the left and right driving wheels The step includes: determining the new abscissa according to the initial abscissa, the new heading angle, and the average moving distance of the left and right driving wheels according to the following formula:
Figure PCTCN2017118029-appb-000008
Where X(k+1) represents the new abscissa and X(k) represents the initial abscissa; the new ordinate is determined according to the initial ordinate, the new heading angle and the average moving distance of the left and right driving wheels according to the following formula Y-axis:
Figure PCTCN2017118029-appb-000009
Where Y(k+1) represents the new ordinate and Y(k) represents the initial ordinate.
为实现发明目的,根据本发明的第二个方面,提供了一种用于双驱移动机器人的定位装置,包括:获取模块,获取所述双驱移动机器人的初始横坐标、初始纵坐标、初始航向角、初始倾斜角、初始侧倾角;角度计算模块,用于根据所述初始航向角、所述初始倾斜角以及所述初始侧倾角确定所述双驱移动机器人的新航向角、新倾斜角以及新侧倾角;距离计算模块,用于确定所述双驱移动机器人的左右驱动轮的平均移动距离;坐标计算模块,用于根据所述初始横坐标、所述初始纵坐标、所述新航向角以及所述左右驱动轮的平均移动距离确定所述双驱移动机器人的新横坐标和新纵坐标。In order to achieve the object of the invention, according to a second aspect of the present invention, a positioning apparatus for a dual-drive mobile robot includes: an acquisition module for acquiring an initial abscissa, an initial ordinate, and an initial of the dual-drive mobile robot a heading angle, an initial tilt angle, an initial roll angle; an angle calculation module, configured to determine a new heading angle and a new tilt angle of the dual-drive mobile robot according to the initial heading angle, the initial tilt angle, and the initial roll angle And a new roll angle; a distance calculation module, configured to determine an average moving distance of the left and right driving wheels of the dual-drive mobile robot; a coordinate calculation module, configured to determine, according to the initial abscissa, the initial ordinate, the new heading The angle and the average moving distance of the left and right driving wheels determine a new abscissa and a new ordinate of the dual-drive mobile robot.
可选地,所述角度计算模块还用于:Optionally, the angle calculation module is further configured to:
根据所述初始航向角、所述初始倾斜角以及所述初始侧倾角按照下列公式计算四元数:Calculating the quaternion according to the initial heading angle, the initial tilt angle, and the initial roll angle according to the following formula:
Figure PCTCN2017118029-appb-000010
Figure PCTCN2017118029-appb-000010
其中,
Figure PCTCN2017118029-appb-000011
表示初始航向角,θ(k)表示初始倾斜角,γ(k)表示初始侧倾角,a、b、c、d表示四元数;
among them,
Figure PCTCN2017118029-appb-000011
Indicates the initial heading angle, θ(k) represents the initial tilt angle, γ(k) represents the initial roll angle, and a, b, c, d represent the quaternion;
根据所述四元数按照下列公式计算所述新航向角、所述新倾斜角以及所述新侧倾角:Calculating the new heading angle, the new tilt angle, and the new roll angle according to the quaternion according to the following formula:
Figure PCTCN2017118029-appb-000012
Figure PCTCN2017118029-appb-000012
θ(k+1)=arcsin(2(cd+ab))θ(k+1)=arcsin(2(cd+ab))
Figure PCTCN2017118029-appb-000013
Figure PCTCN2017118029-appb-000013
其中,
Figure PCTCN2017118029-appb-000014
表示新航向角,θ(k+1)表示新倾斜角,γ(k+1)表示新侧倾角。
among them,
Figure PCTCN2017118029-appb-000014
Indicates the new heading angle, θ(k+1) represents the new tilt angle, and γ(k+1) represents the new roll angle.
可选地,所述距离计算模块还用于:根据下列公式计算所述双驱移动机器人的左右驱动轮的平均移动距离:
Figure PCTCN2017118029-appb-000015
其中U(k)表示左右驱动轮平均移动距离,r表示驱动轮半径,π表示圆周率,n R表示单个采样周期内右驱动轮编码器的脉冲数数量,n L表示单个采样周期内右驱动轮编码器的脉冲数数量,n total表示驱动轮旋转一圈的总脉冲数。
Optionally, the distance calculation module is further configured to: calculate an average moving distance of the left and right driving wheels of the dual-drive mobile robot according to the following formula:
Figure PCTCN2017118029-appb-000015
Where U(k) represents the average moving distance of the left and right driving wheels, r represents the driving wheel radius, π represents the pi, n R represents the number of pulses of the right drive wheel encoder in a single sampling period, and n L represents the right drive wheel in a single sampling period The number of pulses of the encoder, n total represents the total number of pulses of one revolution of the drive wheel.
可选地,所述坐标计算模块还用于:根据所述初始横坐标、所述新航向角以及所述左右驱动轮的平均移动距离按照下列公式确定所述新横坐标:
Figure PCTCN2017118029-appb-000016
其中X(k+1)表示新横坐标,X(k)表示初始横坐标;根据所述初始纵坐标、所述新航向角以及所述左右驱动轮的平均移动距离按照下列公式确定所述新纵坐标:
Figure PCTCN2017118029-appb-000017
其中Y(k+1)表示新纵坐标,Y(k)表示初始纵坐标。
Optionally, the coordinate calculation module is further configured to: determine the new abscissa according to the initial abscissa, the new heading angle, and the average moving distance of the left and right driving wheels according to the following formula:
Figure PCTCN2017118029-appb-000016
Where X(k+1) represents the new abscissa and X(k) represents the initial abscissa; the new ordinate is determined according to the initial ordinate, the new heading angle and the average moving distance of the left and right driving wheels according to the following formula Y-axis:
Figure PCTCN2017118029-appb-000017
Where Y(k+1) represents the new ordinate and Y(k) represents the initial ordinate.
为实现发明目的,根据本发明的第三个方面,提供了一种用于双驱移动机器人的定位的电子设备。In order to achieve the object of the invention, according to a third aspect of the invention, an electronic device for positioning of a two-wheel drive mobile robot is provided.
本发明实施例的一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本发明实施例的一种用于双驱机器人的定位方法。An electronic device according to an embodiment of the present invention includes: one or more processors; and storage means for storing one or more programs, when the one or more programs are executed by the one or more processors, The one or more processors are caused to implement a positioning method for a dual-drive robot according to an embodiment of the present invention.
为实现发明目的,根据本发明的第四个方面,提供了一种用于双驱移动机器人的定位的计算机可读存储介质。In order to achieve the object of the invention, according to a fourth aspect of the invention, a computer readable storage medium for positioning of a dual drive mobile robot is provided.
本发明实施例的一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现本发明实施例的一种用于双驱机器人的定位方法。A computer readable storage medium according to an embodiment of the present invention, wherein a computer program is stored thereon, and when the program is executed by the processor, a positioning method for a dual-drive robot according to an embodiment of the present invention is implemented.
根据本发明的技术方案是将惯性系统与编码器相互融合的导航定位技术方案,结合两者的优势,利用惯导算法确定航向角,利用编码测距算法确定位移,然后利用航向角和位移得到一个较精确的机器人位姿信息。本发明实施方式的用于双驱移动机器人的定位方法以及定位装置可以对复杂的工况和地面环境有交强的纠错和抗干扰能力,比单一传感器导航定位有更高的可靠性。需要说明的是,上述的非惯用的可选方式所具有的进一步效果将在下文中结合具体实施方式加以说明。The technical solution according to the present invention is a navigation and positioning technology scheme in which an inertial system and an encoder are integrated with each other, and combines the advantages of both, uses an inertial navigation algorithm to determine a heading angle, uses a coded ranging algorithm to determine the displacement, and then uses the heading angle and the displacement to obtain A more accurate robot pose information. The positioning method and the positioning device for the dual-drive mobile robot according to the embodiment of the present invention can have strong error correction and anti-interference ability for complex working conditions and the ground environment, and have higher reliability than single sensor navigation and positioning. It should be noted that the further effects of the above non-conventional alternatives will be described below in conjunction with the specific embodiments.
附图说明DRAWINGS
附图用于更好地理解本发明,不构成对本发明的不当限定。其中:The drawings are intended to provide a better understanding of the invention and are not intended to limit the invention. among them:
图1是根据本发明实施方式的用于双驱移动机器人的定位方法的主要步骤的流程示意图;1 is a flow chart showing main steps of a positioning method for a two-wheel drive mobile robot according to an embodiment of the present invention;
图2是根据本发明实施方式的用于双驱移动机器人的定位装置的主要模块的结构示意图。2 is a schematic structural diagram of main modules of a positioning device for a two-wheel drive mobile robot according to an embodiment of the present invention.
具体实施方式detailed description
以下结合附图对本发明的示范性实施方式做出说明,其中包括本发明实施方式的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施方式做出各种改变和修改,而不会背离本发明的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。The exemplary embodiments of the present invention are described with reference to the accompanying drawings, which are in the Accordingly, it will be apparent to those skilled in the art that various modifications and changes can be made to the embodiments described herein without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
图1是根据本发明实施方式的用于双驱移动机器人的定位方法的主要步骤的流程示意图。如图1所示,该实施方式的用于双驱移动机器人的定位方法可以包括如下的步骤A至步骤D。1 is a flow chart showing the main steps of a positioning method for a two-wheel drive mobile robot according to an embodiment of the present invention. As shown in FIG. 1, the positioning method for the two-wheel drive mobile robot of this embodiment may include the following steps A to D.
步骤A:获取双驱移动机器人的初始横坐标、初始纵坐标、初始航向角、初始倾斜角、初始侧倾角。Step A: Obtain the initial abscissa, the initial ordinate, the initial heading angle, the initial tilt angle, and the initial roll angle of the dual-drive mobile robot.
步骤B:根据初始航向角、初始倾斜角以及初始侧倾角确定双驱移动机器人的新航向角、新倾斜角以及新侧倾角。Step B: Determine the new heading angle, the new tilt angle, and the new roll angle of the dual-drive mobile robot according to the initial heading angle, the initial tilt angle, and the initial roll angle.
步骤C:确定双驱移动机器人的左右驱动轮的平均移动距离。Step C: Determine the average moving distance of the left and right driving wheels of the dual-drive mobile robot.
步骤D:根据初始横坐标、初始纵坐标、新航向角以及左右驱动轮的平均移动距离确定双驱移动机器人的新横坐标和新纵坐标。Step D: Determine the new abscissa and the new ordinate of the dual-drive mobile robot according to the initial abscissa, the initial ordinate, the new heading angle, and the average moving distance of the left and right driving wheels.
可选地,步骤B中可以利用惯导算法根据初始航向角、初始倾斜角以及初始侧倾角确定双驱移动机器人的新航向角、新倾斜角以及新侧倾角,具体过程如下。Optionally, in step B, the homing algorithm can determine the new heading angle, the new tilt angle, and the new roll angle of the dual-drive mobile robot according to the initial heading angle, the initial tilt angle, and the initial roll angle. The specific process is as follows.
首先,根据初始航向角、初始倾斜角以及初始侧倾角按照下列公式计算四元数。其中,
Figure PCTCN2017118029-appb-000018
表示初始航向角,θ(k)表示初始倾斜角,γ(k)表示初始侧倾角,a、b、c、d表示四元数。
First, the quaternion is calculated according to the following formula according to the initial heading angle, the initial tilt angle, and the initial roll angle. among them,
Figure PCTCN2017118029-appb-000018
Indicates the initial heading angle, θ(k) represents the initial tilt angle, γ(k) represents the initial roll angle, and a, b, c, d represent the quaternion.
Figure PCTCN2017118029-appb-000019
Figure PCTCN2017118029-appb-000019
由于双驱移动机器人运动引起姿态角的变化,四元数随之变化,更新方程为:Due to the change of the attitude angle caused by the motion of the double-drive mobile robot, the quaternion changes accordingly, and the update equation is:
Figure PCTCN2017118029-appb-000020
Figure PCTCN2017118029-appb-000020
用四阶毕卡法求解该微分方程,得到解为:The fourth-order Pika method is used to solve the differential equation and the solution is:
Figure PCTCN2017118029-appb-000021
Figure PCTCN2017118029-appb-000021
其中:among them:
Figure PCTCN2017118029-appb-000022
Figure PCTCN2017118029-appb-000022
设采样间隔为Δt,则:
Figure PCTCN2017118029-appb-000023
其中
Figure PCTCN2017118029-appb-000024
为陀螺仪测量出来的三个分量。
Let the sampling interval be Δt, then:
Figure PCTCN2017118029-appb-000023
among them
Figure PCTCN2017118029-appb-000024
The three components measured for the gyroscope.
Figure PCTCN2017118029-appb-000025
Figure PCTCN2017118029-appb-000025
通过解算出的四元数可以得到更新后的方向余弦矩阵:The updated direction cosine matrix can be obtained by solving the calculated quaternion:
Figure PCTCN2017118029-appb-000026
Figure PCTCN2017118029-appb-000026
从而可以计算新航向角
Figure PCTCN2017118029-appb-000027
新倾斜角θ(k+1)、以及新侧倾角γ(k+1),计算公式如下:
Thereby calculating the new heading angle
Figure PCTCN2017118029-appb-000027
The new tilt angle θ(k+1) and the new roll angle γ(k+1) are calculated as follows:
Figure PCTCN2017118029-appb-000028
Figure PCTCN2017118029-appb-000028
θ(k+1)=arcsin(2(cd+ab))θ(k+1)=arcsin(2(cd+ab))
Figure PCTCN2017118029-appb-000029
Figure PCTCN2017118029-appb-000029
可选地,步骤C可以利用编码测距算法来确定双驱移动机器人的左右驱动轮的平均移动距离。具体过程如下。Optionally, step C may utilize an encoding ranging algorithm to determine an average moving distance of the left and right driving wheels of the dual-drive mobile robot. The specific process is as follows.
由于左右驱动轮的平均移动距离应该等于左驱动轮的移动距离和右驱动轮的移动距离的平均值,因此可以根据下列公式计算左右驱动轮的平均移动距离:
Figure PCTCN2017118029-appb-000030
其中U(k)表示左右驱动轮平均移动距离,r表示驱动轮半径,π表示圆周率,n R表示单个采样周期内右驱动轮编码器的脉冲数数量,n L表示单个采样周期内右驱动轮编码器的脉冲数数量,n total表示驱动轮旋转一圈的总脉冲数。
Since the average moving distance of the left and right driving wheels should be equal to the average of the moving distance of the left driving wheel and the moving distance of the right driving wheel, the average moving distance of the left and right driving wheels can be calculated according to the following formula:
Figure PCTCN2017118029-appb-000030
Where U(k) represents the average moving distance of the left and right driving wheels, r represents the driving wheel radius, π represents the pi, n R represents the number of pulses of the right drive wheel encoder in a single sampling period, and n L represents the right drive wheel in a single sampling period The number of pulses of the encoder, n total represents the total number of pulses of one revolution of the drive wheel.
可选地,步骤D可以包括如下的步骤D1和步骤D2。Optionally, step D may include the following steps D1 and D2.
步骤D1:根据初始横坐标、新航向角以及左右驱动轮的平均移动距离按照下列公式确定新横坐标:
Figure PCTCN2017118029-appb-000031
其中X(k+1)表示新横坐标,X(k)表示初始横坐标。
Step D1: Determine the new abscissa according to the initial abscissa, the new heading angle, and the average moving distance of the left and right driving wheels according to the following formula:
Figure PCTCN2017118029-appb-000031
Where X(k+1) represents the new abscissa and X(k) represents the initial abscissa.
步骤D2:根据初始纵坐标、新航向角以及左右驱动轮的平均移动距离按照下列公式确定新纵坐标:
Figure PCTCN2017118029-appb-000032
其中Y(k+1)表示新纵坐标,Y(k)表示初始纵坐标。
Step D2: Determine the new ordinate according to the initial ordinate, the new heading angle, and the average moving distance of the left and right driving wheels according to the following formula:
Figure PCTCN2017118029-appb-000032
Where Y(k+1) represents the new ordinate and Y(k) represents the initial ordinate.
图2是根据本发明实施方式的用于双驱移动机器人的定位装置的主要模块的结构示意图。如图2所示,该实施方式的用于双驱移动机器人的定位装置20可以包括获取模块21、角度计算模块22、距离计算模块23和坐标计算模块24。2 is a schematic structural diagram of main modules of a positioning device for a two-wheel drive mobile robot according to an embodiment of the present invention. As shown in FIG. 2, the positioning device 20 for a two-wheel drive mobile robot of this embodiment may include an acquisition module 21, an angle calculation module 22, a distance calculation module 23, and a coordinate calculation module 24.
获取模块21用于获取双驱移动机器人的初始横坐标、初始纵坐标、初始航向角、初始倾斜角、初始侧倾角。The obtaining module 21 is configured to obtain an initial abscissa, an initial ordinate, an initial heading angle, an initial tilt angle, and an initial roll angle of the dual-drive mobile robot.
角度计算模块22用于根据初始航向角、初始倾斜角以及初始侧倾角确定双驱移动机器人的新航向角、新倾斜角以及新侧倾角。The angle calculation module 22 is configured to determine a new heading angle, a new tilt angle, and a new roll angle of the dual-drive mobile robot according to the initial heading angle, the initial tilt angle, and the initial roll angle.
距离计算模块23用于确定双驱移动机器人的左右驱动轮的平均 移动距离。The distance calculation module 23 is for determining the average moving distance of the left and right driving wheels of the two-wheel drive mobile robot.
坐标计算模块24用于根据初始横坐标、初始纵坐标、新航向角以及左右驱动轮的平均移动距离确定双驱移动机器人的新横坐标和新纵坐标。The coordinate calculation module 24 is configured to determine the new abscissa and the new ordinate of the dual-drive mobile robot according to the initial abscissa, the initial ordinate, the new heading angle, and the average moving distance of the left and right driving wheels.
可选地,角度计算模块22还用于:根据初始航向角、初始倾斜角以及初始侧倾角按照下列公式计算四元数:Optionally, the angle calculation module 22 is further configured to: calculate the quaternion according to the initial heading angle, the initial tilt angle, and the initial roll angle according to the following formula:
Figure PCTCN2017118029-appb-000033
Figure PCTCN2017118029-appb-000033
其中,
Figure PCTCN2017118029-appb-000034
表示初始航向角,θ(k)表示初始倾斜角,γ(k)表示初始侧倾角,a、b、c、d表示四元数。
among them,
Figure PCTCN2017118029-appb-000034
Indicates the initial heading angle, θ(k) represents the initial tilt angle, γ(k) represents the initial roll angle, and a, b, c, d represent the quaternion.
以及角度计算模块22还用于根据四元数按照下列公式计算新航向角
Figure PCTCN2017118029-appb-000035
新倾斜角θ(k+1)、以及新侧倾角γ(k+1)。
And the angle calculation module 22 is further configured to calculate a new heading angle according to the quaternion according to the following formula
Figure PCTCN2017118029-appb-000035
The new tilt angle θ(k+1) and the new roll angle γ(k+1).
Figure PCTCN2017118029-appb-000036
Figure PCTCN2017118029-appb-000036
θ(k+1)=arcsin(2(cd+ab))θ(k+1)=arcsin(2(cd+ab))
Figure PCTCN2017118029-appb-000037
Figure PCTCN2017118029-appb-000037
可选地,距离计算模块23还用于根据下列公式计算双驱移动机器人的左右驱动轮的平均移动距离:
Figure PCTCN2017118029-appb-000038
其中U(k)表示左右驱动轮平均移动距离,r表示驱动轮半径,π表示圆周率,n R表示单个采样周期内右驱动轮编码器的脉冲数数量,n L表示单个采样周期内右驱动轮编码器的脉冲数数量,n total表示驱动轮旋转一圈的总脉冲数。
Optionally, the distance calculation module 23 is further configured to calculate an average moving distance of the left and right driving wheels of the dual-drive mobile robot according to the following formula:
Figure PCTCN2017118029-appb-000038
Where U(k) represents the average moving distance of the left and right driving wheels, r represents the driving wheel radius, π represents the pi, n R represents the number of pulses of the right drive wheel encoder in a single sampling period, and n L represents the right drive wheel in a single sampling period The number of pulses of the encoder, n total represents the total number of pulses of one revolution of the drive wheel.
可选地,坐标计算模块24还用于:根据初始横坐标、新航向角以及左右驱动轮的平均移动距离按照下列公式确定新横坐标:
Figure PCTCN2017118029-appb-000039
其中X(k+1)表示新横坐标,X(k)表示初始横坐标;根据初始纵坐标、新航向角以及左右驱动轮的平均移动距离按照下列公式确定新纵坐标:
Figure PCTCN2017118029-appb-000040
其中Y(k+1)表示新纵坐标,Y(k)表示初始纵坐标。
Optionally, the coordinate calculation module 24 is further configured to: determine the new abscissa according to the initial formula, the new heading angle, and the average moving distance of the left and right driving wheels according to the following formula:
Figure PCTCN2017118029-appb-000039
Where X(k+1) represents the new abscissa and X(k) represents the initial abscissa; according to the initial ordinate, the new heading angle and the average moving distance of the left and right driving wheels, the new ordinate is determined according to the following formula:
Figure PCTCN2017118029-appb-000040
Where Y(k+1) represents the new ordinate and Y(k) represents the initial ordinate.
根据本发明实施方式的用于双驱移动机器人的定位方法以及定位装置是将惯性系统与编码器相互融合的导航定位技术方案,结合两者的优势,利用惯导算法确定航向角,利用编码测距算法确定位移,然后利用航向角和位移得到一个较精确的机器人位姿信息。本发明实施方式的用于双驱移动机器人的定位方法以及定位装置可以对复杂的工况和地面环境有交强的纠错和抗干扰能力,比单一传感器导航定位有更高的可靠性。The positioning method and the positioning device for the dual-drive mobile robot according to the embodiment of the present invention are a navigation and positioning technology scheme that fuses the inertial system and the encoder, and combines the advantages of the two, and uses the inertial navigation algorithm to determine the heading angle, and uses the coding test. The distance algorithm determines the displacement, and then uses the heading angle and displacement to obtain a more accurate robot pose information. The positioning method and the positioning device for the dual-drive mobile robot according to the embodiment of the present invention can have strong error correction and anti-interference ability for complex working conditions and the ground environment, and have higher reliability than single sensor navigation and positioning.
本发明还提供了一种用于双驱移动机器人的定位的业务处理系统。该业务处理系统包括存储器;以及耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器的指令执行本发明的用于双驱机器人的定位方法。The present invention also provides a service processing system for positioning of a two-wheel drive mobile robot. The business processing system includes a memory; and a processor coupled to the memory, the processor configured to perform the positioning method for a dual-drive robot of the present invention based on instructions stored in the memory.
本发明还提供了一种用于双驱移动机器人的定位的计算机可读存储介质,其上存储有计算机程序指令,该指令被处理器执行时实现本发明的用于双驱机器人的定位方法的步骤。The present invention also provides a computer readable storage medium for positioning of a two-drive mobile robot, on which computer program instructions are stored, which are executed by the processor to implement the positioning method for a dual-drive robot of the present invention. step.
上述具体实施方式,并不构成对本发明保护范围的限制。本领域技术人员应该明白的是,取决于设计要求和其他因素,可以发生各种各样的修改、组合、子组合和替代。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明保护范围之内。The above specific embodiments do not constitute a limitation of the scope of the present invention. Those skilled in the art will appreciate that a wide variety of modifications, combinations, sub-combinations and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (10)

  1. 一种用于双驱移动机器人的定位方法,其特征在于,包括:A positioning method for a dual-drive mobile robot, comprising:
    获取所述双驱移动机器人的初始横坐标、初始纵坐标、初始航向角、初始倾斜角、初始侧倾角;Obtaining an initial abscissa, an initial ordinate, an initial heading angle, an initial tilt angle, and an initial roll angle of the dual-drive mobile robot;
    根据所述初始航向角、所述初始倾斜角以及所述初始侧倾角确定所述双驱移动机器人的新航向角、新倾斜角以及新侧倾角;Determining a new heading angle, a new tilt angle, and a new roll angle of the dual-drive mobile robot according to the initial heading angle, the initial tilt angle, and the initial roll angle;
    确定所述双驱移动机器人的左右驱动轮的平均移动距离;Determining an average moving distance of the left and right driving wheels of the dual-drive mobile robot;
    根据所述初始横坐标、所述初始纵坐标、所述新航向角以及所述左右驱动轮的平均移动距离确定所述双驱移动机器人的新横坐标和新纵坐标。Determining a new abscissa and a new ordinate of the two-wheel drive mobile robot according to the initial abscissa, the initial ordinate, the new heading angle, and an average moving distance of the left and right driving wheels.
  2. 根据权利要求1所述的用于双驱移动机器人的定位方法,其特征在于,所述根据所述初始航向角、所述初始倾斜角以及所述初始侧倾角确定所述双驱移动机器人的新航向角、新倾斜角以及新侧倾角的步骤包括:The positioning method for a two-wheel drive mobile robot according to claim 1, wherein said determining said new two-wheel drive mobile robot based on said initial heading angle, said initial tilt angle, and said initial roll angle The steps of the heading angle, the new tilt angle, and the new roll angle include:
    根据所述初始航向角、所述初始倾斜角以及所述初始侧倾角按照下列公式计算四元数:Calculating the quaternion according to the initial heading angle, the initial tilt angle, and the initial roll angle according to the following formula:
    Figure PCTCN2017118029-appb-100001
    Figure PCTCN2017118029-appb-100001
    其中,
    Figure PCTCN2017118029-appb-100002
    表示初始航向角,θ(k)表示初始倾斜角,γ(k)表示初始侧倾角,a、b、c、d表示四元数;
    among them,
    Figure PCTCN2017118029-appb-100002
    Indicates the initial heading angle, θ(k) represents the initial tilt angle, γ(k) represents the initial roll angle, and a, b, c, d represent the quaternion;
    根据所述四元数按照下列公式计算所述新航向角、所述新倾斜角以及所述新侧倾角:Calculating the new heading angle, the new tilt angle, and the new roll angle according to the quaternion according to the following formula:
    Figure PCTCN2017118029-appb-100003
    Figure PCTCN2017118029-appb-100003
    θ(k+1)=arcsin(2(cd+ab))θ(k+1)=arcsin(2(cd+ab))
    Figure PCTCN2017118029-appb-100004
    Figure PCTCN2017118029-appb-100004
    其中,
    Figure PCTCN2017118029-appb-100005
    表示新航向角,θ(k+1)表示新倾斜角,γ(k+1)表示新侧倾角。
    among them,
    Figure PCTCN2017118029-appb-100005
    Indicates the new heading angle, θ(k+1) represents the new tilt angle, and γ(k+1) represents the new roll angle.
  3. 根据权利要求2所述的用于双驱移动机器人的定位方法,其特征在于,所述确定所述双驱移动机器人的左右驱动轮的平均移动距离的步骤包括:The positioning method for a two-wheel drive mobile robot according to claim 2, wherein the determining the average moving distance of the left and right driving wheels of the dual-drive mobile robot comprises:
    根据下列公式计算所述双驱移动机器人的左右驱动轮的平均移动距离:
    Figure PCTCN2017118029-appb-100006
    其中U(k)表示左右驱动轮平均移动距离,r表示驱动轮半径,π表示圆周率,n R表示单个采样周期内右驱动轮编码器的脉冲数数量,n L表示单个采样周期内右驱动轮编码器的脉冲数数量,n total表示驱动轮旋转一圈的总脉冲数。
    Calculate the average moving distance of the left and right driving wheels of the dual-drive mobile robot according to the following formula:
    Figure PCTCN2017118029-appb-100006
    Where U(k) represents the average moving distance of the left and right driving wheels, r represents the driving wheel radius, π represents the pi, n R represents the number of pulses of the right drive wheel encoder in a single sampling period, and n L represents the right drive wheel in a single sampling period The number of pulses of the encoder, n total represents the total number of pulses of one revolution of the drive wheel.
  4. 根据权利要求3所述的用于双驱移动机器人的定位方法,其特征在于,所述根据所述初始横坐标、所述初始纵坐标、所述新航向角以及所述左右驱动轮的平均移动距离确定所述双驱移动机器人的新横坐标和新纵坐标的步骤包括:The positioning method for a two-wheel drive mobile robot according to claim 3, wherein said according to said initial abscissa, said initial ordinate, said new heading angle, and an average movement of said left and right driving wheels The steps of determining the new abscissa and the new ordinate of the dual-drive mobile robot include:
    根据所述初始横坐标、所述新航向角以及所述左右驱动轮的平均移动距离按照下列公式确定所述新横坐标:
    Figure PCTCN2017118029-appb-100007
    其中X(k+1)表示新横坐标,X(k)表示初始横坐标;
    Determining the new abscissa according to the initial abscissa, the new heading angle, and the average moving distance of the left and right driving wheels according to the following formula:
    Figure PCTCN2017118029-appb-100007
    Where X(k+1) represents the new abscissa and X(k) represents the initial abscissa;
    根据所述初始纵坐标、所述新航向角以及所述左右驱动轮的平均移动距离按照下列公式确定所述新纵坐标:
    Figure PCTCN2017118029-appb-100008
    其中Y(k+1)表示新纵坐标,Y(k)表示初始纵坐标。
    Determining the new ordinate according to the initial ordinate, the new heading angle, and the average moving distance of the left and right driving wheels according to the following formula:
    Figure PCTCN2017118029-appb-100008
    Where Y(k+1) represents the new ordinate and Y(k) represents the initial ordinate.
  5. 一种用于双驱移动机器人的定位装置,其特征在于,包括:A positioning device for a dual-drive mobile robot, comprising:
    获取模块,获取所述双驱移动机器人的初始横坐标、初始纵坐标、 初始航向角、初始倾斜角、初始侧倾角;Obtaining a module, acquiring an initial abscissa, an initial ordinate, an initial heading angle, an initial tilt angle, and an initial roll angle of the dual-drive mobile robot;
    角度计算模块,用于根据所述初始航向角、所述初始倾斜角以及所述初始侧倾角确定所述双驱移动机器人的新航向角、新倾斜角以及新侧倾角;An angle calculation module, configured to determine a new heading angle, a new tilt angle, and a new roll angle of the dual-drive mobile robot according to the initial heading angle, the initial tilt angle, and the initial roll angle;
    距离计算模块,用于确定所述双驱移动机器人的左右驱动轮的平均移动距离;a distance calculation module, configured to determine an average moving distance of the left and right driving wheels of the dual-drive mobile robot;
    坐标计算模块,用于根据所述初始横坐标、所述初始纵坐标、所述新航向角以及所述左右驱动轮的平均移动距离确定所述双驱移动机器人的新横坐标和新纵坐标。And a coordinate calculation module, configured to determine a new abscissa and a new ordinate of the dual-drive mobile robot according to the initial abscissa, the initial ordinate, the new heading angle, and an average moving distance of the left and right driving wheels.
  6. 根据权利要求5所述的用于双驱移动机器人的定位装置,所述角度计算模块还用于:The positioning device for a two-wheel drive mobile robot according to claim 5, wherein the angle calculation module is further configured to:
    根据所述初始航向角、所述初始倾斜角以及所述初始侧倾角按照下列公式计算四元数:Calculating the quaternion according to the initial heading angle, the initial tilt angle, and the initial roll angle according to the following formula:
    Figure PCTCN2017118029-appb-100009
    Figure PCTCN2017118029-appb-100009
    其中,
    Figure PCTCN2017118029-appb-100010
    表示初始航向角,θ(k)表示初始倾斜角,γ(k)表示初始侧倾角,a、b、c、d表示四元数;
    among them,
    Figure PCTCN2017118029-appb-100010
    Indicates the initial heading angle, θ(k) represents the initial tilt angle, γ(k) represents the initial roll angle, and a, b, c, d represent the quaternion;
    根据所述四元数按照下列公式计算所述新航向角、所述新倾斜角以及所述新侧倾角:Calculating the new heading angle, the new tilt angle, and the new roll angle according to the quaternion according to the following formula:
    Figure PCTCN2017118029-appb-100011
    Figure PCTCN2017118029-appb-100011
    θ(k+1)=arcsin(2(cd+ab))θ(k+1)=arcsin(2(cd+ab))
    Figure PCTCN2017118029-appb-100012
    Figure PCTCN2017118029-appb-100012
    其中,
    Figure PCTCN2017118029-appb-100013
    表示新航向角,θ(k+1)表示新倾斜角,γ(k+1)表示新侧倾角。
    among them,
    Figure PCTCN2017118029-appb-100013
    Indicates the new heading angle, θ(k+1) represents the new tilt angle, and γ(k+1) represents the new roll angle.
  7. 根据权利要求6所述的用于双驱移动机器人的定位装置,其特征在于,所述距离计算模块还用于:The positioning device for a dual-drive mobile robot according to claim 6, wherein the distance calculation module is further configured to:
    根据下列公式计算所述双驱移动机器人的左右驱动轮的平均移动距离:
    Figure PCTCN2017118029-appb-100014
    其中U(k)表示左右驱动轮平均移动距离,r表示驱动轮半径,π表示圆周率,n R表示单个采样周期内右驱动轮编码器的脉冲数数量,n L表示单个采样周期内右驱动轮编码器的脉冲数数量,n total表示驱动轮旋转一圈的总脉冲数。
    Calculate the average moving distance of the left and right driving wheels of the dual-drive mobile robot according to the following formula:
    Figure PCTCN2017118029-appb-100014
    Where U(k) represents the average moving distance of the left and right driving wheels, r represents the driving wheel radius, π represents the pi, n R represents the number of pulses of the right drive wheel encoder in a single sampling period, and n L represents the right drive wheel in a single sampling period The number of pulses of the encoder, n total represents the total number of pulses of one revolution of the drive wheel.
  8. 根据权利要求7所述的用于双驱移动机器人的定位装置,其特征在于,所述坐标计算模块还用于:The positioning device for a dual-drive mobile robot according to claim 7, wherein the coordinate calculation module is further configured to:
    根据所述初始横坐标、所述新航向角以及所述左右驱动轮的平均移动距离按照下列公式确定所述新横坐标:
    Figure PCTCN2017118029-appb-100015
    其中X(k+1)表示新横坐标,X(k)表示初始横坐标;
    Determining the new abscissa according to the initial abscissa, the new heading angle, and the average moving distance of the left and right driving wheels according to the following formula:
    Figure PCTCN2017118029-appb-100015
    Where X(k+1) represents the new abscissa and X(k) represents the initial abscissa;
    根据所述初始纵坐标、所述新航向角以及所述左右驱动轮的平均移动距离按照下列公式确定所述新纵坐标:
    Figure PCTCN2017118029-appb-100016
    其中Y(k+1)表示新纵坐标,Y(k)表示初始纵坐标。
    Determining the new ordinate according to the initial ordinate, the new heading angle, and the average moving distance of the left and right driving wheels according to the following formula:
    Figure PCTCN2017118029-appb-100016
    Where Y(k+1) represents the new ordinate and Y(k) represents the initial ordinate.
  9. 一种用于双驱移动机器人的定位的电子设备,其特征在于,包括:An electronic device for positioning a two-wheel drive mobile robot, comprising:
    一个或多个处理器;One or more processors;
    存储装置,用于存储一个或多个程序,a storage device for storing one or more programs,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1至4任一项所述的方法。The one or more programs are executed by the one or more processors such that the one or more processors implement the method of any one of claims 1 to 4.
  10. 一种用于双驱移动机器人的定位的计算机可读存储介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现权利要求1至4任一项所述的方法。A computer readable storage medium for positioning a two-drive mobile robot, on which is stored a computer program, wherein the program is executed by a processor to implement the method of any one of claims 1 to 4.
PCT/CN2017/118029 2017-01-04 2017-12-22 Positioning method and apparatus, service processing system and computer readable storage medium WO2018126911A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710003881.6A CN108267137B (en) 2017-01-04 2017-01-04 Positioning method, positioning device, service processing system and computer readable storage medium
CN201710003881.6 2017-01-04

Publications (1)

Publication Number Publication Date
WO2018126911A1 true WO2018126911A1 (en) 2018-07-12

Family

ID=62770756

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/118029 WO2018126911A1 (en) 2017-01-04 2017-12-22 Positioning method and apparatus, service processing system and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN108267137B (en)
WO (1) WO2018126911A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116185009A (en) * 2022-12-29 2023-05-30 无锡弘宜智能科技股份有限公司 Differential speed AGV deviation correction control system and method based on compound navigation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203444335U (en) * 2013-08-30 2014-02-19 浙江理工大学 Self-positioning system of tour guide robot
US20140343846A1 (en) * 2011-12-22 2014-11-20 AppLabz, LLC Systems, methods, and apparatus for providing indoor navigation using optical floor sensors
CN104216410A (en) * 2014-09-24 2014-12-17 哈尔滨工业大学 Blind navigating and walking aid car for large indoor public places and its positioning method
CN105180933A (en) * 2015-09-14 2015-12-23 中国科学院合肥物质科学研究院 Mobile robot track plotting correcting system based on straight-running intersection and mobile robot track plotting correcting method
CN105258701A (en) * 2015-10-30 2016-01-20 北京自动化控制设备研究所 A low-cost robot localization method based on inertia
CN105547288A (en) * 2015-12-08 2016-05-04 华中科技大学 Self-localization method and system for mobile device in underground coal mine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106123908B (en) * 2016-09-08 2019-12-03 北京京东尚科信息技术有限公司 Automobile navigation method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140343846A1 (en) * 2011-12-22 2014-11-20 AppLabz, LLC Systems, methods, and apparatus for providing indoor navigation using optical floor sensors
CN203444335U (en) * 2013-08-30 2014-02-19 浙江理工大学 Self-positioning system of tour guide robot
CN104216410A (en) * 2014-09-24 2014-12-17 哈尔滨工业大学 Blind navigating and walking aid car for large indoor public places and its positioning method
CN105180933A (en) * 2015-09-14 2015-12-23 中国科学院合肥物质科学研究院 Mobile robot track plotting correcting system based on straight-running intersection and mobile robot track plotting correcting method
CN105258701A (en) * 2015-10-30 2016-01-20 北京自动化控制设备研究所 A low-cost robot localization method based on inertia
CN105547288A (en) * 2015-12-08 2016-05-04 华中科技大学 Self-localization method and system for mobile device in underground coal mine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LI, GUOHUI: "Research on Vehicle Autonomous Navigation System , Science -Engineering (B)", CHINA MASTER'S THESES FULL-TEXT DATABASE, vol. II, no. S2, 15 December 2011 (2011-12-15), pages 20 - 23 and 38-39, ISSN: 1674-0246 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116185009A (en) * 2022-12-29 2023-05-30 无锡弘宜智能科技股份有限公司 Differential speed AGV deviation correction control system and method based on compound navigation

Also Published As

Publication number Publication date
CN108267137A (en) 2018-07-10
CN108267137B (en) 2020-03-27

Similar Documents

Publication Publication Date Title
JP4170284B2 (en) Method and system for estimating moving direction of moving object
KR101297388B1 (en) Moving apparatus and method for compensating position
US8200452B2 (en) Attitude-angle detecting apparatus and attitude-angle detecting method
CN112014849B (en) Unmanned vehicle positioning correction method based on sensor information fusion
CN103412565B (en) A kind of robot localization method with the quick estimated capacity of global position
US8548731B2 (en) Navigation method, navigation system, navigation device, vehicle provided therewith and group of vehicles
CN106393104B (en) A kind of stroke calibration method of mobile robot
CN109141410B (en) Multi-sensor fusion positioning method for AGV (automatic guided vehicle) combined navigation
CN103712622B (en) The gyroscopic drift estimation compensation rotated based on Inertial Measurement Unit and device
US20110048103A1 (en) Method and System for Motion Tracking
CN107063305B (en) Method for correcting downhill suspended rear wheel odometer error by using inertial navigation and pressure sensors
CN107219542B (en) GNSS/ODO-based robot double-wheel differential positioning method
CN114137975A (en) Unmanned vehicle navigation deviation rectifying method based on ultrasonic-assisted fusion positioning
WO2020222790A1 (en) Positioning autonomous vehicles
CN102042833B (en) Motion Tracking Method and System
CN115585805A (en) Vehicle positioning method, positioning device, positioning system and vehicle
CN111141286A (en) Unmanned aerial vehicle flight control multi-sensor attitude confidence resolving method
CN104546391A (en) Gyro stabilizer for tactile sticks and complementary filtering method thereof
WO2018126911A1 (en) Positioning method and apparatus, service processing system and computer readable storage medium
CN105759292B (en) A kind of the relative position parameter calibration method and system of differential GPS and robot
JP5748174B2 (en) Method and apparatus for measuring relative posture of moving object
CN211012986U (en) An unmanned autonomous cruise vehicle navigation system based on inertial navigation technology
CN118329030A (en) SLAM method, device, equipment and medium based on multi-sensor fusion
JP2021067472A (en) Sensor error correction device
KR100962674B1 (en) The method for estimating location of moble robot and mobile robot thereof

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04/10/2019)

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04/10/2019

122 Ep: pct application non-entry in european phase

Ref document number: 17890589

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载