CN107844117B - Road locking system and method based on cloud - Google Patents
Road locking system and method based on cloud Download PDFInfo
- Publication number
- CN107844117B CN107844117B CN201710995788.8A CN201710995788A CN107844117B CN 107844117 B CN107844117 B CN 107844117B CN 201710995788 A CN201710995788 A CN 201710995788A CN 107844117 B CN107844117 B CN 107844117B
- Authority
- CN
- China
- Prior art keywords
- road
- robot
- cloud
- same direction
- locking
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0287—Control of position or course in two dimensions specially adapted to land vehicles involving a plurality of land vehicles, e.g. fleet or convoy travelling
- G05D1/0291—Fleet control
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/4185—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
- G05B19/4186—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication by protocol, e.g. MAP, TOP
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/41865—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by job scheduling, process planning, material flow
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/0088—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots characterized by the autonomous decision making process, e.g. artificial intelligence, predefined behaviours
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0212—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
- G05D1/0225—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving docking at a fixed facility, e.g. base station or loading bay
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0268—Control of position or course in two dimensions specially adapted to land vehicles using internal positioning means
- G05D1/0274—Control of position or course in two dimensions specially adapted to land vehicles using internal positioning means using mapping information stored in a memory device
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Radar, Positioning & Navigation (AREA)
- Aviation & Aerospace Engineering (AREA)
- Remote Sensing (AREA)
- Manufacturing & Machinery (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Computation (AREA)
- Game Theory and Decision Science (AREA)
- Medical Informatics (AREA)
- Manipulator (AREA)
Abstract
本发明涉及一种基于云端的道路锁定系统,包括:服务器端和机器人端,所述服务器端包括用于配置道路信息的道路信息配置模块,并将所述配置道路信息同步至机器人端,根据机器人端发来的请求向机器人下发道路锁定或解锁指令;所述机器人端包括机器人道路处理模块,所述机器人道路处理模块根据所述服务器端下发的指令执行对应的任务。本发明还公开了一种基于云端的道路锁定方法,可以通过本发明所述的基于机器人调度系统的路段锁定机制,有效调度,避免路段阻塞的问题。
The invention relates to a cloud-based road locking system, comprising: a server end and a robot end, wherein the server end includes a road information configuration module for configuring road information, and synchronizes the configured road information to the robot end, according to the robot end The request sent from the terminal sends a road locking or unlocking instruction to the robot; the robot terminal includes a robot road processing module, and the robot road processing module performs corresponding tasks according to the instructions issued by the server terminal. The invention also discloses a cloud-based road locking method, which can effectively schedule and avoid the problem of road blockage through the road section locking mechanism based on the robot scheduling system of the present invention.
Description
技术领域technical field
本发明涉及机器人调度系统,更具体地说,涉及一种基于云端的道路锁定系统及方法。The present invention relates to a robot dispatching system, and more particularly, to a cloud-based road locking system and method.
背景技术Background technique
随着社会的发展,机器人可以将人们从繁重的体力劳动和危险的环境中解放出来,可以帮人做更多的事,机器人可以帮助我们完成我们做得到和做不到的危险任务。With the development of society, robots can liberate people from heavy manual labor and dangerous environments, and can help people do more things. Robots can help us complete dangerous tasks that we can and cannot do.
但是,机器人在执行任务的过程中,通常会碰到狭窄通道、电梯、自动门等特殊的同一时间只能通过一台机器人或者同一时间只能通过同一方向的机器人的道路场景时,可以通过本发明所述的基于云端的路段锁定机制,有效调度,避免路段阻塞,提高多机器人的通过率。However, in the process of performing tasks, the robot usually encounters special road scenarios such as narrow passages, elevators, automatic doors, etc. that can only pass through one robot at the same time, or can only pass through robots in the same direction at the same time. The cloud-based road segment locking mechanism of the invention can effectively schedule, avoid road segment blockage, and improve the passing rate of multiple robots.
发明内容SUMMARY OF THE INVENTION
本发明要解决的技术问题在于,提供一种基于云端的道路锁定系统及方法。The technical problem to be solved by the present invention is to provide a cloud-based road locking system and method.
本发明解决其技术问题所采用的技术方案是:一种基于云端的道路锁定系统,包括:The technical solution adopted by the present invention to solve the technical problem is: a cloud-based road locking system, comprising:
服务器端,包括用于配置道路信息的道路信息配置模块,并将所述配置道路信息同步至机器人端,根据机器人端发来的请求向机器人下发道路锁定或解锁指令;The server side includes a road information configuration module for configuring road information, synchronizes the configured road information to the robot side, and issues road locking or unlocking instructions to the robot according to the request sent by the robot side;
机器人端,包括机器人道路处理模块,所述机器人道路处理模块根据所述服务器端下发的指令执行对应的任务。The robot side includes a robot road processing module, and the robot road processing module performs corresponding tasks according to the instructions issued by the server side.
本发明中,所述道路信息配置模块用于配置需加道路锁的区域、对该区域设置加锁检测点和解锁区域点以及道路是否允许同方向的机器人通过。In the present invention, the road information configuration module is used to configure the area to be locked by the road, set the lock detection point and the unlock area point for the area, and whether the road allows robots in the same direction to pass through.
本发明中,所述服务器端还包括道路信息维护模块、云端收发信息接口以及第一数据库,所述道路信息维护模块用于根据所述云端收发信息接口收到的信息进行处理后对所述道路信息配置模块进行更新并保存至所述第一数据库。In the present invention, the server side further includes a road information maintenance module, a cloud information sending and receiving interface and a first database, and the road information maintenance module is used for processing the information received by the cloud sending and receiving information interface and then processing the road information. The information configuration module is updated and saved to the first database.
本发明中,所述机器人端还包括机器人端收发信息接口和第二数据库,所述机器人端收发信息接口用于接收所述服务器端下发的指令及向所述服务器端发送请求并将数据保存至所述第二数据库,所述机器人道路处理模块根据所述机器人端收发信息接口转发的指令执行对应硬件设备的驱动程序,并驱动所述对应硬件设备执行任务。In the present invention, the robot end further includes a robot end sending and receiving information interface and a second database, and the robot end sending and receiving information interface is used to receive instructions issued by the server end, send requests to the server end, and save data. To the second database, the robot road processing module executes the driver program of the corresponding hardware device according to the instructions forwarded by the information sending and receiving interface of the robot end, and drives the corresponding hardware device to perform tasks.
本发明中,所述机器人端预先存储了在预设场景执行任务的地图并设有定位设备,机器人在执行任务时根据所述定位设备更新自身在所述地图的位置。In the present invention, the robot end pre-stores a map for performing tasks in a preset scene and is provided with a positioning device, and the robot updates its position on the map according to the positioning device when performing a task.
本发明中,所述服务器端通过websocket/http/socket通信协议与所述机器人端连接,所述机器人端通过websocket/http/socket通信协议与所述硬件设备连接。In the present invention, the server end is connected with the robot end through the websocket/http/socket communication protocol, and the robot end is connected with the hardware device through the websocket/http/socket communication protocol.
本发明还同时公开了一种基于云端的道路锁定方法,当机器人检测到达道路锁定检测点时,执行如下步骤:The invention also discloses a cloud-based road locking method. When the robot detects that it reaches the road locking detection point, the following steps are performed:
S1.判断服务器端该道路是否锁定,如果道路已锁定则执行步骤S2,否则执行步骤S3;S1. Determine whether the road is locked on the server side, if the road is locked, execute step S2, otherwise execute step S3;
S2.判断是否允许同方向机器人通过且锁定机器人运行是否同方向以及同方向的正在通过的机器人数量是否未达到该道路允许的预设最大可通过机器人梳理;如果允许同方向机器人通过且锁定机器人运行是同方向以及同方向的正在通过的机器人数量未达到该道路允许的最大可通过机器人数量,则执行步骤S3,否则所述服务器端通知机器人等待预设时间后触发检测道路锁定任务并执行所述步骤S1;S2. Determine whether the robot in the same direction is allowed to pass and the locked robot is running in the same direction and whether the number of passing robots in the same direction does not reach the preset maximum allowed by the road. The robot can be combed; if the robot in the same direction is allowed to pass and the robot is locked to run If the number of passing robots in the same direction and the same direction does not reach the maximum number of passable robots allowed by the road, step S3 is executed, otherwise the server informs the robot to wait for a preset time and triggers the detection of road locking task and executes the described step S1;
S3.所述服务器端锁定该路段,并记录所述机器人识别码和机器人运行方向,通知所述机器人可通过该道路。S3. The server side locks the road section, records the robot identification code and the robot running direction, and informs the robot that the road can be passed.
本发明中,步骤S3之后,进一步包括:In the present invention, after step S3, it further includes:
S4.所述机器人通过该道路后,向所述服务器端发送解锁道路的请求,所述服务器端根据所述识别码,解锁对应道路。S4. After the robot passes the road, it sends a request for unlocking the road to the server, and the server unlocks the corresponding road according to the identification code.
本发明中,所述步骤S3之后,还包括:In the present invention, after the step S3, it also includes:
S31.判断所述机器人是否需要控制硬件设备,如果是,执行步骤S32;否则执行步骤S4;S31. determine whether the robot needs to control hardware equipment, if so, execute step S32; otherwise, execute step S4;
S32.所述机器人根据预设的控制逻辑控制所述硬件设备。S32. The robot controls the hardware device according to preset control logic.
本发明中,步骤S32之后,还包括:In the present invention, after step S32, it also includes:
S321.判断所述硬件设备反馈是否成功,如果是,则执行步骤S4;否则返回执行步骤S32。S321. Determine whether the feedback from the hardware device is successful, and if so, execute step S4; otherwise, return to step S32.
本发明中,所述机器人检测到达道路锁定检测点之前包括:In the present invention, before the robot detects that it reaches the road lock detection point, it includes:
S01.在所述服务器端预先配置了需加道路锁的区域、对所述需加道路锁的区域设置加锁检测点和解锁区域点,在所述机器人端预先存储了在预设场景执行任务的地图并设有定位设备;S01. Pre-configure the area that needs to be added with road locks on the server side, set a lock detection point and an unlocking area point to the area that needs to be added with road locks, and pre-store the execution task in a preset scene on the robot side a map with a positioning device;
S02.机器人在执行任务时根据所述定位设备更新自身在所述地图的位置,如果所述机器人检测到自身位置到达所述道路锁定检测点时,执行所述步骤S1。S02. The robot updates its position on the map according to the positioning device when performing the task. If the robot detects that its position has reached the road lock detection point, step S1 is performed.
本发明的有益效果是,可以通过本发明所述的基于云端的路段锁定系统及方法,可以有效调度,避免路段阻塞的问题。The beneficial effect of the present invention is that, through the cloud-based road segment locking system and method described in the present invention, effective scheduling can be achieved to avoid the problem of road segment blockage.
附图说明Description of drawings
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with the accompanying drawings and embodiments, in which:
图1是本发明基于云端的道路锁定系统架构图;1 is an architecture diagram of a cloud-based road locking system of the present invention;
图2是本发明所述基于云端的道路锁定系统的单向单行道示意图之一;Fig. 2 is one of the one-way one-way schematic diagrams of the cloud-based road locking system according to the present invention;
图3是本发明所述基于云端的道路锁定系统的单向单行道示意图之二;3 is the second schematic diagram of the one-way one-way street of the cloud-based road locking system according to the present invention;
图4是本发明所述基于云端的道路锁定系统的双向单行道示意图之一;Fig. 4 is one of two-way one-way schematic diagrams of the cloud-based road locking system according to the present invention;
图5是本发明所述基于云端的道路锁定系统的双向单行道示意图之二;5 is the second schematic diagram of the two-way one-way street of the cloud-based road locking system according to the present invention;
图6是本发明所述基于云端的道路锁定系统的双向双行道示意图之一;6 is one of the schematic diagrams of the two-way two-way road of the cloud-based road locking system according to the present invention;
图7是本发明所述基于云端的道路锁定系统的双向双行道示意图之二;7 is the second schematic diagram of the two-way two-way road of the cloud-based road locking system according to the present invention;
图8是本发明所述基于云端的道路锁定系统的多岔道示意图;8 is a schematic diagram of a multi-fork road of the cloud-based road locking system according to the present invention;
图9是本发明所述基于云端的道路锁定系统的门示意图之一;9 is one of the door schematic diagrams of the cloud-based road locking system according to the present invention;
图10是本发明所述基于云端的道路锁定系统的门示意图之二;10 is the second schematic diagram of the door of the cloud-based road locking system according to the present invention;
图11是本发明所述基于云端的道路锁定系统的电梯示意图;11 is a schematic diagram of an elevator of the cloud-based road locking system according to the present invention;
图12是本发明所述基于云端的道路锁定方法的流程图。FIG. 12 is a flowchart of the cloud-based road locking method according to the present invention.
具体实施方式Detailed ways
图1是本发明基于云端的道路锁定系统,如图所示。表现层11在本发明一个或多个实施例中可采用JSP/Servlet技术,用于构建用户界面展示数据用的;而业务逻辑层12在本发明一个或多个实施例中可采用Bean/EJB技术,用于处理业务逻辑,一般if判断,循环等;而数据持久层13在本发明一个或多个实施例中可采用JDBC技术,用于提供数据接口保存数据和访问数据的;驱动层14是用来连接硬件和操作系统的,例如是导航、电梯、自动门、语音等驱动程序;物理设备层15是与系统连接的各种设备,例如是导航运动硬件、语音相关硬件等。FIG. 1 is the cloud-based road locking system of the present invention, as shown in the figure. The presentation layer 11 may use JSP/Servlet technology in one or more embodiments of the present invention to construct a user interface for displaying data; while the business logic layer 12 may use Bean/EJB in one or more embodiments of the present invention technology, used to process business logic, generally if judgment, loop, etc.; and the data persistence layer 13 may adopt JDBC technology in one or more embodiments of the present invention, for providing a data interface to save data and access data; driver layer 14 It is used to connect hardware and operating systems, such as drivers for navigation, elevators, automatic doors, and voice; the physical device layer 15 is for various devices connected to the system, such as navigation motion hardware, voice-related hardware, and so on.
服务器端1包括位于表现层11的道路信息配置模块4、位于业务逻辑层12的道路信息维护模块5和云端收发信息接口6,以及位于数据持久层13的第一数据库9。机器人端1包括位于业务逻辑层12的机器人端收发信息接口7和机器人道路处理模块8,以及位于数据持久层13的第二数据库10。导航、电梯、自动门、语音等驱动程序位于驱动层14;导航运动硬件、语音相关硬件位于物理设备层15;硬件设备3包括电梯、自动门等。The server side 1 includes a road information configuration module 4 located in the presentation layer 11 , a road information maintenance module 5 located in the business logic layer 12 , a cloud sending and receiving information interface 6 , and a first database 9 located in the data persistence layer 13 . The robot end 1 includes a robot end receiving and sending information interface 7 and a robot road processing module 8 located in the business logic layer 12 , and a second database 10 located in the data persistence layer 13 . Navigation, elevator, automatic door, voice and other drivers are located in the driver layer 14; navigation motion hardware and voice-related hardware are located in the physical device layer 15; hardware equipment 3 includes elevators, automatic doors, and the like.
其中,在服务器端1的道路信息配置模块4可以配置需加道路锁的区域,并在所述需加道路锁的区域(例如在该区域边缘的某些点)设置加锁检测点和解锁区域点以及道路是否允许同方向的机器人通过等信息。Wherein, the road information configuration module 4 on the server side 1 can configure the area where the road lock needs to be added, and set the lock detection point and the unlock area in the area where the road lock needs to be added (for example, some points on the edge of the area). Points and whether the road allows robots in the same direction to pass through.
在本发明一个或多个实施例中,用字段allowSamePass表示是否允许同方向机器人通过(true为允许,false为不允许),用字段allowSamePassNumber表示允许同方向机器人通过的最大机器人数量(当道路达到同方向通过机器的最大数量后,道路状态也会被置为锁定,不再允许新的机器人进入),每个区域均用字段lock标记该区域的锁定状态(true为锁定,false为未锁定),用字段lockRobotCode表示哪个机器人加锁,用字段lockDirection表示锁定该道路区域机器人的运行方向参数。设置完成后这些字段的配置信息会存储在服务器端1的第一数据库9,并同时将所述配置信息将下发至机器人端2的所有机器人进行同步保存。In one or more embodiments of the present invention, the field allowSamePass is used to indicate whether the robot in the same direction is allowed to pass (true is allowed, false is not allowed), and the field allowSamePassNumber is used to indicate the maximum number of robots allowed to pass in the same direction (when the road reaches the same direction as the road). After the direction passes the maximum number of machines, the road status will also be set to locked, and no new robots will be allowed to enter), each area is marked with the field lock to mark the locked status of the area (true is locked, false is unlocked), The field lockRobotCode is used to indicate which robot is locked, and the field lockDirection is used to indicate the running direction parameter of the locked robot in the road area. After the setting is completed, the configuration information of these fields will be stored in the first database 9 of the server side 1, and at the same time, the configuration information will be delivered to all the robots of the robot side 2 for synchronous storage.
机器人在预设场景执行任务前,已经预先存储了该场景的地图。当机器人接收到服务器端1发送的任务序列,在所述地图中行走执行任务时,机器人会依据自身的定位设备不停的更新自身在地图上的位置。机器人本地设有智能路径规划算法规划从自身位置到目的地位置的行走路径。机器人本地设有智能避障算法,当机器人本地的避障传感器发现机器人行走路径上有障碍物时,机器人会自主尝试进行绕障动作,当路径被堵死导致机器人绕障失败时,机器人会停留在原地,停止行走。Before the robot performs a task in a preset scene, the map of the scene has been pre-stored. When the robot receives the task sequence sent by the server 1 and performs the task while walking on the map, the robot will continuously update its position on the map according to its own positioning device. The robot has a local intelligent path planning algorithm to plan the walking path from its own position to the destination position. The robot has a local intelligent obstacle avoidance algorithm. When the robot's local obstacle avoidance sensor finds that there is an obstacle on the robot's walking path, the robot will try to avoid the obstacle independently. When the path is blocked and the robot fails to avoid the obstacle, the robot will stop. In place, stop walking.
在本发明的一个或多个实施例中,由于机器人在行走的过程中,通常会在所述地图上碰到狭窄通道、电梯、自动门等特殊的同一时间只能通过一台机器人或者同一时间只能通过同一方向的机器人的道路场景,因此,需要在需加道路锁的区域(例如在该区域边缘的某些点)设置加锁检测点22和解锁区域点21,如图2-图11所示,在这些道路场景中,很容易造成多机器人因为没有统一规划调度,导致机器人本地避障触发,例如相向而行的多台机器人拥堵聚集在狭窄道路中某处,所有机器人停留在道路上导致道路堵死,因此有必要设置道路锁定机制以便于有效调度,避免路段阻塞的问题。In one or more embodiments of the present invention, when the robot is walking, it usually encounters narrow passages, elevators, automatic doors, etc. on the map at the same time. Only one robot can pass through at the same time. It can only pass the road scene of the robot in the same direction. Therefore, it is necessary to set the locking
图2-图6中关于单行道与双行道,在本发明一个或多个实施例中,双行道在云端(即服务器端)以两个单行道的方式进行存储和锁定。所以无论双行道是双向双行道,还是同向双行道,云端都会定义成两个单行道去存储。其余多行道依次类推。Regarding the one-way road and the two-way road in FIGS. 2-6 , in one or more embodiments of the present invention, the two-way road is stored and locked in the cloud (ie, the server side) in the form of two one-way roads. Therefore, no matter whether the two-way road is a two-way two-way road or a same-direction two-way road, the cloud will define two one-way roads for storage. The rest of the multi-lane roads are in turn.
在本发明一个或多个实施例中,图2-图11的示意图的加锁检测点22和解锁区域点21,不一定重合,图2-图11只是示意图,本发明并不限于此。图9-图10的门可能还有其他方式,也并不限于图9-图10这两种情况。如图11所示,电梯因为还有多楼层的区域,所以电梯在锁定的时候,会锁定该电梯能到达的所有区域。图11的示意图并没表示出多楼层,但本发明一个或多个实施例是同时锁定所有楼层的该电梯对象。In one or more embodiments of the present invention, the locking
其中,上述图中的锁定区域是指加锁点到解锁点之间的机器人路径。在本发明一个或多个实施例中,路径的宽度与道路相同,例如在多岔路场景中,每个路口都设有加锁点和解锁点,只要有一个机器人请求到加锁,则云端会锁定该多岔路场景的所有相关的机器人路径,宽度与道路相同。同理,电梯场景,每层楼都设有加锁和解锁点,一旦一台机器人请求到加锁,则云端会锁定该电梯的所有楼层的机器人进出电梯的路径(相比同楼层的机器人运行路径,电梯场景的进出路径分为两段,出发楼层是从加锁点进入电梯内部的路径,到达楼层是从电梯内部到解锁点的路径)。The locked area in the above figure refers to the robot path between the locking point and the unlocking point. In one or more embodiments of the present invention, the width of the path is the same as that of the road. For example, in a multi-fork road scenario, each intersection is provided with a locking point and an unlocking point. As long as one robot requests to lock, the cloud will Locks all relevant robot paths for this multi-fork scenario with the same width as the road. In the same way, in the elevator scenario, each floor has lock and unlock points. Once a robot requests to lock, the cloud will lock the paths of robots on all floors of the elevator entering and leaving the elevator (compared to the operation of robots on the same floor). Path, the entry and exit path of the elevator scene is divided into two sections, the departure floor is the path from the lock point to the inside of the elevator, and the arrival floor is the path from the inside of the elevator to the unlock point).
机器人自身设有定位装置,在运行到加锁点附近后,执行请求加锁任务,如果未得到云端允许,则机器人不能进入被加锁的区域。图8中所述的多岔路道路实际上每个路口都设有加锁和解锁点,例如机器人在运行时,从一个加锁点进入,可以有多个解锁点出去,图8只是其中一个实施例,但本发明并不限于此。The robot itself is equipped with a positioning device. After running to the vicinity of the locking point, it will perform the task of requesting locking. If the cloud is not allowed, the robot cannot enter the locked area. The multi-fork roads described in Figure 8 actually have locking and unlocking points at each intersection. For example, when the robot is running, it enters from one locking point and can go out from multiple unlocking points. Figure 8 is just one of the implementations. example, but the present invention is not limited to this.
图12是本发明所述基于云端的道路锁定方法的流程图,该流程图是本发明的其中一个实施例,如图所示。FIG. 12 is a flowchart of the cloud-based road locking method according to the present invention, and the flowchart is one of the embodiments of the present invention, as shown in the figure.
步骤A1,机器人到达道路锁定检测点时,机器人在某场景执行任务前,已经事先存储了该场景的地图。当机器人接收到调度系统发送的任务序列,在地图中行走执行任务时,机器人会依据自身的定位设备不停的更新自身在地图上的位置。In step A1, when the robot reaches the road lock detection point, the robot has stored a map of the scene in advance before the robot performs the task. When the robot receives the task sequence sent by the scheduling system and performs tasks while walking on the map, the robot will constantly update its position on the map according to its own positioning device.
当机器人检测到自身位置在道路锁定检测点附近时,触发检测道路锁定任务,会通过机器人与云端的通信接口,机器人与云端通过事先建立好的长连接websocket通道通信(本发明一个或多个实施例中使用该通信协议,但实际上是不局限于该方式,其他如http、socket等协议通信都是可以的)。机器人端向服务器端发送数据包,所述数据包含道路锁定检测点信息(用areaParam字段表示)、当前机器人运行方向(用runDirection字段表示)、当前请求机器人编号(用runRobotCode字段表示),请求询问云端该道路锁定检测点所属的道路区域是否锁定。When the robot detects that its position is near the road lock detection point, the task of detecting road lock is triggered, and the robot communicates with the cloud through the long connection websocket channel established in advance through the communication interface between the robot and the cloud (one or more implementations of the present invention) This communication protocol is used in the example, but in fact it is not limited to this method, other protocols such as http, socket and other communication are possible). The robot side sends a data packet to the server side, the data includes the road lock detection point information (represented by the areaParam field), the current robot running direction (represented by the runDirection field), the current request robot number (represented by the runRobotCode field), and the request to query the cloud Whether the road area to which the road lock detection point belongs is locked.
步骤A2,云端判断道路是否锁定,是根据机器人上报的道路锁定检测点信息(areaParam)去数据库查询该区域道路的锁定状态(用lock字段表示),如果云端反馈道路没有锁定(即lock值为false)的信息,则执行步骤A5;如果道路已经锁定(即lock值为true),则机器人执行步骤A3。Step A2, the cloud judges whether the road is locked or not, according to the road locking detection point information (areaParam) reported by the robot, go to the database to query the locking status of the road in the area (represented by the lock field), if the cloud feedback road is not locked (that is, the lock value is false ) information, then execute step A5; if the road is locked (that is, the lock value is true), the robot executes step A3.
步骤A3,云端通过判断上述步骤A2查询出的该区域道路的allowSamePass配置即是否允许同方向机器人通过,且当前运行机器人与锁定道路的机器人运行是否同方向,即lockDirection字段与runDirection字段是否一致;如果allowSamePass字段为true,且lockDirection字段与runDirection字段一致,且当前在道路中运行的同方向的机器人数量M(M为整数)小于预设定的当前道路允许通过的同方向的最大机器人数量allowSamePassNumber,则执行步骤A5;否则执行步骤A4。Step A3, the cloud determines whether the allowSamePass configuration of the area road queried in the above-mentioned step A2 allows the robot in the same direction to pass, and whether the current running robot and the robot locking the road run in the same direction, that is, whether the lockDirection field is consistent with the runDirection field; if The allowSamePass field is true, and the lockDirection field is the same as the runDirection field, and the current number of robots M (M is an integer) running on the road in the same direction is less than the preset maximum number of robots in the same direction allowed by the current road allowSamePassNumber, then Go to step A5; otherwise go to step A4.
步骤A4,云端通过websocket返回机器人校验结果,机器人等待预设时间(该预设时间x秒由机器人端的软件事先配置好,一旦触发该任务后,软件会从0开始计时,直到x秒后再次执行步骤A1)后重试步骤A1。Step A4, the cloud returns the verification result of the robot through websocket, and the robot waits for a preset time (the preset time x seconds is pre-configured by the software on the robot side. Once the task is triggered, the software will start timing from 0 until x seconds later. Retry step A1 after executing step A1).
步骤A5、A6,云端会设置该区域数据库字段lock值为true表示锁定该路段,并存储上报机器人的runRobotCode字段到该区域的数据库lockRobotCode字段,记录该机器人的识别码,并存储上报机器人的runDirection字段到该区域的数据库lockDirection字段,记录该机器人的通行方向,当前道路中运行的同方向的机器人数量M=M+1。然后云端会通过websocket下发可通过该道路指令到机器人,通知该机器人可通过该道路,继续执行步骤A7。Steps A5 and A6, the cloud will set the database field lock value of the area to true to lock the road section, and store the runRobotCode field of the reported robot to the database lockRobotCode field of the area, record the identification code of the robot, and store the runDirection field of the reported robot Go to the database lockDirection field of this area, record the passing direction of the robot, and the number of robots running in the same direction on the current road M=M+1. Then, the cloud will issue an instruction that can pass the road to the robot through the websocket, informing the robot that the road can be passed, and proceed to step A7.
步骤A7,机器人端判断是否需要控制其他硬件设备。如果需要的,则执行步骤A8;如果不需要,则执行步骤A10。In step A7, the robot end determines whether other hardware devices need to be controlled. If necessary, go to step A8; if not, go to step A10.
步骤A8,机器人根据预设的其他硬件设备控制逻辑对其他硬件设备(例如电梯、自动门)进行控制,并执行步骤A9。Step A8, the robot controls other hardware devices (eg, elevators, automatic doors) according to the preset control logic of other hardware devices, and executes Step A9.
步骤A9,机器人继续判断其他硬件设备反馈是否成功。如果反馈成功则执行步骤A10,否则再继续返回步骤A8重试控制所述其他硬件设备。Step A9, the robot continues to judge whether the feedback from other hardware devices is successful. If the feedback is successful, execute step A10, otherwise continue to return to step A8 to retry to control the other hardware devices.
步骤A10、A11,机器人收到云端步骤A6所述的可通过该道路指令后,自主行走通过该道路,并在检测到自身位置到达该区域边缘的解锁区域点附近后(表示通过该道路),机器人通过websoket通信协议向云端发送解锁道路请求指令的数据包,所述数据包含该机器人的识别码。Steps A10 and A11, after the robot receives the instruction of passing the road described in step A6 in the cloud, it walks through the road autonomously, and after detecting that its position reaches the unlocked area near the edge of the area (indicating that it passes the road), The robot sends a data packet of unlocking the road request instruction to the cloud through the websoket communication protocol, and the data includes the identification code of the robot.
步骤A12,云端根据该机器人的识别码,解锁对应道路,当前道路中运行的同方向的机器人数量M=M-1。Step A12, the cloud unlocks the corresponding road according to the identification code of the robot, and the number of robots running in the same direction on the current road is M=M-1.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above description is only a preferred embodiment of the present invention, but the protection scope of the present invention is not limited to this. Substitutions should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710995788.8A CN107844117B (en) | 2017-10-23 | 2017-10-23 | Road locking system and method based on cloud |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710995788.8A CN107844117B (en) | 2017-10-23 | 2017-10-23 | Road locking system and method based on cloud |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107844117A CN107844117A (en) | 2018-03-27 |
| CN107844117B true CN107844117B (en) | 2020-10-30 |
Family
ID=61662631
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710995788.8A Active CN107844117B (en) | 2017-10-23 | 2017-10-23 | Road locking system and method based on cloud |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107844117B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110262471B (en) * | 2018-05-10 | 2022-09-06 | 北京京东乾石科技有限公司 | Robot scheduling method and device, robot and robot scheduling system |
| CN109746919B (en) * | 2019-03-04 | 2020-10-09 | 上海木木聚枞机器人科技有限公司 | An optimal scheduling method and system for robot dynamic conflict detection |
| CN109814580A (en) * | 2019-04-03 | 2019-05-28 | 深圳市佳顺智能机器人股份有限公司 | Barrier-avoiding method, system, host and the storage medium of automated guided vehicle |
| CN110349314A (en) * | 2019-07-10 | 2019-10-18 | 北京云迹科技有限公司 | Robot passes through gate inhibition or the control method of gate |
| CN112388624B (en) * | 2019-08-15 | 2022-07-12 | 纳恩博(北京)科技有限公司 | Robot control method and apparatus, storage medium, and electronic apparatus |
| CN112506198A (en) * | 2020-12-11 | 2021-03-16 | 京信智能科技(广州)有限公司 | Robot scheduling method, device, equipment and medium |
| CN113985880B (en) * | 2021-10-29 | 2025-05-20 | 优地机器人(无锡)股份有限公司 | Multi-robot path planning method, multi-robot system and robot |
| CN115309150A (en) * | 2022-07-08 | 2022-11-08 | 赋之科技(深圳)有限公司 | Method for running elevators by taking multiple robots in parallel |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5283739A (en) * | 1985-08-30 | 1994-02-01 | Texas Instruments Incorporated | Static collision avoidance method for multiple automatically guided vehicles |
| JPH10177415A (en) * | 1996-12-18 | 1998-06-30 | Hitachi Ltd | How to avoid deadlocks in unmanned transport systems |
| CN102725213A (en) * | 2009-04-10 | 2012-10-10 | 凯斯皮克系统有限责任公司 | Storage and retrieval system |
| CN105894832A (en) * | 2016-03-28 | 2016-08-24 | 广州飞锐机器人科技有限公司 | Traffic control method and apparatus employing automatic navigation positioning AGV |
| CN106155064A (en) * | 2016-09-28 | 2016-11-23 | 深圳市普渡科技有限公司 | A kind of multirobot dispatching method based on critical zone locking and de-locking |
| CN106569490A (en) * | 2016-10-19 | 2017-04-19 | 哈工大机器人集团上海有限公司 | Robot scheduling system and method based on magnetic stripe navigation |
| CN106647734A (en) * | 2016-10-12 | 2017-05-10 | 北京京东尚科信息技术有限公司 | Automatic guided vehicle, path planning method and device |
| CN107045343A (en) * | 2016-12-30 | 2017-08-15 | 芜湖哈特机器人产业技术研究院有限公司 | A kind of AGV traffic controls method and system |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4940925A (en) * | 1985-08-30 | 1990-07-10 | Texas Instruments Incorporated | Closed-loop navigation system for mobile robots |
| WO2013176758A1 (en) * | 2012-05-22 | 2013-11-28 | Intouch Technologies, Inc. | Clinical workflows utilizing autonomous and semi-autonomous telemedicine devices |
| WO2014130717A1 (en) * | 2013-02-22 | 2014-08-28 | Ellis Frampton | Failsafe devices, including transportation vehicles |
-
2017
- 2017-10-23 CN CN201710995788.8A patent/CN107844117B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5283739A (en) * | 1985-08-30 | 1994-02-01 | Texas Instruments Incorporated | Static collision avoidance method for multiple automatically guided vehicles |
| JPH10177415A (en) * | 1996-12-18 | 1998-06-30 | Hitachi Ltd | How to avoid deadlocks in unmanned transport systems |
| CN102725213A (en) * | 2009-04-10 | 2012-10-10 | 凯斯皮克系统有限责任公司 | Storage and retrieval system |
| CN105894832A (en) * | 2016-03-28 | 2016-08-24 | 广州飞锐机器人科技有限公司 | Traffic control method and apparatus employing automatic navigation positioning AGV |
| CN106155064A (en) * | 2016-09-28 | 2016-11-23 | 深圳市普渡科技有限公司 | A kind of multirobot dispatching method based on critical zone locking and de-locking |
| CN106647734A (en) * | 2016-10-12 | 2017-05-10 | 北京京东尚科信息技术有限公司 | Automatic guided vehicle, path planning method and device |
| CN106569490A (en) * | 2016-10-19 | 2017-04-19 | 哈工大机器人集团上海有限公司 | Robot scheduling system and method based on magnetic stripe navigation |
| CN107045343A (en) * | 2016-12-30 | 2017-08-15 | 芜湖哈特机器人产业技术研究院有限公司 | A kind of AGV traffic controls method and system |
Non-Patent Citations (4)
| Title |
|---|
| AN ARTIFICIAL POTENTIAL FIELD BASED MOBILE ROBOT NAVIGATION METHOD TO PREVENT FROM DEADLOCK;Tharindu Weerakoon 等;《Journal of ArtiFicial Intelligence and Soft Computing Research》;20150731;第5卷(第3期);189-203 * |
| 基于多AGV的智能仓储调度系统研发;邱歌;《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》;20170715(第07期);C029-149 * |
| 基于智能仓储多AGV的地图构建和调度算法研究;邱歌 等;《工业控制计算机》;20161231;第29卷(第12期);117-119 * |
| 自动导引车系统避碰及环路死锁控制方法;肖海宁 等;《计算机集成制造系统》;20150531;第21卷(第5期);1244-1252 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107844117A (en) | 2018-03-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107844117B (en) | Road locking system and method based on cloud | |
| US11709502B2 (en) | Roadmap annotation for deadlock-free multi-agent navigation | |
| US12367367B2 (en) | Indirect electronic badge tracking | |
| JP7228420B2 (en) | Information processing device, information processing method, information processing system and computer program | |
| US11222251B2 (en) | Adjusting control of an industrial vehicle based on an electronic badge | |
| AU2017281532B2 (en) | Use of electronic badges in aisle passing maneuvers | |
| US11099576B2 (en) | Spatiotemporal robotic navigation | |
| US20180329429A1 (en) | Automatic vehicle dispatching system and server device | |
| CN106182027B (en) | An open service robot system | |
| US10255769B2 (en) | Electronic badge as a talking marker | |
| CN108592920B (en) | A robot path planning method and system | |
| JP2020500340A (en) | Multi-agent coordination under scarce network connections | |
| CN110255306B (en) | Call calling method, system, device, server and storage medium | |
| US11772603B2 (en) | Passenger authentication and entry for autonomous vehicles | |
| JP2021071891A (en) | Travel control device, travel control method, and computer program | |
| US20230136133A1 (en) | Parking assistance system, parking assistance device, parking assistance method, and non-transitory computer readable medium | |
| CN110203782A (en) | Method for blocking and filter false automatic elevator calls | |
| CN118457627A (en) | System and method for controlling state transitions using a vehicle controller | |
| CN110455305A (en) | AGV trolley control method with autonomous path planning function | |
| CN109940621B (en) | Service method, system and device of hotel robot | |
| JP6775707B2 (en) | Mobile terminal and current position correction system | |
| KR102578127B1 (en) | Communication-based robot control system and method thereof | |
| CN114516044B (en) | Robot path planning method, device and storage medium | |
| CN109725637B (en) | An AGV anti-packet loss scheduling method, storage device and AGV traffic management system | |
| KR102638116B1 (en) | Appratus and method for controlling vehicle for parking |
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 | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: Room 402, Building 33 Guangshun Road, Changning District, Shanghai, 2003 Applicant after: SHANGHAI MROBOT TECHNOLOGY Co.,Ltd. Address before: Room 402, Building 33 Guangshun Road, Changning District, Shanghai, 2003 Applicant before: SHANGHAI MUYE ROBOT TECHNOLOGY Co.,Ltd. Address after: Room 402, Building 33 Guangshun Road, Changning District, Shanghai, 2003 Applicant after: Shanghai Zhihui Medical Technology Co.,Ltd. Address before: Room 402, Building 33 Guangshun Road, Changning District, Shanghai, 2003 Applicant before: SHANGHAI MROBOT TECHNOLOGY Co.,Ltd. Address after: Room 402, Building 33 Guangshun Road, Changning District, Shanghai, 2003 Applicant after: Shanghai zhihuilin Medical Technology Co.,Ltd. Address before: Room 402, Building 33 Guangshun Road, Changning District, Shanghai, 2003 Applicant before: Shanghai Zhihui Medical Technology Co.,Ltd. |
|
| TA01 | Transfer of patent application right |
Effective date of registration: 20200924 Address after: 201400 Shanghai Fengxian District Xinyang Highway 1800 Lane 2 2340 Rooms Applicant after: SHANGHAI MUMU JUCONG ROBOT TECHNOLOGY Co.,Ltd. Address before: Room 402, Building 33 Guangshun Road, Changning District, Shanghai, 2003 Applicant before: Shanghai zhihuilin Medical Technology Co.,Ltd. |
|
| TA01 | Transfer of patent application right | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20250714 Address after: 7th Floor, Building E2, Kangqiao Business Oasis, No. 2555 Xiupu Road, Pudong New Area, Shanghai, 201315 Patentee after: Shanghai Zhiyuan Xinchuang Technology Co.,Ltd. Country or region after: China Address before: 201400 room 2340, building 2, Lane 1800, Xinyang highway, Fengxian District, Shanghai Patentee before: SHANGHAI MUMU JUCONG ROBOT TECHNOLOGY Co.,Ltd. Country or region before: China |
|
| CP03 | Change of name, title or address | ||
| CP03 | Change of name, title or address |
Address after: 7th Floor, Building E2, Kangqiao Business Oasis, No. 2555 Xiupu Road, Pudong New Area, Shanghai, 201315 Patentee after: Zhixuan Innovation (Shanghai) Science and Technology Co., Ltd. Country or region after: China Address before: 7th Floor, Building E2, Kangqiao Business Oasis, No. 2555 Xiupu Road, Pudong New Area, Shanghai, 201315 Patentee before: Shanghai Zhiyuan Xinchuang Technology Co.,Ltd. Country or region before: China |
