CN116954235A - AGV trolley navigation control method and system - Google Patents
AGV trolley navigation control method and system Download PDFInfo
- Publication number
- CN116954235A CN116954235A CN202311219222.8A CN202311219222A CN116954235A CN 116954235 A CN116954235 A CN 116954235A CN 202311219222 A CN202311219222 A CN 202311219222A CN 116954235 A CN116954235 A CN 116954235A
- Authority
- CN
- China
- Prior art keywords
- agv
- coordinates
- bluetooth
- agv trolley
- geomagnetic
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/20—Instruments for performing navigational calculations
- G01C21/206—Instruments for performing navigational calculations specially adapted for indoor navigation
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/005—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 with correlation of navigation data from several sources, e.g. map or contour matching
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/04—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by terrestrial means
- G01C21/08—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by terrestrial means involving use of the magnetic field of the earth
Landscapes
- Engineering & Computer Science (AREA)
- Remote Sensing (AREA)
- Radar, Positioning & Navigation (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- General Life Sciences & Earth Sciences (AREA)
- Geology (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
Description
技术领域Technical field
本发明涉及导航技术领域,特别是AGV小车导航控制方法及系统。The present invention relates to the field of navigation technology, in particular to an AGV car navigation control method and system.
背景技术Background technique
AGV(Automatic Guided Vehicle,自动导航小车)是一种无人操纵的自动化运输设备,能承载一定的重量在出发地和目的地之间自主运行,是自动物流系统和柔性制造系统的重要组成设备,具有良好的市场前景和应用价值。AGV (Automatic Guided Vehicle) is an unmanned automated transportation equipment that can carry a certain weight and operate autonomously between the departure point and the destination. It is an important component of the automatic logistics system and flexible manufacturing system. It has good market prospects and application value.
AGV分为轨道式AGV和非轨道式AGV,其中轨道式AGV为按照预设轨道移动的AGV设备,而非轨道式AGV为具有自主导航功能的AGV设备,现有的非轨道式AGV常见的导航方式为通过固定设置在其上的激光雷达导航仪对所在空间的环境轮廓进行扫描并分析得出环境数据,然后AGV根据环境数据进行导航移动,但在参照点少的狭窄地方仅靠单个激光雷达导航仪扫描环境轮廓,得出的环境数据容易出现偏差,导致AGV无法正常导航,另外,由于上述激光雷达导航仪是固定设置的,若该激光雷达导航仪被处于高位的障碍物遮挡,则激光雷达导航仪无法扫描所在空间的环境轮廓,也导致AGV无法正常导航;若设置多个激光雷达导航仪以扫描获得多个角度的环境轮廓以克服上述的技术问题,又会提高AGV设备的生产成本。AGVs are divided into orbital AGVs and non-orbital AGVs. Orbital AGVs are AGV equipment that moves according to a preset track, while non-orbital AGVs are AGV equipment with autonomous navigation functions. Common navigation methods of existing non-orbital AGVs The method is to use a lidar navigator fixed on it to scan the environmental contours of the space and analyze it to obtain environmental data. Then the AGV navigates and moves based on the environmental data, but only relies on a single lidar in narrow places with few reference points. The navigator scans the contours of the environment, and the environmental data obtained is prone to deviations, causing the AGV to be unable to navigate normally. In addition, since the above-mentioned lidar navigator is fixedly installed, if the lidar navigator is blocked by a high-level obstacle, the laser The radar navigator cannot scan the environmental contours of the space, which also causes the AGV to be unable to navigate normally. If multiple lidar navigators are set up to scan the environmental contours from multiple angles to overcome the above technical problems, it will increase the production cost of the AGV equipment. .
中国专利申请号CN201510761432.9公开了一种视觉AGV导航系统,包括:视觉传感器、图像采集卡、图像处理器、PC主机和驱动系统,其中:所述视觉传感器通过USB接口与所述图像采集卡相连接,所述图像采集卡与所述图像处理器相连接,所述图像处理器通过RS232接口、USB接口和JTAG接口与所述PC主机相连接,所述图像处理器通过PWM输出接口与所述驱动系统相连接;所述图像处理器包括依次连接的滤波处理单元、边缘处理单元和阈值处理单元。虽然该导航系统能够实现AVG的自动导航,但是整个算法复杂,耗时长。Chinese patent application number CN201510761432.9 discloses a visual AGV navigation system, including: a visual sensor, an image capture card, an image processor, a PC host and a drive system, wherein: the visual sensor communicates with the image capture card through a USB interface The image acquisition card is connected to the image processor, the image processor is connected to the PC host through an RS232 interface, a USB interface and a JTAG interface, and the image processor is connected to the image processor through a PWM output interface. The image processor is connected to the driving system; the image processor includes a filter processing unit, an edge processing unit and a threshold processing unit that are connected in sequence. Although this navigation system can realize automatic navigation of AVG, the entire algorithm is complex and time-consuming.
因此,亟需一种应用于非轨道式AGV的成本低廉且稳定可靠的定位导航方法。Therefore, there is an urgent need for a low-cost, stable and reliable positioning and navigation method for non-orbital AGVs.
发明内容Contents of the invention
为了解决上述技术问题,本发明提供了一种AGV小车导航控制方法及系统。In order to solve the above technical problems, the present invention provides an AGV car navigation control method and system.
为达到上述目的,本发明是按照以下技术方案实施的:In order to achieve the above objects, the present invention is implemented according to the following technical solutions:
本发明的第一个目的是要提供一种AGV小车导航控制方法,包括以下步骤:The first object of the present invention is to provide an AGV car navigation control method, which includes the following steps:
S1、绘制室内坐标网格图,并在坐标网格图中标记出所有障碍物的位置及坐标;S1. Draw an indoor coordinate grid diagram and mark the locations and coordinates of all obstacles in the coordinate grid diagram;
S2、在室内区域设置若干蓝牙信标,并在AGV小车上安装蓝牙接收器以及iBeacon软件和霍尔传感器分别接收蓝牙和地磁信号,并计算出蓝牙估计坐标和地磁估计坐标;S2. Set up several Bluetooth beacons in the indoor area, and install Bluetooth receivers, iBeacon software and Hall sensors on the AGV to receive Bluetooth and geomagnetic signals respectively, and calculate Bluetooth estimated coordinates and geomagnetic estimated coordinates;
S3、之后对蓝牙估计坐标和地磁估计坐标在决策层进行融合计算AGV小车的当前位置;S3. Then, the Bluetooth estimated coordinates and the geomagnetic estimated coordinates are fused at the decision-making level to calculate the current position of the AGV car. ;
S4、获得AGV小车待到达位置的坐标,然后根据公式求得AGV小车的当前位置与AGV小车待到达位置的最短直线距离,并控制AGV小车沿着该最短直线距离向AGV小车待到达位置移动;S4. Obtain the coordinates of the position where the AGV car is to arrive. , and then according to the formula Find the shortest straight-line distance between the current position of the AGV car and the position where the AGV car is to be reached, and control the AGV car to move along the shortest straight-line distance to the position where the AGV car is to be reached;
S5、通过AGV小车上的视觉传感器实时采集AGV小车前方道路图像;S5. Collect the road image in front of the AGV car in real time through the visual sensor on the AGV car;
S6、当发现AGV小车正前方存在障碍物时控制AGV小车向左或向右移动,并实时采集AGV小车前方道路图像直至AGV小车正前方无障碍物;再次获得AGV小车的当前位置的坐标并求得AGV小车的当前位置与AGV小车待到达位置的最短直线距离,并控制AGV小车沿着该最短直线距离向AGV小车待到达位置移动;S6. When it is discovered that there is an obstacle directly in front of the AGV car, control the AGV car to move left or right, and collect the image of the road in front of the AGV car in real time until there is no obstacle directly in front of the AGV car; obtain the coordinates of the current position of the AGV car again and calculate Obtain the shortest straight-line distance between the current position of the AGV car and the position to be reached by the AGV car, and control the AGV car to move along the shortest straight-line distance to the position to be reached by the AGV car;
S7、重复步骤S5-S6,直到AGV小车到达AGV小车待到达位置。S7. Repeat steps S5-S6 until the AGV car reaches the waiting position of the AGV car.
进一步地,所述步骤S2具体包括:假设蓝牙估计坐标为:;在此期间地磁估计坐标集合为:/>;地磁估计坐标集合取平均加权后坐标为:;对坐标分别赋予权值/>和b,得到融合后的最终位置估计坐标为:/>;其中:/> <b。Further, the step S2 specifically includes: assuming that the Bluetooth estimated coordinates are: ;During this period, the set of geomagnetic estimated coordinates is:/> ;The coordinates after averaging the weighted geomagnetic estimation coordinate set are: ;Assign weights to coordinates/> and b , the final estimated position coordinates after fusion are:/> ;where:/> <b .
进一步地,所述蓝牙和地磁定位结果的权值比例置为1: N,即:;最终将融合后的最终位置估计坐标写为:/>。Further, the weight ratio of the Bluetooth and geomagnetic positioning results is set to 1: N, that is: ; Finally, the final estimated position coordinates after fusion are written as:/> .
本发明的第二个目的是要提供一种AGV小车导航控制系统,包括在室内区域设置若干蓝牙信标、安装在AGV小车上AGV小车处理器、安装在AGV小车处理器上的蓝牙接收器以及iBeacon软件和霍尔传感器、视觉传感器和驱动系统,其中:所述视觉传感器通过USB接口与AGV小车处理器相连接,所述视觉传感器通过PWM输出接口与所述驱动系统相连接;所述AGV小车处理器用于执行所述AGV小车导航控制方法。The second object of the present invention is to provide an AGV car navigation control system, which includes setting a number of Bluetooth beacons in an indoor area, an AGV car processor installed on the AGV car, a Bluetooth receiver installed on the AGV car processor, and iBeacon software and Hall sensor, visual sensor and drive system, wherein: the visual sensor is connected to the AGV car processor through a USB interface, the visual sensor is connected to the drive system through a PWM output interface; the AGV car The processor is used to execute the AGV car navigation control method.
与现有技术相比,本发明首先通过对蓝牙估计坐标和地磁估计坐标在决策层进行融合计算AGV小车的位置,既减小了定位误差又没有耗费额外的硬件资源;然后重复计算AGV小车的当前位置与AGV小车待到达位置的最短直线距离,直到到达AGV小车待到达位置,整个过程算法简单,耗时短,对硬件要求较低,可以很好地满足实际应用的需要。Compared with the existing technology, the present invention first calculates the position of the AGV car by fusing the Bluetooth estimated coordinates and the geomagnetic estimated coordinates at the decision-making level, which reduces the positioning error without consuming additional hardware resources; and then repeatedly calculates the position of the AGV car. The shortest straight-line distance between the current position and the AGV car's waiting position, until it reaches the AGV car's waiting position, the whole process has a simple algorithm, short time consumption, low hardware requirements, and can well meet the needs of practical applications.
附图说明Description of the drawings
图1为绘制的室内坐标网格图。Figure 1 shows the indoor coordinate grid drawn.
图2为位置指纹的室内定位算法的在线定位阶段示意图。Figure 2 is a schematic diagram of the online positioning stage of the indoor positioning algorithm based on location fingerprint.
图3为决策层融合结构图。Figure 3 is the decision-making layer fusion structure diagram.
具体实施方式Detailed ways
为使本发明的目的、技术方案及优点更加清楚明白,以下结合实施例,对本发明进行进一步的详细说明。此处所描述的具体实施例仅用于解释本发明,并不用于限定发明。In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the examples. The specific embodiments described here are only used to explain the invention and are not intended to limit the invention.
本实施例提供了一种AGV小车导航控制系统,包括在室内区域设置若干蓝牙信标、安装在AGV小车上AGV小车处理器、安装在AGV小车处理器上的蓝牙接收器以及iBeacon软件和霍尔传感器、视觉传感器和驱动系统,其中:所述视觉传感器通过USB接口与AGV小车处理器相连接,视觉传感器通过PWM输出接口与所述驱动系统相连接;AGV小车处理器用于执行下述AGV小车导航控制方法,以实现AGV小车到达AGV小车待到达位置。This embodiment provides an AGV car navigation control system, which includes setting several Bluetooth beacons in an indoor area, an AGV car processor installed on the AGV car, a Bluetooth receiver installed on the AGV car processor, and iBeacon software and Hall Sensor, visual sensor and drive system, wherein: the visual sensor is connected to the AGV car processor through a USB interface, the visual sensor is connected to the drive system through a PWM output interface; the AGV car processor is used to perform the following AGV car navigation Control method to realize the AGV car reaching the position where the AGV car is to arrive.
利用上述系统即可实现AGV小车导航控制,具体步骤如下:The above system can be used to realize AGV car navigation control. The specific steps are as follows:
S1、如图1所示,绘制室内坐标网格图,并在坐标网格图中标记出所有障碍物的位置及坐标(图1中较大圆点表示障碍物);S1. As shown in Figure 1, draw an indoor coordinate grid diagram, and mark the positions and coordinates of all obstacles in the coordinate grid diagram (larger dots in Figure 1 represent obstacles);
在室内区域设置若干蓝牙信标,并在AGV小车上安装蓝牙接收器以及iBeacon软件和霍尔传感器分别接收蓝牙和地磁信号,并计算出蓝牙估计坐标和地磁估计坐标;Set up several Bluetooth beacons in the indoor area, and install Bluetooth receivers, iBeacon software and Hall sensors on the AGV car to receive Bluetooth and geomagnetic signals respectively, and calculate Bluetooth estimated coordinates and geomagnetic estimated coordinates;
本实施例是基于位置指纹的室内定位算法构建蓝牙和地磁指纹数据库的,分为离线建库阶段和在线定位阶段:This embodiment builds a Bluetooth and geomagnetic fingerprint database based on the indoor positioning algorithm of location fingerprint, which is divided into an offline database construction stage and an online positioning stage:
(1)离线建库阶段(1) Offline database construction stage
在离线建库阶段,首先进行数据信息采集以建立每个位置的指纹库,即在室内指定区域选择一定数量且间距适中的参考点进行采样,这些点的位置指纹信息包括接收到的若干AP的RSSI序列以及当前位置的坐标,接着将这些指纹数据保存在位置指纹库里面。In the offline database construction phase, data information is first collected to establish a fingerprint database for each location. That is, a certain number of reference points with moderate spacing are selected for sampling in a designated indoor area. The location fingerprint information of these points includes the received fingerprints of several APs. RSSI sequence and the coordinates of the current location, and then save these fingerprint data in the location fingerprint database.
(2)在线定位阶段(2) Online positioning stage
如图2所示,在线定位阶段需要利用已经建立好的指纹数据库估计用户的实际位置,可以通过AGV小车上安装蓝牙接收器以及iBeacon软件采集当前接收到的若干AP的RSSI信号,之后将它们与预先保存好的位置指纹库里的RSSI数据依次进行对照,得到与当前采集到的RSSI信号最接近的指纹数据,就可以估计出当前AGV小车所在的实际位置。As shown in Figure 2, the online positioning stage needs to use the established fingerprint database to estimate the user's actual location. You can collect the RSSI signals of several APs currently received through the Bluetooth receiver and iBeacon software installed on the AGV car, and then compare them with The RSSI data in the pre-saved location fingerprint database are compared in sequence to obtain the fingerprint data closest to the currently collected RSSI signal, and the actual location of the current AGV car can be estimated.
然后,利用K近邻算法进行匹配估计,之后分别计算出蓝牙估计坐标和地磁估计坐标。Then, the K nearest neighbor algorithm is used for matching estimation, and then the Bluetooth estimated coordinates and geomagnetic estimated coordinates are calculated respectively.
K近邻算法是较为常用的一种位置指纹定位算法,假设定位空间内存在m个采样点,个AP,则待定位点的RSSI向量为/>,第i个采样点的RSSI向量为,位置坐标为/>,可以计算出两点之间的欧式距离为:;其中rssi j 表示接收到第j个AP的信号强度,rssi ij 为第i个采样点中的第j个AP的强度。之后对得到的m个距离进行排序,选择距离最小的K个采样点,再取这些坐标的均值作为估计结果,即:/>;式中/>表示第i个采样点的坐标,/>为对应的估计值。除了估计误差之外,还可以用累积分布函数(Cumulative Distribution Function, CDF)来评估定位的效果,/>表示X小于等于/>的全部值出现的概率,即:/>;分析整个定位过程可知,有两点原因会对定位精度产生较大影响:一是指纹库构建的准确性。二是在线匹配时所利用的算法,最好是既满足匹配算法准确度又能够不造成过多的硬件开销,这样不仅可以提升定位的精度,也便于大规模的进行推广。The K nearest neighbor algorithm is a commonly used position fingerprint positioning algorithm. It is assumed that there are m sampling points in the positioning space. AP, then the RSSI vector of the point to be located is/> , the RSSI vector of the i- th sampling point is , the position coordinates are/> , the Euclidean distance between two points can be calculated as: ; where rssi j represents the received signal strength of the j- th AP, and rssi ij is the strength of the j -th AP in the i -th sampling point. Then sort the m distances obtained, select the K sampling points with the smallest distance, and then take the mean of these coordinates as the estimation result, that is:/> ;Formula/> Represents the coordinates of the i- th sampling point, /> is the corresponding estimated value. In addition to the estimation error, the cumulative distribution function (CDF) can also be used to evaluate the positioning effect./> Indicates that X is less than or equal to/> The probability of all values appearing, that is:/> ; Analyzing the entire positioning process, it can be seen that there are two reasons that will have a greater impact on positioning accuracy: First, the accuracy of fingerprint database construction. The second is the algorithm used in online matching. It is best to meet the accuracy of the matching algorithm without causing excessive hardware overhead. This can not only improve the accuracy of positioning, but also facilitate large-scale promotion.
S2、之后,对蓝牙估计坐标和地磁估计坐标在决策层进行融合汁算用户的位置。S2. After that, the Bluetooth estimated coordinates and the geomagnetic estimated coordinates are fused at the decision-making layer to calculate the user's location.
本实施例采用苹果公司在2013年推出的一种称为iBeacon的精准定位功能,它利用了蓝牙技术,其周围的电子设备可以感知到它发出的蓝牙信号,之后通过软件和硬件的结合来实现室内定位。iBeacon信号覆盖的范围大约在5080 m,用户可以通过手机等移动终端上的应用程序检测到iBeacon信号。当iBeacon蓝牙信标在工作时,设备会每隔一段时间向外发射数据包,间隔时间可分为300 ms, 500 ms或900 ms。一套完整的iBeacon系统应含有一个或几个iBeacon信标,它们在一定距离内发射独一无二的标识码,对应的接收设备上可以找到iBeacon信号。越靠近信标的信号会越强,随着距离的增加信号会不断的衰减,当距离超过一定值时将无法检测到信号。This embodiment uses a precise positioning function called iBeacon launched by Apple in 2013. It uses Bluetooth technology. Electronic devices around it can sense the Bluetooth signal it emits, and then implement it through a combination of software and hardware. Indoor Positioning. The iBeacon signal covers a range of approximately 5080 m. Users can detect iBeacon signals through applications on mobile terminals such as mobile phones. When the iBeacon Bluetooth beacon is working, the device will transmit data packets at regular intervals, and the interval can be divided into 300 ms, 500 ms or 900 ms. A complete iBeacon system should contain one or several iBeacon beacons, which emit unique identification codes within a certain distance, and the iBeacon signal can be found on the corresponding receiving device. The closer the beacon is to the beacon, the stronger the signal will be. As the distance increases, the signal will continue to attenuate. When the distance exceeds a certain value, the signal will not be detected.
本实施例采用类似于智能手机的“霍尔效应”的磁传感器原理,具体地,地球本身就具有很强的磁场,而不同位置的磁场强度也不同。通过磁力传感器可以检测到x, y和:三个方向的磁感应强度,其中x和Y方向与该点处的地面平行,轴与该点处的地面垂直。利用AGV小车上安装的霍尔传感器采集三个轴的地磁数据,将三轴数据转换为模值,此时无论AGV小车姿态如何,该模值都为较为稳定。This embodiment uses a magnetic sensor principle similar to the "Hall effect" of smartphones. Specifically, the earth itself has a strong magnetic field, and the magnetic field intensity is different at different locations. The magnetic induction intensity in three directions of x, y and: can be detected by the magnetic sensor, where the x and Y directions are parallel to the ground at that point, and the axis is perpendicular to the ground at that point. The Hall sensor installed on the AGV car is used to collect geomagnetic data of three axes, and the three-axis data is converted into a module value. At this time, the module value is relatively stable regardless of the posture of the AGV car.
假定某点处磁力计三轴的分量为,则可以得到该点处磁场强度的模值为:/>;原理是通过恒定电流导体侧面的电压会随着外界磁场的改变而程线性变化。所以只要测得通电导体侧面的电压,就可以估算出周围地磁场强度的大小。Assume that the components of the three axes of the magnetometer at a certain point are , then the modulus value of the magnetic field intensity at this point can be obtained as:/> ;The principle is that the voltage on the side of a constant current conductor will change linearly with the change of the external magnetic field. Therefore, as long as the voltage on the side of the energized conductor is measured, the strength of the surrounding geomagnetic field can be estimated.
信息融合就是将多种传感器结合起来,让它们发挥各自优势的一种技术。它具有一定的信息互补能力,可以得到单一传感器未采集到的数据信息,增加了判决的可信度。一般来说,信息可以在决策层、特征层或者数据层进行融合。本实施例采用的是决策层融合,也即利用不同的传感器监测某被测物体,每个传感器独自完成数据预处理、特征信息提取、目标判别等一系列过程,得到对被测物体的初始分析,然后在决策层融合,获得最终结果。决策层融合技术相比于其他两种融合技术,优势在于灵活性强、在融合阶段处理数据量较少,实时性好,并具有良好的容错性。决策层融合结构图如图3所示。Information fusion is a technology that combines multiple sensors and allows them to exert their respective advantages. It has certain information complementary capabilities and can obtain data information not collected by a single sensor, which increases the credibility of the judgment. Generally speaking, information can be fused at the decision-making layer, feature layer, or data layer. This embodiment uses decision-making layer fusion, that is, different sensors are used to monitor a measured object. Each sensor independently completes a series of processes such as data preprocessing, feature information extraction, and target identification to obtain an initial analysis of the measured object. , and then fused at the decision-making level to obtain the final result. Compared with the other two fusion technologies, the decision-making layer fusion technology has the advantages of strong flexibility, small amount of data processed in the fusion stage, good real-time performance, and good fault tolerance. The decision-making layer fusion structure diagram is shown in Figure 3.
首先分别采集蓝牙和地磁信息,进而构建出各自的指纹数据库。在此基础上都利用K近邻算法进行匹配估计,之后分别计算出地磁和蓝牙定位值,再对二者进行加权确定最终结果。假设蓝牙估计坐标为:;在此期间地磁估计坐标集合为:;地磁估计坐标集合取平均加权后坐标为:;对坐标分别赋予权值/>和b,得到融合后的最终位置估计坐标为:/>;一方面二者的加权值/>和b受到蓝牙和地磁估计精度的影响。另一方面,由于蓝牙的信标较多,因此它的指纹库数据要多于地磁指纹库,使得输出1次蓝牙估计结果的同时会输出多次地磁估计的结果,从而得到一个地磁定位的估计集合。因为蓝牙和地磁结果出现的频率不同,所以二者对定位的贡献也不一样,因此在对它们的结果融合时,将蓝牙和地磁定位结果的权值比例置为1: N,即:/>;最终将融合后的最终位置估计坐标写为:/>。First, Bluetooth and geomagnetic information are collected respectively, and then their respective fingerprint databases are constructed. On this basis, the K nearest neighbor algorithm is used for matching estimation, and then the geomagnetic and Bluetooth positioning values are calculated respectively, and then the two are weighted to determine the final result. Assume that the Bluetooth estimated coordinates are: ; During this period, the set of geomagnetic estimated coordinates is: ;The coordinates after averaging the weighted geomagnetic estimation coordinate set are: ;Assign weights to coordinates/> and b , the final estimated position coordinates after fusion are:/> ;On the one hand, the weighted values of the two/> and b are affected by Bluetooth and geomagnetic estimation accuracy. On the other hand, because Bluetooth has more beacons, its fingerprint database data is more than the geomagnetic fingerprint database, so that when outputting one Bluetooth estimation result, it will output multiple geomagnetic estimation results, thereby obtaining an estimate of geomagnetic positioning. gather. Because Bluetooth and geomagnetic results appear at different frequencies, their contributions to positioning are also different. Therefore, when fusing their results, the weight ratio of Bluetooth and geomagnetic positioning results is set to 1: N, that is:/> ;Finally, the final estimated position coordinates after fusion are written as:/> .
需要说明的是,倘若在电磁信号干扰较小的场合,蓝牙的精度将大幅度提升,也可以对权值进行灵活调整。It should be noted that if the electromagnetic signal interference is small, the accuracy of Bluetooth will be greatly improved, and the weights can also be flexibly adjusted.
因此,将AGV小车的当前位置写为,以图1中左上角的较小圆点表示假设的AGV小车的当前位置;Therefore, the current position of the AGV car is written as , the smaller dot in the upper left corner of Figure 1 represents the assumed current position of the AGV car;
S4、获得AGV小车待到达位置的坐标(以图1中右下角的较小圆点表示AGV小车待到达位置),然后根据公式/>求得AGV小车的当前位置与AGV小车待到达位置的最短直线距离,并控制AGV小车沿着该最短直线距离向AGV小车待到达位置移动;S4. Obtain the coordinates of the position where the AGV car is to arrive. (The smaller dot in the lower right corner of Figure 1 represents the position where the AGV car will arrive), and then according to the formula /> Find the shortest straight-line distance between the current position of the AGV car and the position where the AGV car is to be reached, and control the AGV car to move along the shortest straight-line distance to the position where the AGV car is to be reached;
S5、通过AGV小车上的视觉传感器实时采集AGV小车前方道路图像;S5. Collect the road image in front of the AGV car in real time through the visual sensor on the AGV car;
S6、当发现AGV小车正前方存在障碍物时控制AGV小车向左或向右移动,并实时采集AGV小车前方道路图像直至AGV小车正前方无障碍物;再次获得AGV小车的当前位置的坐标并求得AGV小车的当前位置与AGV小车待到达位置的最短直线距离,并控制AGV小车沿着该最短直线距离向AGV小车待到达位置移动;S6. When it is discovered that there is an obstacle directly in front of the AGV car, control the AGV car to move left or right, and collect the image of the road in front of the AGV car in real time until there is no obstacle directly in front of the AGV car; obtain the coordinates of the current position of the AGV car again and calculate Obtain the shortest straight-line distance between the current position of the AGV car and the position to be reached by the AGV car, and control the AGV car to move along the shortest straight-line distance to the position to be reached by the AGV car;
S7、重复步骤S5-S6,直到AGV小车到达AGV小车待到达位置。S7. Repeat steps S5-S6 until the AGV car reaches the waiting position of the AGV car.
综上所述,本实施例首先通过对蓝牙估计坐标和地磁估计坐标在决策层进行融合计算AGV小车的位置,既减小了定位误差又没有耗费额外的硬件资源;然后重复计算AGV小车的当前位置与AGV小车待到达位置的最短直线距离,直到到达AGV小车待到达位置,整个过程算法简单,耗时短,对硬件要求较低。To sum up, this embodiment first calculates the position of the AGV car by fusing the Bluetooth estimated coordinates and the geomagnetic estimated coordinates at the decision-making layer, which reduces the positioning error without consuming additional hardware resources; and then repeatedly calculates the current position of the AGV car. The shortest straight-line distance between the position and the position where the AGV car is to be reached, until it reaches the position where the AGV car is to be reached, the whole process has a simple algorithm, short time consumption, and low hardware requirements.
本发明的技术方案不限于上述具体实施例的限制,凡是根据本发明的技术方案做出的技术变形,均落入本发明的保护范围之内。The technical solution of the present invention is not limited to the above-mentioned specific embodiments. All technical modifications made based on the technical solution of the present invention fall within the protection scope of the present invention.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311219222.8A CN116954235B (en) | 2023-09-21 | 2023-09-21 | AGV trolley navigation control method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311219222.8A CN116954235B (en) | 2023-09-21 | 2023-09-21 | AGV trolley navigation control method and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116954235A true CN116954235A (en) | 2023-10-27 |
| CN116954235B CN116954235B (en) | 2023-11-24 |
Family
ID=88455097
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311219222.8A Active CN116954235B (en) | 2023-09-21 | 2023-09-21 | AGV trolley navigation control method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116954235B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20170091811A (en) * | 2016-02-01 | 2017-08-10 | 목포대학교산학협력단 | An indoor positioning method using the weighting the RSSI of Bluetooth beacon and pedestrian pattern |
| CN107734457A (en) * | 2017-09-29 | 2018-02-23 | 桂林电子科技大学 | Wisdom parking ground navigation system and method |
| CN108844543A (en) * | 2018-06-08 | 2018-11-20 | 南通大学 | Indoor AGV navigation control method based on UWB positioning and dead reckoning |
| CN109556624A (en) * | 2018-12-21 | 2019-04-02 | 青岛科技大学 | AGV trolley Position Fixing Navigation System and method based on Bluetooth technology |
| CN109857107A (en) * | 2019-01-30 | 2019-06-07 | 广州大学 | AGV trolley air navigation aid, device, system, medium and equipment |
| WO2021139590A1 (en) * | 2020-01-06 | 2021-07-15 | 三个机器人公司 | Indoor localization and navigation apparatus based on bluetooth and slam, and method therefor |
-
2023
- 2023-09-21 CN CN202311219222.8A patent/CN116954235B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20170091811A (en) * | 2016-02-01 | 2017-08-10 | 목포대학교산학협력단 | An indoor positioning method using the weighting the RSSI of Bluetooth beacon and pedestrian pattern |
| CN107734457A (en) * | 2017-09-29 | 2018-02-23 | 桂林电子科技大学 | Wisdom parking ground navigation system and method |
| CN108844543A (en) * | 2018-06-08 | 2018-11-20 | 南通大学 | Indoor AGV navigation control method based on UWB positioning and dead reckoning |
| CN109556624A (en) * | 2018-12-21 | 2019-04-02 | 青岛科技大学 | AGV trolley Position Fixing Navigation System and method based on Bluetooth technology |
| CN109857107A (en) * | 2019-01-30 | 2019-06-07 | 广州大学 | AGV trolley air navigation aid, device, system, medium and equipment |
| WO2021139590A1 (en) * | 2020-01-06 | 2021-07-15 | 三个机器人公司 | Indoor localization and navigation apparatus based on bluetooth and slam, and method therefor |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116954235B (en) | 2023-11-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105094130B (en) | The AGV transfer robots air navigation aid and device of laser guidance map structuring | |
| US20230236280A1 (en) | Method and system for positioning indoor autonomous mobile robot | |
| CN110928301B (en) | Method, device and medium for detecting tiny obstacle | |
| CN103926925B (en) | Improved VFH algorithm-based positioning and obstacle avoidance method and robot | |
| CN108873001A (en) | A kind of accurate method for judging robot localization precision | |
| CN108647646A (en) | The optimizing detection method and device of low obstructions based on low harness radar | |
| CN109755995A (en) | Robot automatic charging docking method based on ROS robot operating system | |
| WO2020199589A1 (en) | Recharging control method for desktop robot | |
| CN106125087A (en) | Dancing Robot indoor based on laser radar pedestrian tracting method | |
| CN114387576B (en) | Lane line recognition method, system, medium, device and information processing terminal | |
| CN110596734B (en) | A system and method for unmanned aerial vehicle positioning interference source based on multimodal Q-learning | |
| CN117419719A (en) | IMU-fused three-dimensional laser radar positioning and mapping method | |
| CN115755888A (en) | AGV obstacle detection system with multi-sensor data fusion and obstacle avoidance method | |
| CN113554705A (en) | Robust positioning method for laser radar in changing scene | |
| CN113534095B (en) | Laser radar map construction method and robot autonomous navigation method | |
| KR101106265B1 (en) | Position measuring device and position measuring method of mobile robot using RDF | |
| CN112987720A (en) | Multi-scale map construction method and construction device for mobile robot | |
| CN115047886B (en) | A mobile robot automatic recharging method based on straight line feature detection | |
| CN116954235B (en) | AGV trolley navigation control method and system | |
| CN114895304A (en) | Method, equipment and device for cleaning, detecting and planning building outer wall | |
| CN118565457A (en) | Grid map construction method and device based on observation direction and intelligent mobile device | |
| CN114217641A (en) | A method and system for inspection of unmanned aerial vehicle transmission and transformation equipment in unstructured environment | |
| CN116106824A (en) | A Cognitive Learning-Based UAV Multi-stage Signal Source Location Method and System | |
| Nabbe et al. | Opportunistic use of vision to push back the path-planning horizon | |
| Mirowski et al. | Building optimal radio-frequency signal maps |
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 | ||
| PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: AGV car navigation control method and system Granted publication date: 20231124 Pledgee: Shenzhen Rural Commercial Bank Co.,Ltd. Nanshan Sub branch Pledgor: SHENZHEN SUPERWORKER TECHNOLOGY CO.,LTD. Registration number: Y2025980016758 |
|
| PE01 | Entry into force of the registration of the contract for pledge of patent right |