[go: up one dir, main page]

CN113433820B - A control system of a six-rotor spherical robot and its trajectory control method - Google Patents

A control system of a six-rotor spherical robot and its trajectory control method Download PDF

Info

Publication number
CN113433820B
CN113433820B CN202110800514.5A CN202110800514A CN113433820B CN 113433820 B CN113433820 B CN 113433820B CN 202110800514 A CN202110800514 A CN 202110800514A CN 113433820 B CN113433820 B CN 113433820B
Authority
CN
China
Prior art keywords
angular velocity
control
spherical robot
expected
rotor
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202110800514.5A
Other languages
Chinese (zh)
Other versions
CN113433820A (en
Inventor
赵江
蔡志浩
赵珅
吴伟靖
王英勋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Yunnan Innovation Institute of Beihang University
Original Assignee
Beihang University
Yunnan Innovation Institute of Beihang University
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 Beihang University, Yunnan Innovation Institute of Beihang University filed Critical Beihang University
Priority to CN202110800514.5A priority Critical patent/CN113433820B/en
Publication of CN113433820A publication Critical patent/CN113433820A/en
Application granted granted Critical
Publication of CN113433820B publication Critical patent/CN113433820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B11/00Automatic controllers
    • G05B11/01Automatic controllers electric
    • G05B11/36Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential
    • G05B11/42Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential for obtaining a characteristic which is both proportional and time-dependent, e.g. P. I., P. I. D.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The invention discloses a control system of a six-rotor spherical robot, which is characterized by comprising a position controller, an attitude controller, a control distributor and a spherical rolling dynamics module, wherein the position controller is connected with the control distributor through a control signal line; the position controller inputs the track waypoint and the current position information received by the sensor, calculates deviation, outputs expected rolling angular velocity and transmits the expected rolling angular velocity to the attitude controller; the attitude controller inputs the expected rolling angular speed and the angular speed data measured by the sensor, calculates the angular speed deviation, outputs the expected driving moment and transmits the expected driving moment to the control distributor; the control distributor resolves the expected driving torque into a control signal of the motor according to the spatial configuration of the motor arrangement in the six-rotor spherical robot and the current attitude information. The invention adopts the cascade PID algorithm to carry out the track control, solves the control problem of the six-rotor spherical robot, and realizes the complex track tracking and the accurate and stable control of the spherical robot.

Description

一种六旋翼球形机器人的控制系统及其轨迹控制方法A control system of a six-rotor spherical robot and its trajectory control method

技术领域technical field

本发明涉及球形机器人控制技术领域,尤其是一种六旋翼球形机器人的控制系统及其速度位置控制方法。The invention relates to the technical field of spherical robot control, in particular to a control system of a six-rotor spherical robot and a speed position control method thereof.

背景技术Background technique

现有的球形机器人控制技术大都基于重力摆式和驱动轮式的驱动方式,并且采用直线滚动和偏航转向解耦的控制策略,存在对于复杂的轨迹追踪问题,难以实现精确稳定的控制效果。Most of the existing spherical robot control technologies are based on the gravity pendulum and drive wheel driving methods, and use the control strategy of linear rolling and yaw steering decoupling, which is difficult to achieve accurate and stable control effects for complex trajectory tracking problems.

发明内容SUMMARY OF THE INVENTION

本发明的发明目的在于:针对上述存在的问题,提供一种六旋翼球形机器人的控制系统及其轨迹控制方法,实现六旋翼球形机器人精确稳定的控制。The purpose of the present invention is to provide a control system and a trajectory control method of a six-rotor spherical robot in view of the above-mentioned problems, so as to realize the precise and stable control of the six-rotor spherical robot.

本发明采用的技术方案如下:The technical scheme adopted in the present invention is as follows:

本发明一种六旋翼球形机器人的控制系统,包括位置控制器、姿态控制器、控制分配器;The present invention is a control system of a six-rotor spherical robot, comprising a position controller, an attitude controller and a control distributor;

所述位置控制器,输入轨迹航点和传感器接收到的当前位置信息,计算偏差,输出期望滚动角速度,并传递给姿态控制器;The position controller inputs the trajectory waypoint and the current position information received by the sensor, calculates the deviation, outputs the expected roll angular velocity, and transmits it to the attitude controller;

所述姿态控制器,输入期望滚动角速度与传感器测得的角速度数据,计算角速度偏差,输出期望驱动力矩,并传递给控制分配器;The attitude controller inputs the expected rolling angular velocity and the angular velocity data measured by the sensor, calculates the angular velocity deviation, outputs the expected driving torque, and transmits it to the control distributor;

所述控制分配器,根据六旋翼球形机器人中电机布置的空间构型,以及当前的姿态信息,将期望驱动力矩解算为电机的控制信号。The control distributor, according to the spatial configuration of the motor arrangement in the six-rotor spherical robot and the current attitude information, calculates the desired driving torque into the control signal of the motor.

作为优选,还包括球形滚动动力学模块,所述球形滚动动力学模块,分别向位置控制器、姿态控制器、控制分配器,输出相应的传感器测量得到的位置信息、角速度数据、姿态信息。Preferably, a spherical rolling dynamics module is also included, and the spherical rolling dynamics module outputs the position information, angular velocity data, and attitude information measured by the corresponding sensors to the position controller, the attitude controller, and the control distributor, respectively.

本发明还公开了一种六旋翼球形机器人的轨迹控制方法,基于六旋翼球形机器人的控制系统,采用串级PID算法进行轨迹控制。The invention also discloses a trajectory control method of a six-rotor spherical robot, which is based on the control system of the six-rotor spherical robot and adopts a cascade PID algorithm for trajectory control.

作为优选,所述串级PID算法具体包括以下步骤:Preferably, the cascade PID algorithm specifically includes the following steps:

步骤一:获取轨迹航点与位置传感器获得的位置信息作为一级PID输入,利用PID算法进行积分分离,得到期望滚动角速度;Step 1: Obtain the position information obtained by the trajectory waypoint and the position sensor as the first-level PID input, and use the PID algorithm to perform integral separation to obtain the desired rolling angular velocity;

步骤二:将期望滚动角速度与测得的角速度数据作为第二级PID的输入,计算角速度偏差,输出期望驱动力矩;Step 2: Take the expected rolling angular velocity and the measured angular velocity data as the input of the second-stage PID, calculate the angular velocity deviation, and output the expected driving torque;

步骤三:根据六旋翼球形机器人中电机布置的空间构型及检测的当前姿态信息,将期望驱动力矩解算为六个电机的控制信号。Step 3: According to the spatial configuration of the motor arrangement in the six-rotor spherical robot and the detected current attitude information, the expected driving torque is calculated into the control signals of the six motors.

作为优选,所述步骤一中位置传感器获得的位置信息依次经过均值滤波处理和卡尔曼滤波处理。Preferably, the position information obtained by the position sensor in the first step is subjected to mean filtering processing and Kalman filtering processing in sequence.

作为优选,所述步骤一中利用PID算法进行积分分离,得到期望滚动角速度的方法:利用比例系数与输入值求导值的乘积取代原来的微分,并对偏差微分进行积分分离,基于计算结果输出期望滚动角速度。Preferably, in the first step, the PID algorithm is used to perform integral separation to obtain the desired rolling angular velocity: use the product of the proportional coefficient and the derivative value of the input value to replace the original differential, and perform integral separation on the deviation differential, and output based on the calculation result. Desired roll angular velocity.

作为优选,期望滚动角速度的计算公式为:Preferably, the calculation formula of the expected rolling angular velocity is:

Figure BDA0003164533190000021
Figure BDA0003164533190000021

其中,Kp为比例系数,KI为积分系数,KD为微分系数,e为期望位置与实际位置的偏差值,

Figure BDA0003164533190000022
为期望滚动角速度。Among them, K p is the proportional coefficient, K I is the integral coefficient, K D is the differential coefficient, e is the deviation between the desired position and the actual position,
Figure BDA0003164533190000022
is the desired roll angular velocity.

作为优选,所述步骤二具体包括:通过PI控制器构造惯性坐标系下描述的角速度控制信号

Figure BDA0003164533190000023
Preferably, the step 2 specifically includes: constructing the angular velocity control signal described in the inertial coordinate system through the PI controller
Figure BDA0003164533190000023

Figure BDA0003164533190000024
Figure BDA0003164533190000024

其中,

Figure BDA0003164533190000025
为期望滚动角速度,ωe为传感器测得的角速度数据在惯性坐标系下的描述;所述ωe的计算公式为:in,
Figure BDA0003164533190000025
is the expected rolling angular velocity, ω e is the description of the angular velocity data measured by the sensor in the inertial coordinate system; the calculation formula of the ω e is:

ωe=Rb2eωB ω e =R b2e ω B

Figure BDA0003164533190000026
Figure BDA0003164533190000026

其中,ωB为传感器测得的角速度数据在机体坐标系为参考系下的描述,c代表cos,s代表sin,

Figure BDA0003164533190000027
θ、ψ是3个Euler角;Among them, ω B is the description of the angular velocity data measured by the sensor in the body coordinate system as the reference frame, c represents cos, s represents sin,
Figure BDA0003164533190000027
θ, ψ are 3 Euler angles;

将惯性坐标系下描述的角加速度控制信号

Figure BDA0003164533190000028
解算为机体坐标系下描述的驱动力矩控制信号
Figure BDA0003164533190000029
Figure BDA00031645331900000210
其中,I为惯性矩阵。The angular acceleration control signal described in the inertial coordinate system
Figure BDA0003164533190000028
The solution is the driving torque control signal described in the body coordinate system
Figure BDA0003164533190000029
Figure BDA00031645331900000210
Among them, I is the inertia matrix.

作为优选,所述步骤三具体包括:设旋翼i(i=1,2,…,6)的转速达到ωi,作用效果分解为电机轴线方向上的升力Fi和旋转力矩Mi,Fi=kFωi 2,Mi=kMωi 2,其中,kF是电机转动力系数,kM是电机转动力矩系数;Preferably, the step 3 specifically includes: setting the rotational speed of the rotor i ( i =1, 2 , . =k F ω i 2 , M i =k M ω i 2 , where k F is the motor rotational force coefficient, and k M is the motor rotational torque coefficient;

设计控制分配器如下:Design the control distributor as follows:

Figure BDA0003164533190000031
Figure BDA0003164533190000031

其中,L为同一方向上布置的两电机间轴距,

Figure BDA0003164533190000032
为机体坐标系下描述的驱动力矩控制信号,
Figure BDA0003164533190000033
为六个电机的期望滚动角速度。Among them, L is the wheelbase between the two motors arranged in the same direction,
Figure BDA0003164533190000032
is the driving torque control signal described in the body coordinate system,
Figure BDA0003164533190000033
is the desired roll angular velocity for the six motors.

作为优选,所述步骤三中采用力矩驱动的控制分配策略,即在同一直径上布置的两电机采取等大且同向的控制信号。Preferably, a torque-driven control distribution strategy is adopted in the third step, that is, two motors arranged on the same diameter take control signals of equal magnitude and in the same direction.

综上所述,由于采用了上述技术方案,本发明的有益效果是:To sum up, due to the adoption of the above-mentioned technical solutions, the beneficial effects of the present invention are:

1、本发明实现了六旋翼球形机器人的控制。先把获取的轨迹航点与位置传感器获得的位置信息输入位置控制器,得到期望滚动角速度;再将期望滚动角速度与测得的角速度数据输入姿态控制器,计算角速度偏差,输出期望驱动力矩;控制分配器根据六旋翼球形机器人中电机布置的空间构型及检测的当前姿态信息,将期望驱动力矩解算为六个电机的控制信号,从而通过电机的控制来驱动球形机器人按照预定的轨迹移动。1. The present invention realizes the control of the six-rotor spherical robot. First, input the obtained trajectory waypoints and the position information obtained by the position sensor into the position controller to obtain the desired rolling angular velocity; then input the expected rolling angular velocity and the measured angular velocity data into the attitude controller, calculate the angular velocity deviation, and output the expected driving torque; control According to the spatial configuration of the motor arrangement in the six-rotor spherical robot and the detected current attitude information, the distributor calculates the expected driving torque into the control signals of the six motors, so as to drive the spherical robot to move according to the predetermined trajectory through the control of the motors.

2、本发明简化了控制模型,降低控制难度。根据电机的空间构型布置,为避免旋翼在旋转过程中产生的反扭力矩使模型耦合性过强,本发明采取了力矩驱动的控制分配策略,即在同一直径上布置的两电机采取等大且同向的控制信号,在这种控制分配策略下,在这种控制分配策略下,6个旋翼的控制信号实际可等效为3路转速控制信号,达到简化的作用。2. The present invention simplifies the control model and reduces the difficulty of control. According to the spatial configuration of the motors, in order to avoid the excessively strong model coupling caused by the anti-torque moment generated by the rotor during the rotation process, the present invention adopts a torque-driven control distribution strategy, that is, the two motors arranged on the same diameter are of equal size. And the control signals in the same direction, under this control distribution strategy, the control signals of the 6 rotors can actually be equivalent to 3 speed control signals to achieve the effect of simplification.

3、本发明根据六旋翼球形机器人中电机布置的空间构型,设计针对电机的控制策略,通过电机之间的控制配合,实现机器人的不同动作,跟精准的控制六旋翼球形机器人。3. The present invention designs a control strategy for the motor according to the spatial configuration of the motor arrangement in the six-rotor spherical robot. Through the control cooperation between the motors, different actions of the robot can be realized, and the six-rotor spherical robot can be accurately controlled.

附图说明Description of drawings

本发明将通过例子并参照附图的方式说明,其中:The invention will be described by way of example and with reference to the accompanying drawings, in which:

图1是本发明所基于的硬件平台六旋翼球形机器人的整体结构示意图。FIG. 1 is a schematic diagram of the overall structure of the six-rotor spherical robot on which the hardware platform of the present invention is based.

图2是六旋翼球形机器人中电机和旋翼的布局示意图。Figure 2 is a schematic diagram of the layout of motors and rotors in a six-rotor spherical robot.

图3是本发明实施例中六旋翼球形机器人的控制系统的示意图。3 is a schematic diagram of a control system of a six-rotor spherical robot in an embodiment of the present invention.

图4是本发明中所建立的惯性坐标系以及机体坐标系示意图。FIG. 4 is a schematic diagram of the inertial coordinate system and the body coordinate system established in the present invention.

图5是本发明所实现的轨迹控制效果曲线图。FIG. 5 is a curve diagram of the trajectory control effect realized by the present invention.

图6是本发明在实际测试中俯仰通道控制效果图。Fig. 6 is the control effect diagram of the pitch channel in the actual test of the present invention.

图7是本发明在实际测试中滚转通道控制效果图。Fig. 7 is the effect diagram of rolling channel control in the actual test of the present invention.

图中标记:1为球形外壳,10为上半球形外壳,11为下半球形外壳,12为孔,20为X轴支架,21为Y轴支架,22为Z轴支架,40为下电机,41为上电机,42为右电机,43为左电机,44为前电机,45为后电机,5为旋翼,6为桨叶。Marked in the figure: 1 is the spherical shell, 10 is the upper hemispherical shell, 11 is the lower hemispherical shell, 12 is the hole, 20 is the X-axis bracket, 21 is the Y-axis bracket, 22 is the Z-axis bracket, 40 is the lower motor, 41 is the upper motor, 42 is the right motor, 43 is the left motor, 44 is the front motor, 45 is the rear motor, 5 is the rotor, and 6 is the blade.

具体实施方式Detailed ways

本说明书中公开的所有特征,或公开的所有方法或过程中的步骤,除了互相排斥的特征和/或步骤以外,均可以以任何方式组合。All features disclosed in this specification, or all disclosed steps in a method or process, may be combined in any way except mutually exclusive features and/or steps.

本说明书(包括任何附加权利要求、摘要)中公开的任一特征,除非特别叙述,均可被其他等效或具有类似目的的替代特征加以替换。即,除非特别叙述,每个特征只是一系列等效或类似特征中的一个例子而已。Any feature disclosed in this specification (including any accompanying claims, abstract), unless expressly stated otherwise, may be replaced by other equivalent or alternative features serving a similar purpose. That is, unless expressly stated otherwise, each feature is but one example of a series of equivalent or similar features.

如图1所示,六旋翼球形机器人的外壳为球形外壳1,球形外壳1上开有孔12;在实施例中,优选镂空球形外壳,采用镂空设计,可以便于桨叶的气流通过。球形外壳分成两个半球形外壳,分别为上半球形外壳10和为下半球形外壳11,两个半球形外壳可以方便打开和合并。As shown in FIG. 1 , the shell of the six-rotor spherical robot is a spherical shell 1, and the spherical shell 1 has holes 12; in the embodiment, the hollow spherical shell is preferably hollowed out, which can facilitate the airflow of the blades. The spherical casing is divided into two hemispherical casings, namely an upper hemispherical casing 10 and a lower hemispherical casing 11, and the two hemispherical casings can be easily opened and merged.

球形外壳内固定有支架,支架上安装有带动球形外壳前滚、自旋、左右平衡的驱动机构;所述驱动机构包括电机,以及安装在电机上的旋翼。所述支架上安装有至少六个驱动机构,六个驱动机构包括六个电机和六个旋翼;所述旋翼包括至少一个桨叶。所述支架包括经过同一个中点的X轴支架、Y轴支架和Z轴支架。A bracket is fixed in the spherical shell, and a driving mechanism for driving the spherical shell to roll forward, spin and balance left and right is installed on the bracket; the driving mechanism includes a motor and a rotor mounted on the motor. At least six drive mechanisms are installed on the bracket, and the six drive mechanisms include six motors and six rotors; the rotors include at least one blade. The bracket includes an X-axis bracket, a Y-axis bracket and a Z-axis bracket that pass through the same midpoint.

如图2所示,X轴支架20、Y轴支架21和Z轴支架22两端分别对称安装有驱动机构;驱动机构包括电机,以及安装在电机上的旋翼5。每个X轴支架20、Y轴支架21和Z轴支架22上分别反向安装电机和旋翼5,X轴支架20上分别安装有上电机41和下电机40,上电机41上安装有旋翼5,产生向上的作用力,下电机40上安装有旋翼5,产生向下的作用力,通过控制上下电机,实现球形机器人的左右调平;Y轴支架21上分别安装有左电机43和右电机42,左电机43上安装有旋翼5,产生向左的作用力,右电机42上安装有旋翼5,产生向右的作用力,通过控制左右电机,实现球形机器人的自转;Z轴支架22上分别安装前电机44和后电机45,前电机44上安装有旋翼5,产生向前的作用力,后电机45上安装有旋翼5,产生向后的作用力,通过控制前后电机,实现球形机器人的前后翻滚。As shown in FIG. 2 , two ends of the X-axis support 20 , the Y-axis support 21 and the Z-axis support 22 are respectively symmetrically installed with drive mechanisms; the drive mechanisms include a motor and a rotor 5 mounted on the motor. Motors and rotors 5 are respectively installed on the X-axis brackets 20 , Y-axis brackets 21 and Z-axis brackets 22 in opposite directions. The upper motor 41 and the lower motor 40 are respectively installed on the X-axis bracket 20 , and the rotors 5 are installed on the upper motor 41 . , generate an upward force, the rotor 5 is installed on the lower motor 40 to generate a downward force, and by controlling the upper and lower motors, the left and right leveling of the spherical robot is realized; the Y-axis bracket 21 is respectively installed with a left motor 43 and a right motor 42. A rotor 5 is installed on the left motor 43 to generate a leftward force, and a rotor 5 is installed on the right motor 42 to generate a rightward force. By controlling the left and right motors, the rotation of the spherical robot is realized; on the Z-axis bracket 22 The front motor 44 and the rear motor 45 are respectively installed, the rotor 5 is installed on the front motor 44 to generate a forward force, and the rotor 5 is installed on the rear motor 45 to generate a backward force, and the spherical robot is realized by controlling the front and rear motors. rolls back and forth.

球形外壳内还安装有摄像头,作为有效载荷,对周围环境进行探测。球形外壳内还安装有自动驾驶仪、电调、电源、定位仪和任务计算机;所述自动驾驶仪,用于控制球形机器人的运动;所述电调,用于将电源提供的直流电转换为驱动电机的交流电;所述定位仪,用于采集定位信息;所述任务计算机,用于对载荷数据进行采集、处理和传输,并实现自主规划和重规划任务。球形外壳内还安装有与地面站通信和图像传输的数传和图传。A camera is also installed in the spherical shell, which acts as a payload to detect the surrounding environment. An autopilot, an ESC, a power source, a locator and a task computer are also installed in the spherical shell; the autopilot is used to control the movement of the spherical robot; the ESC is used to convert the direct current provided by the power source into a drive The alternating current of the motor; the locator for collecting positioning information; the mission computer for collecting, processing and transmitting the load data, and realizing autonomous planning and re-planning tasks. The spherical shell is also equipped with data transmission and image transmission for communication with the ground station and image transmission.

如图3所示,本发明提供了一种六旋翼球形机器人的控制系统,包括位置控制器、姿态控制器、控制分配器和刚体动力学(球形滚动动力学模块);所述位置控制器,输入轨迹航点和传感器接收到的当前位置信息,计算偏差,输出期望滚动角速度,并传递给姿态控制器;所述姿态控制器,输入期望滚动角速度与传感器测得的角速度数据,计算角速度偏差,输出期望驱动力矩,并传递给控制分配器;所述控制分配器,根据六旋翼球形机器人中电机布置的空间构型,以及当前的姿态信息,将期望驱动力矩解算为电机的控制信号;所述球形滚动动力学模块,分别向位置控制器、姿态控制器、控制分配器,输出相应的传感器测量得到的位置信息、角速度数据、姿态信息。As shown in FIG. 3 , the present invention provides a control system of a six-rotor spherical robot, including a position controller, an attitude controller, a control distributor and rigid body dynamics (spherical rolling dynamics module); the position controller, Input the trajectory waypoint and the current position information received by the sensor, calculate the deviation, output the expected roll angular velocity, and transmit it to the attitude controller; the attitude controller, input the expected roll angular velocity and the angular velocity data measured by the sensor, calculate the angular velocity deviation, Output the desired driving torque and transmit it to the control distributor; the control distributor, according to the spatial configuration of the motor arrangement in the six-rotor spherical robot and the current attitude information, calculates the desired driving torque into the control signal of the motor; so The spherical rolling dynamics module, respectively, outputs the position information, angular velocity data, and attitude information measured by the corresponding sensors to the position controller, the attitude controller, and the control distributor.

本发明提供了一种六旋翼球形机器人的轨迹控制方法,包括以下步骤:The invention provides a trajectory control method for a six-rotor spherical robot, comprising the following steps:

获取轨迹规划器的航点数据与位置传感器获得的位置信息作为第一级输入;利用PID算法进行积分分离,并通过位置控制器得到期望滚动角速度作为第二级PID的输入;The waypoint data of the trajectory planner and the position information obtained by the position sensor are obtained as the first-stage input; the PID algorithm is used for integral separation, and the desired roll angular velocity is obtained through the position controller as the input of the second-stage PID;

向姿态控制器输入期望的滚动角速度与陀螺仪测得的角速度数据,计算角速度偏差,输出期望的驱动力矩,并传递给控制分配器;Input the expected roll angular velocity and the angular velocity data measured by the gyroscope to the attitude controller, calculate the angular velocity deviation, output the expected driving torque, and transmit it to the control distributor;

控制分配器根据六旋翼球形机器人中电机布置的空间构型及当前的姿态信息,将期望的驱动力矩解算为六个电机的控制信号;The control distributor calculates the desired driving torque into the control signals of the six motors according to the spatial configuration of the motor arrangement and the current attitude information in the six-rotor spherical robot;

基于球形滚动动力学模型,在六旋翼协同作用下球形机器人能够按照预定的轨迹实现精确稳定的控制。Based on the spherical rolling dynamics model, the spherical robot can achieve precise and stable control according to the predetermined trajectory under the synergy of the six rotors.

在实施例中,公开了一种六旋翼球形机器人的轨迹控制方法,包括以下步骤:In an embodiment, a trajectory control method for a six-rotor spherical robot is disclosed, comprising the following steps:

S101:获取航点数据与位置传感器获得的位置信息作为第一级输入,利用PID算法进行积分分离,并通过位置控制器得到期望滚动角速度作为第二级PID的输入;S101: Acquire the waypoint data and the position information obtained by the position sensor as the first-stage input, use the PID algorithm to perform integral separation, and obtain the desired roll angular velocity through the position controller as the input of the second-stage PID;

具体包括:航点数据由预定的轨迹离散化得到,每一航路段上目标航点,在当前位置越过航点所在的航路法平面时切换至下一航路段的追踪过程。位置传感器使用室内光学动作捕捉系统OptiTrack获得位置信息,由于有一定的波动,所以需要对其进行均值滤波处理;处理完的数据在进行卡尔曼滤波,使得位置数据更加真实可靠。然后,利用离散化的位置式PID算法控制期望滚动角速度,并使用积分分离避免出现积分饱和,计算公式为:Specifically, the waypoint data is obtained by discretizing a predetermined trajectory, and the target waypoint on each route segment switches to the tracking process of the next route segment when the current position crosses the route method plane where the waypoint is located. The position sensor uses the indoor optical motion capture system OptiTrack to obtain position information. Due to certain fluctuations, it needs to be average filtered; the processed data is subjected to Kalman filtering to make the position data more real and reliable. Then, the desired roll angular velocity is controlled by the discretized position PID algorithm, and the integral separation is used to avoid integral saturation. The calculation formula is:

Figure BDA0003164533190000051
Figure BDA0003164533190000051

其中,Kp为比例系数,KI为积分系数,KD为微分系数,e为期望位置与实际位置的偏差值,

Figure BDA0003164533190000052
为位置控制器计算得到的期望滚动角速度;Among them, K p is the proportional coefficient, K I is the integral coefficient, K D is the differential coefficient, e is the deviation between the desired position and the actual position,
Figure BDA0003164533190000052
the desired roll angular velocity calculated for the position controller;

S102:向姿态控制器输入期望的滚动角速度与陀螺仪测得的角速度数据,计算角速度偏差,输出期望的驱动力矩,并传递给控制分配器;S102: Input the expected roll angular velocity and the angular velocity data measured by the gyroscope to the attitude controller, calculate the angular velocity deviation, output the expected driving torque, and transmit it to the control distributor;

具体的,球形机器人可简化为具有两个正交输入的欠驱动滚动球体,如图4所示,分别以运动原点O和球心点C为原点建立惯性坐标系OXYZ和球形机器人的机体坐标系CXBYBZB,可以选择5个参数描述球形机器人沿光滑水平面的纯滚动运动:球心C的坐标(x,y)以及3个Euler角:

Figure BDA0003164533190000061
θ、ψ。Specifically, the spherical robot can be simplified as an underactuated rolling sphere with two orthogonal inputs. As shown in Figure 4, the inertial coordinate system OXYZ and the body coordinate system of the spherical robot are established with the motion origin O and the center point C as the origin respectively. CX B Y B Z B , you can choose 5 parameters to describe the pure rolling motion of the spherical robot along a smooth horizontal plane: the coordinates (x, y) of the center C and the 3 Euler angles:
Figure BDA0003164533190000061
θ, ψ.

位置控制器计算得到的期望滚动角速度数据是以惯性坐标系OXYZ为参考系,记为

Figure BDA0003164533190000062
陀螺仪传感器测得的角速度数据是以飞控本身所在的机体坐标系CXBYBZB为参考系,记为ωB;通过PI控制器构造角加速度控制信号
Figure BDA0003164533190000063
The expected rolling angular velocity data calculated by the position controller is based on the inertial coordinate system OXYZ as the reference system, which is recorded as
Figure BDA0003164533190000062
The angular velocity data measured by the gyroscope sensor is based on the body coordinate system CX B Y B Z B where the flight control itself is located, and is denoted as ω B ; the angular acceleration control signal is constructed by the PI controller.
Figure BDA0003164533190000063

Figure BDA0003164533190000064
Figure BDA0003164533190000064

其中,

Figure BDA0003164533190000065
为位置控制器计算得到的期望滚动角速度,ωe为陀螺仪传感器测得的角速度数据在惯性坐标系下的描述,其计算公式为:in,
Figure BDA0003164533190000065
is the expected rolling angular velocity calculated by the position controller, ω e is the description of the angular velocity data measured by the gyro sensor in the inertial coordinate system, and its calculation formula is:

ωe=Rb2eωB ω e =R b2e ω B

Figure BDA0003164533190000066
Figure BDA0003164533190000066

其中,c代表cos,s代表sin。Among them, c stands for cos, s stands for sin.

根据球体的运动学特性,将惯性坐标系下描述的角加速度控制信号,解算为机体坐标系下描述的驱动力矩控制信号

Figure BDA0003164533190000067
According to the kinematic characteristics of the sphere, the angular acceleration control signal described in the inertial coordinate system is solved into the driving torque control signal described in the body coordinate system
Figure BDA0003164533190000067

Figure BDA0003164533190000068
Figure BDA0003164533190000068

其中,I为惯性矩阵;Among them, I is the inertia matrix;

S103:控制分配器根据六旋翼球形机器人中电机布置的空间构型及当前的姿态信息将期望的驱动力矩解算为六个电机的控制信号;S103: The control distributor calculates the desired driving torque into control signals of the six motors according to the spatial configuration of the motor arrangement in the six-rotor spherical robot and the current attitude information;

具体的,根据图1和2所示的六旋翼球形机器人的电机空间布置构型进行控制分配。对于六旋翼球形机器人,我们的控制手段是控制六个旋翼的转速。首先,对转速ω产生的作用进行分析,假设希望旋翼i(i=1,2,…,6)的转速达到ωi,那么它的作用效果可以分解电机轴线方向上的升力Fi和旋转力矩Mi,其关系为:Specifically, the control assignment is performed according to the motor space arrangement configuration of the six-rotor spherical robot shown in FIGS. 1 and 2 . For the six-rotor spherical robot, our control method is to control the rotation speed of the six rotors. First, analyze the effect of the rotational speed ω, assuming that the rotational speed of the rotor i (i=1,2,...,6) is expected to reach ω i , then its effect can decompose the lift F i and the rotational torque in the direction of the motor axis M i , whose relation is:

Fi=kFωi 2 F i =k F ω i 2

Mi=kMωi 2 M i =k M ω i 2

其中,kF是电机转动力系数,kM是电机转动力矩系数。Among them, k F is the motor rotational force coefficient, and k M is the motor rotational torque coefficient.

根据电机的空间构型布置,为避免旋翼在旋转过程中产生的反扭力矩使模型耦合性过强,本发明采取了力矩驱动的控制分配策略,即在同一直径上布置的两电机采取等大且同向的控制信号,在这种控制分配策略下,6个旋翼的控制信号实际可等效为3路转速控制信号,控制分配器设计如下:According to the spatial configuration of the motors, in order to avoid the excessively strong model coupling caused by the anti-torque moment generated by the rotor during the rotation process, the present invention adopts a torque-driven control distribution strategy, that is, the two motors arranged on the same diameter are of equal size. And the control signals in the same direction, under this control distribution strategy, the control signals of the six rotors can actually be equivalent to three speed control signals. The control distributor is designed as follows:

Figure BDA0003164533190000071
Figure BDA0003164533190000071

其中,L为同一方向上布置的两电机间轴距。Among them, L is the wheelbase between the two motors arranged in the same direction.

如图5所示,本发明在实际测试中达到的轨迹控制效果非常好,提高了球形机器人的控制精度。如图6所示,通过俯仰输入角速率和实际角速率对比,两者差异比较小,证明本发明在实际测试中俯仰通道控制效果佳。如图7所示,通过滚转输入角速率和实际角速率对比,两者比较接近,说明本发明在实际测试中滚转通道控制效果好。通过实际测试,测试结果证明,在本发明轨迹控制方法控制下,六旋翼球形机器人能够按照预定的轨迹实现精确稳定的控制。As shown in FIG. 5 , the trajectory control effect achieved by the present invention in the actual test is very good, and the control accuracy of the spherical robot is improved. As shown in FIG. 6 , by comparing the pitch input angular rate and the actual angular rate, the difference between the two is relatively small, which proves that the present invention has a good pitch channel control effect in the actual test. As shown in FIG. 7 , by comparing the roll input angular rate with the actual angular rate, the two are relatively close, indicating that the present invention has a good effect of rolling channel control in the actual test. Through the actual test, the test result proves that under the control of the trajectory control method of the present invention, the six-rotor spherical robot can realize precise and stable control according to the predetermined trajectory.

本发明并不局限于前述的具体实施方式。本发明扩展到任何在本说明书中披露的新特征或任何新的组合,以及披露的任一新的方法或过程的步骤或任何新的组合。The present invention is not limited to the foregoing specific embodiments. The present invention extends to any new features or any new combination disclosed in this specification, as well as any new method or process steps or any new combination disclosed.

Claims (8)

1.一种六旋翼球形机器人的轨迹控制方法,其特征在于,采用串级PID算法进行轨迹控制;所述串级PID算法具体包括以下步骤:1. a trajectory control method of a six-rotor spherical robot, is characterized in that, adopts cascade PID algorithm to carry out trajectory control; Described cascade PID algorithm specifically comprises the following steps: 步骤一:获取轨迹航点与位置传感器获得的位置信息作为一级PID输入,利用PID算法进行积分分离,得到期望滚动角速度;Step 1: Obtain the position information obtained by the trajectory waypoint and the position sensor as the first-level PID input, and use the PID algorithm to perform integral separation to obtain the desired rolling angular velocity; 步骤二:将期望滚动角速度与测得的角速度数据作为第二级PID的输入,计算角速度偏差,输出期望驱动力矩;Step 2: Take the expected rolling angular velocity and the measured angular velocity data as the input of the second-stage PID, calculate the angular velocity deviation, and output the expected driving torque; 步骤三:根据六旋翼球形机器人中电机布置的空间构型及检测的当前姿态信息,将期望驱动力矩解算为六个电机的控制信号;Step 3: According to the spatial configuration of the motor arrangement in the six-rotor spherical robot and the detected current attitude information, the expected driving torque is calculated into the control signals of the six motors; 所述步骤二具体包括:通过PI控制器构造惯性坐标系下描述的角速度控制信号
Figure FDA0003665043970000011
The step 2 specifically includes: constructing the angular velocity control signal described in the inertial coordinate system through the PI controller
Figure FDA0003665043970000011
Figure FDA0003665043970000012
Figure FDA0003665043970000012
其中,
Figure FDA0003665043970000013
为期望滚动角速度,ωe为传感器测得的角速度数据在惯性坐标系下的描述;所述ωe的计算公式为:
in,
Figure FDA0003665043970000013
is the expected rolling angular velocity, ω e is the description of the angular velocity data measured by the sensor in the inertial coordinate system; the calculation formula of the ω e is:
ωe=Rb2eωB ω e =R b2e ω B
Figure FDA0003665043970000014
Figure FDA0003665043970000014
其中,ωB为传感器测得的角速度数据在机体坐标系为参考系下的描述,c代表cos,s代表sin,
Figure FDA0003665043970000015
θ、ψ是3个Euler角;
Among them, ω B is the description of the angular velocity data measured by the sensor in the body coordinate system as the reference frame, c represents cos, s represents sin,
Figure FDA0003665043970000015
θ, ψ are 3 Euler angles;
将惯性坐标系下描述的角加速度控制信号
Figure FDA0003665043970000016
解算为机体坐标系下描述的驱动力矩控制信号
Figure FDA0003665043970000017
Figure FDA0003665043970000018
其中,I为惯性矩阵。
The angular acceleration control signal described in the inertial coordinate system
Figure FDA0003665043970000016
The solution is the driving torque control signal described in the body coordinate system
Figure FDA0003665043970000017
Figure FDA0003665043970000018
Among them, I is the inertia matrix.
2.根据权利要求1所述的六旋翼球形机器人的轨迹控制方法,其特征在于,所述步骤一中位置传感器获得的位置信息依次经过均值滤波处理和卡尔曼滤波处理。2 . The trajectory control method of a six-rotor spherical robot according to claim 1 , wherein the position information obtained by the position sensor in the step 1 is subjected to mean filter processing and Kalman filter processing in turn. 3 . 3.根据权利要求1或2所述的六旋翼球形机器人的轨迹控制方法,其特征在于,所述步骤一中利用PID算法进行积分分离,得到期望滚动角速度的方法:利用比例系数与输入值求导值的乘积取代原来的微分,并对偏差微分进行积分分离,基于计算结果输出期望滚动角速度。3. the trajectory control method of the six-rotor spherical robot according to claim 1 and 2, is characterized in that, utilizes PID algorithm to carry out integral separation in described step 1, obtains the method for expected rolling angular velocity: utilize proportional coefficient and input value to find The product of derivative values replaces the original differential, and the deviation differential is integrated and separated, and the expected roll angular velocity is output based on the calculation result. 4.根据权利要求3所述的六旋翼球形机器人的轨迹控制方法,其特征在于,期望滚动角速度的计算公式为:4. the trajectory control method of the six-rotor spherical robot according to claim 3, is characterized in that, the calculation formula of expected rolling angular velocity is:
Figure FDA0003665043970000019
Figure FDA0003665043970000019
其中,Kp为比例系数,kI为积分系数,kD为微分系数,e为期望位置与实际位置的偏差值,
Figure FDA0003665043970000021
为期望滚动角速度。
Among them, K p is the proportional coefficient, k I is the integral coefficient, k D is the differential coefficient, e is the deviation between the desired position and the actual position,
Figure FDA0003665043970000021
is the desired roll angular velocity.
5.根据权利要求1所述的六旋翼球形机器人的轨迹控制方法,其特征在于,所述步骤三具体包括:设旋翼i的转速达到ωi,i=1,2,…,6,作用效果分解为电机轴线方向上的升力Fi和旋转力矩Mi,Fi=kFωi 2,Mi=kMωi 2,其中,kF是电机转动力系数,kM是电机转动力矩系数;5. The trajectory control method of a six-rotor spherical robot according to claim 1, wherein the step 3 specifically comprises: setting the rotational speed of the rotor i to reach ω i , i=1, 2, . . . , 6, and the effect It is decomposed into the lift force F i and the rotational torque M i in the direction of the motor axis, F i =k F ω i 2 , M i =k M ω i 2 , where k F is the motor rotational force coefficient, and k M is the motor rotational torque coefficient; 设计控制分配器如下:Design the control distributor as follows:
Figure FDA0003665043970000022
Figure FDA0003665043970000022
其中,L为同一方向上布置的两电机间轴距,
Figure FDA0003665043970000023
为机体坐标系下描述的驱动力矩控制信号,
Figure FDA0003665043970000024
为六个电机的期望滚动角速度。
Among them, L is the wheelbase between the two motors arranged in the same direction,
Figure FDA0003665043970000023
is the driving torque control signal described in the body coordinate system,
Figure FDA0003665043970000024
is the desired roll angular velocity for the six motors.
6.根据权利要求1所述的六旋翼球形机器人的轨迹控制方法,其特征在于,所述步骤三中采用力矩驱动的控制分配策略,即在同一直径上布置的两电机采取等大且同向的控制信号。6. The trajectory control method of the six-rotor spherical robot according to claim 1, characterized in that, in the step 3, a torque-driven control distribution strategy is adopted, that is, two motors arranged on the same diameter are of equal size and in the same direction. control signal. 7.一种六旋翼球形机器人的控制系统,其特征在于,采用如权利要求1-6之一所述的六旋翼球形机器人的轨迹控制方法,包括位置控制器、姿态控制器、控制分配器;7. A control system of a six-rotor spherical robot, characterized in that, adopting the trajectory control method of the six-rotor spherical robot as claimed in one of claims 1-6, comprising a position controller, an attitude controller, and a control distributor; 所述位置控制器,输入轨迹航点和传感器接收到的当前位置信息,计算偏差,输出期望滚动角速度,并传递给姿态控制器;The position controller inputs the trajectory waypoint and the current position information received by the sensor, calculates the deviation, outputs the expected roll angular velocity, and transmits it to the attitude controller; 所述姿态控制器,输入期望滚动角速度与传感器测得的角速度数据,计算角速度偏差,输出期望驱动力矩,并传递给控制分配器;The attitude controller inputs the expected rolling angular velocity and the angular velocity data measured by the sensor, calculates the angular velocity deviation, outputs the expected driving torque, and transmits it to the control distributor; 所述控制分配器,根据六旋翼球形机器人中电机布置的空间构型,以及当前的姿态信息,将期望驱动力矩解算为电机的控制信号。The control distributor, according to the spatial configuration of the motor arrangement in the six-rotor spherical robot and the current attitude information, calculates the desired driving torque into the control signal of the motor. 8.根据权利要求7所述的六旋翼球形机器人的控制系统,其特征在于,还包括球形滚动动力学模块,所述球形滚动动力学模块,分别向位置控制器、姿态控制器、控制分配器,输出相应的传感器测量得到的位置信息、角速度数据、姿态信息。8. The control system of the six-rotor spherical robot according to claim 7, further comprising a spherical rolling dynamics module, wherein the spherical rolling dynamics module is directed to a position controller, an attitude controller, and a control distributor respectively. , and output the position information, angular velocity data, and attitude information measured by the corresponding sensor.
CN202110800514.5A 2021-07-15 2021-07-15 A control system of a six-rotor spherical robot and its trajectory control method Active CN113433820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110800514.5A CN113433820B (en) 2021-07-15 2021-07-15 A control system of a six-rotor spherical robot and its trajectory control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110800514.5A CN113433820B (en) 2021-07-15 2021-07-15 A control system of a six-rotor spherical robot and its trajectory control method

Publications (2)

Publication Number Publication Date
CN113433820A CN113433820A (en) 2021-09-24
CN113433820B true CN113433820B (en) 2022-07-05

Family

ID=77760563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110800514.5A Active CN113433820B (en) 2021-07-15 2021-07-15 A control system of a six-rotor spherical robot and its trajectory control method

Country Status (1)

Country Link
CN (1) CN113433820B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101590323B (en) * 2009-07-08 2012-10-31 北京工业大学 One-wheel robot system and its control method
CN103135549A (en) * 2012-12-21 2013-06-05 北京邮电大学 Motion control system and motion control method for spherical robot with visual feedback
WO2018110598A1 (en) * 2016-12-13 2018-06-21 株式会社自律制御システム研究所 Unmanned aircraft, device for controlling unmanned aircraft, method for controlling unmanned aircraft, and device for detecting failure of unmanned aircraft
CN107272725B (en) * 2017-08-08 2020-08-25 广州一衍信息科技有限公司 Spherical robot motion control system and motion control method with visual feedback
CN110488598A (en) * 2019-08-07 2019-11-22 清华大学 Air-ground amphibious unmanned vehicle control
CN110888447B (en) * 2019-12-23 2021-09-03 西安电子科技大学 Four-rotor-wing 3D path tracking method based on nonlinear PD double closed-loop control
CN112034871B (en) * 2020-08-25 2022-05-24 南京航空航天大学 An omnidirectional control method for a tiltable multi-rotor aircraft
CN112684805B (en) * 2021-01-14 2021-11-23 北京航空航天大学 High-mobility micro unmanned aerial vehicle control method considering attitude constraint

Also Published As

Publication number Publication date
CN113433820A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN105473442B (en) Controlled Flight of a Multicopter Encountering a Malfunction Affecting Effectors
Lim et al. Build your own quadrotor: Open-source projects on unmanned aerial vehicles
JP4133435B2 (en) Autonomous control method for small unmanned helicopter
US20210141395A1 (en) Stable flight control method for multi-rotor unmanned aerial vehicle based on finite-time neurodynamics
Azfar et al. A simple approach on implementing IMU sensor fusion in PID controller for stabilizing quadrotor flight control
Mester et al. Modeling and navigation of an autonomous quad-rotor helicopter
Cheviron et al. Robust nonlinear fusion of inertial and visual data for position, velocity and attitude estimation of UAV
CN103853156A (en) Small four-rotor aircraft control system and method based on airborne sensor
CN111351482A (en) Integrated Navigation Method for Multi-rotor Aircraft Based on Error State Kalman Filter
CN107807646A (en) A control device for omnidirectional operation of mecanum wheels
Bayisa et al. Controlling quadcopter altitude using PID-control system
JP2016135660A (en) Flying object
Cioffi et al. Hdvio: Improving localization and disturbance estimation with hybrid dynamics vio
Sa et al. Dynamic System Identification, and Control for a cost effective open-source VTOL MAV
Shankar et al. Freyja: A full multirotor system for agile & precise outdoor flights
Khalifa et al. Experimental implementation of a new non-redundant 6-DOF quadrotor manipulation system
Mercado et al. Quadrotor's trajectory tracking control using monocular vision navigation
Stingu et al. Design and implementation of a structured flight controller for a 6DoF quadrotor using quaternions
CN209649972U (en) A kind of land and air double-used operation type flying robot
CN107063248A (en) Kinetic model based on rotor rotating speed aids in the air navigation aid of inertial navigation
CN113433820B (en) A control system of a six-rotor spherical robot and its trajectory control method
Zhang et al. Multi-sensory motion estimation and control of a mini-quadrotor in an air-ground multi-robot system
CN110109353B (en) Fuzzy self-adaptive sliding-mode control system of counteractive wheel balance bicycle robot
JP4316772B2 (en) Moving body
CN116429101A (en) Track tracking control system and method based on inertial navigation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant