WO2020248132A1 - Control method and apparatus for movable platform, device, and storage medium - Google Patents

Control method and apparatus for movable platform, device, and storage medium Download PDF

Info

Publication number
WO2020248132A1
WO2020248132A1 PCT/CN2019/090754 CN2019090754W WO2020248132A1 WO 2020248132 A1 WO2020248132 A1 WO 2020248132A1 CN 2019090754 W CN2019090754 W CN 2019090754W WO 2020248132 A1 WO2020248132 A1 WO 2020248132A1
Authority
WO
WIPO (PCT)
Prior art keywords
movable platform
target
omnidirectional
acceleration
wheel
Prior art date
Application number
PCT/CN2019/090754
Other languages
French (fr)
Chinese (zh)
Inventor
周长兴
陈超彬
龚鼎
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201980012189.7A priority Critical patent/CN111712399A/en
Priority to PCT/CN2019/090754 priority patent/WO2020248132A1/en
Publication of WO2020248132A1 publication Critical patent/WO2020248132A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L15/00Methods, circuits, or devices for controlling the traction-motor speed of electrically-propelled vehicles
    • B60L15/20Methods, circuits, or devices for controlling the traction-motor speed of electrically-propelled vehicles for control of the vehicle or its driving motor to achieve a desired performance, e.g. speed, torque, programmed variation of speed
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0276Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L2220/00Electrical machine types; Structures or applications thereof
    • B60L2220/40Electrical machine applications
    • B60L2220/42Electrical machine applications with use of more than one motor
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L2240/00Control parameters of input or output; Target parameters
    • B60L2240/40Drive Train control parameters
    • B60L2240/42Drive Train control parameters related to electric machines
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/72Electric energy management in electromobility

Definitions

  • the embodiment of the present invention relates to the field of kinematics control, and in particular to a control method, device, equipment and storage medium of a movable platform.
  • mobile platforms for example, mobile robots, drones, mobile vehicles, unmanned vehicles, etc.
  • the user sends a control instruction to the movable platform through the user equipment, and the controller in the movable platform controls the movable platform to move according to the control instruction.
  • the controller of the movable platform may determine the control quantity for controlling the movable platform according to the control instruction sent by the user equipment, and further, determine the target rotation speed of the omnidirectional wheel of the movable platform according to the control quantity , And control the rotation of the motor corresponding to the omnidirectional wheel according to the target rotation speed, so that the movable platform reaches the motion state required by the user.
  • the motor needs to reach a higher speed in a short time, which may cause the omnidirectional wheels of the movable platform to slip relative to the ground. , Resulting in unstable movement of the movable platform.
  • the embodiment of the present invention provides a control method, device, equipment, and storage medium for a movable platform, so as to prevent the user from requiring the movable platform to reach a higher speed in a short time, because the motor needs to reach a higher speed in a short time.
  • the omni-directional wheel of the movable platform slips relative to the ground caused by the rotation speed of the movable platform, so as to improve the stability of the movement of the movable platform.
  • the first aspect of the embodiments of the present invention is to provide a control method of a movable platform, the movable platform includes a power system, the power system is used to drive the movable platform to move, the power system includes at least one motor A controller, a plurality of motors, and a plurality of omnidirectional wheels corresponding to the motors one-to-one, the at least one motor controller is used to control the rotation of the plurality of motors, and the plurality of motors are respectively used to drive the corresponding omnidirectional wheels Wheel rotation, the method includes:
  • the movement of the movable platform is controlled according to the target control amount.
  • the second aspect of the embodiments of the present invention is to provide a control device for a movable platform, the movable platform includes a power system, the power system is used to drive the movable platform to move, the power system includes at least one motor A controller, a plurality of motors, and a plurality of omnidirectional wheels corresponding to the motors one-to-one, the at least one motor controller is used to control the rotation of the plurality of motors, and the plurality of motors are respectively used to drive the corresponding omnidirectional wheels When the wheel rotates, the control device includes: a memory and a processor;
  • the memory is used to store program codes
  • the processor calls the program code, and when the program code is executed, is used to perform the following operations:
  • the movement of the movable platform is controlled according to the target control amount.
  • the third aspect of the embodiments of the present invention is to provide a movable platform, including:
  • the power system is installed on the body and used to drive the movable platform to move.
  • the power system includes at least one motor controller, a plurality of motors, and a plurality of omnidirectional wheels corresponding to the motors one to one.
  • the at least one motor controller is used to control the rotation of multiple motors, and the multiple motors are respectively used to drive the corresponding omni wheel to rotate;
  • the fourth aspect of the embodiments of the present invention is to provide a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the method described in the first aspect.
  • the control method, device, equipment, and storage medium of the movable platform obtained a user instruction for controlling the movement of the movable platform, and according to the user instruction, it is determined that the current moment is used to control the movable platform.
  • the first control amount of platform movement if the change amount of the first control amount with respect to the second control amount used to control the movement of the movable platform at a historical moment is greater than a preset value, then according to the first control amount and
  • the second control quantity determines the target control quantity used to control the movement of the movable platform at the current moment, and controls the movement of the movable platform according to the target control quantity, so as to prevent the user from requesting the movable platform in a short time.
  • the omnidirectional wheel of the movable platform slips relative to the ground due to the need for the motor to reach a high speed in a short time, which improves the stability of the movement of the movable platform.
  • FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present invention.
  • Figure 2 is a schematic structural diagram of a power system provided by an embodiment of the present invention.
  • Figure 3 is a schematic diagram of an omnidirectional wheel provided by an embodiment of the present invention.
  • Figure 4 is a schematic diagram of an omnidirectional wheel chassis provided by an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for controlling a movable platform according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a first preset manner or a second preset manner according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a body coordinate system provided by an embodiment of the present invention.
  • Figure 9 is a schematic diagram of another body coordinate system provided by an embodiment of the present invention.
  • FIG. 10 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention.
  • FIG. 11 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention.
  • FIG. 12 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention.
  • FIG. 13 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention.
  • FIG. 14 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention.
  • Fig. 15 is a structural diagram of a control device provided by an embodiment of the present invention.
  • 141 memory; 142: processor; 143: communication interface.
  • a component when a component is said to be “fixed to” another component, it can be directly on the other component or a central component may also exist. When a component is considered to be “connected” to another component, it can be directly connected to another component or there may be a centered component at the same time.
  • the embodiment of the present invention provides a method for controlling a movable platform.
  • the movable platform includes a power system for driving the movable platform to move, and the power system includes at least one motor controller, multiple motors, and multiple omnidirectional ones corresponding to the motors one-to-one Wheel, the at least one motor controller is used to control the rotation of a plurality of the motors, and the plurality of motors are respectively used to drive the corresponding omni wheel to rotate.
  • the movable platform described in this embodiment may specifically be a movable robot, a movable car, an unmanned vehicle, and the like.
  • the following is a schematic description using the mobile robot 11 shown in FIG. 1 as an example.
  • the mobile robot 11 can be controlled by a user terminal 12.
  • the user can send a control instruction to the mobile robot 11 through the user terminal 12, and the mobile robot 11 moves according to the control instruction.
  • This embodiment does not limit the product form of the user terminal 12, and the user terminal 12 may specifically be a smart phone, a tablet computer, a notebook computer, etc.
  • the movable robot 11 includes a power system for driving the movable robot 11 to move, and the movement of the movable robot 11 includes at least one of translation and rotation of the movable robot 11.
  • the power system includes at least one motor controller, multiple motors, and multiple omni wheels corresponding to the motors one-to-one.
  • the power system includes one motor controller, 4 motors. And 4 omnidirectional wheels.
  • the motor controller is connected to the 4 motors respectively, the motor controller is used to control the rotation of the 4 motors, the 4 motors correspond to the 4 omnidirectional wheels one-to-one, and each motor is used to drive and the motor The connected omni wheel rotates.
  • the power system may further include multiple motor controllers, for example, one motor is connected to one motor controller.
  • the number of motors and omnidirectional wheels is not limited to four, for example, it can be three, six, eight, etc.
  • the omnidirectional wheel may specifically be a Mecanum wheel or a Swedish wheel.
  • Figure 3 shows a schematic diagram of the Mecanum wheel. As shown in Figure 3, the Mecanum wheel includes a roller and a hub. , For mecanum wheels, the roller and the hub form an angle of 45 degrees. For the Swedish wheel, the roller and the hub form an angle of 90 degrees.
  • Figure 4 shows the omnidirectional wheel chassis based on Mecanum wheels.
  • This embodiment uses the Mecanum wheel as an example to introduce a method for controlling a movable platform.
  • the omnidirectional wheel of the movable platform is a Swedish wheel
  • the method for controlling the movable platform is the same as in the Mecanum wheel scenario.
  • the principle of the control method of the movable platform is similar.
  • Fig. 5 is a flowchart of a method for controlling a movable platform provided by an embodiment of the present invention. As shown in Figure 5, the method in this embodiment may include:
  • Step S501 Obtain a user instruction for controlling the movement of the movable platform.
  • the execution subject of the method in this embodiment may be a control device of a movable platform, and the movable platform may specifically be the movable robot 11 shown in FIG. 1.
  • the control device of the mobile robot 11 may specifically be a chassis master control as shown in FIG. 2.
  • the chassis master can be in communication with the motor controller, and the chassis master can acquire user instructions for controlling the movement of the movable platform.
  • the obtaining a user instruction for controlling the movable platform includes: receiving a user instruction for controlling the movement of the movable platform sent by a user terminal.
  • the chassis master can receive user instructions sent by the user terminal.
  • the user terminal and the chassis master can communicate directly or through other communication equipment or network elements, such as other communication equipment.
  • the network element forwards the user instruction sent by the user terminal to the main control of the chassis.
  • the user instruction may be a user instruction generated by the user through the user terminal for controlling the movement of the movable robot 11.
  • Step S502 According to the user instruction, determine a first control amount for controlling the movement of the movable platform at the current moment.
  • the chassis master control receives the user instruction and converts the user instruction into a control quantity for controlling the movement of the mobile robot 11.
  • the control quantity converted by the user instruction at the current time is recorded as It is the first control quantity.
  • the first control variable of the movable platform includes at least one of the following: a first velocity of the movable platform, and a first angular velocity of the movable platform.
  • the first control amount for controlling the movement of the movable robot 11 includes: at least one of the first speed of the movable robot 11 and the first angular speed of the movable robot 11.
  • the first speed of the movable robot 11 can be understood as the user's desired speed of the chassis at the current moment, and the desired speed is the speed at which the user expects the chassis to move at the current moment.
  • the first angular velocity of the mobile robot 11 can be understood as the desired angular velocity of the user to the chassis at the current moment, and the desired angular velocity is the angular velocity at which the user expects the chassis to rotate at the current moment.
  • the first control amount may only include the first speed. At this time, the chassis may only move in translation.
  • the first control amount may only include the first angular velocity, and at this time, the chassis may only rotate.
  • the first control variable may include both the first speed and the first angular speed. At this time, the chassis may perform translation and rotation at the same time.
  • Step S503 If the amount of change of the first control amount with respect to the second control amount used to control the movement of the movable platform at the historical moment is greater than a preset value, then according to the first control amount and the second control amount Determine the target control amount used to control the movement of the movable platform at the current moment.
  • the chassis master control also receives a user instruction at the historical time t0, and converts the user instruction at the historical time into a second control quantity for controlling the movement of the movable robot 11.
  • the second control variable of the movable platform includes at least one of the following: a second speed of the movable platform, and a second angular speed of the movable platform.
  • the second control amount for controlling the movement of the movable robot 11 includes at least one of the second speed of the movable robot 11 and the second angular speed of the movable robot 11.
  • the second speed of the mobile robot 11 can be understood as the user's desired speed of the chassis at a historical moment
  • the second angular speed of the mobile robot 11 can be understood as the user's desired angular speed of the chassis at the historical moment.
  • the chassis master control converts the user instruction at the current moment into the first control quantity for controlling the movement of the movable robot 11, the change amount of the first control quantity relative to the second control quantity is determined.
  • the chassis master control may use the difference between the first control quantity and the second control quantity as the change quantity of the first control quantity relative to the second control quantity.
  • the chassis master control can calculate the difference between the first control quantity and the second control quantity, and the time difference between the current time t1 and the historical time t0, and combine the first control quantity with The ratio of the difference between the second control quantities and the time difference is taken as the change quantity of the first control quantity with respect to the second control quantity.
  • the chassis main control determines whether the amount of change of the first control amount relative to the second control amount is greater than a preset value, and if the amount of change is greater than the preset value, according to the first control amount and the second control amount, The target control amount for controlling the movement of the movable robot 11 at the current moment is determined.
  • the target control amount of the movable platform includes at least one of the following: a target velocity of the movable platform, and a target angular velocity of the movable platform.
  • the determining the target control amount for controlling the movement of the movable platform at the current moment according to the first control amount and the second control amount includes: according to the first control amount and the The second control quantity determines the first acceleration and/or the first angular acceleration that the movable platform needs to achieve at the current moment; adjusts the first acceleration to obtain the second acceleration, and/or determines the first acceleration The acceleration is adjusted to obtain a second angular acceleration; according to the second acceleration and/or the second angular acceleration, a target control amount for controlling the movable platform at the current moment is determined.
  • the first velocity of the movable robot 11 is denoted as V t1
  • the first angular velocity of the movable robot 11 is denoted as ⁇ t1
  • the second velocity of the movable robot 11 is denoted as V t0
  • the second angular velocity of the movable robot 11 is denoted as ⁇ t0
  • the first acceleration that the mobile robot 11 needs to achieve at the current moment can be determined.
  • the first acceleration is denoted as Acc_ref, where, Among them, ⁇ t represents the time difference between the current time t1 and the historical time t0.
  • the first angular acceleration that the movable robot 11 needs to achieve at the current moment can be determined.
  • the angular acceleration is recorded as Beta_ref, where
  • the first acceleration Acc_ref is adjusted to obtain the second acceleration.
  • the second acceleration is recorded as Acc_ref_lim
  • the first angular acceleration Beta_ref is adjusted to obtain the second angular acceleration.
  • the second acceleration is obtained.
  • the angular acceleration is recorded as Beta_ref_lim.
  • the target control amount for controlling the movement of the movable robot 11 at the current moment is determined.
  • the adjusting the first angular acceleration to obtain the second angular acceleration includes: adjusting the first angular acceleration according to a second preset manner to obtain the second angular acceleration.
  • Beta_ref_lim slope2(Beta_ref), where slope2 represents the second preset mode.
  • the first preset manner or the second preset manner includes at least one of the following: a linear manner, an S-shaped manner, and a semi-S-shaped manner.
  • the linear mode may specifically be a linear mode as shown in FIG. 6.
  • the abscissa represents time and the ordinate represents acceleration.
  • the process of adjusting the first acceleration Acc_ref to obtain Acc_ref_lim according to the S-shaped manner or the semi-S-shaped manner shown in FIG. 6 is similar to this, and will not be repeated here.
  • the semi-S-shaped mode if the mobile robot 11 is increasing in speed, that is, when the first speed V t1 of the mobile robot 11 is greater than the second speed V t0 of the mobile robot 11, the semi-S-shaped mode is used Adjust the first acceleration Acc_ref to get Acc_ref_lim.
  • the mobile robot 11 is decelerating, that is, when the first speed V t1 of the mobile robot 11 is less than the second speed V t0 of the mobile robot 11, the upper half of the curve in the semi-S-shaped manner is used to compare the first acceleration Acc_ref Make adjustments to get Acc_ref_lim.
  • the linear method, the S-shaped method, or the semi-S-shaped method as shown in FIG. 6 the linear method, the S-shaped method, or the semi-S-shaped method as shown in FIG.
  • the ordinate represents angular acceleration.
  • the process of adjusting the first acceleration Acc_ref to obtain Acc_ref_lim in a semi-S-shaped manner is similar, and will not be repeated here.
  • the determining the target control quantity for controlling the movement of the movable platform at the current moment according to the second acceleration and/or the second angular acceleration includes: according to the second acceleration The acceleration and the second velocity determine the target velocity of the movable platform at the current moment; and/or determine the target angular velocity of the movable platform at the current moment according to the second angular acceleration and the second angular velocity.
  • the chassis master control determines the second acceleration Acc_ref_lim of the mobile robot 11 and/or the second angular acceleration Beta_ref_lim of the mobile robot 11 according to the above method, and according to the second acceleration Acc_ref_lim and/or the second angular acceleration Beta_ref_lim,
  • the target speed of the mobile robot 11 at the current moment t1 can be determined according to the second acceleration Acc_ref_lim and the second speed V t0 .
  • Step S504 Control the movement of the movable platform according to the target control amount.
  • the chassis master control determines the target velocity V of the movable robot 11 and the target angular velocity ⁇ of the movable robot 11, it can be based on the target velocity V of the movable robot 11 and the target velocity of the movable robot 11
  • the angular velocity ⁇ controls the movement of the movable robot 11.
  • the first control quantity for controlling the movement of the movable platform at the current moment is determined, if the first control quantity is relatively If the change of the second control variable used to control the movement of the movable platform at the historical moment is greater than the preset value, then according to the first control variable and the second control variable, it is determined that the current moment is used to control the movable platform
  • the target control amount of the movement of the mobile platform, and according to the target control amount, the movement of the movable platform is controlled, so as to prevent the user from requiring the movable platform to reach a higher speed in a short time, because the motor needs to be in a short time
  • the problem of slipping of the omnidirectional wheels of the movable platform with respect to the ground caused by a large rotation speed improves the stability of the movement of the movable platform.
  • Fig. 7 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention. As shown in Fig. 7, on the basis of the above-mentioned embodiment, when the motor controller corresponding to the motor runs in the speed loop mode, the controlling the movement of the movable platform according to the target control amount includes:
  • Step S701 According to the target speed of the movable platform and the target angular speed of the movable platform, the target rotation speed of each of the plurality of omnidirectional wheels is determined.
  • the coordinate system formed by the X axis and the Y axis can be the body coordinate system of the mobile robot 11 or the world coordinate system. If the coordinate system is the body coordinate system, the coordinate origin of the body coordinate system It may be the geometric center of the mobile robot 11. If the coordinate system is a world coordinate system, the coordinate origin of the world coordinate system can be a certain pre-fixed point. It can be understood that the body coordinate system will change as the position of the movable robot 11 changes. The world coordinate system does not change with the change of the position of the movable robot 11.
  • the body coordinate system of the movable robot 11 is taken as an example for schematic description. As shown in FIG. 8, V represents the target speed of the mobile robot 11.
  • the target speed V may have a component on the X axis of the body coordinate system and a component on the Y axis of the body coordinate system.
  • the component of the target velocity V on the X axis of the airframe coordinate system is denoted as V x
  • V y the component of the target velocity V on the Y axis of the airframe coordinate system
  • the target rotation speed of the motor 1 can be denoted as ⁇ 1
  • the target rotation speed of the motor 2 is denoted as ⁇ 2
  • the target rotation speed of the motor 3 is denoted as ⁇ 3
  • the target rotation speed of the motor 4 can be denoted as ⁇ 4 .
  • r represents the radius of the omnidirectional wheel.
  • ⁇ 1 represents the angle between the roller and the hub of the omnidirectional wheel 1
  • ⁇ 2 represents the angle between the roller and the hub of the omnidirectional wheel 2
  • ⁇ 3 represents the angle between the roller and the hub of the omnidirectional wheel 3
  • ⁇ 4 represents the omnidirectional wheel.
  • l 1 represents the distance between the kinematic center of the chassis and the center of the omnidirectional wheel 1
  • l 2 represents the distance between the kinematic center of the chassis and the center of the omni wheel 2
  • l 3 represents the distance between the kinematic center of the chassis and the center of the omnidirectional wheel 2.
  • the distance between the center of the wheel 3, l 4 represents the distance between the kinematic center of the chassis and the center of the omni wheel 4.
  • l 1 , l 2 , l 3 , and l 4 are the same. In some scenarios, it may be different.
  • XOY is the body coordinate system of the mobile robot 11
  • x'o'y' is the coordinate system of any omnidirectional wheel of the mobile robot 11
  • 71 represents any roller on the omnidirectional wheel
  • l ix represents the coordinate origin of the coordinate system of the omnidirectional wheel o'the coordinate on the X axis of the body coordinate system
  • l iy represents the coordinate origin of the omni wheel coordinate system o'on the Y axis of the body coordinate system coordinate.
  • the distance between the coordinate origin o'of the coordinate system of the omnidirectional wheel and the coordinate origin O of the body coordinate system may be the distance between the kinematic center of the chassis and the center of the omnidirectional wheel.
  • the distance between o'and O is l 1
  • the distance between o'and O is l 2 , l 3 and l 4 and so on.
  • ⁇ 1 , ⁇ 2 , ⁇ 3 , and ⁇ 4 are the same, and in some scenarios, they may be different.
  • the straight line passing through the coordinate origin o'of the coordinate system of the omnidirectional wheel and the coordinate origin O of the body coordinate system has an angle ⁇ i relative to the X axis of the body coordinate system.
  • ⁇ i ⁇ 1
  • ⁇ i ⁇ 2
  • ⁇ 3 and ⁇ 4 can be deduced by analogy.
  • ⁇ 1 , ⁇ 2 , ⁇ 3 , and ⁇ 4 are the same, and in some scenarios, they may be different.
  • Step S702 Control the movement of the movable platform according to the target rotation speed of each of the omnidirectional wheels.
  • the chassis master control determines the target speed of each of the four motors of the mobile robot 11, it further controls the rotation of the corresponding motor according to the target speed of each of the four motors to control the mobile robot 11
  • the robot 11 moves.
  • the controlling the movement of the movable platform according to the target rotation speed of each omnidirectional wheel includes: sending the target rotation speed of each omnidirectional wheel to the motor control corresponding to the omnidirectional wheel
  • the motor controller is used to drive the motor corresponding to the omni wheel to rotate according to the target speed.
  • the motor controller may specifically be an electronic speed governor. As shown in Figure 2, after the chassis master control determines the target speed of each of the four motors of the mobile robot 11, it can send the target speed of each of the four motors to the motor controller, and the The motor controller controls the rotation of the corresponding motor according to the target speed of each motor, so that the four motors rotate to the corresponding target speeds respectively.
  • each motor may be connected to a motor controller. After the chassis master determines the target speed of each of the four motors of the mobile robot 11, each of the four motors can be The target speed is sent to the motor controller connected to the corresponding motor, and the motor controller corresponding to each motor controls the rotation of the corresponding motor.
  • each of the plurality of omnidirectional wheels is determined
  • the target rotation speed of each of the omnidirectional wheels is controlled, and the movement of the movable platform is controlled according to the target rotation speed of each of the omnidirectional wheels, thereby realizing a method of controlling the movement of the movable platform according to the target control amount.
  • FIG. 10 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention.
  • the determination of the current moment is used to control the may be based on the second acceleration and/or the second angular acceleration
  • the target control amount of the movement of the mobile platform includes:
  • Step S901 Detect whether each of the plurality of omnidirectional wheels is slipping.
  • the first speed of the mobile robot 11 can be understood as the user's desired speed of the chassis at the current moment
  • the first angular speed of the mobile robot 11 can be understood as the user's desired angular speed of the chassis at the current moment.
  • each of the four omnidirectional wheels The first rotational speed of each omnidirectional wheel needs to be greater. If the user expects the 4 omnidirectional wheels to reach a larger rotation speed in a short time, it may cause at least one of the 4 omnidirectional wheels to slip.
  • the chassis master determines the target control value for controlling the movement of the movable robot 11 at the current moment according to the second acceleration Acc_ref_lim and/or the second angular acceleration Beta_ref_lim, the four omnidirectional wheels can be detected. Whether each omni-directional wheel in is slipping.
  • the detecting whether each of the plurality of omnidirectional wheels is slipping includes: according to the first torque and the first torque of each of the plurality of omnidirectional wheels The actual torque of each of the omnidirectional wheels, determining whether each of the plurality of omnidirectional wheels is slipping; wherein, the first torque is determined according to the first control amount .
  • the chassis master when it detects whether each of the 4 omnidirectional wheels is slipping, it can be based on the first torque of each of the 4 omnidirectional wheels and each omnidirectional wheel Determine whether each of the 4 omnidirectional wheels is slipping.
  • the first torque of each omnidirectional wheel is determined according to the first control variable as described above.
  • the first torque of omnidirectional wheel 1 is recorded as Tref1
  • the actual torque of omnidirectional wheel 1 is recorded as Treal1
  • the first torque of omnidirectional wheel 2 is recorded as Tref2
  • the first torque of omnidirectional wheel 2 is recorded as Tref2.
  • the actual torque is recorded as Treal2, the first torque of the omnidirectional wheel 3 is recorded as Tref3, the actual torque of the omnidirectional wheel 3 is recorded as Treal3, and the first torque of the omnidirectional wheel 4 is recorded as Tref4.
  • the actual torque of the wheel 4 is recorded as Treal4.
  • determine the Whether each of the omnidirectional wheels is slipping includes: determining the difference between the first torque and the actual torque of each of the omnidirectional wheels; if the difference is greater than the slip threshold, determining the total value corresponding to the difference Skid to the wheel.
  • the first torque and actual rotation of each omnidirectional wheel when determining whether each of the 4 omnidirectional wheels is slipping, the first torque and actual rotation of each omnidirectional wheel can be determined.
  • the difference between the first torque of the omnidirectional wheel 1 and the actual torque of the omnidirectional wheel 1 can be expressed as
  • the difference between the first torque of the omnidirectional wheel 3 and the actual torque of the omnidirectional wheel 3 can be expressed as
  • the slip threshold is recorded as threshold, among the 4 differences
  • the slip threshold corresponding to different omnidirectional wheels may be different.
  • Step S902 If at least one of the plurality of omnidirectional wheels slips, determine the degree of slippage of the at least one slipped omnidirectional wheel.
  • the chassis master determines that the omnidirectional wheel 3 and the omnidirectional wheel 4 are slipping, and the other omnidirectional wheels are not slipping, the degree of slippage of the omnidirectional wheel 3 and the omnidirectional wheel 4 can be further determined.
  • the determining the degree of slip of at least one of the slipped omnidirectional wheels includes: passing the first torque of at least one of the slipped omnidirectional wheels and the actual value of the at least one of the slipped omnidirectional wheels The torque difference is smoothed to obtain the slip degree of at least one of the slipped omnidirectional wheels.
  • the slip degree of the omnidirectional wheel 3 is denoted as Slip3
  • the slip degree of the omnidirectional wheel 4 is denoted as Slip4.
  • Slip3 filter(
  • Slip4 filter(
  • filter represents a smoothing function.
  • different omnidirectional wheels can correspond to different smoothing functions.
  • Step S903 Determine the third acceleration of the movable platform when the at least one slipping omnidirectional wheel is not slipping according to the second acceleration and the degree of slippage of the at least one slipping omnidirectional wheel.
  • the omnidirectional wheel 3 and the omnidirectional wheel 4 After determining the slip of the omnidirectional wheel 3 and the omnidirectional wheel 4, as well as the degree of slippage of the omnidirectional wheel 3 and the omnidirectional wheel 4, according to the second acceleration Acc_ref_lim, the omnidirectional wheel 3 and the omnidirectional wheel 4 The degree of slip is to determine the third acceleration of the movable robot 11 when the omnidirectional wheel 3 and the omnidirectional wheel 4 are not slipping.
  • the third acceleration of the movable robot 11 is recorded as Acc_ref_slip.
  • the third acceleration of the movable platform is determined when the at least one slipping omnidirectional wheel is not slipping according to the second acceleration and the degree of slippage of the at least one slipping omnidirectional wheel,
  • the method includes: determining the third acceleration of the movable platform according to the second acceleration and the largest degree of slippage of at least one of the slipping omnidirectional wheels.
  • the third acceleration of the movable robot 11 can be First determine the degree of slippage of the omnidirectional wheel 3 and the degree of slippage of the omnidirectional wheel 4, the largest degree of slippage.
  • Kp represents a parameter positively related to the sensitivity of the chassis control, and this parameter can be a set parameter or an adjustable parameter.
  • Step S904 Determine the third angular acceleration of the movable platform when the at least one slipping omnidirectional wheel is not slipping according to the second angular acceleration and the degree of slippage of at least one of the omnidirectional wheels.
  • the second angular acceleration Beta_ref_lim the omnidirectional wheel 3 and the omnidirectional wheel 4 can be Determine the third angular acceleration of the movable robot 11 when the omnidirectional wheel 3 and the omnidirectional wheel 4 are not slipping.
  • the third angular acceleration of the movable robot 11 is recorded as Beta_ref_slip.
  • the third angular acceleration of the movable platform is determined when the at least one slipping omnidirectional wheel is not slipping according to the second angular acceleration and the degree of slippage of the at least one slipping omnidirectional wheel , Including: determining, according to the second angular acceleration and the largest degree of slippage of the at least one slipping omnidirectional wheel, when at least one of the slipping omnidirectional wheels is not slipping, the first of the movable platform Triangle acceleration.
  • the functional relationship between Beta_ref_lim, Beta_ref_slip and Slip can be expressed as the following formula (2):
  • Beta_ref_slip Beta_ref_lim-Kp'*Slip (2)
  • Kp' represents a parameter positively related to the sensitivity of the chassis control, and the parameter can be a set parameter or an adjustable parameter.
  • Kp' and Kp can be the same or different.
  • only step S903 may be included, or only step S904 may be included. It can be understood that there may be no sequence between some steps described in this embodiment, for example, step S903 and step S904.
  • Step S905 According to the third acceleration and/or the third angular acceleration, determine a target control variable for controlling the movement of the movable platform at the current moment.
  • the target control amount for controlling the movement of the movable robot 11 can be determined according to Acc_ref_slip and/or Beta_ref_slip.
  • the determining the target control quantity for controlling the movement of the movable platform at the current moment according to the third acceleration and/or the third angular acceleration includes: according to the third acceleration and the second speed , Determine the target velocity of the movable platform at the current moment; and/or determine the target angular velocity of the movable platform at the current moment according to the third angular acceleration and the second angular velocity.
  • the chassis master control can determine the target speed of the mobile robot 11 at the current time t1 according to the third acceleration Acc_ref_slip and the second speed V t0 .
  • the target speed of the mobile robot 11 is denoted as V.
  • V Acc_ref_slip ⁇ t+V t0 .
  • the chassis master control determines the target velocity V of the movable robot 11 and the target angular velocity ⁇ of the movable robot 11, it can be based on the target velocity V of the movable robot 11 and the target velocity of the movable robot 11
  • the angular velocity ⁇ controls the movement of the movable robot 11.
  • the second acceleration is obtained by constraining the user's expected acceleration of the chassis at the current moment
  • the second angular acceleration is obtained by constraining the user's expected angular acceleration of the chassis at the current moment, and further detects A plurality of omnidirectional wheels slipping, and according to the second acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels, when at least one of the slipping omnidirectional wheels is not slipping,
  • the third acceleration of the movable platform, and/or, according to the second angular acceleration and the degree of slip of at least one of the omnidirectional wheels it is determined that when at least one of the slipping omnidirectional wheels does not slip, the movable
  • the third angular acceleration of the platform, and then according to the third acceleration and/or the third angular acceleration determine the target control quantity used to control the movement of the movable platform at the current moment, so that the target control quantity can not only avoid the movement of the movable platform
  • the power system reaches a relatively large speed in a
  • FIG. 11 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention. As shown in FIG. 11, on the basis of the foregoing embodiment, according to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels, Before determining whether each of the plurality of omnidirectional wheels is slipping, the method further includes:
  • Step S1001 Obtain the current of the motor corresponding to each of the plurality of omnidirectional wheels.
  • the chassis master control determines each of the 4 omnidirectional wheels based on the first torque of each of the 4 omnidirectional wheels and the actual torque of each omnidirectional wheel.
  • the chassis master control can collect the current of the motor corresponding to each of the four omnidirectional wheels through the motor controller.
  • the motor controller can adjust the motor current of each omnidirectional wheel. The current is fed back to the main control of the chassis through communication.
  • the current of motor 1 is denoted as Iq1
  • the current of motor 2 is denoted as Iq2
  • the current of motor 3 is denoted as Iq3
  • the current of motor 4 is denoted as Iq4.
  • Step S1002 according to the current of the motor corresponding to each omni wheel, determine the actual torque of each omni wheel.
  • the actual torque of each omnidirectional wheel is determined.
  • the actual torque Treal2 of the omnidirectional wheel 2 Kt*Iq2
  • the actual torque Treal3 of the omnidirectional wheel 3 Kt*Iq3
  • the actual torque Treal4 of the omnidirectional wheel 4 Kt*Iq4.
  • the method further includes: determining the first acceleration of each of the plurality of omnidirectional wheels according to the first acceleration and the first angular acceleration One torque.
  • the chassis master control determines each of the 4 omnidirectional wheels based on the first torque of each of the 4 omnidirectional wheels and the actual torque of each omnidirectional wheel.
  • the first torque of each of the four omnidirectional wheels can be determined according to the first acceleration Acc_ref and the first angular acceleration Beta_ref.
  • determining the first torque of each of the plurality of omnidirectional wheels according to the first acceleration and the first angular acceleration includes the following steps as shown in FIG. 12:
  • Step S1101 according to the first acceleration and the weight of the movable platform, determine the sum of the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel among the plurality of omnidirectional wheels.
  • the omnidirectional wheel 1 and the omnidirectional wheel 2 are located on the left side of the mobile robot 11
  • the omnidirectional wheel 3 and the omnidirectional wheel 4 are located on the right side of the mobile robot 11.
  • the omnidirectional wheel 1 and omnidirectional wheel 4 are recorded as the first diagonal wheel
  • omnidirectional wheel 2 and omnidirectional wheel 3 are recorded as the second diagonal wheel.
  • F*r m*a*r
  • F*r represents the mobile robot 11
  • Tref1+Tref4 can be recorded as the total torque Ta of the first diagonal wheel
  • Tref2+Tref3 can be recorded as the total torque Tb of the second diagonal wheel.
  • the sum of Ta and Tb can be expressed as Ta+Tb Is the following formula (3)
  • Step S1102 according to the first angular acceleration and the distance from the geometric center of the chassis of the movable platform to the omnidirectional wheel, determine the combined torque of the first diagonal wheel among the plurality of omnidirectional wheels The difference between the combined torque and the second diagonal wheel.
  • the geometric center of the chassis of the mobile robot 11 may specifically be the kinematic center of the chassis or the center of mass of the chassis as described above.
  • the geometric center of the chassis of the mobile robot 11 can be divided into four omnidirectional wheels.
  • the distances of the four omnidirectional wheels are the same, that is, l 1 , l 2 , l 3 , and l 4 are the same as described above.
  • the geometric center of the chassis of the mobile robot 11 is set to each of the four omnidirectional wheels.
  • the distance of the omni wheel is recorded as L.
  • the difference between the resultant torque Ta of the first diagonal wheel and the resultant torque Tb of the second diagonal wheel can be determined.
  • the difference Ta-Tb between Ta and Tb can be expressed as the following formula (4):
  • Ta-Tb J*Beta_ref/L (4)
  • J represents the moment of inertia, and J can be measured in advance.
  • Step S1103 according to the sum of the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel, and the combined torque of the first diagonal wheel and the second diagonal.
  • the difference between the combined torque of the wheels determines the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel.
  • the resultant torque Ta of the first diagonal wheel and the resultant torque Tb of the second diagonal wheel can be determined.
  • Step S1104 according to the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel, determine each of the plurality of omnidirectional wheels of the movable platform The first torque of the wheel.
  • the first torque of each of the four omnidirectional wheels can be determined.
  • the first torque of the omnidirectional wheel includes: determining, according to the first speed and the first angular velocity, the first rotational speed that each of the plurality of omnidirectional wheels needs to reach; The combined torque of the first diagonal wheel and the first rotational speed of each of the omnidirectional wheels included in the first diagonal wheel determine each of the omnidirectional wheels included in the first diagonal wheel The first torque; according to the combined torque of the second diagonal wheel and the first rotational speed of each of the omnidirectional wheels included in the second diagonal wheel, it is determined that the second diagonal wheel includes The first torque of each of the omnidirectional wheels.
  • the first speed of the mobile robot 11 is V t1
  • the first angular speed of the mobile robot 11 is ⁇ t1
  • the first speed may have a component on the X axis of the body coordinate system as described above
  • the first angular velocity ⁇ t1 is substituted into the kinematic equations described above, and it can be determined that the velocity of the movable robot 11 reaches the first velocity V t1 and the angular velocity of the movable robot 11 reaches the first angular velocity ⁇ t1 ,
  • the first rotation speed of the motor 1 may be denoted as ⁇ 1 ′
  • the first rotation speed of the motor 2 may be denoted as ⁇ 2 ′
  • the first rotation speed of the motor 3 may be denoted as ⁇ 3 ′
  • the first rotation of the motor 4 The shorthand is ⁇ 4 ′.
  • the speed of the motor is positively related to the torque of the motor.
  • each of the plurality of omnidirectional wheels by determining each of the plurality of omnidirectional wheels according to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels Before each of the omnidirectional wheels is slipping, determine the actual torque of each omnidirectional wheel or determine the first torque of each omnidirectional wheel, which improves the Detection accuracy.
  • FIG. 13 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention.
  • the determining the target control amount for controlling the movement of the movable platform at the current moment according to the first control amount and the second control amount may include :
  • Step S1201 detecting whether each of the plurality of omnidirectional wheels is slipping.
  • step S1201 The implementation manner and principle of step S1201 are consistent with the implementation manner and principle of step S901 described above, and will not be repeated here.
  • Step S1202 if at least one of the plurality of omnidirectional wheels slips, determine the degree of slippage of at least one of the slipped omnidirectional wheels.
  • step S1202 The implementation manner and principle of step S1202 are consistent with the implementation manner and principle of step S902 described above, and will not be repeated here.
  • Step S1203 According to the first control quantity and the second control quantity, determine the first acceleration and/or the first angular acceleration that the movable platform needs to achieve at the current moment.
  • the first control amount includes at least one of the first velocity V t1 of the movable robot 11 and the first angular velocity ⁇ t1 of the movable robot 11.
  • the second control amount includes at least one of the second velocity V t0 of the movable robot 11 and the second angular velocity ⁇ t0 of the movable robot 11.
  • the first acceleration Acc_ref that the mobile robot 11 needs to achieve at the current moment can be determined, and/or, according to the mobile robot 11
  • the first angular velocity ⁇ t1 of the mobile robot 11 and the second angular velocity ⁇ t0 of the mobile robot 11 can determine the first angular acceleration Beta_ref that the mobile robot 11 needs to achieve at the current moment.
  • step S1203 may be performed first, and then step S1201 and step S1202 are performed.
  • Step S1204 Determine a target control amount for controlling the movement of the movable platform at the current moment according to the degree of slip of at least one of the slipping omnidirectional wheels, the first acceleration and/or the first angular acceleration.
  • the chassis master determines that the omnidirectional wheel 3 and the omnidirectional wheel 4 of the 4 omnidirectional wheels are slipping, and that the degree of slippage of the omnidirectional wheel 3 is Slip3 and the degree of slippage of the omnidirectional wheel 4 is Slip4.
  • the chassis master control can determine the control of the movement of the movable robot 11 according to the slip degree Slip3 of the omnidirectional wheel 3, the slip degree Slip4 of the omnidirectional wheel 4, the first acceleration Acc_ref and/or the first angular acceleration Beta_ref. Target control amount.
  • the target control for controlling the movement of the movable platform at the current moment is determined according to the degree of slip of at least one of the slipping omnidirectional wheels, the first acceleration and/or the first angular acceleration
  • the quantity includes: determining the fourth acceleration of the movable platform when at least one of the slipping omnidirectional wheels is not slipping according to the first acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels; and/ Or according to the first angular acceleration and the degree of slip of at least one of the slipping omnidirectional wheels, the fourth angular acceleration of the movable platform is determined when at least one of the slipping omnidirectional wheels is not slipping; according to the The fourth acceleration and/or the fourth angular acceleration determine the target control variable used to control the movement of the movable platform at the current moment.
  • the first acceleration Acc_ref, the omnidirectional wheel 3 and the omnidirectional wheel 4 and the omnidirectional wheel 4 determines the fourth acceleration of the mobile robot 11 when the omnidirectional wheel 3 and the omnidirectional wheel 4 do not slip.
  • the fourth acceleration of the mobile robot 11 is recorded as Acc_ref_slip'.
  • Beta_ref the degree of slippage of the omnidirectional wheel 3 and the omnidirectional wheel 4
  • the fourth corner of the movable robot 11 Acceleration here, the fourth angular acceleration of the mobile robot 11 is recorded as Beta_ref_slip'.
  • the target control amount for controlling the movement of the movable robot 11 is determined according to Acc_ref_slip' and/or Beta_ref_slip'.
  • the fourth acceleration of the movable platform is determined when the at least one slipping omnidirectional wheel is not slipping according to the first acceleration and the degree of slippage of the at least one slipping omnidirectional wheel,
  • the method includes: determining the fourth acceleration of the movable platform according to the first acceleration and the largest degree of slippage among the degree of slippage of at least one of the slipping omnidirectional wheels.
  • the fourth acceleration Acc_ref_slip' of the movable robot 11 is , First determine the slip degree of the omnidirectional wheel 3 and the slip degree of the omnidirectional wheel 4, the largest slip degree Slip. Further, when it is determined that the omnidirectional wheel 3 and the omnidirectional wheel 4 are not slipping according to the above-mentioned first acceleration Acc_ref and Slip, the fourth acceleration Acc_ref_slip′ of the mobile robot 11 is shown in the following formula (5):
  • Acc_ref_slip′ Acc_ref-Kp*Slip (5)
  • the fourth corner of the movable platform The acceleration includes: determining the fourth angular acceleration of the movable platform according to the first angular acceleration and the largest degree of slippage among the degree of slippage of at least one of the slipping omnidirectional wheels.
  • the fourth angular acceleration Beta_ref_slip of the movable robot 11 is determined when the omnidirectional wheel 3 and the omnidirectional wheel 4 are not slipping according to the first angular acceleration Beta_ref, the degree of slippage of the omnidirectional wheel 3 and the omnidirectional wheel 4 as described above ′, first determine the degree of slippage of the omnidirectional wheel 3 and the degree of slippage of the omnidirectional wheel 4, which is the largest one, Slip, and further, determine the omnidirectional wheel 3 and the omnidirectional wheel according to the first angular acceleration Beta_ref and Slip as described above.
  • the fourth angular acceleration Beta_ref_slip′ of the mobile robot 11 is shown in the following formula (6):
  • Beta_ref_slip' Beta_ref-Kp'*Slip (6)
  • the determining the target control quantity for controlling the movement of the movable platform at the current moment according to the fourth acceleration and/or the fourth angular acceleration includes: according to the fourth acceleration and the The second velocity determines the target velocity of the movable platform at the current moment; and/or determines the target angular velocity of the movable platform at the current moment according to the fourth angular acceleration and the second angular velocity.
  • the chassis master control determines the target velocity V of the movable robot 11 and the target angular velocity ⁇ of the movable robot 11, it can be based on the target velocity V of the movable robot 11 and the target velocity of the movable robot 11
  • the angular velocity ⁇ controls the movement of the movable robot 11.
  • the fourth acceleration of the movable platform, and/or, according to the first angular acceleration and the degree of slippage of at least one of the omnidirectional wheels determine when at least one of the omnidirectional wheels is not slipping .
  • the fourth angular acceleration of the movable platform, according to the fourth acceleration and/or the fourth angular acceleration determine the target control amount used to control the movement of the movable platform at the current moment, so that the target control amount can prevent The movable platform slips, thereby improving the accuracy of determining the target control amount.
  • FIG. 14 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention.
  • the control of the movement of the movable platform according to the target control amount includes :
  • Step S1301 according to the target speed of the movable platform and the target angular speed of the movable platform, determine the target torque of each of the plurality of omnidirectional wheels.
  • the target torque of each of the four omnidirectional wheels is determined.
  • Ttarget1 the target torque of the omnidirectional wheel 1
  • Ttarget2 the target torque of the omnidirectional wheel 2
  • Ttarget3 the target torque of the omnidirectional wheel 3
  • Ttarget4 the target torque of the omnidirectional wheel 4
  • the determining the target torque of each of the plurality of omnidirectional wheels according to the target speed of the movable platform and the target angular velocity of the movable platform includes: Determining the target acceleration corresponding to the target speed and the weight of the movable platform, determining the sum of the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel among the plurality of omnidirectional wheels; According to the target angular acceleration corresponding to the target angular velocity and the distance from the geometric center of the chassis of the movable platform to the omnidirectional wheel, the target co-rotation of the first diagonal wheel among the plurality of omnidirectional wheels is determined The difference between the moment and the target total torque of the second diagonal wheel; according to the sum of the target total torque of the first diagonal wheel and the target total torque of the second diagonal wheel, and The difference between the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel determines the target combined torque of the first diagonal wheel and the second diagonal wheel The target combined torque; according to the target combined torque
  • the omnidirectional wheel 1 and the omnidirectional wheel 4 are the first diagonal wheels
  • the omnidirectional wheel 2 and the omnidirectional wheel 3 are the second diagonal wheels.
  • F*r represents the sum of the target torque of each of the four omnidirectional wheels
  • the target acceleration corresponding to the target speed V is recorded as Acc_ref_target
  • Ttarget1+Ttarget4 can be recorded as the target total torque Ta' of the first diagonal wheel
  • Ttarget2+Ttarget3 can be recorded as the sum of the target total torque Tb', Ta' and Tb' of the second diagonal wheel Ta′+Tb′ can be expressed as the following formula (7)
  • Ta′+Tb′ m*Acc_ref_target*r (7)
  • the target angular acceleration corresponding to the target angular velocity ⁇ of the mobile robot 11 is recorded as Further, the difference between the target total torque Ta' of the first diagonal wheel and the target total torque Tb' of the second diagonal wheel can be determined according to Beta_ref_target and L.
  • the difference Ta'-Tb' between Ta' and Tb' can be expressed as the following formula (8):
  • Ta′-Tb′ J*Beta_ref_target/L (8)
  • the target resultant torque Ta' of the first diagonal wheel and the target resultant torque Tb' of the second diagonal wheel can be determined. Further, according to the target total torque Ta' of the first diagonal wheel and the target total torque Tb' of the second diagonal wheel, the target torque of each of the four omnidirectional wheels can be determined.
  • said determining each of the plurality of omnidirectional wheels according to the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel includes: determining, according to the target speed and the target angular velocity, the target speed that each of the plurality of omnidirectional wheels needs to reach; and according to the target of the first diagonal wheel Determine the target torque of each of the omnidirectional wheels included in the first diagonal wheel and the target rotational speed of each of the omnidirectional wheels included in the first diagonal wheel; The target combined torque of the second diagonal wheel and the target rotational speed of each of the omnidirectional wheels included in the second diagonal wheel are determined to determine the Target torque.
  • the target speed V of the mobile robot 11 and the target angular speed ⁇ of the mobile robot 11 determine the target speed that each of the four motors of the chassis of the mobile robot 11 needs to reach.
  • Ttarget1+Ttarget4 the target total torque Ta′ of the first diagonal wheel
  • Ttarget1 and Ttarget4 can be determined.
  • the ratio of the target rotation speed ⁇ 2 of the motor 2 and the target rotation speed ⁇ 3 of the motor 3 and the target total torque Tb′ of the second diagonal wheel namely Ttarget2+Ttarget3, Ttarget2 and Ttarget3 can be determined.
  • Step S1302 according to the target torque of each omni wheel, control the movement of the movable platform.
  • the chassis After the main control of the chassis determines the target torque of each of the 4 omnidirectional wheels, it controls the movement of the movable robot according to the target torque of each omnidirectional wheel.
  • the controlling the movement of the movable platform according to the target torque of each omnidirectional wheel includes: sending the target torque of each omnidirectional wheel to the corresponding omnidirectional wheel A motor controller, which is used to drive the motor corresponding to the omni wheel to rotate according to the target torque.
  • the chassis main control sends the target torque of each of the four motors to the motor controller, and the motor controller drives the omnidirectional wheel according to the target torque of each omnidirectional wheel.
  • the motor corresponding to the direction wheel rotates so that the 4 motors rotate to the corresponding target torques respectively.
  • each motor may be connected to a motor controller, and after the chassis master control determines the target torque of each of the four omnidirectional wheels of the mobile robot 11, the four The target torque of each omnidirectional wheel in the omnidirectional wheel is sent to the motor controller connected to the motor of the omnidirectional wheel, and the motor controller corresponding to each motor controls the rotation of the corresponding motor.
  • each of the plurality of omnidirectional wheels is determined according to the target speed of the movable platform and the target angular speed of the movable platform
  • the target torque of the omnidirectional wheel is used to control the movement of the movable platform according to the target torque of each omnidirectional wheel, which increases the flexibility of controlling the movement of the movable platform.
  • the embodiment of the present invention provides a control device of a movable platform.
  • the movable platform includes a power system for driving the movable platform to move, and the power system includes at least one motor controller, multiple motors, and multiple omnidirectional ones corresponding to the motors one-to-one Wheel, the at least one motor controller is used to control the rotation of a plurality of the motors, and the plurality of motors are respectively used to drive the corresponding omni wheel to rotate.
  • FIG. 15 is a structural diagram of a control device provided by an embodiment of the present invention. As shown in FIG. 15, the control device 140 includes a memory 141 and a processor 142.
  • the memory is used to store program code; the processor 142 calls the program code, and when the program code is executed, it is used to perform the following operations: obtain user instructions for controlling the movement of the movable platform; The user instruction determines the first control quantity used to control the movement of the movable platform at the current moment; if the first control quantity changes relative to the second control quantity used to control the movement of the movable platform at the historical moment Is greater than the preset value, then according to the first control quantity and the second control quantity, determine the target control quantity for controlling the movement of the movable platform at the current moment; according to the target control quantity, control the movable Platform movement.
  • the first control quantity of the movable platform includes at least one of the following: a first speed of the movable platform, a first angular velocity of the movable platform; and a second control quantity of the movable platform It includes at least one of the following: the second speed of the movable platform, the second angular velocity of the movable platform; the target control variable of the movable platform includes at least one of the following: the target speed of the movable platform, The target angular velocity of the movable platform.
  • the processor 142 determines the target control value for controlling the movement of the movable platform at the current moment according to the first control value and the second control value, it is specifically configured to: according to the first control value The first acceleration and/or the first angular acceleration that the movable platform needs to achieve at the current moment are determined; the first acceleration is adjusted to obtain the second acceleration, and/or the The first angular acceleration is adjusted to obtain a second angular acceleration; according to the second acceleration and/or the second angular acceleration, a target control amount for controlling the movable platform at the current moment is determined.
  • the processor 142 when the processor 142 adjusts the first acceleration to obtain the second acceleration, it is specifically configured to: adjust the first acceleration according to a first preset manner to obtain the second acceleration.
  • the processor 142 when the processor 142 adjusts the first angular acceleration to obtain the second angular acceleration, it is specifically configured to: adjust the first angular acceleration according to a second preset manner to obtain the second angular acceleration.
  • the first preset manner or the second preset manner includes at least one of the following: a linear manner, an S-shaped manner, and a semi-S-shaped manner.
  • the processor 142 determines the target control value for controlling the movement of the movable platform at the current moment according to the second acceleration and/or the second angular acceleration, it is specifically configured to: according to the second acceleration The acceleration and the second velocity determine the target velocity of the movable platform at the current moment; and/or determine the target angular velocity of the movable platform at the current moment according to the second angular acceleration and the second angular velocity.
  • the processor 142 determines the target control variable for controlling the movement of the movable platform at the current moment according to the second acceleration and/or the second angular acceleration, it is specifically configured to: detect a plurality of the Whether each of the omnidirectional wheels is slipping; if at least one of the omnidirectional wheels among the plurality of omnidirectional wheels is slipping, determine the degree of slippage of at least one of the omnidirectional wheels; The second acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels determine the third acceleration of the movable platform when at least one of the slipping omnidirectional wheels is not slipping, and/or, according to the second The angular acceleration and the slip degree of at least one of the omnidirectional wheels determine the third angular acceleration of the movable platform when at least one of the omnidirectional wheels does not slip; according to the third acceleration and/or the third angular acceleration , Determine the target control quantity used to control the movement of the movable platform at the current moment.
  • the processor 142 determines the target control variable for controlling the movement of the movable platform at the current moment according to the third acceleration and/or the third angular acceleration, it is specifically configured to:
  • the second velocity determines the target velocity of the movable platform at the current moment; and/or determines the target angular velocity of the movable platform at the current moment according to the third angular acceleration and the second angular velocity.
  • the processor 142 determines the third acceleration of the movable platform when the at least one slipping omnidirectional wheel is not slipping according to the second acceleration and the degree of slippage of the at least one slipping omnidirectional wheel When, it is specifically used to determine the third acceleration of the movable platform according to the second acceleration and the largest degree of slippage among the degree of slippage of at least one of the slipping omnidirectional wheels.
  • the processor 142 determines, according to the second angular acceleration and the degree of slip of at least one of the slipping omnidirectional wheels, that when at least one of the slipping omnidirectional wheels does not slip, the third angle of the movable platform During acceleration, it is specifically used to: determine that at least one of the slipping omnidirectional wheels is not slipping according to the second angular acceleration and the maximum degree of slippage of at least one of the slipping omnidirectional wheels. The third angular acceleration of the mobile platform.
  • the processor 142 determines the target control value for controlling the movement of the movable platform at the current moment according to the first control value and the second control value, it is specifically configured to: Whether each of the omnidirectional wheels in the omnidirectional wheels is slipping; if at least one of the omnidirectional wheels among the plurality of omnidirectional wheels is slipping, determine the degree of slippage of at least one of the omnidirectional wheels; The first control quantity and the second control quantity determine the first acceleration and/or the first angular acceleration that the movable platform needs to achieve at the current moment; according to the degree of slippage and the result of at least one of the slipping omnidirectional wheels The first acceleration and/or the first angular acceleration determine a target control variable used to control the movement of the movable platform at the current moment.
  • the processor 142 determines a target for controlling the movement of the movable platform at the current moment according to the degree of slippage of at least one of the slipping omnidirectional wheels, the first acceleration and/or the first angular acceleration
  • controlling the amount it is specifically used to: according to the first acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels, it is determined that when at least one of the slipping omnidirectional wheels is not slipping, the fourth of the movable platform Acceleration; and/or determining the fourth angular acceleration of the movable platform when at least one of the slipping omnidirectional wheels is not slipping according to the first angular acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels ; According to the fourth acceleration and/or the fourth angular acceleration, determine the target control amount used to control the movement of the movable platform at the current moment.
  • the processor 142 determines the target control value for controlling the movement of the movable platform at the current moment according to the fourth acceleration and/or the fourth angular acceleration, it is specifically configured to: The acceleration and the second velocity determine the target velocity of the movable platform at the current moment; and/or determine the target angular velocity of the movable platform at the current moment according to the fourth angular acceleration and the second angular velocity.
  • the processor 142 determines the fourth acceleration of the movable platform when the at least one slipping omnidirectional wheel is not slipping according to the first acceleration and the degree of slippage of the at least one slipping omnidirectional wheel When, it is specifically used to determine the fourth acceleration of the movable platform according to the first acceleration and the largest degree of slippage among the degree of slippage of at least one of the slipping omnidirectional wheels.
  • the processor 142 determines, according to the first angular acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels, that when at least one of the slipping omnidirectional wheels does not slip, the fourth of the movable platform In the case of angular acceleration, it is specifically used to determine the fourth angular acceleration of the movable platform according to the first angular acceleration and the largest degree of slippage of the at least one slipping omnidirectional wheel.
  • the processor 142 detects whether each of the plurality of omnidirectional wheels is slipping, it is specifically configured to: according to the first position of each of the plurality of omnidirectional wheels A torque and the actual torque of each of the omnidirectional wheels are used to determine whether each of the plurality of omnidirectional wheels is slipping; wherein, the first torque is based on the first The control amount is determined.
  • the processor 142 determines among the plurality of omnidirectional wheels according to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels When each of the omnidirectional wheels is slipping, it is specifically used to: determine the difference between the first torque and the actual torque of each omnidirectional wheel; if the difference is greater than the slip threshold, determine the difference The value corresponds to the omni wheel slip.
  • the processor 142 determines the degree of slip of at least one of the slipping omnidirectional wheels, it is specifically configured to: pass the first torque of at least one of the slipping omnidirectional wheels and at least one of the slipping omnidirectional wheels. Smoothing is performed on the difference between the actual torques of the direction wheels to obtain the slip degree of at least one of the slipping omnidirectional wheels.
  • the processor 142 determines among the plurality of omnidirectional wheels according to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels Before each of the omnidirectional wheels is slipping, it is also used to: obtain the current of the motor corresponding to each of the omnidirectional wheels among the plurality of omnidirectional wheels; The current determines the actual torque of each of the omnidirectional wheels.
  • the processor 142 determines among the plurality of omnidirectional wheels according to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels Before each of the omnidirectional wheels slips, it is also used to: determine the first rotation of each of the plurality of omnidirectional wheels according to the first acceleration and the first angular acceleration Moment.
  • the processor 142 determines the first torque of each of the plurality of omnidirectional wheels according to the first acceleration and the first angular acceleration, it is specifically configured to: The first acceleration and the weight of the movable platform determine the sum of the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel among the plurality of omnidirectional wheels; according to the first The angular acceleration and the distance from the geometric center of the chassis of the movable platform to the omnidirectional wheel determine the combined torque of the first diagonal wheel and the second diagonal wheel among the plurality of omnidirectional wheels According to the sum of the total torque of the first diagonal wheel and the total torque of the second diagonal wheel, and the total torque of the first diagonal wheel and the total torque The difference between the combined torque of the second diagonal wheel, the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel; according to the combined torque of the first diagonal wheel The torque and the resultant torque of the second diagonal wheel determine the first torque of each of the plurality of omnidirectional wheels of the movable platform.
  • the processor 142 determines each of the plurality of omnidirectional wheels of the movable platform according to the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel.
  • the first torque of the omnidirectional wheel is specifically used to determine the first torque that each of the omnidirectional wheels needs to reach according to the first speed and the first angular velocity.
  • Rotation speed according to the combined torque of the first diagonal wheel and the first rotation speed of each of the omnidirectional wheels included in the first diagonal wheel, determine each of the first diagonal wheels included
  • the first torque of the omnidirectional wheel determine the second torque according to the combined torque of the second diagonal wheel and the first rotational speed of each of the omnidirectional wheels included in the second diagonal wheel
  • the diagonal wheel includes the first torque of each of the omnidirectional wheels.
  • the processor 142 controls the movement of the movable platform according to the target control amount, and is specifically configured to: according to the movable platform
  • the target speed of the movable platform and the target angular speed of the movable platform are determined to determine the target speed of each of the plurality of omnidirectional wheels; according to the target speed of each of the omnidirectional wheels, the movable Platform movement.
  • the processor 142 controls the movement of the movable platform according to the target rotation speed of each omnidirectional wheel, it is specifically configured to: send the target rotation speed of each omnidirectional wheel to the omnidirectional wheel
  • the corresponding motor controller is configured to drive the motor corresponding to the omni wheel to rotate according to the target speed.
  • the processor 142 controls the movement of the movable platform according to the target control amount, which is specifically configured to: The target speed of the platform and the target angular speed of the movable platform determine the target torque of each of the plurality of omnidirectional wheels; according to the target torque of each of the omnidirectional wheels, the The movement of the movable platform.
  • the processor 142 determines the target torque of each of the plurality of omnidirectional wheels according to the target speed of the movable platform and the target angular velocity of the movable platform, it specifically uses Yu: Determine the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel among the plurality of omnidirectional wheels according to the target acceleration corresponding to the target speed and the weight of the movable platform According to the target angular acceleration corresponding to the target angular velocity and the distance from the geometric center of the chassis of the movable platform to the omnidirectional wheel, determine the first diagonal wheel of the plurality of omnidirectional wheels The difference between the target combined torque and the target combined torque of the second diagonal wheel; according to the sum of the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel Value, and the difference between the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel to determine the target combined torque of the first diagonal wheel and the first The target combined torque of the two diagonal wheels; according to the target combined torque of
  • the processor 142 determines each of the plurality of omnidirectional wheels according to the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel.
  • the target torque of the wheel is specifically used to: determine the target rotational speed that each of the multiple omnidirectional wheels needs to reach according to the target speed and the target angular velocity; according to the first pair The target combined torque of the corner wheels and the target rotational speed of each of the omnidirectional wheels included in the first diagonal wheel, determine the target torque of each of the omnidirectional wheels included in the first diagonal wheel According to the target torque of the second diagonal wheel and the target speed of each of the omnidirectional wheels included in the second diagonal wheel, determine each of the second diagonal wheels included The target torque of the omnidirectional wheel.
  • the processor 142 controls the movement of the movable platform according to the target torque of each omnidirectional wheel, it is specifically configured to: send the target torque of each omnidirectional wheel to the omnidirectional wheel.
  • a motor controller corresponding to the direction wheel the motor controller being used for driving the motor corresponding to the omnidirectional wheel to rotate according to the target torque.
  • control device further includes: a communication interface 143; when the processor 142 obtains a user instruction for controlling the movable platform, it is specifically configured to: receive through the communication interface 143 a user terminal for controlling the User instructions for movement of the movable platform.
  • control device provided in the embodiment of the present invention are similar to those in the foregoing embodiment, and are not repeated here.
  • the first control quantity for controlling the movement of the movable platform at the current moment is determined, if the first control quantity is relatively If the change of the second control variable used to control the movement of the movable platform at the historical moment is greater than the preset value, then according to the first control variable and the second control variable, it is determined that the current moment is used to control the movable platform
  • the target control amount of the movement of the mobile platform, and according to the target control amount, the movement of the movable platform is controlled, so as to prevent the user from requiring the movable platform to reach a higher speed in a short time, because the motor needs to be in a short time
  • the problem of slipping of the omnidirectional wheels of the movable platform with respect to the ground caused by a large rotation speed improves the stability of the movement of the movable platform.
  • this embodiment also provides a movable platform.
  • the movable platform includes: a fuselage, a power system, and the control device described in the foregoing embodiment.
  • a power system is installed on the body for driving the movable platform to move, and the power system includes at least one motor controller, multiple motors, and multiple omnidirectional wheels corresponding to the motors one-to-one
  • the at least one motor controller is used to control the rotation of a plurality of the motors, and the plurality of motors are respectively used to drive the rotation of the corresponding omni wheel;
  • the control device can execute the technical solutions of the above method embodiments, and the implementation principles and The technical effects are similar, so I won't repeat them here.
  • the movable platform includes at least one of the following: a movable robot, a movable car, and an unmanned vehicle.
  • this embodiment also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the control method of the movable platform described in the foregoing embodiment.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
  • the above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium.
  • the above-mentioned software functional unit is stored in a storage medium and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute the method described in the various embodiments of the present invention. Part of the steps.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Abstract

A control method and apparatus for a movable platform, a device, and a storage medium. A user instruction for controlling the movement of a movable platform is obtained (S501); a first control amount for controlling the movement of the movable platform at the current time point is determined according to the user instruction (S502); if the change amount of the first control amount with respect to a second control amount for controlling the movement of the movable platform at a historical time point is greater than a preset value, a target control amount for controlling the movement of the movable platform at the current time point is determined according to the first control amount and the second control amount (S503); and the movement of the movable platform is controlled according to the target control amount (S504). Therefore, the problem that omni wheels of the movable platform slip with respect to the ground resulting from a motor needing to reach a great rotational speed in a short time period when a user requires the movable platform to reach a great speed in the short time period is avoided, and the stability of the movement of the movable platform is improved.

Description

可移动平台的控制方法、装置、设备及存储介质Control method, device, equipment and storage medium of movable platform 技术领域Technical field
本发明实施例涉及运动学控制领域,尤其涉及一种可移动平台的控制方法、装置、设备及存储介质。The embodiment of the present invention relates to the field of kinematics control, and in particular to a control method, device, equipment and storage medium of a movable platform.
背景技术Background technique
现有技术中可移动平台,例如,可移动机器人、无人机、可移动小车、无人驾驶车辆等,可以由用户设备进行控制。具体的,用户通过该用户设备向该可移动平台发送控制指令,该可移动平台中的控制器根据该控制指令控制该可移动平台移动。In the prior art, mobile platforms, for example, mobile robots, drones, mobile vehicles, unmanned vehicles, etc., can be controlled by user equipment. Specifically, the user sends a control instruction to the movable platform through the user equipment, and the controller in the movable platform controls the movable platform to move according to the control instruction.
具体的,该可移动平台的控制器可根据该用户设备发送的控制指令,确定用于控制该可移动平台的控制量,进一步,根据该控制量确定该可移动平台的全向轮的目标转速,并根据该目标转速控制全向轮对应的电机转动,使得该可移动平台达到用户要求的运动状态。Specifically, the controller of the movable platform may determine the control quantity for controlling the movable platform according to the control instruction sent by the user equipment, and further, determine the target rotation speed of the omnidirectional wheel of the movable platform according to the control quantity , And control the rotation of the motor corresponding to the omnidirectional wheel according to the target rotation speed, so that the movable platform reaches the motion state required by the user.
但是,如果用户在短时间内要求该可移动平台达到较大的速度,则需要电机在短时间内达到较大的转速,如此可能导致该可移动平台的全向轮相对于地面出现打滑的现象,导致该可移动平台的运动状态不稳定。However, if the user requires the movable platform to reach a higher speed in a short time, the motor needs to reach a higher speed in a short time, which may cause the omnidirectional wheels of the movable platform to slip relative to the ground. , Resulting in unstable movement of the movable platform.
发明内容Summary of the invention
本发明实施例提供一种可移动平台的控制方法、装置、设备及存储介质,以避免用户在短时间内要求该可移动平台达到较大的速度时,由于电机需要在短时间内达到较大的转速而导致的该可移动平台的全向轮相对于地面打滑的问题,以提高可移动平台运动的稳定性。The embodiment of the present invention provides a control method, device, equipment, and storage medium for a movable platform, so as to prevent the user from requiring the movable platform to reach a higher speed in a short time, because the motor needs to reach a higher speed in a short time. The omni-directional wheel of the movable platform slips relative to the ground caused by the rotation speed of the movable platform, so as to improve the stability of the movement of the movable platform.
本发明实施例的第一方面是提供一种可移动平台的控制方法,所述可移动平台包括动力系统,所述动力系统用于驱动所述可移动平台运动,所述动力系统包括至少一个电机控制器、多个电机以及与所述电机一一对应的多个全向轮,所述至少一个电机控制器用于控制多个所述电机转动,多个所述电机分别用于驱动对应的全向轮转动,所述方法包括:The first aspect of the embodiments of the present invention is to provide a control method of a movable platform, the movable platform includes a power system, the power system is used to drive the movable platform to move, the power system includes at least one motor A controller, a plurality of motors, and a plurality of omnidirectional wheels corresponding to the motors one-to-one, the at least one motor controller is used to control the rotation of the plurality of motors, and the plurality of motors are respectively used to drive the corresponding omnidirectional wheels Wheel rotation, the method includes:
获取用于控制所述可移动平台运动的用户指令;Acquiring a user instruction for controlling the movement of the movable platform;
根据所述用户指令,确定当前时刻用于控制所述可移动平台运动的第一控制量;According to the user instruction, determine the first control quantity used to control the movement of the movable platform at the current moment;
如果所述第一控制量相对于历史时刻用于控制所述可移动平台运动的第二控制量的变化量大于预设值,则根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量;If the amount of change of the first control quantity with respect to the second control quantity used to control the movement of the movable platform at a historical moment is greater than a preset value, then determine according to the first control quantity and the second control quantity The target control quantity used to control the movement of the movable platform at the current moment;
根据所述目标控制量,控制所述可移动平台运动。The movement of the movable platform is controlled according to the target control amount.
本发明实施例的第二方面是提供一种可移动平台的控制设备,所述可移动平台包括动力系统,所述动力系统用于驱动所述可移动平台运动,所述动力系统包括至少一个电机控制器、多个电机以及与所述电机一一对应的多个全向轮,所述至少一个电机控制器用于控制多个所述电机转动,多个所述电机分别用于驱动对应的全向轮转动,所述控制设备包括:存储器和处理器;The second aspect of the embodiments of the present invention is to provide a control device for a movable platform, the movable platform includes a power system, the power system is used to drive the movable platform to move, the power system includes at least one motor A controller, a plurality of motors, and a plurality of omnidirectional wheels corresponding to the motors one-to-one, the at least one motor controller is used to control the rotation of the plurality of motors, and the plurality of motors are respectively used to drive the corresponding omnidirectional wheels When the wheel rotates, the control device includes: a memory and a processor;
所述存储器用于存储程序代码;The memory is used to store program codes;
所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor calls the program code, and when the program code is executed, is used to perform the following operations:
获取用于控制所述可移动平台运动的用户指令;Acquiring a user instruction for controlling the movement of the movable platform;
根据所述用户指令,确定当前时刻用于控制所述可移动平台运动的第一控制量;According to the user instruction, determine the first control quantity used to control the movement of the movable platform at the current moment;
如果所述第一控制量相对于历史时刻用于控制所述可移动平台运动的第二控制量的变化量大于预设值,则根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量;If the amount of change of the first control quantity with respect to the second control quantity used to control the movement of the movable platform at a historical moment is greater than a preset value, then determine according to the first control quantity and the second control quantity The target control quantity used to control the movement of the movable platform at the current moment;
根据所述目标控制量,控制所述可移动平台运动。The movement of the movable platform is controlled according to the target control amount.
本发明实施例的第三方面是提供一种可移动平台,包括:The third aspect of the embodiments of the present invention is to provide a movable platform, including:
机身;body;
动力系统,安装在所述机身,用于驱动所述可移动平台运动,所述动力系统包括至少一个电机控制器、多个电机以及与所述电机一一对应的多个全向轮,所述至少一个电机控制器用于控制多个所述电机转动,多个所述电机分别用于驱动对应的全向轮转动;The power system is installed on the body and used to drive the movable platform to move. The power system includes at least one motor controller, a plurality of motors, and a plurality of omnidirectional wheels corresponding to the motors one to one. The at least one motor controller is used to control the rotation of multiple motors, and the multiple motors are respectively used to drive the corresponding omni wheel to rotate;
以及第二方面所述的控制设备。And the control device described in the second aspect.
本发明实施例的第四方面是提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现第一方面所述的方法。The fourth aspect of the embodiments of the present invention is to provide a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the method described in the first aspect.
本实施例提供的可移动平台的控制方法、装置、设备及存储介质,通过获取用于控制所述可移动平台运动的用户指令,根据所述用户指令,确定当前时刻用于控制所述可移动平台运动的第一控制量,如果所述第一控制量相对于历史时刻用于控制所述可移动平台运动的第二控制量的变化量大于预设值,则根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量,并根据所述目标控制量,控制所述可移动平台运动,从而避免用户在短时间内要求该可移动平台达到较大的速度时,由于电机需要在短时间内达到较大的转速而导致的该可移动平台的全向轮相对于地面打滑的问题,提高了可移动平台运动的稳定性。The control method, device, equipment, and storage medium of the movable platform provided in this embodiment obtain a user instruction for controlling the movement of the movable platform, and according to the user instruction, it is determined that the current moment is used to control the movable platform. The first control amount of platform movement, if the change amount of the first control amount with respect to the second control amount used to control the movement of the movable platform at a historical moment is greater than a preset value, then according to the first control amount and The second control quantity determines the target control quantity used to control the movement of the movable platform at the current moment, and controls the movement of the movable platform according to the target control quantity, so as to prevent the user from requesting the movable platform in a short time. When the mobile platform reaches a high speed, the omnidirectional wheel of the movable platform slips relative to the ground due to the need for the motor to reach a high speed in a short time, which improves the stability of the movement of the movable platform.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present invention more clearly, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1为本发明实施例提供的一种应用场景的示意图;FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present invention;
图2为本发明实施例提供的一种动力系统的结构示意图;Figure 2 is a schematic structural diagram of a power system provided by an embodiment of the present invention;
图3为本发明实施例提供的一种全向轮的示意图;Figure 3 is a schematic diagram of an omnidirectional wheel provided by an embodiment of the present invention;
图4为本发明实施例提供的一种全向轮底盘的示意图;Figure 4 is a schematic diagram of an omnidirectional wheel chassis provided by an embodiment of the present invention;
图5为本发明实施例提供的可移动平台的控制方法的流程图;FIG. 5 is a flowchart of a method for controlling a movable platform according to an embodiment of the present invention;
图6为本发明实施例提供的一种第一预设方式或第二预设方式的示意图;FIG. 6 is a schematic diagram of a first preset manner or a second preset manner according to an embodiment of the present invention;
图7为本发明另一实施例提供的可移动平台的控制方法的流程图;FIG. 7 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention;
图8为本发明实施例提供的一种机体坐标系的示意图;FIG. 8 is a schematic diagram of a body coordinate system provided by an embodiment of the present invention;
图9为本发明实施例提供的另一种机体坐标系的示意图;Figure 9 is a schematic diagram of another body coordinate system provided by an embodiment of the present invention;
图10为本发明另一实施例提供的可移动平台的控制方法的流程图;FIG. 10 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention;
图11为本发明另一实施例提供的可移动平台的控制方法的流程图;11 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention;
图12为本发明另一实施例提供的可移动平台的控制方法的流程图;FIG. 12 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention;
图13为本发明另一实施例提供的可移动平台的控制方法的流程图;FIG. 13 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention;
图14为本发明另一实施例提供的可移动平台的控制方法的流程图;14 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention;
图15为本发明实施例提供的控制设备的结构图。Fig. 15 is a structural diagram of a control device provided by an embodiment of the present invention.
附图标记:Reference signs:
11:可移动机器人;      12:用户终端;      71:辊子;11: mobile robot; 12: user terminal; 71: roller;
140:控制设备;140: control equipment;
141:存储器;        142:处理器;       143:通讯接口。141: memory; 142: processor; 143: communication interface.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。It should be noted that when a component is said to be "fixed to" another component, it can be directly on the other component or a central component may also exist. When a component is considered to be "connected" to another component, it can be directly connected to another component or there may be a centered component at the same time.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the description of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The term "and/or" as used herein includes any and all combinations of one or more related listed items.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
本发明实施例提供一种可移动平台的控制方法。所述可移动平台包括动力系统,所述动力系统用于驱动所述可移动平台运动,所述动力系统包括至少一个电机控制器、多个电机以及与所述电机一一对应的多个全向轮,所述至少一个电机控制器用于控制多个所述电机转动,多个所述电机分别用于驱动对应的全向轮转动。The embodiment of the present invention provides a method for controlling a movable platform. The movable platform includes a power system for driving the movable platform to move, and the power system includes at least one motor controller, multiple motors, and multiple omnidirectional ones corresponding to the motors one-to-one Wheel, the at least one motor controller is used to control the rotation of a plurality of the motors, and the plurality of motors are respectively used to drive the corresponding omni wheel to rotate.
本实施例所述的可移动平台具体可以是可移动机器人、可移动小车、无人驾驶车辆等。下面以如图1所示的可移动机器人11为例进行示意性 说明。如图1所示,该可移动机器人11可以由用户终端12进行控制。例如,用户可通过用户终端12向可移动机器人11发送控制指令,可移动机器人11根据该控制指令进行移动。本实施例并不限定用户终端12的产品形态,该用户终端12具体可以是智能手机、平板电脑、笔记本电脑等。The movable platform described in this embodiment may specifically be a movable robot, a movable car, an unmanned vehicle, and the like. The following is a schematic description using the mobile robot 11 shown in FIG. 1 as an example. As shown in FIG. 1, the mobile robot 11 can be controlled by a user terminal 12. For example, the user can send a control instruction to the mobile robot 11 through the user terminal 12, and the mobile robot 11 moves according to the control instruction. This embodiment does not limit the product form of the user terminal 12, and the user terminal 12 may specifically be a smart phone, a tablet computer, a notebook computer, etc.
可移动机器人11包括动力系统,该动力系统用于驱动可移动机器人11运动,可移动机器人11运动包括可移动机器人11平移和转动中的至少一种。具体的,该动力系统包括至少一个电机控制器、多个电机以及与所述电机一一对应的多个全向轮,如图2所示,假设该动力系统包括一个电机控制器、4个电机和4个全向轮。其中,该电机控制器与该4个电机分别连接,该电机控制器用于控制该4个电机转动,该4个电机与该4个全向轮一一对应,每个电机用于驱动与该电机连接的全向轮转动。在其他实施例中,该动力系统还可以包括多个电机控制器,例如,一个电机连接有一个电机控制器。此外,电机和全向轮的个数也不限于是4个,例如,可以是3个、6个、8个等。The movable robot 11 includes a power system for driving the movable robot 11 to move, and the movement of the movable robot 11 includes at least one of translation and rotation of the movable robot 11. Specifically, the power system includes at least one motor controller, multiple motors, and multiple omni wheels corresponding to the motors one-to-one. As shown in FIG. 2, it is assumed that the power system includes one motor controller, 4 motors. And 4 omnidirectional wheels. Wherein, the motor controller is connected to the 4 motors respectively, the motor controller is used to control the rotation of the 4 motors, the 4 motors correspond to the 4 omnidirectional wheels one-to-one, and each motor is used to drive and the motor The connected omni wheel rotates. In other embodiments, the power system may further include multiple motor controllers, for example, one motor is connected to one motor controller. In addition, the number of motors and omnidirectional wheels is not limited to four, for example, it can be three, six, eight, etc.
在本实施例中,该全向轮具体可以是麦克纳姆轮,或者是瑞典轮,图3所示是麦克纳姆轮的一个示意图,如图3所示,麦克纳姆轮包括辊子和轮毂,对于麦克纳姆轮而言,辊子和轮毂成45度夹角。对于瑞典轮而言,辊子和轮毂成90度夹角。图4所示为基于麦克纳姆轮的全向轮底盘。In this embodiment, the omnidirectional wheel may specifically be a Mecanum wheel or a Swedish wheel. Figure 3 shows a schematic diagram of the Mecanum wheel. As shown in Figure 3, the Mecanum wheel includes a roller and a hub. , For mecanum wheels, the roller and the hub form an angle of 45 degrees. For the Swedish wheel, the roller and the hub form an angle of 90 degrees. Figure 4 shows the omnidirectional wheel chassis based on Mecanum wheels.
本实施例以麦克纳姆轮为例介绍一种可移动平台的控制方法,另外,当该可移动平台的全向轮是瑞典轮时对可移动平台的控制方法与麦克纳姆轮场景下对可移动平台的控制方法原理是类似的。This embodiment uses the Mecanum wheel as an example to introduce a method for controlling a movable platform. In addition, when the omnidirectional wheel of the movable platform is a Swedish wheel, the method for controlling the movable platform is the same as in the Mecanum wheel scenario. The principle of the control method of the movable platform is similar.
图5为本发明实施例提供的可移动平台的控制方法的流程图。如图5所示,本实施例中的方法,可以包括:Fig. 5 is a flowchart of a method for controlling a movable platform provided by an embodiment of the present invention. As shown in Figure 5, the method in this embodiment may include:
步骤S501、获取用于控制所述可移动平台运动的用户指令。Step S501: Obtain a user instruction for controlling the movement of the movable platform.
本实施例方法的执行主体可以是可移动平台的控制设备,该可移动平台具体可以是图1所示的可移动机器人11。该可移动机器人11的控制设备具体可以是如图2所示的底盘主控。如图2所示,该底盘主控可以与该电机控制器通信连接,该底盘主控可获取用于控制所述可移动平台运动的用户指令。The execution subject of the method in this embodiment may be a control device of a movable platform, and the movable platform may specifically be the movable robot 11 shown in FIG. 1. The control device of the mobile robot 11 may specifically be a chassis master control as shown in FIG. 2. As shown in FIG. 2, the chassis master can be in communication with the motor controller, and the chassis master can acquire user instructions for controlling the movement of the movable platform.
可选的,所述获取用于控制所述可移动平台的用户指令,包括:接收用户终端发送的用于控制所述可移动平台运动的用户指令。Optionally, the obtaining a user instruction for controlling the movable platform includes: receiving a user instruction for controlling the movement of the movable platform sent by a user terminal.
如图2所示,该底盘主控可接收用户终端发送的用户指令,该用户终端和该底盘主控可以直接进行通信,也可以通过其他的通信设备或网元进行通信,例如,其他通信设备或网元将该用户终端发送的用户指令转发给该底盘主控。其中,该用户指令可以是用户通过该用户终端生成的用于控制可移动机器人11运动的用户指令。As shown in Figure 2, the chassis master can receive user instructions sent by the user terminal. The user terminal and the chassis master can communicate directly or through other communication equipment or network elements, such as other communication equipment. Or the network element forwards the user instruction sent by the user terminal to the main control of the chassis. The user instruction may be a user instruction generated by the user through the user terminal for controlling the movement of the movable robot 11.
步骤S502、根据所述用户指令,确定当前时刻用于控制所述可移动平台运动的第一控制量。Step S502: According to the user instruction, determine a first control amount for controlling the movement of the movable platform at the current moment.
例如,当前时刻t1该底盘主控接收到该用户指令,并将该用户指令转化为用于控制可移动机器人11运动的控制量,此处,将当前时刻由该用户指令转化得到的控制量记为第一控制量。可选的,所述可移动平台的第一控制量包括如下至少一种:所述可移动平台的第一速度、所述可移动平台的第一角速度。For example, at the current time t1, the chassis master control receives the user instruction and converts the user instruction into a control quantity for controlling the movement of the mobile robot 11. Here, the control quantity converted by the user instruction at the current time is recorded as It is the first control quantity. Optionally, the first control variable of the movable platform includes at least one of the following: a first velocity of the movable platform, and a first angular velocity of the movable platform.
例如,用于控制可移动机器人11运动的第一控制量包括:该可移动机器人11的第一速度和该可移动机器人11的第一角速度中的至少一个。其中,该可移动机器人11的第一速度可以理解为当前时刻该用户对底盘的期望速度,该期望速度是当前时刻该用户期望底盘平移的速度。该可移动机器人11的第一角速度可以理解为当前时刻该用户对底盘的期望角速度,该期望角速度是当前时刻该用户期望底盘转动的角速度。在一些场景下,该第一控制量可能只包括第一速度,此时,底盘可能只进行平移。在另一些场景下,该第一控制量可能只包括第一角速度,此时,底盘可能只进行转动。在其他一些场景下,该第一控制量可能同时包括第一速度和第一角速度,此时,底盘可能同时进行平移和转动。For example, the first control amount for controlling the movement of the movable robot 11 includes: at least one of the first speed of the movable robot 11 and the first angular speed of the movable robot 11. The first speed of the movable robot 11 can be understood as the user's desired speed of the chassis at the current moment, and the desired speed is the speed at which the user expects the chassis to move at the current moment. The first angular velocity of the mobile robot 11 can be understood as the desired angular velocity of the user to the chassis at the current moment, and the desired angular velocity is the angular velocity at which the user expects the chassis to rotate at the current moment. In some scenarios, the first control amount may only include the first speed. At this time, the chassis may only move in translation. In other scenarios, the first control amount may only include the first angular velocity, and at this time, the chassis may only rotate. In some other scenarios, the first control variable may include both the first speed and the first angular speed. At this time, the chassis may perform translation and rotation at the same time.
步骤S503、如果所述第一控制量相对于历史时刻用于控制所述可移动平台运动的第二控制量的变化量大于预设值,则根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量。Step S503: If the amount of change of the first control amount with respect to the second control amount used to control the movement of the movable platform at the historical moment is greater than a preset value, then according to the first control amount and the second control amount Determine the target control amount used to control the movement of the movable platform at the current moment.
假设历史时刻t0该底盘主控也接收到了用户指令,并将该历史时刻的用户指令转化为用于控制可移动机器人11运动的第二控制量。可选的,所述可移动平台的第二控制量包括如下至少一种:所述可移动平台的第二 速度、所述可移动平台的第二角速度。例如,用于控制可移动机器人11运动的第二控制量包括:该可移动机器人11的第二速度和该可移动机器人11的第二角速度中的至少一个。其中,该可移动机器人11的第二速度可以理解为历史时刻该用户对底盘的期望速度,该可移动机器人11的第二角速度可以理解为历史时刻该用户对底盘的期望角速度。Assume that the chassis master control also receives a user instruction at the historical time t0, and converts the user instruction at the historical time into a second control quantity for controlling the movement of the movable robot 11. Optionally, the second control variable of the movable platform includes at least one of the following: a second speed of the movable platform, and a second angular speed of the movable platform. For example, the second control amount for controlling the movement of the movable robot 11 includes at least one of the second speed of the movable robot 11 and the second angular speed of the movable robot 11. The second speed of the mobile robot 11 can be understood as the user's desired speed of the chassis at a historical moment, and the second angular speed of the mobile robot 11 can be understood as the user's desired angular speed of the chassis at the historical moment.
当该底盘主控将当前时刻的用户指令转化为用于控制可移动机器人11运动的第一控制量后,确定第一控制量相对于第二控制量的变化量。After the chassis master control converts the user instruction at the current moment into the first control quantity for controlling the movement of the movable robot 11, the change amount of the first control quantity relative to the second control quantity is determined.
作为一种可行的方法,该底盘主控可以将第一控制量和第二控制量之间的差值作为第一控制量相对于第二控制量的变化量。As a feasible method, the chassis master control may use the difference between the first control quantity and the second control quantity as the change quantity of the first control quantity relative to the second control quantity.
作为另一种可行的方法,该底盘主控可以计算出第一控制量和第二控制量之间的差值,以及当前时刻t1与历史时刻t0之间的时间差,并将第一控制量和第二控制量之间的差值与该时间差的比值作为第一控制量相对于第二控制量的变化量。As another feasible method, the chassis master control can calculate the difference between the first control quantity and the second control quantity, and the time difference between the current time t1 and the historical time t0, and combine the first control quantity with The ratio of the difference between the second control quantities and the time difference is taken as the change quantity of the first control quantity with respect to the second control quantity.
进一步,该底盘主控判断该第一控制量相对于第二控制量的变化量是否大于预设值,如果该变化量大于预设值,则根据该第一控制量和该第二控制量,确定当前时刻用于控制可移动机器人11运动的目标控制量。Further, the chassis main control determines whether the amount of change of the first control amount relative to the second control amount is greater than a preset value, and if the amount of change is greater than the preset value, according to the first control amount and the second control amount, The target control amount for controlling the movement of the movable robot 11 at the current moment is determined.
所述可移动平台的目标控制量包括如下至少一种:所述可移动平台的目标速度、所述可移动平台的目标角速度。The target control amount of the movable platform includes at least one of the following: a target velocity of the movable platform, and a target angular velocity of the movable platform.
可选的,所述根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量,包括:根据所述第一控制量和所述第二控制量,确定当前时刻所述可移动平台需要达到的第一加速度和/或第一角加速度;对所述第一加速度进行调整得到第二加速度,和/或,对所述第一角加速度进行调整得到第二角加速度;根据所述第二加速度和/或所述第二角加速度,确定当前时刻用于控制所述可移动平台的目标控制量。Optionally, the determining the target control amount for controlling the movement of the movable platform at the current moment according to the first control amount and the second control amount includes: according to the first control amount and the The second control quantity determines the first acceleration and/or the first angular acceleration that the movable platform needs to achieve at the current moment; adjusts the first acceleration to obtain the second acceleration, and/or determines the first acceleration The acceleration is adjusted to obtain a second angular acceleration; according to the second acceleration and/or the second angular acceleration, a target control amount for controlling the movable platform at the current moment is determined.
例如,将该可移动机器人11的第一速度记为V t1,将该可移动机器人11的第一角速度记为ω t1。将该可移动机器人11的第二速度记为V t0,将该可移动机器人11的第二角速度记为ω t0。根据可移动机器人11的第一速度V t1和该可移动机器人11的第二速度V t0,可确定出当前时刻可移动机器人11需要达到的第一加速度,此处,将该第一加速度记为Acc_ref,其 中,
Figure PCTCN2019090754-appb-000001
其中,Δt表示当前时刻t1与历史时刻t0之间的时间差。和/或,根据可移动机器人11的第一角速度ω t1和该可移动机器人11的第二角速度ω t0,可确定出当前时刻可移动机器人11需要达到的第一角加速度,此处,将第一角加速度记为Beta_ref,其中,
Figure PCTCN2019090754-appb-000002
For example, the first velocity of the movable robot 11 is denoted as V t1 , and the first angular velocity of the movable robot 11 is denoted as ω t1 . The second velocity of the movable robot 11 is denoted as V t0 , and the second angular velocity of the movable robot 11 is denoted as ω t0 . According to the first speed V t1 of the mobile robot 11 and the second speed V t0 of the mobile robot 11, the first acceleration that the mobile robot 11 needs to achieve at the current moment can be determined. Here, the first acceleration is denoted as Acc_ref, where,
Figure PCTCN2019090754-appb-000001
Among them, Δt represents the time difference between the current time t1 and the historical time t0. And/or, according to the first angular velocity ω t1 of the movable robot 11 and the second angular velocity ω t0 of the movable robot 11, the first angular acceleration that the movable robot 11 needs to achieve at the current moment can be determined. The angular acceleration is recorded as Beta_ref, where
Figure PCTCN2019090754-appb-000002
进一步,对第一加速度Acc_ref进行调整得到第二加速度,此处,将第二加速度记为Acc_ref_lim,和/或,对第一角加速度Beta_ref进行调整得到第二角加速度,此处,将该第二角加速度记为Beta_ref_lim。进一步,根据第二加速度Acc_ref_lim和/或第二角加速度Beta_ref_lim,确定当前时刻用于控制可移动机器人11运动的目标控制量。Further, the first acceleration Acc_ref is adjusted to obtain the second acceleration. Here, the second acceleration is recorded as Acc_ref_lim, and/or the first angular acceleration Beta_ref is adjusted to obtain the second angular acceleration. Here, the second acceleration is obtained. The angular acceleration is recorded as Beta_ref_lim. Further, according to the second acceleration Acc_ref_lim and/or the second angular acceleration Beta_ref_lim, the target control amount for controlling the movement of the movable robot 11 at the current moment is determined.
可选的,所述对所述第一加速度进行调整得到第二加速度,包括:根据第一预设方式对所述第一加速度进行调整得到第二加速度。例如,Acc_ref_lim=slope1(Acc_ref),其中,slope1表示第一预设方式。Optionally, the adjusting the first acceleration to obtain the second acceleration includes: adjusting the first acceleration according to a first preset manner to obtain the second acceleration. For example, Acc_ref_lim=slope1(Acc_ref), where slope1 represents the first preset mode.
可选的,所述对所述第一角加速度进行调整得到第二角加速度,包括:根据第二预设方式对所述第一角加速度进行调整得到第二角加速度。例如,Beta_ref_lim=slope2(Beta_ref),其中,slope2表示第二预设方式。Optionally, the adjusting the first angular acceleration to obtain the second angular acceleration includes: adjusting the first angular acceleration according to a second preset manner to obtain the second angular acceleration. For example, Beta_ref_lim=slope2(Beta_ref), where slope2 represents the second preset mode.
可选的,所述第一预设方式或所述第二预设方式包括如下至少一种:线性方式、S形方式、半S形方式。Optionally, the first preset manner or the second preset manner includes at least one of the following: a linear manner, an S-shaped manner, and a semi-S-shaped manner.
线性方式具体可以是如图6所示的直线形方式。下面以如图6所示的直线形方式对第一加速度Acc_ref进行调整得到Acc_ref_lim为例进行示意性说明,在该直线形方式中,横坐标表示时间,纵坐标表示加速度。具体的,根据当前时刻t1确定与该当前时刻t1对应的f1,进一步,比较f1和Acc_ref的大小,如果f1小于或等于Acc_ref,则Acc_ref_lim=f1。如果f1大于Acc_ref,则Acc_ref_lim=Acc_ref。同理,根据如图6所示的S形方式或半S形方式对第一加速度Acc_ref进行调整得到Acc_ref_lim的过程与此类似,此处不再赘述。其中,在半S形方式中,若可移动机器人11在增速,即可移动机器人11的第一速度V t1大于该可移动机器人11的第二速度V t0时,采用该半S形方式中的下半支曲线对第一加速度Acc_ref进行调整得到Acc_ref_lim。若可移动机器人11在减速,即可移动机器人11的 第一速度V t1小于该可移动机器人11的第二速度V t0时,采用该半S形方式中的上半支曲线对第一加速度Acc_ref进行调整得到Acc_ref_lim。 The linear mode may specifically be a linear mode as shown in FIG. 6. Hereinafter, a schematic description will be given by taking as an example the adjustment of the first acceleration Acc_ref to obtain Acc_ref_lim in a linear manner as shown in FIG. 6, in the linear manner, the abscissa represents time and the ordinate represents acceleration. Specifically, the f1 corresponding to the current time t1 is determined according to the current time t1, and further, the sizes of f1 and Acc_ref are compared. If f1 is less than or equal to Acc_ref, then Acc_ref_lim=f1. If f1 is greater than Acc_ref, then Acc_ref_lim=Acc_ref. In the same way, the process of adjusting the first acceleration Acc_ref to obtain Acc_ref_lim according to the S-shaped manner or the semi-S-shaped manner shown in FIG. 6 is similar to this, and will not be repeated here. Among them, in the semi-S-shaped mode, if the mobile robot 11 is increasing in speed, that is, when the first speed V t1 of the mobile robot 11 is greater than the second speed V t0 of the mobile robot 11, the semi-S-shaped mode is used Adjust the first acceleration Acc_ref to get Acc_ref_lim. If the mobile robot 11 is decelerating, that is, when the first speed V t1 of the mobile robot 11 is less than the second speed V t0 of the mobile robot 11, the upper half of the curve in the semi-S-shaped manner is used to compare the first acceleration Acc_ref Make adjustments to get Acc_ref_lim.
另外,根据如图6所示的直线形方式、S形方式或半S形方式对第一角加速度Beta_ref进行调整时,如图6所示的直线形方式、S形方式或半S形方式的纵坐标表示角加速度。根据如图6所示的直线形方式、S形方式或半S形方式对第一角加速度Beta_ref进行调整得到第二角加速度Beta_ref_lim的过程,与根据如图6所示的直线形方式、S形方式或半S形方式对第一加速度Acc_ref进行调整得到Acc_ref_lim的过程类似,此处不再赘述。In addition, when the first angular acceleration Beta_ref is adjusted according to the linear method, the S-shaped method, or the semi-S-shaped method as shown in FIG. 6, the linear method, the S-shaped method, or the semi-S-shaped method as shown in FIG. The ordinate represents angular acceleration. The process of adjusting the first angular acceleration Beta_ref to obtain the second angular acceleration Beta_ref_lim according to the linear method, the S-shaped method, or the semi-S-shaped method as shown in FIG. The process of adjusting the first acceleration Acc_ref to obtain Acc_ref_lim in a semi-S-shaped manner is similar, and will not be repeated here.
作为一种可能的实现方式,所述根据所述第二加速度和/或所述第二角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量,包括:根据所述第二加速度和所述第二速度,确定当前时刻所述可移动平台的目标速度;和/或根据所述第二角加速度和所述第二角速度,确定当前时刻所述可移动平台的目标角速度。As a possible implementation manner, the determining the target control quantity for controlling the movement of the movable platform at the current moment according to the second acceleration and/or the second angular acceleration includes: according to the second acceleration The acceleration and the second velocity determine the target velocity of the movable platform at the current moment; and/or determine the target angular velocity of the movable platform at the current moment according to the second angular acceleration and the second angular velocity.
例如,底盘主控根据上述方法确定出该可移动机器人11的第二加速度Acc_ref_lim和/或该可移动机器人11的第二角加速度Beta_ref_lim,并根据第二加速度Acc_ref_lim和/或第二角加速度Beta_ref_lim,确定当前时刻用于控制可移动机器人11运动的目标控制量时,具体可根据第二加速度Acc_ref_lim和第二速度V t0,确定当前时刻t1该可移动机器人11的目标速度,此处将该可移动机器人11的目标速度记为V。具体的,V=Acc_ref_lim×Δt+V t0。和/或,根据第二角加速度Beta_ref_lim和第二角速度ω t0,确定当前时刻t1该可移动机器人11的目标角速度,此处将该可移动机器人11的目标角速度记为ω,ω=Beta_ref_lim×Δt+ω t0For example, the chassis master control determines the second acceleration Acc_ref_lim of the mobile robot 11 and/or the second angular acceleration Beta_ref_lim of the mobile robot 11 according to the above method, and according to the second acceleration Acc_ref_lim and/or the second angular acceleration Beta_ref_lim, When determining the target control variable used to control the movement of the mobile robot 11 at the current moment, the target speed of the mobile robot 11 at the current moment t1 can be determined according to the second acceleration Acc_ref_lim and the second speed V t0 . The target speed of the robot 11 is denoted as V. Specifically, V=Acc_ref_lim×Δt+V t0 . And/or, according to the second angular acceleration Beta_ref_lim and the second angular velocity ω t0 , determine the target angular velocity of the movable robot 11 at the current time t1, where the target angular velocity of the movable robot 11 is denoted as ω, ω=Beta_ref_lim×Δt +ω t0 .
步骤S504、根据所述目标控制量,控制所述可移动平台运动。Step S504: Control the movement of the movable platform according to the target control amount.
具体的,当该底盘主控确定出该可移动机器人11的目标速度V和该可移动机器人11的目标角速度ω之后,可以根据该可移动机器人11的目标速度V和该可移动机器人11的目标角速度ω,控制该可移动机器人11运动。Specifically, after the chassis master control determines the target velocity V of the movable robot 11 and the target angular velocity ω of the movable robot 11, it can be based on the target velocity V of the movable robot 11 and the target velocity of the movable robot 11 The angular velocity ω controls the movement of the movable robot 11.
本实施例通过获取用于控制所述可移动平台运动的用户指令,根据所述用户指令,确定当前时刻用于控制所述可移动平台运动的第一控制量, 如果所述第一控制量相对于历史时刻用于控制所述可移动平台运动的第二控制量的变化量大于预设值,则根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量,并根据所述目标控制量,控制所述可移动平台运动,从而避免用户在短时间内要求该可移动平台达到较大的速度时,由于电机需要在短时间内达到较大的转速而导致的该可移动平台的全向轮相对于地面打滑的问题,提高了可移动平台运动的稳定性。In this embodiment, by acquiring a user instruction for controlling the movement of the movable platform, according to the user instruction, the first control quantity for controlling the movement of the movable platform at the current moment is determined, if the first control quantity is relatively If the change of the second control variable used to control the movement of the movable platform at the historical moment is greater than the preset value, then according to the first control variable and the second control variable, it is determined that the current moment is used to control the movable platform The target control amount of the movement of the mobile platform, and according to the target control amount, the movement of the movable platform is controlled, so as to prevent the user from requiring the movable platform to reach a higher speed in a short time, because the motor needs to be in a short time The problem of slipping of the omnidirectional wheels of the movable platform with respect to the ground caused by a large rotation speed improves the stability of the movement of the movable platform.
本发明实施例提供一种可移动平台的控制方法。图7为本发明另一实施例提供的可移动平台的控制方法的流程图。如图7所示,在上述实施例的基础上,当所述电机对应的电机控制器为按照速度环模式运行时,所述根据所述目标控制量,控制所述可移动平台运动,包括:The embodiment of the present invention provides a method for controlling a movable platform. Fig. 7 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention. As shown in Fig. 7, on the basis of the above-mentioned embodiment, when the motor controller corresponding to the motor runs in the speed loop mode, the controlling the movement of the movable platform according to the target control amount includes:
步骤S701、根据所述可移动平台的目标速度和所述可移动平台的目标角速度,确定多个所述全向轮中每个所述全向轮的目标转速。Step S701: According to the target speed of the movable platform and the target angular speed of the movable platform, the target rotation speed of each of the plurality of omnidirectional wheels is determined.
如图8所示,X轴和Y轴构成的坐标系可以是可移动机器人11的机体坐标系,也可以是世界坐标系,如果该坐标系是机体坐标系,则该机体坐标系的坐标原点可以是可移动机器人11的几何中心。如果该坐标系是世界坐标系,则该世界坐标系的坐标原点可以是某一个预先固定的点。可以理解,机体坐标系会随着可移动机器人11的位置的变化而变化。而世界坐标系不会随着可移动机器人11的位置的变化而变化。此处,以可移动机器人11的机体坐标系为例进行示意性说明。如图8所示,V表示该该可移动机器人11的目标速度,则该目标速度V可以在机体坐标系的X轴上有一个分量,在机体坐标系的Y轴上有一个分量。可选的,将该目标速度V在机体坐标系的X轴上的分量记为V x,将该目标速度V在机体坐标系的Y轴上的分量记为V y,也就是说,V是V x和V y的合速度。将V x、V y、以及该可移动机器人11的目标角速度ω代入如下所示的公式即运动学方程中,可确定出为了使可移动机器人11的速度达到该目标速度V,以及使该可移动机器人11的角速度达到该目标角速度ω,该可移动机器人11的底盘的4个电机中每个电机需要达到的目标转速。其中,电机的转速和与该电机对应的全向轮的转速相同。因此,该可移动机器人11的底盘的4个电机中每 个电机需要达到的目标转速即可作为该可移动机器人11的4个全向轮中每个全向轮的目标转速。具体的,可以将电机1的目标转速记为ω 1,将电机2的目标转速记为ω 2,将电机3的目标转速记为ω 3,将电机4的目标转速记为ω 4As shown in Figure 8, the coordinate system formed by the X axis and the Y axis can be the body coordinate system of the mobile robot 11 or the world coordinate system. If the coordinate system is the body coordinate system, the coordinate origin of the body coordinate system It may be the geometric center of the mobile robot 11. If the coordinate system is a world coordinate system, the coordinate origin of the world coordinate system can be a certain pre-fixed point. It can be understood that the body coordinate system will change as the position of the movable robot 11 changes. The world coordinate system does not change with the change of the position of the movable robot 11. Here, the body coordinate system of the movable robot 11 is taken as an example for schematic description. As shown in FIG. 8, V represents the target speed of the mobile robot 11. The target speed V may have a component on the X axis of the body coordinate system and a component on the Y axis of the body coordinate system. Optionally, the component of the target velocity V on the X axis of the airframe coordinate system is denoted as V x , and the component of the target velocity V on the Y axis of the airframe coordinate system is denoted as V y , that is, V is The combined velocity of V x and V y . Substituting V x , V y , and the target angular velocity ω of the mobile robot 11 into the kinematic equation shown below, it can be determined that in order for the speed of the mobile robot 11 to reach the target speed V, and the The angular velocity of the mobile robot 11 reaches the target angular velocity ω, and the target rotational speed of each of the four motors of the chassis of the mobile robot 11 needs to be reached. Among them, the rotation speed of the motor is the same as the rotation speed of the omni wheel corresponding to the motor. Therefore, the target rotation speed of each of the four motors of the chassis of the movable robot 11 can be used as the target rotation speed of each of the four omnidirectional wheels of the movable robot 11. Specifically, the target rotation speed of the motor 1 can be denoted as ω 1 , the target rotation speed of the motor 2 is denoted as ω 2 , the target rotation speed of the motor 3 is denoted as ω 3 , and the target rotation speed of the motor 4 can be denoted as ω 4 .
Figure PCTCN2019090754-appb-000003
Figure PCTCN2019090754-appb-000003
其中,r表示全向轮的半径。α 1表示全向轮1的辊子和轮毂的夹角,α 2表示全向轮2的辊子和轮毂的夹角,α 3表示全向轮3的辊子和轮毂的夹角,α 4表示全向轮4的辊子和轮毂的夹角。通常情况下,α 1、α 2、α 3、α 4是相同的,在一些场景中,也有可能不同。l 1表示底盘的运动学中心与全向轮1的圆心之间的距离,l 2表示底盘的运动学中心与全向轮2的圆心之间的距离,l 3表示底盘的运动学中心与全向轮3的圆心之间的距离,l 4表示底盘的运动学中心与全向轮4的圆心之间的距离,通常情况下,l 1、l 2、l 3、l 4是相同的,在一些场景中,也有可能不同。 Among them, r represents the radius of the omnidirectional wheel. α 1 represents the angle between the roller and the hub of the omnidirectional wheel 1, α 2 represents the angle between the roller and the hub of the omnidirectional wheel 2, α 3 represents the angle between the roller and the hub of the omnidirectional wheel 3, and α 4 represents the omnidirectional wheel. The angle between the roller of wheel 4 and the hub. Normally, α 1 , α 2 , α 3 , and α 4 are the same, and in some scenarios, they may be different. l 1 represents the distance between the kinematic center of the chassis and the center of the omnidirectional wheel 1, l 2 represents the distance between the kinematic center of the chassis and the center of the omni wheel 2, and l 3 represents the distance between the kinematic center of the chassis and the center of the omnidirectional wheel 2. The distance between the center of the wheel 3, l 4 represents the distance between the kinematic center of the chassis and the center of the omni wheel 4. Normally, l 1 , l 2 , l 3 , and l 4 are the same. In some scenarios, it may be different.
如图9所示,XOY是可移动机器人11的机体坐标系,x’o’y’是可移动机器人11的任意一个全向轮的坐标系,71表示该全向轮上的任意一个辊子,l ix表示该全向轮的坐标系的坐标原点o’在该机体坐标系X轴上的坐标,l iy示该全向轮的坐标系的坐标原点o’在该机体坐标系Y轴上的坐标。当该全向轮是如上所述的全向轮1时,α i=α 1,当该全向轮是如上所述的全向轮2时,α i=α 2,以此类推。 As shown in Figure 9, XOY is the body coordinate system of the mobile robot 11, x'o'y' is the coordinate system of any omnidirectional wheel of the mobile robot 11, 71 represents any roller on the omnidirectional wheel, l ix represents the coordinate origin of the coordinate system of the omnidirectional wheel o'the coordinate on the X axis of the body coordinate system, l iy represents the coordinate origin of the omni wheel coordinate system o'on the Y axis of the body coordinate system coordinate. When the omnidirectional wheel is the omnidirectional wheel 1 as described above, α i1 , when the omnidirectional wheel is the omnidirectional wheel 2 as described above, α i2 , and so on.
如图9所示,该全向轮的坐标系的坐标原点o’与该机体坐标系的坐标原点O之间的距离可以是底盘的运动学中心与该全向轮的圆心之间的距离。当该全向轮是如上所述的全向轮1时,o’与O之间的距离为l 1,当该全向轮是如上所述的全向轮2时,o’与O之间的距离为l 2,l 3和l 4以此类推。 As shown in Figure 9, the distance between the coordinate origin o'of the coordinate system of the omnidirectional wheel and the coordinate origin O of the body coordinate system may be the distance between the kinematic center of the chassis and the center of the omnidirectional wheel. When the omnidirectional wheel is the above-mentioned omnidirectional wheel 1, the distance between o'and O is l 1 , and when the omnidirectional wheel is the above-mentioned omnidirectional wheel 2, the distance between o'and O The distance is l 2 , l 3 and l 4 and so on.
如图9所示,该全向轮的坐标系的x’轴相对于该机体坐标系X轴的夹角为θ i,当该全向轮是如上所述的全向轮1时,θ i=θ 1,当该全向轮是如上 所述的全向轮2时,θ i=θ 2,θ 3和θ 4以此类推。通常情况下,θ 1、θ 2、θ 3、θ 4是相同的,在一些场景中,也有可能不同。 As shown in Figure 9, the angle between the x'axis of the coordinate system of the omnidirectional wheel and the X axis of the body coordinate system is θ i , when the omnidirectional wheel is the omnidirectional wheel 1 as described above, θ i = Θ 1 , when the omni-directional wheel is the above-mentioned omni-directional wheel 2, θ i = θ 2 , θ 3 and θ 4 and so on. Normally, θ 1 , θ 2 , θ 3 , and θ 4 are the same, and in some scenarios, they may be different.
另外,如图9所示,经过该全向轮的坐标系的坐标原点o’和该机体坐标系的坐标原点O的直线相对于该机体坐标系X轴的夹角为β i,当该全向轮是如上所述的全向轮1时,β i=β 1,当该全向轮是如上所述的全向轮2时,β i=β 2,β 3和β 4以此类推。通常情况下,β 1、β 2、β 3、β 4是相同的,在一些场景中,也有可能不同。 In addition, as shown in Figure 9, the straight line passing through the coordinate origin o'of the coordinate system of the omnidirectional wheel and the coordinate origin O of the body coordinate system has an angle β i relative to the X axis of the body coordinate system. When the omnidirectional wheel is the omnidirectional wheel 1 as described above, β i = β 1 , and when the omnidirectional wheel is the omnidirectional wheel 2 as described above, β i = β 2 , and β 3 and β 4 can be deduced by analogy. Generally, β 1 , β 2 , β 3 , and β 4 are the same, and in some scenarios, they may be different.
步骤S702、根据每个所述全向轮的目标转速,控制所述可移动平台运动。Step S702: Control the movement of the movable platform according to the target rotation speed of each of the omnidirectional wheels.
例如,该底盘主控确定出可移动机器人11的4个电机中每个电机的目标转速后,进一步,根据该4个电机中每个电机的目标转速,控制对应的电机转动,以控制可移动机器人11运动。For example, after the chassis master control determines the target speed of each of the four motors of the mobile robot 11, it further controls the rotation of the corresponding motor according to the target speed of each of the four motors to control the mobile robot 11 The robot 11 moves.
可选的,所述根据每个所述全向轮的目标转速,控制所述可移动平台运动,包括:将每个所述全向轮的目标转速发送给所述全向轮对应的电机控制器,所述电机控制器用于根据所述目标转速驱动所述全向轮对应的电机转动。Optionally, the controlling the movement of the movable platform according to the target rotation speed of each omnidirectional wheel includes: sending the target rotation speed of each omnidirectional wheel to the motor control corresponding to the omnidirectional wheel The motor controller is used to drive the motor corresponding to the omni wheel to rotate according to the target speed.
在本实施例中,电机控制器具体可以是电子调速器。如图2所示,当底盘主控确定出可移动机器人11的4个电机中每个电机的目标转速后,可将该4个电机中每个电机的目标转速发送给电机控制器,由该电机控制器根据每个电机的目标转速控制相应的电机转动,使得4个电机分别转动到相应的目标转速。在其他实施例中,每个电机可以连接有一个电机控制器,该底盘主控确定出可移动机器人11的4个电机中每个电机的目标转速后,可以将该4个电机中每个电机的目标转速发送给相应电机所连接的电机控制器,由每个电机对应的电机控制器控制相应的电机转动。In this embodiment, the motor controller may specifically be an electronic speed governor. As shown in Figure 2, after the chassis master control determines the target speed of each of the four motors of the mobile robot 11, it can send the target speed of each of the four motors to the motor controller, and the The motor controller controls the rotation of the corresponding motor according to the target speed of each motor, so that the four motors rotate to the corresponding target speeds respectively. In other embodiments, each motor may be connected to a motor controller. After the chassis master determines the target speed of each of the four motors of the mobile robot 11, each of the four motors can be The target speed is sent to the motor controller connected to the corresponding motor, and the motor controller corresponding to each motor controls the rotation of the corresponding motor.
本实施例通过当所述电机对应的电机控制器为按照速度环模式运行时,根据所述可移动平台的目标速度和所述可移动平台的目标角速度,确定多个所述全向轮中每个所述全向轮的目标转速,并根据每个所述全向轮的目标转速,控制所述可移动平台运动,实现了根据所述目标控制量,控制所述可移动平台运动的方法。In this embodiment, when the motor controller corresponding to the motor runs in the speed loop mode, according to the target speed of the movable platform and the target angular speed of the movable platform, each of the plurality of omnidirectional wheels is determined The target rotation speed of each of the omnidirectional wheels is controlled, and the movement of the movable platform is controlled according to the target rotation speed of each of the omnidirectional wheels, thereby realizing a method of controlling the movement of the movable platform according to the target control amount.
本发明实施例提供一种可移动平台的控制方法。图10为本发明另一实施例提供的可移动平台的控制方法的流程图。如图10所示,在上述实施例的基础上,作为另一种可能的实现方式,所述根据所述第二加速度和/或所述第二角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量,包括:The embodiment of the present invention provides a method for controlling a movable platform. FIG. 10 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention. As shown in FIG. 10, on the basis of the foregoing embodiment, as another possible implementation manner, the determination of the current moment is used to control the may be based on the second acceleration and/or the second angular acceleration The target control amount of the movement of the mobile platform includes:
步骤S901、检测多个所述全向轮中的每个所述全向轮是否打滑。Step S901: Detect whether each of the plurality of omnidirectional wheels is slipping.
例如,该可移动机器人11的第一速度可以理解为当前时刻该用户对底盘的期望速度,该可移动机器人11的第一角速度可以理解为当前时刻该用户对底盘的期望角速度。根据上述运动学方程可知,若该可移动机器人11的第一速度和该可移动机器人11的第一角速度越大,则为了达到该第一速度和第一角速度,该4个全向轮中每个全向轮需要达到的第一转速也越大。如果用户期望4个全向轮在较短的时间内达到较大的转速,则有可能导致4个全向轮中的至少一个打滑。因此,本实施例中,当底盘主控根据第二加速度Acc_ref_lim和/或第二角加速度Beta_ref_lim,确定当前时刻用于控制可移动机器人11运动的目标控制量时,可检测该4个全向轮中的每个全向轮是否打滑。For example, the first speed of the mobile robot 11 can be understood as the user's desired speed of the chassis at the current moment, and the first angular speed of the mobile robot 11 can be understood as the user's desired angular speed of the chassis at the current moment. According to the above kinematic equation, if the first speed of the mobile robot 11 and the first angular speed of the mobile robot 11 are greater, in order to achieve the first speed and the first angular speed, each of the four omnidirectional wheels The first rotational speed of each omnidirectional wheel needs to be greater. If the user expects the 4 omnidirectional wheels to reach a larger rotation speed in a short time, it may cause at least one of the 4 omnidirectional wheels to slip. Therefore, in this embodiment, when the chassis master determines the target control value for controlling the movement of the movable robot 11 at the current moment according to the second acceleration Acc_ref_lim and/or the second angular acceleration Beta_ref_lim, the four omnidirectional wheels can be detected. Whether each omni-directional wheel in is slipping.
可选的,所述检测多个所述全向轮中的每个所述全向轮是否打滑,包括:根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑;其中,所述第一转矩是根据所述第一控制量确定的。Optionally, the detecting whether each of the plurality of omnidirectional wheels is slipping includes: according to the first torque and the first torque of each of the plurality of omnidirectional wheels The actual torque of each of the omnidirectional wheels, determining whether each of the plurality of omnidirectional wheels is slipping; wherein, the first torque is determined according to the first control amount .
例如,该底盘主控检测该4个全向轮中的每个全向轮是否打滑时,可根据该4个全向轮中的每个全向轮的第一转矩和每个全向轮的实际转矩,确定该4个全向轮中的每个全向轮是否打滑。其中,每个全向轮的第一转矩是根据如上所述的第一控制量确定的。此处,将全向轮1的第一转矩记为Tref1,将全向轮1的实际转矩记为Treal1,将全向轮2的第一转矩记为Tref2,将全向轮2的实际转矩记为Treal2,将全向轮3的第一转矩记为Tref3,将全向轮3的实际转矩记为Treal3,将全向轮4的第一转矩记为Tref4,将全向轮4的实际转矩记为Treal4。For example, when the chassis master detects whether each of the 4 omnidirectional wheels is slipping, it can be based on the first torque of each of the 4 omnidirectional wheels and each omnidirectional wheel Determine whether each of the 4 omnidirectional wheels is slipping. Wherein, the first torque of each omnidirectional wheel is determined according to the first control variable as described above. Here, the first torque of omnidirectional wheel 1 is recorded as Tref1, the actual torque of omnidirectional wheel 1 is recorded as Treal1, the first torque of omnidirectional wheel 2 is recorded as Tref2, and the first torque of omnidirectional wheel 2 is recorded as Tref2. The actual torque is recorded as Treal2, the first torque of the omnidirectional wheel 3 is recorded as Tref3, the actual torque of the omnidirectional wheel 3 is recorded as Treal3, and the first torque of the omnidirectional wheel 4 is recorded as Tref4. The actual torque of the wheel 4 is recorded as Treal4.
可选的,所述根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否 打滑,包括:确定各个所述全向轮的第一转矩和实际转矩的差值;若所述差值大于打滑阈值,则确定所述差值对应的全向轮打滑。Optionally, according to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels, determine the Whether each of the omnidirectional wheels is slipping includes: determining the difference between the first torque and the actual torque of each of the omnidirectional wheels; if the difference is greater than the slip threshold, determining the total value corresponding to the difference Skid to the wheel.
例如,根据每个全向轮的第一转矩和实际转矩,确定该4个全向轮中的每个全向轮是否打滑时,可确定各个全向轮的第一转矩和实际转矩的差值,例如,全向轮1的第一转矩和全向轮1的实际转矩的差值可表示为|Tref1-Treal1|,全向轮2的第一转矩和全向轮2的实际转矩的差值可表示为|Tref2-Treal2|,全向轮3的第一转矩和全向轮3的实际转矩的差值可表示为|Tref3-Treal3|,全向轮4的第一转矩和全向轮4的实际转矩的差值可表示为|Tref4-Treal4|。进一步,确定该4个差值中哪个差值或哪些差值大于打滑阈值,如果某个差值或某些差值大于打滑阈值,则确定大于打滑阈值的这个差值或这些差值所对应的全向轮打滑。例如,该打滑阈值记为threshold,该4个差值中|Tref3-Treal3|>threshold,|Tref4-Treal4|>threshold,则确定全向轮3和全向轮4打滑,其他全向轮不打滑。在其他实施例中,不同的全向轮对应的打滑阈值可以不同。For example, according to the first torque and actual torque of each omnidirectional wheel, when determining whether each of the 4 omnidirectional wheels is slipping, the first torque and actual rotation of each omnidirectional wheel can be determined. For example, the difference between the first torque of the omnidirectional wheel 1 and the actual torque of the omnidirectional wheel 1 can be expressed as |Tref1-Treal1|, the first torque of the omnidirectional wheel 2 and the omnidirectional wheel The difference between the actual torque of 2 can be expressed as |Tref2-Treal2|, the difference between the first torque of the omnidirectional wheel 3 and the actual torque of the omnidirectional wheel 3 can be expressed as |Tref3-Treal3|, the omnidirectional wheel The difference between the first torque of 4 and the actual torque of the omnidirectional wheel 4 can be expressed as |Tref4-Treal4|. Further, determine which difference or which of the four differences are greater than the slip threshold. If a certain difference or some of the differences are greater than the slip threshold, determine the difference or the difference that is greater than the slip threshold. Skid omnidirectional wheels. For example, the slip threshold is recorded as threshold, among the 4 differences |Tref3-Treal3|>threshold, |Tref4-Treal4|>threshold, it is determined that the omnidirectional wheel 3 and omnidirectional wheel 4 are slipping, and the other omnidirectional wheels do not slip. . In other embodiments, the slip threshold corresponding to different omnidirectional wheels may be different.
步骤S902、若多个所述全向轮中至少有一个所述全向轮打滑,则确定至少一个打滑的全向轮的打滑程度。Step S902: If at least one of the plurality of omnidirectional wheels slips, determine the degree of slippage of the at least one slipped omnidirectional wheel.
当该底盘主控确定全向轮3和全向轮4打滑,其他全向轮不打滑时,还可以进一步确定全向轮3和全向轮4的打滑程度。When the chassis master determines that the omnidirectional wheel 3 and the omnidirectional wheel 4 are slipping, and the other omnidirectional wheels are not slipping, the degree of slippage of the omnidirectional wheel 3 and the omnidirectional wheel 4 can be further determined.
可选的,所述确定至少一个所述打滑的全向轮的打滑程度,包括:通过对至少一个所述打滑的全向轮的第一转矩和至少一个所述打滑的全向轮的实际转矩的差值进行平滑处理,得到至少一个所述打滑的全向轮的打滑程度。Optionally, the determining the degree of slip of at least one of the slipped omnidirectional wheels includes: passing the first torque of at least one of the slipped omnidirectional wheels and the actual value of the at least one of the slipped omnidirectional wheels The torque difference is smoothed to obtain the slip degree of at least one of the slipped omnidirectional wheels.
例如,确定全向轮3和全向轮4的打滑程度时,可通过对|Tref3-Treal3|进行平滑处理,得到全向轮3的打滑程度,以及通过对|Tref4-Treal4|进行平滑处理,得到全向轮4的打滑程度。此处,将全向轮3的打滑程度记为Slip3,将全向轮4的打滑程度记为Slip4。具体的,Slip3=filter(|Tref3-Treal3|),Slip4=filter(|Tref4-Treal4|)。其中,filter表示平滑处理函数。在其他实施例中,不同全向轮可对应不同的平滑处理函数。For example, when determining the degree of slippage of the omnidirectional wheel 3 and the omnidirectional wheel 4, you can obtain the degree of slippage of the omnidirectional wheel 3 by smoothing |Tref3-Treal3|, and by smoothing |Tref4-Treal4|, Obtain the slip degree of the omnidirectional wheel 4. Here, the slip degree of the omnidirectional wheel 3 is denoted as Slip3, and the slip degree of the omnidirectional wheel 4 is denoted as Slip4. Specifically, Slip3=filter(|Tref3-Treal3|), Slip4=filter(|Tref4-Treal4|). Among them, filter represents a smoothing function. In other embodiments, different omnidirectional wheels can correspond to different smoothing functions.
步骤S903、根据所述第二加速度和至少一个所述打滑的全向轮的打滑 程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三加速度。Step S903: Determine the third acceleration of the movable platform when the at least one slipping omnidirectional wheel is not slipping according to the second acceleration and the degree of slippage of the at least one slipping omnidirectional wheel.
在确定出全向轮3和全向轮4打滑,以及全向轮3和全向轮4的打滑程度后,可根据如上所述的第二加速度Acc_ref_lim、全向轮3和全向轮4的打滑程度,确定全向轮3和全向轮4不打滑时,可移动机器人11的第三加速度,此处,将可移动机器人11的第三加速度记为Acc_ref_slip。After determining the slip of the omnidirectional wheel 3 and the omnidirectional wheel 4, as well as the degree of slippage of the omnidirectional wheel 3 and the omnidirectional wheel 4, according to the second acceleration Acc_ref_lim, the omnidirectional wheel 3 and the omnidirectional wheel 4 The degree of slip is to determine the third acceleration of the movable robot 11 when the omnidirectional wheel 3 and the omnidirectional wheel 4 are not slipping. Here, the third acceleration of the movable robot 11 is recorded as Acc_ref_slip.
可选的,所述根据所述第二加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三加速度,包括:根据所述第二加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定所述可移动平台的第三加速度。Optionally, the third acceleration of the movable platform is determined when the at least one slipping omnidirectional wheel is not slipping according to the second acceleration and the degree of slippage of the at least one slipping omnidirectional wheel, The method includes: determining the third acceleration of the movable platform according to the second acceleration and the largest degree of slippage of at least one of the slipping omnidirectional wheels.
例如,根据如上所述的第二加速度Acc_ref_lim、全向轮3和全向轮4的打滑程度,确定全向轮3和全向轮4不打滑时,可移动机器人11的第三加速度时,可先确定出全向轮3的打滑程度和全向轮4的打滑程度中最大的一个打滑程度,此处将至少一个打滑的全向轮的打滑程度中最大的打滑程度记为Slip。例如,Slip4大于Slip3,则Slip=Slip4。进一步,根据如上所述的第二加速度Acc_ref_lim和Slip确定全向轮3和全向轮4不打滑时,可移动机器人11的第三加速度。Acc_ref_lim、Acc_ref_slip和Slip之间的函数关系可以表示为如下的公式(1):For example, according to the second acceleration Acc_ref_lim, the degree of slippage of the omnidirectional wheel 3 and the omnidirectional wheel 4 as described above, it is determined that when the omnidirectional wheel 3 and the omnidirectional wheel 4 are not slipping, the third acceleration of the movable robot 11 can be First determine the degree of slippage of the omnidirectional wheel 3 and the degree of slippage of the omnidirectional wheel 4, the largest degree of slippage. Here, the largest degree of slippage among the degree of slippage of at least one slipping omnidirectional wheel is recorded as Slip. For example, if Slip4 is greater than Slip3, then Slip=Slip4. Further, according to the second acceleration Acc_ref_lim and Slip described above, it is determined that the third acceleration of the movable robot 11 when the omnidirectional wheel 3 and the omnidirectional wheel 4 are not slipping. The functional relationship between Acc_ref_lim, Acc_ref_slip and Slip can be expressed as the following formula (1):
Acc_ref_slip=Acc_ref_lim-Kp*Slip   (1)Acc_ref_slip=Acc_ref_lim-Kp*Slip (1)
其中,Kp表示与底盘控制的灵敏度正相关的参数,该参数可以是设定的参数,或者是可调整的参数。Among them, Kp represents a parameter positively related to the sensitivity of the chassis control, and this parameter can be a set parameter or an adjustable parameter.
步骤S904、根据所述第二角加速度和至少一个所述全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三角加速度。Step S904: Determine the third angular acceleration of the movable platform when the at least one slipping omnidirectional wheel is not slipping according to the second angular acceleration and the degree of slippage of at least one of the omnidirectional wheels.
在确定出全向轮3和全向轮4打滑,以及全向轮3和全向轮4的打滑程度后,可根据如上所述的第二角加速度Beta_ref_lim、全向轮3和全向轮4的打滑程度,确定全向轮3和全向轮4不打滑时,可移动机器人11的第三角加速度,此处,将可移动机器人11的第三角加速度记为Beta_ref_slip。After determining the slip of the omnidirectional wheel 3 and the omnidirectional wheel 4, and the degree of slippage of the omnidirectional wheel 3 and the omnidirectional wheel 4, the second angular acceleration Beta_ref_lim, the omnidirectional wheel 3 and the omnidirectional wheel 4 can be Determine the third angular acceleration of the movable robot 11 when the omnidirectional wheel 3 and the omnidirectional wheel 4 are not slipping. Here, the third angular acceleration of the movable robot 11 is recorded as Beta_ref_slip.
可选的,所述根据所述第二角加速度和至少一个所述打滑的全向轮的 打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三角加速度,包括:根据所述第二角加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三角加速度。Optionally, the third angular acceleration of the movable platform is determined when the at least one slipping omnidirectional wheel is not slipping according to the second angular acceleration and the degree of slippage of the at least one slipping omnidirectional wheel , Including: determining, according to the second angular acceleration and the largest degree of slippage of the at least one slipping omnidirectional wheel, when at least one of the slipping omnidirectional wheels is not slipping, the first of the movable platform Triangle acceleration.
例如,根据如上所述的第二角加速度Beta_ref_lim、全向轮3和全向轮4的打滑程度,确定全向轮3和全向轮4不打滑时,可移动机器人11的第三角加速度时,可先确定出全向轮3的打滑程度和全向轮4的打滑程度中最大的一个打滑程度Slip,例如,Slip=Slip4。进一步,根据如上所述的第二角加速度Beta_ref_lim和Slip确定全向轮3和全向轮4不打滑时,可移动机器人11的第三角加速度。Beta_ref_lim、Beta_ref_slip和Slip之间的函数关系可以表示为如下的公式(2):For example, according to the second angular acceleration Beta_ref_lim, the degree of slippage of the omnidirectional wheel 3 and the omnidirectional wheel 4 as described above, when the omnidirectional wheel 3 and the omnidirectional wheel 4 are not slipping, when the third angular acceleration of the movable robot 11 is determined, The largest slip degree Slip among the slip degree of the omnidirectional wheel 3 and the slip degree of the omnidirectional wheel 4 can be determined first, for example, Slip=Slip4. Further, the third angular acceleration of the movable robot 11 is determined based on the second angular acceleration Beta_ref_lim and Slip as described above when the omnidirectional wheel 3 and the omnidirectional wheel 4 are not slipping. The functional relationship between Beta_ref_lim, Beta_ref_slip and Slip can be expressed as the following formula (2):
Beta_ref_slip=Beta_ref_lim-Kp'*Slip   (2)Beta_ref_slip=Beta_ref_lim-Kp'*Slip (2)
其中,Kp'表示与底盘控制的灵敏度正相关的参数,该参数可以是设定的参数,或者是可调整的参数。Kp'与Kp可以相同,或者不同。在一些实施例中,可以只包括步骤S903,或者,只包括步骤S904。可以理解,本实施例所述的部分步骤之间可以没有先后顺序,例如,步骤S903和步骤S904。Among them, Kp' represents a parameter positively related to the sensitivity of the chassis control, and the parameter can be a set parameter or an adjustable parameter. Kp' and Kp can be the same or different. In some embodiments, only step S903 may be included, or only step S904 may be included. It can be understood that there may be no sequence between some steps described in this embodiment, for example, step S903 and step S904.
步骤S905、根据所述第三加速度和/或第三角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量。Step S905: According to the third acceleration and/or the third angular acceleration, determine a target control variable for controlling the movement of the movable platform at the current moment.
例如,该底盘主控确定出可移动机器人11的第三加速度Acc_ref_slip和/或第三角加速度Beta_ref_slip后,可根据Acc_ref_slip和/或Beta_ref_slip确定控制可移动机器人11运动的目标控制量。For example, after the chassis master control determines the third acceleration Acc_ref_slip and/or the third angular acceleration Beta_ref_slip of the movable robot 11, the target control amount for controlling the movement of the movable robot 11 can be determined according to Acc_ref_slip and/or Beta_ref_slip.
可选的,所述根据所述第三加速度和/或第三角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量,包括:根据所述第三加速度和所述第二速度,确定当前时刻所述可移动平台的目标速度;和/或根据所述第三角加速度和所述第二角速度,确定当前时刻所述可移动平台的目标角速度。Optionally, the determining the target control quantity for controlling the movement of the movable platform at the current moment according to the third acceleration and/or the third angular acceleration includes: according to the third acceleration and the second speed , Determine the target velocity of the movable platform at the current moment; and/or determine the target angular velocity of the movable platform at the current moment according to the third angular acceleration and the second angular velocity.
具体的,该底盘主控可根据第三加速度Acc_ref_slip和第二速度V t0,确定当前时刻t1该可移动机器人11的目标速度,此处将该可移动机器人11的目标速度记为V。具体的,V=Acc_ref_slip×Δt+V t0。和/或,根据 第三角加速度Beta_ref_slip和第二角速度ω t0,确定当前时刻t1该可移动机器人11的目标角速度,此处将该可移动机器人11的目标角速度记为ω,ω=Beta_ref_slip×Δt+ω t0Specifically, the chassis master control can determine the target speed of the mobile robot 11 at the current time t1 according to the third acceleration Acc_ref_slip and the second speed V t0 . Here, the target speed of the mobile robot 11 is denoted as V. Specifically, V=Acc_ref_slip×Δt+V t0 . And/or, according to the third angular acceleration Beta_ref_slip and the second angular velocity ω t0 , determine the target angular velocity of the movable robot 11 at the current time t1, where the target angular velocity of the movable robot 11 is denoted as ω, ω=Beta_ref_slip×Δt+ ω t0 .
具体的,当该底盘主控确定出该可移动机器人11的目标速度V和该可移动机器人11的目标角速度ω之后,可以根据该可移动机器人11的目标速度V和该可移动机器人11的目标角速度ω,控制该可移动机器人11运动。Specifically, after the chassis master control determines the target velocity V of the movable robot 11 and the target angular velocity ω of the movable robot 11, it can be based on the target velocity V of the movable robot 11 and the target velocity of the movable robot 11 The angular velocity ω controls the movement of the movable robot 11.
本实施例通过在对当前时刻该用户对底盘的期望加速度进行约束得到第二加速度,和/或对当前时刻该用户对底盘的期望角加速度进行约束得到第二角加速度的基础上,进一步,检测多个所述全向轮中打滑的全向轮,并根据所述第二加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三加速度,和/或,根据所述第二角加速度和至少一个所述全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三角加速度,进而根据所述第三加速度和/或第三角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量,使得该目标控制量不仅可避免该可移动平台的动力系统在短时间内达到较大的转速,同时还可以防止该可移动平台打滑,从而提高了该目标控制量的确定精度。In this embodiment, the second acceleration is obtained by constraining the user's expected acceleration of the chassis at the current moment, and/or the second angular acceleration is obtained by constraining the user's expected angular acceleration of the chassis at the current moment, and further detects A plurality of omnidirectional wheels slipping, and according to the second acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels, when at least one of the slipping omnidirectional wheels is not slipping, The third acceleration of the movable platform, and/or, according to the second angular acceleration and the degree of slip of at least one of the omnidirectional wheels, it is determined that when at least one of the slipping omnidirectional wheels does not slip, the movable The third angular acceleration of the platform, and then according to the third acceleration and/or the third angular acceleration, determine the target control quantity used to control the movement of the movable platform at the current moment, so that the target control quantity can not only avoid the movement of the movable platform The power system reaches a relatively large speed in a short time, and at the same time, it can prevent the movable platform from slipping, thereby improving the accuracy of determining the target control quantity.
本发明实施例提供一种可移动平台的控制方法。图11为本发明另一实施例提供的可移动平台的控制方法的流程图。如图11所示,在上述实施例的基础上,所述根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑之前,所述方法还包括:The embodiment of the present invention provides a method for controlling a movable platform. FIG. 11 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention. As shown in FIG. 11, on the basis of the foregoing embodiment, according to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels, Before determining whether each of the plurality of omnidirectional wheels is slipping, the method further includes:
步骤S1001、获取多个所述全向轮中每个所述全向轮对应的电机的电流。Step S1001: Obtain the current of the motor corresponding to each of the plurality of omnidirectional wheels.
例如,该底盘主控根据该4个全向轮中的每个全向轮的第一转矩和每个全向轮的实际转矩,确定该4个全向轮中的每个全向轮是否打滑之前,该底盘主控可通过电机控制器采集该4个全向轮中每个全向轮对应的电机的电流,具体的,该电机控制器可将每个全向轮对应的电机的电流通过通 信方式反馈给该底盘主控。例如,电机1的电流记为Iq1,电机2的电流记为Iq2,电机3的电流记为Iq3,电机4的电流记为Iq4。For example, the chassis master control determines each of the 4 omnidirectional wheels based on the first torque of each of the 4 omnidirectional wheels and the actual torque of each omnidirectional wheel. Before skidding, the chassis master control can collect the current of the motor corresponding to each of the four omnidirectional wheels through the motor controller. Specifically, the motor controller can adjust the motor current of each omnidirectional wheel. The current is fed back to the main control of the chassis through communication. For example, the current of motor 1 is denoted as Iq1, the current of motor 2 is denoted as Iq2, the current of motor 3 is denoted as Iq3, and the current of motor 4 is denoted as Iq4.
步骤S1002、根据每个所述全向轮对应的电机的电流,确定每个所述全向轮的实际转矩。Step S1002, according to the current of the motor corresponding to each omni wheel, determine the actual torque of each omni wheel.
具体的,根据该4个全向轮中每个全向轮对应的电机的电流,确定每个全向轮的实际转矩。例如,全向轮1的实际转矩Treal1=Kt*Iq1,其中,Kt为转矩系数,Kt与电机的电气参数相关,且该Kt可以预先测量得出。同理,全向轮2的实际转矩Treal2=Kt*Iq2,全向轮3的实际转矩Treal3=Kt*Iq3,全向轮4的实际转矩Treal4=Kt*Iq4。Specifically, according to the current of the motor corresponding to each of the four omnidirectional wheels, the actual torque of each omnidirectional wheel is determined. For example, the actual torque Treal1 of the omnidirectional wheel 1=Kt*Iq1, where Kt is the torque coefficient, Kt is related to the electrical parameters of the motor, and the Kt can be measured in advance. In the same way, the actual torque Treal2 of the omnidirectional wheel 2=Kt*Iq2, the actual torque Treal3 of the omnidirectional wheel 3=Kt*Iq3, and the actual torque Treal4 of the omnidirectional wheel 4=Kt*Iq4.
在其他实施例中,所述根据多个所述全向轮中每个所述全向轮的目标转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑之前,所述方法还包括:根据所述第一加速度和所述第一角加速度,确定多个所述全向轮中每个所述全向轮的第一转矩。In other embodiments, according to the target torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels, the Before each of the omnidirectional wheels is slipping, the method further includes: determining the first acceleration of each of the plurality of omnidirectional wheels according to the first acceleration and the first angular acceleration One torque.
例如,该底盘主控根据该4个全向轮中的每个全向轮的第一转矩和每个全向轮的实际转矩,确定该4个全向轮中的每个全向轮是否打滑之前,还可以根据第一加速度Acc_ref和第一角加速度Beta_ref,确定该4个全向轮中的每个全向轮的第一转矩。For example, the chassis master control determines each of the 4 omnidirectional wheels based on the first torque of each of the 4 omnidirectional wheels and the actual torque of each omnidirectional wheel. Before skidding, the first torque of each of the four omnidirectional wheels can be determined according to the first acceleration Acc_ref and the first angular acceleration Beta_ref.
可选的,根据所述第一加速度和所述第一角加速度,确定多个所述全向轮中每个所述全向轮的第一转矩,包括如图12所示的如下步骤:Optionally, determining the first torque of each of the plurality of omnidirectional wheels according to the first acceleration and the first angular acceleration includes the following steps as shown in FIG. 12:
步骤S1101、根据所述第一加速度和所述可移动平台的重量,确定多个所述全向轮中第一对角轮的合转矩与第二对角轮的合转矩的和值。Step S1101, according to the first acceleration and the weight of the movable platform, determine the sum of the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel among the plurality of omnidirectional wheels.
如图2所示,假设全向轮1和全向轮2位于可移动机器人11的左侧,全向轮3和全向轮4位于可移动机器人11的右侧,此处,将全向轮1和全向轮4记为第一对角轮,将全向轮2和全向轮3记为第二对角轮。可以理解,可移动机器人11的加速度a和该可移动机器人11受到的总合力F之间的关系为F=m*a,其中,m表示可移动机器人11的重量。进一步,根据F=m*a可确定出该可移动机器人11的总转矩、m、a之间的关系即F*r=m*a*r,其中,F*r表示该可移动机器人11的总转矩,r表示全向轮的半径。因此,当F*r=m*a*r中的a为如上所述的第一加速度Acc_ref时,则F*r表示该4个全向轮中每个全向轮的第一转矩之和,此处,可将 Tref1+Tref4记为第一对角轮的合转矩Ta,将Tref2+Tref3记为第二对角轮的合转矩Tb,Ta和Tb的和值Ta+Tb可表示为如下公式(3)As shown in Figure 2, assuming that the omnidirectional wheel 1 and the omnidirectional wheel 2 are located on the left side of the mobile robot 11, the omnidirectional wheel 3 and the omnidirectional wheel 4 are located on the right side of the mobile robot 11. Here, the omnidirectional wheel 1 and omnidirectional wheel 4 are recorded as the first diagonal wheel, and omnidirectional wheel 2 and omnidirectional wheel 3 are recorded as the second diagonal wheel. It can be understood that the relationship between the acceleration a of the mobile robot 11 and the total force F received by the mobile robot 11 is F=m*a, where m represents the weight of the mobile robot 11. Further, according to F=m*a, the relationship between the total torque, m, and a of the mobile robot 11 can be determined, that is, F*r=m*a*r, where F*r represents the mobile robot 11 The total torque of r represents the radius of the omnidirectional wheel. Therefore, when a in F*r=m*a*r is the first acceleration Acc_ref as described above, then F*r represents the sum of the first torque of each of the four omnidirectional wheels Here, Tref1+Tref4 can be recorded as the total torque Ta of the first diagonal wheel, and Tref2+Tref3 can be recorded as the total torque Tb of the second diagonal wheel. The sum of Ta and Tb can be expressed as Ta+Tb Is the following formula (3)
Ta+Tb=m*Acc_ref*r   (3)Ta+Tb=m*Acc_ref*r (3)
步骤S1102、根据所述第一角加速度和所述可移动平台的底盘的几何中心到所述全向轮的距离,确定多个所述全向轮中所述第一对角轮的合转矩与所述第二对角轮的合转矩的差值。Step S1102, according to the first angular acceleration and the distance from the geometric center of the chassis of the movable platform to the omnidirectional wheel, determine the combined torque of the first diagonal wheel among the plurality of omnidirectional wheels The difference between the combined torque and the second diagonal wheel.
在本实施例中,该可移动机器人11的底盘的几何中心具体可以是如上所述的底盘的运动学中心或底盘的质心,可移动机器人11的底盘的几何中心到4个全向轮中每个全向轮的距离相同,即如上所述的l 1、l 2、l 3、l 4相同,在本实施例中将可移动机器人11的底盘的几何中心到4个全向轮中每个全向轮的距离记为L。根据如上所述的第一角加速度Beta_ref和L可确定出第一对角轮的合转矩Ta和第二对角轮的合转矩Tb的差值。Ta和Tb的差值Ta-Tb可表示为如下公式(4): In this embodiment, the geometric center of the chassis of the mobile robot 11 may specifically be the kinematic center of the chassis or the center of mass of the chassis as described above. The geometric center of the chassis of the mobile robot 11 can be divided into four omnidirectional wheels. The distances of the four omnidirectional wheels are the same, that is, l 1 , l 2 , l 3 , and l 4 are the same as described above. In this embodiment, the geometric center of the chassis of the mobile robot 11 is set to each of the four omnidirectional wheels. The distance of the omni wheel is recorded as L. According to the first angular acceleration Beta_ref and L as described above, the difference between the resultant torque Ta of the first diagonal wheel and the resultant torque Tb of the second diagonal wheel can be determined. The difference Ta-Tb between Ta and Tb can be expressed as the following formula (4):
Ta-Tb=J*Beta_ref/L   (4)Ta-Tb=J*Beta_ref/L (4)
其中,J表示转动惯量,J可预先测得。Among them, J represents the moment of inertia, and J can be measured in advance.
可以理解,本实施例所述的部分步骤之间可以没有先后顺序,例如,步骤S1101和步骤S1102。It can be understood that there may be no sequence between some of the steps described in this embodiment, for example, step S1101 and step S1102.
步骤S1103、根据所述第一对角轮的合转矩与所述第二对角轮的合转矩的和值,以及所述第一对角轮的合转矩与所述第二对角轮的合转矩的差值,确定所述第一对角轮的合转矩、以及所述第二对角轮的合转矩。Step S1103, according to the sum of the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel, and the combined torque of the first diagonal wheel and the second diagonal The difference between the combined torque of the wheels determines the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel.
根据如上公式(3)和公式(4)即可确定出第一对角轮的合转矩Ta和第二对角轮的合转矩Tb。According to the above formula (3) and formula (4), the resultant torque Ta of the first diagonal wheel and the resultant torque Tb of the second diagonal wheel can be determined.
步骤S1104、根据所述第一对角轮的合转矩、以及所述第二对角轮的合转矩,确定所述可移动平台的多个所述全向轮中每个所述全向轮的第一转矩。Step S1104, according to the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel, determine each of the plurality of omnidirectional wheels of the movable platform The first torque of the wheel.
进一步,根据第一对角轮的合转矩Ta和第二对角轮的合转矩Tb,可确定出该4个全向轮中每个全向轮的第一转矩。Further, according to the combined torque Ta of the first diagonal wheel and the combined torque Tb of the second diagonal wheel, the first torque of each of the four omnidirectional wheels can be determined.
可选的,所述根据所述第一对角轮的合转矩、以及所述第二对角轮的合转矩,确定所述可移动平台的多个所述全向轮中每个所述全向轮的第一转矩,包括:根据所述第一速度和所述第一角速度,确定多个所述全向轮 中每个所述全向轮需要达到的第一转速;根据所述第一对角轮的合转矩、以及所述第一对角轮包括的每个所述全向轮的第一转速,确定所述第一对角轮包括的每个所述全向轮的第一转矩;根据所述第二对角轮的合转矩、以及所述第二对角轮包括的每个所述全向轮的第一转速,确定所述第二对角轮包括的每个所述全向轮的第一转矩。Optionally, said determining each of the plurality of omnidirectional wheels of the movable platform according to the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel The first torque of the omnidirectional wheel includes: determining, according to the first speed and the first angular velocity, the first rotational speed that each of the plurality of omnidirectional wheels needs to reach; The combined torque of the first diagonal wheel and the first rotational speed of each of the omnidirectional wheels included in the first diagonal wheel determine each of the omnidirectional wheels included in the first diagonal wheel The first torque; according to the combined torque of the second diagonal wheel and the first rotational speed of each of the omnidirectional wheels included in the second diagonal wheel, it is determined that the second diagonal wheel includes The first torque of each of the omnidirectional wheels.
如上所述,该可移动机器人11的第一速度为V t1,该可移动机器人11的第一角速度为ω t1,该第一速度可在如上所述的机体坐标系的X轴上有一个分量,在该机体坐标系的Y轴上有一个分量,将该第一速度V t1在机体坐标系的X轴上的分量、该第一速度V t1在机体坐标系的Y轴上的分量、以及第一角速度ω t1代入如上所述的运动学方程中,可确定出为了使可移动机器人11的速度达到该第一速度V t1,以及使该可移动机器人11的角速度达到该第一角速度ω t1,该可移动机器人11的底盘的4个电机中每个电机需要达到的第一转速。具体的,可以将电机1的第一转速记为ω 1′,将电机2的第一转速记为ω 2′,将电机3的第一转速记为ω 3′,将电机4的第一转速记为ω 4′。 As described above, the first speed of the mobile robot 11 is V t1 , the first angular speed of the mobile robot 11 is ω t1 , and the first speed may have a component on the X axis of the body coordinate system as described above , There is a component on the Y axis of the airframe coordinate system, the first velocity V t1 on the X axis of the airframe coordinate system, the first velocity V t1 on the Y axis of the airframe coordinate system, and The first angular velocity ω t1 is substituted into the kinematic equations described above, and it can be determined that the velocity of the movable robot 11 reaches the first velocity V t1 and the angular velocity of the movable robot 11 reaches the first angular velocity ω t1 , The first rotational speed that each of the four motors of the chassis of the movable robot 11 needs to reach. Specifically, the first rotation speed of the motor 1 may be denoted as ω 1 ′, the first rotation speed of the motor 2 may be denoted as ω 2 ′, the first rotation speed of the motor 3 may be denoted as ω 3 ′, and the first rotation of the motor 4 The shorthand is ω 4 ′.
可以理解,电机的转速与电机的转矩成正相关。根据电机1的第一转速ω 1′和电机4的第一转速ω 4′的比值,以及第一对角轮的合转矩Ta即Tref1+Tref4,可确定出Tref1和Tref4,例如,Ta=4,ω 1′和ω 4′的比值为1:3,则Tref1=1,Tref4=3。 It can be understood that the speed of the motor is positively related to the torque of the motor. According to the ratio of the first rotation speed ω 1 ′ of the motor 1 and the first rotation speed ω 4 ′ of the motor 4, and the combined torque Ta of the first diagonal wheel, namely Tref1+Tref4, Tref1 and Tref4 can be determined, for example, Ta= 4. The ratio of ω 1 ′ and ω 4 ′ is 1:3, then Tref1=1 and Tref4=3.
同理,根据电机2的第一转速ω 2′和电机3的第一转速ω 3′的比值,以及第二对角轮的合转矩Tb即Tref2+Tref3,可确定出Tref2和Tref3。 Similarly, according to the ratio of the first rotation speed ω 2 ′ of the motor 2 and the first rotation speed ω 3 ′ of the motor 3, and the resultant torque Tb of the second diagonal wheel, that is, Tref2+Tref3, Tref2 and Tref3 can be determined.
本实施例通过在根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑之前,确定每个所述全向轮的实际转矩或者确定每个所述全向轮的第一转矩,提高了对每个所述全向轮是否打滑的检测精度。In this embodiment, by determining each of the plurality of omnidirectional wheels according to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels Before each of the omnidirectional wheels is slipping, determine the actual torque of each omnidirectional wheel or determine the first torque of each omnidirectional wheel, which improves the Detection accuracy.
本发明实施例提供一种可移动平台的控制方法。图13为本发明另一实施例提供的可移动平台的控制方法的流程图。如图13所示,在上述实施例的基础上,所述根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量,可以包括:The embodiment of the present invention provides a method for controlling a movable platform. FIG. 13 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention. As shown in FIG. 13, on the basis of the foregoing embodiment, the determining the target control amount for controlling the movement of the movable platform at the current moment according to the first control amount and the second control amount may include :
步骤S1201、检测多个所述全向轮中的每个所述全向轮是否打滑。Step S1201, detecting whether each of the plurality of omnidirectional wheels is slipping.
步骤S1201的实现方式和原理与上述步骤S901的实现方式和原理均一致,此处不再赘述。The implementation manner and principle of step S1201 are consistent with the implementation manner and principle of step S901 described above, and will not be repeated here.
步骤S1202、若多个所述全向轮中至少有一个所述全向轮打滑,则确定至少一个所述打滑的全向轮的打滑程度。Step S1202, if at least one of the plurality of omnidirectional wheels slips, determine the degree of slippage of at least one of the slipped omnidirectional wheels.
步骤S1202的实现方式和原理与上述步骤S902的实现方式和原理均一致,此处不再赘述。The implementation manner and principle of step S1202 are consistent with the implementation manner and principle of step S902 described above, and will not be repeated here.
步骤S1203、根据所述第一控制量和所述第二控制量,确定当前时刻所述可移动平台需要达到的第一加速度和/或第一角加速度。Step S1203: According to the first control quantity and the second control quantity, determine the first acceleration and/or the first angular acceleration that the movable platform needs to achieve at the current moment.
如上所述,第一控制量包括该可移动机器人11的第一速度V t1和该可移动机器人11的第一角速度ω t1中的至少一个。第二控制量包括该可移动机器人11的第二速度V t0和该可移动机器人11的第二角速度ω t0中的至少一个。根据可移动机器人11的第一速度V t1和该可移动机器人11的第二速度V t0,可确定出当前时刻可移动机器人11需要达到的第一加速度Acc_ref,和/或,根据可移动机器人11的第一角速度ω t1和该可移动机器人11的第二角速度ω t0,可确定出当前时刻可移动机器人11需要达到的第一角加速度Beta_ref。 As described above, the first control amount includes at least one of the first velocity V t1 of the movable robot 11 and the first angular velocity ω t1 of the movable robot 11. The second control amount includes at least one of the second velocity V t0 of the movable robot 11 and the second angular velocity ω t0 of the movable robot 11. According to the first speed V t1 of the mobile robot 11 and the second speed V t0 of the mobile robot 11, the first acceleration Acc_ref that the mobile robot 11 needs to achieve at the current moment can be determined, and/or, according to the mobile robot 11 The first angular velocity ω t1 of the mobile robot 11 and the second angular velocity ω t0 of the mobile robot 11 can determine the first angular acceleration Beta_ref that the mobile robot 11 needs to achieve at the current moment.
可以理解,本实施例所述的部分步骤之间可以没有先后顺序,例如,步骤S1201、步骤S1202和步骤S1203。例如,在其他实施例中,还可以先执行步骤S1203,然后再执行步骤S1201和步骤S1202。It can be understood that there may be no sequence between some steps described in this embodiment, for example, step S1201, step S1202, and step S1203. For example, in other embodiments, step S1203 may be performed first, and then step S1201 and step S1202 are performed.
步骤S1204、根据至少一个所述打滑的全向轮的打滑程度、所述第一加速度和/或所述第一角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量。Step S1204: Determine a target control amount for controlling the movement of the movable platform at the current moment according to the degree of slip of at least one of the slipping omnidirectional wheels, the first acceleration and/or the first angular acceleration.
如上所述,假设底盘主控确定4个全向轮中全向轮3和全向轮4打滑,并且确定全向轮3的打滑程度为Slip3,全向轮4的打滑程度为Slip4。As described above, suppose that the chassis master determines that the omnidirectional wheel 3 and the omnidirectional wheel 4 of the 4 omnidirectional wheels are slipping, and that the degree of slippage of the omnidirectional wheel 3 is Slip3 and the degree of slippage of the omnidirectional wheel 4 is Slip4.
在本实施例中,底盘主控可根据全向轮3的打滑程度Slip3、全向轮4的打滑程度Slip4、第一加速度Acc_ref和/或第一角加速度Beta_ref,确定控制可移动机器人11运动的目标控制量。In this embodiment, the chassis master control can determine the control of the movement of the movable robot 11 according to the slip degree Slip3 of the omnidirectional wheel 3, the slip degree Slip4 of the omnidirectional wheel 4, the first acceleration Acc_ref and/or the first angular acceleration Beta_ref. Target control amount.
可选的,所述根据至少一个所述打滑的全向轮的打滑程度、所述第一加速度和/或所述第一角加速度,确定当前时刻用于控制所述可移动平台 运动的目标控制量,包括:根据所述第一加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四加速度;和/或根据所述第一角加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四角加速度;根据所述第四加速度和/或所述第四角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量。Optionally, the target control for controlling the movement of the movable platform at the current moment is determined according to the degree of slip of at least one of the slipping omnidirectional wheels, the first acceleration and/or the first angular acceleration The quantity includes: determining the fourth acceleration of the movable platform when at least one of the slipping omnidirectional wheels is not slipping according to the first acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels; and/ Or according to the first angular acceleration and the degree of slip of at least one of the slipping omnidirectional wheels, the fourth angular acceleration of the movable platform is determined when at least one of the slipping omnidirectional wheels is not slipping; according to the The fourth acceleration and/or the fourth angular acceleration determine the target control variable used to control the movement of the movable platform at the current moment.
例如,在确定出全向轮3和全向轮4打滑,以及全向轮3和全向轮4的打滑程度后,可根据如上所述的第一加速度Acc_ref、全向轮3和全向轮4的打滑程度,确定全向轮3和全向轮4不打滑时,可移动机器人11的第四加速度,此处,将可移动机器人11的第四加速度记为Acc_ref_slip′。和/或,根据如上所述的第一角加速度Beta_ref、全向轮3和全向轮4的打滑程度,确定全向轮3和全向轮4不打滑时,可移动机器人11的第四角加速度,此处,将可移动机器人11的第四角加速度记为Beta_ref_slip′。进一步,根据Acc_ref_slip′和/或Beta_ref_slip′确定控制可移动机器人11运动的目标控制量。For example, after determining the slip of the omnidirectional wheel 3 and the omnidirectional wheel 4, and the degree of slippage of the omnidirectional wheel 3 and the omnidirectional wheel 4, the first acceleration Acc_ref, the omnidirectional wheel 3 and the omnidirectional wheel The slip degree of 4 determines the fourth acceleration of the mobile robot 11 when the omnidirectional wheel 3 and the omnidirectional wheel 4 do not slip. Here, the fourth acceleration of the mobile robot 11 is recorded as Acc_ref_slip'. And/or, according to the aforementioned first angular acceleration Beta_ref, the degree of slippage of the omnidirectional wheel 3 and the omnidirectional wheel 4, it is determined that when the omnidirectional wheel 3 and the omnidirectional wheel 4 are not slipping, the fourth corner of the movable robot 11 Acceleration, here, the fourth angular acceleration of the mobile robot 11 is recorded as Beta_ref_slip'. Further, the target control amount for controlling the movement of the movable robot 11 is determined according to Acc_ref_slip' and/or Beta_ref_slip'.
可选的,所述根据所述第一加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四加速度,包括:根据所述第一加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定所述可移动平台的第四加速度。Optionally, the fourth acceleration of the movable platform is determined when the at least one slipping omnidirectional wheel is not slipping according to the first acceleration and the degree of slippage of the at least one slipping omnidirectional wheel, The method includes: determining the fourth acceleration of the movable platform according to the first acceleration and the largest degree of slippage among the degree of slippage of at least one of the slipping omnidirectional wheels.
例如,根据如上所述的第一加速度Acc_ref、全向轮3和全向轮4的打滑程度,确定全向轮3和全向轮4不打滑时,可移动机器人11的第四加速度Acc_ref_slip′时,先确定全向轮3的打滑程度和全向轮4的打滑程度中最大的一个打滑程度Slip。进一步,根据如上所述的第一加速度Acc_ref和Slip确定全向轮3和全向轮4不打滑时,可移动机器人11的第四加速度Acc_ref_slip′,如下公式(5)所示:For example, according to the aforementioned first acceleration Acc_ref, the degree of slippage of the omnidirectional wheel 3 and the omnidirectional wheel 4, it is determined that when the omnidirectional wheel 3 and the omnidirectional wheel 4 are not slipping, the fourth acceleration Acc_ref_slip' of the movable robot 11 is , First determine the slip degree of the omnidirectional wheel 3 and the slip degree of the omnidirectional wheel 4, the largest slip degree Slip. Further, when it is determined that the omnidirectional wheel 3 and the omnidirectional wheel 4 are not slipping according to the above-mentioned first acceleration Acc_ref and Slip, the fourth acceleration Acc_ref_slip′ of the mobile robot 11 is shown in the following formula (5):
Acc_ref_slip′=Acc_ref-Kp*Slip   (5)Acc_ref_slip′=Acc_ref-Kp*Slip (5)
可选的,所述根据所述第一角加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四角加速度,包括:根据所述第一角加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定所述可移动平台的第四角加速度。Optionally, when it is determined that the at least one slipping omnidirectional wheel is not slipping according to the first angular acceleration and the degree of slippage of the at least one slipping omnidirectional wheel, the fourth corner of the movable platform The acceleration includes: determining the fourth angular acceleration of the movable platform according to the first angular acceleration and the largest degree of slippage among the degree of slippage of at least one of the slipping omnidirectional wheels.
例如,根据如上所述的第一角加速度Beta_ref、全向轮3和全向轮4的打滑程度,确定全向轮3和全向轮4不打滑时,可移动机器人11的第四角加速度Beta_ref_slip′时,先确定全向轮3的打滑程度和全向轮4的打滑程度中最大的一个打滑程度Slip,进一步,根据如上所述的第一角加速度Beta_ref和Slip确定全向轮3和全向轮4不打滑时,可移动机器人11的第四角加速度Beta_ref_slip′,如下公式(6)所示:For example, the fourth angular acceleration Beta_ref_slip of the movable robot 11 is determined when the omnidirectional wheel 3 and the omnidirectional wheel 4 are not slipping according to the first angular acceleration Beta_ref, the degree of slippage of the omnidirectional wheel 3 and the omnidirectional wheel 4 as described above ′, first determine the degree of slippage of the omnidirectional wheel 3 and the degree of slippage of the omnidirectional wheel 4, which is the largest one, Slip, and further, determine the omnidirectional wheel 3 and the omnidirectional wheel according to the first angular acceleration Beta_ref and Slip as described above. When the wheel 4 is not slipping, the fourth angular acceleration Beta_ref_slip′ of the mobile robot 11 is shown in the following formula (6):
Beta_ref_slip′=Beta_ref-Kp'*Slip   (6)Beta_ref_slip'=Beta_ref-Kp'*Slip (6)
可选的,所述根据所述第四加速度和/或所述第四角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量,包括:根据所述第四加速度和所述第二速度,确定当前时刻所述可移动平台的目标速度;和/或根据所述第四角加速度和所述第二角速度,确定当前时刻所述可移动平台的目标角速度。Optionally, the determining the target control quantity for controlling the movement of the movable platform at the current moment according to the fourth acceleration and/or the fourth angular acceleration includes: according to the fourth acceleration and the The second velocity determines the target velocity of the movable platform at the current moment; and/or determines the target angular velocity of the movable platform at the current moment according to the fourth angular acceleration and the second angular velocity.
具体的,该底盘主控可根据第四加速度Acc_ref_slip′和第二速度V t0,确定当前时刻t1该可移动机器人11的目标速度,此处将该可移动机器人11的目标速度记为V。具体的,V=Acc_ref_slip′×Δt+V t0。和/或,根据第四角加速度Beta_ref_slip′和第二角速度ω t0,确定当前时刻t1该可移动机器人11的目标角速度,此处将该可移动机器人11的目标角速度记为ω,ω=Beta_ref_slip′×Δt+ω t0Specifically, the chassis master control can determine the target speed of the mobile robot 11 at the current time t1 according to the fourth acceleration Acc_ref_slip′ and the second speed V t0 , where the target speed of the mobile robot 11 is denoted as V. Specifically, V=Acc_ref_slip′×Δt+V t0 . And/or, according to the fourth angular acceleration Beta_ref_slip' and the second angular velocity ω t0 , determine the target angular velocity of the movable robot 11 at the current time t1, here the target angular velocity of the movable robot 11 is denoted as ω, ω=Beta_ref_slip' ×Δt+ω t0 .
具体的,当该底盘主控确定出该可移动机器人11的目标速度V和该可移动机器人11的目标角速度ω之后,可以根据该可移动机器人11的目标速度V和该可移动机器人11的目标角速度ω,控制该可移动机器人11运动。Specifically, after the chassis master control determines the target velocity V of the movable robot 11 and the target angular velocity ω of the movable robot 11, it can be based on the target velocity V of the movable robot 11 and the target velocity of the movable robot 11 The angular velocity ω controls the movement of the movable robot 11.
本实施例通过检测多个所述全向轮中打滑的全向轮,并根据所述第一加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四加速度,和/或,根据所述第一角加速度和至少一个所述全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四角加速度,根据所述第四加速度和/或第四角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量,使得该目标控制量可以防止该可移动平台打滑,从而提高了该目标控制量的确定精度。In this embodiment, by detecting the slipping omnidirectional wheels among the plurality of omnidirectional wheels, and determining at least one slipping omnidirectional wheel according to the first acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels When not slipping, the fourth acceleration of the movable platform, and/or, according to the first angular acceleration and the degree of slippage of at least one of the omnidirectional wheels, determine when at least one of the omnidirectional wheels is not slipping , The fourth angular acceleration of the movable platform, according to the fourth acceleration and/or the fourth angular acceleration, determine the target control amount used to control the movement of the movable platform at the current moment, so that the target control amount can prevent The movable platform slips, thereby improving the accuracy of determining the target control amount.
本发明实施例提供一种可移动平台的控制方法。图14为本发明另一实施例提供的可移动平台的控制方法的流程图。如图14所示,在上述实施例的基础上,当所述电机对应的电机控制器为按照转矩环模式运行时,所述根据所述目标控制量,控制所述可移动平台运动,包括:The embodiment of the present invention provides a method for controlling a movable platform. FIG. 14 is a flowchart of a method for controlling a movable platform according to another embodiment of the present invention. As shown in FIG. 14, on the basis of the foregoing embodiment, when the motor controller corresponding to the motor operates in the torque loop mode, the control of the movement of the movable platform according to the target control amount includes :
步骤S1301、根据所述可移动平台的目标速度和所述可移动平台的目标角速度,确定多个所述全向轮中每个所述全向轮的目标转矩。Step S1301, according to the target speed of the movable platform and the target angular speed of the movable platform, determine the target torque of each of the plurality of omnidirectional wheels.
例如,根据可移动机器人11的目标速度V和该可移动机器人11的目标角速度ω,确定该4个全向轮中每个全向轮的目标转矩。例如,将全向轮1的目标转矩记为Ttarget1,将全向轮2的目标转矩记为Ttarget2,将全向轮3的目标转矩记为Ttarget3,将全向轮4的目标转矩记为Ttarget4。For example, according to the target speed V of the movable robot 11 and the target angular speed ω of the movable robot 11, the target torque of each of the four omnidirectional wheels is determined. For example, denote the target torque of the omnidirectional wheel 1 as Ttarget1, the target torque of the omnidirectional wheel 2 as Ttarget2, the target torque of the omnidirectional wheel 3 as Ttarget3, and the target torque of the omnidirectional wheel 4 Denoted as Ttarget4.
可选的,所述根据所述可移动平台的目标速度和所述可移动平台的目标角速度,确定多个所述全向轮中每个所述全向轮的目标转矩,包括:根据所述目标速度对应的目标加速度和所述可移动平台的重量,确定多个所述全向轮中第一对角轮的目标合转矩与第二对角轮的目标合转矩的和值;根据所述目标角速度对应的目标角加速度和所述可移动平台的底盘的几何中心到所述全向轮的距离,确定多个所述全向轮中所述第一对角轮的目标合转矩与所述第二对角轮的目标合转矩的差值;根据所述第一对角轮的目标合转矩与所述第二对角轮的目标合转矩的和值,以及所述第一对角轮的目标合转矩与所述第二对角轮的目标合转矩的差值,确定所述第一对角轮的目标合转矩、以及所述第二对角轮的目标合转矩;根据所述第一对角轮的目标合转矩、以及所述第二对角轮的目标合转矩,确定多个所述全向轮中每个所述全向轮的目标转矩。Optionally, the determining the target torque of each of the plurality of omnidirectional wheels according to the target speed of the movable platform and the target angular velocity of the movable platform includes: Determining the target acceleration corresponding to the target speed and the weight of the movable platform, determining the sum of the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel among the plurality of omnidirectional wheels; According to the target angular acceleration corresponding to the target angular velocity and the distance from the geometric center of the chassis of the movable platform to the omnidirectional wheel, the target co-rotation of the first diagonal wheel among the plurality of omnidirectional wheels is determined The difference between the moment and the target total torque of the second diagonal wheel; according to the sum of the target total torque of the first diagonal wheel and the target total torque of the second diagonal wheel, and The difference between the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel determines the target combined torque of the first diagonal wheel and the second diagonal wheel The target combined torque; according to the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel, determine each of the plurality of omnidirectional wheels The target torque.
例如,全向轮1和全向轮4为第一对角轮,全向轮2和全向轮3为第二对角轮。当F*r=m*a*r中的a为如上所述的目标速度V对应的目标加速度Acc_ref_target时,F*r表示该4个全向轮中每个全向轮的目标转矩之和,此处,将目标速度V对应的目标加速度记为Acc_ref_target,
Figure PCTCN2019090754-appb-000004
此处,可将Ttarget1+Ttarget4记为第一对角轮的目标合转矩Ta′,将Ttarget2+Ttarget3记为第二对角轮的目标合转矩Tb′, Ta′和Tb′的和值Ta′+Tb′可表示为如下公式(7)
For example, the omnidirectional wheel 1 and the omnidirectional wheel 4 are the first diagonal wheels, and the omnidirectional wheel 2 and the omnidirectional wheel 3 are the second diagonal wheels. When a in F*r=m*a*r is the target acceleration Acc_ref_target corresponding to the target speed V as described above, F*r represents the sum of the target torque of each of the four omnidirectional wheels , Here, the target acceleration corresponding to the target speed V is recorded as Acc_ref_target,
Figure PCTCN2019090754-appb-000004
Here, Ttarget1+Ttarget4 can be recorded as the target total torque Ta' of the first diagonal wheel, and Ttarget2+Ttarget3 can be recorded as the sum of the target total torque Tb', Ta' and Tb' of the second diagonal wheel Ta′+Tb′ can be expressed as the following formula (7)
Ta′+Tb′=m*Acc_ref_target*r  (7)Ta′+Tb′=m*Acc_ref_target*r (7)
另外,将该可移动机器人11的目标角速度ω对应的目标角加速度记为
Figure PCTCN2019090754-appb-000005
进一步,根据Beta_ref_target和L可确定出第一对角轮的目标合转矩Ta′和第二对角轮的目标合转矩Tb′的差值。Ta′和Tb′的差值Ta′-Tb′可表示为如下公式(8):
In addition, the target angular acceleration corresponding to the target angular velocity ω of the mobile robot 11 is recorded as
Figure PCTCN2019090754-appb-000005
Further, the difference between the target total torque Ta' of the first diagonal wheel and the target total torque Tb' of the second diagonal wheel can be determined according to Beta_ref_target and L. The difference Ta'-Tb' between Ta' and Tb' can be expressed as the following formula (8):
Ta′-Tb′=J*Beta_ref_target/L   (8)Ta′-Tb′=J*Beta_ref_target/L (8)
根据如上公式(7)和公式(8)即可确定出第一对角轮的目标合转矩Ta′和第二对角轮的目标合转矩Tb′。进一步,根据第一对角轮的目标合转矩Ta′和第二对角轮的目标合转矩Tb′,可确定出该4个全向轮中每个全向轮的目标转矩。According to the above formula (7) and formula (8), the target resultant torque Ta' of the first diagonal wheel and the target resultant torque Tb' of the second diagonal wheel can be determined. Further, according to the target total torque Ta' of the first diagonal wheel and the target total torque Tb' of the second diagonal wheel, the target torque of each of the four omnidirectional wheels can be determined.
可选的,所述根据所述第一对角轮的目标合转矩、以及所述第二对角轮的目标合转矩,确定多个所述全向轮中每个所述全向轮的目标转矩,包括:根据所述目标速度和所述目标角速度,确定多个所述全向轮中每个所述全向轮需要达到的目标转速;根据所述第一对角轮的目标合转矩、以及所述第一对角轮包括的每个所述全向轮的目标转速,确定所述第一对角轮包括的每个所述全向轮的目标转矩;根据所述第二对角轮的目标合转矩、以及所述第二对角轮包括的每个所述全向轮的目标转速,确定所述第二对角轮包括的每个所述全向轮的目标转矩。Optionally, said determining each of the plurality of omnidirectional wheels according to the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel The target torque includes: determining, according to the target speed and the target angular velocity, the target speed that each of the plurality of omnidirectional wheels needs to reach; and according to the target of the first diagonal wheel Determine the target torque of each of the omnidirectional wheels included in the first diagonal wheel and the target rotational speed of each of the omnidirectional wheels included in the first diagonal wheel; The target combined torque of the second diagonal wheel and the target rotational speed of each of the omnidirectional wheels included in the second diagonal wheel are determined to determine the Target torque.
具体的,根据第一对角轮的目标合转矩Ta′和第二对角轮的目标合转矩Tb′,确定该4个全向轮中每个全向轮的目标转矩时,根据可移动机器人11的目标速度V和该可移动机器人11的目标角速度ω,确定可移动机器人11的底盘的4个电机中每个电机需要达到的目标转速,具体过程如上所述,此处不再赘述。进一步,根据电机1的目标转速ω 1和电机4的目标转速ω 4的比值,以及第一对角轮的目标合转矩Ta′即Ttarget1+Ttarget4,可确定出Ttarget1和Ttarget4。以及根据电机2的目标转速ω 2和电机3的目标转速ω 3的比值,以及第二对角轮的目标合转矩Tb′即Ttarget2+Ttarget3,可确定出Ttarget2和Ttarget3。 Specifically, when determining the target torque of each of the four omnidirectional wheels according to the target combined torque Ta' of the first diagonal wheel and the target combined torque Tb' of the second diagonal wheel, according to The target speed V of the mobile robot 11 and the target angular speed ω of the mobile robot 11 determine the target speed that each of the four motors of the chassis of the mobile robot 11 needs to reach. Repeat. Further, according to the ratio of the target rotation speed ω 1 of the motor 1 and the target rotation speed ω 4 of the motor 4, and the target total torque Ta′ of the first diagonal wheel, that is, Ttarget1+Ttarget4, Ttarget1 and Ttarget4 can be determined. And according to the ratio of the target rotation speed ω 2 of the motor 2 and the target rotation speed ω 3 of the motor 3, and the target total torque Tb′ of the second diagonal wheel, namely Ttarget2+Ttarget3, Ttarget2 and Ttarget3 can be determined.
步骤S1302、根据每个所述全向轮的目标转矩,控制所述可移动平台 运动。Step S1302, according to the target torque of each omni wheel, control the movement of the movable platform.
当底盘主控确定出该4个全向轮中每个全向轮的目标转矩后,根据每个全向轮的目标转矩,控制可移动机器人运动。After the main control of the chassis determines the target torque of each of the 4 omnidirectional wheels, it controls the movement of the movable robot according to the target torque of each omnidirectional wheel.
可选的,所述根据每个所述全向轮的目标转矩,控制所述可移动平台运动,包括:将每个所述全向轮的目标转矩发送给所述全向轮对应的电机控制器,所述电机控制器用于根据所述目标转矩驱动所述全向轮对应的电机转动。Optionally, the controlling the movement of the movable platform according to the target torque of each omnidirectional wheel includes: sending the target torque of each omnidirectional wheel to the corresponding omnidirectional wheel A motor controller, which is used to drive the motor corresponding to the omni wheel to rotate according to the target torque.
例如,如图2所示,底盘主控将该4个电机中每个全向轮的目标转矩发送给电机控制器,由该电机控制器根据每个全向轮的目标转矩驱动该全向轮对应的电机转动,使得4个电机分别转动到相应的目标转矩。在其他实施例中,每个电机可以连接有一个电机控制器,该底盘主控确定出可移动机器人11的4个全向轮中每个全向轮的目标转矩后,可以将该4个全向轮中每个全向轮的目标转矩发送给该全向轮对应电机所连接的电机控制器,由每个电机对应的电机控制器控制相应的电机转动。For example, as shown in Figure 2, the chassis main control sends the target torque of each of the four motors to the motor controller, and the motor controller drives the omnidirectional wheel according to the target torque of each omnidirectional wheel. The motor corresponding to the direction wheel rotates so that the 4 motors rotate to the corresponding target torques respectively. In other embodiments, each motor may be connected to a motor controller, and after the chassis master control determines the target torque of each of the four omnidirectional wheels of the mobile robot 11, the four The target torque of each omnidirectional wheel in the omnidirectional wheel is sent to the motor controller connected to the motor of the omnidirectional wheel, and the motor controller corresponding to each motor controls the rotation of the corresponding motor.
本实施例通过在电机对应的电机控制器为按照转矩环模式运行时,根据所述可移动平台的目标速度和所述可移动平台的目标角速度,确定多个所述全向轮中每个所述全向轮的目标转矩,并根据每个所述全向轮的目标转矩,控制所述可移动平台运动,增加了控制所述可移动平台运动的灵活性。In this embodiment, when the motor controller corresponding to the motor is operating in the torque loop mode, each of the plurality of omnidirectional wheels is determined according to the target speed of the movable platform and the target angular speed of the movable platform The target torque of the omnidirectional wheel is used to control the movement of the movable platform according to the target torque of each omnidirectional wheel, which increases the flexibility of controlling the movement of the movable platform.
本发明实施例提供一种可移动平台的控制设备。所述可移动平台包括动力系统,所述动力系统用于驱动所述可移动平台运动,所述动力系统包括至少一个电机控制器、多个电机以及与所述电机一一对应的多个全向轮,所述至少一个电机控制器用于控制多个所述电机转动,多个所述电机分别用于驱动对应的全向轮转动。图15为本发明实施例提供的控制设备的结构图,如图15所示,控制设备140包括:存储器141和处理器142。其中,所述存储器用于存储程序代码;处理器142,调用所述程序代码,当程序代码被执行时,用于执行以下操作:获取用于控制所述可移动平台运动的用户指令;根据所述用户指令,确定当前时刻用于控制所述可移动平台运动的第一控制量;如果所述第一控制量相对于历史时刻用于控制所述可移 动平台运动的第二控制量的变化量大于预设值,则根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量;根据所述目标控制量,控制所述可移动平台运动。The embodiment of the present invention provides a control device of a movable platform. The movable platform includes a power system for driving the movable platform to move, and the power system includes at least one motor controller, multiple motors, and multiple omnidirectional ones corresponding to the motors one-to-one Wheel, the at least one motor controller is used to control the rotation of a plurality of the motors, and the plurality of motors are respectively used to drive the corresponding omni wheel to rotate. FIG. 15 is a structural diagram of a control device provided by an embodiment of the present invention. As shown in FIG. 15, the control device 140 includes a memory 141 and a processor 142. Wherein, the memory is used to store program code; the processor 142 calls the program code, and when the program code is executed, it is used to perform the following operations: obtain user instructions for controlling the movement of the movable platform; The user instruction determines the first control quantity used to control the movement of the movable platform at the current moment; if the first control quantity changes relative to the second control quantity used to control the movement of the movable platform at the historical moment Is greater than the preset value, then according to the first control quantity and the second control quantity, determine the target control quantity for controlling the movement of the movable platform at the current moment; according to the target control quantity, control the movable Platform movement.
可选的,所述可移动平台的第一控制量包括如下至少一种:所述可移动平台的第一速度、所述可移动平台的第一角速度;所述可移动平台的第二控制量包括如下至少一种:所述可移动平台的第二速度、所述可移动平台的第二角速度;所述可移动平台的目标控制量包括如下至少一种:所述可移动平台的目标速度、所述可移动平台的目标角速度。Optionally, the first control quantity of the movable platform includes at least one of the following: a first speed of the movable platform, a first angular velocity of the movable platform; and a second control quantity of the movable platform It includes at least one of the following: the second speed of the movable platform, the second angular velocity of the movable platform; the target control variable of the movable platform includes at least one of the following: the target speed of the movable platform, The target angular velocity of the movable platform.
可选的,处理器142根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量时,具体用于:根据所述第一控制量和所述第二控制量,确定当前时刻所述可移动平台需要达到的第一加速度和/或第一角加速度;对所述第一加速度进行调整得到第二加速度,和/或,对所述第一角加速度进行调整得到第二角加速度;根据所述第二加速度和/或所述第二角加速度,确定当前时刻用于控制所述可移动平台的目标控制量。Optionally, when the processor 142 determines the target control value for controlling the movement of the movable platform at the current moment according to the first control value and the second control value, it is specifically configured to: according to the first control value The first acceleration and/or the first angular acceleration that the movable platform needs to achieve at the current moment are determined; the first acceleration is adjusted to obtain the second acceleration, and/or the The first angular acceleration is adjusted to obtain a second angular acceleration; according to the second acceleration and/or the second angular acceleration, a target control amount for controlling the movable platform at the current moment is determined.
可选的,处理器142对所述第一加速度进行调整得到第二加速度时,具体用于:根据第一预设方式对所述第一加速度进行调整得到第二加速度。Optionally, when the processor 142 adjusts the first acceleration to obtain the second acceleration, it is specifically configured to: adjust the first acceleration according to a first preset manner to obtain the second acceleration.
可选的,处理器142对所述第一角加速度进行调整得到第二角加速度时,具体用于:根据第二预设方式对所述第一角加速度进行调整得到第二角加速度。Optionally, when the processor 142 adjusts the first angular acceleration to obtain the second angular acceleration, it is specifically configured to: adjust the first angular acceleration according to a second preset manner to obtain the second angular acceleration.
可选的,所述第一预设方式或所述第二预设方式包括如下至少一种:线性方式、S形方式、半S形方式。Optionally, the first preset manner or the second preset manner includes at least one of the following: a linear manner, an S-shaped manner, and a semi-S-shaped manner.
可选的,处理器142根据所述第二加速度和/或所述第二角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量时,具体用于:根据所述第二加速度和所述第二速度,确定当前时刻所述可移动平台的目标速度;和/或根据所述第二角加速度和所述第二角速度,确定当前时刻所述可移动平台的目标角速度。Optionally, when the processor 142 determines the target control value for controlling the movement of the movable platform at the current moment according to the second acceleration and/or the second angular acceleration, it is specifically configured to: according to the second acceleration The acceleration and the second velocity determine the target velocity of the movable platform at the current moment; and/or determine the target angular velocity of the movable platform at the current moment according to the second angular acceleration and the second angular velocity.
可选的,处理器142根据所述第二加速度和/或所述第二角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量时,具体用于:检测多个所述全向轮中的每个所述全向轮是否打滑;若多个所述全向轮中 至少有一个所述全向轮打滑,则确定至少一个打滑的全向轮的打滑程度;根据所述第二加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三加速度,和/或,根据所述第二角加速度和至少一个所述全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三角加速度;根据所述第三加速度和/或第三角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量。Optionally, when the processor 142 determines the target control variable for controlling the movement of the movable platform at the current moment according to the second acceleration and/or the second angular acceleration, it is specifically configured to: detect a plurality of the Whether each of the omnidirectional wheels is slipping; if at least one of the omnidirectional wheels among the plurality of omnidirectional wheels is slipping, determine the degree of slippage of at least one of the omnidirectional wheels; The second acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels determine the third acceleration of the movable platform when at least one of the slipping omnidirectional wheels is not slipping, and/or, according to the second The angular acceleration and the slip degree of at least one of the omnidirectional wheels determine the third angular acceleration of the movable platform when at least one of the omnidirectional wheels does not slip; according to the third acceleration and/or the third angular acceleration , Determine the target control quantity used to control the movement of the movable platform at the current moment.
可选的,处理器142根据所述第三加速度和/或第三角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量时,具体用于:根据所述第三加速度和所述第二速度,确定当前时刻所述可移动平台的目标速度;和/或根据所述第三角加速度和所述第二角速度,确定当前时刻所述可移动平台的目标角速度。Optionally, when the processor 142 determines the target control variable for controlling the movement of the movable platform at the current moment according to the third acceleration and/or the third angular acceleration, it is specifically configured to: The second velocity determines the target velocity of the movable platform at the current moment; and/or determines the target angular velocity of the movable platform at the current moment according to the third angular acceleration and the second angular velocity.
可选的,处理器142根据所述第二加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三加速度时,具体用于:根据所述第二加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定所述可移动平台的第三加速度。Optionally, the processor 142 determines the third acceleration of the movable platform when the at least one slipping omnidirectional wheel is not slipping according to the second acceleration and the degree of slippage of the at least one slipping omnidirectional wheel When, it is specifically used to determine the third acceleration of the movable platform according to the second acceleration and the largest degree of slippage among the degree of slippage of at least one of the slipping omnidirectional wheels.
可选的,处理器142根据所述第二角加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三角加速度时,具体用于:根据所述第二角加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三角加速度。Optionally, the processor 142 determines, according to the second angular acceleration and the degree of slip of at least one of the slipping omnidirectional wheels, that when at least one of the slipping omnidirectional wheels does not slip, the third angle of the movable platform During acceleration, it is specifically used to: determine that at least one of the slipping omnidirectional wheels is not slipping according to the second angular acceleration and the maximum degree of slippage of at least one of the slipping omnidirectional wheels. The third angular acceleration of the mobile platform.
可选的,处理器142根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量时,具体用于:检测多个所述全向轮中的每个所述全向轮是否打滑;若多个所述全向轮中至少有一个所述全向轮打滑,则确定至少一个所述打滑的全向轮的打滑程度;根据所述第一控制量和所述第二控制量,确定当前时刻所述可移动平台需要达到的第一加速度和/或第一角加速度;根据至少一个所述打滑的全向轮的打滑程度、所述第一加速度和/或所述第一角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量。Optionally, when the processor 142 determines the target control value for controlling the movement of the movable platform at the current moment according to the first control value and the second control value, it is specifically configured to: Whether each of the omnidirectional wheels in the omnidirectional wheels is slipping; if at least one of the omnidirectional wheels among the plurality of omnidirectional wheels is slipping, determine the degree of slippage of at least one of the omnidirectional wheels; The first control quantity and the second control quantity determine the first acceleration and/or the first angular acceleration that the movable platform needs to achieve at the current moment; according to the degree of slippage and the result of at least one of the slipping omnidirectional wheels The first acceleration and/or the first angular acceleration determine a target control variable used to control the movement of the movable platform at the current moment.
可选的,处理器142根据至少一个所述打滑的全向轮的打滑程度、所述第一加速度和/或所述第一角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量时,具体用于:根据所述第一加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四加速度;和/或根据所述第一角加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四角加速度;根据所述第四加速度和/或所述第四角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量。Optionally, the processor 142 determines a target for controlling the movement of the movable platform at the current moment according to the degree of slippage of at least one of the slipping omnidirectional wheels, the first acceleration and/or the first angular acceleration When controlling the amount, it is specifically used to: according to the first acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels, it is determined that when at least one of the slipping omnidirectional wheels is not slipping, the fourth of the movable platform Acceleration; and/or determining the fourth angular acceleration of the movable platform when at least one of the slipping omnidirectional wheels is not slipping according to the first angular acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels ; According to the fourth acceleration and/or the fourth angular acceleration, determine the target control amount used to control the movement of the movable platform at the current moment.
可选的,处理器142根据所述第四加速度和/或所述第四角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量时,具体用于:根据所述第四加速度和所述第二速度,确定当前时刻所述可移动平台的目标速度;和/或根据所述第四角加速度和所述第二角速度,确定当前时刻所述可移动平台的目标角速度。Optionally, when the processor 142 determines the target control value for controlling the movement of the movable platform at the current moment according to the fourth acceleration and/or the fourth angular acceleration, it is specifically configured to: The acceleration and the second velocity determine the target velocity of the movable platform at the current moment; and/or determine the target angular velocity of the movable platform at the current moment according to the fourth angular acceleration and the second angular velocity.
可选的,处理器142根据所述第一加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四加速度时,具体用于:根据所述第一加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定所述可移动平台的第四加速度。Optionally, the processor 142 determines the fourth acceleration of the movable platform when the at least one slipping omnidirectional wheel is not slipping according to the first acceleration and the degree of slippage of the at least one slipping omnidirectional wheel When, it is specifically used to determine the fourth acceleration of the movable platform according to the first acceleration and the largest degree of slippage among the degree of slippage of at least one of the slipping omnidirectional wheels.
可选的,处理器142根据所述第一角加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四角加速度时,具体用于:根据所述第一角加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定所述可移动平台的第四角加速度。Optionally, the processor 142 determines, according to the first angular acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels, that when at least one of the slipping omnidirectional wheels does not slip, the fourth of the movable platform In the case of angular acceleration, it is specifically used to determine the fourth angular acceleration of the movable platform according to the first angular acceleration and the largest degree of slippage of the at least one slipping omnidirectional wheel.
可选的,处理器142检测多个所述全向轮中的每个所述全向轮是否打滑时,具体用于:根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑;其中,所述第一转矩是根据所述第一控制量确定的。Optionally, when the processor 142 detects whether each of the plurality of omnidirectional wheels is slipping, it is specifically configured to: according to the first position of each of the plurality of omnidirectional wheels A torque and the actual torque of each of the omnidirectional wheels are used to determine whether each of the plurality of omnidirectional wheels is slipping; wherein, the first torque is based on the first The control amount is determined.
可选的,处理器142根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑时,具体用于:确定各个所述全向轮的第一转矩和实际转矩的 差值;若所述差值大于打滑阈值,则确定所述差值对应的全向轮打滑。Optionally, the processor 142 determines among the plurality of omnidirectional wheels according to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels When each of the omnidirectional wheels is slipping, it is specifically used to: determine the difference between the first torque and the actual torque of each omnidirectional wheel; if the difference is greater than the slip threshold, determine the difference The value corresponds to the omni wheel slip.
可选的,处理器142确定至少一个所述打滑的全向轮的打滑程度时,具体用于:通过对至少一个所述打滑的全向轮的第一转矩和至少一个所述打滑的全向轮的实际转矩的差值进行平滑处理,得到至少一个所述打滑的全向轮的打滑程度。Optionally, when the processor 142 determines the degree of slip of at least one of the slipping omnidirectional wheels, it is specifically configured to: pass the first torque of at least one of the slipping omnidirectional wheels and at least one of the slipping omnidirectional wheels. Smoothing is performed on the difference between the actual torques of the direction wheels to obtain the slip degree of at least one of the slipping omnidirectional wheels.
可选的,处理器142根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑之前,还用于:获取多个所述全向轮中每个所述全向轮对应的电机的电流;根据每个所述全向轮对应的电机的电流,确定每个所述全向轮的实际转矩。Optionally, the processor 142 determines among the plurality of omnidirectional wheels according to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels Before each of the omnidirectional wheels is slipping, it is also used to: obtain the current of the motor corresponding to each of the omnidirectional wheels among the plurality of omnidirectional wheels; The current determines the actual torque of each of the omnidirectional wheels.
可选的,处理器142根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑之前,还用于:根据所述第一加速度和所述第一角加速度,确定多个所述全向轮中每个所述全向轮的第一转矩。Optionally, the processor 142 determines among the plurality of omnidirectional wheels according to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels Before each of the omnidirectional wheels slips, it is also used to: determine the first rotation of each of the plurality of omnidirectional wheels according to the first acceleration and the first angular acceleration Moment.
可选的,处理器142根据所述第一加速度和所述第一角加速度,确定多个所述全向轮中每个所述全向轮的第一转矩时,具体用于:根据所述第一加速度和所述可移动平台的重量,确定多个所述全向轮中第一对角轮的合转矩与第二对角轮的合转矩的和值;根据所述第一角加速度和所述可移动平台的底盘的几何中心到所述全向轮的距离,确定多个所述全向轮中所述第一对角轮的合转矩与所述第二对角轮的合转矩的差值;根据所述第一对角轮的合转矩与所述第二对角轮的合转矩的和值,以及所述第一对角轮的合转矩与所述第二对角轮的合转矩的差值,确定所述第一对角轮的合转矩、以及所述第二对角轮的合转矩;根据所述第一对角轮的合转矩、以及所述第二对角轮的合转矩,确定所述可移动平台的多个所述全向轮中每个所述全向轮的第一转矩。Optionally, when the processor 142 determines the first torque of each of the plurality of omnidirectional wheels according to the first acceleration and the first angular acceleration, it is specifically configured to: The first acceleration and the weight of the movable platform determine the sum of the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel among the plurality of omnidirectional wheels; according to the first The angular acceleration and the distance from the geometric center of the chassis of the movable platform to the omnidirectional wheel determine the combined torque of the first diagonal wheel and the second diagonal wheel among the plurality of omnidirectional wheels According to the sum of the total torque of the first diagonal wheel and the total torque of the second diagonal wheel, and the total torque of the first diagonal wheel and the total torque The difference between the combined torque of the second diagonal wheel, the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel; according to the combined torque of the first diagonal wheel The torque and the resultant torque of the second diagonal wheel determine the first torque of each of the plurality of omnidirectional wheels of the movable platform.
可选的,处理器142根据所述第一对角轮的合转矩、以及所述第二对角轮的合转矩,确定所述可移动平台的多个所述全向轮中每个所述全向轮的第一转矩时,具体用于:根据所述第一速度和所述第一角速度,确定多个所述全向轮中每个所述全向轮需要达到的第一转速;根据所述第一对角轮的合转矩、以及所述第一对角轮包括的每个所述全向轮的第一转速,确 定所述第一对角轮包括的每个所述全向轮的第一转矩;根据所述第二对角轮的合转矩、以及所述第二对角轮包括的每个所述全向轮的第一转速,确定所述第二对角轮包括的每个所述全向轮的第一转矩。Optionally, the processor 142 determines each of the plurality of omnidirectional wheels of the movable platform according to the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel. The first torque of the omnidirectional wheel is specifically used to determine the first torque that each of the omnidirectional wheels needs to reach according to the first speed and the first angular velocity. Rotation speed; according to the combined torque of the first diagonal wheel and the first rotation speed of each of the omnidirectional wheels included in the first diagonal wheel, determine each of the first diagonal wheels included The first torque of the omnidirectional wheel; determine the second torque according to the combined torque of the second diagonal wheel and the first rotational speed of each of the omnidirectional wheels included in the second diagonal wheel The diagonal wheel includes the first torque of each of the omnidirectional wheels.
可选的,当所述电机对应的电机控制器为按照速度环模式运行时,处理器142根据所述目标控制量,控制所述可移动平台运动时,具体用于:根据所述可移动平台的目标速度和所述可移动平台的目标角速度,确定多个所述全向轮中每个所述全向轮的目标转速;根据每个所述全向轮的目标转速,控制所述可移动平台运动。Optionally, when the motor controller corresponding to the motor is operating in the speed loop mode, the processor 142 controls the movement of the movable platform according to the target control amount, and is specifically configured to: according to the movable platform The target speed of the movable platform and the target angular speed of the movable platform are determined to determine the target speed of each of the plurality of omnidirectional wheels; according to the target speed of each of the omnidirectional wheels, the movable Platform movement.
可选的,处理器142根据每个所述全向轮的目标转速,控制所述可移动平台运动时,具体用于:将每个所述全向轮的目标转速发送给所述全向轮对应的电机控制器,所述电机控制器用于根据所述目标转速驱动所述全向轮对应的电机转动。Optionally, when the processor 142 controls the movement of the movable platform according to the target rotation speed of each omnidirectional wheel, it is specifically configured to: send the target rotation speed of each omnidirectional wheel to the omnidirectional wheel The corresponding motor controller is configured to drive the motor corresponding to the omni wheel to rotate according to the target speed.
可选的,当所述电机对应的电机控制器为按照转矩环模式运行时,处理器142根据所述目标控制量,控制所述可移动平台运动时,具体用于:根据所述可移动平台的目标速度和所述可移动平台的目标角速度,确定多个所述全向轮中每个所述全向轮的目标转矩;根据每个所述全向轮的目标转矩,控制所述可移动平台运动。Optionally, when the motor controller corresponding to the motor is operating in the torque loop mode, the processor 142 controls the movement of the movable platform according to the target control amount, which is specifically configured to: The target speed of the platform and the target angular speed of the movable platform determine the target torque of each of the plurality of omnidirectional wheels; according to the target torque of each of the omnidirectional wheels, the The movement of the movable platform.
可选的,处理器142根据所述可移动平台的目标速度和所述可移动平台的目标角速度,确定多个所述全向轮中每个所述全向轮的目标转矩时,具体用于:根据所述目标速度对应的目标加速度和所述可移动平台的重量,确定多个所述全向轮中第一对角轮的目标合转矩与第二对角轮的目标合转矩的和值;根据所述目标角速度对应的目标角加速度和所述可移动平台的底盘的几何中心到所述全向轮的距离,确定多个所述全向轮中所述第一对角轮的目标合转矩与所述第二对角轮的目标合转矩的差值;根据所述第一对角轮的目标合转矩与所述第二对角轮的目标合转矩的和值,以及所述第一对角轮的目标合转矩与所述第二对角轮的目标合转矩的差值,确定所述第一对角轮的目标合转矩、以及所述第二对角轮的目标合转矩;根据所述第一对角轮的目标合转矩、以及所述第二对角轮的目标合转矩,确定多个所述全向轮中每个所述全向轮的目标转矩。Optionally, when the processor 142 determines the target torque of each of the plurality of omnidirectional wheels according to the target speed of the movable platform and the target angular velocity of the movable platform, it specifically uses Yu: Determine the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel among the plurality of omnidirectional wheels according to the target acceleration corresponding to the target speed and the weight of the movable platform According to the target angular acceleration corresponding to the target angular velocity and the distance from the geometric center of the chassis of the movable platform to the omnidirectional wheel, determine the first diagonal wheel of the plurality of omnidirectional wheels The difference between the target combined torque and the target combined torque of the second diagonal wheel; according to the sum of the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel Value, and the difference between the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel to determine the target combined torque of the first diagonal wheel and the first The target combined torque of the two diagonal wheels; according to the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel, determine each of the multiple omnidirectional wheels The target torque of the omnidirectional wheel.
可选的,处理器142根据所述第一对角轮的目标合转矩、以及所述第 二对角轮的目标合转矩,确定多个所述全向轮中每个所述全向轮的目标转矩时,具体用于:根据所述目标速度和所述目标角速度,确定多个所述全向轮中每个所述全向轮需要达到的目标转速;根据所述第一对角轮的目标合转矩、以及所述第一对角轮包括的每个所述全向轮的目标转速,确定所述第一对角轮包括的每个所述全向轮的目标转矩;根据所述第二对角轮的目标合转矩、以及所述第二对角轮包括的每个所述全向轮的目标转速,确定所述第二对角轮包括的每个所述全向轮的目标转矩。Optionally, the processor 142 determines each of the plurality of omnidirectional wheels according to the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel. The target torque of the wheel is specifically used to: determine the target rotational speed that each of the multiple omnidirectional wheels needs to reach according to the target speed and the target angular velocity; according to the first pair The target combined torque of the corner wheels and the target rotational speed of each of the omnidirectional wheels included in the first diagonal wheel, determine the target torque of each of the omnidirectional wheels included in the first diagonal wheel According to the target torque of the second diagonal wheel and the target speed of each of the omnidirectional wheels included in the second diagonal wheel, determine each of the second diagonal wheels included The target torque of the omnidirectional wheel.
可选的,处理器142根据每个所述全向轮的目标转矩,控制所述可移动平台运动时,具体用于:将每个所述全向轮的目标转矩发送给所述全向轮对应的电机控制器,所述电机控制器用于根据所述目标转矩驱动所述全向轮对应的电机转动。Optionally, when the processor 142 controls the movement of the movable platform according to the target torque of each omnidirectional wheel, it is specifically configured to: send the target torque of each omnidirectional wheel to the omnidirectional wheel. A motor controller corresponding to the direction wheel, the motor controller being used for driving the motor corresponding to the omnidirectional wheel to rotate according to the target torque.
可选的,所述控制设备还包括:通讯接口143;处理器142获取用于控制所述可移动平台的用户指令时,具体用于:通过通讯接口143接收用户终端发送的用于控制所述可移动平台运动的用户指令。Optionally, the control device further includes: a communication interface 143; when the processor 142 obtains a user instruction for controlling the movable platform, it is specifically configured to: receive through the communication interface 143 a user terminal for controlling the User instructions for movement of the movable platform.
本发明实施例提供的控制设备的具体原理和实现方式均与上述实施例类似,此处不再赘述。The specific principles and implementation manners of the control device provided in the embodiment of the present invention are similar to those in the foregoing embodiment, and are not repeated here.
本实施例通过获取用于控制所述可移动平台运动的用户指令,根据所述用户指令,确定当前时刻用于控制所述可移动平台运动的第一控制量,如果所述第一控制量相对于历史时刻用于控制所述可移动平台运动的第二控制量的变化量大于预设值,则根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量,并根据所述目标控制量,控制所述可移动平台运动,从而避免用户在短时间内要求该可移动平台达到较大的速度时,由于电机需要在短时间内达到较大的转速而导致的该可移动平台的全向轮相对于地面打滑的问题,提高了可移动平台运动的稳定性。In this embodiment, by acquiring a user instruction for controlling the movement of the movable platform, according to the user instruction, the first control quantity for controlling the movement of the movable platform at the current moment is determined, if the first control quantity is relatively If the change of the second control variable used to control the movement of the movable platform at the historical moment is greater than the preset value, then according to the first control variable and the second control variable, it is determined that the current moment is used to control the movable platform The target control amount of the movement of the mobile platform, and according to the target control amount, the movement of the movable platform is controlled, so as to prevent the user from requiring the movable platform to reach a higher speed in a short time, because the motor needs to be in a short time The problem of slipping of the omnidirectional wheels of the movable platform with respect to the ground caused by a large rotation speed improves the stability of the movement of the movable platform.
另外,本实施例还提供一种可移动平台。该可移动平台包括:机身、动力系统和上述实施例所述的控制设备。其中,动力系统,安装在所述机身,用于驱动所述可移动平台运动,所述动力系统包括至少一个电机控制器、多个电机以及与所述电机一一对应的多个全向轮,所述至少一个电机 控制器用于控制多个所述电机转动,多个所述电机分别用于驱动对应的全向轮转动;该控制设备可执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。In addition, this embodiment also provides a movable platform. The movable platform includes: a fuselage, a power system, and the control device described in the foregoing embodiment. Wherein, a power system is installed on the body for driving the movable platform to move, and the power system includes at least one motor controller, multiple motors, and multiple omnidirectional wheels corresponding to the motors one-to-one The at least one motor controller is used to control the rotation of a plurality of the motors, and the plurality of motors are respectively used to drive the rotation of the corresponding omni wheel; the control device can execute the technical solutions of the above method embodiments, and the implementation principles and The technical effects are similar, so I won't repeat them here.
可选的,所述可移动平台包括如下至少一种:可移动机器人、可移动小车、无人驾驶车辆。Optionally, the movable platform includes at least one of the following: a movable robot, a movable car, and an unmanned vehicle.
另外,本实施例还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现上述实施例所述的可移动平台的控制方法。In addition, this embodiment also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the control method of the movable platform described in the foregoing embodiment.
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟 或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute the method described in the various embodiments of the present invention. Part of the steps. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned functions can be allocated by different functional modules as required, namely, the device The internal structure is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not repeated here.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: It is still possible to modify the technical solutions described in the foregoing embodiments, or equivalently replace some or all of the technical features; these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention range.

Claims (63)

  1. 一种可移动平台的控制方法,所述可移动平台包括动力系统,所述动力系统用于驱动所述可移动平台运动,所述动力系统包括至少一个电机控制器、多个电机以及与所述电机一一对应的多个全向轮,所述至少一个电机控制器用于控制多个所述电机转动,多个所述电机分别用于驱动对应的全向轮转动,其特征在于,所述方法包括:A method for controlling a movable platform. The movable platform includes a power system for driving the movable platform to move. The power system includes at least one motor controller, multiple motors, and The motors correspond to a plurality of omnidirectional wheels one to one, the at least one motor controller is used to control the rotation of the plurality of motors, and the plurality of motors are respectively used to drive the corresponding omnidirectional wheels to rotate. The method is characterized in that include:
    获取用于控制所述可移动平台运动的用户指令;Acquiring a user instruction for controlling the movement of the movable platform;
    根据所述用户指令,确定当前时刻用于控制所述可移动平台运动的第一控制量;According to the user instruction, determine the first control quantity used to control the movement of the movable platform at the current moment;
    如果所述第一控制量相对于历史时刻用于控制所述可移动平台运动的第二控制量的变化量大于预设值,则根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量;If the amount of change of the first control quantity with respect to the second control quantity used to control the movement of the movable platform at a historical moment is greater than a preset value, then determine according to the first control quantity and the second control quantity The target control quantity used to control the movement of the movable platform at the current moment;
    根据所述目标控制量,控制所述可移动平台运动。The movement of the movable platform is controlled according to the target control amount.
  2. 根据权利要求1所述的方法,其特征在于,所述可移动平台的第一控制量包括如下至少一种:The method according to claim 1, wherein the first control value of the movable platform includes at least one of the following:
    所述可移动平台的第一速度、所述可移动平台的第一角速度;The first velocity of the movable platform, the first angular velocity of the movable platform;
    所述可移动平台的第二控制量包括如下至少一种:The second control quantity of the movable platform includes at least one of the following:
    所述可移动平台的第二速度、所述可移动平台的第二角速度;The second velocity of the movable platform, the second angular velocity of the movable platform;
    所述可移动平台的目标控制量包括如下至少一种:The target control amount of the movable platform includes at least one of the following:
    所述可移动平台的目标速度、所述可移动平台的目标角速度。The target velocity of the movable platform and the target angular velocity of the movable platform.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量,包括:The method according to claim 2, wherein the determining a target control value for controlling the movement of the movable platform at the current moment according to the first control value and the second control value comprises:
    根据所述第一控制量和所述第二控制量,确定当前时刻所述可移动平台需要达到的第一加速度和/或第一角加速度;Determine the first acceleration and/or the first angular acceleration that the movable platform needs to achieve at the current moment according to the first control quantity and the second control quantity;
    对所述第一加速度进行调整得到第二加速度,和/或,对所述第一角加速度进行调整得到第二角加速度;Adjusting the first acceleration to obtain a second acceleration, and/or adjusting the first angular acceleration to obtain a second angular acceleration;
    根据所述第二加速度和/或所述第二角加速度,确定当前时刻用于控制所述可移动平台的目标控制量。According to the second acceleration and/or the second angular acceleration, a target control amount for controlling the movable platform at the current moment is determined.
  4. 根据权利要求3所述的方法,其特征在于,所述对所述第一加速 度进行调整得到第二加速度,包括:The method according to claim 3, wherein the adjusting the first acceleration to obtain the second acceleration comprises:
    根据第一预设方式对所述第一加速度进行调整得到第二加速度。The first acceleration is adjusted according to the first preset manner to obtain the second acceleration.
  5. 根据权利要求4所述的方法,其特征在于,所述对所述第一角加速度进行调整得到第二角加速度,包括:The method according to claim 4, wherein the adjusting the first angular acceleration to obtain the second angular acceleration comprises:
    根据第二预设方式对所述第一角加速度进行调整得到第二角加速度。The first angular acceleration is adjusted according to the second preset manner to obtain the second angular acceleration.
  6. 根据权利要求5所述的方法,其特征在于,所述第一预设方式或所述第二预设方式包括如下至少一种:The method according to claim 5, wherein the first preset manner or the second preset manner includes at least one of the following:
    线性方式、S形方式、半S形方式。Linear method, S-shaped method, semi-S-shaped method.
  7. 根据权利要求3-6任一项所述的方法,其特征在于,所述根据所述第二加速度和/或所述第二角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量,包括:The method according to any one of claims 3-6, characterized in that, according to the second acceleration and/or the second angular acceleration, the target for controlling the movement of the movable platform at the current moment is determined Control amount, including:
    根据所述第二加速度和所述第二速度,确定当前时刻所述可移动平台的目标速度;和/或Determine the target speed of the movable platform at the current moment according to the second acceleration and the second speed; and/or
    根据所述第二角加速度和所述第二角速度,确定当前时刻所述可移动平台的目标角速度。According to the second angular acceleration and the second angular velocity, the target angular velocity of the movable platform at the current moment is determined.
  8. 根据权利要求3所述的方法,其特征在于,所述根据所述第二加速度和/或所述第二角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量,包括:The method according to claim 3, wherein the determining a target control variable for controlling the movement of the movable platform at the current moment according to the second acceleration and/or the second angular acceleration comprises:
    检测多个所述全向轮中的每个所述全向轮是否打滑;Detecting whether each of the plurality of omnidirectional wheels is slipping;
    若多个所述全向轮中至少有一个所述全向轮打滑,则确定至少一个打滑的全向轮的打滑程度;If at least one of the plurality of omnidirectional wheels slips, determining the degree of slippage of at least one slipping omnidirectional wheel;
    根据所述第二加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三加速度,和/或,根据所述第二角加速度和至少一个所述全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三角加速度;According to the second acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels, the third acceleration of the movable platform is determined when at least one of the slipping omnidirectional wheels is not slipping, and/or according to the The second angular acceleration and the degree of slippage of at least one of the omnidirectional wheels to determine the third angular acceleration of the movable platform when at least one of the omnidirectional wheels is not slipping;
    根据所述第三加速度和/或第三角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量。According to the third acceleration and/or the third angular acceleration, a target control quantity for controlling the movement of the movable platform at the current moment is determined.
  9. 根据权利要求8所述的方法,其特征在于,所述根据所述第三加速度和/或第三角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量,包括:The method according to claim 8, wherein the determining a target control quantity for controlling the movement of the movable platform at the current moment according to the third acceleration and/or the third angular acceleration comprises:
    根据所述第三加速度和所述第二速度,确定当前时刻所述可移动平台的目标速度;和/或Determine the target speed of the movable platform at the current moment according to the third acceleration and the second speed; and/or
    根据所述第三角加速度和所述第二角速度,确定当前时刻所述可移动平台的目标角速度。According to the third angular acceleration and the second angular velocity, the target angular velocity of the movable platform at the current moment is determined.
  10. 根据权利要求8或9所述的方法,其特征在于,所述根据所述第二加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三加速度,包括:The method according to claim 8 or 9, characterized in that, according to the second acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels, it is determined when at least one of the slipping omnidirectional wheels is not slipping , The third acceleration of the movable platform includes:
    根据所述第二加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定所述可移动平台的第三加速度。The third acceleration of the movable platform is determined according to the second acceleration and the largest degree of slippage among the degree of slippage of at least one of the slipping omnidirectional wheels.
  11. 根据权利要求8或9所述的方法,其特征在于,所述根据所述第二角加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三角加速度,包括:The method according to claim 8 or 9, wherein the determining that at least one of the slipping omnidirectional wheels does not slip according to the second angular acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels When, the third angular acceleration of the movable platform includes:
    根据所述第二角加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三角加速度。Determine the third angular acceleration of the movable platform when the at least one slipping omnidirectional wheel is not slipping according to the second angular acceleration and the maximum slipping degree of the at least one slipping omnidirectional wheel.
  12. 根据权利要求2所述的方法,其特征在于,所述根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量,包括:The method according to claim 2, wherein the determining a target control value for controlling the movement of the movable platform at the current moment according to the first control value and the second control value comprises:
    检测多个所述全向轮中的每个所述全向轮是否打滑;Detecting whether each of the plurality of omnidirectional wheels is slipping;
    若多个所述全向轮中至少有一个所述全向轮打滑,则确定至少一个所述打滑的全向轮的打滑程度;If at least one of the plurality of omnidirectional wheels slips, determining the degree of slippage of at least one of the slipping omnidirectional wheels;
    根据所述第一控制量和所述第二控制量,确定当前时刻所述可移动平台需要达到的第一加速度和/或第一角加速度;Determine the first acceleration and/or the first angular acceleration that the movable platform needs to achieve at the current moment according to the first control quantity and the second control quantity;
    根据至少一个所述打滑的全向轮的打滑程度、所述第一加速度和/或所述第一角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量。According to the degree of slip of at least one of the slipping omnidirectional wheels, the first acceleration and/or the first angular acceleration, a target control amount for controlling the movement of the movable platform at the current moment is determined.
  13. 根据权利要求12所述的方法,其特征在于,所述根据至少一个所述打滑的全向轮的打滑程度、所述第一加速度和/或所述第一角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量,包括:The method according to claim 12, characterized in that, according to the degree of slip of at least one of the slipped omnidirectional wheels, the first acceleration and/or the first angular acceleration, determining the current moment for control The target control amount of movement of the movable platform includes:
    根据所述第一加速度和至少一个所述打滑的全向轮的打滑程度,确定 至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四加速度;和/或According to the first acceleration and the degree of slip of at least one of the slipping omnidirectional wheels, determine the fourth acceleration of the movable platform when at least one of the slipping omnidirectional wheels is not slipping; and/or
    根据所述第一角加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四角加速度;Determine the fourth angular acceleration of the movable platform when at least one of the slipping omnidirectional wheels is not slipping according to the first angular acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels;
    根据所述第四加速度和/或所述第四角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量。According to the fourth acceleration and/or the fourth angular acceleration, a target control amount for controlling the movement of the movable platform at the current moment is determined.
  14. 根据权利要求13所述的方法,其特征在于,所述根据所述第四加速度和/或所述第四角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量,包括:The method according to claim 13, wherein the determining a target control quantity for controlling the movement of the movable platform at the current moment according to the fourth acceleration and/or the fourth angular acceleration comprises:
    根据所述第四加速度和所述第二速度,确定当前时刻所述可移动平台的目标速度;和/或Determine the target speed of the movable platform at the current moment according to the fourth acceleration and the second speed; and/or
    根据所述第四角加速度和所述第二角速度,确定当前时刻所述可移动平台的目标角速度。According to the fourth angular acceleration and the second angular velocity, the target angular velocity of the movable platform at the current moment is determined.
  15. 根据权利要求13或14所述的方法,其特征在于,所述根据所述第一加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四加速度,包括:The method according to claim 13 or 14, characterized in that, according to the first acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels, it is determined when at least one of the slipping omnidirectional wheels is not slipping. , The fourth acceleration of the movable platform includes:
    根据所述第一加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定所述可移动平台的第四加速度。The fourth acceleration of the movable platform is determined according to the first acceleration and the largest degree of slippage among the degree of slippage of at least one of the slipping omnidirectional wheels.
  16. 根据权利要求13或14所述的方法,其特征在于,所述根据所述第一角加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四角加速度,包括:The method according to claim 13 or 14, wherein the determining that at least one of the slipping omnidirectional wheels does not slip according to the first angular acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels When, the fourth angular acceleration of the movable platform includes:
    根据所述第一角加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定所述可移动平台的第四角加速度。The fourth angular acceleration of the movable platform is determined according to the first angular acceleration and the largest degree of slip of the at least one of the slipping omnidirectional wheels.
  17. 根据权利要求8或12所述的方法,其特征在于,所述检测多个所述全向轮中的每个所述全向轮是否打滑,包括:The method according to claim 8 or 12, wherein the detecting whether each of the plurality of omnidirectional wheels is slipping comprises:
    根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑;According to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels, each of the plurality of omnidirectional wheels is determined Whether the wheel is slipping;
    其中,所述第一转矩是根据所述第一控制量确定的。Wherein, the first torque is determined according to the first control amount.
  18. 根据权利要求17所述的方法,其特征在于,所述根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定 多个所述全向轮中的每个所述全向轮是否打滑,包括:The method according to claim 17, characterized in that said determining according to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels Whether each of the plurality of omnidirectional wheels is slipping, including:
    确定各个所述全向轮的第一转矩和实际转矩的差值;Determining the difference between the first torque and the actual torque of each of the omnidirectional wheels;
    若所述差值大于打滑阈值,则确定所述差值对应的全向轮打滑。If the difference is greater than the slip threshold, it is determined that the omnidirectional wheel corresponding to the difference is slipping.
  19. 根据权利要求18所述的方法,其特征在于,所述确定至少一个所述打滑的全向轮的打滑程度,包括:The method according to claim 18, wherein the determining the degree of slip of at least one of the slipped omnidirectional wheels comprises:
    通过对至少一个所述打滑的全向轮的第一转矩和至少一个所述打滑的全向轮的实际转矩的差值进行平滑处理,得到至少一个所述打滑的全向轮的打滑程度。By smoothing the difference between the first torque of the at least one slipping omnidirectional wheel and the actual torque of the at least one slipping omnidirectional wheel, the degree of slippage of the at least one slipping omnidirectional wheel is obtained .
  20. 根据权利要求17所述的方法,其特征在于,所述根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑之前,所述方法还包括:The method according to claim 17, characterized in that said determining according to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels Before each of the plurality of omnidirectional wheels is slipping, the method further includes:
    获取多个所述全向轮中每个所述全向轮对应的电机的电流;Acquiring a current of a motor corresponding to each of the plurality of omnidirectional wheels;
    根据每个所述全向轮对应的电机的电流,确定每个所述全向轮的实际转矩。According to the current of the motor corresponding to each omnidirectional wheel, the actual torque of each omnidirectional wheel is determined.
  21. 根据权利要求17所述的方法,其特征在于,所述根据多个所述全向轮中每个所述全向轮的目标转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑之前,所述方法还包括:17. The method according to claim 17, wherein said determining the amount of torque based on the target torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels Before each of the omnidirectional wheels is skidding, the method further includes:
    根据所述第一加速度和所述第一角加速度,确定多个所述全向轮中每个所述全向轮的第一转矩。According to the first acceleration and the first angular acceleration, the first torque of each of the plurality of omnidirectional wheels is determined.
  22. 根据权利要求21所述的方法,其特征在于,所述根据所述第一加速度和所述第一角加速度,确定多个所述全向轮中每个所述全向轮的第一转矩,包括:22. The method of claim 21, wherein the first torque of each of the plurality of omnidirectional wheels is determined according to the first acceleration and the first angular acceleration ,include:
    根据所述第一加速度和所述可移动平台的重量,确定多个所述全向轮中第一对角轮的合转矩与第二对角轮的合转矩的和值;Determine the sum of the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel among the plurality of omnidirectional wheels according to the first acceleration and the weight of the movable platform;
    根据所述第一角加速度和所述可移动平台的底盘的几何中心到所述全向轮的距离,确定多个所述全向轮中所述第一对角轮的合转矩与所述第二对角轮的合转矩的差值;According to the first angular acceleration and the distance from the geometric center of the chassis of the movable platform to the omnidirectional wheel, the combined torque of the first diagonal wheel among the plurality of omnidirectional wheels and the The difference of the total torque of the second diagonal wheel;
    根据所述第一对角轮的合转矩与所述第二对角轮的合转矩的和值,以及所述第一对角轮的合转矩与所述第二对角轮的合转矩的差值,确定所述第一对角轮的合转矩、以及所述第二对角轮的合转矩;According to the sum of the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel, and the combined torque of the first diagonal wheel and the second diagonal wheel The difference between the torques determines the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel;
    根据所述第一对角轮的合转矩、以及所述第二对角轮的合转矩,确定所述可移动平台的多个所述全向轮中每个所述全向轮的第一转矩。According to the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel, determine the first omnidirectional wheel of each of the plurality of omnidirectional wheels of the movable platform One torque.
  23. 根据权利要求22所述的方法,其特征在于,所述根据所述第一对角轮的合转矩、以及所述第二对角轮的合转矩,确定所述可移动平台的多个所述全向轮中每个所述全向轮的第一转矩,包括:The method according to claim 22, wherein said determining the plurality of movable platforms according to the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel The first torque of each of the omnidirectional wheels includes:
    根据所述第一速度和所述第一角速度,确定多个所述全向轮中每个所述全向轮需要达到的第一转速;Determining, according to the first speed and the first angular speed, the first rotational speed that each of the plurality of omnidirectional wheels needs to reach;
    根据所述第一对角轮的合转矩、以及所述第一对角轮包括的每个所述全向轮的第一转速,确定所述第一对角轮包括的每个所述全向轮的第一转矩;According to the combined torque of the first diagonal wheel and the first rotational speed of each of the omnidirectional wheels included in the first diagonal wheel, determine each of the omnidirectional wheels included in the first diagonal wheel. The first torque of the steering wheel;
    根据所述第二对角轮的合转矩、以及所述第二对角轮包括的每个所述全向轮的第一转速,确定所述第二对角轮包括的每个所述全向轮的第一转矩。According to the combined torque of the second diagonal wheel and the first rotational speed of each of the omnidirectional wheels included in the second diagonal wheel, determine each of the omnidirectional wheels included in the second diagonal wheel. The first torque of the wheel.
  24. 根据权利要求7、9或14所述的方法,其特征在于,当所述电机对应的电机控制器为按照速度环模式运行时,所述根据所述目标控制量,控制所述可移动平台运动,包括:The method according to claim 7, 9 or 14, wherein when the motor controller corresponding to the motor operates in a speed loop mode, the movement of the movable platform is controlled according to the target control amount ,include:
    根据所述可移动平台的目标速度和所述可移动平台的目标角速度,确定多个所述全向轮中每个所述全向轮的目标转速;Determining the target rotational speed of each of the plurality of omnidirectional wheels according to the target speed of the movable platform and the target angular velocity of the movable platform;
    根据每个所述全向轮的目标转速,控制所述可移动平台运动。The movement of the movable platform is controlled according to the target rotation speed of each of the omnidirectional wheels.
  25. 根据权利要求24所述的方法,其特征在于,所述根据每个所述全向轮的目标转速,控制所述可移动平台运动,包括:The method according to claim 24, wherein the controlling the movement of the movable platform according to the target rotational speed of each of the omnidirectional wheels comprises:
    将每个所述全向轮的目标转速发送给所述全向轮对应的电机控制器,所述电机控制器用于根据所述目标转速驱动所述全向轮对应的电机转动。The target rotational speed of each omnidirectional wheel is sent to a motor controller corresponding to the omnidirectional wheel, and the motor controller is configured to drive the motor corresponding to the omnidirectional wheel to rotate according to the target rotational speed.
  26. 根据权利要求7、9或14所述的方法,其特征在于,当所述电机对应的电机控制器为按照转矩环模式运行时,所述根据所述目标控制量,控制所述可移动平台运动,包括:The method according to claim 7, 9 or 14, wherein when the motor controller corresponding to the motor operates in a torque loop mode, the movable platform is controlled according to the target control amount Sports, including:
    根据所述可移动平台的目标速度和所述可移动平台的目标角速度,确定多个所述全向轮中每个所述全向轮的目标转矩;Determining the target torque of each of the plurality of omnidirectional wheels according to the target speed of the movable platform and the target angular velocity of the movable platform;
    根据每个所述全向轮的目标转矩,控制所述可移动平台运动。The movement of the movable platform is controlled according to the target torque of each of the omnidirectional wheels.
  27. 根据权利要求26所述的方法,其特征在于,所述根据所述可移 动平台的目标速度和所述可移动平台的目标角速度,确定多个所述全向轮中每个所述全向轮的目标转矩,包括:The method according to claim 26, characterized in that, according to the target velocity of the movable platform and the target angular velocity of the movable platform, each of the plurality of omnidirectional wheels is determined The target torque includes:
    根据所述目标速度对应的目标加速度和所述可移动平台的重量,确定多个所述全向轮中第一对角轮的目标合转矩与第二对角轮的目标合转矩的和值;According to the target acceleration corresponding to the target speed and the weight of the movable platform, the sum of the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel among the plurality of omnidirectional wheels is determined value;
    根据所述目标角速度对应的目标角加速度和所述可移动平台的底盘的几何中心到所述全向轮的距离,确定多个所述全向轮中所述第一对角轮的目标合转矩与所述第二对角轮的目标合转矩的差值;According to the target angular acceleration corresponding to the target angular velocity and the distance from the geometric center of the chassis of the movable platform to the omnidirectional wheel, the target co-rotation of the first diagonal wheel among the plurality of omnidirectional wheels is determined The difference between the moment and the target total torque of the second diagonal wheel;
    根据所述第一对角轮的目标合转矩与所述第二对角轮的目标合转矩的和值,以及所述第一对角轮的目标合转矩与所述第二对角轮的目标合转矩的差值,确定所述第一对角轮的目标合转矩、以及所述第二对角轮的目标合转矩;According to the sum of the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel, and the target combined torque of the first diagonal wheel and the second diagonal The difference between the target total torque of the wheels, determining the target total torque of the first diagonal wheel and the target total torque of the second diagonal wheel;
    根据所述第一对角轮的目标合转矩、以及所述第二对角轮的目标合转矩,确定多个所述全向轮中每个所述全向轮的目标转矩。According to the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel, the target torque of each of the plurality of omnidirectional wheels is determined.
  28. 根据权利要求27所述的方法,其特征在于,所述根据所述第一对角轮的目标合转矩、以及所述第二对角轮的目标合转矩,确定多个所述全向轮中每个所述全向轮的目标转矩,包括:The method according to claim 27, wherein said determining a plurality of said omnidirectional torques according to the target total torque of the first diagonal wheel and the target total torque of the second diagonal wheel The target torque of each of the omnidirectional wheels in the wheel includes:
    根据所述目标速度和所述目标角速度,确定多个所述全向轮中每个所述全向轮需要达到的目标转速;Determining, according to the target speed and the target angular speed, a target rotational speed that each of the plurality of omnidirectional wheels needs to reach;
    根据所述第一对角轮的目标合转矩、以及所述第一对角轮包括的每个所述全向轮的目标转速,确定所述第一对角轮包括的每个所述全向轮的目标转矩;According to the target combined torque of the first diagonal wheel and the target rotational speed of each of the omnidirectional wheels included in the first diagonal wheel, each of the omnidirectional wheels included in the first diagonal wheel is determined The target torque of the wheel;
    根据所述第二对角轮的目标合转矩、以及所述第二对角轮包括的每个所述全向轮的目标转速,确定所述第二对角轮包括的每个所述全向轮的目标转矩。According to the target combined torque of the second diagonal wheel and the target rotational speed of each of the omnidirectional wheels included in the second diagonal wheel, determine each of the omnidirectional wheels included in the second diagonal wheel. The target torque of the steering wheel.
  29. 根据权利要求26所述的方法,其特征在于,所述根据每个所述全向轮的目标转矩,控制所述可移动平台运动,包括:The method of claim 26, wherein the controlling the movement of the movable platform according to the target torque of each of the omnidirectional wheels comprises:
    将每个所述全向轮的目标转矩发送给所述全向轮对应的电机控制器,所述电机控制器用于根据所述目标转矩驱动所述全向轮对应的电机转动。The target torque of each omnidirectional wheel is sent to a motor controller corresponding to the omnidirectional wheel, and the motor controller is configured to drive the motor corresponding to the omnidirectional wheel to rotate according to the target torque.
  30. 根据权利要求1所述的方法,其特征在于,所述获取用于控制所 述可移动平台的用户指令,包括:The method according to claim 1, wherein the obtaining a user instruction for controlling the movable platform comprises:
    接收用户终端发送的用于控制所述可移动平台运动的用户指令。Receive a user instruction for controlling the movement of the movable platform sent by the user terminal.
  31. 一种可移动平台的控制设备,所述可移动平台包括动力系统,所述动力系统用于驱动所述可移动平台运动,所述动力系统包括至少一个电机控制器、多个电机以及与所述电机一一对应的多个全向轮,所述至少一个电机控制器用于控制多个所述电机转动,多个所述电机分别用于驱动对应的全向轮转动,其特征在于,所述控制设备包括:存储器和处理器;A control device for a movable platform. The movable platform includes a power system for driving the movable platform to move. The power system includes at least one motor controller, multiple motors, and The motors correspond to multiple omnidirectional wheels one-to-one, the at least one motor controller is used to control the rotation of the multiple motors, and the multiple motors are respectively used to drive the corresponding omnidirectional wheels to rotate, wherein the control The equipment includes: memory and processor;
    所述存储器用于存储程序代码;The memory is used to store program codes;
    所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor calls the program code, and when the program code is executed, is used to perform the following operations:
    获取用于控制所述可移动平台运动的用户指令;Acquiring a user instruction for controlling the movement of the movable platform;
    根据所述用户指令,确定当前时刻用于控制所述可移动平台运动的第一控制量;According to the user instruction, determine the first control quantity used to control the movement of the movable platform at the current moment;
    如果所述第一控制量相对于历史时刻用于控制所述可移动平台运动的第二控制量的变化量大于预设值,则根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量;If the amount of change of the first control quantity with respect to the second control quantity used to control the movement of the movable platform at a historical moment is greater than a preset value, then determine according to the first control quantity and the second control quantity The target control quantity used to control the movement of the movable platform at the current moment;
    根据所述目标控制量,控制所述可移动平台运动。The movement of the movable platform is controlled according to the target control amount.
  32. 根据权利要求31所述的控制设备,其特征在于,所述可移动平台的第一控制量包括如下至少一种:The control device according to claim 31, wherein the first control quantity of the movable platform includes at least one of the following:
    所述可移动平台的第一速度、所述可移动平台的第一角速度;The first velocity of the movable platform, the first angular velocity of the movable platform;
    所述可移动平台的第二控制量包括如下至少一种:The second control quantity of the movable platform includes at least one of the following:
    所述可移动平台的第二速度、所述可移动平台的第二角速度;The second velocity of the movable platform, the second angular velocity of the movable platform;
    所述可移动平台的目标控制量包括如下至少一种:The target control amount of the movable platform includes at least one of the following:
    所述可移动平台的目标速度、所述可移动平台的目标角速度。The target velocity of the movable platform and the target angular velocity of the movable platform.
  33. 根据权利要求32所述的控制设备,其特征在于,所述处理器根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量时,具体用于:The control device according to claim 32, wherein the processor determines the target control amount for controlling the movement of the movable platform at the current moment according to the first control amount and the second control amount. , Specifically used for:
    根据所述第一控制量和所述第二控制量,确定当前时刻所述可移动平台需要达到的第一加速度和/或第一角加速度;Determine the first acceleration and/or the first angular acceleration that the movable platform needs to achieve at the current moment according to the first control quantity and the second control quantity;
    对所述第一加速度进行调整得到第二加速度,和/或,对所述第一角 加速度进行调整得到第二角加速度;Adjusting the first acceleration to obtain a second acceleration, and/or adjusting the first angular acceleration to obtain a second angular acceleration;
    根据所述第二加速度和/或所述第二角加速度,确定当前时刻用于控制所述可移动平台的目标控制量。According to the second acceleration and/or the second angular acceleration, a target control amount for controlling the movable platform at the current moment is determined.
  34. 根据权利要求33所述的控制设备,其特征在于,所述处理器对所述第一加速度进行调整得到第二加速度时,具体用于:The control device according to claim 33, wherein when the processor adjusts the first acceleration to obtain the second acceleration, it is specifically configured to:
    根据第一预设方式对所述第一加速度进行调整得到第二加速度。The first acceleration is adjusted according to the first preset manner to obtain the second acceleration.
  35. 根据权利要求34所述的控制设备,其特征在于,所述处理器对所述第一角加速度进行调整得到第二角加速度时,具体用于:The control device according to claim 34, wherein when the processor adjusts the first angular acceleration to obtain the second angular acceleration, it is specifically configured to:
    根据第二预设方式对所述第一角加速度进行调整得到第二角加速度。The first angular acceleration is adjusted according to the second preset manner to obtain the second angular acceleration.
  36. 根据权利要求35所述的控制设备,其特征在于,所述第一预设方式或所述第二预设方式包括如下至少一种:The control device according to claim 35, wherein the first preset mode or the second preset mode comprises at least one of the following:
    线性方式、S形方式、半S形方式。Linear method, S-shaped method, semi-S-shaped method.
  37. 根据权利要求33-36任一项所述的控制设备,其特征在于,所述处理器根据所述第二加速度和/或所述第二角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量时,具体用于:The control device according to any one of claims 33-36, wherein the processor determines that the current moment is used to control the movable platform according to the second acceleration and/or the second angular acceleration When the target control amount of exercise, it is specifically used for:
    根据所述第二加速度和所述第二速度,确定当前时刻所述可移动平台的目标速度;和/或Determine the target speed of the movable platform at the current moment according to the second acceleration and the second speed; and/or
    根据所述第二角加速度和所述第二角速度,确定当前时刻所述可移动平台的目标角速度。According to the second angular acceleration and the second angular velocity, the target angular velocity of the movable platform at the current moment is determined.
  38. 根据权利要求33所述的控制设备,其特征在于,所述处理器根据所述第二加速度和/或所述第二角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量时,具体用于:The control device according to claim 33, wherein the processor determines a target control variable for controlling the movement of the movable platform at the current moment according to the second acceleration and/or the second angular acceleration When, specifically used for:
    检测多个所述全向轮中的每个所述全向轮是否打滑;Detecting whether each of the plurality of omnidirectional wheels is slipping;
    若多个所述全向轮中至少有一个所述全向轮打滑,则确定至少一个打滑的全向轮的打滑程度;If at least one of the plurality of omnidirectional wheels slips, determining the degree of slippage of at least one slipping omnidirectional wheel;
    根据所述第二加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三加速度,和/或,根据所述第二角加速度和至少一个所述全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三角加速度;According to the second acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels, the third acceleration of the movable platform is determined when at least one of the slipping omnidirectional wheels is not slipping, and/or according to the The second angular acceleration and the degree of slippage of at least one of the omnidirectional wheels to determine the third angular acceleration of the movable platform when at least one of the omnidirectional wheels is not slipping;
    根据所述第三加速度和/或第三角加速度,确定当前时刻用于控制所 述可移动平台运动的目标控制量。According to the third acceleration and/or the third angular acceleration, a target control quantity for controlling the movement of the movable platform at the current moment is determined.
  39. 根据权利要求38所述的控制设备,其特征在于,所述处理器根据所述第三加速度和/或第三角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量时,具体用于:The control device according to claim 38, wherein the processor determines the target control amount for controlling the movement of the movable platform at the current moment according to the third acceleration and/or the third angular acceleration, specifically Used for:
    根据所述第三加速度和所述第二速度,确定当前时刻所述可移动平台的目标速度;和/或Determine the target speed of the movable platform at the current moment according to the third acceleration and the second speed; and/or
    根据所述第三角加速度和所述第二角速度,确定当前时刻所述可移动平台的目标角速度。According to the third angular acceleration and the second angular velocity, the target angular velocity of the movable platform at the current moment is determined.
  40. 根据权利要求38或39所述的控制设备,其特征在于,所述处理器根据所述第二加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三加速度时,具体用于:The control device according to claim 38 or 39, wherein the processor determines the at least one slipping omnidirectional wheel according to the second acceleration and the degree of slippage of the at least one slipping omnidirectional wheel When not slipping, the third acceleration of the movable platform is specifically used for:
    根据所述第二加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定所述可移动平台的第三加速度。The third acceleration of the movable platform is determined according to the second acceleration and the largest degree of slippage among the degree of slippage of at least one of the slipping omnidirectional wheels.
  41. 根据权利要求38或39所述的控制设备,其特征在于,所述处理器根据所述第二角加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三角加速度时,具体用于:The control device according to claim 38 or 39, wherein the processor determines at least one omnidirectional slip of the at least one slip according to the second angular acceleration and the degree of slip of at least one omnidirectional slip of the slip When the wheels are not slipping, the third angular acceleration of the movable platform is specifically used for:
    根据所述第二角加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第三角加速度。Determine the third angular acceleration of the movable platform when the at least one slipping omnidirectional wheel is not slipping according to the second angular acceleration and the maximum slipping degree of the at least one slipping omnidirectional wheel.
  42. 根据权利要求32所述的控制设备,其特征在于,所述处理器根据所述第一控制量和所述第二控制量,确定当前时刻用于控制所述可移动平台运动的目标控制量时,具体用于:The control device according to claim 32, wherein the processor determines the target control amount for controlling the movement of the movable platform at the current moment according to the first control amount and the second control amount. , Specifically used for:
    检测多个所述全向轮中的每个所述全向轮是否打滑;Detecting whether each of the plurality of omnidirectional wheels is slipping;
    若多个所述全向轮中至少有一个所述全向轮打滑,则确定至少一个所述打滑的全向轮的打滑程度;If at least one of the plurality of omnidirectional wheels slips, determining the degree of slippage of at least one of the slipping omnidirectional wheels;
    根据所述第一控制量和所述第二控制量,确定当前时刻所述可移动平台需要达到的第一加速度和/或第一角加速度;Determine the first acceleration and/or the first angular acceleration that the movable platform needs to achieve at the current moment according to the first control quantity and the second control quantity;
    根据至少一个所述打滑的全向轮的打滑程度、所述第一加速度和/或 所述第一角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量。According to the degree of slip of at least one of the slipping omnidirectional wheels, the first acceleration and/or the first angular acceleration, a target control amount for controlling the movement of the movable platform at the current moment is determined.
  43. 根据权利要求42所述的控制设备,其特征在于,所述处理器根据至少一个所述打滑的全向轮的打滑程度、所述第一加速度和/或所述第一角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量时,具体用于:The control device according to claim 42, wherein the processor determines the current moment according to the degree of slip of at least one of the slipping omnidirectional wheels, the first acceleration and/or the first angular acceleration When used to control the target control amount of the movable platform movement, it is specifically used for:
    根据所述第一加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四加速度;和/或According to the first acceleration and the degree of slip of at least one of the slipping omnidirectional wheels, determine the fourth acceleration of the movable platform when at least one of the slipping omnidirectional wheels is not slipping; and/or
    根据所述第一角加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四角加速度;Determine the fourth angular acceleration of the movable platform when at least one of the slipping omnidirectional wheels is not slipping according to the first angular acceleration and the degree of slippage of at least one of the slipping omnidirectional wheels;
    根据所述第四加速度和/或所述第四角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量。According to the fourth acceleration and/or the fourth angular acceleration, a target control amount for controlling the movement of the movable platform at the current moment is determined.
  44. 根据权利要求43所述的控制设备,其特征在于,所述处理器根据所述第四加速度和/或所述第四角加速度,确定当前时刻用于控制所述可移动平台运动的目标控制量时,具体用于:The control device according to claim 43, wherein the processor determines a target control variable for controlling the movement of the movable platform at the current moment according to the fourth acceleration and/or the fourth angular acceleration When, specifically used for:
    根据所述第四加速度和所述第二速度,确定当前时刻所述可移动平台的目标速度;和/或Determine the target speed of the movable platform at the current moment according to the fourth acceleration and the second speed; and/or
    根据所述第四角加速度和所述第二角速度,确定当前时刻所述可移动平台的目标角速度。According to the fourth angular acceleration and the second angular velocity, the target angular velocity of the movable platform at the current moment is determined.
  45. 根据权利要求43或44所述的控制设备,其特征在于,所述处理器根据所述第一加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四加速度时,具体用于:The control device according to claim 43 or 44, wherein the processor determines the at least one slipping omnidirectional wheel according to the first acceleration and the degree of slippage of the at least one slipping omnidirectional wheel When not slipping, the fourth acceleration of the movable platform is specifically used for:
    根据所述第一加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定所述可移动平台的第四加速度。The fourth acceleration of the movable platform is determined according to the first acceleration and the largest degree of slippage among the degree of slippage of at least one of the slipping omnidirectional wheels.
  46. 根据权利要求43或44所述的控制设备,其特征在于,所述处理器根据所述第一角加速度和至少一个所述打滑的全向轮的打滑程度,确定至少一个所述打滑的全向轮不打滑时,所述可移动平台的第四角加速度时,具体用于:The control device according to claim 43 or 44, wherein the processor determines at least one omnidirectional slip according to the first angular acceleration and the degree of slip of at least one omnidirectional wheel that slips. When the wheels are not slipping, the fourth angular acceleration of the movable platform is specifically used for:
    根据所述第一角加速度和至少一个所述打滑的全向轮的打滑程度中最大的打滑程度,确定所述可移动平台的第四角加速度。The fourth angular acceleration of the movable platform is determined according to the first angular acceleration and the largest degree of slip of the at least one of the slipping omnidirectional wheels.
  47. 根据权利要求38或42所述的控制设备,其特征在于,所述处理器检测多个所述全向轮中的每个所述全向轮是否打滑时,具体用于:The control device according to claim 38 or 42, wherein when the processor detects whether each of the plurality of omnidirectional wheels is slipping, it is specifically configured to:
    根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑;According to the first torque of each of the plurality of omnidirectional wheels and the actual torque of each of the omnidirectional wheels, each of the plurality of omnidirectional wheels is determined Whether the wheel is slipping;
    其中,所述第一转矩是根据所述第一控制量确定的。Wherein, the first torque is determined according to the first control amount.
  48. 根据权利要求47所述的控制设备,其特征在于,所述处理器根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑时,具体用于:The control device according to claim 47, wherein the processor is based on the first torque of each of the omnidirectional wheels and the actual rotation of each of the omnidirectional wheels. Moment, when determining whether each of the plurality of omnidirectional wheels is slipping, it is specifically used for:
    确定各个所述全向轮的第一转矩和实际转矩的差值;Determining the difference between the first torque and the actual torque of each of the omnidirectional wheels;
    若所述差值大于打滑阈值,则确定所述差值对应的全向轮打滑。If the difference is greater than the slip threshold, it is determined that the omnidirectional wheel corresponding to the difference is slipping.
  49. 根据权利要求48所述的控制设备,其特征在于,所述处理器确定至少一个所述打滑的全向轮的打滑程度时,具体用于:The control device according to claim 48, wherein when the processor determines the degree of slip of at least one of the slipped omnidirectional wheels, it is specifically configured to:
    通过对至少一个所述打滑的全向轮的第一转矩和至少一个所述打滑的全向轮的实际转矩的差值进行平滑处理,得到至少一个所述打滑的全向轮的打滑程度。By smoothing the difference between the first torque of the at least one slipping omnidirectional wheel and the actual torque of the at least one slipping omnidirectional wheel, the degree of slippage of the at least one slipping omnidirectional wheel is obtained .
  50. 根据权利要求47所述的控制设备,其特征在于,所述处理器根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑之前,还用于:The control device according to claim 47, wherein the processor is based on the first torque of each of the omnidirectional wheels and the actual rotation of each of the omnidirectional wheels. Moment, before determining whether each of the multiple omnidirectional wheels is slipping, is also used to:
    获取多个所述全向轮中每个所述全向轮对应的电机的电流;Acquiring a current of a motor corresponding to each of the plurality of omnidirectional wheels;
    根据每个所述全向轮对应的电机的电流,确定每个所述全向轮的实际转矩。According to the current of the motor corresponding to each omnidirectional wheel, the actual torque of each omnidirectional wheel is determined.
  51. 根据权利要求47所述的控制设备,其特征在于,所述处理器根据多个所述全向轮中每个所述全向轮的第一转矩和每个所述全向轮的实际转矩,确定多个所述全向轮中的每个所述全向轮是否打滑之前,还用于:The control device according to claim 47, wherein the processor is based on the first torque of each of the omnidirectional wheels and the actual rotation of each of the omnidirectional wheels. Moment, before determining whether each of the multiple omnidirectional wheels is slipping, is also used to:
    根据所述第一加速度和所述第一角加速度,确定多个所述全向轮中每个所述全向轮的第一转矩。According to the first acceleration and the first angular acceleration, the first torque of each of the plurality of omnidirectional wheels is determined.
  52. 根据权利要求48所述的控制设备,其特征在于,所述处理器根据所述第一加速度和所述第一角加速度,确定多个所述全向轮中每个所述 全向轮的第一转矩时,具体用于:The control device according to claim 48, wherein the processor determines the first acceleration of each of the plurality of omnidirectional wheels according to the first acceleration and the first angular acceleration. At one torque, it is specifically used for:
    根据所述第一加速度和所述可移动平台的重量,确定多个所述全向轮中第一对角轮的合转矩与第二对角轮的合转矩的和值;Determine the sum of the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel among the plurality of omnidirectional wheels according to the first acceleration and the weight of the movable platform;
    根据所述第一角加速度和所述可移动平台的底盘的几何中心到所述全向轮的距离,确定多个所述全向轮中所述第一对角轮的合转矩与所述第二对角轮的合转矩的差值;According to the first angular acceleration and the distance from the geometric center of the chassis of the movable platform to the omnidirectional wheel, the combined torque of the first diagonal wheel among the plurality of omnidirectional wheels and the The difference of the total torque of the second diagonal wheel;
    根据所述第一对角轮的合转矩与所述第二对角轮的合转矩的和值,以及所述第一对角轮的合转矩与所述第二对角轮的合转矩的差值,确定所述第一对角轮的合转矩、以及所述第二对角轮的合转矩;According to the sum of the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel, and the combined torque of the first diagonal wheel and the second diagonal wheel The difference between the torques determines the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel;
    根据所述第一对角轮的合转矩、以及所述第二对角轮的合转矩,确定所述可移动平台的多个所述全向轮中每个所述全向轮的第一转矩。According to the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel, determine the first omnidirectional wheel of each of the plurality of omnidirectional wheels of the movable platform One torque.
  53. 根据权利要求52所述的控制设备,其特征在于,所述处理器根据所述第一对角轮的合转矩、以及所述第二对角轮的合转矩,确定所述可移动平台的多个所述全向轮中每个所述全向轮的第一转矩时,具体用于:The control device according to claim 52, wherein the processor determines the movable platform according to the combined torque of the first diagonal wheel and the combined torque of the second diagonal wheel The first torque of each of the plurality of omnidirectional wheels is specifically used for:
    根据所述第一速度和所述第一角速度,确定多个所述全向轮中每个所述全向轮需要达到的第一转速;Determining, according to the first speed and the first angular speed, the first rotational speed that each of the plurality of omnidirectional wheels needs to reach;
    根据所述第一对角轮的合转矩、以及所述第一对角轮包括的每个所述全向轮的第一转速,确定所述第一对角轮包括的每个所述全向轮的第一转矩;According to the combined torque of the first diagonal wheel and the first rotational speed of each of the omnidirectional wheels included in the first diagonal wheel, determine each of the omnidirectional wheels included in the first diagonal wheel. The first torque of the steering wheel;
    根据所述第二对角轮的合转矩、以及所述第二对角轮包括的每个所述全向轮的第一转速,确定所述第二对角轮包括的每个所述全向轮的第一转矩。According to the combined torque of the second diagonal wheel and the first rotational speed of each of the omnidirectional wheels included in the second diagonal wheel, determine each of the omnidirectional wheels included in the second diagonal wheel. The first torque of the wheel.
  54. 根据权利要求37、39或44所述的控制设备,其特征在于,当所述电机对应的电机控制器为按照速度环模式运行时,所述处理器根据所述目标控制量,控制所述可移动平台运动时,具体用于:The control device according to claim 37, 39, or 44, wherein when the motor controller corresponding to the motor runs in a speed loop mode, the processor controls the controllable When the mobile platform is in motion, it is specifically used for:
    根据所述可移动平台的目标速度和所述可移动平台的目标角速度,确定多个所述全向轮中每个所述全向轮的目标转速;Determining the target rotational speed of each of the plurality of omnidirectional wheels according to the target speed of the movable platform and the target angular velocity of the movable platform;
    根据每个所述全向轮的目标转速,控制所述可移动平台运动。The movement of the movable platform is controlled according to the target rotation speed of each of the omnidirectional wheels.
  55. 根据权利要求54所述的控制设备,其特征在于,所述处理器根据每个所述全向轮的目标转速,控制所述可移动平台运动时,具体用于:The control device according to claim 54, wherein the processor is specifically configured to: when controlling the movement of the movable platform according to the target rotational speed of each of the omnidirectional wheels:
    将每个所述全向轮的目标转速发送给所述全向轮对应的电机控制器,所述电机控制器用于根据所述目标转速驱动所述全向轮对应的电机转动。The target rotational speed of each omnidirectional wheel is sent to a motor controller corresponding to the omnidirectional wheel, and the motor controller is configured to drive the motor corresponding to the omnidirectional wheel to rotate according to the target rotational speed.
  56. 根据权利要求37、39或44所述的控制设备,其特征在于,当所述电机对应的电机控制器为按照转矩环模式运行时,所述处理器根据所述目标控制量,控制所述可移动平台运动时,具体用于:The control device according to claim 37, 39 or 44, wherein when the motor controller corresponding to the motor is operating in a torque loop mode, the processor controls the When the movable platform is in motion, it is specifically used for:
    根据所述可移动平台的目标速度和所述可移动平台的目标角速度,确定多个所述全向轮中每个所述全向轮的目标转矩;Determining the target torque of each of the plurality of omnidirectional wheels according to the target speed of the movable platform and the target angular velocity of the movable platform;
    根据每个所述全向轮的目标转矩,控制所述可移动平台运动。The movement of the movable platform is controlled according to the target torque of each of the omnidirectional wheels.
  57. 根据权利要求56所述的控制设备,其特征在于,所述处理器根据所述可移动平台的目标速度和所述可移动平台的目标角速度,确定多个所述全向轮中每个所述全向轮的目标转矩时,具体用于:The control device according to claim 56, wherein the processor determines each of the plurality of omnidirectional wheels according to the target speed of the movable platform and the target angular speed of the movable platform. When the target torque of the omnidirectional wheel, it is specifically used for:
    根据所述目标速度对应的目标加速度和所述可移动平台的重量,确定多个所述全向轮中第一对角轮的目标合转矩与第二对角轮的目标合转矩的和值;According to the target acceleration corresponding to the target speed and the weight of the movable platform, the sum of the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel among the plurality of omnidirectional wheels is determined value;
    根据所述目标角速度对应的目标角加速度和所述可移动平台的底盘的几何中心到所述全向轮的距离,确定多个所述全向轮中所述第一对角轮的目标合转矩与所述第二对角轮的目标合转矩的差值;According to the target angular acceleration corresponding to the target angular velocity and the distance from the geometric center of the chassis of the movable platform to the omnidirectional wheel, the target co-rotation of the first diagonal wheel among the plurality of omnidirectional wheels is determined The difference between the moment and the target total torque of the second diagonal wheel;
    根据所述第一对角轮的目标合转矩与所述第二对角轮的目标合转矩的和值,以及所述第一对角轮的目标合转矩与所述第二对角轮的目标合转矩的差值,确定所述第一对角轮的目标合转矩、以及所述第二对角轮的目标合转矩;According to the sum of the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel, and the target combined torque of the first diagonal wheel and the second diagonal The difference between the target total torque of the wheels, determining the target total torque of the first diagonal wheel and the target total torque of the second diagonal wheel;
    根据所述第一对角轮的目标合转矩、以及所述第二对角轮的目标合转矩,确定多个所述全向轮中每个所述全向轮的目标转矩。According to the target combined torque of the first diagonal wheel and the target combined torque of the second diagonal wheel, the target torque of each of the plurality of omnidirectional wheels is determined.
  58. 根据权利要求57所述的控制设备,其特征在于,所述处理器根据所述第一对角轮的目标合转矩、以及所述第二对角轮的目标合转矩,确定多个所述全向轮中每个所述全向轮的目标转矩时,具体用于:The control device according to claim 57, wherein the processor determines a plurality of total torques based on the target total torque of the first diagonal wheel and the target total torque of the second diagonal wheel. When the target torque of each of the omnidirectional wheels is stated, it is specifically used for:
    根据所述目标速度和所述目标角速度,确定多个所述全向轮中每个所述全向轮需要达到的目标转速;Determining, according to the target speed and the target angular speed, a target rotational speed that each of the plurality of omnidirectional wheels needs to reach;
    根据所述第一对角轮的目标合转矩、以及所述第一对角轮包括的每个所述全向轮的目标转速,确定所述第一对角轮包括的每个所述全向轮的目 标转矩;According to the target combined torque of the first diagonal wheel and the target rotational speed of each of the omnidirectional wheels included in the first diagonal wheel, each of the omnidirectional wheels included in the first diagonal wheel is determined The target torque of the wheel;
    根据所述第二对角轮的目标合转矩、以及所述第二对角轮包括的每个所述全向轮的目标转速,确定所述第二对角轮包括的每个所述全向轮的目标转矩。According to the target combined torque of the second diagonal wheel and the target rotational speed of each of the omnidirectional wheels included in the second diagonal wheel, determine each of the omnidirectional wheels included in the second diagonal wheel. The target torque of the steering wheel.
  59. 根据权利要求56所述的控制设备,其特征在于,所述处理器根据每个所述全向轮的目标转矩,控制所述可移动平台运动时,具体用于:The control device according to claim 56, wherein the processor is specifically configured to: when controlling the movement of the movable platform according to the target torque of each of the omnidirectional wheels:
    将每个所述全向轮的目标转矩发送给所述全向轮对应的电机控制器,所述电机控制器用于根据所述目标转矩驱动所述全向轮对应的电机转动。The target torque of each omnidirectional wheel is sent to a motor controller corresponding to the omnidirectional wheel, and the motor controller is configured to drive the motor corresponding to the omnidirectional wheel to rotate according to the target torque.
  60. 根据权利要求31所述的控制设备,其特征在于,所述控制设备还包括:通讯接口;The control device according to claim 31, wherein the control device further comprises: a communication interface;
    所述处理器获取用于控制所述可移动平台的用户指令时,具体用于:When the processor obtains a user instruction for controlling the movable platform, it is specifically used for:
    通过所述通讯接口接收用户终端发送的用于控制所述可移动平台运动的用户指令。A user instruction sent by a user terminal for controlling the movement of the movable platform is received through the communication interface.
  61. 一种可移动平台,其特征在于,包括:A movable platform, characterized in that it comprises:
    机身;body;
    动力系统,安装在所述机身,用于驱动所述可移动平台运动,所述动力系统包括至少一个电机控制器、多个电机以及与所述电机一一对应的多个全向轮,所述至少一个电机控制器用于控制多个所述电机转动,多个所述电机分别用于驱动对应的全向轮转动;The power system is installed on the body and used to drive the movable platform to move. The power system includes at least one motor controller, a plurality of motors, and a plurality of omnidirectional wheels corresponding to the motors one to one. The at least one motor controller is used to control the rotation of multiple motors, and the multiple motors are respectively used to drive the corresponding omni wheel to rotate;
    以及权利要求31-60任一项所述的控制设备。And the control device of any one of claims 31-60.
  62. 根据权利要求61所述的可移动平台,其特征在于,所述可移动平台包括如下至少一种:The movable platform according to claim 61, wherein the movable platform comprises at least one of the following:
    可移动机器人、可移动小车、无人驾驶车辆。Movable robots, movable cars, unmanned vehicles.
  63. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器执行以实现权利要求1-30任一项所述的方法。A computer-readable storage medium, characterized in that a computer program is stored thereon, and the computer program is executed by a processor to implement the method according to any one of claims 1-30.
PCT/CN2019/090754 2019-06-11 2019-06-11 Control method and apparatus for movable platform, device, and storage medium WO2020248132A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980012189.7A CN111712399A (en) 2019-06-11 2019-06-11 Control method, device and equipment of movable platform and storage medium
PCT/CN2019/090754 WO2020248132A1 (en) 2019-06-11 2019-06-11 Control method and apparatus for movable platform, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/090754 WO2020248132A1 (en) 2019-06-11 2019-06-11 Control method and apparatus for movable platform, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2020248132A1 true WO2020248132A1 (en) 2020-12-17

Family

ID=72536730

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/090754 WO2020248132A1 (en) 2019-06-11 2019-06-11 Control method and apparatus for movable platform, device, and storage medium

Country Status (2)

Country Link
CN (1) CN111712399A (en)
WO (1) WO2020248132A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113075929A (en) * 2021-03-25 2021-07-06 深圳市伽利略机器人有限公司 Rolling brush type omnidirectional walking robot and walking control method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5373439A (en) * 1992-09-18 1994-12-13 Samsung Electronics Co., Ltd. Method for controlling the traveling path of a robot during acceleration and deceleration
EP1875888A2 (en) * 2006-07-05 2008-01-09 Kanto Auto Works, Ltd. Differential steering type motorized vehicle
CN104483968A (en) * 2014-12-02 2015-04-01 冯炳和 Four-wheel full-direction football robot moving control method based on PID
CN106568440A (en) * 2016-11-03 2017-04-19 珠海市微半导体有限公司 Acceleration sensor-based robot behavior detection system and method
CN107416443A (en) * 2017-05-25 2017-12-01 四川理工学院 A kind of intelligent family moving platform
CN109343589A (en) * 2018-09-03 2019-02-15 北京云迹科技有限公司 Rate smoothing method and device for robot

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5373439A (en) * 1992-09-18 1994-12-13 Samsung Electronics Co., Ltd. Method for controlling the traveling path of a robot during acceleration and deceleration
EP1875888A2 (en) * 2006-07-05 2008-01-09 Kanto Auto Works, Ltd. Differential steering type motorized vehicle
CN104483968A (en) * 2014-12-02 2015-04-01 冯炳和 Four-wheel full-direction football robot moving control method based on PID
CN106568440A (en) * 2016-11-03 2017-04-19 珠海市微半导体有限公司 Acceleration sensor-based robot behavior detection system and method
CN107416443A (en) * 2017-05-25 2017-12-01 四川理工学院 A kind of intelligent family moving platform
CN109343589A (en) * 2018-09-03 2019-02-15 北京云迹科技有限公司 Rate smoothing method and device for robot

Also Published As

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

Similar Documents

Publication Publication Date Title
CN107976902B (en) Enhanced constant-speed approach law sliding mode control method of quad-rotor unmanned aerial vehicle system
CN102538828B (en) There is the air navigation aid of the rotor wing unmanned aerial vehicle of multiple screw propeller
CN106681369A (en) Cloud deck gesture control method and system
CN104811588B (en) A kind of boat-carrying based on gyroscope is surely as control method
WO2019174452A1 (en) Vehicle steering control method, device, system, and vehicle
US11850751B2 (en) Control device, control method, and control system
CN110362075B (en) Unmanned ship output feedback formation control design method with preset performance
CN106843245A (en) A kind of UAV Attitude control method, device and unmanned plane
CN108363393B (en) A kind of smart motion equipment and its air navigation aid and storage medium
CN109189088B (en) Self-adaptive cruise tracking method, terminal and storage medium for tethered unmanned aerial vehicle
KR20190086667A (en) Measurement of wind using multi-copter
WO2022247203A1 (en) Method and apparatus for controlling autonomous vehicle, device, and storage medium
CN110109352B (en) Fixed time self-adaptive attitude control method of three-degree-of-freedom four-rotor aircraft
WO2020248132A1 (en) Control method and apparatus for movable platform, device, and storage medium
KR101436555B1 (en) Internet based Teleoperation System of UAV
US10545495B2 (en) Remote control device and method for UAV and motion control device attached to UAV
CN111547176B (en) Self-balancing robot control method and system, self-balancing robot and medium
TW201719308A (en) Multiple rotors aircraft and control method
CN111443698A (en) Posture self-adjusting mobile balancing device and method, electronic terminal and storage medium
US11794747B2 (en) Method for controlling an actuator of a vehicle
WO2018191981A1 (en) Attitude computation method for unmanned aerial vehicle, flight controller, and unmanned aerial vehicle
CN114148327B (en) Vehicle anti-skid method and device and electronic equipment
WO2017185521A1 (en) Unmanned aerial vehicle control method and device based on mobile terminal
CN111634356A (en) Self-balancing robot control method and system, self-balancing robot and medium
CN111439329B (en) Operable mobile balancing device with self-adjusting posture, method, terminal and medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19932607

Country of ref document: EP

Kind code of ref document: A1