CN112363515A - Mecanum wheel type AGV parking method based on visual positioning - Google Patents

Mecanum wheel type AGV parking method based on visual positioning Download PDF

Info

Publication number
CN112363515A
CN112363515A CN202110045367.5A CN202110045367A CN112363515A CN 112363515 A CN112363515 A CN 112363515A CN 202110045367 A CN202110045367 A CN 202110045367A CN 112363515 A CN112363515 A CN 112363515A
Authority
CN
China
Prior art keywords
agv
speed
pose
reference object
dimensional code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110045367.5A
Other languages
Chinese (zh)
Other versions
CN112363515B (en
Inventor
刘颖
陈显宝
陈龙
田洪峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Smartstate Technology Co ltd
Original Assignee
Shanghai Smartstate Technology Co ltd
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 Shanghai Smartstate Technology Co ltd filed Critical Shanghai Smartstate Technology Co ltd
Priority to CN202110045367.5A priority Critical patent/CN112363515B/en
Publication of CN112363515A publication Critical patent/CN112363515A/en
Application granted granted Critical
Publication of CN112363515B publication Critical patent/CN112363515B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0231Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
    • G05D1/0234Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using optical markers or beacons
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0223Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving speed control of the vehicle
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1456Methods for optical code recognition including a method step for retrieval of the optical code determining the orientation of the optical code with respect to the reader and correcting therefore

Abstract

The invention provides a Mecanum wheel type AGV parking method based on visual positioning, which comprises the steps of S1, setting reference object two-dimensional codes of all work positions in a walking planning path of an AGV, and setting the centers of the two-dimensional codes of the reference objects right above the work positions; s2, calibrating the reference object two-dimensional codes of the working positions, and acquiring the target poses of the reference object two-dimensional codes; s3, acquiring the current pose of the AGV by the recognition camera on the AGV at fixed time intervals, and calculating pose deviation; s4, calculating the pose deviation through the vision secondary positioning algorithm software, and adjusting the traveling speed of the AGV; and S5, repeating the steps S3 and S4 until the AGV travels to the next working position, reducing the traveling speed of the AGV to zero and stopping until the traveling speed of the AGV is right below the two-dimensional code of the reference object. The Mecanum wheel type AGV parking method realizes accurate parking of the Mecanum wheel type AGV by fusing the characteristics of accurate positioning, quick identification and strong error correction of visual images.

Description

Mecanum wheel type AGV parking method based on visual positioning
Technical Field
The invention belongs to the technical field of logistics automation, relates to an AGV parking technology, and particularly relates to a Mecanum wheel type AGV parking method based on visual positioning.
Background
Agvs (automated Guided vehicles), i.e., automated Guided vehicles or automated Guided vehicles, are vehicles that can travel along a predetermined guide path and have safety protection and various transfer functions, such as: the industrial application does not need a driver's carrier, and the traveling route and behavior can be controlled by a computer or set up by an electromagnetic rail.
Generally, the travel of an AGV is guided by navigation, which stops when the AGV travels to a work station, and travels to the next work station after loading and unloading goods at the work station. Wherein, AGV's accurate off-position is very important, and it can realize the accurate loading and unloading of goods on the AGV, also can avoid AGV operation process because of the unstable risk that drops of goods. The conventional method for controlling the parking position of the AGV is single, and generally comprises the following two modes: the method has the advantages that firstly, the positioning and stopping method based on the odometer integrates the traveling mileage of the left wheel and the right wheel of the AGV, so that the AGV stops at the working position, but the positioning mode has the problem of accumulated errors, and the AGV cannot be ensured to timely and stably stop at the working position; and secondly, the positioning and parking method based on laser scanning scans the surrounding outline through a laser sensor and matches the outline with a given map, so that parking of the AGV is realized.
In view of the above, there is a need for an improved method of positioning an AGV to improve and ensure the positioning accuracy of the AGV.
Disclosure of Invention
The invention provides a vision positioning-based Mecanum wheel type AGV parking method which is designed by the invention and realizes accurate parking of a Mecanum wheel type AGV by fusing the characteristics of accurate positioning, quick identification and strong error correction of a vision image.
The technical scheme for realizing the purpose of the invention is as follows: a Mecanum wheel type AGV parking method based on visual positioning comprises the following steps:
s1, setting a reference object two-dimensional code of each work position in the walking planning path of the AGV, wherein the center of the reference object two-dimensional code is positioned at the central position right above each work position;
s2, calibrating the reference object two-dimensional codes of the working positions, and acquiring the target poses of the reference object two-dimensional codes;
s3, the AGV walks to the beginning of the distance Y from the next working position, an identification camera on the AGV photographs the two-dimensional code of the reference object, the current pose of the AGV is obtained at fixed time intervals, and the pose deviation between the current pose and the target pose is calculated;
s4, in the step S3, when the reference two-dimensional code is photographed and recognized once, the vision secondary positioning algorithm software calculates the pose deviation obtained by recognizing the reference two-dimensional code by the recognition camera each time, and adjusts the walking speed of the AGV; the walking speed adjustment comprises the steps of sequentially dividing the pose deviation into a plurality of sections, and calculating the walking speed of the AGV of each section of the pose deviation;
and S5, repeating the steps S3 and S4 until the AGV travels to the next working position, reducing the traveling speed of the AGV to zero and stopping until the traveling speed of the AGV is right below the two-dimensional code of the reference object.
In step S1, the reference object two-dimensional code is a matrix-structured two-dimensional code.
According to the invention, the center position of the two-dimensional code of the reference object is aligned with the center of the working position, so that the accuracy of the pose deviation between the current pose and the target pose can be improved, and the AGV can be accurately and timely stopped when walking to the working position within an error range. Meanwhile, the two-dimensional code with the matrix structure can ensure that the AGV can accurately identify the two-dimensional code of the reference object in any pose.
The principle of the Mecanum wheel type AGV parking method is as follows: the method comprises the steps of setting reference two-dimensional codes (matrix structure two-dimensional codes) under each working position of a walking planning path, calibrating the reference two-dimensional codes to obtain a target pose, starting when an AGV walks to a distance Y from a next working position until the AGV walks to the position under the next working position, continuously obtaining the current pose of the AGV, and calculating pose deviation between the current pose and the target pose through vision secondary positioning algorithm software, so that the walking speed of the AGV is adjusted in real time (namely, when the pose deviation changes from large to small, the speed of the AGV starts from zero, gradually accelerates, then keeps walking at a constant speed, and then gradually decreases to the position under the reference two-dimensional codes until the AGV walks to the working positions, and then accurately stops). The Mecanum wheel type AGV parking method based on visual positioning has the advantage of high parking precision.
Further, the matrix structure two-dimensional code is fixed on the reference aluminum plate, and the matrix structure two-dimensional code includes 2 at least two-dimensional codes.
Preferably, adjacent two-dimensional codes in the matrix structure two-dimensional codes have a distance therebetween.
As an improvement to the reference object two-dimensional codes, 9 two-dimensional codes of each reference object two-dimensional code form a square matrix structure.
Wherein, step S2 includes the following steps:
s201, the AGV travels to the two-dimension code of the reference object of each working position;
s202, opening visual positioning software of a PLC (programmable logic controller) and connecting the visual positioning software with a vehicle-mounted visual camera on the AGV in a wired or wireless manner;
s203, adjusting the exposure value and the focal length of the vehicle-mounted vision camera to enable the image received by the vision positioning software to be in the optimal state;
s204, sequentially photographing each two-dimension code of the reference object two-dimension code by using a vehicle-mounted vision camera and storing pictures;
and S205, sending the stored pictures to visual positioning software for calibration, and completing the calibration of the two-dimensional code of the reference object.
Wherein, step S3 includes the following steps:
s301, the AGV walks to a distance Y away from the next working position until the AGV walks to a position right below the next working position, and the vehicle-mounted vision camera photographs the two-dimensional code of the reference object at fixed time intervals;
s302, and S301Inputting the middle picture into the PLC, and determining the current pose S of the AGV at the current photographing time0、S1、S2、……、Sn
S303, calculating pose deviation between the current pose and the target pose in the PLC;
and S304, sending the pose deviation to the vision secondary positioning algorithm software through a TCP/IP protocol.
In one embodiment of the invention, the visual secondary positioning algorithm software of step S4 is provided with a pose deviation-based velocity planning algorithm module.
In an embodiment of the present invention, as an improvement to the speed planning algorithm module, the speed planning algorithm module is an S-shaped speed curve planning algorithm module, and a maximum speed V is preset in the S-shaped speed curve planning algorithm modulemaxMaximum acceleration amaxJerk J, jerk J refers to the rate of change of acceleration, i.e., the third derivative of the position vector with respect to time.
The method for adjusting the traveling speed of the AGV in step S4 includes: the pose deviation is input into a speed planning algorithm module, and the walking of the AGV is calculated through a speed planning algorithm
Figure 687743DEST_PATH_IMAGE001
Figure 254990DEST_PATH_IMAGE002
Figure DEST_PATH_IMAGE003
Will be
Figure 160105DEST_PATH_IMAGE001
Figure 812803DEST_PATH_IMAGE002
Figure 448184DEST_PATH_IMAGE004
Converting the angular velocities into the angular velocities of 4 Mecanum wheels of the AGV through an inverse kinematics equation, and communicating the angular velocities through CANopenAnd the command is issued to the motor driver so as to drive the incremental servo motor to rotate and adjust the traveling speed of the AGV.
Furthermore, after the pose deviation is obtained, the traveling speed of the AGV in the pose deviation needs to be calculated through speed planning, so that the pose deviation is reduced, starting and stopping of the servo motor are smooth, the situation that the rotating speed of the servo motor suddenly changes is avoided, and the AGV can stably move. The AGV traveling speed calculation method comprises the following steps: and dividing the pose deviation into at least 4 sections, and calculating the traveling speed of the AGV in each section of the pose deviation through a speed planning algorithm. The traveling speed of the AGV is an accelerated traveling speed increased by an accelerated speed, an accelerated traveling speed reduced by the accelerated speed, a decelerated traveling speed reduced by the accelerated speed and a decelerated traveling speed increased by the accelerated speed in sequence from the first section of pose deviation to the fourth section of pose deviation.
Compared with the prior art, the invention has the beneficial effects that: the method comprises the steps of setting a reference object two-dimensional code on a working position of a walking planning path, calibrating the reference object two-dimensional code to obtain a target pose, continuously obtaining the current pose of the AGV in the process that the AGV walks from one working position to the next working position, and calculating the pose deviation between the current pose and the target pose through vision secondary positioning algorithm software, so that the walking speed of the AGV is adjusted in real time (namely, in the process that the pose deviation changes from large to small, the speed of the AGV starts from zero, gradually accelerates to walk firstly, then keeps walking at a constant speed, and then gradually decreases to the position right below the reference object two-dimensional code of the working position until the AGV walks to the working position, and then accurately stops). The Mecanum wheel type AGV parking method based on visual positioning has the advantage of high parking precision.
Drawings
In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings used in the description of the embodiment will be briefly introduced below. It should be apparent that the drawings in the following description are only for illustrating the embodiments of the present invention or technical solutions in the prior art more clearly, and that other drawings can be obtained by those skilled in the art without any inventive work.
FIG. 1 is a flow chart of a vision positioning based Mecanum wheel type AGV parking method of the present invention;
FIG. 2 is a schematic diagram of a Sudoku matrix two-dimensional code of a reference object two-dimensional code according to the present invention;
fig. 3 is a diagram illustrating the travel control of the AGV according to the present invention.
Detailed Description
The invention will be further described with reference to specific embodiments, and the advantages and features of the invention will become apparent as the description proceeds. These examples are illustrative only and do not limit the scope of the present invention in any way. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention, and that such changes and modifications may be made without departing from the spirit and scope of the invention.
In the description of the present embodiments, it is to be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of describing the present invention and simplifying the description, but do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," "third," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicit to a number of indicated technical features. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the invention, the meaning of "a plurality" is two or more unless otherwise specified.
Referring to fig. 1, the present embodiment provides a method for parking a mecanum wheel type AGV based on visual positioning, and in the present embodiment, the method for parking a mecanum wheel type AGV includes the following steps:
and S1, setting the reference object two-dimensional codes of the work positions in the walking planning path of the AGV, wherein the centers of the reference object two-dimensional codes are positioned at the central position right above each work position.
In step S1, the reference object two-dimensional code is a matrix-structured two-dimensional code.
Specifically, in the step, the center position of the reference object two-dimensional code is aligned with the center of the working position, so that the accuracy of pose deviation between the current pose and the target pose can be improved, and the AGV can accurately and timely stop when walking to the working position within an error range.
Further, the matrix structure two-dimensional code is fixed on the reference aluminum plate and comprises at least 2 two-dimensional codes.
Furthermore, adjacent two-dimensional codes in each matrix structure two-dimensional code have a space therebetween.
And S2, calibrating the reference object two-dimensional codes of the working positions, and acquiring the target poses of the reference object two-dimensional codes.
Specifically, the step S2 includes the following steps:
s201, the AGV travels to the two-dimension code of the reference object of each working position;
s202, opening visual positioning software of a PLC (programmable logic controller) and connecting the visual positioning software with a vehicle-mounted visual camera on the AGV in a wired or wireless manner;
s203, adjusting the exposure value and the focal length of the vehicle-mounted vision camera to enable the image received by the vision positioning software to be in the optimal state;
s204, sequentially photographing each two-dimension code of the reference object two-dimension code by using a vehicle-mounted vision camera and storing pictures;
and S205, sending the stored pictures to visual positioning software for calibration, and completing the calibration of the two-dimensional code of the reference object.
And S3, the AGV walks to the next working position by a distance Y, the recognition camera on the AGV photographs the two-dimensional code of the reference object at fixed time intervals, the current pose of the AGV is obtained, and the pose deviation between the current pose and the target pose is calculated.
Specifically, the step S3 includes the following steps:
s301, the AGV walks to a distance Y from the next working position, and a vehicle-mounted vision camera on the AGV photographs the two-dimensional code of the reference object at a fixed time interval S;
s302, inputting the picture in the S301 into a PLC (programmable logic controller), and determining the current pose S of the AGV at the current picture taking time0、S1、S2、……、Sn
S303, calculating pose deviation between the current pose and the target pose in the PLC;
and S304, sending the pose deviation to the vision secondary positioning algorithm software through a TCP/IP protocol.
S4, in the step S3, the vision secondary positioning algorithm software calculates the pose deviation obtained by recognizing the reference two-dimensional code each time by the recognition camera every time when the reference two-dimensional code is recognized once, and adjusts the walking speed of the AGV. The walking speed adjustment is to divide the pose deviation into a plurality of segments in sequence and calculate the AGV walking speed of each segment of pose deviation.
Specifically, the visual secondary positioning algorithm software of step S4 is provided with a speed planning algorithm module based on pose deviation.
Further, the speed planning algorithm module is an S-shaped speed curve planning algorithm module, and a maximum speed V is preset in the S-shaped speed curve planning algorithm modulemaxMaximum acceleration amaxAnd jerk J. Jerk J refers to the rate of change of acceleration, i.e., the third derivative of the position vector with respect to time.
The method for adjusting the traveling speed of the AGV in step S4 includes: the pose deviation is input into a speed planning algorithm module, and the walking of the AGV is calculated through a speed planning algorithm
Figure 604359DEST_PATH_IMAGE001
Figure 932572DEST_PATH_IMAGE002
Figure DEST_PATH_IMAGE005
Will be
Figure 823299DEST_PATH_IMAGE006
Figure 262370DEST_PATH_IMAGE002
Figure 538631DEST_PATH_IMAGE004
And converting the angular speed into the angular speed of 4 Mecanum wheels of the AGV through an inverse kinematics equation, and issuing an angular speed instruction to a motor driver through CANopen communication, so that the incremental servo motor is driven to rotate, and the traveling speed of the AGV is adjusted.
Specifically, the AGV traveling speed calculation method comprises the following steps: and dividing the pose deviation into at least 4 sections, and calculating the traveling speed of the AGV in each section of the pose deviation through a speed planning algorithm. The traveling speed of the AGV is an accelerated traveling speed increased by an accelerated speed, an accelerated traveling speed reduced by the accelerated speed, a decelerated traveling speed reduced by the accelerated speed and a decelerated traveling speed increased by the accelerated speed in sequence from the first section of pose deviation to the fourth section of pose deviation. In this step, the pose deviation may also be divided into 6 segments, and when the pose deviation is divided into 6 segments, the traveling speed of the AGV is sequentially an accelerated traveling speed at which acceleration increases, a uniformly accelerated traveling speed, an accelerated traveling speed at which acceleration decreases, a decelerated traveling speed at which acceleration decreases, a uniformly decelerated traveling speed, and a decelerated traveling speed at which acceleration increases, from the first-segment pose deviation to the sixth-segment pose deviation. The pose deviation obtained after each photographing is calculated, the pose deviation is preferably divided into 7 segments, and when the pose deviation is divided into 7 segments, the traveling speed of the AGV is divided into an acceleration traveling speed increased by the acceleration, a uniformly accelerated traveling speed, an acceleration traveling speed reduced by the acceleration, a uniform traveling speed, a deceleration traveling speed reduced by the acceleration, a uniformly decelerated traveling speed and a deceleration traveling speed increased by the acceleration from the first segment pose deviation to the seventh segment pose deviation in sequence.
And S5, repeating the steps S3 and S4 until the AGV travels to the next working position, reducing the traveling speed of the AGV to zero and stopping until the traveling speed of the AGV is right below the two-dimensional code of the reference object.
According to the invention, the center position of the two-dimensional code of the reference object is aligned with the center of the working position, so that the accuracy of the pose deviation between the current pose and the target pose can be improved, and the AGV can be accurately and timely stopped when walking to the working position within an error range. Meanwhile, the two-dimensional code with the matrix structure can ensure that the AGV can accurately identify the two-dimensional code of the reference object in any pose.
The principle of the Mecanum wheel type AGV parking method is as follows: the method comprises the steps of setting reference two-dimensional codes (matrix structure two-dimensional codes) under each working position of a walking planning path, calibrating the reference two-dimensional codes to obtain a target pose, starting when an AGV walks to a distance Y from a next working position until the AGV walks to the position under the next working position, continuously obtaining the current pose of the AGV, and calculating pose deviation between the current pose and the target pose through vision secondary positioning algorithm software, so that the walking speed of the AGV is adjusted in real time (namely, when the pose deviation changes from large to small, the speed of the AGV starts from zero, gradually accelerates, then keeps walking at a constant speed, and then gradually decreases to the position under the reference two-dimensional codes until the AGV walks to the working positions, and then accurately stops). The Mecanum wheel type AGV parking method based on visual positioning has the advantage of high parking precision.
The method for parking a Mecanum wheel type AGV based on visual positioning is described in detail by walking the AGV from a previous work station to a next work station and parking the AGV according to the specific embodiment as follows:
1.1 the reference object two-dimensional code is arranged under the working position in the walking planning path of the AGV. Specifically, a reference aluminum plate printed with a nine-grid-matrix two-dimensional code is fixed right above a working position, 9 two-dimensional codes in the nine-grid-matrix two-dimensional code (i.e., a reference object two-dimensional code) are distributed as shown in fig. 2, and the distance between every two-dimensional codes is 16 mm. It should be noted here that the number of the two-dimensional codes of the reference object two-dimensional code can be set at will, and the two-dimensional code is set according to the distance from one working position to the next working position of the walking planned path, so that the AGV is ensured to be capable of acquiring any one two-dimensional code on the reference object two-dimensional code in real time by the vehicle-mounted vision camera in the walking process.
1.2 install visual positioning software In-Sight Explorer 5.6.0 In the notebook computer (i.e. PLC controller), and connect the notebook computer with the vehicle-mounted visual camera on the AGV through the network cable.
1.3, moving the AGV position to enable the camera to be positioned right above the two-dimensional code of the Sudoku matrix, then opening a live video in the visual positioning software, and adjusting the exposure value and the focal length to enable the image to be in the optimal state.
And 1.4, the vehicle-mounted vision camera shoots and stores each two-dimensional code in the nine-square-grid matrix two-dimensional code and sends the two-dimensional code to vision positioning software. Specifically, the photographing sequence of the 9 two-dimensional codes of the nine-square grid matrix two-dimensional code is described as follows: numbering the positions of the two-dimensional codes on the nine-square grid matrix two-dimensional codes, moving an AGV according to a digital sequence during photographing as shown in FIG. 2, photographing once every time the AGV moves, and recording pixel coordinates and actual coordinates in a spreadsheet of visual positioning software; the distance between adjacent two-dimensional code is 16mm, if from 1 number to No. 2 two-dimensional code then need the AGV move 16mm in Y positive direction, and from No. 2 to No. 3 two-dimensional code then need the AGV move 16mm in X positive direction, analogizes with so on.
And 1.5, dragging the pictures of the 9 two-dimensional codes into visual positioning software, calibrating and storing the shot pictures of the 9 two-dimensional codes, completing the calibration of the nine-grid matrix two-dimensional codes, and acquiring a parameter S of the target pose of the nine-grid matrix two-dimensional codes.
The AGV runs from the previous work station to the next work station and stops the position as follows:
and when the AGV travels to a position 10m away from the next working position between adjacent working positions, the nine-square-grid matrix two-dimensional code starts to be identified, the current pose of the AGV is obtained, and the pose deviation between the current pose and the target pose is calculated. For the recognized pose deviation, the speed plan of the AGV running in the pose deviation is divided into seven segments for explanation (it needs to be explained that the division of the number of the running speed plan segments of the AGV in the pose deviation between the adjacent working positions can be according to the adjacent working positionsThe distance between them is adjusted), the maximum speed v of the AGVmaxIs 1m/s, the highest acceleration amaxTaken as an example for desperation at 0.5m/s, jerk J is taken as 0.3 m/s.
Firstly, calculating the AGV operation time of each of seven segments of the AGV operation speed plan in the pose deviation.
1.1 first segment of operating time t1
Figure 772166DEST_PATH_IMAGE007
1.2 second run time t2
Figure 399456DEST_PATH_IMAGE008
;
1.3 third run time t3
Figure 376640DEST_PATH_IMAGE009
;
1.4 fourth run time t4
Figure 258139DEST_PATH_IMAGE010
;
1.5 fifth run time t5
Figure 662576DEST_PATH_IMAGE011
;
1.6 sixth run time t6
Figure 511583DEST_PATH_IMAGE012
;
1.7 seventh run time t7
Figure 26878DEST_PATH_IMAGE013
Secondly, when the visual camera on the AGV recognizes the Sudoku matrix two-dimensional code, the image is taken once every 50ms (the interval time can be flexibly set according to different planned paths), and the pose deviation S of the current position is obtainedaAnd adjusting the traveling speed of the AGV in real time. The details are as followsThe following steps:
inputting the obtained two-dimensional code picture into a PLC controller, obtaining the current pose and calculating the pose deviation, and recalculating the speed of each section in the pose deviation in the vision secondary positioning algorithm software
Figure 277731DEST_PATH_IMAGE014
Figure 853068DEST_PATH_IMAGE015
、……、
Figure 454951DEST_PATH_IMAGE016
2.2 calculating the Current pose S in the PLC controlleriPose deviation S from target pose Sa
And 2.3, sending the pose deviation to vision secondary positioning algorithm software through a TCP/IP protocol.
2.4 calculating the pose deviation through the vision secondary positioning algorithm software, and adjusting the traveling speed of the AGV, which comprises the following steps:
2.4.1 the traveling speed of the first section in the AGV traveling process is calculated by an S-shaped speed curve planning algorithm module, and the traveling speed of the AGV is as follows:
Figure 524669DEST_PATH_IMAGE017
the traveling speed of the second stage in the traveling process of the AGV is calculated by an S-shaped speed curve planning algorithm module, and the traveling speed of the AGV is as follows:
Figure 630029DEST_PATH_IMAGE018
the traveling speed of the third section in the traveling process of the AGV is calculated by an S-shaped speed curve planning algorithm module, and the traveling speed of the AGV is as follows:
Figure 376268DEST_PATH_IMAGE019
Figure 199867DEST_PATH_IMAGE020
Figure 56965DEST_PATH_IMAGE021
Figure 282410DEST_PATH_IMAGE022
the traveling speed of the fourth segment in the traveling process of the AGV is calculated by an S-shaped speed curve planning algorithm module, and the traveling speed of the AGV is as follows:
Figure 199550DEST_PATH_IMAGE023
the traveling speed of the AGV in the fifth section in the traveling process is calculated by an S-shaped speed curve planning algorithm module, and the traveling speed of the AGV is as follows:
Figure 258249DEST_PATH_IMAGE024
Figure 919037DEST_PATH_IMAGE020
Figure 733409DEST_PATH_IMAGE021
Figure 87030DEST_PATH_IMAGE022
the traveling speed of the AGV in the sixth section is calculated by an S-shaped speed curve planning algorithm module and is as follows:
Figure 619643DEST_PATH_IMAGE025
the traveling speed of the seventh segment in the traveling process of the AGV, namely when the time of the seventh segment is ended, the AGV stops to the position right below the working position, and the traveling speed of the AGV is calculated through an S-shaped speed curve planning algorithm module and is as follows:
Figure 349701DEST_PATH_IMAGE026
in the process of AGV walking, the S-shaped speed curve planning algorithm module calculates the walking speed of the AGV to obtain the AGV speed values and the distance values in each time period, the AGV speed values and the distance values are converted into the angular speeds of four Mecanum wheels of the AGV through an inverse kinematics equation of the AGV, and an angular speed instruction is issued to a motor driver through CANopen communication, so that the incremental servo motor is driven to rotate, the vehicle body is finally moved and finally accurately stopped right below a working position, and the walking control process of the AGV is shown in figure 3.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (10)

1. A Mecanum wheel type AGV parking method based on visual positioning is characterized in that: the method comprises the following steps:
s1, setting a reference object two-dimensional code of each work position in the walking planning path of the AGV, wherein the center of the reference object two-dimensional code is positioned at the central position right above each work position;
s2, calibrating the reference object two-dimensional codes of the working positions, and acquiring the target poses of the reference object two-dimensional codes;
s3, the AGV walks to the beginning of the distance Y from the next working position, the recognition camera on the AGV photographs the two-dimensional code of the reference object at fixed time intervals, the current pose of the AGV is obtained, and the pose deviation between the current pose and the target pose is calculated;
s4, in the step S3, when the reference two-dimensional code is photographed and recognized once, the vision secondary positioning algorithm software calculates the pose deviation obtained by recognizing the reference two-dimensional code by the recognition camera each time, and adjusts the walking speed of the AGV; the walking speed adjustment comprises the steps of sequentially dividing the pose deviation into a plurality of sections, and calculating the walking speed of the AGV of each section of the pose deviation;
s5, repeating the steps S3 and S4 until the AGV travels to the next working position, reducing the traveling speed of the AGV to zero and stopping until the traveling speed of the AGV is right below the two-dimensional code of the reference object;
in step S1, the reference object two-dimensional code is a matrix-structured two-dimensional code.
2. A method of parking a mecanum wheeled AGV according to claim 1, wherein: the matrix structure two-dimensional code is fixed on a reference aluminum plate, and the matrix structure two-dimensional code comprises at least 2 two-dimensional codes.
3. A method of parking a mecanum wheeled AGV according to claim 2, wherein: and spaces are reserved between adjacent two-dimensional codes in the matrix structure two-dimensional codes.
4. A method of parking a mecanum wheeled AGV according to claim 2 or 3, characterised in that: the two-dimensional codes of each reference object two-dimensional code are 9, and the 9 two-dimensional codes form a square matrix structure.
5. A Mecanum wheel AGV parking method as in claim 4, wherein: step S2 includes the following steps:
s201, the AGV travels to the two-dimension code of the reference object of each working position;
s202, opening visual positioning software of a PLC (programmable logic controller) and connecting the visual positioning software with a vehicle-mounted visual camera on the AGV in a wired or wireless manner;
s203, adjusting the exposure value and the focal length of the vehicle-mounted vision camera to enable the image received by the vision positioning software to be in the optimal state;
s204, sequentially photographing each two-dimension code of the reference object two-dimension code by using a vehicle-mounted vision camera and storing pictures;
and S205, sending the stored pictures to visual positioning software for calibration, and completing the calibration of the two-dimensional code of the reference object.
6. A Mecanum wheel AGV parking method as in claims 1 or 5, wherein: step S3 includes the following steps:
s301, the AGV walks to a distance Y away from the next working position until the AGV walks to a position right below the next working position, and the vehicle-mounted vision camera photographs the two-dimensional code of the reference object at fixed time intervals;
s302, inputting the picture in the S301 into a PLC (programmable logic controller), and determining the current pose S of the AGV at the current picture taking time0、S1、S2、……、Sn
S303, calculating pose deviation between the current pose and the target pose in the PLC;
and S304, sending the pose deviation to the vision secondary positioning algorithm software through a TCP/IP protocol.
7. A method of parking a mecanum wheeled AGV according to claim 1, wherein: in step S4, the vision secondary positioning algorithm software is provided with a pose deviation-based speed planning algorithm module.
8. A method of parking a mecanum wheeled AGV according to claim 7, wherein: the speed planning algorithm module is an S-shaped speed curve planning algorithm module, and a maximum speed V is preset in the S-shaped speed curve planning algorithm modulemaxMaximum acceleration amaxAnd jerk J.
9. A method of parking a mcanum wheel AGV according to claim 7 or 8, characterised in that: the method for adjusting the traveling speed of the AGV in step S4 includes: the pose deviation is input into a speed planning algorithm module, and the walking of the AGV is calculated through a speed planning algorithm
Figure 665384DEST_PATH_IMAGE001
Figure 609069DEST_PATH_IMAGE002
Figure 902647DEST_PATH_IMAGE003
Will be
Figure 349809DEST_PATH_IMAGE001
Figure 70640DEST_PATH_IMAGE002
Figure 986775DEST_PATH_IMAGE003
And converting the angular speed into the angular speed of 4 Mecanum wheels of the AGV through an inverse kinematics equation, and issuing an angular speed instruction to a motor driver through CANopen communication, so that the incremental servo motor is driven to rotate, and the traveling speed of the AGV is adjusted.
10. A method of parking a mecanum wheeled AGV according to claim 9, wherein: the AGV traveling speed calculation method comprises the following steps: dividing the pose deviation into at least 4 segments, and calculating the traveling speed of the AGV in each segment of pose deviation through a speed planning algorithm;
the traveling speed of the AGV is an accelerated traveling speed increased by an accelerated speed, an accelerated traveling speed reduced by the accelerated speed, a decelerated traveling speed reduced by the accelerated speed and a decelerated traveling speed increased by the accelerated speed in sequence from the first section of pose deviation to the fourth section of pose deviation.
CN202110045367.5A 2021-01-14 2021-01-14 Mecanum wheel type AGV parking method based on visual positioning Active CN112363515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110045367.5A CN112363515B (en) 2021-01-14 2021-01-14 Mecanum wheel type AGV parking method based on visual positioning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110045367.5A CN112363515B (en) 2021-01-14 2021-01-14 Mecanum wheel type AGV parking method based on visual positioning

Publications (2)

Publication Number Publication Date
CN112363515A true CN112363515A (en) 2021-02-12
CN112363515B CN112363515B (en) 2021-05-04

Family

ID=74534952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110045367.5A Active CN112363515B (en) 2021-01-14 2021-01-14 Mecanum wheel type AGV parking method based on visual positioning

Country Status (1)

Country Link
CN (1) CN112363515B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108388244A (en) * 2018-01-16 2018-08-10 上海交通大学 Mobile-robot system, parking scheme based on artificial landmark and storage medium
CN109765887A (en) * 2018-12-21 2019-05-17 费子偕 A kind of automatic Pilot control method
CN109813305A (en) * 2018-12-29 2019-05-28 广州蓝海机器人系统有限公司 Unmanned fork lift based on laser SLAM
CN109991932A (en) * 2017-12-29 2019-07-09 沈阳新松机器人自动化股份有限公司 A kind of logistics haulage equipment S curve acceleration and deceleration speed planning and control method
CN110347160A (en) * 2019-07-17 2019-10-18 武汉工程大学 A kind of automatic guide vehicle and its air navigation aid based on dual camera barcode scanning
CN110618679A (en) * 2019-08-22 2019-12-27 北京交通大学 Multi-AGV intelligent cooperative work system based on wireless communication network
CN111123930A (en) * 2019-12-23 2020-05-08 北京星航机电装备有限公司 AGV (automatic guided vehicle) visual navigation control method for product transfer
CN111290272A (en) * 2020-02-15 2020-06-16 中国海洋大学 Attitude stationarity adjusting method based on multi-legged robot
CN111897216A (en) * 2020-07-16 2020-11-06 华中科技大学 Multi-motion-segment speed planning and interpolation method
CN112045655A (en) * 2020-08-14 2020-12-08 华中科技大学 Mobile robot pose measurement method and system for large-scale multi-site scene

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109991932A (en) * 2017-12-29 2019-07-09 沈阳新松机器人自动化股份有限公司 A kind of logistics haulage equipment S curve acceleration and deceleration speed planning and control method
CN108388244A (en) * 2018-01-16 2018-08-10 上海交通大学 Mobile-robot system, parking scheme based on artificial landmark and storage medium
CN109765887A (en) * 2018-12-21 2019-05-17 费子偕 A kind of automatic Pilot control method
CN109813305A (en) * 2018-12-29 2019-05-28 广州蓝海机器人系统有限公司 Unmanned fork lift based on laser SLAM
CN110347160A (en) * 2019-07-17 2019-10-18 武汉工程大学 A kind of automatic guide vehicle and its air navigation aid based on dual camera barcode scanning
CN110618679A (en) * 2019-08-22 2019-12-27 北京交通大学 Multi-AGV intelligent cooperative work system based on wireless communication network
CN111123930A (en) * 2019-12-23 2020-05-08 北京星航机电装备有限公司 AGV (automatic guided vehicle) visual navigation control method for product transfer
CN111290272A (en) * 2020-02-15 2020-06-16 中国海洋大学 Attitude stationarity adjusting method based on multi-legged robot
CN111897216A (en) * 2020-07-16 2020-11-06 华中科技大学 Multi-motion-segment speed planning and interpolation method
CN112045655A (en) * 2020-08-14 2020-12-08 华中科技大学 Mobile robot pose measurement method and system for large-scale multi-site scene

Also Published As

Publication number Publication date
CN112363515B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN106950972B (en) Automatic Guided Vehicle (AGV) and route correction method thereof
CN108592906B (en) AGV composite navigation method based on two-dimensional code and inertial sensor
CN111580520B (en) Four-wheel steering AGV track deviation rectifying method based on two-dimensional code navigation
CN110427033A (en) A kind of laser navigation AGV high-precision locating method based on two dimensional code
CN111624618A (en) Positioning method and carrying platform integrating laser SLAM and two-dimensional code navigation
CN111123925A (en) Mobile robot navigation system and method
CN106462968A (en) Method and apparatus for calibrating a camera system in a motor vehicle
CN111039231B (en) Intelligent forklift turning path planning method
CN106886222B (en) Control method and device for automated guided vehicle
WO2022095814A1 (en) Automatic vehicle reversing control method and apparatus, vehicle and storage medium
EP3992732A1 (en) Method and apparatus for predicting motion trajectory
CN112216142B (en) Vehicle vision positioning system based on specific scene
CN109211260A (en) The driving path method and device for planning of intelligent vehicle, intelligent vehicle
CN112363515B (en) Mecanum wheel type AGV parking method based on visual positioning
CN113156945A (en) Automatic guide vehicle and parking control method and control device thereof
CN112666934A (en) Control system, scheduling system and control method for automobile carrying AGV
CN110083158B (en) Method and equipment for determining local planning path
CN112083732A (en) Robot navigation method and system for detecting visible line laser
JPS59111508A (en) Automatic car guiding method using point follow-up system
CN114089730B (en) Robot motion planning method and automatic guiding vehicle
CN112947487A (en) Automatic guide vehicle and curve path tracking method and control device thereof
CN112612289B (en) Trajectory tracking control method, mobile robot, control device, and storage medium
CN113341968A (en) Accurate parking system and method for multi-axis flat car
CN215340834U (en) AGV control system of two-dimensional code typewriter ribbon hybrid navigation
CN115457088B (en) Method and system for fixing axle of train

Legal Events

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