Nothing Special   »   [go: up one dir, main page]

WO2018209864A1 - Moving control method and device, robot and storage medium - Google Patents

Moving control method and device, robot and storage medium Download PDF

Info

Publication number
WO2018209864A1
WO2018209864A1 PCT/CN2017/103265 CN2017103265W WO2018209864A1 WO 2018209864 A1 WO2018209864 A1 WO 2018209864A1 CN 2017103265 W CN2017103265 W CN 2017103265W WO 2018209864 A1 WO2018209864 A1 WO 2018209864A1
Authority
WO
WIPO (PCT)
Prior art keywords
target object
target
speed
rotation
actual
Prior art date
Application number
PCT/CN2017/103265
Other languages
French (fr)
Chinese (zh)
Inventor
阳方平
Original Assignee
广州视源电子科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州视源电子科技股份有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2018209864A1 publication Critical patent/WO2018209864A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • 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

Definitions

  • the present invention relates to the field of robot control technologies, and in particular, to a mobile control method, apparatus, robot, and storage medium.
  • a mobile-enabled robot is a type of robotic system that can realize a predetermined task by sensing the environment and its own state through sensors, and achieving an autonomous navigation movement in an obstacle-oriented environment.
  • the left and right driving wheels are usually controlled to move or rotate by the driver, and the speeds of the left and right driving wheels are closed.
  • the closed loop process can refer to FIG. 1 , and the robot acquires the actual speed of the current output of the left and right driving wheels at a time, and corrects the target speed of the output of the driver according to the speed to achieve normal movement of the robot.
  • the speed is closed, and the overall position of the robot is not closed, which reduces the position accuracy of the robot, thereby affecting the accuracy of the robot path planning.
  • embodiments of the present invention provide a mobile control method, apparatus, robot, and storage medium to solve the technical problem of low position accuracy during robot movement.
  • an embodiment of the present invention provides a mobile control method, including:
  • an embodiment of the present invention further provides a mobile control apparatus, including:
  • An acquiring module configured to acquire control parameters, first actual location data, and first target location data of the target object
  • a first movement module configured to determine a desired speed of the target object according to the control parameter, the first actual position data, and the first target position data, and control the target object to move by using the desired speed ;
  • the stop confirmation module is configured to determine whether the target object satisfies a preset stop movement condition, and if yes, perform a preset stop operation.
  • an embodiment of the present invention further provides a robot, including:
  • One or more processors are One or more processors;
  • a storage device for storing one or more programs
  • One or more mobile devices for implementing a moving operation and a rotating operation of the robot
  • the one or more programs are executed by the one or more processors such that the one or more processors implement the mobility control method of the first aspect.
  • an embodiment of the present invention further provides a storage medium comprising computer executable instructions for performing the mobility control method according to the first aspect when executed by a computer processor.
  • the mobile control method, device, robot and storage medium provided by the embodiment of the present invention determine the target object by acquiring the control parameter of the target object, the first actual position data, and the first target position data. The speed is expected, and the target object is moved according to the desired speed. If the target object satisfies the preset stop movement condition, the technical solution of the preset stop operation is executed, and the position parameter of the target object is closed during the movement of the target object. It ensures the accuracy of the moving path of the target object and solves the problem of low positional accuracy during the movement.
  • FIG. 1 is a schematic diagram of a speed closed loop in the prior art
  • FIG. 2 is a flowchart of a mobile control method according to Embodiment 1 of the present invention.
  • FIG. 3a is a flowchart of a mobile control method according to Embodiment 2 of the present invention.
  • 3b is a flow chart of a method for stopping a mobile in the prior art
  • 3c is a flowchart of a mobile method according to Embodiment 2 of the present invention.
  • 3d is a flowchart of an in-situ rotation method according to Embodiment 2 of the present invention.
  • 3e is a flowchart of a forward mobility method according to Embodiment 2 of the present invention.
  • Figure 3f is a schematic diagram of the moving space of the robot
  • Figure 3g is an algorithm block diagram of the robot moving process
  • Figure 3h is a schematic diagram of the robot stopping process
  • Figure 3i is a block diagram of an algorithm for the in-situ rotation process of the robot
  • Figure 3j is a block diagram of the algorithm for the forward movement of the robot
  • FIG. 4 is a schematic structural diagram of a mobile control apparatus according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic structural diagram of a robot according to Embodiment 4 of the present invention.
  • FIG. 2 is a flowchart of a mobile control method according to Embodiment 1 of the present invention.
  • the mobile control method provided by this embodiment may be implemented by a mobile control device, which may be implemented by software and/or hardware, and integrated into a robot with intelligent mobile function, wherein the robot refers to an automatic execution work.
  • Machine installation It can accept human command, run pre-programmed procedures, or act on principles based on artificial intelligence techniques, such as moving cars.
  • the target object is a robot having an intelligent mobile function.
  • the control parameter is a parameter related to the movement of the target object, which does not change as the target object moves, and generally includes system parameters and/or command control parameters.
  • the system parameters are the parameters of the control system installed in the target object, such as Proportion Integration Differentiation (PID) controller parameters, linear motion controller parameters, and so on.
  • the command control parameter is an instruction parameter that can be controlled to control the movement of the target object when the target object moves before planning the movement process. It should be noted that the immutable control parameter only targets the target object in a complete intelligent moving process. If the target object starts a new intelligent moving process, the invariable control parameter can be adjusted according to the scene of the intelligent moving process, and the adjustment is performed. Save after completion until the end of this smart move process.
  • the first actual location data is a real-time location acquired during the target object moving process, and may be acquired by an odometer or a positioning algorithm.
  • the first target location data is a pair with the first actual location data
  • the target location at which the target object is expected to arrive which can be determined by motion planning.
  • a coordinate system is established within a moving range of the target object, and the coordinate system includes not only two-dimensional plane coordinates but also angle data. That is, the reference angle is set in advance, and the angle data of the current traveling direction of the target object is determined based on the reference angle.
  • sampling interval is preset, and the control parameter, the first actual position data, and the first target position data are acquired according to the sampling interval.
  • the specific value of the sampling interval can be set according to the actual situation.
  • the movement trajectory deviation of the current data acquisition time of the target object can be determined, and then the movement data of the target object is adjusted. And/or update the planned movement trajectory of the target object to improve the accuracy of the target object movement process.
  • the position error of the target object may be determined according to the first actual position data and the first target position data, and then combined according to the position error.
  • the parameter determines the desired speed of the current data acquisition time.
  • the desired speed comprises a desired line speed and/or a desired angular speed, preferably comprising a desired line speed and a desired angular speed.
  • the target object when the target object is moved according to the desired speed, the target object may be controlled to perform circular motion according to the desired linear velocity and the desired angular velocity to ensure that the target object moves closer to the target stop position.
  • the target object has at least one mobile device.
  • the desired speed can be regarded as a matrix parameter, wherein The sub-speed of each mobile device is included, and the corresponding mobile device is controlled according to the sub-speed.
  • the stop movement condition is set in advance so that the target object determines whether it is necessary to perform a preset stop operation.
  • the specific content of the preset stop movement condition can be set according to actual conditions.
  • the movement stop position is set, and the first actual position data of the current time after the target object is moved is obtained, and it is determined whether the first actual position data reaches the movement stop position, thereby determining whether to perform the preset stop operation.
  • the movement stop position is the stop position of the movement operation, not the target stop position. Generally, the distance between the movement stop position and the target stop position is less than the distance threshold.
  • the first actual position data of the current time of the target object is acquired, and whether the distance between the target object and the target stop position is less than or equal to the set distance threshold is determined according to the first actual position data. If it is less than or equal to the preset distance threshold, it indicates that the preset stop condition is met, and the preset stop operation is performed. If it is greater than the preset distance threshold, the preset stop condition is not satisfied, and the desired speed of the target object needs to be re-determined. And move.
  • the desired speed of the target object is re-determined and moved, which may specifically be an operation of returning the control parameter for acquiring the target object, the first actual position data, and the first target position data
  • the acquired various types of parameters are preferably parameters obtained by controlling the sampling time after the target object is moved by the desired speed.
  • the movement time at which the target object is moved according to the desired speed is set to be the same as the sampling interval of the data acquisition.
  • the operation of moving the target object from the current actual position to the target stop position is referred to as a preset stop operation.
  • the preset stop operation includes at least an in-situ rotation process and/or a forward movement process.
  • the in-situ rotation process performs an in-situ rotation operation for the control target object until the angle data of the target object after rotation is the same as the angle data of the target stop position.
  • the forward movement process advances the control target object until the two-dimensional plane coordinates of the target object after the advancement are the same as the two-dimensional plane coordinates of the target stop position.
  • the target object cannot perform accurate linear movement, and is mostly a circular arc operation with a slight arc.
  • the target object is forwardly executed with a slightly arced arc operation. Moves in a straight line.
  • the preset stop operation includes both the in-situ rotation process and the linear movement process, the sequence of the two processes during execution may be set according to actual conditions, which is not limited in this embodiment.
  • the preset stop operation it is still necessary to acquire the actual position information of the target object, and confirm whether the target object reaches the target stop position according to the actual position information, and if the target stop position is reached, stop moving.
  • the technical solution provided by the embodiment determines the desired speed of the target object by acquiring the control parameter of the target object, the first actual position data, and the first target position data, and controls the target object to move according to the desired speed, if the target object satisfies the preset When the movement condition is stopped, the preset stop operation is performed. Otherwise, the technical solution of re-determining the desired speed of the target object and controlling the movement of the target object realizes the closed loop of the position parameter of the target object during the movement of the target object, thereby ensuring The accuracy of the target object's movement path solves the problem of low positional accuracy during the movement.
  • FIG. 3a is a flowchart of a mobile control method according to Embodiment 2 of the present invention.
  • This embodiment provides The mobile control method is embodied on the basis of the above embodiment. Specifically, referring to FIG. 3a, the mobile control method provided in this embodiment specifically includes:
  • S201 Determine, by using a dynamic window method, an optimal control instruction and a corresponding planning trajectory during movement of the target object, to determine a control instruction parameter and a first target position data of the target object according to the optimal control instruction and the planned trajectory.
  • control parameters include system parameters and command control parameters.
  • Dynamic Window Approach is a sensor-based local path planning and obstacle avoidance method. It regards the target object as a dynamic entity and takes into account the kinematics and dynamic constraints of the target object moving fast. .
  • the optimization process is done by directly searching the speed space of the target object.
  • the velocity space is composed of a pair of speeds that the target object can reach, wherein the velocity pair is represented by (v, ⁇ ), v is the linear velocity, and ⁇ is the rotational velocity.
  • the target function After determining the instruction space, the target function is used to evaluate all the instructions in the search space, and the instruction that maximizes the objective function is selected as the optimal control instruction.
  • the optimal control instruction the target object moving process and the planning trajectory corresponding to the moving process can be simulated.
  • the objective function When the above objective function is selected, it generally refers to the following three evaluation indexes: the orientation of the target stop position, the distance between the target object and the obstacle, and the fastest speed (linear speed and rotation speed) when the target object moves.
  • the objective function is a linear combination of the foregoing three evaluation indicators, and the specific combination rule is not limited in this embodiment.
  • the first target location data of each data acquisition time of the target object may be determined according to the planned trajectory.
  • the target object determines the optimal control instruction and the corresponding planning trajectory in the moving process of the target object before moving
  • the target object is controlled to perform initial movement according to the optimal control instruction, and the control of the target object is started.
  • the optimal control command usually does not change after the determination, that is, the optimal control command is used as the control command parameter.
  • S202 Acquire control parameters of the target object, first actual location data, and first target location data.
  • the system parameter in the control parameter is a parameter of the controller that determines the actual control parameter of the target object.
  • the controller is placed inside the target object, which can be software and/or hardware and meets the Lyapunov asymptotic stability requirements.
  • S203 Determine position error data of the target object according to the first actual position data and the first target position data.
  • the formula for determining the position error data is:
  • the position error data P e (t) corresponding to the current data sampling timing can be determined.
  • S204 Determine actual control parameters of the current time of the target object by using the position error data, the first actual position data, and the control parameter.
  • the actual control parameter is a control parameter that is output by the corresponding controller when the control target object moves.
  • the formula for determining the actual control parameters is:
  • K x , K y , K ⁇ are the system parameters of the corresponding controller, respectively, which can be set according to actual conditions.
  • the actual control parameters includes a linear control speed parameter vq (t) and a rotational control speed parameter wq (t).
  • the actual control parameter can also be understood as correcting the control command parameter according to the control parameter, the first actual position data and the first target position data to obtain the actual control parameter output by the current data acquisition time controller.
  • the process of determining the actual control parameters using equation (2) can also be referred to as a trajectory tracking control algorithm, which can ensure the accuracy of the actual control parameters.
  • S205 Perform speed transformation on the actual control parameter to determine a desired speed of the target object, where the desired speed includes a first sub-speed and a second sub-speed.
  • the target object comprises at least one mobile device, preferably comprising a first mobile device and a second mobile device.
  • the first moving device and the second moving device are preferably a first drive wheel and a second drive wheel, wherein one of the first drive wheel and the second drive wheel is a left drive wheel and the other is a right drive wheel.
  • the target object needs to separately control the first mobile device and the second mobile device to move. Therefore, it is necessary to convert the actual control parameters into a desired speed that controls the movement of the first mobile device and the second mobile device, respectively.
  • the desired speed at which the first mobile device is controlled to move is referred to as a first sub-speed
  • the desired speed at which the second mobile device is controlled to move is referred to as a second sub-speed.
  • q c1 (t) represents the desired speed
  • v l1 (t) represents the desired speed corresponding to the left mobile device
  • v r1 (t) represents the desired speed corresponding to the right mobile device.
  • One of v l1 (t) and v r1 (t) is the first sub-speed and the other is the second sub-speed.
  • b is the spacing between the first mobile device and the second mobile device.
  • the preset stop movement condition is that the distance between the target object and the target stop position is determined to be less than or equal to the set distance threshold according to the first actual position data.
  • the distance value between the first actual position data and the target stop position is determined, and the relationship between the distance value and the distance threshold is confirmed.
  • the data acquisition time period is preset, and when the next data acquisition time after the time period is met, the distance between the first actual location data and the target stop position is determined each time the first actual location data is acquired. Value and confirm the relationship between the distance value and the distance threshold.
  • the first actual position data acquired at the first three data acquisition times is not compared with the target stop position, and the first actual position data acquired each time is started at the fourth data acquisition time.
  • the target stop position is compared and the relationship between the distance value and the distance threshold is confirmed.
  • the target stop position is the position of the target object movement stop point, and the distance threshold may be set according to actual conditions.
  • the distance value described in the above process is a linear distance value between the target object and the target stop position.
  • the flow of stopping the operation of the target object may refer to FIG. 3b, which generally stops the moving operation when the target object moves to a certain range, and performs an in-situ rotation operation until the target object
  • the current posture approaches the target posture.
  • a certain range is a circle whose radius is set to a radius of the stop target stop position, and the target object is rotated by the set angle every time.
  • the above method usually causes a certain deviation between the actual stop position and the stop target point.
  • the local object rotation operation and the forward movement operation are respectively performed on the target object to ensure that the stop position of the target object is the target stop position.
  • the in-place rotation operation may be performed on the target object before performing the forward movement operation, or the forward movement operation may be performed on the target object before performing the in-place rotation operation.
  • the forward movement operation is performed after the in-situ rotation operation is performed on the target object.
  • the motion planning method is adopted in this embodiment. .
  • the step is specifically implemented by the steps of S2091-S2097:
  • S2091 Acquire an actual angle and a target angle when the target object satisfies a preset stop movement condition.
  • the actual location data can be obtained by an odometer or a positioning algorithm.
  • S2092 Determine a rotation plan of the target object according to the actual angle and the target angle.
  • the target object is rotated in advance to be pre-planned to correct the rotation speed according to the rotation planning result during the actual in-situ rotation.
  • the fifth-order polynomial method is exemplarily selected for the rotation planning. The following is a detailed description of the construction of the rotation planning formula based on the fifth-order polynomial method:
  • the five-time polynomial method of motion planning can be expressed as:
  • a 0 , a 1 , a 2 , a 3 , a 4 and a 5 are planning coefficients
  • t 1 is the current rotation time of the target object (in the embodiment, t 1 is the time when the target object starts to move from the start to the current time)
  • S(t 1 ) is the rotation planning result at time t 1 .
  • s t1 a 0 + a 1 t 1 + a 2 t 1 2 + a 3 t 1 3 + a 4 t 1 4 + a 5 t 1 5 (6)
  • It represents the desired angular rotation of the target object at time t 1.
  • the rotation planning formula of the target object can be constructed. Specifically, according to (6), (7), and (8), an angle, an angular velocity, and an angular acceleration of the desired rotation of the target object at any time t 1 can be obtained, and the target object is determined according to the angle, angular velocity, and angular acceleration of the desired rotation. The target rotation angle, the target rotation angular velocity, and the target rotation angular acceleration that are expected to arrive at time 1 .
  • Equation (9), Equation (10), and Equation (11) are the final rotation planning formulas. It should be noted that at least one rotation planning formula can be selectively constructed in the equations (9), (10), and (11) according to actual conditions in the actual application process.
  • the current rotation time is time t 1 .
  • the actual rotation angle can be obtained by the odometer of the target object, and can also be obtained by a positioning algorithm.
  • the target rotation angle ⁇ t1 at time t 1 is determined according to equation (9).
  • S2095 Determine the rotation speed of the current rotation moment by using the actual rotation angle and the target rotation angle, and rotate the target object according to the rotation speed.
  • the step can be specifically implemented by the steps of S20951-S20956:
  • S20951 Determine an angle error data of a current rotation time according to the actual rotation angle and the target rotation angle.
  • the rotation controller is a device that is disposed inside the target object and determines the rotation speed during the in-situ rotation, which may be software and/or hardware.
  • the system parameters of the rotary controller can be set according to the actual situation and cannot be changed during a complete rotation.
  • the rotation controller is selected as the PID controller.
  • Corresponding system parameters include: proportional parameter K p , integral parameter K i and differential parameter K d .
  • S20953 Determine a rotation speed of the current rotation moment of the target object according to the angle error data and the system parameter of the rotation controller.
  • t 1 represents the current rotation time
  • the setting target object includes the first moving device and the second moving device, and in order to ensure that the target object realizes the in-situ rotation operation, it is still required to convert the rotation speed into the first rotation of the first mobile device and the second mobile device. Sub-speed and second rotation sub-speed. Further, when the first mobile device and the second mobile device are set left and right, the formula for the rotational speed conversion of the rotational speed is as follows:
  • v l2 (t 1 ) represents the desired speed corresponding to the left mobile device
  • v r2 (t 1 ) represents the desired speed corresponding to the right mobile device.
  • One of v l2 (t 1 ) and v r2 (t 1 ) is the first sub-speed and the other is the second sub-speed.
  • b is the spacing between the first mobile device and the second mobile device.
  • S20955 The first moving device that controls the target object by using the first rotating sub-speed performs rotation.
  • S20956 Rotating by using a second moving device that controls the target object by the second rotating sub-speed.
  • S2096 Determine whether the target object is rotated to the target angle in place. If yes, execute S2097, otherwise, execute S2094.
  • the actual rotation angle after the rotation is obtained, and it is confirmed whether the actual rotation angle is the target angle, and if so, the target object is confirmed to rotate to the target angle in situ. Otherwise, the rotation speed of the target object is re-determined and the target object is rotated. Since the actual rotation angle has been acquired when it is judged whether the target object is rotated to the target angle in situ, if the target object is not rotated to the target angle in the actual application, the process may return to execute S2094.
  • the control target object moves to the target stop position in the forward direction, and stops the movement operation when moving to the target stop position.
  • the angle data of the target object is the same as the angle data of the target stop position when the in-situ rotation stop time is used, but the two-dimensional plane coordinate position of the target object is different from the two-dimensional plane coordinate position of the target stop position, and therefore, The target object moves forward to the target stop position.
  • the step may be specifically implemented by the steps of S2101-S2107:
  • S2101 Acquire position data at the time when the target object stops the in-situ rotation operation and stop position data of the target stop position.
  • the position data when the in-situ rotation operation is stopped can be obtained by an odometer or a positioning algorithm.
  • S2102. Determine a motion plan of the target object according to the location data and the stop location data.
  • the forward moving process of the target object is pre-planned to correct the forward moving speed according to the mobile planning result during the actual forward moving process.
  • the fifth-order polynomial method is exemplarily selected for moving planning. The following is a detailed description of constructing a mobile planning formula based on the fifth-order polynomial method:
  • the motor planning process of the fifth-order polynomial method can refer to formula (4), and t 1 in formula (4) is changed to t 2 .
  • a 0 , a 1 , a 2 , a 3 , a 4 , and a 5 are planning coefficients
  • t 2 is the current moving time of the target object (in the present embodiment, t 2 is the time when the target object starts to move from the start to the current time)
  • S(t 2 ) is the moving planning result at time t 2 . From equation (4), if you want to determine the mobile planning result of the target object, you need to specify the specific value of the planning factor.
  • the specific determination process of the planning coefficient is:
  • calculation coefficient calculation formula refers to formula (5-1) to formula (5-6).
  • formula (4) can be expressed as:
  • s t2 a 0 + a 1 t 2 + a 2 t 2 2 + a 3 t 2 3 + a 4 t 2 4 + a 5 t 2 5 (14)
  • the movement planning formula of the target object can be constructed. Specifically, according to the equations (14), (15), and (16), the trajectory position data, the trajectory velocity, and the trajectory acceleration of the target object that are expected to move in the forward direction at any time t 2 can be obtained. In order to ensure the accuracy of the planning result, the trajectory position data, the trajectory velocity and the trajectory acceleration are combined with the direction unit vector to determine the target position data, the target speed and the target acceleration that are expected to arrive at the target object t 2 .
  • equations (17), (18), and (19) are the resulting motion planning formulas. It should be noted that, in the actual process, at least one mobile planning formula may be selectively constructed in the equations (17), (18), and (19) according to actual conditions.
  • S2103 Perform a mobile operation, and acquire second actual location data of a current moving moment in the moving process.
  • the second actual position data P c (t 2 ) can be acquired by the odometer of the target object, and can also be acquired by a positioning algorithm.
  • the second target position data P r (t 2 ) at time t 2 is determined according to equation (17).
  • S2105 Determine a moving speed of the current moving moment by using the second actual position data and the second target position data, and move the target object according to the moving speed.
  • the movement error data of the actual forward movement process of the target object and the desired forward movement process may be clarified, and then the moving speed of the target object is adjusted according to the movement error data to ensure The forward movement process is more precise.
  • the movement error data of the second target position data and the second actual position data may be determined by using formula (1), and only the first actual position data in formula (1) needs to be replaced with the second actual position data, and the first The target location data is replaced with the second target location data.
  • the controller that determines the forward motion control parameter may optionally meet the Lyapunov asymptotic stability requirement, and the controller may be the same as or different from the target object when moving.
  • the same controller can be shared when the target object moves and when it moves forward.
  • different controllers can also be used.
  • the system parameter of the controller corresponding to the forward movement is the same as the system parameter type of the controller corresponding to the movement.
  • the forward movement control parameter at the time of the target object t 2 can be determined by the equation (2).
  • K x , K y , and K ⁇ are system parameters of the controller corresponding to the forward movement, respectively.
  • the setting target object includes the first mobile device and the second mobile device, and in order to control the forward movement of the two mobile devices, a speed change of the forward movement control parameter is required to determine the moving speed of the two mobile devices,
  • the moving speed also includes a first forward sub-speed and a second forward sub-speed.
  • the speed changes reference can be made to formula (3), in which case one of v l1 (t 2 ) and v r1 (t 2 ) is the first forward sub-speed and the other is the second forward sub-speed.
  • b is the spacing between the first mobile device and the second mobile device.
  • the first forward sub-speed is used to control the first mobile device to perform forward movement
  • the second forward sub-speed is used to control the second mobile device to perform forward movement to achieve forward movement of the target object.
  • S2106 Determine whether the target object moves to the target stop position. If yes, execute S2107, otherwise, return to execution S2104.
  • the second actual position data after the forward movement is acquired, and it is confirmed whether the second actual position data is the stop position data of the target stop position, and if , confirm that the target object is moving to the target stop position, otherwise it will be re-determined
  • the moving speed of the target object is moved and moved. Since the second actual position data has been acquired when it is judged whether the target object is moving to the target stop position, if the target object does not move to the target stop position in the actual application, the process returns to S2104.
  • the target object is a robot with a mobile function
  • the robot includes a left driving wheel and a right driving wheel.
  • Figure 3f is a schematic diagram of the moving space of the robot. Referring to FIG. 3f, the robot 21 needs to move from the current position to the target stop position 22, and there are obstacles 23 and obstacles 24 in the moving space.
  • the movement of the robot 21 to the target stop position 22 is divided into two processes: a moving process and a stopping process.
  • the preset stop operations performed during the stop are divided into: in-situ rotation operation and forward movement operation.
  • FIG. 3g is an algorithm block diagram of the robot movement process.
  • the robot 21 determines the control command parameter q r and the planned trajectory using the DWA, wherein the planned trajectory is the trajectory 25 in Fig. 3f.
  • the mobile robot 21 is controlled to move according to q r , and the first actual position data P c (t) and the control parameters are acquired at the data acquisition time, while the first target position data P r (t) is determined according to the planned trajectory.
  • the error parameter P e (t) is determined by using the formula (1), and then the actual control parameter q q (t) is determined by the controller using the formula (2), wherein the controller calculation process may be referred to as a trajectory tracking control algorithm.
  • the velocity transformation is performed on q q (t) using equation (3) to determine the desired velocity q c1 (t), where q c1 (t) includes: v l1 (t) and v r1 (t), using v l1 ( t) Control the left drive wheel to move, use v r1 (t) to control the right drive wheel to move, and then realize one movement of the robot.
  • the robot realizes the position closed loop, which ensures the movement accuracy.
  • not only the position closed loop but also the speed closed loop can be selected, wherein the left driving wheel and the right driving wheel are respectively controlled by the PID controller, and the left driving wheel can also be controlled by the PID controller.
  • the process of the right drive wheel is understood to be the process of driving the drive to move the robot.
  • the speed closed loop process can be performed by the drive.
  • the method for realizing the speed closed loop is to obtain the actual speed in the moving process of the target object, and adjust the desired speed according to the actual speed to obtain the corrected speed.
  • the specific adjustment manner is not limited in this embodiment. If the speed loop is also required to be implemented during the subsequent stop, the adjustment method used is the same as that in the process.
  • Figure 3i is an algorithmic block diagram of the robot's in-situ rotation process. Before performing the in-situ rotation process, it is necessary to rotate the in-situ rotation operation to determine the formula (6) and determine the formula (9) according to the formula (6). Performing the in-situ rotation operation, referring to FIG. 3i, obtaining the actual rotation angle ⁇ xt1 of the current rotation time t 1 and determining the corresponding target rotation angle ⁇ t1 according to the formula (9), thereby determining the angle error data ⁇ e .
  • the corresponding rotational speed q xz (t 1 ) is determined according to formula (12), and q xz (t 1 ) is subjected to velocity transformation to determine a desired rotational speed q c2 (t 1 ), where q c2 ( t 1 ) includes: v l2 (t 1 ) and v r2 (t 1 ).
  • v l2 (t 1 ) is used to control the left driving wheel to perform the in-situ rotation operation
  • v r2 (t 1 ) is used to control the right driving wheel to perform the in-situ rotation operation, thereby realizing one in-situ rotation operation of the robot.
  • the robot realizes the rotation angle closed loop, which ensures the accuracy of the rotation.
  • not only the rotation angle closed loop but also the speed closed loop can be selected.
  • Figure 3j is a block diagram of the algorithm for the forward movement of the robot. Before performing the forward movement process, it is necessary to move the forward movement operation to determine the formula (14) and determine the formula (17) according to the formula (14). Further, when performing the forward movement operation, referring to FIG. 3j, acquiring the second actual position data P c (t 2 ) of the current forward movement time t 2 and determining the corresponding second target position data P according to the formula (14) r (t 2 ), and then the error parameter P e (t 2 ) is determined using equation (1).
  • q q (t 2 ) is subjected to velocity transformation using equation (3) to determine a desired speed q c1 (t 2 ), where q c1 (t 2 ) includes: v l1 (t 2 ) and v r1 ( t 2 ), v l1 (t 2 ) can be used to control the forward movement of the left driving wheel, and v r1 (t 2 ) can be used to control the right driving wheel to move forward, thereby realizing a forward movement of the robot.
  • the robot realizes the position closed loop, which ensures the forward movement accuracy.
  • the speed closed loop can be selected, wherein the left driving wheel and the right driving wheel are respectively controlled by the PID controller.
  • the robot After the robot completes the forward movement, it confirms whether the current P c (t 2 ) is the same as P o . If they are the same, the forward movement process ends. If not, the forward movement operation is performed again according to the in-situ rotation algorithm of Fig. 3j.
  • the technical solution provided by the embodiment determines the optimal control instruction and the corresponding planning trajectory in the moving process of the target object through the dynamic window method, and actually avoids the obstacle in the moving process of the target object, and obtains the first in the actual moving process.
  • the target position data and the first actual position data determine the desired speed of controlling the movement of the target object, realizing the position closed loop, and ensuring the precise execution of the planned path of the target object.
  • the advantage of this is that Overcome the problem that the distance between the target object and the target stop position is too large when the movement stops, and it is easy to turn back and forth.
  • FIG. 4 is a schematic structural diagram of a mobile control apparatus according to Embodiment 3 of the present invention.
  • the mobile control apparatus provided in this embodiment specifically includes: an obtaining module 301, a first moving module 302, and a stop confirming module 303.
  • the acquiring module 301 is configured to acquire the control parameter of the target object, the first actual location data, and the first target location data.
  • the first mobile module 302 is configured to use, according to the control parameter, the first actual location data, and the first target location data. Determining a desired speed of the target object and controlling the target object to move with the desired speed; stopping the confirmation module 303 for determining whether the target object satisfies the preset stop movement condition; if yes, performing a preset stop operation.
  • the technical solution provided by the embodiment determines the desired speed of the target object by acquiring the control parameter of the target object, the first actual position data, and the first target position data, and controls the target object to move according to the desired speed, if the target object satisfies the preset
  • the technical solution of the preset stopping operation is executed, and the position parameter of the target object is closed in the moving process of the target object, the accuracy of the moving path of the target object is ensured, and the positional accuracy in the moving process is solved. Low problem.
  • the first movement module 302 includes: an error determination sub-module, configured to determine position error data of the target object according to the first actual position data and the first target position data; and a parameter determination sub-module for utilizing The position error data, the first actual position data and the control parameter determine an actual control parameter of the current time of the target object; the speed determination sub-module is configured to perform the actual control parameter Speed transformation to determine a desired speed of the target object, the desired speed comprising a first sub-speed and a second sub-speed; a movement control sub-module for controlling movement by the first mobile device of the first sub-speed control target object; the movement controller And a module for moving the second mobile device that controls the target object with the second sub-speed.
  • an error determination sub-module configured to determine position error data of the target object according to the first actual position data and the first target position data
  • a parameter determination sub-module for utilizing The position error data, the first actual position data and the control parameter determine an actual control parameter of the current time of the target object
  • control parameters include: system parameters and control command parameters.
  • the mobile control apparatus further includes: an instruction determining module, configured to determine an optimal process of the target object by using a dynamic window method before acquiring the control parameter of the target object, the first actual position data, and the first target position data.
  • the control instruction and the corresponding planning trajectory are used to determine the control instruction parameter and the first target position data of the target object according to the optimal control instruction and the planned trajectory.
  • the stop confirmation module 303 includes: a determination submodule, configured to determine whether the target object satisfies a preset stop movement condition; and an in situ rotation submodule configured to satisfy a preset stop movement condition, Performing an in-place rotation operation on the target object to rotate the target object to the target angle in situ; moving the sub-module forwardly, controlling the target object to move to the target stop position in the forward direction, and stopping the movement operation when moving to the target stop position Return to the sub-module for re-determining the desired speed of the target object and moving if the preset stop movement condition is not met.
  • the in-situ rotation sub-module includes: an angle acquisition unit, configured to acquire an actual angle and a target angle when the target object meets a preset stop movement condition; and a rotation planning unit, configured to use the actual angle and the target The angle determines a rotation plan of the target object;
  • the rotation execution unit is configured to perform a rotation operation, and acquires an actual rotation angle of the current rotation time during the rotation;
  • the first data acquisition unit is configured to determine a target rotation angle of the current rotation time according to the rotation plan a rotation speed determining unit configured to determine a rotation speed of the current rotation moment by using the actual rotation angle and the target rotation angle, and rotate the target object according to the rotation speed; and a rotation stop determination unit configured to determine whether the target object is rotated to the target angle in situ; If yes, stop the in-place rotation operation, otherwise, re-determine the target object. Rotate the speed and rotate the target object.
  • the rotation speed determining unit includes: a first error subunit for determining angular error data of the current rotation time according to the actual rotation angle and the target rotation angle; and a parameter acquisition subunit for acquiring the rotation controller The system parameter; the speed determining subunit is configured to determine a rotation speed of the current rotation moment of the target object according to the angle error data and the system parameter of the rotation controller; and the speed transformation subunit is configured to perform a rotation speed transformation on the rotation speed to determine the target a desired rotational speed of the object, the desired rotational speed including a first rotational sub-speed and a second rotational sub-speed; a first rotating unit for rotating the first moving device that controls the target object with the first rotating sub-speed; and a second rotating unit And rotating for controlling the second moving device of the target object with the second rotating sub-speed.
  • the forward movement sub-module includes: a position acquisition unit, configured to acquire position data when the target object stops the in-situ rotation operation and stop position data of the target stop position; and a movement planning unit for the position according to the position
  • the data and the stop position data determine a movement plan of the target object
  • the forward movement unit is configured to perform the move operation, and acquire the second actual position data of the current moving moment in the moving process
  • the second data acquiring unit is configured to determine according to the movement plan a second target position data of the current moving time
  • a moving speed determining unit configured to determine a moving speed of the current moving time by using the second actual position data and the second target position data, and move the target object according to the moving speed
  • the movement stop determining unit It is used to judge whether the target object moves to the target stop position, and if so, stops the movement operation; otherwise, it re-determines the movement speed of the target object and moves.
  • the preset stop movement condition is that the distance between the target object and the target stop position is determined to be less than or equal to the set distance threshold according to the first actual position data.
  • the mobile control device provided by the embodiment of the present invention is applicable to the mobile control method provided by any of the foregoing embodiments, and has corresponding functions and advantageous effects.
  • FIG. 5 is a schematic structural diagram of a robot according to Embodiment 4 of the present invention.
  • the robot includes a processor 40, a storage device 41, a mobile device 42, an input device 43, and an output device 44.
  • the number of processors 40 in the robot may be one or more, and one processor in FIG. 40, for example, the number of mobile devices 42 in the robot may be one or more, and two mobile devices 42 are taken as an example in FIG. 5; the processor 40, the storage device 41, the mobile device 42, the input device 43, and the output device in the robot 44 can be connected by bus or other means, in FIG. 5 by way of a bus connection.
  • the mobile device 42 is configured to implement a moving operation and a rotating operation of the robot.
  • the various controllers mentioned in the above method embodiments may be set in the processor 40 by default.
  • the storage device 41 is used as a computer readable storage medium for storing one or more programs, such as the program module/module corresponding to the mobile control method in the embodiment of the present invention (for example, the acquisition module 301 in the mobile control device, A mobile module 302 and a stop confirmation module 303).
  • the processor 40 executes various functional applications and data processing of the device by executing software programs, instructions, and modules stored in the storage device 41, that is, implementing the above-described mobile control method.
  • the storage device 41 may mainly include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the device, and the like. Further, the storage device 41 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, or other nonvolatile solid state storage device. In some examples, storage device 41 may further include memory remotely located relative to processor 40, which may be connected to the robot via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 44 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the robot.
  • the output device 45 may include a display device such as a display screen.
  • Embodiment 5 of the present invention further provides a storage medium including computer executable instructions for executing a mobile control method when executed by a computer processor, the mobile control method comprising:
  • the computer executable instructions are not limited to the operation of the mobile control method as described above, and may also execute the mobile control method provided by any embodiment of the present invention. Related operations in .
  • the present invention can be implemented by software and necessary general hardware, and can also be implemented by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk of a computer.
  • ROM read-only memory
  • RAM random access memory
  • FLASH flash memory
  • hard disk or optical disk etc.
  • a computer device can be a robot, A personal computer, server, or network device, etc. performs the mobility control method described in various embodiments of the present invention.
  • each unit and module included It is only divided according to the functional logic, but it is not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for facilitating mutual differentiation, and are not used to limit the protection scope of the present invention. .

Landscapes

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

Abstract

A moving control method and device, a robot and a storage medium. The moving control method comprises: obtaining control parameters, first actual position data and first target position data of a target object (S110); detecting a desired speed of the target object according to the control parameters, the first actual position data and the first target position data, and using the desired speed to control the target object to move (S120); determining whether the target object satisfies a preset stop moving condition (S130); and if yes, executing a preset stop operation (S140). By means of the moving control method, the technical problem of low position precision in robot moving process can be solved.

Description

移动控制方法、装置、机器人及存储介质Mobile control method, device, robot and storage medium 技术领域Technical field
本发明涉及机器人控制技术领域,尤其涉及一种移动控制方法、装置、机器人及存储介质。The present invention relates to the field of robot control technologies, and in particular, to a mobile control method, apparatus, robot, and storage medium.
背景技术Background technique
具有移动功能的机器人,是一类能够通过传感器感知环境和自身状态,实现在有障碍物的环境中面向目标的自主导航运动,从而完成预定任务的机器人系统。A mobile-enabled robot is a type of robotic system that can realize a predetermined task by sensing the environment and its own state through sensors, and achieving an autonomous navigation movement in an obstacle-oriented environment.
一般而言,该机器人在移动时,通常由驱动器控制左右驱动轮进行移动或旋转,并对左右驱动轮的速度进行闭环。其中,闭环过程可以参考图1,机器人时刻获取左右驱动轮当前输出的实际速度,并根据该速度对驱动器输出的目标速度进行修正,以实现机器人的正常移动。但是,上述方法中仅对速度进行闭环,并未对机器人的整体位置进行闭环,降低了机器人的位置精确度,进而影响了机器人路径规划的精确度。Generally, when the robot is moving, the left and right driving wheels are usually controlled to move or rotate by the driver, and the speeds of the left and right driving wheels are closed. Wherein, the closed loop process can refer to FIG. 1 , and the robot acquires the actual speed of the current output of the left and right driving wheels at a time, and corrects the target speed of the output of the driver according to the speed to achieve normal movement of the robot. However, in the above method, only the speed is closed, and the overall position of the robot is not closed, which reduces the position accuracy of the robot, thereby affecting the accuracy of the robot path planning.
发明内容Summary of the invention
有鉴于此,本发明实施例提供一种移动控制方法、装置、机器人及存储介质,以解决机器人移动过程中位置精确度低的技术问题。In view of this, embodiments of the present invention provide a mobile control method, apparatus, robot, and storage medium to solve the technical problem of low position accuracy during robot movement.
第一方面,本发明实施例提供了一种移动控制方法,包括:In a first aspect, an embodiment of the present invention provides a mobile control method, including:
获取目标对象的控制参数、第一实际位置数据和第一目标位置数据; Obtaining control parameters of the target object, first actual location data, and first target location data;
根据所述控制参数、所述第一实际位置数据和所述第一目标位置数据确定所述目标对象的期望速度,并利用所述期望速度控制所述目标对象进行移动;Determining a desired speed of the target object according to the control parameter, the first actual position data, and the first target position data, and controlling the target object to move by using the desired speed;
判断所述目标对象是否满足预设的停止移动条件,若是,则执行预设的停止操作。Determining whether the target object satisfies a preset stop movement condition, and if so, performing a preset stop operation.
第二方面,本发明实施例还提供了一种移动控制装置,包括:In a second aspect, an embodiment of the present invention further provides a mobile control apparatus, including:
获取模块,用于获取目标对象的控制参数、第一实际位置数据和第一目标位置数据;An acquiring module, configured to acquire control parameters, first actual location data, and first target location data of the target object;
第一移动模块,用于根据所述控制参数、所述第一实际位置数据和所述第一目标位置数据确定所述目标对象的期望速度,并利用所述期望速度控制所述目标对象进行移动;a first movement module, configured to determine a desired speed of the target object according to the control parameter, the first actual position data, and the first target position data, and control the target object to move by using the desired speed ;
停止确认模块,用于判断所述目标对象是否满足预设的停止移动条件,若是,则执行预设的停止操作。The stop confirmation module is configured to determine whether the target object satisfies a preset stop movement condition, and if yes, perform a preset stop operation.
第三方面,本发明实施例还提供了一种机器人,包括:In a third aspect, an embodiment of the present invention further provides a robot, including:
一个或多个处理器;One or more processors;
存储装置,用于存储一个或多个程序;a storage device for storing one or more programs;
一个或多个移动装置,用于实现机器人的移动操作以及旋转操作;One or more mobile devices for implementing a moving operation and a rotating operation of the robot;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面所述的移动控制方法。The one or more programs are executed by the one or more processors such that the one or more processors implement the mobility control method of the first aspect.
第四方面,本发明实施例还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如第一方面所述的移动控制方法。In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions for performing the mobility control method according to the first aspect when executed by a computer processor.
本发明实施例提供的移动控制方法、装置、机器人及存储介质,通过获取目标对象的控制参数、第一实际位置数据和第一目标位置数据确定目标对象的 期望速度,并根据期望速度控制目标对象进行移动,如果目标对象满足预设停止移动条件,则执行预设停止操作的技术方案,实现了在目标对象的移动过程中对目标对象的位置参数进行闭环,保证了目标对象移动路径的精确度,解决了移动过程中位置精确度低的问题。The mobile control method, device, robot and storage medium provided by the embodiment of the present invention determine the target object by acquiring the control parameter of the target object, the first actual position data, and the first target position data. The speed is expected, and the target object is moved according to the desired speed. If the target object satisfies the preset stop movement condition, the technical solution of the preset stop operation is executed, and the position parameter of the target object is closed during the movement of the target object. It ensures the accuracy of the moving path of the target object and solves the problem of low positional accuracy during the movement.
附图说明DRAWINGS
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other features, objects, and advantages of the present invention will become more apparent from the Detailed Description of Description
图1为现有技术中速度闭环示意图;1 is a schematic diagram of a speed closed loop in the prior art;
图2为本发明实施例一提供的一种移动控制方法的流程图;2 is a flowchart of a mobile control method according to Embodiment 1 of the present invention;
图3a为本发明实施例二提供的一种移动控制方法的流程图;3a is a flowchart of a mobile control method according to Embodiment 2 of the present invention;
图3b为现有技术中移动停止方法的流程图;3b is a flow chart of a method for stopping a mobile in the prior art;
图3c为本发明实施例二提供的移动方法的流程图;3c is a flowchart of a mobile method according to Embodiment 2 of the present invention;
图3d为本发明实施例二提供的原地旋转方法的流程图;3d is a flowchart of an in-situ rotation method according to Embodiment 2 of the present invention;
图3e为本发明实施例二提供的正向移动方法的流程图;3e is a flowchart of a forward mobility method according to Embodiment 2 of the present invention;
图3f为机器人的移动空间示意图;Figure 3f is a schematic diagram of the moving space of the robot;
图3g为机器人移动过程的算法框图;Figure 3g is an algorithm block diagram of the robot moving process;
图3h为机器人停止过程的示意图;Figure 3h is a schematic diagram of the robot stopping process;
图3i为机器人原地旋转过程的算法框图;Figure 3i is a block diagram of an algorithm for the in-situ rotation process of the robot;
图3j为机器人正向移动过程的算法框图;Figure 3j is a block diagram of the algorithm for the forward movement of the robot;
图4为本发明实施例三提供的一种移动控制装置的结构示意图;4 is a schematic structural diagram of a mobile control apparatus according to Embodiment 3 of the present invention;
图5为本发明实施例四提供的一种机器人的结构示意图。 FIG. 5 is a schematic structural diagram of a robot according to Embodiment 4 of the present invention.
具体实施方式detailed description
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. It should also be noted that, for ease of description, only some, but not all, of the present invention are shown in the drawings.
实施例一Embodiment 1
图2为本发明实施例一提供的一种移动控制方法的流程图。本实施例提供的移动控制方法可以由移动控制装置执行,该移动控制装置可以通过软件和/或硬件的方式实现,并集成于具有智能移动功能的机器人中,其中,机器人是指可以自动执行工作的机器装置。它既可以接受人类指挥,又可以运行预先编排的程序,也可以根据以人工智能技术制定的原则纲领行动,如移动小车。FIG. 2 is a flowchart of a mobile control method according to Embodiment 1 of the present invention. The mobile control method provided by this embodiment may be implemented by a mobile control device, which may be implemented by software and/or hardware, and integrated into a robot with intelligent mobile function, wherein the robot refers to an automatic execution work. Machine installation. It can accept human command, run pre-programmed procedures, or act on principles based on artificial intelligence techniques, such as moving cars.
S110、获取目标对象的控制参数、第一实际位置数据和第一目标位置数据。S110. Acquire control parameters of the target object, first actual location data, and first target location data.
在本实施例中,目标对象是具有智能移动功能的机器人。控制参数是与目标对象移动相关的参数,其不随着目标对象移动而发生改变,一般包括系统参数和/指令控制参数。系统参数为目标对象中安装的控制系统的参数,如比例-积分-微分(Proportion Integration Differentiation,PID)控制器参数、直线运动控制器参数等。指令控制参数为目标对象移动前对其移动过程进行规划时确定的可以控制目标对象移动的指令参数。需要说明的是,不可变控制参数仅针对目标对象一次完整的智能移动过程,如果目标对象开始一次新的智能移动过程,那么可以根据该次智能移动过程的场景调节不可变控制参数,并在调节完成后保存,直到本次智能移动过程结束为止。In the present embodiment, the target object is a robot having an intelligent mobile function. The control parameter is a parameter related to the movement of the target object, which does not change as the target object moves, and generally includes system parameters and/or command control parameters. The system parameters are the parameters of the control system installed in the target object, such as Proportion Integration Differentiation (PID) controller parameters, linear motion controller parameters, and so on. The command control parameter is an instruction parameter that can be controlled to control the movement of the target object when the target object moves before planning the movement process. It should be noted that the immutable control parameter only targets the target object in a complete intelligent moving process. If the target object starts a new intelligent moving process, the invariable control parameter can be adjusted according to the scene of the intelligent moving process, and the adjustment is performed. Save after completion until the end of this smart move process.
具体的,第一实际位置数据为目标对象移动过程中获取的实时位置,其可以通过里程计或者定位算法获取。第一目标位置数据为与第一实际位置数据对 应的时刻目标对象期望到达的目标位置,其可以通过运动规划确定。可选的,在目标对象的移动范围内建立坐标系,该坐标系不仅包括二维平面坐标,还包括角度数据。即预先设定基准角度,并根据该基准角度确定目标对象当前行进方向的角度数据。Specifically, the first actual location data is a real-time location acquired during the target object moving process, and may be acquired by an odometer or a positioning algorithm. The first target location data is a pair with the first actual location data The target location at which the target object is expected to arrive, which can be determined by motion planning. Optionally, a coordinate system is established within a moving range of the target object, and the coordinate system includes not only two-dimensional plane coordinates but also angle data. That is, the reference angle is set in advance, and the angle data of the current traveling direction of the target object is determined based on the reference angle.
进一步的,预先设定采样间隔,并根据该采样间隔,间隔获取控制参数、第一实际位置数据和第一目标位置数据。其中,采样间隔的具体数值可以根据实际情况进行设定。Further, the sampling interval is preset, and the control parameter, the first actual position data, and the first target position data are acquired according to the sampling interval. The specific value of the sampling interval can be set according to the actual situation.
S120、根据控制参数、第一实际位置数据和第一目标位置数据确定目标对象的期望速度,并利用期望速度控制目标对象进行移动。S120. Determine a desired speed of the target object according to the control parameter, the first actual position data, and the first target position data, and control the target object to move by using the desired speed.
在目标对象移动的过程中,第一实际位置数据通常与第一目标位置数据之间存在误差,根据该误差可以确定目标对象当前数据获取时刻的移动轨迹偏差,进而对目标对象的移动数据进行调整和/或更新目标对象后续的规划移动轨迹,以提高目标对象移动过程的精准性。During the movement of the target object, there is an error between the first actual position data and the first target position data. According to the error, the movement trajectory deviation of the current data acquisition time of the target object can be determined, and then the movement data of the target object is adjusted. And/or update the planned movement trajectory of the target object to improve the accuracy of the target object movement process.
具体的,根据控制参数、第一实际位置数据和第一目标位置数据确定期望速度时,可以是根据第一实际位置数据和第一目标位置数据确定目标对象的位置误差,进而根据位置误差结合控制参数确定当前数据获取时刻的期望速度。其中,期望速度包括期望线速度和/或期望角速度,优选包括期望线速度和期望角速度。Specifically, when determining the desired speed according to the control parameter, the first actual position data, and the first target position data, the position error of the target object may be determined according to the first actual position data and the first target position data, and then combined according to the position error. The parameter determines the desired speed of the current data acquisition time. Wherein the desired speed comprises a desired line speed and/or a desired angular speed, preferably comprising a desired line speed and a desired angular speed.
进一步的,根据期望速度控制目标对象进行移动时,可以是根据期望线速度和期望角速度控制目标对象进行圆弧运动,以保证目标对象向目标停止位置移动靠近。一般而言,目标对象具有至少一个移动装置。例如,目标对象具有左右共两个驱动轮,或者左右各两个驱动轮,那么在控制目标对象移动时,需要分别控制每个移动装置进行移动,即期望速度可以视为一个矩阵参数,其中 包括每个移动装置的子速度,进而根据子速度控制对应的移动装置。Further, when the target object is moved according to the desired speed, the target object may be controlled to perform circular motion according to the desired linear velocity and the desired angular velocity to ensure that the target object moves closer to the target stop position. In general, the target object has at least one mobile device. For example, if the target object has two driving wheels on the left and right sides, or two driving wheels on the left and right sides, then when controlling the movement of the target object, it is necessary to separately control each mobile device to move, that is, the desired speed can be regarded as a matrix parameter, wherein The sub-speed of each mobile device is included, and the corresponding mobile device is controlled according to the sub-speed.
S130、判断目标对象是否满足预设的停止移动条件。若是,则执行S140,否则,返回执行S110。S130. Determine whether the target object meets a preset stop moving condition. If yes, execute S140; otherwise, return to execution S110.
具体的,预先设定停止移动条件,以使目标对象判断是否需要执行预设的停止操作。其中,预设的停止移动条件的具体内容可以根据实际情况进行设定。例如,设定移动停止位置,并获取目标对象移动后当前时刻的第一实际位置数据,判断第一实际位置数据是否到达移动停止位置,进而确定是否执行预设停止操作。移动停止位置为移动操作的停止位置,并非目标停止位置,一般而言,移动停止位置与目标停止位置的距离小于距离阈值。又如,不设定固定的移动停止位置,而是获取目标对象当前时刻的第一实际位置数据,并根据第一实际位置数据确定目标对象与目标停止位置的距离是否小于或等于设定距离阈值,如果小于或等于预设距离阈值,则说明满足预设停止条件,执行预设停止操作,如果大于预设距离阈值,则说明不满足预设停止条件,此时需要重新确定目标对象的期望速度并进行移动。Specifically, the stop movement condition is set in advance so that the target object determines whether it is necessary to perform a preset stop operation. The specific content of the preset stop movement condition can be set according to actual conditions. For example, the movement stop position is set, and the first actual position data of the current time after the target object is moved is obtained, and it is determined whether the first actual position data reaches the movement stop position, thereby determining whether to perform the preset stop operation. The movement stop position is the stop position of the movement operation, not the target stop position. Generally, the distance between the movement stop position and the target stop position is less than the distance threshold. For another example, instead of setting a fixed movement stop position, the first actual position data of the current time of the target object is acquired, and whether the distance between the target object and the target stop position is less than or equal to the set distance threshold is determined according to the first actual position data. If it is less than or equal to the preset distance threshold, it indicates that the preset stop condition is met, and the preset stop operation is performed. If it is greater than the preset distance threshold, the preset stop condition is not satisfied, and the desired speed of the target object needs to be re-determined. And move.
具体的,如果不满足预设停止条件,则重新确定目标对象的期望速度并进行移动,其具体可以是返回执行获取目标对象的控制参数、第一实际位置数据和第一目标位置数据的操作,此时,获取的各类参数优选为利用期望速度控制目标对象进行移动后的采样时刻获取的参数。一般而言,目标对象移动后,都需要在移动后获取当前时刻的第一实际位置数据,以确定是否满足预设的停止移动条件。据此,设定目标对象根据期望速度进行移动的移动时间与数据获取的采样间隔相同。Specifically, if the preset stop condition is not met, the desired speed of the target object is re-determined and moved, which may specifically be an operation of returning the control parameter for acquiring the target object, the first actual position data, and the first target position data, At this time, the acquired various types of parameters are preferably parameters obtained by controlling the sampling time after the target object is moved by the desired speed. In general, after the target object is moved, it is necessary to acquire the first actual position data of the current time after the movement to determine whether the preset stop movement condition is satisfied. According to this, the movement time at which the target object is moved according to the desired speed is set to be the same as the sampling interval of the data acquisition.
S140、执行预设的停止操作。S140. Perform a preset stop operation.
示例性的,目标对象满足预设停止条件后,其当前的实际位置距目标停止 位置还有一段间隔。因此,将目标对象由当前的实际位置移动到目标停止位置的操作称为预设的停止操作。Exemplarily, after the target object meets the preset stop condition, its current actual position is stopped from the target. There is still a gap in the location. Therefore, the operation of moving the target object from the current actual position to the target stop position is referred to as a preset stop operation.
具体的,预设的停止操作至少包括原地旋转过程和/或正向移动过程。其中,原地旋转过程为控制目标对象进行原地旋转操作,直到旋转后目标对象的角度数据与目标停止位置的角度数据相同为止。正向移动过程为控制目标对象进行前进操作,直到前进后目标对象的二维平面坐标与目标停止位置的二维平面坐标相同为止。需要说明的是,在实际的移动过程中,目标对象并不能进行准确的直线移动,多为略带弧度的圆弧操作,本实施例中将目标对象向前执行略带弧度的圆弧操作默认为正向直线移动。一般而言,如果预设的停止操作同时包括原地旋转过程和直线移动过程时,两个过程在执行时的先后顺序可以根据实际情况进行设定,本实施例并不对此进行限定。Specifically, the preset stop operation includes at least an in-situ rotation process and/or a forward movement process. The in-situ rotation process performs an in-situ rotation operation for the control target object until the angle data of the target object after rotation is the same as the angle data of the target stop position. The forward movement process advances the control target object until the two-dimensional plane coordinates of the target object after the advancement are the same as the two-dimensional plane coordinates of the target stop position. It should be noted that, in the actual moving process, the target object cannot perform accurate linear movement, and is mostly a circular arc operation with a slight arc. In this embodiment, the target object is forwardly executed with a slightly arced arc operation. Moves in a straight line. In general, if the preset stop operation includes both the in-situ rotation process and the linear movement process, the sequence of the two processes during execution may be set according to actual conditions, which is not limited in this embodiment.
可选的,在执行预设的停止操作过程中,仍然需要获取目标对象的实际位置信息,并根据该实际位置信息确认目标对象是否到达目标停止位置,如果到达目标停止位置,则停止移动。Optionally, during the execution of the preset stop operation, it is still necessary to acquire the actual position information of the target object, and confirm whether the target object reaches the target stop position according to the actual position information, and if the target stop position is reached, stop moving.
本实施例提供的技术方案,通过获取目标对象的控制参数、第一实际位置数据和第一目标位置数据确定目标对象的期望速度,并根据期望速度控制目标对象进行移动,如果目标对象满足预设停止移动条件,则执行预设停止操作,否则,重新确定目标对象的期望速度并控制目标对象进行移动的技术方案,实现了在目标对象的移动过程中对目标对象的位置参数进行闭环,保证了目标对象移动路径的精确度,解决了移动过程中位置精确度低的问题。The technical solution provided by the embodiment determines the desired speed of the target object by acquiring the control parameter of the target object, the first actual position data, and the first target position data, and controls the target object to move according to the desired speed, if the target object satisfies the preset When the movement condition is stopped, the preset stop operation is performed. Otherwise, the technical solution of re-determining the desired speed of the target object and controlling the movement of the target object realizes the closed loop of the position parameter of the target object during the movement of the target object, thereby ensuring The accuracy of the target object's movement path solves the problem of low positional accuracy during the movement.
实施例二Embodiment 2
图3a为本发明实施例二提供的一种移动控制方法的流程图。本实施例提供 的移动控制方法是在上述实施例的基础上进行具体化。具体的,参考图3a,本实施例提供的移动控制方法具体包括:FIG. 3a is a flowchart of a mobile control method according to Embodiment 2 of the present invention. This embodiment provides The mobile control method is embodied on the basis of the above embodiment. Specifically, referring to FIG. 3a, the mobile control method provided in this embodiment specifically includes:
S201、利用动态窗口法确定目标对象移动过程中的最佳控制指令以及对应的规划轨迹,以根据最佳控制指令和规划轨迹确定目标对象的控制指令参数和第一目标位置数据。S201. Determine, by using a dynamic window method, an optimal control instruction and a corresponding planning trajectory during movement of the target object, to determine a control instruction parameter and a first target position data of the target object according to the optimal control instruction and the planned trajectory.
在本实施例中,控制参数包括系统参数和指令控制参数。In this embodiment, the control parameters include system parameters and command control parameters.
动态窗口法(Dynamic Window Approach,DWA)是一种基于传感器的局部路径规划和避障方法,它将目标对象看成一个动态实体并考虑到了目标对象快速移动时所受的运动学与动力学约束。一般情况下,考虑到目标对象的运动学约束,优化过程是通过直接搜索目标对象的速度空间来完成的。该速度空间是由目标对象能到达的速度对组成,其中,速度对用(v,ω)表示,v表示直线速度,ω表示旋转速度。速度空间也可以称为指令空间,用q=(v,ω)表示。也可以理解为将当前搜索空间约束为目标对象可行的指令空间。在确定指令空间后,使用目标函数对搜索空间内的所有指令进行评价,选择使目标函数最大化的指令作为最佳控制指令。根据最佳控制指令可以模拟出目标对象移动过程以及与该移动过程对应的规划轨迹。上述目标函数在选取时,通常参考下述三种评价指标:目标停止位置的朝向、目标对象与障碍物的距离以及目标对象移动时最快的速度(直线速度和旋转速度)。可选的,目标函数是上述三种评价指标的线性组合,其具体的组合规则本实施例不作限定。Dynamic Window Approach (DWA) is a sensor-based local path planning and obstacle avoidance method. It regards the target object as a dynamic entity and takes into account the kinematics and dynamic constraints of the target object moving fast. . In general, considering the kinematic constraints of the target object, the optimization process is done by directly searching the speed space of the target object. The velocity space is composed of a pair of speeds that the target object can reach, wherein the velocity pair is represented by (v, ω), v is the linear velocity, and ω is the rotational velocity. The velocity space can also be called the instruction space, which is represented by q=(v,ω). It can also be understood as constraining the current search space to a feasible instruction space of the target object. After determining the instruction space, the target function is used to evaluate all the instructions in the search space, and the instruction that maximizes the objective function is selected as the optimal control instruction. According to the optimal control instruction, the target object moving process and the planning trajectory corresponding to the moving process can be simulated. When the above objective function is selected, it generally refers to the following three evaluation indexes: the orientation of the target stop position, the distance between the target object and the obstacle, and the fastest speed (linear speed and rotation speed) when the target object moves. Optionally, the objective function is a linear combination of the foregoing three evaluation indicators, and the specific combination rule is not limited in this embodiment.
进一步的,在目标对象的移动过程中,可以根据规划轨迹确定目标对象每个数据获取时刻的第一目标位置数据。在本实施例中,第一目标位置数据可以表示为Pr(t)=(xr(t),yr(t),θr(t))T,其中,xr(t)和yr(t)表示当前数据获取时刻目标对象期望到达的二维平面坐标位置,θr(t)表示当前数据获取时刻目标对象期望到 达的角度数据,t为当前数据获取时刻,即采样时刻。Further, during the moving of the target object, the first target location data of each data acquisition time of the target object may be determined according to the planned trajectory. In this embodiment, the first target position data may be expressed as P r (t)=(x r (t), y r (t), θ r (t)) T , where x r (t) and y r (t) represents the two-dimensional plane coordinate position that the target object expects to arrive at the current data acquisition time, θ r (t) represents the angle data that the target object expects to reach at the current data acquisition time, and t is the current data acquisition time, that is, the sampling time.
一般而言,目标对象在移动前通过动态窗口法确定目标对象移动过程中的最佳控制指令以及对应的规划轨迹后,根据最佳控制指令控制目标对象进行初始移动,并开始获取目标对象的控制参数、第一实际位置数据和第一目标位置数据。其中,最佳控制指令确定后通常不会发生改变,即将最佳控制指令作为控制指令参数。在本实施例中,控制指令参数表示为qr=(vr,wr),vr和wr分别为控制指令参数中直线速度参数和旋转速度参数。Generally, after the target object determines the optimal control instruction and the corresponding planning trajectory in the moving process of the target object before moving, the target object is controlled to perform initial movement according to the optimal control instruction, and the control of the target object is started. The parameter, the first actual position data, and the first target position data. Among them, the optimal control command usually does not change after the determination, that is, the optimal control command is used as the control command parameter. In the present embodiment, the control command parameters are expressed as q r = (v r , w r ), and v r and w r are linear speed parameters and rotational speed parameters in the control command parameters, respectively.
S202、获取目标对象的控制参数、第一实际位置数据和第一目标位置数据。S202. Acquire control parameters of the target object, first actual location data, and first target location data.
具体的,控制参数中系统参数为确定目标对象实际控制参数的控制器的参数。该控制器设置在目标对象内部,其可以为软件和/或硬件,并满足李雅普诺夫渐近稳定性要求。Specifically, the system parameter in the control parameter is a parameter of the controller that determines the actual control parameter of the target object. The controller is placed inside the target object, which can be software and/or hardware and meets the Lyapunov asymptotic stability requirements.
在本实施例中,第一实际位置数据表示为Pc(t)=(xc(t),yc(t),θc(t)),其中,xc(t)和yc(t)表示当前数据获取时刻目标对象实际的二维平面坐标位置,θc(t)表示当前数据获取时刻目标对象实际的角度数据,t为当前数据获取时刻,即采样时刻。In the present embodiment, the first actual position data is expressed as P c (t)=(x c (t), y c (t), θ c (t)), where x c (t) and y c ( t) indicates the actual two-dimensional plane coordinate position of the target object at the current data acquisition time, θ c (t) represents the actual angle data of the target object at the current data acquisition time, and t is the current data acquisition time, that is, the sampling time.
S203、根据第一实际位置数据和第一目标位置数据确定目标对象的位置误差数据。S203. Determine position error data of the target object according to the first actual position data and the first target position data.
具体的,确定位置误差数据的公式为:Specifically, the formula for determining the position error data is:
Figure PCTCN2017103265-appb-000001
Figure PCTCN2017103265-appb-000001
其中,
Figure PCTCN2017103265-appb-000002
表示为误差参数。根据公式(1)便可以确定当前数据采样时刻对应的位置误差数据Pe(t)。
among them,
Figure PCTCN2017103265-appb-000002
Expressed as an error parameter. According to the formula (1), the position error data P e (t) corresponding to the current data sampling timing can be determined.
S204、利用位置误差数据、第一实际位置数据和控制参数确定目标对象当前时刻的实际控制参数。S204. Determine actual control parameters of the current time of the target object by using the position error data, the first actual position data, and the control parameter.
示例性的,实际控制参数为对应的控制器在控制目标对象移动时,输出的控制参数。进一步的,实际控制参数的确定公式为:Exemplarily, the actual control parameter is a control parameter that is output by the corresponding controller when the control target object moves. Further, the formula for determining the actual control parameters is:
Figure PCTCN2017103265-appb-000003
Figure PCTCN2017103265-appb-000003
其中,Kx,Ky,Kθ分别是对应的控制器的系统参数,其可以根据实际情况进行设定,
Figure PCTCN2017103265-appb-000004
为实际控制参数,其包括直线控制速度参数vq(t)和旋转控制速度参数wq(t)。由式(2)可知,实际控制参数也可以理解为根据控制参数、第一实际位置数据和第一目标位置数据对控制指令参数进行修正,以得到当前数据获取时刻控制器输出的实际控制参数。利用公式(2)确定实际控制参数的过程也可以称为轨迹跟踪控制算法,该算法可以保证实际控制参数的准确性。
Where K x , K y , K θ are the system parameters of the corresponding controller, respectively, which can be set according to actual conditions.
Figure PCTCN2017103265-appb-000004
For the actual control parameters, it includes a linear control speed parameter vq (t) and a rotational control speed parameter wq (t). It can be known from the formula (2) that the actual control parameter can also be understood as correcting the control command parameter according to the control parameter, the first actual position data and the first target position data to obtain the actual control parameter output by the current data acquisition time controller. The process of determining the actual control parameters using equation (2) can also be referred to as a trajectory tracking control algorithm, which can ensure the accuracy of the actual control parameters.
S205、对实际控制参数进行速度变换,以确定目标对象的期望速度,期望速度包括第一子速度和第二子速度。S205. Perform speed transformation on the actual control parameter to determine a desired speed of the target object, where the desired speed includes a first sub-speed and a second sub-speed.
在本实施例中,目标对象包括至少一个移动装置,优选包括第一移动装置和第二移动装置。第一移动装置和第二移动装置优选为第一驱动轮和第二驱动轮,其中,第一驱动轮和第二驱动轮中的一个为左驱动轮,另一个为右驱动轮。具体的,目标对象在实际移动中,需要分别控制第一移动装置和第二移动装置进行移动。因此,需要将实际控制参数转换成分别控制第一移动装置和第二移动装置进行移动的期望速度。可选的,控制第一移动装置进行移动的期望速度称为第一子速度,控制第二移动装置进行移动的期望速度称为第二子速度。In this embodiment, the target object comprises at least one mobile device, preferably comprising a first mobile device and a second mobile device. The first moving device and the second moving device are preferably a first drive wheel and a second drive wheel, wherein one of the first drive wheel and the second drive wheel is a left drive wheel and the other is a right drive wheel. Specifically, in the actual movement, the target object needs to separately control the first mobile device and the second mobile device to move. Therefore, it is necessary to convert the actual control parameters into a desired speed that controls the movement of the first mobile device and the second mobile device, respectively. Alternatively, the desired speed at which the first mobile device is controlled to move is referred to as a first sub-speed, and the desired speed at which the second mobile device is controlled to move is referred to as a second sub-speed.
进一步的,当第一移动装置和第二移动装置左右设置时,对实际控制参数进行速度变换的公式参考如下: Further, when the first mobile device and the second mobile device are set left and right, the formula for speed conversion of the actual control parameters is as follows:
Figure PCTCN2017103265-appb-000005
Figure PCTCN2017103265-appb-000005
其中,qc1(t)表示期望速度,vl1(t)表示左移动装置对应的期望速度,vr1(t)表示右移动装置对应的期望速度。vl1(t)和vr1(t)中的一个为第一子速度,另一个为第二子速度。b为第一移动装置和第二移动装置之间的间距。Where q c1 (t) represents the desired speed, v l1 (t) represents the desired speed corresponding to the left mobile device, and v r1 (t) represents the desired speed corresponding to the right mobile device. One of v l1 (t) and v r1 (t) is the first sub-speed and the other is the second sub-speed. b is the spacing between the first mobile device and the second mobile device.
S206、利用第一子速度控制目标对象的第一移动装置进行移动。S206: Move the first mobile device that controls the target object by using the first sub-speed.
S207、利用第二子速度控制目标对象的第二移动装置进行移动。S207. Move with a second mobile device that controls the target object by using the second sub-speed.
S208、判断目标对象是否满足预设的停止移动条件,若是,则执行S209,否则,返回执行S202。S208. Determine whether the target object satisfies the preset stop movement condition. If yes, execute S209; otherwise, return to execution S202.
示例性的,预设的停止移动条件为根据第一实际位置数据确定目标对象与目标停止位置的距离小于或等于设定距离阈值。可选的,每次获取到第一实际位置数据时,均判断第一实际位置数据与目标停止位置的距离值,并确认距离值与距离阈值的关系。还可选的,预先设定数据获取时间段,当满足该时间段后的下一个数据获取时刻开始,每次获取到第一实际位置数据时均判断第一实际位置数据与目标停止位置的距离值,并确认距离值与距离阈值的关系。比如时间段为3,那么前3个数据获取时刻获取到的第一实际位置数据不与目标停止位置进行比较,在第4个数据获取时刻开始,将每次获取的第一实际位置数据均与目标停止位置进行比较,并确认距离值与距离阈值的关系。其中,目标停止位置为目标对象移动停止点的位置,距离阈值可以根据实际情况进行设定。一般而言,上述过程中描述的距离值为目标对象与目标停止位置的直线距离值。Exemplarily, the preset stop movement condition is that the distance between the target object and the target stop position is determined to be less than or equal to the set distance threshold according to the first actual position data. Optionally, each time the first actual position data is acquired, the distance value between the first actual position data and the target stop position is determined, and the relationship between the distance value and the distance threshold is confirmed. Optionally, the data acquisition time period is preset, and when the next data acquisition time after the time period is met, the distance between the first actual location data and the target stop position is determined each time the first actual location data is acquired. Value and confirm the relationship between the distance value and the distance threshold. For example, if the time period is 3, the first actual position data acquired at the first three data acquisition times is not compared with the target stop position, and the first actual position data acquired each time is started at the fourth data acquisition time. The target stop position is compared and the relationship between the distance value and the distance threshold is confirmed. The target stop position is the position of the target object movement stop point, and the distance threshold may be set according to actual conditions. In general, the distance value described in the above process is a linear distance value between the target object and the target stop position.
现有技术中,目标对象停止操作的流程可参考图3b,其一般为在目标对象移动到一定范围内时,停止其移动操作,并执行原地旋转操作,直到目标对象 当前姿态逼近目标姿态为止。其中,一定范围是以停止目标停止位置为圆心设定长度为半径的圆圈,目标对象每次原地旋转设定的角度。上述方法在实际执行过程中,通常会导致实际停止位置与停止目标点之间存在一定偏差。为了防止上述情况发生,本实施例中提出了当目标对象满足预设的停止移动条件时,分别对目标对象执行原地旋转操作和正向移动操作,以保证目标对象的停止位置为目标停止位置。实际应用中,可以先对目标对象执行原地旋转操作后再执行正向移动操作,也可以先对目标对象执行正向移动操作后再执行原地旋转操作。优选采用先对目标对象执行原地旋转操作后再执行正向移动操作。In the prior art, the flow of stopping the operation of the target object may refer to FIG. 3b, which generally stops the moving operation when the target object moves to a certain range, and performs an in-situ rotation operation until the target object The current posture approaches the target posture. Among them, a certain range is a circle whose radius is set to a radius of the stop target stop position, and the target object is rotated by the set angle every time. In the actual execution process, the above method usually causes a certain deviation between the actual stop position and the stop target point. In order to prevent the above situation from occurring, it is proposed in the embodiment that when the target object satisfies the preset stop movement condition, the local object rotation operation and the forward movement operation are respectively performed on the target object to ensure that the stop position of the target object is the target stop position. In an actual application, the in-place rotation operation may be performed on the target object before performing the forward movement operation, or the forward movement operation may be performed on the target object before performing the in-place rotation operation. Preferably, the forward movement operation is performed after the in-situ rotation operation is performed on the target object.
S209、对目标对象执行原地旋转操作,以使目标对象原地旋转至目标角度。S209. Perform an in-situ rotation operation on the target object to rotate the target object to the target angle.
由于目标对象每次原地旋转设定的角度,因此会出现由于旋转角度过大导致目标对象来回重复执行原地旋转操作的情况,为了防止上述情况的发生,本实施例中采用了运动规划方法。具体的,参考图3c,该步骤具体通过S2091-S2097的步骤实现:Since the target object is rotated by the set angle every time, the target object may repeatedly perform the in-situ rotation operation due to the excessive rotation angle. In order to prevent the above situation, the motion planning method is adopted in this embodiment. . Specifically, referring to FIG. 3c, the step is specifically implemented by the steps of S2091-S2097:
S2091、获取目标对象满足预设的停止移动条件时的实际角度以及目标角度。S2091: Acquire an actual angle and a target angle when the target object satisfies a preset stop movement condition.
其中,设定目标对象满足预设的停止移动条件时的实际位置数据为Pinit=[xinit,yinit,θinit]T,目标停止位置的停止位置数据为Po=[xo,yo,θo]T。那么,原地旋转操作的旋转目标位置数据为P′o=[xinit,yinit,θ0]T。即,实际角度为θinit,目标角度为θ0。其中,实际位置数据可以通过里程计或者定位算法得到。Wherein, the actual position data when the target object satisfies the preset stop movement condition is P init =[x init , y init , θ init ] T , and the stop position data of the target stop position is P o =[x o , y o , θ o ] T . Then, the rotational target position data of the in-situ rotation operation is P'o = [x init , y init , θ 0 ] T . That is, the actual angle is θ init and the target angle is θ 0 . The actual location data can be obtained by an odometer or a positioning algorithm.
S2092、根据实际角度以及目标角度确定目标对象的旋转规划。S2092: Determine a rotation plan of the target object according to the actual angle and the target angle.
为了保证目标对象原地旋转时的准确性,先对目标对象原地旋转进行预先规划,以在实际的原地旋转过程中根据旋转规划结果对旋转速度进行修正。In order to ensure the accuracy of the target object when it is rotated in situ, the target object is rotated in advance to be pre-planned to correct the rotation speed according to the rotation planning result during the actual in-situ rotation.
进一步的,对目标对象进行旋转规划时,可以采用现有的多种运动规划方 法。在本实施例中,示例性的选择了五次多项式法进行旋转规划。下面对基于五次多项式法构造旋转规划公式进行详细描述:Further, when the target object is rotated, the existing multiple motion planning parties can be used. law. In the present embodiment, the fifth-order polynomial method is exemplarily selected for the rotation planning. The following is a detailed description of the construction of the rotation planning formula based on the fifth-order polynomial method:
五次多项式法的运功规划过程可以表示为:The five-time polynomial method of motion planning can be expressed as:
S(t1)=a0+a1t1+a2t1 2+a3t1 3+a4t1 4+a5t1 5          (4)S(t 1 )=a 0 +a 1 t 1 +a 2 t 1 2 +a 3 t 1 3 +a 4 t 1 4 +a 5 t 1 5 (4)
其中,a0、a1、a2、a3、a4以及a5为规划系数,t1为目标对象当前的旋转时刻(本实施例中t1为目标对象从开始移动时开始计时直到当前的总移动时刻与原地旋转开始时刻的差值),S(t1)为t1时刻的旋转规划结果。Where a 0 , a 1 , a 2 , a 3 , a 4 and a 5 are planning coefficients, and t 1 is the current rotation time of the target object (in the embodiment, t 1 is the time when the target object starts to move from the start to the current time) The difference between the total moving time and the in-situ rotation start time), S(t 1 ) is the rotation planning result at time t 1 .
从上述公式可知,如果想要确定目标对象的旋转规划结果,需要明确规划系数的具体值。From the above formula, if you want to determine the rotation planning result of the target object, you need to specify the specific value of the planning coefficient.
进一步的,规划系数的具体确定过程为:Further, the specific determination process of the planning coefficient is:
设定初始参数包括:实际角度θinit、初始角速度0、初始角加速度0、目标角度θ0、目标角速度0、目标角加速度0和原地旋转过程中数据采样周期T1。进一步,可以得到:s0=0,
Figure PCTCN2017103265-appb-000006
s1=θinit0
Figure PCTCN2017103265-appb-000007
此时,规划系数计算公式如下:
The initial parameters are set: actual angle θ init , initial angular velocity 0, initial angular acceleration 0, target angle θ 0 , target angular velocity 0, target angular acceleration 0, and data sampling period T 1 during in-situ rotation. Further, it can be obtained that: s 0 =0,
Figure PCTCN2017103265-appb-000006
s 1init0 ,
Figure PCTCN2017103265-appb-000007
At this point, the calculation coefficient is calculated as follows:
a0=s0                       (5-1)a 0 =s 0 (5-1)
Figure PCTCN2017103265-appb-000008
Figure PCTCN2017103265-appb-000008
Figure PCTCN2017103265-appb-000009
Figure PCTCN2017103265-appb-000009
Figure PCTCN2017103265-appb-000010
Figure PCTCN2017103265-appb-000010
Figure PCTCN2017103265-appb-000011
Figure PCTCN2017103265-appb-000011
Figure PCTCN2017103265-appb-000012
Figure PCTCN2017103265-appb-000012
进一步的,确定规划系数后,式(4)可以表示为:Further, after determining the planning coefficient, the formula (4) can be expressed as:
st1=a0+a1t1+a2t1 2+a3t1 3+a4t1 4+a5t1 5        (6)s t1 = a 0 + a 1 t 1 + a 2 t 1 2 + a 3 t 1 3 + a 4 t 1 4 + a 5 t 1 5 (6)
其中,st1表示为t1时刻目标对象期望旋转的角度。对式(6)进行微分计算, 可得:Where s t1 represents the angle at which the target object desires to rotate at time t 1 . Differential calculation of equation (6) can be obtained:
Figure PCTCN2017103265-appb-000013
Figure PCTCN2017103265-appb-000013
其中,
Figure PCTCN2017103265-appb-000014
表示为t1时刻目标对象期望旋转的角速度。对式(7)进行微分计算,可得:
among them,
Figure PCTCN2017103265-appb-000014
It represents the desired angular velocity of the target object at time t 1. Differential calculation of equation (7) can be obtained:
Figure PCTCN2017103265-appb-000015
Figure PCTCN2017103265-appb-000015
其中,
Figure PCTCN2017103265-appb-000016
表示为t1时刻目标对象期望旋转的角加速度。
among them,
Figure PCTCN2017103265-appb-000016
It represents the desired angular rotation of the target object at time t 1.
进一步的,根据式(6)、式(7)以及式(8)便可以构造出目标对象的旋转规划公式。具体的,根据(6)、式(7)以及式(8)可以得到目标对象任意t1时刻期望旋转的角度、角速度以及角加速度,并根据期望旋转的角度、角速度以及角加速度确定目标对象t1时刻期望到达的目标旋转角度、目标旋转角速度以及目标旋转角加速度。Further, according to the equations (6), (7), and (8), the rotation planning formula of the target object can be constructed. Specifically, according to (6), (7), and (8), an angle, an angular velocity, and an angular acceleration of the desired rotation of the target object at any time t 1 can be obtained, and the target object is determined according to the angle, angular velocity, and angular acceleration of the desired rotation. The target rotation angle, the target rotation angular velocity, and the target rotation angular acceleration that are expected to arrive at time 1 .
其中,确定目标旋转角度θt1的公式为:Wherein, the formula for determining the target rotation angle θ t1 is:
θt1=θinit+st1          (9)θ t1init +s t1 (9)
确定目标旋转角速度
Figure PCTCN2017103265-appb-000017
的公式为:
Determining the target rotational angular velocity
Figure PCTCN2017103265-appb-000017
The formula is:
Figure PCTCN2017103265-appb-000018
Figure PCTCN2017103265-appb-000018
确定目标旋转角加速度
Figure PCTCN2017103265-appb-000019
的公式为:
Determining the target rotation angular acceleration
Figure PCTCN2017103265-appb-000019
The formula is:
Figure PCTCN2017103265-appb-000020
Figure PCTCN2017103265-appb-000020
具体的,式(9)、式(10)以及式(11)为最终得到的旋转规划公式。需要说明的是,在实际应该过程中可以根据实际情况在式(9)、式(10)以及式(11)中选择性的构造至少一个旋转规划公式。Specifically, Equation (9), Equation (10), and Equation (11) are the final rotation planning formulas. It should be noted that at least one rotation planning formula can be selectively constructed in the equations (9), (10), and (11) according to actual conditions in the actual application process.
S2093、执行旋转操作,并获取旋转过程中当前旋转时刻的实际旋转角度。S2093. Perform a rotation operation and acquire an actual rotation angle of the current rotation time during the rotation.
具体的,当前旋转时刻为t1时刻。实际旋转角度可以通过目标对象的里程计获取,还可以通过定位算法获取。 Specifically, the current rotation time is time t 1 . The actual rotation angle can be obtained by the odometer of the target object, and can also be obtained by a positioning algorithm.
S2094、根据旋转规划确定当前旋转时刻的目标旋转角度。S2094: Determine a target rotation angle of the current rotation moment according to the rotation plan.
示例性的,根据式(9)确定t1时刻的目标旋转角度θt1Illustratively, the target rotation angle θ t1 at time t 1 is determined according to equation (9).
S2095、利用实际旋转角度和目标旋转角度确定当前旋转时刻的旋转速度,并根据旋转速度旋转目标对象。S2095: Determine the rotation speed of the current rotation moment by using the actual rotation angle and the target rotation angle, and rotate the target object according to the rotation speed.
具体的,根据实际旋转角度和目标旋转角度可以明确目标对象实际旋转过程与期望旋转过程的误差数据,进而根据误差数据调节目标对象的旋转速度,以保证旋转过程更加精准。参考图3d,该步骤具体可以通过S20951-S20956的步骤实现:Specifically, according to the actual rotation angle and the target rotation angle, the error data of the actual rotation process of the target object and the desired rotation process can be clarified, and then the rotation speed of the target object is adjusted according to the error data to ensure a more precise rotation process. Referring to FIG. 3d, the step can be specifically implemented by the steps of S20951-S20956:
S20951、根据实际旋转角度和目标旋转角度确定当前旋转时刻的角度误差数据。S20951: Determine an angle error data of a current rotation time according to the actual rotation angle and the target rotation angle.
设定当前旋转时刻得到的目标对象的位置数据为:Pxt1=[xinit,yinit,θxt1]T,其中,实际旋转角度为θxt1,那么角度误差数据为:θe=θt1xt1The position data of the target object obtained by setting the current rotation time is: P xt1 = [x init , y init , θ xt1 ] T , wherein the actual rotation angle is θ xt1 , and the angle error data is: θ e = θ t1 - θ xt1 .
S20952、获取旋转控制器的系统参数。S20952. Obtain system parameters of the rotation controller.
其中,旋转控制器为设置在目标对象内部,并且在原地旋转过程中确定旋转速度的装置,其可以为软件和/或硬件。一般而言,旋转控制器的系统参数可以根据实际情况设定,并在一次完整的旋转过程中不可更改。为在本实施例中,旋转控制器选为PID控制器。对应的系统参数包括:比例参数Kp,积分参数Ki和微分参数KdWherein, the rotation controller is a device that is disposed inside the target object and determines the rotation speed during the in-situ rotation, which may be software and/or hardware. In general, the system parameters of the rotary controller can be set according to the actual situation and cannot be changed during a complete rotation. In the present embodiment, the rotation controller is selected as the PID controller. Corresponding system parameters include: proportional parameter K p , integral parameter K i and differential parameter K d .
S20953、根据角度误差数据和旋转控制器的系统参数确定目标对象当前旋转时刻的旋转速度。S20953: Determine a rotation speed of the current rotation moment of the target object according to the angle error data and the system parameter of the rotation controller.
具体的,确定当前时刻的旋转速度公式如下:Specifically, the formula for determining the rotational speed of the current moment is as follows:
Figure PCTCN2017103265-appb-000021
Figure PCTCN2017103265-appb-000021
其中,t1表示当前旋转时刻,qxz(t1)表示当前旋转时刻的旋转速度,其包括当前旋转时刻的直线旋转速度参数vxz(t)和当前旋转时刻的旋转速度参数wxz(t)。由于目标对象进行原地旋转操作,因此,vxz(t)=0。Where t 1 represents the current rotation time, q xz (t 1 ) represents the rotation speed of the current rotation time, and includes the linear rotation speed parameter v xz (t) of the current rotation time and the rotation speed parameter w xz (t of the current rotation time) ). Since the target object performs the in-place rotation operation, v xz (t)=0.
S20954、对旋转速度执行旋转速度变换,以确定目标对象的期望旋转速度,期望旋转速度包括第一旋转子速度和第二旋转子速度。S20954, performing a rotational speed transformation on the rotational speed to determine a desired rotational speed of the target object, the desired rotational speed including the first rotational sub-speed and the second rotational sub-speed.
具体的,设定目标对象包括第一移动装置和第二移动装置,那么为了保证目标对象实现原地旋转操作,仍然需要将旋转速度转换成控制第一移动装置和第二移动装置的第一旋转子速度和第二旋转子速度。进一步的,当第一移动装置和第二移动装置左右设置时,对旋转速度进行旋转速度变换的公式参考如下:Specifically, the setting target object includes the first moving device and the second moving device, and in order to ensure that the target object realizes the in-situ rotation operation, it is still required to convert the rotation speed into the first rotation of the first mobile device and the second mobile device. Sub-speed and second rotation sub-speed. Further, when the first mobile device and the second mobile device are set left and right, the formula for the rotational speed conversion of the rotational speed is as follows:
Figure PCTCN2017103265-appb-000022
Figure PCTCN2017103265-appb-000022
其中,vl2(t1)表示左移动装置对应的期望速度,vr2(t1)表示右移动装置对应的期望速度。vl2(t1)和vr2(t1)中的一个为第一子速度,另一个为第二子速度。b为第一移动装置和第二移动装置之间的间距。其中,由于目标对象进行原地旋转操作,所以该过程中线速度vxz(t1)=0。Where v l2 (t 1 ) represents the desired speed corresponding to the left mobile device, and v r2 (t 1 ) represents the desired speed corresponding to the right mobile device. One of v l2 (t 1 ) and v r2 (t 1 ) is the first sub-speed and the other is the second sub-speed. b is the spacing between the first mobile device and the second mobile device. Among them, since the target object performs the in-situ rotation operation, the linear velocity v xz (t 1 )=0 in the process.
S20955、利用第一旋转子速度控制目标对象的第一移动装置进行旋转。S20955: The first moving device that controls the target object by using the first rotating sub-speed performs rotation.
S20956、利用第二旋转子速度控制目标对象的第二移动装置进行旋转。S20956: Rotating by using a second moving device that controls the target object by the second rotating sub-speed.
S2096、判断目标对象是否原地旋转至目标角度。若是,则执行S2097,否则,执行S2094。S2096: Determine whether the target object is rotated to the target angle in place. If yes, execute S2097, otherwise, execute S2094.
具体的,在每个旋转时刻目标对象执行一次原地旋转操作后,均获取旋转后的实际旋转角度,并确认实际旋转角度是否为目标角度,若是,则确认目标对象原地旋转至目标角度,否则重新确定目标对象的旋转速度并旋转目标对象。 由于在判断目标对象是否原地旋转至目标角度时已经获取了实际旋转角度,所以在实际应用中若目标对象没有原地旋转至目标角度,则可以返回执行S2094。Specifically, after the target object performs an in-situ rotation operation at each rotation time, the actual rotation angle after the rotation is obtained, and it is confirmed whether the actual rotation angle is the target angle, and if so, the target object is confirmed to rotate to the target angle in situ. Otherwise, the rotation speed of the target object is re-determined and the target object is rotated. Since the actual rotation angle has been acquired when it is judged whether the target object is rotated to the target angle in situ, if the target object is not rotated to the target angle in the actual application, the process may return to execute S2094.
S2097、停止原地旋转操作。S2097, stop the in-situ rotation operation.
S210、控制目标对象正向移动至目标停止位置,并在移动至目标停止位置时停止移动操作。S210. The control target object moves to the target stop position in the forward direction, and stops the movement operation when moving to the target stop position.
具体的,原地旋转停止时刻时目标对象的角度数据与目标停止位置的角度数据相同,但是目标对象的二维平面坐标位置与目标停止位置的二维平面坐标位置还存在差异,因此,需要将目标对象正向移动至目标停止位置。Specifically, the angle data of the target object is the same as the angle data of the target stop position when the in-situ rotation stop time is used, but the two-dimensional plane coordinate position of the target object is different from the two-dimensional plane coordinate position of the target stop position, and therefore, The target object moves forward to the target stop position.
可选的,参考图3e,该步骤具体可以通过S2101-S2107的步骤实现:Optionally, referring to FIG. 3e, the step may be specifically implemented by the steps of S2101-S2107:
S2101、获取目标对象停止原地旋转操作时的位置数据和目标停止位置的停止位置数据。S2101: Acquire position data at the time when the target object stops the in-situ rotation operation and stop position data of the target stop position.
其中,停止原地旋转操作时的位置数据可以通过里程计或者定位算法得到。Wherein, the position data when the in-situ rotation operation is stopped can be obtained by an odometer or a positioning algorithm.
S2102、根据位置数据和停止位置数据确定目标对象的移动规划。S2102. Determine a motion plan of the target object according to the location data and the stop location data.
为了保证目标对象正向移动时的准确性,先对目标对象正向移动过程进行预先规划,以在实际的正向移动过程中根据移动规划结果对正向移动速度进行修正。In order to ensure the accuracy of the target object moving forward, the forward moving process of the target object is pre-planned to correct the forward moving speed according to the mobile planning result during the actual forward moving process.
进一步的,对目标对象进行移动规划时,可以采用现有的多种运动规划方法。在本实施例中,示例性的选择了五次多项式法进行移动规划。下面对基于五次多项式法构造移动规划公式进行详细描述:Further, when moving the target object to the mobile planning, the existing multiple motion planning methods can be used. In the present embodiment, the fifth-order polynomial method is exemplarily selected for moving planning. The following is a detailed description of constructing a mobile planning formula based on the fifth-order polynomial method:
五次多项式法的运功规划过程可以参考公式(4),并将公式(4)中t1均改为t2。其中,a0、a1、a2、a3、a4以及a5为规划系数,t2为目标对象当前的移动时刻(本实施例中t2为目标对象从开始移动时开始计时直到当前的总移动时刻与正向移动开始时刻的差值),S(t2)为t2时刻的移动规划结果。从公式(4)可知, 如果想要确定目标对象的移动规划结果,需要明确规划系数的具体值。The motor planning process of the fifth-order polynomial method can refer to formula (4), and t 1 in formula (4) is changed to t 2 . Where a 0 , a 1 , a 2 , a 3 , a 4 , and a 5 are planning coefficients, and t 2 is the current moving time of the target object (in the present embodiment, t 2 is the time when the target object starts to move from the start to the current time) The difference between the total moving time and the forward moving start time), S(t 2 ) is the moving planning result at time t 2 . From equation (4), if you want to determine the mobile planning result of the target object, you need to specify the specific value of the planning factor.
具体的,规划系数的具体确定过程为:Specifically, the specific determination process of the planning coefficient is:
设定目标停止位置为Po=[x0,y0,θ0]T,目标对象停止原地旋转操作时的原地旋转目标位置数据为P′o=[xinit,yinit,θ0]T。进一步,可以得到s0=0,
Figure PCTCN2017103265-appb-000023
Figure PCTCN2017103265-appb-000024
同时,由于目标对象在实际应用中每次正向移动均成圆弧运动,所以为了保证移动规划的准确性,需要确定圆弧运动的方向单位向量。具体的,方向单位向量为:
Figure PCTCN2017103265-appb-000025
且每次正向移动的方向单位向量相同。
Set the target stop position to P o =[x 0 , y 0 , θ 0 ] T , and the in-situ rotation target position data when the target object stops the in-situ rotation operation is P′ o =[x init , y init , θ 0 ] T. Further, s 0 =0 can be obtained.
Figure PCTCN2017103265-appb-000023
Figure PCTCN2017103265-appb-000024
At the same time, since the target object moves into a circular arc each time in the actual application, in order to ensure the accuracy of the motion planning, it is necessary to determine the direction unit vector of the circular motion. Specifically, the direction unit vector is:
Figure PCTCN2017103265-appb-000025
And the direction unit vector for each forward movement is the same.
进一步的,规划系数计算公式参考公式(5-1)至公式(5-6),在确定规划系数后,式(4)可以表示为:Further, the calculation coefficient calculation formula refers to formula (5-1) to formula (5-6). After determining the planning coefficient, formula (4) can be expressed as:
st2=a0+a1t2+a2t2 2+a3t2 3+a4t2 4+a5t2 5        (14)s t2 = a 0 + a 1 t 2 + a 2 t 2 2 + a 3 t 2 3 + a 4 t 2 4 + a 5 t 2 5 (14)
其中,st2表示为t2时刻目标对象期望正向移动的轨迹位置数据。对式(14)进行微分计算,可得:Where s t2 represents the trajectory position data at which the target object desires to move in the forward direction at time t 2 . Differential calculation of equation (14) can be obtained:
Figure PCTCN2017103265-appb-000026
Figure PCTCN2017103265-appb-000026
其中,
Figure PCTCN2017103265-appb-000027
表示为t2时刻目标对象期望达到的轨迹速度。对式(15)进行微分计算,可得:
among them,
Figure PCTCN2017103265-appb-000027
It is expressed as the trajectory speed that the target object expects to reach at time t 2 . Differential calculation of equation (15) yields:
Figure PCTCN2017103265-appb-000028
Figure PCTCN2017103265-appb-000028
其中,
Figure PCTCN2017103265-appb-000029
表示为t2时刻目标对象期望达到的轨迹加速度。
among them,
Figure PCTCN2017103265-appb-000029
It is expressed as the trajectory acceleration that the target object expects to reach at time t 2 .
进一步的,根据式(14)、式(15)以及式(16)便可以构造出目标对象的移动规划公式。具体的,根据式(14)、式(15)以及式(16)便可以得到目标对象任意t2时刻期望正向移动的轨迹位置数据、轨迹速度以及轨迹加速度。为了保证规划结果的准确性,将轨迹位置数据、轨迹速度以及轨迹加速度结合方 向单位向量,以确定出目标对象t2时刻期望到达的目标位置数据、目标速度以及目标加速度。Further, according to the formula (14), the formula (15), and the formula (16), the movement planning formula of the target object can be constructed. Specifically, according to the equations (14), (15), and (16), the trajectory position data, the trajectory velocity, and the trajectory acceleration of the target object that are expected to move in the forward direction at any time t 2 can be obtained. In order to ensure the accuracy of the planning result, the trajectory position data, the trajectory velocity and the trajectory acceleration are combined with the direction unit vector to determine the target position data, the target speed and the target acceleration that are expected to arrive at the target object t 2 .
其中,确定目标位置数据Pr(t2)的公式为:Wherein, the formula for determining the target position data P r (t 2 ) is:
Figure PCTCN2017103265-appb-000030
Figure PCTCN2017103265-appb-000030
确定目标速度
Figure PCTCN2017103265-appb-000031
的公式为:
Determine target speed
Figure PCTCN2017103265-appb-000031
The formula is:
Figure PCTCN2017103265-appb-000032
Figure PCTCN2017103265-appb-000032
确定目标加速度
Figure PCTCN2017103265-appb-000033
为:
Determining target acceleration
Figure PCTCN2017103265-appb-000033
for:
Figure PCTCN2017103265-appb-000034
Figure PCTCN2017103265-appb-000034
示例性的,式(17)、式(18)以及式(19)为最终得到的移动规划公式。需要说明的是,在实际应该过程中,可以根据实际情况在式(17)、式(18)以及式(19)中选择性的构造至少一个移动规划公式。Illustratively, equations (17), (18), and (19) are the resulting motion planning formulas. It should be noted that, in the actual process, at least one mobile planning formula may be selectively constructed in the equations (17), (18), and (19) according to actual conditions.
S2103、执行移动操作,并获取移动过程中当前移动时刻的第二实际位置数据。S2103: Perform a mobile operation, and acquire second actual location data of a current moving moment in the moving process.
具体的,当前移动时刻为t2时刻。第二实际位置数据Pc(t2)可以通过目标对象的里程计获取,还可以通过定位算法获取。Specifically, the current moving moment is time t 2 . The second actual position data P c (t 2 ) can be acquired by the odometer of the target object, and can also be acquired by a positioning algorithm.
S2104、根据移动规划确定当前移动时刻的第二目标位置数据。S2104. Determine second target location data of the current moving moment according to the mobility plan.
具体的,根据式(17)确定t2时刻的第二目标位置数据Pr(t2)。Specifically, the second target position data P r (t 2 ) at time t 2 is determined according to equation (17).
S2105、利用第二实际位置数据和第二目标位置数据确定当前移动时刻的移动速度,并根据移动速度移动目标对象。S2105: Determine a moving speed of the current moving moment by using the second actual position data and the second target position data, and move the target object according to the moving speed.
示例性的,根据第二实际位置数据和第二目标位置数据可以明确目标对象实际正向移动过程与期望正向移动过程的移动误差数据,进而根据移动误差数据调节目标对象的移动速度,以保证正向移动过程更加精准。Exemplarily, according to the second actual position data and the second target position data, the movement error data of the actual forward movement process of the target object and the desired forward movement process may be clarified, and then the moving speed of the target object is adjusted according to the movement error data to ensure The forward movement process is more precise.
具体的,可以利用公式(1)确定第二目标位置数据与第二实际位置数据的 移动误差数据,仅需将公式(1)中第一实际位置数据替换为第二实际位置数据,将第一目标位置数据替换为第二目标位置数据。进一步的,目标对象正向移动时,确定正向移动控制参数的控制器可选满足李雅普诺夫渐近稳定性要求,其与目标对象进行移动时的控制器可以相同,也可以不同。可选的,目标对象移动时和正向移动时可以共用同一控制器,当然也可以使用不同的控制器。其中,正向移动对应的控制器的系统参数与移动对应的控制器的系统参数类型相同。据此,可以利用式(2)确定目标对象t2时刻的正向移动控制参数。此时,Kx,Ky,Kθ分别是正向移动对应的控制器的系统参数,
Figure PCTCN2017103265-appb-000035
xr(t2)和yr(t2)分别表示第二目标位置数据中二维平面坐标位置。由于正向移动过程不涉及到旋转操作,因此可以设定wr=0。
Specifically, the movement error data of the second target position data and the second actual position data may be determined by using formula (1), and only the first actual position data in formula (1) needs to be replaced with the second actual position data, and the first The target location data is replaced with the second target location data. Further, when the target object moves forward, the controller that determines the forward motion control parameter may optionally meet the Lyapunov asymptotic stability requirement, and the controller may be the same as or different from the target object when moving. Optionally, the same controller can be shared when the target object moves and when it moves forward. Of course, different controllers can also be used. The system parameter of the controller corresponding to the forward movement is the same as the system parameter type of the controller corresponding to the movement. According to this, the forward movement control parameter at the time of the target object t 2 can be determined by the equation (2). At this time, K x , K y , and K θ are system parameters of the controller corresponding to the forward movement, respectively.
Figure PCTCN2017103265-appb-000035
x r (t 2 ) and y r (t 2 ) represent the two-dimensional plane coordinate positions in the second target position data, respectively. Since the forward movement process does not involve a rotation operation, w r =0 can be set.
进一步的,设定目标对象包括第一移动装置和第二移动装置,那么为了控制两个移动装置进行正向移动,需要对正向移动控制参数进行速度变化以确定两个移动装置的移动速度,该移动速度同样包括第一正向子速度和第二正向子速度。在速度变化时,可以参考公式(3),此时,vl1(t2)和vr1(t2)中的一个为第一正向子速度,另一个为第二正向子速度。b为第一移动装置和第二移动装置之间的间距。具体的,利用第一正向子速度控制第一移动装置进行正向移动,利用第二正向子速度控制第二移动装置进行正向移动,以实现目标对象的正向移动。Further, the setting target object includes the first mobile device and the second mobile device, and in order to control the forward movement of the two mobile devices, a speed change of the forward movement control parameter is required to determine the moving speed of the two mobile devices, The moving speed also includes a first forward sub-speed and a second forward sub-speed. When the speed changes, reference can be made to formula (3), in which case one of v l1 (t 2 ) and v r1 (t 2 ) is the first forward sub-speed and the other is the second forward sub-speed. b is the spacing between the first mobile device and the second mobile device. Specifically, the first forward sub-speed is used to control the first mobile device to perform forward movement, and the second forward sub-speed is used to control the second mobile device to perform forward movement to achieve forward movement of the target object.
S2106、判断目标对象是否移动至目标停止位置。若是,则执行S2107,否则,返回执行S2104。S2106: Determine whether the target object moves to the target stop position. If yes, execute S2107, otherwise, return to execution S2104.
具体的,在每个正向移动时刻目标对象执行一次正向移动后,均获取正向移动后的第二实际位置数据,并确认第二实际位置数据是否为目标停止位置的停止位置数据,若是,则确认目标对象正向移动至目标停止位置,否则重新确 定目标对象的移动速度并进行移动。由于在判断目标对象是否正向移动至目标停止位置时已经获取了第二实际位置数据,所以在实际应用中若目标对象没有正向移动至目标停止位置,则可以返回执行S2104。Specifically, after performing a forward movement on the target object at each forward movement time, the second actual position data after the forward movement is acquired, and it is confirmed whether the second actual position data is the stop position data of the target stop position, and if , confirm that the target object is moving to the target stop position, otherwise it will be re-determined The moving speed of the target object is moved and moved. Since the second actual position data has been acquired when it is judged whether the target object is moving to the target stop position, if the target object does not move to the target stop position in the actual application, the process returns to S2104.
S2107、停止移动操作。S2107, stop moving operation.
下面对本实施例提供的移动控制方法进行示例性的描述:The mobile control method provided by this embodiment is exemplarily described below:
具体的,目标对象为具有移动功能的机器人,该机器人包括一个左驱动轮以及一个右驱动轮。图3f为机器人的移动空间示意图。参考图3f,机器人21需要从当前位置移动到目标停止位置22,并在该移动空间中存在障碍物23、障碍物24。在本示例中,机器人21移动至目标停止位置22共分为两个过程:移动过程和停止过程。停止过程中执行的预设停止操作分为:原地旋转操作和正向移动操作。Specifically, the target object is a robot with a mobile function, and the robot includes a left driving wheel and a right driving wheel. Figure 3f is a schematic diagram of the moving space of the robot. Referring to FIG. 3f, the robot 21 needs to move from the current position to the target stop position 22, and there are obstacles 23 and obstacles 24 in the moving space. In the present example, the movement of the robot 21 to the target stop position 22 is divided into two processes: a moving process and a stopping process. The preset stop operations performed during the stop are divided into: in-situ rotation operation and forward movement operation.
进一步的,图3g为机器人移动过程的算法框图。参考图3g,机器人21利用DWA确定控制指令参数qr以及规划轨迹,其中,规划轨迹为图3f中的轨迹25。具体的,根据qr控制移动机器人21进行移动,并在数据获取时刻获取第一实际位置数据Pc(t)以及控制参数,同时根据规划轨迹确定第一目标位置数据Pr(t)。进一步的,利用公式(1)确定误差参数Pe(t),之后通过控制器利用公式(2)确定实际控制参数qq(t),其中该控制器计算过程可以称为轨迹跟踪控制算法。利用公式(3)对qq(t)进行速度变换,以确定期望速度qc1(t),其中,qc1(t)包括:vl1(t)和vr1(t),利用vl1(t)控制左驱动轮进行移动,利用vr1(t)控制右驱动轮进行移动,进而实现机器人的一次移动。上述移动过程中机器人实现了位置闭环,保证了移动精准性。可选的,在机器人移动过程中,不仅实现位置闭环,还同时可选实现速度闭环,其中,分别通过PID控制器控制左驱动轮和右驱动轮,也可以将PID控制器控制左驱动轮和右驱动轮的过程理解为驱动机器人进行移动 的驱动器运行的过程。在本示例中,速度闭环过程可以通过驱动器执行。具体的,速度闭环的实现方法为获取目标对象移动过程中的实际速度,并根据实际速度对期望速度进行调节以得到修正速度,其具体的调节方式本实施例不作限定。在后续的停止过程中如果也需要实现速度闭环,那么其采用的调节方式与本过程中的调节方式相同。Further, FIG. 3g is an algorithm block diagram of the robot movement process. Referring to Fig. 3g, the robot 21 determines the control command parameter q r and the planned trajectory using the DWA, wherein the planned trajectory is the trajectory 25 in Fig. 3f. Specifically, the mobile robot 21 is controlled to move according to q r , and the first actual position data P c (t) and the control parameters are acquired at the data acquisition time, while the first target position data P r (t) is determined according to the planned trajectory. Further, the error parameter P e (t) is determined by using the formula (1), and then the actual control parameter q q (t) is determined by the controller using the formula (2), wherein the controller calculation process may be referred to as a trajectory tracking control algorithm. The velocity transformation is performed on q q (t) using equation (3) to determine the desired velocity q c1 (t), where q c1 (t) includes: v l1 (t) and v r1 (t), using v l1 ( t) Control the left drive wheel to move, use v r1 (t) to control the right drive wheel to move, and then realize one movement of the robot. During the above movement, the robot realizes the position closed loop, which ensures the movement accuracy. Optionally, during the movement of the robot, not only the position closed loop but also the speed closed loop can be selected, wherein the left driving wheel and the right driving wheel are respectively controlled by the PID controller, and the left driving wheel can also be controlled by the PID controller. The process of the right drive wheel is understood to be the process of driving the drive to move the robot. In this example, the speed closed loop process can be performed by the drive. Specifically, the method for realizing the speed closed loop is to obtain the actual speed in the moving process of the target object, and adjust the desired speed according to the actual speed to obtain the corrected speed. The specific adjustment manner is not limited in this embodiment. If the speed loop is also required to be implemented during the subsequent stop, the adjustment method used is the same as that in the process.
参考图3h,机器人每次完成移动后,均确认当前的Pc(t)与目标停止位置Po的距离,并与设定的距离阈值r进行比较。如果满足dist(Pc(t)-Po)<r或者dist(Pc-Po)=r,则确认满足预设的停止移动条件,进而执行使机器人原地旋转至目标角度(也可以称为目标姿态)的原地旋转操作和使机器人正向移动到目标停止位置Po的正向移动操作Po。如果不满足上述停止移动条件,则重新根据图3g的移动算法执行移动操作,并判断是否满足预设的停止移动条件。需要说明的是,机器人完成移动后的实际位置数据为Pinit=[xinit,yinit,θinit]TReferring to FIG. 3h, each time the robot completes the movement, the distance between the current P c (t) and the target stop position P o is confirmed and compared with the set distance threshold r. If dist(P c (t)-P o )<r or dist(P c -P o )=r is satisfied, it is confirmed that the preset stop movement condition is satisfied, and then the robot is rotated to the target angle in situ (may also be situ called a target posture) of the robot and the rotational operation to the forward movement of the forward movement operation target stop position P o to P o. If the above-described stop movement condition is not satisfied, the movement operation is performed again according to the movement algorithm of Fig. 3g, and it is judged whether or not the preset stop movement condition is satisfied. It should be noted that the actual position data after the robot completes the movement is P init =[x init , y init , θ init ] T .
图3i为机器人原地旋转过程的算法框图。在执行原地旋转过程前,需要对原地旋转操作进行旋转规划,以确定公式(6),并根据公式(6)确定公式(9)。执行原地旋转操作,参考图3i,获取当前旋转时刻t1的实际旋转角度θxt1以及根据公式(9)确定对应的目标旋转角度θt1,进而确定角度误差数据θe。利用PID控制器根据公式(12)确定对应的旋转速度qxz(t1),并对qxz(t1)进行速度变换,以确定期望旋转速度qc2(t1),其中,qc2(t1)包括:vl2(t1)和vr2(t1)。具体的,利用vl2(t1)控制左驱动轮进行原地旋转操作,利用vr2(t1)控制右驱动轮进行原地旋转操作,进而实现机器人的一次原地旋转操作。上述旋转过程中机器人实现了旋转角度闭环,保证了旋转的精准性。可选的,在机器人的原地旋转过程中,不仅实现旋转角度闭环,还同时可选实现速度闭环。Figure 3i is an algorithmic block diagram of the robot's in-situ rotation process. Before performing the in-situ rotation process, it is necessary to rotate the in-situ rotation operation to determine the formula (6) and determine the formula (9) according to the formula (6). Performing the in-situ rotation operation, referring to FIG. 3i, obtaining the actual rotation angle θ xt1 of the current rotation time t 1 and determining the corresponding target rotation angle θ t1 according to the formula (9), thereby determining the angle error data θ e . Using the PID controller, the corresponding rotational speed q xz (t 1 ) is determined according to formula (12), and q xz (t 1 ) is subjected to velocity transformation to determine a desired rotational speed q c2 (t 1 ), where q c2 ( t 1 ) includes: v l2 (t 1 ) and v r2 (t 1 ). Specifically, v l2 (t 1 ) is used to control the left driving wheel to perform the in-situ rotation operation, and v r2 (t 1 ) is used to control the right driving wheel to perform the in-situ rotation operation, thereby realizing one in-situ rotation operation of the robot. During the above rotation process, the robot realizes the rotation angle closed loop, which ensures the accuracy of the rotation. Optionally, during the in-situ rotation of the robot, not only the rotation angle closed loop but also the speed closed loop can be selected.
机器人每次完成原地旋转后,均确认当前的实际旋转角度θxt1与目标角度θo 是否相同。若相同,则结束原地旋转过程并执行正向移动过程,以保证机器人移动到Po。若不相同,则重新根据图3i的原地旋转算法执行原地旋转操作。需要说明的是,机器人完成原地旋转后的实际位置数据为P′o=[xinit,yinit,θ0]TEach time the robot completes the in-situ rotation, it confirms whether the current actual rotation angle θ xt1 is the same as the target angle θ o . If they are the same, the in-situ rotation process is ended and a forward movement process is performed to ensure that the robot moves to P o . If not, the in-situ rotation operation is performed again according to the in-situ rotation algorithm of Fig. 3i. It should be noted that the actual position data after the robot completes the in-situ rotation is P′ o =[x init , y init , θ 0 ] T .
图3j为机器人正向移动过程的算法框图。在执行正向移动过程前,需要对正向移动操作进行移动规划,以确定公式(14),并根据公式(14)确定公式(17)。进一步的,在执行正向移动操作时,参考图3j,获取当前正向移动时刻t2的第二实际位置数据Pc(t2)以及根据公式(14)确定对应的第二目标位置数据Pr(t2),进而利用公式(1)确定误差参数Pe(t2)。之后利用公式(2)确定实际控制参数qq(t2),并在确定qq(t2)时,引入
Figure PCTCN2017103265-appb-000036
其中xr(t2)和yr(t2)分别表示第二目标位置数据Pr(t2)中二维平面坐标位置,且wr=0。进一步的,利用公式(3)对qq(t2)进行速度变换,以确定期望速度qc1(t2),其中,qc1(t2)包括:vl1(t2)和vr1(t2),利用vl1(t2)可以控制左驱动轮进行正向移动,利用vr1(t2)可以控制右驱动轮进行正向移动,进而实现机器人的一次正向移动。上述正向移动过程中机器人实现了位置闭环,保证了正向移动精准性。可选的,在机器人正向移动过程中,不仅实现位置闭环,还同时可选实现速度闭环,其中,分别通过PID控制器控制左驱动轮和右驱动轮。
Figure 3j is a block diagram of the algorithm for the forward movement of the robot. Before performing the forward movement process, it is necessary to move the forward movement operation to determine the formula (14) and determine the formula (17) according to the formula (14). Further, when performing the forward movement operation, referring to FIG. 3j, acquiring the second actual position data P c (t 2 ) of the current forward movement time t 2 and determining the corresponding second target position data P according to the formula (14) r (t 2 ), and then the error parameter P e (t 2 ) is determined using equation (1). The actual control parameter q q (t 2 ) is then determined using equation (2) and introduced when determining q q (t 2 )
Figure PCTCN2017103265-appb-000036
Where x r (t 2 ) and y r (t 2 ) respectively represent the two-dimensional plane coordinate position in the second target position data P r (t 2 ), and w r =0. Further, q q (t 2 ) is subjected to velocity transformation using equation (3) to determine a desired speed q c1 (t 2 ), where q c1 (t 2 ) includes: v l1 (t 2 ) and v r1 ( t 2 ), v l1 (t 2 ) can be used to control the forward movement of the left driving wheel, and v r1 (t 2 ) can be used to control the right driving wheel to move forward, thereby realizing a forward movement of the robot. During the above forward movement, the robot realizes the position closed loop, which ensures the forward movement accuracy. Optionally, during the forward movement of the robot, not only the position closed loop but also the speed closed loop can be selected, wherein the left driving wheel and the right driving wheel are respectively controlled by the PID controller.
机器人每次完成正向移动后,确认当前的Pc(t2)与Po是否相同。若相同,则结束正向移动过程。若不相同,则重新根据图3j的原地旋转算法执行正向移动操作。After the robot completes the forward movement, it confirms whether the current P c (t 2 ) is the same as P o . If they are the same, the forward movement process ends. If not, the forward movement operation is performed again according to the in-situ rotation algorithm of Fig. 3j.
本实施例提供的技术方案,通过动态窗口法确定目标对象移动过程中的最佳控制指令以及对应的规划轨迹,实际了目标对象移动过程的避障,并且在实际移动过程中,通过获取第一目标位置数据和第一实际位置数据确定控制目标对象移动的期望速度,实现了位置闭环,保证了目标对象执行规划路径的精确 度,当满足预设停止移动条件后,执行原地旋转操作和正向移动,其中,在执行原地旋转操作时实现了角度闭环,在正向移动时实现了位置闭环,这样做的好处是可以克服目标对象移动停止时与目标停止位置的距离过大,且易来回打转的问题。The technical solution provided by the embodiment determines the optimal control instruction and the corresponding planning trajectory in the moving process of the target object through the dynamic window method, and actually avoids the obstacle in the moving process of the target object, and obtains the first in the actual moving process. The target position data and the first actual position data determine the desired speed of controlling the movement of the target object, realizing the position closed loop, and ensuring the precise execution of the planned path of the target object. Degree, when the preset stop movement condition is satisfied, the in-situ rotation operation and the forward movement are performed, wherein the angle closed loop is realized when the in-situ rotation operation is performed, and the position closed loop is realized in the forward movement, the advantage of this is that Overcome the problem that the distance between the target object and the target stop position is too large when the movement stops, and it is easy to turn back and forth.
实施例三Embodiment 3
图4为本发明实施例三提供的一种移动控制装置的结构示意图。参考图4,本实施例提供的移动控制装置具体包括:获取模块301、第一移动模块302以及停止确认模块303。FIG. 4 is a schematic structural diagram of a mobile control apparatus according to Embodiment 3 of the present invention. Referring to FIG. 4, the mobile control apparatus provided in this embodiment specifically includes: an obtaining module 301, a first moving module 302, and a stop confirming module 303.
其中,获取模块301,用于获取目标对象的控制参数、第一实际位置数据和第一目标位置数据;第一移动模块302,用于根据控制参数、第一实际位置数据和第一目标位置数据确定目标对象的期望速度,并利用期望速度控制目标对象进行移动;停止确认模块303,用于判断目标对象是否满足预设的停止移动条件;若是,则执行预设的停止操作。The acquiring module 301 is configured to acquire the control parameter of the target object, the first actual location data, and the first target location data. The first mobile module 302 is configured to use, according to the control parameter, the first actual location data, and the first target location data. Determining a desired speed of the target object and controlling the target object to move with the desired speed; stopping the confirmation module 303 for determining whether the target object satisfies the preset stop movement condition; if yes, performing a preset stop operation.
本实施例提供的技术方案,通过获取目标对象的控制参数、第一实际位置数据和第一目标位置数据确定目标对象的期望速度,并根据期望速度控制目标对象进行移动,如果目标对象满足预设停止移动条件,则执行预设停止操作的技术方案,实现了在目标对象的移动过程中对目标对象的位置参数进行闭环,保证了目标对象移动路径的精确度,解决了移动过程中位置精确度低的问题。The technical solution provided by the embodiment determines the desired speed of the target object by acquiring the control parameter of the target object, the first actual position data, and the first target position data, and controls the target object to move according to the desired speed, if the target object satisfies the preset When the moving condition is stopped, the technical solution of the preset stopping operation is executed, and the position parameter of the target object is closed in the moving process of the target object, the accuracy of the moving path of the target object is ensured, and the positional accuracy in the moving process is solved. Low problem.
在上述实施例的基础上,第一移动模块302包括:误差确定子模块,用于根据第一实际位置数据和第一目标位置数据确定目标对象的位置误差数据;参数确定子模块,用于利用位置误差数据、第一实际位置数据和控制参数确定目标对象当前时刻的实际控制参数;速度确定子模块,用于对实际控制参数进行 速度变换,以确定目标对象的期望速度,期望速度包括第一子速度和第二子速度;移动控制子模块,用于利用第一子速度控制目标对象的第一移动装置进行移动;移动控制子模块,用于利用第二子速度控制目标对象的第二移动装置进行移动。On the basis of the foregoing embodiment, the first movement module 302 includes: an error determination sub-module, configured to determine position error data of the target object according to the first actual position data and the first target position data; and a parameter determination sub-module for utilizing The position error data, the first actual position data and the control parameter determine an actual control parameter of the current time of the target object; the speed determination sub-module is configured to perform the actual control parameter Speed transformation to determine a desired speed of the target object, the desired speed comprising a first sub-speed and a second sub-speed; a movement control sub-module for controlling movement by the first mobile device of the first sub-speed control target object; the movement controller And a module for moving the second mobile device that controls the target object with the second sub-speed.
在上述实施例的基础上,控制参数包括:系统参数和控制指令参数。Based on the above embodiments, the control parameters include: system parameters and control command parameters.
进一步的,该移动控制装置还包括:指令确定模块,用于在获取目标对象的控制参数、第一实际位置数据和第一目标位置数据之前,利用动态窗口法确定目标对象移动过程中的最佳控制指令以及对应的规划轨迹,以根据最佳控制指令和规划轨迹确定目标对象的控制指令参数和第一目标位置数据。Further, the mobile control apparatus further includes: an instruction determining module, configured to determine an optimal process of the target object by using a dynamic window method before acquiring the control parameter of the target object, the first actual position data, and the first target position data. The control instruction and the corresponding planning trajectory are used to determine the control instruction parameter and the first target position data of the target object according to the optimal control instruction and the planned trajectory.
在上述实施例的基础上,停止确认模块303包括:判断子模块,用于判断目标对象是否满足预设的停止移动条件;原地旋转子模块,用于若满足预设的停止移动条件,则对目标对象执行原地旋转操作,以使目标对象原地旋转至目标角度;正向移动子模块,用于控制目标对象正向移动至目标停止位置,并在移动至目标停止位置时停止移动操作;返回子模块,用于若不满足预设的停止移动条件,则重新确定目标对象的期望速度并进行移动。On the basis of the foregoing embodiment, the stop confirmation module 303 includes: a determination submodule, configured to determine whether the target object satisfies a preset stop movement condition; and an in situ rotation submodule configured to satisfy a preset stop movement condition, Performing an in-place rotation operation on the target object to rotate the target object to the target angle in situ; moving the sub-module forwardly, controlling the target object to move to the target stop position in the forward direction, and stopping the movement operation when moving to the target stop position Return to the sub-module for re-determining the desired speed of the target object and moving if the preset stop movement condition is not met.
在上述实施例的基础上,原地旋转子模块包括:角度获取单元,用于获取目标对象满足预设的停止移动条件时的实际角度以及目标角度;旋转规划单元,用于根据实际角度以及目标角度确定目标对象的旋转规划;旋转执行单元,用于执行旋转操作,并获取旋转过程中当前旋转时刻的实际旋转角度;第一数据获取单元,用于根据旋转规划确定当前旋转时刻的目标旋转角度;旋转速度确定单元,用于利用实际旋转角度和目标旋转角度确定当前旋转时刻的旋转速度,并根据旋转速度旋转目标对象;旋转停止判断单元,用于判断目标对象是否原地旋转至目标角度;若是,则停止原地旋转操作,否则,重新确定目标对象的 旋转速度并旋转目标对象。On the basis of the foregoing embodiment, the in-situ rotation sub-module includes: an angle acquisition unit, configured to acquire an actual angle and a target angle when the target object meets a preset stop movement condition; and a rotation planning unit, configured to use the actual angle and the target The angle determines a rotation plan of the target object; the rotation execution unit is configured to perform a rotation operation, and acquires an actual rotation angle of the current rotation time during the rotation; the first data acquisition unit is configured to determine a target rotation angle of the current rotation time according to the rotation plan a rotation speed determining unit configured to determine a rotation speed of the current rotation moment by using the actual rotation angle and the target rotation angle, and rotate the target object according to the rotation speed; and a rotation stop determination unit configured to determine whether the target object is rotated to the target angle in situ; If yes, stop the in-place rotation operation, otherwise, re-determine the target object. Rotate the speed and rotate the target object.
在上述实施例的基础上,旋转速度确定单元包括:第一误差子单元,用于根据实际旋转角度和目标旋转角度确定当前旋转时刻的角度误差数据;参数获取子单元,用于获取旋转控制器的系统参数;速度确定子单元,用于根据角度误差数据和旋转控制器的系统参数确定目标对象当前旋转时刻的旋转速度;速度变换子单元,用于对旋转速度执行旋转速度变换,以确定目标对象的期望旋转速度,期望旋转速度包括第一旋转子速度和第二旋转子速度;第一旋转单元,用于利用第一旋转子速度控制目标对象的第一移动装置进行旋转;第二旋转单元,用于利用第二旋转子速度控制目标对象的第二移动装置进行旋转。On the basis of the above embodiment, the rotation speed determining unit includes: a first error subunit for determining angular error data of the current rotation time according to the actual rotation angle and the target rotation angle; and a parameter acquisition subunit for acquiring the rotation controller The system parameter; the speed determining subunit is configured to determine a rotation speed of the current rotation moment of the target object according to the angle error data and the system parameter of the rotation controller; and the speed transformation subunit is configured to perform a rotation speed transformation on the rotation speed to determine the target a desired rotational speed of the object, the desired rotational speed including a first rotational sub-speed and a second rotational sub-speed; a first rotating unit for rotating the first moving device that controls the target object with the first rotating sub-speed; and a second rotating unit And rotating for controlling the second moving device of the target object with the second rotating sub-speed.
在上述实施例的基础上,正向移动子模块包括:位置获取单元,用于获取目标对象停止原地旋转操作时的位置数据和目标停止位置的停止位置数据;移动规划单元,用于根据位置数据和停止位置数据确定目标对象的移动规划;正向移动单元,用于执行移动操作,并获取移动过程中当前移动时刻的第二实际位置数据;第二数据获取单元,用于根据移动规划确定当前移动时刻的第二目标位置数据;移动速度确定单元,用于利用第二实际位置数据和第二目标位置数据确定当前移动时刻的移动速度,并根据移动速度移动目标对象;移动停止判断单元,用于判断目标对象是否移动至目标停止位置,若是,则停止移动操作,否则,重新确定目标对象的移动速度并进行移动。On the basis of the above embodiment, the forward movement sub-module includes: a position acquisition unit, configured to acquire position data when the target object stops the in-situ rotation operation and stop position data of the target stop position; and a movement planning unit for the position according to the position The data and the stop position data determine a movement plan of the target object; the forward movement unit is configured to perform the move operation, and acquire the second actual position data of the current moving moment in the moving process; and the second data acquiring unit is configured to determine according to the movement plan a second target position data of the current moving time; a moving speed determining unit configured to determine a moving speed of the current moving time by using the second actual position data and the second target position data, and move the target object according to the moving speed; the movement stop determining unit, It is used to judge whether the target object moves to the target stop position, and if so, stops the movement operation; otherwise, it re-determines the movement speed of the target object and moves.
在上述实施例的基础上,预设的停止移动条件为根据第一实际位置数据确定目标对象与目标停止位置的距离小于或等于设定距离阈值。On the basis of the above embodiment, the preset stop movement condition is that the distance between the target object and the target stop position is determined to be less than or equal to the set distance threshold according to the first actual position data.
本发明实施例提供的移动控制装置适用于上述任意实施例提供的移动控制方法具备相应的功能和有益效果。 The mobile control device provided by the embodiment of the present invention is applicable to the mobile control method provided by any of the foregoing embodiments, and has corresponding functions and advantageous effects.
实施例四Embodiment 4
图5为本发明实施例四提供的一种机器人的结构示意图。如图5所示,该机器人包括处理器40、存储装置41、移动装置42、输入装置43和输出装置44;机器人中处理器40的数量可以是一个或多个,图5中以一个处理器40为例,机器人中移动装置42的数量可以是一个或多个,图5中以两个移动装置42为例;机器人中的处理器40、存储装置41、移动装置42、输入装置43和输出装置44可以通过总线或其他方式连接,图5中以通过总线连接为例。FIG. 5 is a schematic structural diagram of a robot according to Embodiment 4 of the present invention. As shown in FIG. 5, the robot includes a processor 40, a storage device 41, a mobile device 42, an input device 43, and an output device 44. The number of processors 40 in the robot may be one or more, and one processor in FIG. 40, for example, the number of mobile devices 42 in the robot may be one or more, and two mobile devices 42 are taken as an example in FIG. 5; the processor 40, the storage device 41, the mobile device 42, the input device 43, and the output device in the robot 44 can be connected by bus or other means, in FIG. 5 by way of a bus connection.
其中,移动装置42,用于实现机器人的移动操作以及旋转操作。上述方法实施例提及的各种控制器均可以默认为设置于处理器40中。The mobile device 42 is configured to implement a moving operation and a rotating operation of the robot. The various controllers mentioned in the above method embodiments may be set in the processor 40 by default.
存储装置41作为一种计算机可读存储介质,用于存储一个或多个程序,如本发明实施例中的移动控制方法对应的程序指令/模块(例如,移动控制装置中的获取模块301、第一移动模块302和停止确认模块303)。处理器40通过运行存储在存储装置41中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述的移动控制方法。The storage device 41 is used as a computer readable storage medium for storing one or more programs, such as the program module/module corresponding to the mobile control method in the embodiment of the present invention (for example, the acquisition module 301 in the mobile control device, A mobile module 302 and a stop confirmation module 303). The processor 40 executes various functional applications and data processing of the device by executing software programs, instructions, and modules stored in the storage device 41, that is, implementing the above-described mobile control method.
存储装置41可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据设备的使用所创建的数据等。此外,存储装置41可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储装置41可进一步包括相对于处理器40远程设置的存储器,这些远程存储器可以通过网络连接至机器人。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The storage device 41 may mainly include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the device, and the like. Further, the storage device 41 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, or other nonvolatile solid state storage device. In some examples, storage device 41 may further include memory remotely located relative to processor 40, which may be connected to the robot via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置44可用于接收输入的数字或字符信息,以及产生与机器人的用户设置以及功能控制有关的键信号输入。输出装置45可包括显示屏等显示设备。 Input device 44 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the robot. The output device 45 may include a display device such as a display screen.
实施例五Embodiment 5
本发明实施例五还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种移动控制方法,该移动控制方法包括:Embodiment 5 of the present invention further provides a storage medium including computer executable instructions for executing a mobile control method when executed by a computer processor, the mobile control method comprising:
在获取目标对象的控制参数、第一实际位置数据和第一目标位置数据;Obtaining a control parameter of the target object, first actual location data, and first target location data;
根据控制参数、第一实际位置数据和第一目标位置数据确定目标对象的期望速度,并利用期望速度控制目标对象进行移动;Determining a desired speed of the target object according to the control parameter, the first actual position data, and the first target position data, and controlling the target object to move by using the desired speed;
判断目标对象是否满足预设的停止移动条件,若是,则执行预设的停止操作。It is judged whether the target object satisfies the preset stop movement condition, and if so, the preset stop operation is performed.
当然,本发明实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的移动控制方法操作,还可以执行本发明任意实施例所提供的移动控制方法中的相关操作。Certainly, a storage medium containing computer executable instructions provided by the embodiment of the present invention, the computer executable instructions are not limited to the operation of the mobile control method as described above, and may also execute the mobile control method provided by any embodiment of the present invention. Related operations in .
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本发明可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是机器人,个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的移动控制方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be implemented by software and necessary general hardware, and can also be implemented by hardware, but in many cases, the former is a better implementation. . Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk of a computer. , read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions to make a computer device (can be a robot, A personal computer, server, or network device, etc.) performs the mobility control method described in various embodiments of the present invention.
值得注意的是,上述移动控制装置的实施例中,所包括的各个单元和模块 只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that in the embodiment of the above mobile control device, each unit and module included It is only divided according to the functional logic, but it is not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for facilitating mutual differentiation, and are not used to limit the protection scope of the present invention. .
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。 Note that the above are only the preferred embodiments of the present invention and the technical principles applied thereto. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments described herein, and that various modifications, changes and substitutions may be made without departing from the scope of the invention. Therefore, the present invention has been described in detail by the above embodiments, but the present invention is not limited to the above embodiments, and other equivalent embodiments may be included without departing from the inventive concept. The scope is determined by the scope of the appended claims.

Claims (11)

  1. 一种移动控制方法,其特征在于,包括:A mobile control method, comprising:
    获取目标对象的控制参数、第一实际位置数据和第一目标位置数据;Obtaining control parameters of the target object, first actual location data, and first target location data;
    根据所述控制参数、所述第一实际位置数据和所述第一目标位置数据确定所述目标对象的期望速度,并利用所述期望速度控制所述目标对象进行移动;Determining a desired speed of the target object according to the control parameter, the first actual position data, and the first target position data, and controlling the target object to move by using the desired speed;
    判断所述目标对象是否满足预设的停止移动条件,若是,则执行预设的停止操作。Determining whether the target object satisfies a preset stop movement condition, and if so, performing a preset stop operation.
  2. 根据权利要求1所述的移动控制方法,其特征在于,所述根据所述控制参数、所述第一实际位置数据和所述第一目标位置数据确定所述目标对象的期望速度,并利用所述期望速度控制所述目标对象进行移动包括:The movement control method according to claim 1, wherein the determining a desired speed of the target object based on the control parameter, the first actual position data, and the first target position data, and utilizing the The desired speed control of the target object to move includes:
    根据所述第一实际位置数据和所述第一目标位置数据确定所述目标对象的位置误差数据;Determining position error data of the target object according to the first actual position data and the first target position data;
    利用所述位置误差数据、所述第一实际位置数据和所述控制参数确定所述目标对象当前时刻的实际控制参数;Determining, by the position error data, the first actual position data and the control parameter, an actual control parameter of a current time of the target object;
    对所述实际控制参数进行速度变换,以确定所述目标对象的期望速度,所述期望速度包括第一子速度和第二子速度;Performing a speed transformation on the actual control parameter to determine a desired speed of the target object, the desired speed including a first sub-speed and a second sub-speed;
    利用所述第一子速度控制所述目标对象的第一移动装置进行移动;Controlling, by the first sub-speed, the first mobile device of the target object to move;
    利用所述第二子速度控制所述目标对象的第二移动装置进行移动。The second mobile device that controls the target object is moved by the second sub-speed.
  3. 根据权利要求1所述的移动控制方法,其特征在于,所述控制参数包括:系统参数和控制指令参数;The mobile control method according to claim 1, wherein the control parameters comprise: system parameters and control instruction parameters;
    所述获取目标对象的控制参数、第一实际位置数据和第一目标位置数据之前,还包括:Before the acquiring the control parameter of the target object, the first actual location data, and the first target location data, the method further includes:
    利用动态窗口法确定目标对象移动过程中的最佳控制指令以及对应的规划轨迹,以根据所述最佳控制指令和所述规划轨迹确定目标对象的控制指令参数 和第一目标位置数据。Determining an optimal control instruction in the moving process of the target object and a corresponding planning trajectory by using a dynamic window method to determine a control instruction parameter of the target object according to the optimal control instruction and the planned trajectory And first target location data.
  4. 根据权利要求1所述的移动控制方法,其特征在于,所述执行预设的停止操作包括:The mobile control method according to claim 1, wherein the performing the preset stop operation comprises:
    对所述目标对象执行原地旋转操作,以使所述目标对象原地旋转至目标角度;Performing an in-situ rotation operation on the target object to rotate the target object in situ to a target angle;
    控制所述目标对象正向移动至目标停止位置,并在移动至所述目标停止位置时停止移动操作。The target object is controlled to move forward to the target stop position, and the movement operation is stopped when moving to the target stop position.
  5. 根据权利要求4所述的移动控制方法,其特征在于,所述对所述目标对象执行原地旋转操作,以使所述目标对象原地旋转至目标角度包括:The mobile control method according to claim 4, wherein the performing an in-place rotation operation on the target object to rotate the target object to a target angle in situ comprises:
    获取目标对象满足所述预设的停止移动条件时的实际角度以及目标角度;Obtaining an actual angle and a target angle when the target object satisfies the preset stop movement condition;
    根据所述实际角度以及目标角度确定所述目标对象的旋转规划;Determining a rotation plan of the target object according to the actual angle and a target angle;
    执行旋转操作,并获取旋转过程中当前旋转时刻的实际旋转角度;Performing a rotation operation and obtaining an actual rotation angle of the current rotation time during the rotation;
    根据所述旋转规划确定所述当前旋转时刻的目标旋转角度;Determining, according to the rotation plan, a target rotation angle of the current rotation moment;
    利用所述实际旋转角度和所述目标旋转角度确定当前旋转时刻的旋转速度,并根据所述旋转速度旋转所述目标对象;Determining a rotation speed of a current rotation moment by using the actual rotation angle and the target rotation angle, and rotating the target object according to the rotation speed;
    判断所述目标对象是否原地旋转至目标角度,若是,则停止原地旋转操作,否则,重新确定所述目标对象的旋转速度并旋转所述目标对象。Determining whether the target object is rotated to the target angle in situ, and if so, stopping the in-situ rotation operation; otherwise, re-determining the rotation speed of the target object and rotating the target object.
  6. 根据权利要求5所述的移动控制方法,其特征在于,所述利用所述实际旋转角度和所述目标旋转角度确定当前旋转时刻的旋转速度,并根据所述旋转速度旋转所述目标对象包括:The movement control method according to claim 5, wherein the determining the rotation speed of the current rotation time by using the actual rotation angle and the target rotation angle, and rotating the target object according to the rotation speed comprises:
    根据所述实际旋转角度和所述目标旋转角度确定当前旋转时刻的角度误差数据;Determining angle error data of a current rotation time according to the actual rotation angle and the target rotation angle;
    获取旋转控制器的系统参数; Obtaining system parameters of the rotation controller;
    根据所述角度误差数据和所述旋转控制器的系统参数确定所述目标对象当前旋转时刻的旋转速度;Determining a rotation speed of the current rotation moment of the target object according to the angle error data and a system parameter of the rotation controller;
    对所述旋转速度执行旋转速度变换,以确定所述目标对象的期望旋转速度,所述期望旋转速度包括第一旋转子速度和第二旋转子速度;Performing a rotational speed transformation on the rotational speed to determine a desired rotational speed of the target object, the desired rotational speed including a first rotational sub-speed and a second rotational sub-speed;
    利用所述第一旋转子速度控制所述目标对象的第一移动装置进行旋转;Controlling, by the first rotating sub-speed, the first mobile device of the target object to rotate;
    利用所述第二旋转子速度控制所述目标对象的第二移动装置进行旋转。The second moving device that controls the target object is rotated by the second rotational sub-speed.
  7. 根据权利要求4所述的移动控制方法,其特征在于,所述控制所述目标对象正向移动到目标停止位置,并在移动到所述目标停止位置时停止移动操作包括:The movement control method according to claim 4, wherein the controlling the moving of the target object to the target stop position and stopping the moving operation when moving to the target stop position comprises:
    获取目标对象停止原地旋转操作时的位置数据和目标停止位置的停止位置数据;Obtaining position data when the target object stops the in-situ rotation operation and stop position data of the target stop position;
    根据所述位置数据和所述停止位置数据确定所述目标对象的移动规划;Determining a movement plan of the target object according to the location data and the stop location data;
    执行移动操作,并获取移动过程中当前移动时刻的第二实际位置数据;Performing a move operation and acquiring second actual position data of the current moving moment in the moving process;
    根据所述移动规划确定所述当前移动时刻的第二目标位置数据;Determining, according to the movement plan, second target position data of the current moving moment;
    利用所述第二实际位置数据和所述第二目标位置数据确定当前移动时刻的移动速度,并根据所述移动速度移动所述目标对象;Determining a moving speed of the current moving moment by using the second actual position data and the second target position data, and moving the target object according to the moving speed;
    判断所述目标对象是否移动至目标停止位置,若是,则停止移动操作,否则,重新确定所述目标对象的移动速度并进行移动。It is determined whether the target object moves to the target stop position, and if so, the movement operation is stopped, otherwise, the movement speed of the target object is re-determined and moved.
  8. 根据权利要求1或5所述的移动控制方法,其特征在于,所述预设的停止移动条件为根据第一实际位置数据确定所述目标对象与目标停止位置的距离小于或等于设定距离阈值。The movement control method according to claim 1 or 5, wherein the preset stop movement condition is that the distance between the target object and the target stop position is determined to be less than or equal to a set distance threshold according to the first actual position data. .
  9. 一种移动控制装置,其特征在于,包括:A mobile control device, comprising:
    获取模块,用于获取目标对象的控制参数、第一实际位置数据和第一目标 位置数据;An acquisition module, configured to acquire a control parameter of the target object, the first actual location data, and the first target Location data
    第一移动模块,用于根据所述控制参数、所述第一实际位置数据和所述第一目标位置数据确定所述目标对象的期望速度,并利用所述期望速度控制所述目标对象进行移动;a first movement module, configured to determine a desired speed of the target object according to the control parameter, the first actual position data, and the first target position data, and control the target object to move by using the desired speed ;
    停止确认模块,用于判断所述目标对象是否满足预设的停止移动条件,若是,则执行预设的停止操作。The stop confirmation module is configured to determine whether the target object satisfies a preset stop movement condition, and if yes, perform a preset stop operation.
  10. 一种机器人,其特征在于,包括:A robot characterized by comprising:
    一个或多个处理器;One or more processors;
    存储装置,用于存储一个或多个程序;a storage device for storing one or more programs;
    一个或多个移动装置,用于实现机器人的移动操作以及旋转操作;One or more mobile devices for implementing a moving operation and a rotating operation of the robot;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-8中任一所述的移动控制方法。The one or more programs are executed by the one or more processors such that the one or more processors implement the mobility control method of any of claims 1-8.
  11. 一种包含计算机可执行指令的存储介质,其特征在于,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-8中任一所述的移动控制方法。 A storage medium comprising computer executable instructions, the computer executable instructions, when executed by a computer processor, for performing the mobility control method of any of claims 1-8.
PCT/CN2017/103265 2017-05-18 2017-09-25 Moving control method and device, robot and storage medium WO2018209864A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710352268.5A CN107065883A (en) 2017-05-18 2017-05-18 Movement control method, device, robot and storage medium
CN201710352268.5 2017-05-18

Publications (1)

Publication Number Publication Date
WO2018209864A1 true WO2018209864A1 (en) 2018-11-22

Family

ID=59610293

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103265 WO2018209864A1 (en) 2017-05-18 2017-09-25 Moving control method and device, robot and storage medium

Country Status (2)

Country Link
CN (1) CN107065883A (en)
WO (1) WO2018209864A1 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107065883A (en) * 2017-05-18 2017-08-18 广州视源电子科技股份有限公司 Movement control method, device, robot and storage medium
CN109933058B (en) * 2017-12-18 2022-04-12 北京京东乾石科技有限公司 Method, apparatus, server and storage medium for determining movement error of removable device
CN108121347B (en) * 2017-12-29 2020-04-07 北京三快在线科技有限公司 Method and device for controlling movement of equipment and electronic equipment
CN108363406A (en) * 2017-12-29 2018-08-03 易瓦特科技股份公司 The control method and device of unmanned plane
CN108279674B (en) * 2018-01-18 2021-05-18 广州视源电子科技股份有限公司 Intelligent moving method, device, robot and storage medium
CN108227719B (en) * 2018-01-31 2021-06-22 浙江国自机器人技术股份有限公司 Mobile robot in-place precision control method, system, medium and equipment
CN110271804B (en) * 2018-03-15 2021-10-15 深圳志合天成科技有限公司 Method, apparatus, device and storage medium for controlling movement of automatic access device
CN110411446B (en) * 2018-04-28 2023-09-08 深圳果力智能科技有限公司 Path planning method for robot
CN109277948B (en) * 2018-08-02 2020-05-12 数码模冲压技术(武汉)有限公司 Robot grinding pressure control method and system, storage medium and equipment
CN112445211B (en) * 2019-08-15 2023-10-27 纳恩博(北京)科技有限公司 Robot control method and device, storage medium and electronic device
CN110609559B (en) * 2019-10-25 2020-08-25 江苏恒澄交科信息科技股份有限公司 Improved DWA dynamic window method for unmanned ship path following and obstacle avoidance
CN112008732B (en) * 2020-09-09 2021-12-10 中科新松有限公司 Robot reverse running method, device, terminal and storage medium
CN112847340B (en) * 2020-12-25 2022-09-16 深圳市优必选科技股份有限公司 Control method, control device and robot
CN114471286B (en) * 2021-12-17 2024-05-10 苏州镁伽科技有限公司 Control method and device of mobile device for mixing equipment and mixing equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003305676A (en) * 2002-04-11 2003-10-28 Denso Wave Inc Control method and control device for mobile robot
US20120310412A1 (en) * 2011-05-30 2012-12-06 Samsung Electronics Co., Ltd. Robot and control method thereof
CN104007761A (en) * 2014-04-30 2014-08-27 宁波韦尔德斯凯勒智能科技有限公司 Visual servo robot tracking control method and device based on pose errors
CN105955273A (en) * 2016-05-25 2016-09-21 速感科技(北京)有限公司 Indoor robot navigation system and method
CN107065883A (en) * 2017-05-18 2017-08-18 广州视源电子科技股份有限公司 Movement control method, device, robot and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407615B (en) * 2014-11-03 2017-01-25 上海电器科学研究所(集团)有限公司 AGV robot guide deviation correction method
JP6541026B2 (en) * 2015-05-13 2019-07-10 株式会社Ihi Apparatus and method for updating state data
CN105486309B (en) * 2015-12-02 2018-08-17 广州市吉特科技有限公司 It is a kind of based on color mode and assist in identifying Indoor Robot navigation and localization method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003305676A (en) * 2002-04-11 2003-10-28 Denso Wave Inc Control method and control device for mobile robot
US20120310412A1 (en) * 2011-05-30 2012-12-06 Samsung Electronics Co., Ltd. Robot and control method thereof
CN104007761A (en) * 2014-04-30 2014-08-27 宁波韦尔德斯凯勒智能科技有限公司 Visual servo robot tracking control method and device based on pose errors
CN105955273A (en) * 2016-05-25 2016-09-21 速感科技(北京)有限公司 Indoor robot navigation system and method
CN107065883A (en) * 2017-05-18 2017-08-18 广州视源电子科技股份有限公司 Movement control method, device, robot and storage medium

Also Published As

Publication number Publication date
CN107065883A (en) 2017-08-18

Similar Documents

Publication Publication Date Title
WO2018209864A1 (en) Moving control method and device, robot and storage medium
CN108725585B (en) Trajectory tracking control method and device for autonomous parking of vehicle
CN107085428B (en) Intelligent moving method, device, robot and storage medium
CN108279674B (en) Intelligent moving method, device, robot and storage medium
CN108673496B (en) Industrial robot path tracking method based on pure tracking model
WO2019204296A1 (en) Obstacle avoidance guidance for ground vehicles
JP2019202764A (en) Method for fixing traffic lane changing locus of automatic driving vehicle
WO2012153629A1 (en) Device and method for controlling prediction of motion
JP6610799B2 (en) Vehicle traveling control method and traveling control apparatus
CN109189060B (en) Point stabilization control method and device for mobile robot
CN108021136A (en) Control method, device and the robot that Robot route of travel is advanced
CN111930015A (en) Unmanned vehicle control method and device
CN113771839B (en) Automatic parking decision planning method and system
CN110789530B (en) Four-wheel independent steering-independent driving vehicle trajectory tracking method and system
CN111123950A (en) Driving control method and device and vehicle
CN105752154A (en) Vehicle steering control system and method
CN112277931A (en) Vertical parking trajectory generation method and device, vehicle and storage medium
WO2019167511A1 (en) Mobile body control device and mobile body control method
CN117724504A (en) Unmanned vehicle path tracking control method and device based on projection area
CN113885514B (en) AGV path tracking method and system based on fuzzy control and geometric tracking
CN116520847A (en) Path planning method, path planning device, mobile robot, electronic equipment and storage medium
JP5275152B2 (en) Traveling direction control device and moving body
WO2018223776A1 (en) Control method, apparatus and system for robot, and computer-readable storage medium
JP2007257195A (en) Mobile body and control method for it
CN113844460A (en) Vehicle control method and device and vehicle

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

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

Country of ref document: EP

Kind code of ref document: A1

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 17909862

Country of ref document: EP

Kind code of ref document: A1